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.VolumeAttachmentSourcegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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 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 © 2020. All rights reserved.