Package k8s.io.api.core.v1
Class Generated.VolumeMount
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.VolumeMount
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.VolumeMountOrBuilder
- Enclosing class:
- Generated
public static final class Generated.VolumeMount extends com.google.protobuf.GeneratedMessageV3 implements Generated.VolumeMountOrBuilder
VolumeMount describes a mounting of a Volume within a container.
Protobuf typek8s.io.api.core.v1.VolumeMount- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.VolumeMount.BuilderVolumeMount describes a mounting of a Volume within a container.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMOUNTPATH_FIELD_NUMBERstatic intMOUNTPROPAGATION_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.VolumeMount>PARSERDeprecated.static intREADONLY_FIELD_NUMBERstatic intRECURSIVEREADONLY_FIELD_NUMBERstatic intSUBPATH_FIELD_NUMBERstatic intSUBPATHEXPR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.VolumeMountgetDefaultInstance()Generated.VolumeMountgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetMountPath()Path within the container at which the volume should be mounted.com.google.protobuf.ByteStringgetMountPathBytes()Path within the container at which the volume should be mounted.StringgetMountPropagation()mountPropagation determines how mounts are propagated from the host to container and the other way around.com.google.protobuf.ByteStringgetMountPropagationBytes()mountPropagation determines how mounts are propagated from the host to container and the other way around.StringgetName()This must match the Name of a Volume.com.google.protobuf.ByteStringgetNameBytes()This must match the Name of a Volume.com.google.protobuf.Parser<Generated.VolumeMount>getParserForType()booleangetReadOnly()Mounted read-only if true, read-write otherwise (false or unspecified).StringgetRecursiveReadOnly()RecursiveReadOnly specifies whether read-only mounts should be handled recursively.com.google.protobuf.ByteStringgetRecursiveReadOnlyBytes()RecursiveReadOnly specifies whether read-only mounts should be handled recursively.intgetSerializedSize()StringgetSubPath()Path within the volume from which the container's volume should be mounted.com.google.protobuf.ByteStringgetSubPathBytes()Path within the volume from which the container's volume should be mounted.StringgetSubPathExpr()Expanded path within the volume from which the container's volume should be mounted.com.google.protobuf.ByteStringgetSubPathExprBytes()Expanded path within the volume from which the container's volume should be mounted.inthashCode()booleanhasMountPath()Path within the container at which the volume should be mounted.booleanhasMountPropagation()mountPropagation determines how mounts are propagated from the host to container and the other way around.booleanhasName()This must match the Name of a Volume.booleanhasReadOnly()Mounted read-only if true, read-write otherwise (false or unspecified).booleanhasRecursiveReadOnly()RecursiveReadOnly specifies whether read-only mounts should be handled recursively.booleanhasSubPath()Path within the volume from which the container's volume should be mounted.booleanhasSubPathExpr()Expanded path within the volume from which the container's volume should be mounted.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.VolumeMount.BuildernewBuilder()static Generated.VolumeMount.BuildernewBuilder(Generated.VolumeMount prototype)Generated.VolumeMount.BuildernewBuilderForType()protected Generated.VolumeMount.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.VolumeMountparseDelimitedFrom(InputStream input)static Generated.VolumeMountparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeMountparseFrom(byte[] data)static Generated.VolumeMountparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeMountparseFrom(com.google.protobuf.ByteString data)static Generated.VolumeMountparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeMountparseFrom(com.google.protobuf.CodedInputStream input)static Generated.VolumeMountparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeMountparseFrom(InputStream input)static Generated.VolumeMountparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.VolumeMountparseFrom(ByteBuffer data)static Generated.VolumeMountparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.VolumeMount>parser()Generated.VolumeMount.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECURSIVEREADONLY_FIELD_NUMBER
public static final int RECURSIVEREADONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOUNTPATH_FIELD_NUMBER
public static final int MOUNTPATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBPATH_FIELD_NUMBER
public static final int SUBPATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOUNTPROPAGATION_FIELD_NUMBER
public static final int MOUNTPROPAGATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBPATHEXPR_FIELD_NUMBER
public static final int SUBPATHEXPR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.VolumeMount> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()
This must match the Name of a Volume.
optional string name = 1;- Specified by:
hasNamein interfaceGenerated.VolumeMountOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
This must match the Name of a Volume.
optional string name = 1;- Specified by:
getNamein interfaceGenerated.VolumeMountOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
This must match the Name of a Volume.
optional string name = 1;- Specified by:
getNameBytesin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The bytes for name.
-
hasReadOnly
public boolean hasReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;- Specified by:
hasReadOnlyin interfaceGenerated.VolumeMountOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;- Specified by:
getReadOnlyin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The readOnly.
-
hasRecursiveReadOnly
public boolean hasRecursiveReadOnly()
RecursiveReadOnly specifies whether read-only mounts should be handled recursively. If ReadOnly is false, this field has no meaning and must be unspecified. If ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason. If this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None). If this field is not specified, it is treated as an equivalent of Disabled. +featureGate=RecursiveReadOnlyMounts +optional
optional string recursiveReadOnly = 7;- Specified by:
hasRecursiveReadOnlyin interfaceGenerated.VolumeMountOrBuilder- Returns:
- Whether the recursiveReadOnly field is set.
-
getRecursiveReadOnly
public String getRecursiveReadOnly()
RecursiveReadOnly specifies whether read-only mounts should be handled recursively. If ReadOnly is false, this field has no meaning and must be unspecified. If ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason. If this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None). If this field is not specified, it is treated as an equivalent of Disabled. +featureGate=RecursiveReadOnlyMounts +optional
optional string recursiveReadOnly = 7;- Specified by:
getRecursiveReadOnlyin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The recursiveReadOnly.
-
getRecursiveReadOnlyBytes
public com.google.protobuf.ByteString getRecursiveReadOnlyBytes()
RecursiveReadOnly specifies whether read-only mounts should be handled recursively. If ReadOnly is false, this field has no meaning and must be unspecified. If ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason. If this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None). If this field is not specified, it is treated as an equivalent of Disabled. +featureGate=RecursiveReadOnlyMounts +optional
optional string recursiveReadOnly = 7;- Specified by:
getRecursiveReadOnlyBytesin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The bytes for recursiveReadOnly.
-
hasMountPath
public boolean hasMountPath()
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;- Specified by:
hasMountPathin interfaceGenerated.VolumeMountOrBuilder- Returns:
- Whether the mountPath field is set.
-
getMountPath
public String getMountPath()
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;- Specified by:
getMountPathin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The mountPath.
-
getMountPathBytes
public com.google.protobuf.ByteString getMountPathBytes()
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;- Specified by:
getMountPathBytesin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The bytes for mountPath.
-
hasSubPath
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;- Specified by:
hasSubPathin interfaceGenerated.VolumeMountOrBuilder- Returns:
- Whether the subPath field is set.
-
getSubPath
public 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;- Specified by:
getSubPathin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The subPath.
-
getSubPathBytes
public 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;- Specified by:
getSubPathBytesin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The bytes for subPath.
-
hasMountPropagation
public 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. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None). +optional
optional string mountPropagation = 5;- Specified by:
hasMountPropagationin interfaceGenerated.VolumeMountOrBuilder- Returns:
- Whether the mountPropagation field is set.
-
getMountPropagation
public 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. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None). +optional
optional string mountPropagation = 5;- Specified by:
getMountPropagationin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The mountPropagation.
-
getMountPropagationBytes
public 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. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None). +optional
optional string mountPropagation = 5;- Specified by:
getMountPropagationBytesin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The bytes for mountPropagation.
-
hasSubPathExpr
public 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;- Specified by:
hasSubPathExprin interfaceGenerated.VolumeMountOrBuilder- Returns:
- Whether the subPathExpr field is set.
-
getSubPathExpr
public 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;- Specified by:
getSubPathExprin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The subPathExpr.
-
getSubPathExprBytes
public 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;- Specified by:
getSubPathExprBytesin interfaceGenerated.VolumeMountOrBuilder- Returns:
- The bytes for subPathExpr.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Generated.VolumeMount parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeMount parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeMount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeMount parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeMount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeMount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.VolumeMount parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeMount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeMount parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.VolumeMount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeMount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.VolumeMount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.VolumeMount.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.VolumeMount.Builder newBuilder()
-
newBuilder
public static Generated.VolumeMount.Builder newBuilder(Generated.VolumeMount prototype)
-
toBuilder
public Generated.VolumeMount.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.VolumeMount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.VolumeMount getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.VolumeMount> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.VolumeMount> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.VolumeMount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-