Package k8s.io.api.core.v1
Class Generated.PersistentVolumeStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
- k8s.io.api.core.v1.Generated.PersistentVolumeStatus.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.PersistentVolumeStatusOrBuilder
- Enclosing class:
- Generated.PersistentVolumeStatus
public static final class Generated.PersistentVolumeStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder> implements Generated.PersistentVolumeStatusOrBuilder
PersistentVolumeStatus is the current status of a persistent volume.
Protobuf typek8s.io.api.core.v1.PersistentVolumeStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.PersistentVolumeStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PersistentVolumeStatusbuild()Generated.PersistentVolumeStatusbuildPartial()Generated.PersistentVolumeStatus.Builderclear()Generated.PersistentVolumeStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.PersistentVolumeStatus.BuilderclearLastPhaseTransitionTime()lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.Generated.PersistentVolumeStatus.BuilderclearMessage()message is a human-readable message indicating details about why the volume is in this state.Generated.PersistentVolumeStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.PersistentVolumeStatus.BuilderclearPhase()phase indicates if a volume is available, bound to a claim, or released by a claim.Generated.PersistentVolumeStatus.BuilderclearReason()reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.Generated.PersistentVolumeStatus.Builderclone()Generated.PersistentVolumeStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Generated.TimegetLastPhaseTransitionTime()lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.Generated.Time.BuildergetLastPhaseTransitionTimeBuilder()lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.Generated.TimeOrBuildergetLastPhaseTransitionTimeOrBuilder()lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.StringgetMessage()message is a human-readable message indicating details about why the volume is in this state.com.google.protobuf.ByteStringgetMessageBytes()message is a human-readable message indicating details about why the volume is in this state.StringgetPhase()phase indicates if a volume is available, bound to a claim, or released by a claim.com.google.protobuf.ByteStringgetPhaseBytes()phase indicates if a volume is available, bound to a claim, or released by a claim.StringgetReason()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.ByteStringgetReasonBytes()reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.booleanhasLastPhaseTransitionTime()lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.booleanhasMessage()message is a human-readable message indicating details about why the volume is in this state.booleanhasPhase()phase indicates if a volume is available, bound to a claim, or released by a claim.booleanhasReason()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.PersistentVolumeStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.PersistentVolumeStatus.BuildermergeFrom(com.google.protobuf.Message other)Generated.PersistentVolumeStatus.BuildermergeFrom(Generated.PersistentVolumeStatus other)Generated.PersistentVolumeStatus.BuildermergeLastPhaseTransitionTime(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.Generated.PersistentVolumeStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.PersistentVolumeStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PersistentVolumeStatus.BuildersetLastPhaseTransitionTime(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.Generated.PersistentVolumeStatus.BuildersetLastPhaseTransitionTime(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.Generated.PersistentVolumeStatus.BuildersetMessage(String value)message is a human-readable message indicating details about why the volume is in this state.Generated.PersistentVolumeStatus.BuildersetMessageBytes(com.google.protobuf.ByteString value)message is a human-readable message indicating details about why the volume is in this state.Generated.PersistentVolumeStatus.BuildersetPhase(String value)phase indicates if a volume is available, bound to a claim, or released by a claim.Generated.PersistentVolumeStatus.BuildersetPhaseBytes(com.google.protobuf.ByteString value)phase indicates if a volume is available, bound to a claim, or released by a claim.Generated.PersistentVolumeStatus.BuildersetReason(String value)reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.Generated.PersistentVolumeStatus.BuildersetReasonBytes(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.Generated.PersistentVolumeStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.PersistentVolumeStatus.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
clear
public Generated.PersistentVolumeStatus.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
getDefaultInstanceForType
public Generated.PersistentVolumeStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.PersistentVolumeStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.PersistentVolumeStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.PersistentVolumeStatus.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
setField
public Generated.PersistentVolumeStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
clearField
public Generated.PersistentVolumeStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
clearOneof
public Generated.PersistentVolumeStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
setRepeatedField
public Generated.PersistentVolumeStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
addRepeatedField
public Generated.PersistentVolumeStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
mergeFrom
public Generated.PersistentVolumeStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.PersistentVolumeStatus.Builder>
-
mergeFrom
public Generated.PersistentVolumeStatus.Builder mergeFrom(Generated.PersistentVolumeStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
mergeFrom
public Generated.PersistentVolumeStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.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:
hasPhasein interfaceGenerated.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:
getPhasein interfaceGenerated.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:
getPhaseBytesin interfaceGenerated.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:
hasMessagein interfaceGenerated.PersistentVolumeStatusOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
public String getMessage()
message is a human-readable message indicating details about why the volume is in this state. +optional
optional string message = 2;- Specified by:
getMessagein interfaceGenerated.PersistentVolumeStatusOrBuilder- Returns:
- The message.
-
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:
getMessageBytesin interfaceGenerated.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:
hasReasonin interfaceGenerated.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:
getReasonin interfaceGenerated.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:
getReasonBytesin interfaceGenerated.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:
hasLastPhaseTransitionTimein interfaceGenerated.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:
getLastPhaseTransitionTimein interfaceGenerated.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;
-
getLastPhaseTransitionTimeOrBuilder
public Generated.TimeOrBuilder getLastPhaseTransitionTimeOrBuilder()
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:
getLastPhaseTransitionTimeOrBuilderin interfaceGenerated.PersistentVolumeStatusOrBuilder
-
setUnknownFields
public final Generated.PersistentVolumeStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
mergeUnknownFields
public final Generated.PersistentVolumeStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PersistentVolumeStatus.Builder>
-
-