Package io.kubernetes.client.proto
Class V1beta1Storage.VolumeAttachmentSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
io.kubernetes.client.proto.V1beta1Storage.VolumeAttachmentSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Storage.VolumeAttachmentSpecOrBuilder,Cloneable
- Enclosing class:
- V1beta1Storage.VolumeAttachmentSpec
public static final class V1beta1Storage.VolumeAttachmentSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
implements V1beta1Storage.VolumeAttachmentSpecOrBuilder
VolumeAttachmentSpec is the specification of a VolumeAttachment request.Protobuf type
k8s.io.api.storage.v1beta1.VolumeAttachmentSpec-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Attacher indicates the name of the volume driver that MUST handle this request.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The node that the volume should be attached to.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Source represents the volume that should be attached.clone()Attacher indicates the name of the volume driver that MUST handle this request.com.google.protobuf.ByteStringAttacher indicates the name of the volume driver that MUST handle this request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe node that the volume should be attached to.com.google.protobuf.ByteStringThe node that the volume should be attached to.Source represents the volume that should be attached.Source represents the volume that should be attached.Source represents the volume that should be attached.booleanAttacher indicates the name of the volume driver that MUST handle this request.booleanThe node that the volume should be attached to.booleanSource represents the volume that should be attached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Source represents the volume that should be attached.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAttacher(String value) Attacher indicates the name of the volume driver that MUST handle this request.setAttacherBytes(com.google.protobuf.ByteString value) Attacher indicates the name of the volume driver that MUST handle this request.setNodeName(String value) The node that the volume should be attached to.setNodeNameBytes(com.google.protobuf.ByteString value) The node that the volume should be attached to.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Source represents the volume that should be attached.setSource(V1beta1Storage.VolumeAttachmentSource.Builder builderForValue) Source represents the volume that should be attached.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<V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
setField
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
clearField
public V1beta1Storage.VolumeAttachmentSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
clearOneof
public V1beta1Storage.VolumeAttachmentSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
setRepeatedField
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
addRepeatedField
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
mergeFrom
public V1beta1Storage.VolumeAttachmentSpec.Builder mergeFrom(V1beta1Storage.VolumeAttachmentSpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
mergeFrom
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>- Throws:
IOException
-
hasAttacher
public boolean hasAttacher()Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
optional string attacher = 1;- Specified by:
hasAttacherin interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getAttacher
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
optional string attacher = 1;- Specified by:
getAttacherin interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getAttacherBytes
public com.google.protobuf.ByteString getAttacherBytes()Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
optional string attacher = 1;- Specified by:
getAttacherBytesin interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
setAttacher
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
optional string attacher = 1; -
clearAttacher
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
optional string attacher = 1; -
setAttacherBytes
public V1beta1Storage.VolumeAttachmentSpec.Builder setAttacherBytes(com.google.protobuf.ByteString value) Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
optional string attacher = 1; -
hasSource
public boolean hasSource()Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2;- Specified by:
hasSourcein interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getSource
Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2;- Specified by:
getSourcein interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
setSource
public V1beta1Storage.VolumeAttachmentSpec.Builder setSource(V1beta1Storage.VolumeAttachmentSource value) Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2; -
setSource
public V1beta1Storage.VolumeAttachmentSpec.Builder setSource(V1beta1Storage.VolumeAttachmentSource.Builder builderForValue) Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2; -
mergeSource
public V1beta1Storage.VolumeAttachmentSpec.Builder mergeSource(V1beta1Storage.VolumeAttachmentSource value) Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2; -
clearSource
Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2; -
getSourceBuilder
Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2; -
getSourceOrBuilder
Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2;- Specified by:
getSourceOrBuilderin interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
hasNodeName
public boolean hasNodeName()The node that the volume should be attached to.
optional string nodeName = 3;- Specified by:
hasNodeNamein interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getNodeName
The node that the volume should be attached to.
optional string nodeName = 3;- Specified by:
getNodeNamein interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getNodeNameBytes
public com.google.protobuf.ByteString getNodeNameBytes()The node that the volume should be attached to.
optional string nodeName = 3;- Specified by:
getNodeNameBytesin interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
setNodeName
The node that the volume should be attached to.
optional string nodeName = 3; -
clearNodeName
The node that the volume should be attached to.
optional string nodeName = 3; -
setNodeNameBytes
public V1beta1Storage.VolumeAttachmentSpec.Builder setNodeNameBytes(com.google.protobuf.ByteString value) The node that the volume should be attached to.
optional string nodeName = 3; -
setUnknownFields
public final V1beta1Storage.VolumeAttachmentSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
mergeUnknownFields
public final V1beta1Storage.VolumeAttachmentSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-