public static final class V1.EmptyDirVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.EmptyDirVolumeSource.Builder> 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 | Method and Description |
|---|---|
V1.EmptyDirVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.EmptyDirVolumeSource |
build() |
V1.EmptyDirVolumeSource |
buildPartial() |
V1.EmptyDirVolumeSource.Builder |
clear() |
V1.EmptyDirVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.EmptyDirVolumeSource.Builder |
clearMedium()
What type of storage medium should back this directory.
|
V1.EmptyDirVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.EmptyDirVolumeSource.Builder |
clearSizeLimit()
Total amount of local storage required for this EmptyDir volume.
|
V1.EmptyDirVolumeSource.Builder |
clone() |
V1.EmptyDirVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Resource.Quantity |
getSizeLimit()
Total amount of local storage required for this EmptyDir volume.
|
Resource.Quantity.Builder |
getSizeLimitBuilder()
Total amount of local storage required for this EmptyDir volume.
|
Resource.QuantityOrBuilder |
getSizeLimitOrBuilder()
Total amount of local storage required for this EmptyDir volume.
|
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() |
V1.EmptyDirVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.EmptyDirVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.EmptyDirVolumeSource.Builder |
mergeFrom(V1.EmptyDirVolumeSource other) |
V1.EmptyDirVolumeSource.Builder |
mergeSizeLimit(Resource.Quantity value)
Total amount of local storage required for this EmptyDir volume.
|
V1.EmptyDirVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.EmptyDirVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.EmptyDirVolumeSource.Builder |
setMedium(String value)
What type of storage medium should back this directory.
|
V1.EmptyDirVolumeSource.Builder |
setMediumBytes(com.google.protobuf.ByteString value)
What type of storage medium should back this directory.
|
V1.EmptyDirVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.EmptyDirVolumeSource.Builder |
setSizeLimit(Resource.Quantity.Builder builderForValue)
Total amount of local storage required for this EmptyDir volume.
|
V1.EmptyDirVolumeSource.Builder |
setSizeLimit(Resource.Quantity value)
Total amount of local storage required for this EmptyDir volume.
|
V1.EmptyDirVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.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.EmptyDirVolumeSource.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.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.EmptyDirVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.EmptyDirVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.EmptyDirVolumeSource.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.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.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.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.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.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.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.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.Builder mergeFrom(V1.EmptyDirVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EmptyDirVolumeSource.Builder>public V1.EmptyDirVolumeSource.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.EmptyDirVolumeSource.Builder>IOExceptionpublic 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 V1.EmptyDirVolumeSource.Builder setMedium(String value)
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;public V1.EmptyDirVolumeSource.Builder clearMedium()
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;public V1.EmptyDirVolumeSource.Builder setMediumBytes(com.google.protobuf.ByteString value)
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;public 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 V1.EmptyDirVolumeSource.Builder setSizeLimit(Resource.Quantity value)
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;public V1.EmptyDirVolumeSource.Builder setSizeLimit(Resource.Quantity.Builder builderForValue)
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;public V1.EmptyDirVolumeSource.Builder mergeSizeLimit(Resource.Quantity value)
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;public V1.EmptyDirVolumeSource.Builder clearSizeLimit()
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;public Resource.Quantity.Builder getSizeLimitBuilder()
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;public 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 V1.EmptyDirVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EmptyDirVolumeSource.Builder>public final V1.EmptyDirVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.EmptyDirVolumeSource.Builder>Copyright © 2023. All rights reserved.