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
Modifier and Type | Method and Description |
---|---|
V1Storage.VolumeAttachmentStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.VolumeAttachmentStatus |
build() |
V1Storage.VolumeAttachmentStatus |
buildPartial() |
V1Storage.VolumeAttachmentStatus.Builder |
clear() |
V1Storage.VolumeAttachmentStatus.Builder |
clearAttached()
Indicates the volume is successfully attached.
|
V1Storage.VolumeAttachmentStatus.Builder |
clearAttachError()
The last error encountered during attach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
clearAttachmentMetadata() |
V1Storage.VolumeAttachmentStatus.Builder |
clearDetachError()
The last error encountered during detach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Storage.VolumeAttachmentStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Storage.VolumeAttachmentStatus.Builder |
clone() |
boolean |
containsAttachmentMetadata(String key)
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 |
getAttached()
Indicates the volume is successfully attached.
|
V1Storage.VolumeError |
getAttachError()
The last error encountered during attach operation, if any.
|
V1Storage.VolumeError.Builder |
getAttachErrorBuilder()
The last error encountered during attach operation, if any.
|
V1Storage.VolumeErrorOrBuilder |
getAttachErrorOrBuilder()
The last error encountered during attach operation, if any.
|
Map<String,String> |
getAttachmentMetadata()
Deprecated.
|
int |
getAttachmentMetadataCount()
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.
|
Map<String,String> |
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.
|
String |
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.
|
String |
getAttachmentMetadataOrThrow(String key)
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.
|
V1Storage.VolumeAttachmentStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1Storage.VolumeError |
getDetachError()
The last error encountered during detach operation, if any.
|
V1Storage.VolumeError.Builder |
getDetachErrorBuilder()
The last error encountered during detach operation, if any.
|
V1Storage.VolumeErrorOrBuilder |
getDetachErrorOrBuilder()
The last error encountered during detach operation, if any.
|
Map<String,String> |
getMutableAttachmentMetadata()
Deprecated.
|
boolean |
hasAttached()
Indicates the volume is successfully attached.
|
boolean |
hasAttachError()
The last error encountered during attach operation, if any.
|
boolean |
hasDetachError()
The last error encountered during detach operation, if any.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1Storage.VolumeAttachmentStatus.Builder |
mergeAttachError(V1Storage.VolumeError value)
The last error encountered during attach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
mergeDetachError(V1Storage.VolumeError value)
The last error encountered during detach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Storage.VolumeAttachmentStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Storage.VolumeAttachmentStatus.Builder |
mergeFrom(V1Storage.VolumeAttachmentStatus other) |
V1Storage.VolumeAttachmentStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Storage.VolumeAttachmentStatus.Builder |
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.
|
V1Storage.VolumeAttachmentStatus.Builder |
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.
|
V1Storage.VolumeAttachmentStatus.Builder |
removeAttachmentMetadata(String key)
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.
|
V1Storage.VolumeAttachmentStatus.Builder |
setAttached(boolean value)
Indicates the volume is successfully attached.
|
V1Storage.VolumeAttachmentStatus.Builder |
setAttachError(V1Storage.VolumeError.Builder builderForValue)
The last error encountered during attach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
setAttachError(V1Storage.VolumeError value)
The last error encountered during attach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
setDetachError(V1Storage.VolumeError.Builder builderForValue)
The last error encountered during detach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
setDetachError(V1Storage.VolumeError value)
The last error encountered during detach operation, if any.
|
V1Storage.VolumeAttachmentStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.VolumeAttachmentStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Storage.VolumeAttachmentStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1Storage.VolumeAttachmentStatus build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1Storage.VolumeAttachmentStatus buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1Storage.VolumeAttachmentStatus.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder mergeFrom(V1Storage.VolumeAttachmentStatus other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public V1Storage.VolumeAttachmentStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1Storage.VolumeAttachmentStatus.Builder>
IOException
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;
hasAttached
in interface V1Storage.VolumeAttachmentStatusOrBuilder
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;
getAttached
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public V1Storage.VolumeAttachmentStatus.Builder setAttached(boolean value)
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;
public V1Storage.VolumeAttachmentStatus.Builder 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;
public int getAttachmentMetadataCount()
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;
getAttachmentMetadataCount
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public boolean containsAttachmentMetadata(String key)
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;
containsAttachmentMetadata
in interface V1Storage.VolumeAttachmentStatusOrBuilder
@Deprecated public Map<String,String> getAttachmentMetadata()
getAttachmentMetadataMap()
instead.getAttachmentMetadata
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public Map<String,String> 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;
getAttachmentMetadataMap
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public String 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. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;
getAttachmentMetadataOrDefault
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public String getAttachmentMetadataOrThrow(String key)
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;
getAttachmentMetadataOrThrow
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public V1Storage.VolumeAttachmentStatus.Builder clearAttachmentMetadata()
public V1Storage.VolumeAttachmentStatus.Builder removeAttachmentMetadata(String key)
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;
@Deprecated public Map<String,String> getMutableAttachmentMetadata()
public V1Storage.VolumeAttachmentStatus.Builder 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. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;
public V1Storage.VolumeAttachmentStatus.Builder 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. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. +optional
map<string, string> attachmentMetadata = 2;
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;
hasAttachError
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public V1Storage.VolumeError 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;
getAttachError
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public V1Storage.VolumeAttachmentStatus.Builder setAttachError(V1Storage.VolumeError value)
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;
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;
public V1Storage.VolumeAttachmentStatus.Builder mergeAttachError(V1Storage.VolumeError value)
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;
public V1Storage.VolumeAttachmentStatus.Builder 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;
public V1Storage.VolumeError.Builder 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;
public V1Storage.VolumeErrorOrBuilder 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;
getAttachErrorOrBuilder
in interface V1Storage.VolumeAttachmentStatusOrBuilder
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;
hasDetachError
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public V1Storage.VolumeError 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;
getDetachError
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public V1Storage.VolumeAttachmentStatus.Builder setDetachError(V1Storage.VolumeError value)
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;
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;
public V1Storage.VolumeAttachmentStatus.Builder mergeDetachError(V1Storage.VolumeError value)
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;
public V1Storage.VolumeAttachmentStatus.Builder 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;
public V1Storage.VolumeError.Builder 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;
public V1Storage.VolumeErrorOrBuilder 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;
getDetachErrorOrBuilder
in interface V1Storage.VolumeAttachmentStatusOrBuilder
public final V1Storage.VolumeAttachmentStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
public final V1Storage.VolumeAttachmentStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentStatus.Builder>
Copyright © 2021. All rights reserved.