Package io.kubernetes.client.proto
Class V1beta1Storage.VolumeAttachmentSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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.ByteString
Attacher indicates the name of the volume driver that MUST handle this request.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The node that the volume should be attached to.com.google.protobuf.ByteString
The 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.boolean
Attacher indicates the name of the volume driver that MUST handle this request.boolean
The node that the volume should be attached to.boolean
Source represents the volume that should be attached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
setField
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
clearField
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
clearOneof
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
setRepeatedField
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
addRepeatedField
public V1beta1Storage.VolumeAttachmentSpec.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<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
mergeFrom
public V1beta1Storage.VolumeAttachmentSpec.Builder mergeFrom(V1beta1Storage.VolumeAttachmentSpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasAttacher
in 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:
getAttacher
in 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:
getAttacherBytes
in 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:
hasSource
in interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getSource
Source represents the volume that should be attached.
optional .k8s.io.api.storage.v1beta1.VolumeAttachmentSource source = 2;
- Specified by:
getSource
in 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:
getSourceOrBuilder
in interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
hasNodeName
public boolean hasNodeName()The node that the volume should be attached to.
optional string nodeName = 3;
- Specified by:
hasNodeName
in interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getNodeName
The node that the volume should be attached to.
optional string nodeName = 3;
- Specified by:
getNodeName
in interfaceV1beta1Storage.VolumeAttachmentSpecOrBuilder
-
getNodeNameBytes
public com.google.protobuf.ByteString getNodeNameBytes()The node that the volume should be attached to.
optional string nodeName = 3;
- Specified by:
getNodeNameBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-
mergeUnknownFields
public final V1beta1Storage.VolumeAttachmentSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSpec.Builder>
-