Package io.kubernetes.client.proto
Class V1Storage.VolumeAttachment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.Builder>
io.kubernetes.client.proto.V1Storage.VolumeAttachment.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Storage.VolumeAttachmentOrBuilder,Cloneable
- Enclosing class:
- V1Storage.VolumeAttachment
public static final class V1Storage.VolumeAttachment.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.Builder>
implements V1Storage.VolumeAttachmentOrBuilder
VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced.Protobuf type
k8s.io.api.storage.v1.VolumeAttachment-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Standard object metadata.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specification of the desired attach/detach volume behavior.Status of the VolumeAttachment request.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorStandard object metadata.Standard object metadata.Standard object metadata.getSpec()Specification of the desired attach/detach volume behavior.Specification of the desired attach/detach volume behavior.Specification of the desired attach/detach volume behavior.Status of the VolumeAttachment request.Status of the VolumeAttachment request.Status of the VolumeAttachment request.booleanStandard object metadata.booleanhasSpec()Specification of the desired attach/detach volume behavior.booleanStatus of the VolumeAttachment request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(Meta.ObjectMeta value) Standard object metadata.Specification of the desired attach/detach volume behavior.Status of the VolumeAttachment request.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setMetadata(Meta.ObjectMeta value) Standard object metadata.setMetadata(Meta.ObjectMeta.Builder builderForValue) Standard object metadata.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Specification of the desired attach/detach volume behavior.setSpec(V1Storage.VolumeAttachmentSpec.Builder builderForValue) Specification of the desired attach/detach volume behavior.Status of the VolumeAttachment request.setStatus(V1Storage.VolumeAttachmentStatus.Builder builderForValue) Status of the VolumeAttachment request.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, internalGetMapField, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.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.VolumeAttachment.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.VolumeAttachment.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.VolumeAttachment.Builder>
-
setField
public V1Storage.VolumeAttachment.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.VolumeAttachment.Builder>
-
clearField
public V1Storage.VolumeAttachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.Builder>
-
clearOneof
public V1Storage.VolumeAttachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.Builder>
-
setRepeatedField
public V1Storage.VolumeAttachment.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.VolumeAttachment.Builder>
-
addRepeatedField
public V1Storage.VolumeAttachment.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.VolumeAttachment.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Storage.VolumeAttachment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.Builder>
-
mergeFrom
public V1Storage.VolumeAttachment.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.VolumeAttachment.Builder>- Throws:
IOException
-
hasMetadata
public boolean hasMetadata()Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
hasMetadatain interfaceV1Storage.VolumeAttachmentOrBuilder
-
getMetadata
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
getMetadatain interfaceV1Storage.VolumeAttachmentOrBuilder
-
setMetadata
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
setMetadata
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
mergeMetadata
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
clearMetadata
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
getMetadataBuilder
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
getMetadataOrBuilder
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
getMetadataOrBuilderin interfaceV1Storage.VolumeAttachmentOrBuilder
-
hasSpec
public boolean hasSpec()Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2;- Specified by:
hasSpecin interfaceV1Storage.VolumeAttachmentOrBuilder
-
getSpec
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2;- Specified by:
getSpecin interfaceV1Storage.VolumeAttachmentOrBuilder
-
setSpec
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2; -
setSpec
public V1Storage.VolumeAttachment.Builder setSpec(V1Storage.VolumeAttachmentSpec.Builder builderForValue) Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2; -
mergeSpec
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2; -
clearSpec
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2; -
getSpecBuilder
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2; -
getSpecOrBuilder
Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
optional .k8s.io.api.storage.v1.VolumeAttachmentSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceV1Storage.VolumeAttachmentOrBuilder
-
hasStatus
public boolean hasStatus()Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3;- Specified by:
hasStatusin interfaceV1Storage.VolumeAttachmentOrBuilder
-
getStatus
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3;- Specified by:
getStatusin interfaceV1Storage.VolumeAttachmentOrBuilder
-
setStatus
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3; -
setStatus
public V1Storage.VolumeAttachment.Builder setStatus(V1Storage.VolumeAttachmentStatus.Builder builderForValue) Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3; -
mergeStatus
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3; -
clearStatus
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3; -
getStatusBuilder
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3; -
getStatusOrBuilder
Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. +optional
optional .k8s.io.api.storage.v1.VolumeAttachmentStatus status = 3;- Specified by:
getStatusOrBuilderin interfaceV1Storage.VolumeAttachmentOrBuilder
-
setUnknownFields
public final V1Storage.VolumeAttachment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.Builder>
-
mergeUnknownFields
public final V1Storage.VolumeAttachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachment.Builder>
-