Class V1beta1Storage.VolumeAttachmentStatus

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

public static final class V1beta1Storage.VolumeAttachmentStatus extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Storage.VolumeAttachmentStatusOrBuilder
 VolumeAttachmentStatus is the status of a VolumeAttachment request.
 
Protobuf type k8s.io.api.storage.v1beta1.VolumeAttachmentStatus
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()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasAttached

      public boolean hasAttached()
       Indicates the volume is successfully attached.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       
      optional bool attached = 1;
      Specified by:
      hasAttached in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttached

      public boolean getAttached()
       Indicates the volume is successfully attached.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       
      optional bool attached = 1;
      Specified by:
      getAttached in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttachmentMetadataCount

      public int getAttachmentMetadataCount()
      Description copied from interface: V1beta1Storage.VolumeAttachmentStatusOrBuilder
       Upon successful attach, this field is populated with any
       information returned by the attach operation that must be passed
       into subsequent WaitForAttach or Mount calls.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      map<string, string> attachmentMetadata = 2;
      Specified by:
      getAttachmentMetadataCount in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • containsAttachmentMetadata

      public boolean containsAttachmentMetadata(String key)
       Upon successful attach, this field is populated with any
       information returned by the attach operation that must be passed
       into subsequent WaitForAttach or Mount calls.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      map<string, string> attachmentMetadata = 2;
      Specified by:
      containsAttachmentMetadata in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttachmentMetadata

      @Deprecated public Map<String,String> getAttachmentMetadata()
      Deprecated.
      Specified by:
      getAttachmentMetadata in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttachmentMetadataMap

      public Map<String,String> getAttachmentMetadataMap()
       Upon successful attach, this field is populated with any
       information returned by the attach operation that must be passed
       into subsequent WaitForAttach or Mount calls.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      map<string, string> attachmentMetadata = 2;
      Specified by:
      getAttachmentMetadataMap in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttachmentMetadataOrDefault

      public String getAttachmentMetadataOrDefault(String key, String defaultValue)
       Upon successful attach, this field is populated with any
       information returned by the attach operation that must be passed
       into subsequent WaitForAttach or Mount calls.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      map<string, string> attachmentMetadata = 2;
      Specified by:
      getAttachmentMetadataOrDefault in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttachmentMetadataOrThrow

      public String getAttachmentMetadataOrThrow(String key)
       Upon successful attach, this field is populated with any
       information returned by the attach operation that must be passed
       into subsequent WaitForAttach or Mount calls.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      map<string, string> attachmentMetadata = 2;
      Specified by:
      getAttachmentMetadataOrThrow in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • hasAttachError

      public boolean hasAttachError()
       The last error encountered during attach operation, if any.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeError attachError = 3;
      Specified by:
      hasAttachError in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttachError

      public V1beta1Storage.VolumeError getAttachError()
       The last error encountered during attach operation, if any.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeError attachError = 3;
      Specified by:
      getAttachError in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getAttachErrorOrBuilder

      public V1beta1Storage.VolumeErrorOrBuilder getAttachErrorOrBuilder()
       The last error encountered during attach operation, if any.
       This field must only be set by the entity completing the attach
       operation, i.e. the external-attacher.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeError attachError = 3;
      Specified by:
      getAttachErrorOrBuilder in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • hasDetachError

      public boolean hasDetachError()
       The last error encountered during detach operation, if any.
       This field must only be set by the entity completing the detach
       operation, i.e. the external-attacher.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeError detachError = 4;
      Specified by:
      hasDetachError in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getDetachError

      public V1beta1Storage.VolumeError getDetachError()
       The last error encountered during detach operation, if any.
       This field must only be set by the entity completing the detach
       operation, i.e. the external-attacher.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeError detachError = 4;
      Specified by:
      getDetachError in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • getDetachErrorOrBuilder

      public V1beta1Storage.VolumeErrorOrBuilder getDetachErrorOrBuilder()
       The last error encountered during detach operation, if any.
       This field must only be set by the entity completing the detach
       operation, i.e. the external-attacher.
       +optional
       
      optional .k8s.io.api.storage.v1beta1.VolumeError detachError = 4;
      Specified by:
      getDetachErrorOrBuilder in interface V1beta1Storage.VolumeAttachmentStatusOrBuilder
    • 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.VolumeAttachmentStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static V1beta1Storage.VolumeAttachmentStatus 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.VolumeAttachmentStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

    • newBuilder

    • toBuilder

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

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

      public static V1beta1Storage.VolumeAttachmentStatus getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<V1beta1Storage.VolumeAttachmentStatus> 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.VolumeAttachmentStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder