public static final class V1.EmptyDirVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements V1.EmptyDirVolumeSourceOrBuilder
Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.Protobuf type
k8s.io.api.core.v1.EmptyDirVolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
V1.EmptyDirVolumeSource.Builder
Represents an empty directory for a pod.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
MEDIUM_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.EmptyDirVolumeSource> |
PARSER
Deprecated.
|
static int |
SIZELIMIT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.EmptyDirVolumeSource |
getDefaultInstance() |
V1.EmptyDirVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMedium()
What type of storage medium should back this directory.
|
com.google.protobuf.ByteString |
getMediumBytes()
What type of storage medium should back this directory.
|
com.google.protobuf.Parser<V1.EmptyDirVolumeSource> |
getParserForType() |
int |
getSerializedSize() |
Resource.Quantity |
getSizeLimit()
Total amount of local storage required for this EmptyDir volume.
|
Resource.QuantityOrBuilder |
getSizeLimitOrBuilder()
Total amount of local storage required for this EmptyDir volume.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMedium()
What type of storage medium should back this directory.
|
boolean |
hasSizeLimit()
Total amount of local storage required for this EmptyDir volume.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.EmptyDirVolumeSource.Builder |
newBuilder() |
static V1.EmptyDirVolumeSource.Builder |
newBuilder(V1.EmptyDirVolumeSource prototype) |
V1.EmptyDirVolumeSource.Builder |
newBuilderForType() |
protected V1.EmptyDirVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.EmptyDirVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.EmptyDirVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EmptyDirVolumeSource |
parseFrom(byte[] data) |
static V1.EmptyDirVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EmptyDirVolumeSource |
parseFrom(ByteBuffer data) |
static V1.EmptyDirVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EmptyDirVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.EmptyDirVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EmptyDirVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.EmptyDirVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EmptyDirVolumeSource |
parseFrom(InputStream input) |
static V1.EmptyDirVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.EmptyDirVolumeSource> |
parser() |
V1.EmptyDirVolumeSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 MEDIUM_FIELD_NUMBER
public static final int SIZELIMIT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.EmptyDirVolumeSource> 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 hasMedium()
What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional string medium = 1;hasMedium in interface V1.EmptyDirVolumeSourceOrBuilderpublic String getMedium()
What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional string medium = 1;getMedium in interface V1.EmptyDirVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getMediumBytes()
What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional string medium = 1;getMediumBytes in interface V1.EmptyDirVolumeSourceOrBuilderpublic boolean hasSizeLimit()
Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;hasSizeLimit in interface V1.EmptyDirVolumeSourceOrBuilderpublic Resource.Quantity getSizeLimit()
Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;getSizeLimit in interface V1.EmptyDirVolumeSourceOrBuilderpublic Resource.QuantityOrBuilder getSizeLimitOrBuilder()
Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;getSizeLimitOrBuilder in interface V1.EmptyDirVolumeSourceOrBuilderpublic 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.EmptyDirVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EmptyDirVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EmptyDirVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EmptyDirVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EmptyDirVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EmptyDirVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EmptyDirVolumeSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.EmptyDirVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.EmptyDirVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.EmptyDirVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.EmptyDirVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.EmptyDirVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.EmptyDirVolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.EmptyDirVolumeSource.Builder newBuilder()
public static V1.EmptyDirVolumeSource.Builder newBuilder(V1.EmptyDirVolumeSource prototype)
public V1.EmptyDirVolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.EmptyDirVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.EmptyDirVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.EmptyDirVolumeSource> parser()
public com.google.protobuf.Parser<V1.EmptyDirVolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.EmptyDirVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.