public static final class V1Storage.CSINodeDriver extends com.google.protobuf.GeneratedMessageV3 implements V1Storage.CSINodeDriverOrBuilder
CSINodeDriver holds information about the specification of one CSI driver installed on a nodeProtobuf type
k8s.io.api.storage.v1.CSINodeDriver| Modifier and Type | Class and Description |
|---|---|
static class |
V1Storage.CSINodeDriver.Builder
CSINodeDriver holds information about the specification of one CSI driver installed on a node
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOCATABLE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NODEID_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Storage.CSINodeDriver> |
PARSER
Deprecated.
|
static int |
TOPOLOGYKEYS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
V1Storage.VolumeNodeResources |
getAllocatable()
allocatable represents the volume resources of a node that are available for scheduling.
|
V1Storage.VolumeNodeResourcesOrBuilder |
getAllocatableOrBuilder()
allocatable represents the volume resources of a node that are available for scheduling.
|
static V1Storage.CSINodeDriver |
getDefaultInstance() |
V1Storage.CSINodeDriver |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
This is the name of the CSI driver that this object refers to.
|
com.google.protobuf.ByteString |
getNameBytes()
This is the name of the CSI driver that this object refers to.
|
String |
getNodeID()
nodeID of the node from the driver point of view.
|
com.google.protobuf.ByteString |
getNodeIDBytes()
nodeID of the node from the driver point of view.
|
com.google.protobuf.Parser<V1Storage.CSINodeDriver> |
getParserForType() |
int |
getSerializedSize() |
String |
getTopologyKeys(int index)
topologyKeys is the list of keys supported by the driver.
|
com.google.protobuf.ByteString |
getTopologyKeysBytes(int index)
topologyKeys is the list of keys supported by the driver.
|
int |
getTopologyKeysCount()
topologyKeys is the list of keys supported by the driver.
|
com.google.protobuf.ProtocolStringList |
getTopologyKeysList()
topologyKeys is the list of keys supported by the driver.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAllocatable()
allocatable represents the volume resources of a node that are available for scheduling.
|
int |
hashCode() |
boolean |
hasName()
This is the name of the CSI driver that this object refers to.
|
boolean |
hasNodeID()
nodeID of the node from the driver point of view.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Storage.CSINodeDriver.Builder |
newBuilder() |
static V1Storage.CSINodeDriver.Builder |
newBuilder(V1Storage.CSINodeDriver prototype) |
V1Storage.CSINodeDriver.Builder |
newBuilderForType() |
protected V1Storage.CSINodeDriver.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Storage.CSINodeDriver |
parseDelimitedFrom(InputStream input) |
static V1Storage.CSINodeDriver |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Storage.CSINodeDriver |
parseFrom(byte[] data) |
static V1Storage.CSINodeDriver |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Storage.CSINodeDriver |
parseFrom(ByteBuffer data) |
static V1Storage.CSINodeDriver |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Storage.CSINodeDriver |
parseFrom(com.google.protobuf.ByteString data) |
static V1Storage.CSINodeDriver |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Storage.CSINodeDriver |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Storage.CSINodeDriver |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Storage.CSINodeDriver |
parseFrom(InputStream input) |
static V1Storage.CSINodeDriver |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Storage.CSINodeDriver> |
parser() |
V1Storage.CSINodeDriver.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int NODEID_FIELD_NUMBER
public static final int TOPOLOGYKEYS_FIELD_NUMBER
public static final int ALLOCATABLE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Storage.CSINodeDriver> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasName()
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
optional string name = 1;hasName in interface V1Storage.CSINodeDriverOrBuilderpublic String getName()
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
optional string name = 1;getName in interface V1Storage.CSINodeDriverOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
optional string name = 1;getNameBytes in interface V1Storage.CSINodeDriverOrBuilderpublic boolean hasNodeID()
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
optional string nodeID = 2;hasNodeID in interface V1Storage.CSINodeDriverOrBuilderpublic String getNodeID()
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
optional string nodeID = 2;getNodeID in interface V1Storage.CSINodeDriverOrBuilderpublic com.google.protobuf.ByteString getNodeIDBytes()
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
optional string nodeID = 2;getNodeIDBytes in interface V1Storage.CSINodeDriverOrBuilderpublic com.google.protobuf.ProtocolStringList getTopologyKeysList()
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. +optional
repeated string topologyKeys = 3;getTopologyKeysList in interface V1Storage.CSINodeDriverOrBuilderpublic int getTopologyKeysCount()
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. +optional
repeated string topologyKeys = 3;getTopologyKeysCount in interface V1Storage.CSINodeDriverOrBuilderpublic String getTopologyKeys(int index)
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. +optional
repeated string topologyKeys = 3;getTopologyKeys in interface V1Storage.CSINodeDriverOrBuilderpublic com.google.protobuf.ByteString getTopologyKeysBytes(int index)
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. +optional
repeated string topologyKeys = 3;getTopologyKeysBytes in interface V1Storage.CSINodeDriverOrBuilderpublic boolean hasAllocatable()
allocatable represents the volume resources of a node that are available for scheduling. This field is beta. +optional
optional .k8s.io.api.storage.v1.VolumeNodeResources allocatable = 4;hasAllocatable in interface V1Storage.CSINodeDriverOrBuilderpublic V1Storage.VolumeNodeResources getAllocatable()
allocatable represents the volume resources of a node that are available for scheduling. This field is beta. +optional
optional .k8s.io.api.storage.v1.VolumeNodeResources allocatable = 4;getAllocatable in interface V1Storage.CSINodeDriverOrBuilderpublic V1Storage.VolumeNodeResourcesOrBuilder getAllocatableOrBuilder()
allocatable represents the volume resources of a node that are available for scheduling. This field is beta. +optional
optional .k8s.io.api.storage.v1.VolumeNodeResources allocatable = 4;getAllocatableOrBuilder in interface V1Storage.CSINodeDriverOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Storage.CSINodeDriver parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Storage.CSINodeDriver parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Storage.CSINodeDriver parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Storage.CSINodeDriver parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Storage.CSINodeDriver parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Storage.CSINodeDriver parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Storage.CSINodeDriver parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Storage.CSINodeDriver parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Storage.CSINodeDriver parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Storage.CSINodeDriver parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Storage.CSINodeDriver parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Storage.CSINodeDriver parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Storage.CSINodeDriver.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Storage.CSINodeDriver.Builder newBuilder()
public static V1Storage.CSINodeDriver.Builder newBuilder(V1Storage.CSINodeDriver prototype)
public V1Storage.CSINodeDriver.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Storage.CSINodeDriver.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Storage.CSINodeDriver getDefaultInstance()
public static com.google.protobuf.Parser<V1Storage.CSINodeDriver> parser()
public com.google.protobuf.Parser<V1Storage.CSINodeDriver> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Storage.CSINodeDriver getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.