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()
boolean
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.boolean
Indicates 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.int
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.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.Descriptor
com.google.protobuf.Descriptors.Descriptor
The 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.boolean
Indicates the volume is successfully attached.boolean
The last error encountered during attach operation, if any.boolean
The last error encountered during detach operation, if any.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
The 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, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
setField
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
clearField
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
clearOneof
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
setRepeatedField
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
addRepeatedField
public V1Storage.VolumeAttachmentStatus.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<V1Storage.VolumeAttachmentStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasAttached
in 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:
getAttached
in 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.VolumeAttachmentStatusOrBuilder
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:
getAttachmentMetadataCount
in 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:
containsAttachmentMetadata
in interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
getAttachmentMetadata
Deprecated.UsegetAttachmentMetadataMap()
instead.- Specified by:
getAttachmentMetadata
in 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:
getAttachmentMetadataMap
in 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:
getAttachmentMetadataOrDefault
in 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:
getAttachmentMetadataOrThrow
in 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:
hasAttachError
in 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:
getAttachError
in 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:
getAttachErrorOrBuilder
in 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:
hasDetachError
in 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:
getDetachError
in 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:
getDetachErrorOrBuilder
in interfaceV1Storage.VolumeAttachmentStatusOrBuilder
-
setUnknownFields
public final V1Storage.VolumeAttachmentStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-
mergeUnknownFields
public final V1Storage.VolumeAttachmentStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
-