Package io.kubernetes.client.proto
Class V1beta1Storage.VolumeAttachmentSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSource.Builder>
io.kubernetes.client.proto.V1beta1Storage.VolumeAttachmentSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Storage.VolumeAttachmentSourceOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Storage.VolumeAttachmentSource
public static final class V1beta1Storage.VolumeAttachmentSource.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSource.Builder>
implements V1beta1Storage.VolumeAttachmentSourceOrBuilder
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.Protobuf type
k8s.io.api.storage.v1beta1.VolumeAttachmentSource
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Name of the persistent volume to attach.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.Name of the persistent volume to attach.com.google.protobuf.ByteString
Name of the persistent volume to attach.boolean
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.boolean
Name of the persistent volume to attach.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) inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.setInlineVolumeSpec
(V1.PersistentVolumeSpec.Builder builderForValue) inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.setPersistentVolumeName
(String value) Name of the persistent volume to attach.setPersistentVolumeNameBytes
(com.google.protobuf.ByteString value) Name of the persistent volume to attach.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, 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.VolumeAttachmentSource.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.VolumeAttachmentSource.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.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-
setField
public V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-
clearField
public V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-
clearOneof
public V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-
setRepeatedField
public V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-
addRepeatedField
public V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Storage.VolumeAttachmentSource.Builder>
-
mergeFrom
public V1beta1Storage.VolumeAttachmentSource.Builder mergeFrom(V1beta1Storage.VolumeAttachmentSource other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Storage.VolumeAttachmentSource.Builder>
-
mergeFrom
public V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
- Throws:
IOException
-
hasPersistentVolumeName
public boolean hasPersistentVolumeName()Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;
- Specified by:
hasPersistentVolumeName
in interfaceV1beta1Storage.VolumeAttachmentSourceOrBuilder
-
getPersistentVolumeName
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;
- Specified by:
getPersistentVolumeName
in interfaceV1beta1Storage.VolumeAttachmentSourceOrBuilder
-
getPersistentVolumeNameBytes
public com.google.protobuf.ByteString getPersistentVolumeNameBytes()Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;
- Specified by:
getPersistentVolumeNameBytes
in interfaceV1beta1Storage.VolumeAttachmentSourceOrBuilder
-
setPersistentVolumeName
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;
-
clearPersistentVolumeName
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;
-
setPersistentVolumeNameBytes
public V1beta1Storage.VolumeAttachmentSource.Builder setPersistentVolumeNameBytes(com.google.protobuf.ByteString value) Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;
-
hasInlineVolumeSpec
public boolean hasInlineVolumeSpec()inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
- Specified by:
hasInlineVolumeSpec
in interfaceV1beta1Storage.VolumeAttachmentSourceOrBuilder
-
getInlineVolumeSpec
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
- Specified by:
getInlineVolumeSpec
in interfaceV1beta1Storage.VolumeAttachmentSourceOrBuilder
-
setInlineVolumeSpec
public V1beta1Storage.VolumeAttachmentSource.Builder setInlineVolumeSpec(V1.PersistentVolumeSpec value) inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
-
setInlineVolumeSpec
public V1beta1Storage.VolumeAttachmentSource.Builder setInlineVolumeSpec(V1.PersistentVolumeSpec.Builder builderForValue) inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
-
mergeInlineVolumeSpec
public V1beta1Storage.VolumeAttachmentSource.Builder mergeInlineVolumeSpec(V1.PersistentVolumeSpec value) inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
-
clearInlineVolumeSpec
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
-
getInlineVolumeSpecBuilder
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
-
getInlineVolumeSpecOrBuilder
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature. +optional
optional .k8s.io.api.core.v1.PersistentVolumeSpec inlineVolumeSpec = 2;
- Specified by:
getInlineVolumeSpecOrBuilder
in interfaceV1beta1Storage.VolumeAttachmentSourceOrBuilder
-
setUnknownFields
public final V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-
mergeUnknownFields
public final V1beta1Storage.VolumeAttachmentSource.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.VolumeAttachmentSource.Builder>
-