public static final class V1.LimitRangeItem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder> implements V1.LimitRangeItemOrBuilder
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.Protobuf type
k8s.io.api.core.v1.LimitRangeItem| Modifier and Type | Method and Description |
|---|---|
V1.LimitRangeItem.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.LimitRangeItem |
build() |
V1.LimitRangeItem |
buildPartial() |
V1.LimitRangeItem.Builder |
clear() |
V1.LimitRangeItem.Builder |
clearDefault() |
V1.LimitRangeItem.Builder |
clearDefaultRequest() |
V1.LimitRangeItem.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.LimitRangeItem.Builder |
clearMax() |
V1.LimitRangeItem.Builder |
clearMaxLimitRequestRatio() |
V1.LimitRangeItem.Builder |
clearMin() |
V1.LimitRangeItem.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.LimitRangeItem.Builder |
clearType()
Type of resource that this limit applies to.
|
V1.LimitRangeItem.Builder |
clone() |
boolean |
containsDefault(String key)
Default resource requirement limit value by resource name if resource limit is omitted.
|
boolean |
containsDefaultRequest(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
boolean |
containsMax(String key)
Max usage constraints on this kind by resource name.
|
boolean |
containsMaxLimitRequestRatio(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
boolean |
containsMin(String key)
Min usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getDefault()
Deprecated.
|
int |
getDefaultCount()
Default resource requirement limit value by resource name if resource limit is omitted.
|
V1.LimitRangeItem |
getDefaultInstanceForType() |
Map<String,Resource.Quantity> |
getDefaultMap()
Default resource requirement limit value by resource name if resource limit is omitted.
|
Resource.Quantity |
getDefaultOrDefault(String key,
Resource.Quantity defaultValue)
Default resource requirement limit value by resource name if resource limit is omitted.
|
Resource.Quantity |
getDefaultOrThrow(String key)
Default resource requirement limit value by resource name if resource limit is omitted.
|
Map<String,Resource.Quantity> |
getDefaultRequest()
Deprecated.
|
int |
getDefaultRequestCount()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
Map<String,Resource.Quantity> |
getDefaultRequestMap()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
Resource.Quantity |
getDefaultRequestOrDefault(String key,
Resource.Quantity defaultValue)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
Resource.Quantity |
getDefaultRequestOrThrow(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,Resource.Quantity> |
getMax()
Deprecated.
|
int |
getMaxCount()
Max usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getMaxLimitRequestRatio()
Deprecated.
|
int |
getMaxLimitRequestRatioCount()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Map<String,Resource.Quantity> |
getMaxLimitRequestRatioMap()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Resource.Quantity |
getMaxLimitRequestRatioOrDefault(String key,
Resource.Quantity defaultValue)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Resource.Quantity |
getMaxLimitRequestRatioOrThrow(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
Map<String,Resource.Quantity> |
getMaxMap()
Max usage constraints on this kind by resource name.
|
Resource.Quantity |
getMaxOrDefault(String key,
Resource.Quantity defaultValue)
Max usage constraints on this kind by resource name.
|
Resource.Quantity |
getMaxOrThrow(String key)
Max usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getMin()
Deprecated.
|
int |
getMinCount()
Min usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getMinMap()
Min usage constraints on this kind by resource name.
|
Resource.Quantity |
getMinOrDefault(String key,
Resource.Quantity defaultValue)
Min usage constraints on this kind by resource name.
|
Resource.Quantity |
getMinOrThrow(String key)
Min usage constraints on this kind by resource name.
|
Map<String,Resource.Quantity> |
getMutableDefault()
Deprecated.
|
Map<String,Resource.Quantity> |
getMutableDefaultRequest()
Deprecated.
|
Map<String,Resource.Quantity> |
getMutableMax()
Deprecated.
|
Map<String,Resource.Quantity> |
getMutableMaxLimitRequestRatio()
Deprecated.
|
Map<String,Resource.Quantity> |
getMutableMin()
Deprecated.
|
String |
getType()
Type of resource that this limit applies to.
|
com.google.protobuf.ByteString |
getTypeBytes()
Type of resource that this limit applies to.
|
boolean |
hasType()
Type of resource that this limit applies to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1.LimitRangeItem.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.LimitRangeItem.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.LimitRangeItem.Builder |
mergeFrom(V1.LimitRangeItem other) |
V1.LimitRangeItem.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.LimitRangeItem.Builder |
putAllDefault(Map<String,Resource.Quantity> values)
Default resource requirement limit value by resource name if resource limit is omitted.
|
V1.LimitRangeItem.Builder |
putAllDefaultRequest(Map<String,Resource.Quantity> values)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
V1.LimitRangeItem.Builder |
putAllMax(Map<String,Resource.Quantity> values)
Max usage constraints on this kind by resource name.
|
V1.LimitRangeItem.Builder |
putAllMaxLimitRequestRatio(Map<String,Resource.Quantity> values)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
V1.LimitRangeItem.Builder |
putAllMin(Map<String,Resource.Quantity> values)
Min usage constraints on this kind by resource name.
|
V1.LimitRangeItem.Builder |
putDefault(String key,
Resource.Quantity value)
Default resource requirement limit value by resource name if resource limit is omitted.
|
V1.LimitRangeItem.Builder |
putDefaultRequest(String key,
Resource.Quantity value)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
V1.LimitRangeItem.Builder |
putMax(String key,
Resource.Quantity value)
Max usage constraints on this kind by resource name.
|
V1.LimitRangeItem.Builder |
putMaxLimitRequestRatio(String key,
Resource.Quantity value)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
V1.LimitRangeItem.Builder |
putMin(String key,
Resource.Quantity value)
Min usage constraints on this kind by resource name.
|
V1.LimitRangeItem.Builder |
removeDefault(String key)
Default resource requirement limit value by resource name if resource limit is omitted.
|
V1.LimitRangeItem.Builder |
removeDefaultRequest(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
|
V1.LimitRangeItem.Builder |
removeMax(String key)
Max usage constraints on this kind by resource name.
|
V1.LimitRangeItem.Builder |
removeMaxLimitRequestRatio(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
|
V1.LimitRangeItem.Builder |
removeMin(String key)
Min usage constraints on this kind by resource name.
|
V1.LimitRangeItem.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.LimitRangeItem.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.LimitRangeItem.Builder |
setType(String value)
Type of resource that this limit applies to.
|
V1.LimitRangeItem.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Type of resource that this limit applies to.
|
V1.LimitRangeItem.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>public V1.LimitRangeItem.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.LimitRangeItem.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.LimitRangeItem.Builder>public V1.LimitRangeItem getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.LimitRangeItem build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.LimitRangeItem buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.LimitRangeItem.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.LimitRangeItem.Builder>public V1.LimitRangeItem.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.LimitRangeItem.Builder>public V1.LimitRangeItem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>public V1.LimitRangeItem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>public V1.LimitRangeItem.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.LimitRangeItem.Builder>public V1.LimitRangeItem.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.LimitRangeItem.Builder>public V1.LimitRangeItem.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.LimitRangeItem.Builder>public V1.LimitRangeItem.Builder mergeFrom(V1.LimitRangeItem other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>public V1.LimitRangeItem.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.LimitRangeItem.Builder>IOExceptionpublic boolean hasType()
Type of resource that this limit applies to.
optional string type = 1;hasType in interface V1.LimitRangeItemOrBuilderpublic String getType()
Type of resource that this limit applies to.
optional string type = 1;getType in interface V1.LimitRangeItemOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Type of resource that this limit applies to.
optional string type = 1;getTypeBytes in interface V1.LimitRangeItemOrBuilderpublic V1.LimitRangeItem.Builder setType(String value)
Type of resource that this limit applies to.
optional string type = 1;public V1.LimitRangeItem.Builder clearType()
Type of resource that this limit applies to.
optional string type = 1;public V1.LimitRangeItem.Builder setTypeBytes(com.google.protobuf.ByteString value)
Type of resource that this limit applies to.
optional string type = 1;public int getMaxCount()
V1.LimitRangeItemOrBuilderMax usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsMax(String key)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;containsMax in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getMax()
getMaxMap() instead.getMax in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getMaxMap()
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxOrDefault(String key, Resource.Quantity defaultValue)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxOrThrow(String key)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;getMaxOrThrow in interface V1.LimitRangeItemOrBuilderpublic V1.LimitRangeItem.Builder clearMax()
public V1.LimitRangeItem.Builder removeMax(String key)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;@Deprecated public Map<String,Resource.Quantity> getMutableMax()
public V1.LimitRangeItem.Builder putMax(String key, Resource.Quantity value)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;public V1.LimitRangeItem.Builder putAllMax(Map<String,Resource.Quantity> values)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;public int getMinCount()
V1.LimitRangeItemOrBuilderMin usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsMin(String key)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;containsMin in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getMin()
getMinMap() instead.getMin in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getMinMap()
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMinOrDefault(String key, Resource.Quantity defaultValue)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMinOrThrow(String key)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;getMinOrThrow in interface V1.LimitRangeItemOrBuilderpublic V1.LimitRangeItem.Builder clearMin()
public V1.LimitRangeItem.Builder removeMin(String key)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;@Deprecated public Map<String,Resource.Quantity> getMutableMin()
public V1.LimitRangeItem.Builder putMin(String key, Resource.Quantity value)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;public V1.LimitRangeItem.Builder putAllMin(Map<String,Resource.Quantity> values)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;public int getDefaultCount()
V1.LimitRangeItemOrBuilderDefault resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsDefault(String key)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;containsDefault in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getDefault()
getDefaultMap() instead.getDefault in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getDefaultMap()
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultOrDefault(String key, Resource.Quantity defaultValue)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultOrThrow(String key)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;getDefaultOrThrow in interface V1.LimitRangeItemOrBuilderpublic V1.LimitRangeItem.Builder clearDefault()
public V1.LimitRangeItem.Builder removeDefault(String key)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;@Deprecated public Map<String,Resource.Quantity> getMutableDefault()
public V1.LimitRangeItem.Builder putDefault(String key, Resource.Quantity value)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;public V1.LimitRangeItem.Builder putAllDefault(Map<String,Resource.Quantity> values)
Default resource requirement limit value by resource name if resource limit is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> default = 4;public int getDefaultRequestCount()
V1.LimitRangeItemOrBuilderDefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
getDefaultRequestCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsDefaultRequest(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
containsDefaultRequest in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getDefaultRequest()
getDefaultRequestMap() instead.getDefaultRequest in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getDefaultRequestMap()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
getDefaultRequestMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultRequestOrDefault(String key, Resource.Quantity defaultValue)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
getDefaultRequestOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getDefaultRequestOrThrow(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
getDefaultRequestOrThrow in interface V1.LimitRangeItemOrBuilderpublic V1.LimitRangeItem.Builder clearDefaultRequest()
public V1.LimitRangeItem.Builder removeDefaultRequest(String key)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
@Deprecated public Map<String,Resource.Quantity> getMutableDefaultRequest()
public V1.LimitRangeItem.Builder putDefaultRequest(String key, Resource.Quantity value)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
public V1.LimitRangeItem.Builder putAllDefaultRequest(Map<String,Resource.Quantity> values)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> defaultRequest = 5;
public int getMaxLimitRequestRatioCount()
V1.LimitRangeItemOrBuilderMaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
getMaxLimitRequestRatioCount in interface V1.LimitRangeItemOrBuilderpublic boolean containsMaxLimitRequestRatio(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
containsMaxLimitRequestRatio in interface V1.LimitRangeItemOrBuilder@Deprecated public Map<String,Resource.Quantity> getMaxLimitRequestRatio()
getMaxLimitRequestRatioMap() instead.getMaxLimitRequestRatio in interface V1.LimitRangeItemOrBuilderpublic Map<String,Resource.Quantity> getMaxLimitRequestRatioMap()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
getMaxLimitRequestRatioMap in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxLimitRequestRatioOrDefault(String key, Resource.Quantity defaultValue)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
getMaxLimitRequestRatioOrDefault in interface V1.LimitRangeItemOrBuilderpublic Resource.Quantity getMaxLimitRequestRatioOrThrow(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
getMaxLimitRequestRatioOrThrow in interface V1.LimitRangeItemOrBuilderpublic V1.LimitRangeItem.Builder clearMaxLimitRequestRatio()
public V1.LimitRangeItem.Builder removeMaxLimitRequestRatio(String key)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
@Deprecated public Map<String,Resource.Quantity> getMutableMaxLimitRequestRatio()
public V1.LimitRangeItem.Builder putMaxLimitRequestRatio(String key, Resource.Quantity value)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
public V1.LimitRangeItem.Builder putAllMaxLimitRequestRatio(Map<String,Resource.Quantity> values)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
public final V1.LimitRangeItem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>public final V1.LimitRangeItem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.LimitRangeItem.Builder>Copyright © 2023. All rights reserved.