Class Generated.PersistentVolumeStatus.Builder

    • Method Detail

      • 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.Builder<Generated.PersistentVolumeStatus.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
      • getDefaultInstanceForType

        public Generated.PersistentVolumeStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.PersistentVolumeStatus build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.PersistentVolumeStatus buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
      • hasPhase

        public boolean hasPhase()
         phase indicates if a volume is available, bound to a claim, or released by a claim.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
         +optional
         
        optional string phase = 1;
        Specified by:
        hasPhase in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        Whether the phase field is set.
      • getPhase

        public String getPhase()
         phase indicates if a volume is available, bound to a claim, or released by a claim.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
         +optional
         
        optional string phase = 1;
        Specified by:
        getPhase in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        The phase.
      • getPhaseBytes

        public com.google.protobuf.ByteString getPhaseBytes()
         phase indicates if a volume is available, bound to a claim, or released by a claim.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
         +optional
         
        optional string phase = 1;
        Specified by:
        getPhaseBytes in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        The bytes for phase.
      • setPhase

        public Generated.PersistentVolumeStatus.Builder setPhase​(String value)
         phase indicates if a volume is available, bound to a claim, or released by a claim.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
         +optional
         
        optional string phase = 1;
        Parameters:
        value - The phase to set.
        Returns:
        This builder for chaining.
      • clearPhase

        public Generated.PersistentVolumeStatus.Builder clearPhase()
         phase indicates if a volume is available, bound to a claim, or released by a claim.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
         +optional
         
        optional string phase = 1;
        Returns:
        This builder for chaining.
      • setPhaseBytes

        public Generated.PersistentVolumeStatus.Builder setPhaseBytes​(com.google.protobuf.ByteString value)
         phase indicates if a volume is available, bound to a claim, or released by a claim.
         More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
         +optional
         
        optional string phase = 1;
        Parameters:
        value - The bytes for phase to set.
        Returns:
        This builder for chaining.
      • hasMessage

        public boolean hasMessage()
         message is a human-readable message indicating details about why the volume is in this state.
         +optional
         
        optional string message = 2;
        Specified by:
        hasMessage in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        Whether the message field is set.
      • getMessageBytes

        public com.google.protobuf.ByteString getMessageBytes()
         message is a human-readable message indicating details about why the volume is in this state.
         +optional
         
        optional string message = 2;
        Specified by:
        getMessageBytes in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        The bytes for message.
      • setMessage

        public Generated.PersistentVolumeStatus.Builder setMessage​(String value)
         message is a human-readable message indicating details about why the volume is in this state.
         +optional
         
        optional string message = 2;
        Parameters:
        value - The message to set.
        Returns:
        This builder for chaining.
      • clearMessage

        public Generated.PersistentVolumeStatus.Builder clearMessage()
         message is a human-readable message indicating details about why the volume is in this state.
         +optional
         
        optional string message = 2;
        Returns:
        This builder for chaining.
      • setMessageBytes

        public Generated.PersistentVolumeStatus.Builder setMessageBytes​(com.google.protobuf.ByteString value)
         message is a human-readable message indicating details about why the volume is in this state.
         +optional
         
        optional string message = 2;
        Parameters:
        value - The bytes for message to set.
        Returns:
        This builder for chaining.
      • hasReason

        public boolean hasReason()
         reason is a brief CamelCase string that describes any failure and is meant
         for machine parsing and tidy display in the CLI.
         +optional
         
        optional string reason = 3;
        Specified by:
        hasReason in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        Whether the reason field is set.
      • getReason

        public String getReason()
         reason is a brief CamelCase string that describes any failure and is meant
         for machine parsing and tidy display in the CLI.
         +optional
         
        optional string reason = 3;
        Specified by:
        getReason in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        The reason.
      • getReasonBytes

        public com.google.protobuf.ByteString getReasonBytes()
         reason is a brief CamelCase string that describes any failure and is meant
         for machine parsing and tidy display in the CLI.
         +optional
         
        optional string reason = 3;
        Specified by:
        getReasonBytes in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        The bytes for reason.
      • setReason

        public Generated.PersistentVolumeStatus.Builder setReason​(String value)
         reason is a brief CamelCase string that describes any failure and is meant
         for machine parsing and tidy display in the CLI.
         +optional
         
        optional string reason = 3;
        Parameters:
        value - The reason to set.
        Returns:
        This builder for chaining.
      • clearReason

        public Generated.PersistentVolumeStatus.Builder clearReason()
         reason is a brief CamelCase string that describes any failure and is meant
         for machine parsing and tidy display in the CLI.
         +optional
         
        optional string reason = 3;
        Returns:
        This builder for chaining.
      • setReasonBytes

        public Generated.PersistentVolumeStatus.Builder setReasonBytes​(com.google.protobuf.ByteString value)
         reason is a brief CamelCase string that describes any failure and is meant
         for machine parsing and tidy display in the CLI.
         +optional
         
        optional string reason = 3;
        Parameters:
        value - The bytes for reason to set.
        Returns:
        This builder for chaining.
      • hasLastPhaseTransitionTime

        public boolean hasLastPhaseTransitionTime()
         lastPhaseTransitionTime is the time the phase transitioned from one to another
         and automatically resets to current time everytime a volume phase transitions.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
        Specified by:
        hasLastPhaseTransitionTime in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        Whether the lastPhaseTransitionTime field is set.
      • getLastPhaseTransitionTime

        public Generated.Time getLastPhaseTransitionTime()
         lastPhaseTransitionTime is the time the phase transitioned from one to another
         and automatically resets to current time everytime a volume phase transitions.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
        Specified by:
        getLastPhaseTransitionTime in interface Generated.PersistentVolumeStatusOrBuilder
        Returns:
        The lastPhaseTransitionTime.
      • setLastPhaseTransitionTime

        public Generated.PersistentVolumeStatus.Builder setLastPhaseTransitionTime​(Generated.Time value)
         lastPhaseTransitionTime is the time the phase transitioned from one to another
         and automatically resets to current time everytime a volume phase transitions.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
      • setLastPhaseTransitionTime

        public Generated.PersistentVolumeStatus.Builder setLastPhaseTransitionTime​(Generated.Time.Builder builderForValue)
         lastPhaseTransitionTime is the time the phase transitioned from one to another
         and automatically resets to current time everytime a volume phase transitions.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
      • mergeLastPhaseTransitionTime

        public Generated.PersistentVolumeStatus.Builder mergeLastPhaseTransitionTime​(Generated.Time value)
         lastPhaseTransitionTime is the time the phase transitioned from one to another
         and automatically resets to current time everytime a volume phase transitions.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
      • clearLastPhaseTransitionTime

        public Generated.PersistentVolumeStatus.Builder clearLastPhaseTransitionTime()
         lastPhaseTransitionTime is the time the phase transitioned from one to another
         and automatically resets to current time everytime a volume phase transitions.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;
      • getLastPhaseTransitionTimeBuilder

        public Generated.Time.Builder getLastPhaseTransitionTimeBuilder()
         lastPhaseTransitionTime is the time the phase transitioned from one to another
         and automatically resets to current time everytime a volume phase transitions.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4;