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| Modifier and Type | Method and Description |
|---|---|
V1.PersistentVolumeStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeStatus |
build() |
V1.PersistentVolumeStatus |
buildPartial() |
V1.PersistentVolumeStatus.Builder |
clear() |
V1.PersistentVolumeStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PersistentVolumeStatus.Builder |
clearMessage()
A human-readable message indicating details about why the volume is in this state.
|
V1.PersistentVolumeStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PersistentVolumeStatus.Builder |
clearPhase()
Phase indicates if a volume is available, bound to a claim, or released by a claim.
|
V1.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.
|
V1.PersistentVolumeStatus.Builder |
clone() |
V1.PersistentVolumeStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessage()
A human-readable message indicating details about why the volume is in this state.
|
com.google.protobuf.ByteString |
getMessageBytes()
A human-readable message indicating details about why the volume is in this state.
|
String |
getPhase()
Phase indicates if a volume is available, bound to a claim, or released by a claim.
|
com.google.protobuf.ByteString |
getPhaseBytes()
Phase indicates if a volume is available, bound to a claim, or released by a claim.
|
String |
getReason()
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 |
getReasonBytes()
Reason is a brief CamelCase string that describes any failure and is meant
for machine parsing and tidy display in the CLI.
|
boolean |
hasMessage()
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 |
hasReason()
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 |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.PersistentVolumeStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PersistentVolumeStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PersistentVolumeStatus.Builder |
mergeFrom(V1.PersistentVolumeStatus other) |
V1.PersistentVolumeStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PersistentVolumeStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PersistentVolumeStatus.Builder |
setMessage(String value)
A human-readable message indicating details about why the volume is in this state.
|
V1.PersistentVolumeStatus.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
A human-readable message indicating details about why the volume is in this state.
|
V1.PersistentVolumeStatus.Builder |
setPhase(String value)
Phase indicates if a volume is available, bound to a claim, or released by a claim.
|
V1.PersistentVolumeStatus.Builder |
setPhaseBytes(com.google.protobuf.ByteString value)
Phase indicates if a volume is available, bound to a claim, or released by a claim.
|
V1.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.
|
V1.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.
|
V1.PersistentVolumeStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PersistentVolumeStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PersistentVolumeStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PersistentVolumeStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder mergeFrom(V1.PersistentVolumeStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public V1.PersistentVolumeStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PersistentVolumeStatus.Builder>IOExceptionpublic 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;hasPhase in interface V1.PersistentVolumeStatusOrBuilderpublic 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;getPhase in interface V1.PersistentVolumeStatusOrBuilderpublic 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;getPhaseBytes in interface V1.PersistentVolumeStatusOrBuilderpublic V1.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;public V1.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;public V1.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;public boolean hasMessage()
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;hasMessage in interface V1.PersistentVolumeStatusOrBuilderpublic String getMessage()
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;getMessage in interface V1.PersistentVolumeStatusOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;getMessageBytes in interface V1.PersistentVolumeStatusOrBuilderpublic V1.PersistentVolumeStatus.Builder setMessage(String value)
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;public V1.PersistentVolumeStatus.Builder clearMessage()
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;public V1.PersistentVolumeStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
A human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;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;hasReason in interface V1.PersistentVolumeStatusOrBuilderpublic 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;getReason in interface V1.PersistentVolumeStatusOrBuilderpublic 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;getReasonBytes in interface V1.PersistentVolumeStatusOrBuilderpublic V1.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;public V1.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;public V1.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;public final V1.PersistentVolumeStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>public final V1.PersistentVolumeStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PersistentVolumeStatus.Builder>Copyright © 2021. All rights reserved.