Package io.kubernetes.client.proto
Class V1Storage.VolumeAttachmentStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
io.kubernetes.client.proto.V1Storage.VolumeAttachmentStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Storage.VolumeAttachmentStatusOrBuilder,Cloneable
- Enclosing class:
- V1Storage.VolumeAttachmentStatus
public static final class V1Storage.VolumeAttachmentStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
implements V1Storage.VolumeAttachmentStatusOrBuilder
VolumeAttachmentStatus is the status of a VolumeAttachment request.Protobuf type
k8s.io.api.storage.v1.VolumeAttachmentStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Indicates the volume is successfully attached.The last error encountered during attach operation, if any.The last error encountered during detach operation, if any.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleanUpon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.booleanIndicates the volume is successfully attached.The last error encountered during attach operation, if any.The last error encountered during attach operation, if any.The last error encountered during attach operation, if any.Deprecated.intUpon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.getAttachmentMetadataOrDefault(String key, String defaultValue) Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe last error encountered during detach operation, if any.The last error encountered during detach operation, if any.The last error encountered during detach operation, if any.Deprecated.booleanIndicates the volume is successfully attached.booleanThe last error encountered during attach operation, if any.booleanThe last error encountered during detach operation, if any.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanThe last error encountered during attach operation, if any.The last error encountered during detach operation, if any.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllAttachmentMetadata(Map<String, String> values) Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.putAttachmentMetadata(String key, String value) Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.setAttached(boolean value) Indicates the volume is successfully attached.The last error encountered during attach operation, if any.setAttachError(V1Storage.VolumeError.Builder builderForValue) The last error encountered during attach operation, if any.The last error encountered during detach operation, if any.setDetachError(V1Storage.VolumeError.Builder builderForValue) The last error encountered during detach operation, if any.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, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<V1Storage.VolumeAttachmentStatus.Builder>
-
setField
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
clearField
public V1Storage.VolumeAttachmentStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
clearOneof
public V1Storage.VolumeAttachmentStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
setRepeatedField
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
addRepeatedField
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
mergeFrom
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>- Throws:
IOException
-
hasAttached
public boolean hasAttached()Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
optional bool attached = 1;- Specified by:
hasAttachedin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getAttached
public boolean getAttached()Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
optional bool attached = 1;- Specified by:
getAttachedin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
setAttached
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
optional bool attached = 1; -
clearAttached
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
optional bool attached = 1; -
getAttachmentMetadataCount
public int getAttachmentMetadataCount()Description copied from interface:V1Storage.VolumeAttachmentStatusOrBuilderUpon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;- Specified by:
getAttachmentMetadataCountin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
containsAttachmentMetadata
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;- Specified by:
containsAttachmentMetadatain interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getAttachmentMetadata
Deprecated.UsegetAttachmentMetadataMap()instead.- Specified by:
getAttachmentMetadatain interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getAttachmentMetadataMap
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;- Specified by:
getAttachmentMetadataMapin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getAttachmentMetadataOrDefault
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;- Specified by:
getAttachmentMetadataOrDefaultin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getAttachmentMetadataOrThrow
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;- Specified by:
getAttachmentMetadataOrThrowin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
clearAttachmentMetadata
-
removeAttachmentMetadata
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2; -
getMutableAttachmentMetadata
Deprecated.Use alternate mutation accessors instead. -
putAttachmentMetadata
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2; -
putAllAttachmentMetadata
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2; -
hasAttachError
public boolean hasAttachError()The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3;- Specified by:
hasAttachErrorin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getAttachError
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3;- Specified by:
getAttachErrorin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
setAttachError
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3; -
setAttachError
public V1Storage.VolumeAttachmentStatus.Builder setAttachError(V1Storage.VolumeError.Builder builderForValue) The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3; -
mergeAttachError
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3; -
clearAttachError
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3; -
getAttachErrorBuilder
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3; -
getAttachErrorOrBuilder
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError attachError = 3;- Specified by:
getAttachErrorOrBuilderin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
hasDetachError
public boolean hasDetachError()The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4;- Specified by:
hasDetachErrorin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getDetachError
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4;- Specified by:
getDetachErrorin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
setDetachError
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4; -
setDetachError
public V1Storage.VolumeAttachmentStatus.Builder setDetachError(V1Storage.VolumeError.Builder builderForValue) The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4; -
mergeDetachError
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4; -
clearDetachError
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4; -
getDetachErrorBuilder
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4; -
getDetachErrorOrBuilder
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeError detachError = 4;- Specified by:
getDetachErrorOrBuilderin interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
setUnknownFields
public final V1Storage.VolumeAttachmentStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
mergeUnknownFields
public final V1Storage.VolumeAttachmentStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-