Package io.kubernetes.client.proto
Class V1.PersistentVolumeStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>
io.kubernetes.client.proto.V1.PersistentVolumeStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.PersistentVolumeStatusOrBuilder
,Cloneable
- Enclosing class:
- V1.PersistentVolumeStatus
public static final class V1.PersistentVolumeStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>
implements V1.PersistentVolumeStatusOrBuilder
PersistentVolumeStatus is the current status of a persistent volume.Protobuf type
k8s.io.api.core.v1.PersistentVolumeStatus
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) A human-readable message indicating details about why the volume is in this state.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Phase indicates if a volume is available, bound to a claim, or released by a claim.Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
A human-readable message indicating details about why the volume is in this state.com.google.protobuf.ByteString
A human-readable message indicating details about why the volume is in this state.getPhase()
Phase indicates if a volume is available, bound to a claim, or released by a claim.com.google.protobuf.ByteString
Phase indicates if a volume is available, bound to a claim, or released by a claim.Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.com.google.protobuf.ByteString
Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.boolean
A human-readable message indicating details about why the volume is in this state.boolean
hasPhase()
Phase indicates if a volume is available, bound to a claim, or released by a claim.boolean
Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setMessage
(String value) A human-readable message indicating details about why the volume is in this state.setMessageBytes
(com.google.protobuf.ByteString value) A human-readable message indicating details about why the volume is in this state.Phase indicates if a volume is available, bound to a claim, or released by a claim.setPhaseBytes
(com.google.protobuf.ByteString value) Phase indicates if a volume is available, bound to a claim, or released by a claim.Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.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.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.Builder>
-
setField
public V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.Builder>
-
clearField
public V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.Builder>
-
clearOneof
public V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.Builder>
-
setRepeatedField
public V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.Builder>
-
addRepeatedField
public V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>
-
mergeFrom
public V1.PersistentVolumeStatus.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<V1.PersistentVolumeStatus.Builder>
- Throws:
IOException
-
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 interfaceV1.PersistentVolumeStatusOrBuilder
-
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 interfaceV1.PersistentVolumeStatusOrBuilder
-
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 interfaceV1.PersistentVolumeStatusOrBuilder
-
setPhase
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;
-
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;
-
setPhaseBytes
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;
-
hasMessage
public boolean hasMessage()A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;
- Specified by:
hasMessage
in interfaceV1.PersistentVolumeStatusOrBuilder
-
getMessage
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;
- Specified by:
getMessage
in interfaceV1.PersistentVolumeStatusOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;
- Specified by:
getMessageBytes
in interfaceV1.PersistentVolumeStatusOrBuilder
-
setMessage
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;
-
clearMessage
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;
-
setMessageBytes
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;
-
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 interfaceV1.PersistentVolumeStatusOrBuilder
-
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 interfaceV1.PersistentVolumeStatusOrBuilder
-
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 interfaceV1.PersistentVolumeStatusOrBuilder
-
setReason
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;
-
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;
-
setReasonBytes
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;
-
setUnknownFields
public final V1.PersistentVolumeStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>
-
mergeUnknownFields
public final V1.PersistentVolumeStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>
-