public static final class Protos.CSIPluginInfo extends com.google.protobuf.GeneratedMessageV3 implements Protos.CSIPluginInfoOrBuilder
Describes a CSI plugin.Protobuf type
mesos.CSIPluginInfo| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.CSIPluginInfo.Builder
Describes a CSI plugin.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINERS_FIELD_NUMBER |
static int |
ENDPOINTS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
TARGET_PATH_EXISTS_FIELD_NUMBER |
static int |
TARGET_PATH_ROOT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Protos.CSIPluginContainerInfo |
getContainers(int index)
A list of container configurations to run managed CSI plugin.
|
int |
getContainersCount()
A list of container configurations to run managed CSI plugin.
|
java.util.List<Protos.CSIPluginContainerInfo> |
getContainersList()
A list of container configurations to run managed CSI plugin.
|
Protos.CSIPluginContainerInfoOrBuilder |
getContainersOrBuilder(int index)
A list of container configurations to run managed CSI plugin.
|
java.util.List<? extends Protos.CSIPluginContainerInfoOrBuilder> |
getContainersOrBuilderList()
A list of container configurations to run managed CSI plugin.
|
static Protos.CSIPluginInfo |
getDefaultInstance() |
Protos.CSIPluginInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.CSIPluginEndpoint |
getEndpoints(int index)
The service endpoints of the unmanaged CSI plugin.
|
int |
getEndpointsCount()
The service endpoints of the unmanaged CSI plugin.
|
java.util.List<Protos.CSIPluginEndpoint> |
getEndpointsList()
The service endpoints of the unmanaged CSI plugin.
|
Protos.CSIPluginEndpointOrBuilder |
getEndpointsOrBuilder(int index)
The service endpoints of the unmanaged CSI plugin.
|
java.util.List<? extends Protos.CSIPluginEndpointOrBuilder> |
getEndpointsOrBuilderList()
The service endpoints of the unmanaged CSI plugin.
|
java.lang.String |
getName()
The name of the CSI plugin.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the CSI plugin.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getTargetPathExists()
For some CSI plugins which implement CSI v1 spec, they expect the target
path is an existing path which is actually not CSI v1 spec compliant.
|
java.lang.String |
getTargetPathRoot()
The root directory of all the target paths managed by the CSI plugin.
|
com.google.protobuf.ByteString |
getTargetPathRootBytes()
The root directory of all the target paths managed by the CSI plugin.
|
java.lang.String |
getType()
The type of the CSI plugin.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of the CSI plugin.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasName()
The name of the CSI plugin.
|
boolean |
hasTargetPathExists()
For some CSI plugins which implement CSI v1 spec, they expect the target
path is an existing path which is actually not CSI v1 spec compliant.
|
boolean |
hasTargetPathRoot()
The root directory of all the target paths managed by the CSI plugin.
|
boolean |
hasType()
The type of the CSI plugin.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.CSIPluginInfo.Builder |
newBuilder() |
static Protos.CSIPluginInfo.Builder |
newBuilder(Protos.CSIPluginInfo prototype) |
Protos.CSIPluginInfo.Builder |
newBuilderForType() |
protected Protos.CSIPluginInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.CSIPluginInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.CSIPluginInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CSIPluginInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CSIPluginInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.CSIPluginInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CSIPluginInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.CSIPluginInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CSIPluginInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.CSIPluginInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CSIPluginInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.CSIPluginInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int CONTAINERS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
public static final int TARGET_PATH_ROOT_FIELD_NUMBER
public static final int TARGET_PATH_EXISTS_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasType()
The type of the CSI plugin. This uniquely identifies a CSI
implementation. For instance:
org.apache.mesos.csi.test
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 1;hasType in interface Protos.CSIPluginInfoOrBuilderpublic java.lang.String getType()
The type of the CSI plugin. This uniquely identifies a CSI
implementation. For instance:
org.apache.mesos.csi.test
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 1;getType in interface Protos.CSIPluginInfoOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The type of the CSI plugin. This uniquely identifies a CSI
implementation. For instance:
org.apache.mesos.csi.test
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 1;getTypeBytes in interface Protos.CSIPluginInfoOrBuilderpublic boolean hasName()
The name of the CSI plugin. There could be multiple instances of a type of CSI plugin within a Mesos cluster. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name. The type and name together provide the means to uniquely identify a storage backend and its resources in the cluster, so the operator should ensure that the concatenation of type and name is unique in the cluster, and it remains the same if the instance is migrated to another agent (e.g., there is a change in the agent ID).
optional string name = 2 [default = "default"];hasName in interface Protos.CSIPluginInfoOrBuilderpublic java.lang.String getName()
The name of the CSI plugin. There could be multiple instances of a type of CSI plugin within a Mesos cluster. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name. The type and name together provide the means to uniquely identify a storage backend and its resources in the cluster, so the operator should ensure that the concatenation of type and name is unique in the cluster, and it remains the same if the instance is migrated to another agent (e.g., there is a change in the agent ID).
optional string name = 2 [default = "default"];getName in interface Protos.CSIPluginInfoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the CSI plugin. There could be multiple instances of a type of CSI plugin within a Mesos cluster. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name. The type and name together provide the means to uniquely identify a storage backend and its resources in the cluster, so the operator should ensure that the concatenation of type and name is unique in the cluster, and it remains the same if the instance is migrated to another agent (e.g., there is a change in the agent ID).
optional string name = 2 [default = "default"];getNameBytes in interface Protos.CSIPluginInfoOrBuilderpublic java.util.List<Protos.CSIPluginContainerInfo> getContainersList()
A list of container configurations to run managed CSI plugin. The controller service will be served by the first configuration that contains `CONTROLLER_SERVICE`, and the node service will be served by the first configuration that contains `NODE_SERVICE`.
repeated .mesos.CSIPluginContainerInfo containers = 3;getContainersList in interface Protos.CSIPluginInfoOrBuilderpublic java.util.List<? extends Protos.CSIPluginContainerInfoOrBuilder> getContainersOrBuilderList()
A list of container configurations to run managed CSI plugin. The controller service will be served by the first configuration that contains `CONTROLLER_SERVICE`, and the node service will be served by the first configuration that contains `NODE_SERVICE`.
repeated .mesos.CSIPluginContainerInfo containers = 3;getContainersOrBuilderList in interface Protos.CSIPluginInfoOrBuilderpublic int getContainersCount()
A list of container configurations to run managed CSI plugin. The controller service will be served by the first configuration that contains `CONTROLLER_SERVICE`, and the node service will be served by the first configuration that contains `NODE_SERVICE`.
repeated .mesos.CSIPluginContainerInfo containers = 3;getContainersCount in interface Protos.CSIPluginInfoOrBuilderpublic Protos.CSIPluginContainerInfo getContainers(int index)
A list of container configurations to run managed CSI plugin. The controller service will be served by the first configuration that contains `CONTROLLER_SERVICE`, and the node service will be served by the first configuration that contains `NODE_SERVICE`.
repeated .mesos.CSIPluginContainerInfo containers = 3;getContainers in interface Protos.CSIPluginInfoOrBuilderpublic Protos.CSIPluginContainerInfoOrBuilder getContainersOrBuilder(int index)
A list of container configurations to run managed CSI plugin. The controller service will be served by the first configuration that contains `CONTROLLER_SERVICE`, and the node service will be served by the first configuration that contains `NODE_SERVICE`.
repeated .mesos.CSIPluginContainerInfo containers = 3;getContainersOrBuilder in interface Protos.CSIPluginInfoOrBuilderpublic java.util.List<Protos.CSIPluginEndpoint> getEndpointsList()
The service endpoints of the unmanaged CSI plugin. An endpoint is usually a path to a Unix domain socket.
repeated .mesos.CSIPluginEndpoint endpoints = 4;getEndpointsList in interface Protos.CSIPluginInfoOrBuilderpublic java.util.List<? extends Protos.CSIPluginEndpointOrBuilder> getEndpointsOrBuilderList()
The service endpoints of the unmanaged CSI plugin. An endpoint is usually a path to a Unix domain socket.
repeated .mesos.CSIPluginEndpoint endpoints = 4;getEndpointsOrBuilderList in interface Protos.CSIPluginInfoOrBuilderpublic int getEndpointsCount()
The service endpoints of the unmanaged CSI plugin. An endpoint is usually a path to a Unix domain socket.
repeated .mesos.CSIPluginEndpoint endpoints = 4;getEndpointsCount in interface Protos.CSIPluginInfoOrBuilderpublic Protos.CSIPluginEndpoint getEndpoints(int index)
The service endpoints of the unmanaged CSI plugin. An endpoint is usually a path to a Unix domain socket.
repeated .mesos.CSIPluginEndpoint endpoints = 4;getEndpoints in interface Protos.CSIPluginInfoOrBuilderpublic Protos.CSIPluginEndpointOrBuilder getEndpointsOrBuilder(int index)
The service endpoints of the unmanaged CSI plugin. An endpoint is usually a path to a Unix domain socket.
repeated .mesos.CSIPluginEndpoint endpoints = 4;getEndpointsOrBuilder in interface Protos.CSIPluginInfoOrBuilderpublic boolean hasTargetPathRoot()
The root directory of all the target paths managed by the CSI plugin. Each volume will be published by the CSI plugin at a sub-directory under this path.
optional string target_path_root = 5;hasTargetPathRoot in interface Protos.CSIPluginInfoOrBuilderpublic java.lang.String getTargetPathRoot()
The root directory of all the target paths managed by the CSI plugin. Each volume will be published by the CSI plugin at a sub-directory under this path.
optional string target_path_root = 5;getTargetPathRoot in interface Protos.CSIPluginInfoOrBuilderpublic com.google.protobuf.ByteString getTargetPathRootBytes()
The root directory of all the target paths managed by the CSI plugin. Each volume will be published by the CSI plugin at a sub-directory under this path.
optional string target_path_root = 5;getTargetPathRootBytes in interface Protos.CSIPluginInfoOrBuilderpublic boolean hasTargetPathExists()
For some CSI plugins which implement CSI v1 spec, they expect the target path is an existing path which is actually not CSI v1 spec compliant. In such case this field should be set to `true` as a work around for those plugins. For the CSI plugins which implement CSI v0 spec, this field will be just ignored.
optional bool target_path_exists = 6;hasTargetPathExists in interface Protos.CSIPluginInfoOrBuilderpublic boolean getTargetPathExists()
For some CSI plugins which implement CSI v1 spec, they expect the target path is an existing path which is actually not CSI v1 spec compliant. In such case this field should be set to `true` as a work around for those plugins. For the CSI plugins which implement CSI v0 spec, this field will be just ignored.
optional bool target_path_exists = 6;getTargetPathExists in interface Protos.CSIPluginInfoOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.CSIPluginInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CSIPluginInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CSIPluginInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CSIPluginInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CSIPluginInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CSIPluginInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CSIPluginInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CSIPluginInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CSIPluginInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CSIPluginInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.CSIPluginInfo.Builder newBuilderForType()
public static Protos.CSIPluginInfo.Builder newBuilder()
public static Protos.CSIPluginInfo.Builder newBuilder(Protos.CSIPluginInfo prototype)
public Protos.CSIPluginInfo.Builder toBuilder()
protected Protos.CSIPluginInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.CSIPluginInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.CSIPluginInfo getDefaultInstanceForType()