public static final class V1.Volume.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder> implements V1.VolumeOrBuilder
Volume represents a named volume in a pod that may be accessed by any container in the pod.Protobuf type
k8s.io.api.core.v1.Volume| Modifier and Type | Method and Description |
|---|---|
V1.Volume.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.Volume |
build() |
V1.Volume |
buildPartial() |
V1.Volume.Builder |
clear() |
V1.Volume.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.Volume.Builder |
clearName()
Volume's name.
|
V1.Volume.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.Volume.Builder |
clearVolumeSource()
VolumeSource represents the location and type of the mounted volume.
|
V1.Volume.Builder |
clone() |
V1.Volume |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Volume's name.
|
com.google.protobuf.ByteString |
getNameBytes()
Volume's name.
|
V1.VolumeSource |
getVolumeSource()
VolumeSource represents the location and type of the mounted volume.
|
V1.VolumeSource.Builder |
getVolumeSourceBuilder()
VolumeSource represents the location and type of the mounted volume.
|
V1.VolumeSourceOrBuilder |
getVolumeSourceOrBuilder()
VolumeSource represents the location and type of the mounted volume.
|
boolean |
hasName()
Volume's name.
|
boolean |
hasVolumeSource()
VolumeSource represents the location and type of the mounted volume.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.Volume.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.Volume.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.Volume.Builder |
mergeFrom(V1.Volume other) |
V1.Volume.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.Volume.Builder |
mergeVolumeSource(V1.VolumeSource value)
VolumeSource represents the location and type of the mounted volume.
|
V1.Volume.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.Volume.Builder |
setName(String value)
Volume's name.
|
V1.Volume.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Volume's name.
|
V1.Volume.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.Volume.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.Volume.Builder |
setVolumeSource(V1.VolumeSource.Builder builderForValue)
VolumeSource represents the location and type of the mounted volume.
|
V1.Volume.Builder |
setVolumeSource(V1.VolumeSource value)
VolumeSource represents the location and type of the mounted volume.
|
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<V1.Volume.Builder>public V1.Volume.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.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<V1.Volume.Builder>public V1.Volume getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.Volume build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.Volume buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.Volume.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>public V1.Volume.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<V1.Volume.Builder>public V1.Volume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>public V1.Volume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>public V1.Volume.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<V1.Volume.Builder>public V1.Volume.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<V1.Volume.Builder>public V1.Volume.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.Volume.Builder>public V1.Volume.Builder mergeFrom(V1.Volume other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>public V1.Volume.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<V1.Volume.Builder>IOExceptionpublic boolean hasName()
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;hasName in interface V1.VolumeOrBuilderpublic String getName()
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;getName in interface V1.VolumeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;getNameBytes in interface V1.VolumeOrBuilderpublic V1.Volume.Builder setName(String value)
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;public V1.Volume.Builder clearName()
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;public V1.Volume.Builder setNameBytes(com.google.protobuf.ByteString value)
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;public boolean hasVolumeSource()
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;hasVolumeSource in interface V1.VolumeOrBuilderpublic V1.VolumeSource getVolumeSource()
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;getVolumeSource in interface V1.VolumeOrBuilderpublic V1.Volume.Builder setVolumeSource(V1.VolumeSource value)
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;public V1.Volume.Builder setVolumeSource(V1.VolumeSource.Builder builderForValue)
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;public V1.Volume.Builder mergeVolumeSource(V1.VolumeSource value)
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;public V1.Volume.Builder clearVolumeSource()
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;public V1.VolumeSource.Builder getVolumeSourceBuilder()
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;public V1.VolumeSourceOrBuilder getVolumeSourceOrBuilder()
VolumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;getVolumeSourceOrBuilder in interface V1.VolumeOrBuilderpublic final V1.Volume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>public final V1.Volume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>Copyright © 2023. All rights reserved.