Class V1beta1Storage.CSINodeDriver

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1beta1Storage.CSINodeDriver
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1beta1Storage.CSINodeDriverOrBuilder, Serializable
Enclosing class:
V1beta1Storage

public static final class V1beta1Storage.CSINodeDriver extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Storage.CSINodeDriverOrBuilder
 CSINodeDriver holds information about the specification of one CSI driver installed on a node
 
Protobuf type k8s.io.api.storage.v1beta1.CSINodeDriver
See Also:
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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 interface V1beta1Storage.CSINodeDriverOrBuilder
    • getName

      public 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;
      Specified by:
      getName in interface V1beta1Storage.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 interface V1beta1Storage.CSINodeDriverOrBuilder
    • 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 interface V1beta1Storage.CSINodeDriverOrBuilder
    • getNodeID

      public 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;
      Specified by:
      getNodeID in interface V1beta1Storage.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 interface V1beta1Storage.CSINodeDriverOrBuilder
    • 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 interface V1beta1Storage.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 interface V1beta1Storage.CSINodeDriverOrBuilder
    • getTopologyKeys

      public 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;
      Specified by:
      getTopologyKeys in interface V1beta1Storage.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 interface V1beta1Storage.CSINodeDriverOrBuilder
    • hasAllocatable

      public boolean hasAllocatable()
       allocatable represents the volume resources of a node that are available for scheduling.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeNodeResources allocatable = 4;
      Specified by:
      hasAllocatable in interface V1beta1Storage.CSINodeDriverOrBuilder
    • getAllocatable

      public V1beta1Storage.VolumeNodeResources getAllocatable()
       allocatable represents the volume resources of a node that are available for scheduling.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeNodeResources allocatable = 4;
      Specified by:
      getAllocatable in interface V1beta1Storage.CSINodeDriverOrBuilder
    • getAllocatableOrBuilder

      public V1beta1Storage.VolumeNodeResourcesOrBuilder getAllocatableOrBuilder()
       allocatable represents the volume resources of a node that are available for scheduling.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeNodeResources allocatable = 4;
      Specified by:
      getAllocatableOrBuilder in interface V1beta1Storage.CSINodeDriverOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1beta1Storage.CSINodeDriver parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1beta1Storage.CSINodeDriver parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1beta1Storage.CSINodeDriver parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public V1beta1Storage.CSINodeDriver.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1beta1Storage.CSINodeDriver.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1beta1Storage.CSINodeDriver.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1beta1Storage.CSINodeDriver getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1beta1Storage.CSINodeDriver> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1beta1Storage.CSINodeDriver> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public V1beta1Storage.CSINodeDriver getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder