Package io.kubernetes.client.proto
Class V1Storage.CSINodeDriver.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
io.kubernetes.client.proto.V1Storage.CSINodeDriver.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Storage.CSINodeDriverOrBuilder,Cloneable
- Enclosing class:
- V1Storage.CSINodeDriver
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllTopologyKeys(Iterable<String> values) topologyKeys is the list of keys supported by the driver.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTopologyKeys(String value) topologyKeys is the list of keys supported by the driver.addTopologyKeysBytes(com.google.protobuf.ByteString value) topologyKeys is the list of keys supported by the driver.build()clear()allocatable represents the volume resources of a node that are available for scheduling.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) This is the name of the CSI driver that this object refers to.nodeID of the node from the driver point of view.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) topologyKeys is the list of keys supported by the driver.clone()allocatable represents the volume resources of a node that are available for scheduling.allocatable represents the volume resources of a node that are available for scheduling.allocatable represents the volume resources of a node that are available for scheduling.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()This is the name of the CSI driver that this object refers to.com.google.protobuf.ByteStringThis is the name of the CSI driver that this object refers to.nodeID of the node from the driver point of view.com.google.protobuf.ByteStringnodeID of the node from the driver point of view.getTopologyKeys(int index) topologyKeys is the list of keys supported by the driver.com.google.protobuf.ByteStringgetTopologyKeysBytes(int index) topologyKeys is the list of keys supported by the driver.inttopologyKeys is the list of keys supported by the driver.com.google.protobuf.ProtocolStringListtopologyKeys is the list of keys supported by the driver.booleanallocatable represents the volume resources of a node that are available for scheduling.booleanhasName()This is the name of the CSI driver that this object refers to.booleannodeID of the node from the driver point of view.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanallocatable represents the volume resources of a node that are available for scheduling.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(V1Storage.CSINodeDriver other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) allocatable represents the volume resources of a node that are available for scheduling.setAllocatable(V1Storage.VolumeNodeResources.Builder builderForValue) allocatable represents the volume resources of a node that are available for scheduling.This is the name of the CSI driver that this object refers to.setNameBytes(com.google.protobuf.ByteString value) This is the name of the CSI driver that this object refers to.nodeID of the node from the driver point of view.setNodeIDBytes(com.google.protobuf.ByteString value) nodeID of the node from the driver point of view.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTopologyKeys(int index, String value) topologyKeys is the list of keys supported by the driver.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
setField
public V1Storage.CSINodeDriver.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
clearField
public V1Storage.CSINodeDriver.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
clearOneof
public V1Storage.CSINodeDriver.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
setRepeatedField
public V1Storage.CSINodeDriver.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
addRepeatedField
public V1Storage.CSINodeDriver.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Storage.CSINodeDriver.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
mergeFrom
public V1Storage.CSINodeDriver.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Storage.CSINodeDriver.Builder>- Throws:
IOException
-
hasName
public 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;- Specified by:
hasNamein interfaceV1Storage.CSINodeDriverOrBuilder
-
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;- Specified by:
getNamein interfaceV1Storage.CSINodeDriverOrBuilder
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceV1Storage.CSINodeDriverOrBuilder
-
setName
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; -
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; -
setNameBytes
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; -
hasNodeID
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;- Specified by:
hasNodeIDin interfaceV1Storage.CSINodeDriverOrBuilder
-
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;- Specified by:
getNodeIDin interfaceV1Storage.CSINodeDriverOrBuilder
-
getNodeIDBytes
public 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;- Specified by:
getNodeIDBytesin interfaceV1Storage.CSINodeDriverOrBuilder
-
setNodeID
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; -
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; -
setNodeIDBytes
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; -
getTopologyKeysList
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;- Specified by:
getTopologyKeysListin interfaceV1Storage.CSINodeDriverOrBuilder
-
getTopologyKeysCount
public 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;- Specified by:
getTopologyKeysCountin interfaceV1Storage.CSINodeDriverOrBuilder
-
getTopologyKeys
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;- Specified by:
getTopologyKeysin interfaceV1Storage.CSINodeDriverOrBuilder
-
getTopologyKeysBytes
public 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;- Specified by:
getTopologyKeysBytesin interfaceV1Storage.CSINodeDriverOrBuilder
-
setTopologyKeys
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; -
addTopologyKeys
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; -
addAllTopologyKeys
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; -
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; -
addTopologyKeysBytes
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; -
hasAllocatable
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;- Specified by:
hasAllocatablein interfaceV1Storage.CSINodeDriverOrBuilder
-
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;- Specified by:
getAllocatablein interfaceV1Storage.CSINodeDriverOrBuilder
-
setAllocatable
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; -
setAllocatable
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; -
mergeAllocatable
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; -
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; -
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; -
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;- Specified by:
getAllocatableOrBuilderin interfaceV1Storage.CSINodeDriverOrBuilder
-
setUnknownFields
public final V1Storage.CSINodeDriver.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
mergeUnknownFields
public final V1Storage.CSINodeDriver.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-