Package io.kubernetes.client.proto
Class V1.VolumeMount
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.VolumeMount
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.VolumeMountOrBuilder,Serializable
- Enclosing class:
- V1
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classVolumeMount 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<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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1.VolumeMount>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1.VolumeMountstatic final com.google.protobuf.Descriptors.DescriptorPath within the container at which the volume should be mounted.com.google.protobuf.ByteStringPath within the container at which the volume should be mounted.mountPropagation determines how mounts are propagated from the host to container and the other way around.com.google.protobuf.ByteStringmountPropagation determines how mounts are propagated from the host to container and the other way around.getName()This must match the Name of a Volume.com.google.protobuf.ByteStringThis must match the Name of a Volume.com.google.protobuf.Parser<V1.VolumeMount>booleanMounted read-only if true, read-write otherwise (false or unspecified).intPath within the volume from which the container's volume should be mounted.com.google.protobuf.ByteStringPath within the volume from which the container's volume should be mounted.Expanded path within the volume from which the container's volume should be mounted.com.google.protobuf.ByteStringExpanded path within the volume from which the container's volume should be mounted.final com.google.protobuf.UnknownFieldSetinthashCode()booleanPath within the container at which the volume should be mounted.booleanmountPropagation determines how mounts are propagated from the host to container and the other way around.booleanhasName()This must match the Name of a Volume.booleanMounted read-only if true, read-write otherwise (false or unspecified).booleanPath within the volume from which the container's volume should be mounted.booleanExpanded path within the volume from which the container's volume should be mounted.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic V1.VolumeMount.Builderstatic V1.VolumeMount.BuildernewBuilder(V1.VolumeMount prototype) protected V1.VolumeMount.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.VolumeMountparseDelimitedFrom(InputStream input) static V1.VolumeMountparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeMountparseFrom(byte[] data) static V1.VolumeMountparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeMountparseFrom(com.google.protobuf.ByteString data) static V1.VolumeMountparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeMountparseFrom(com.google.protobuf.CodedInputStream input) static V1.VolumeMountparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeMountparseFrom(InputStream input) static V1.VolumeMountparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.VolumeMountparseFrom(ByteBuffer data) static V1.VolumeMountparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.VolumeMount>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER- See Also:
-
MOUNTPATH_FIELD_NUMBER
public static final int MOUNTPATH_FIELD_NUMBER- See Also:
-
SUBPATH_FIELD_NUMBER
public static final int SUBPATH_FIELD_NUMBER- See Also:
-
MOUNTPROPAGATION_FIELD_NUMBER
public static final int MOUNTPROPAGATION_FIELD_NUMBER- See Also:
-
SUBPATHEXPR_FIELD_NUMBER
public static final int SUBPATHEXPR_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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 interfaceV1.VolumeMountOrBuilder
-
getName
This must match the Name of a Volume.
optional string name = 1;- Specified by:
getNamein interfaceV1.VolumeMountOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()This must match the Name of a Volume.
optional string name = 1;- Specified by:
getNameBytesin interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
getMountPath
Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;- Specified by:
getMountPathin interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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. +optional
optional string mountPropagation = 5;- Specified by:
hasMountPropagationin interfaceV1.VolumeMountOrBuilder
-
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;- Specified by:
getMountPropagationin interfaceV1.VolumeMountOrBuilder
-
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. +optional
optional string mountPropagation = 5;- Specified by:
getMountPropagationBytesin interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
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 interfaceV1.VolumeMountOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 V1.VolumeMount parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeMount parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeMount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.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 V1.VolumeMount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.VolumeMount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.VolumeMount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.VolumeMount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.VolumeMount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.VolumeMount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.VolumeMount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-