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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>
public V1.Volume getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1.Volume build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1.Volume buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1.Volume.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1.Volume.Builder>
IOException
public 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.VolumeOrBuilder
public 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.VolumeOrBuilder
public 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.VolumeOrBuilder
public 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.VolumeOrBuilder
public 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.VolumeOrBuilder
public 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.VolumeOrBuilder
public final V1.Volume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1.Volume.Builder>
Copyright © 2021. All rights reserved.