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.Descriptor
com.google.protobuf.Descriptors.Descriptor
getName()
This is the name of the CSI driver that this object refers to.com.google.protobuf.ByteString
This 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.ByteString
nodeID 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.ByteString
getTopologyKeysBytes
(int index) topologyKeys is the list of keys supported by the driver.int
topologyKeys is the list of keys supported by the driver.com.google.protobuf.ProtocolStringList
topologyKeys is the list of keys supported by the driver.boolean
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
nodeID of the node from the driver point of view.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
allocatable 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
setField
public V1Storage.CSINodeDriver.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
clearField
public V1Storage.CSINodeDriver.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
clearOneof
public V1Storage.CSINodeDriver.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
addRepeatedField
public V1Storage.CSINodeDriver.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Storage.CSINodeDriver.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasNodeID
in 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:
getNodeID
in 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:
getNodeIDBytes
in 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:
getTopologyKeysList
in 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:
getTopologyKeysCount
in 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:
getTopologyKeys
in 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:
getTopologyKeysBytes
in 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:
hasAllocatable
in 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:
getAllocatable
in 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:
getAllocatableOrBuilder
in interfaceV1Storage.CSINodeDriverOrBuilder
-
setUnknownFields
public final V1Storage.CSINodeDriver.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-
mergeUnknownFields
public final V1Storage.CSINodeDriver.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.CSINodeDriver.Builder>
-