public static final class V1.VolumeMount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeMount.Builder> implements V1.VolumeMountOrBuilder
VolumeMount describes a mounting of a Volume within a container.Protobuf type
k8s.io.api.core.v1.VolumeMount| Modifier and Type | Method and Description |
|---|---|
V1.VolumeMount.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.VolumeMount |
build() |
V1.VolumeMount |
buildPartial() |
V1.VolumeMount.Builder |
clear() |
V1.VolumeMount.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.VolumeMount.Builder |
clearMountPath()
Path within the container at which the volume should be mounted.
|
V1.VolumeMount.Builder |
clearName()
This must match the Name of a Volume.
|
V1.VolumeMount.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.VolumeMount.Builder |
clearReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).
|
V1.VolumeMount.Builder |
clearSubPath()
Path within the volume from which the container's volume should be mounted.
|
V1.VolumeMount.Builder |
clone() |
V1.VolumeMount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMountPath()
Path within the container at which the volume should be mounted.
|
com.google.protobuf.ByteString |
getMountPathBytes()
Path within the container at which the volume should be mounted.
|
String |
getName()
This must match the Name of a Volume.
|
com.google.protobuf.ByteString |
getNameBytes()
This must match the Name of a Volume.
|
boolean |
getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).
|
String |
getSubPath()
Path within the volume from which the container's volume should be mounted.
|
com.google.protobuf.ByteString |
getSubPathBytes()
Path within the volume from which the container's volume should be mounted.
|
boolean |
hasMountPath()
Path within the container at which the volume should be mounted.
|
boolean |
hasName()
This must match the Name of a Volume.
|
boolean |
hasReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).
|
boolean |
hasSubPath()
Path within the volume from which the container's volume should be mounted.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.VolumeMount.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.VolumeMount.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.VolumeMount.Builder |
mergeFrom(V1.VolumeMount other) |
V1.VolumeMount.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.VolumeMount.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.VolumeMount.Builder |
setMountPath(String value)
Path within the container at which the volume should be mounted.
|
V1.VolumeMount.Builder |
setMountPathBytes(com.google.protobuf.ByteString value)
Path within the container at which the volume should be mounted.
|
V1.VolumeMount.Builder |
setName(String value)
This must match the Name of a Volume.
|
V1.VolumeMount.Builder |
setNameBytes(com.google.protobuf.ByteString value)
This must match the Name of a Volume.
|
V1.VolumeMount.Builder |
setReadOnly(boolean value)
Mounted read-only if true, read-write otherwise (false or unspecified).
|
V1.VolumeMount.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.VolumeMount.Builder |
setSubPath(String value)
Path within the volume from which the container's volume should be mounted.
|
V1.VolumeMount.Builder |
setSubPathBytes(com.google.protobuf.ByteString value)
Path within the volume from which the container's volume should be mounted.
|
V1.VolumeMount.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<V1.VolumeMount.Builder>public V1.VolumeMount.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.VolumeMount.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.VolumeMount.Builder>public V1.VolumeMount getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.VolumeMount build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.VolumeMount buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.VolumeMount.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.VolumeMount.Builder>public V1.VolumeMount.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.VolumeMount.Builder>public V1.VolumeMount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeMount.Builder>public V1.VolumeMount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeMount.Builder>public V1.VolumeMount.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.VolumeMount.Builder>public V1.VolumeMount.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.VolumeMount.Builder>public V1.VolumeMount.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.VolumeMount.Builder>public V1.VolumeMount.Builder mergeFrom(V1.VolumeMount other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeMount.Builder>public V1.VolumeMount.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.VolumeMount.Builder>IOExceptionpublic boolean hasName()
This must match the Name of a Volume.
optional string name = 1;hasName in interface V1.VolumeMountOrBuilderpublic String getName()
This must match the Name of a Volume.
optional string name = 1;getName in interface V1.VolumeMountOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
This must match the Name of a Volume.
optional string name = 1;getNameBytes in interface V1.VolumeMountOrBuilderpublic V1.VolumeMount.Builder setName(String value)
This must match the Name of a Volume.
optional string name = 1;public V1.VolumeMount.Builder clearName()
This must match the Name of a Volume.
optional string name = 1;public V1.VolumeMount.Builder setNameBytes(com.google.protobuf.ByteString value)
This must match the Name of a Volume.
optional string name = 1;public boolean hasReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;hasReadOnly in interface V1.VolumeMountOrBuilderpublic boolean getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;getReadOnly in interface V1.VolumeMountOrBuilderpublic V1.VolumeMount.Builder setReadOnly(boolean value)
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;public V1.VolumeMount.Builder clearReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;public boolean hasMountPath()
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;hasMountPath in interface V1.VolumeMountOrBuilderpublic String getMountPath()
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;getMountPath in interface V1.VolumeMountOrBuilderpublic com.google.protobuf.ByteString getMountPathBytes()
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;getMountPathBytes in interface V1.VolumeMountOrBuilderpublic V1.VolumeMount.Builder setMountPath(String value)
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;public V1.VolumeMount.Builder clearMountPath()
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;public V1.VolumeMount.Builder setMountPathBytes(com.google.protobuf.ByteString value)
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;public boolean hasSubPath()
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;hasSubPath in interface V1.VolumeMountOrBuilderpublic String getSubPath()
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;getSubPath in interface V1.VolumeMountOrBuilderpublic com.google.protobuf.ByteString getSubPathBytes()
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;getSubPathBytes in interface V1.VolumeMountOrBuilderpublic V1.VolumeMount.Builder setSubPath(String value)
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;public V1.VolumeMount.Builder clearSubPath()
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;public V1.VolumeMount.Builder setSubPathBytes(com.google.protobuf.ByteString value)
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;public final V1.VolumeMount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeMount.Builder>public final V1.VolumeMount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeMount.Builder>Copyright © 2018. All rights reserved.