public static final class V1Storage.VolumeAttachmentSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder> implements V1Storage.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.v1.VolumeAttachmentSource| Modifier and Type | Method and Description |
|---|---|
V1Storage.VolumeAttachmentSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.VolumeAttachmentSource |
build() |
V1Storage.VolumeAttachmentSource |
buildPartial() |
V1Storage.VolumeAttachmentSource.Builder |
clear() |
V1Storage.VolumeAttachmentSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Storage.VolumeAttachmentSource.Builder |
clearInlineVolumeSpec()
inlineVolumeSpec contains all the information necessary to attach
a persistent volume defined by a pod's inline VolumeSource.
|
V1Storage.VolumeAttachmentSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Storage.VolumeAttachmentSource.Builder |
clearPersistentVolumeName()
Name of the persistent volume to attach.
|
V1Storage.VolumeAttachmentSource.Builder |
clone() |
V1Storage.VolumeAttachmentSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1.PersistentVolumeSpec |
getInlineVolumeSpec()
inlineVolumeSpec contains all the information necessary to attach
a persistent volume defined by a pod's inline VolumeSource.
|
V1.PersistentVolumeSpec.Builder |
getInlineVolumeSpecBuilder()
inlineVolumeSpec contains all the information necessary to attach
a persistent volume defined by a pod's inline VolumeSource.
|
V1.PersistentVolumeSpecOrBuilder |
getInlineVolumeSpecOrBuilder()
inlineVolumeSpec contains all the information necessary to attach
a persistent volume defined by a pod's inline VolumeSource.
|
String |
getPersistentVolumeName()
Name of the persistent volume to attach.
|
com.google.protobuf.ByteString |
getPersistentVolumeNameBytes()
Name of the persistent volume to attach.
|
boolean |
hasInlineVolumeSpec()
inlineVolumeSpec contains all the information necessary to attach
a persistent volume defined by a pod's inline VolumeSource.
|
boolean |
hasPersistentVolumeName()
Name of the persistent volume to attach.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Storage.VolumeAttachmentSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Storage.VolumeAttachmentSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Storage.VolumeAttachmentSource.Builder |
mergeFrom(V1Storage.VolumeAttachmentSource other) |
V1Storage.VolumeAttachmentSource.Builder |
mergeInlineVolumeSpec(V1.PersistentVolumeSpec value)
inlineVolumeSpec contains all the information necessary to attach
a persistent volume defined by a pod's inline VolumeSource.
|
V1Storage.VolumeAttachmentSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Storage.VolumeAttachmentSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Storage.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.
|
V1Storage.VolumeAttachmentSource.Builder |
setInlineVolumeSpec(V1.PersistentVolumeSpec value)
inlineVolumeSpec contains all the information necessary to attach
a persistent volume defined by a pod's inline VolumeSource.
|
V1Storage.VolumeAttachmentSource.Builder |
setPersistentVolumeName(String value)
Name of the persistent volume to attach.
|
V1Storage.VolumeAttachmentSource.Builder |
setPersistentVolumeNameBytes(com.google.protobuf.ByteString value)
Name of the persistent volume to attach.
|
V1Storage.VolumeAttachmentSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Storage.VolumeAttachmentSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Storage.VolumeAttachmentSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Storage.VolumeAttachmentSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Storage.VolumeAttachmentSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder mergeFrom(V1Storage.VolumeAttachmentSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public V1Storage.VolumeAttachmentSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Storage.VolumeAttachmentSource.Builder>IOExceptionpublic boolean hasPersistentVolumeName()
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;hasPersistentVolumeName in interface V1Storage.VolumeAttachmentSourceOrBuilderpublic String getPersistentVolumeName()
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;getPersistentVolumeName in interface V1Storage.VolumeAttachmentSourceOrBuilderpublic com.google.protobuf.ByteString getPersistentVolumeNameBytes()
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;getPersistentVolumeNameBytes in interface V1Storage.VolumeAttachmentSourceOrBuilderpublic V1Storage.VolumeAttachmentSource.Builder setPersistentVolumeName(String value)
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;public V1Storage.VolumeAttachmentSource.Builder clearPersistentVolumeName()
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;public V1Storage.VolumeAttachmentSource.Builder setPersistentVolumeNameBytes(com.google.protobuf.ByteString value)
Name of the persistent volume to attach. +optional
optional string persistentVolumeName = 1;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;hasInlineVolumeSpec in interface V1Storage.VolumeAttachmentSourceOrBuilderpublic V1.PersistentVolumeSpec 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;getInlineVolumeSpec in interface V1Storage.VolumeAttachmentSourceOrBuilderpublic V1Storage.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;public V1Storage.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;public V1Storage.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;public V1Storage.VolumeAttachmentSource.Builder 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;public V1.PersistentVolumeSpec.Builder 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;public V1.PersistentVolumeSpecOrBuilder 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;getInlineVolumeSpecOrBuilder in interface V1Storage.VolumeAttachmentSourceOrBuilderpublic final V1Storage.VolumeAttachmentSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>public final V1Storage.VolumeAttachmentSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Storage.VolumeAttachmentSource.Builder>Copyright © 2023. All rights reserved.