Class V1.PersistentVolumeClaimStatus

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

public static final class V1.PersistentVolumeClaimStatus extends com.google.protobuf.GeneratedMessageV3 implements V1.PersistentVolumeClaimStatusOrBuilder
 PersistentVolumeClaimStatus is the current status of a persistent volume claim.
 
Protobuf type k8s.io.api.core.v1.PersistentVolumeClaimStatus
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
    • hasPhase

      public boolean hasPhase()
       Phase represents the current phase of PersistentVolumeClaim.
       +optional
       
      optional string phase = 1;
      Specified by:
      hasPhase in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getPhase

      public String getPhase()
       Phase represents the current phase of PersistentVolumeClaim.
       +optional
       
      optional string phase = 1;
      Specified by:
      getPhase in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getPhaseBytes

      public com.google.protobuf.ByteString getPhaseBytes()
       Phase represents the current phase of PersistentVolumeClaim.
       +optional
       
      optional string phase = 1;
      Specified by:
      getPhaseBytes in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getAccessModesList

      public com.google.protobuf.ProtocolStringList getAccessModesList()
       AccessModes contains the actual access modes the volume backing the PVC has.
       More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
       +optional
       
      repeated string accessModes = 2;
      Specified by:
      getAccessModesList in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getAccessModesCount

      public int getAccessModesCount()
       AccessModes contains the actual access modes the volume backing the PVC has.
       More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
       +optional
       
      repeated string accessModes = 2;
      Specified by:
      getAccessModesCount in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getAccessModes

      public String getAccessModes(int index)
       AccessModes contains the actual access modes the volume backing the PVC has.
       More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
       +optional
       
      repeated string accessModes = 2;
      Specified by:
      getAccessModes in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getAccessModesBytes

      public com.google.protobuf.ByteString getAccessModesBytes(int index)
       AccessModes contains the actual access modes the volume backing the PVC has.
       More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
       +optional
       
      repeated string accessModes = 2;
      Specified by:
      getAccessModesBytes in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getCapacityCount

      public int getCapacityCount()
      Description copied from interface: V1.PersistentVolumeClaimStatusOrBuilder
       Represents the actual resources of the underlying volume.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
      Specified by:
      getCapacityCount in interface V1.PersistentVolumeClaimStatusOrBuilder
    • containsCapacity

      public boolean containsCapacity(String key)
       Represents the actual resources of the underlying volume.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
      Specified by:
      containsCapacity in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getCapacity

      @Deprecated public Map<String,Resource.Quantity> getCapacity()
      Deprecated.
      Use getCapacityMap() instead.
      Specified by:
      getCapacity in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getCapacityMap

      public Map<String,Resource.Quantity> getCapacityMap()
       Represents the actual resources of the underlying volume.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
      Specified by:
      getCapacityMap in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getCapacityOrDefault

      public Resource.Quantity getCapacityOrDefault(String key, Resource.Quantity defaultValue)
       Represents the actual resources of the underlying volume.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
      Specified by:
      getCapacityOrDefault in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getCapacityOrThrow

      public Resource.Quantity getCapacityOrThrow(String key)
       Represents the actual resources of the underlying volume.
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
      Specified by:
      getCapacityOrThrow in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getConditionsList

      public List<V1.PersistentVolumeClaimCondition> getConditionsList()
       Current Condition of persistent volume claim. If underlying persistent volume is being
       resized then the Condition will be set to 'ResizeStarted'.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      Specified by:
      getConditionsList in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getConditionsOrBuilderList

      public List<? extends V1.PersistentVolumeClaimConditionOrBuilder> getConditionsOrBuilderList()
       Current Condition of persistent volume claim. If underlying persistent volume is being
       resized then the Condition will be set to 'ResizeStarted'.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      Specified by:
      getConditionsOrBuilderList in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getConditionsCount

      public int getConditionsCount()
       Current Condition of persistent volume claim. If underlying persistent volume is being
       resized then the Condition will be set to 'ResizeStarted'.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      Specified by:
      getConditionsCount in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getConditions

      public V1.PersistentVolumeClaimCondition getConditions(int index)
       Current Condition of persistent volume claim. If underlying persistent volume is being
       resized then the Condition will be set to 'ResizeStarted'.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      Specified by:
      getConditions in interface V1.PersistentVolumeClaimStatusOrBuilder
    • getConditionsOrBuilder

      public V1.PersistentVolumeClaimConditionOrBuilder getConditionsOrBuilder(int index)
       Current Condition of persistent volume claim. If underlying persistent volume is being
       resized then the Condition will be set to 'ResizeStarted'.
       +optional
       +patchMergeKey=type
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
      Specified by:
      getConditionsOrBuilder in interface V1.PersistentVolumeClaimStatusOrBuilder
    • 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 V1.PersistentVolumeClaimStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static V1.PersistentVolumeClaimStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static V1.PersistentVolumeClaimStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static V1.PersistentVolumeClaimStatus.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static V1.PersistentVolumeClaimStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1.PersistentVolumeClaimStatus> parser()
    • getParserForType

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