public static final class V1Storage.CSINodeDriver.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder> 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 | Method and Description |
|---|---|
V1Storage.CSINodeDriver.Builder |
addAllTopologyKeys(Iterable<String> values)
topologyKeys is the list of keys supported by the driver.
|
V1Storage.CSINodeDriver.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.CSINodeDriver.Builder |
addTopologyKeys(String value)
topologyKeys is the list of keys supported by the driver.
|
V1Storage.CSINodeDriver.Builder |
addTopologyKeysBytes(com.google.protobuf.ByteString value)
topologyKeys is the list of keys supported by the driver.
|
V1Storage.CSINodeDriver |
build() |
V1Storage.CSINodeDriver |
buildPartial() |
V1Storage.CSINodeDriver.Builder |
clear() |
V1Storage.CSINodeDriver.Builder |
clearAllocatable()
allocatable represents the volume resources of a node that are available for scheduling.
|
V1Storage.CSINodeDriver.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Storage.CSINodeDriver.Builder |
clearName()
This is the name of the CSI driver that this object refers to.
|
V1Storage.CSINodeDriver.Builder |
clearNodeID()
nodeID of the node from the driver point of view.
|
V1Storage.CSINodeDriver.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Storage.CSINodeDriver.Builder |
clearTopologyKeys()
topologyKeys is the list of keys supported by the driver.
|
V1Storage.CSINodeDriver.Builder |
clone() |
V1Storage.VolumeNodeResources |
getAllocatable()
allocatable represents the volume resources of a node that are available for scheduling.
|
V1Storage.VolumeNodeResources.Builder |
getAllocatableBuilder()
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.
|
V1Storage.CSINodeDriver |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
boolean |
hasAllocatable()
allocatable represents the volume resources of a node that are available for scheduling.
|
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() |
V1Storage.CSINodeDriver.Builder |
mergeAllocatable(V1Storage.VolumeNodeResources value)
allocatable represents the volume resources of a node that are available for scheduling.
|
V1Storage.CSINodeDriver.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Storage.CSINodeDriver.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Storage.CSINodeDriver.Builder |
mergeFrom(V1Storage.CSINodeDriver other) |
V1Storage.CSINodeDriver.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Storage.CSINodeDriver.Builder |
setAllocatable(V1Storage.VolumeNodeResources.Builder builderForValue)
allocatable represents the volume resources of a node that are available for scheduling.
|
V1Storage.CSINodeDriver.Builder |
setAllocatable(V1Storage.VolumeNodeResources value)
allocatable represents the volume resources of a node that are available for scheduling.
|
V1Storage.CSINodeDriver.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.CSINodeDriver.Builder |
setName(String value)
This is the name of the CSI driver that this object refers to.
|
V1Storage.CSINodeDriver.Builder |
setNameBytes(com.google.protobuf.ByteString value)
This is the name of the CSI driver that this object refers to.
|
V1Storage.CSINodeDriver.Builder |
setNodeID(String value)
nodeID of the node from the driver point of view.
|
V1Storage.CSINodeDriver.Builder |
setNodeIDBytes(com.google.protobuf.ByteString value)
nodeID of the node from the driver point of view.
|
V1Storage.CSINodeDriver.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Storage.CSINodeDriver.Builder |
setTopologyKeys(int index,
String value)
topologyKeys is the list of keys supported by the driver.
|
V1Storage.CSINodeDriver.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Storage.CSINodeDriver build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Storage.CSINodeDriver buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Storage.CSINodeDriver.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder mergeFrom(V1Storage.CSINodeDriver other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public V1Storage.CSINodeDriver.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Storage.CSINodeDriver.Builder>IOExceptionpublic 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 V1Storage.CSINodeDriver.Builder setName(String value)
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;public V1Storage.CSINodeDriver.Builder clearName()
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;public V1Storage.CSINodeDriver.Builder setNameBytes(com.google.protobuf.ByteString value)
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;public 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 V1Storage.CSINodeDriver.Builder setNodeID(String value)
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;public V1Storage.CSINodeDriver.Builder clearNodeID()
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;public V1Storage.CSINodeDriver.Builder setNodeIDBytes(com.google.protobuf.ByteString value)
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;public 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 V1Storage.CSINodeDriver.Builder setTopologyKeys(int index, String value)
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;public V1Storage.CSINodeDriver.Builder addTopologyKeys(String value)
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;public V1Storage.CSINodeDriver.Builder addAllTopologyKeys(Iterable<String> values)
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;public V1Storage.CSINodeDriver.Builder clearTopologyKeys()
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;public V1Storage.CSINodeDriver.Builder addTopologyKeysBytes(com.google.protobuf.ByteString value)
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;public 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.CSINodeDriver.Builder setAllocatable(V1Storage.VolumeNodeResources value)
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;public V1Storage.CSINodeDriver.Builder setAllocatable(V1Storage.VolumeNodeResources.Builder builderForValue)
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;public V1Storage.CSINodeDriver.Builder mergeAllocatable(V1Storage.VolumeNodeResources value)
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;public V1Storage.CSINodeDriver.Builder clearAllocatable()
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;public V1Storage.VolumeNodeResources.Builder getAllocatableBuilder()
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;public 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 V1Storage.CSINodeDriver.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>public final V1Storage.CSINodeDriver.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>Copyright © 2023. All rights reserved.