public static final class V1.VolumeMount extends com.google.protobuf.GeneratedMessageV3 implements V1.VolumeMountOrBuilder
VolumeMount describes a mounting of a Volume within a container.Protobuf type
k8s.io.api.core.v1.VolumeMount| Modifier and Type | Class and Description |
|---|---|
static class |
V1.VolumeMount.Builder
VolumeMount describes a mounting of a Volume within a container.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
MOUNTPATH_FIELD_NUMBER |
static int |
MOUNTPROPAGATION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.VolumeMount> |
PARSER
Deprecated.
|
static int |
READONLY_FIELD_NUMBER |
static int |
SUBPATH_FIELD_NUMBER |
static int |
SUBPATHEXPR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.VolumeMount |
getDefaultInstance() |
V1.VolumeMount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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 |
getMountPropagation()
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
|
com.google.protobuf.ByteString |
getMountPropagationBytes()
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
|
String |
getName()
This must match the Name of a Volume.
|
com.google.protobuf.ByteString |
getNameBytes()
This must match the Name of a Volume.
|
com.google.protobuf.Parser<V1.VolumeMount> |
getParserForType() |
boolean |
getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).
|
int |
getSerializedSize() |
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.
|
String |
getSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted.
|
com.google.protobuf.ByteString |
getSubPathExprBytes()
Expanded path within the volume from which the container's volume should be mounted.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMountPath()
Path within the container at which the volume should be mounted.
|
boolean |
hasMountPropagation()
mountPropagation determines how mounts are propagated from the host
to container and the other way around.
|
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.
|
boolean |
hasSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.VolumeMount.Builder |
newBuilder() |
static V1.VolumeMount.Builder |
newBuilder(V1.VolumeMount prototype) |
V1.VolumeMount.Builder |
newBuilderForType() |
protected V1.VolumeMount.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.VolumeMount |
parseDelimitedFrom(InputStream input) |
static V1.VolumeMount |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.VolumeMount |
parseFrom(byte[] data) |
static V1.VolumeMount |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.VolumeMount |
parseFrom(ByteBuffer data) |
static V1.VolumeMount |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.VolumeMount |
parseFrom(com.google.protobuf.ByteString data) |
static V1.VolumeMount |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.VolumeMount |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.VolumeMount |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.VolumeMount |
parseFrom(InputStream input) |
static V1.VolumeMount |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.VolumeMount> |
parser() |
V1.VolumeMount.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
public static final int MOUNTPATH_FIELD_NUMBER
public static final int SUBPATH_FIELD_NUMBER
public static final int MOUNTPROPAGATION_FIELD_NUMBER
public static final int SUBPATHEXPR_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.VolumeMount> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 boolean hasMountPropagation()
mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. +optional
optional string mountPropagation = 5;hasMountPropagation in interface V1.VolumeMountOrBuilderpublic String getMountPropagation()
mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. +optional
optional string mountPropagation = 5;getMountPropagation in interface V1.VolumeMountOrBuilderpublic com.google.protobuf.ByteString getMountPropagationBytes()
mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. +optional
optional string mountPropagation = 5;getMountPropagationBytes in interface V1.VolumeMountOrBuilderpublic boolean hasSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. +optional
optional string subPathExpr = 6;hasSubPathExpr in interface V1.VolumeMountOrBuilderpublic String getSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. +optional
optional string subPathExpr = 6;getSubPathExpr in interface V1.VolumeMountOrBuilderpublic com.google.protobuf.ByteString getSubPathExprBytes()
Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. +optional
optional string subPathExpr = 6;getSubPathExprBytes in interface V1.VolumeMountOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.VolumeMount parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.VolumeMount parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.VolumeMount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.VolumeMount parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.VolumeMount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.VolumeMount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.VolumeMount parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.VolumeMount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.VolumeMount parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.VolumeMount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.VolumeMount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.VolumeMount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.VolumeMount.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.VolumeMount.Builder newBuilder()
public static V1.VolumeMount.Builder newBuilder(V1.VolumeMount prototype)
public V1.VolumeMount.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.VolumeMount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.VolumeMount getDefaultInstance()
public static com.google.protobuf.Parser<V1.VolumeMount> parser()
public com.google.protobuf.Parser<V1.VolumeMount> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.VolumeMount getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.