Package k8s.io.api.core.v1
Interface Generated.LimitRangeItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.LimitRangeItem,Generated.LimitRangeItem.Builder
- Enclosing class:
- Generated
public static interface Generated.LimitRangeItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsDefault(String key)Default resource requirement limit value by resource name if resource limit is omitted.booleancontainsDefaultRequest(String key)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.booleancontainsMax(String key)Max usage constraints on this kind by resource name.booleancontainsMaxLimitRequestRatio(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.booleancontainsMin(String key)Min usage constraints on this kind by resource name.Map<String,Generated.Quantity>getDefault()Deprecated.intgetDefaultCount()Default resource requirement limit value by resource name if resource limit is omitted.Map<String,Generated.Quantity>getDefaultMap()Default resource requirement limit value by resource name if resource limit is omitted.Generated.QuantitygetDefaultOrDefault(String key, Generated.Quantity defaultValue)Default resource requirement limit value by resource name if resource limit is omitted.Generated.QuantitygetDefaultOrThrow(String key)Default resource requirement limit value by resource name if resource limit is omitted.Map<String,Generated.Quantity>getDefaultRequest()Deprecated.intgetDefaultRequestCount()DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.Map<String,Generated.Quantity>getDefaultRequestMap()DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.Generated.QuantitygetDefaultRequestOrDefault(String key, Generated.Quantity defaultValue)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.Generated.QuantitygetDefaultRequestOrThrow(String key)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.Map<String,Generated.Quantity>getMax()Deprecated.intgetMaxCount()Max usage constraints on this kind by resource name.Map<String,Generated.Quantity>getMaxLimitRequestRatio()Deprecated.intgetMaxLimitRequestRatioCount()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,Generated.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.Generated.QuantitygetMaxLimitRequestRatioOrDefault(String key, Generated.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.Generated.QuantitygetMaxLimitRequestRatioOrThrow(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,Generated.Quantity>getMaxMap()Max usage constraints on this kind by resource name.Generated.QuantitygetMaxOrDefault(String key, Generated.Quantity defaultValue)Max usage constraints on this kind by resource name.Generated.QuantitygetMaxOrThrow(String key)Max usage constraints on this kind by resource name.Map<String,Generated.Quantity>getMin()Deprecated.intgetMinCount()Min usage constraints on this kind by resource name.Map<String,Generated.Quantity>getMinMap()Min usage constraints on this kind by resource name.Generated.QuantitygetMinOrDefault(String key, Generated.Quantity defaultValue)Min usage constraints on this kind by resource name.Generated.QuantitygetMinOrThrow(String key)Min usage constraints on this kind by resource name.StringgetType()Type of resource that this limit applies to.com.google.protobuf.ByteStringgetTypeBytes()Type of resource that this limit applies to.booleanhasType()Type of resource that this limit applies to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasType
boolean hasType()
Type of resource that this limit applies to.
optional string type = 1;- Returns:
- Whether the type field is set.
-
getType
String getType()
Type of resource that this limit applies to.
optional string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Type of resource that this limit applies to.
optional string type = 1;- Returns:
- The bytes for type.
-
getMaxCount
int getMaxCount()
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;
-
containsMax
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;
-
getMax
@Deprecated Map<String,Generated.Quantity> getMax()
Deprecated.UsegetMaxMap()instead.
-
getMaxMap
Map<String,Generated.Quantity> getMaxMap()
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;
-
getMaxOrDefault
Generated.Quantity getMaxOrDefault(String key, Generated.Quantity defaultValue)
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;
-
getMaxOrThrow
Generated.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;
-
getMinCount
int getMinCount()
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;
-
containsMin
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;
-
getMin
@Deprecated Map<String,Generated.Quantity> getMin()
Deprecated.UsegetMinMap()instead.
-
getMinMap
Map<String,Generated.Quantity> getMinMap()
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;
-
getMinOrDefault
Generated.Quantity getMinOrDefault(String key, Generated.Quantity defaultValue)
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;
-
getMinOrThrow
Generated.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;
-
getDefaultCount
int getDefaultCount()
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
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;
-
getDefault
@Deprecated Map<String,Generated.Quantity> getDefault()
Deprecated.UsegetDefaultMap()instead.
-
getDefaultMap
Map<String,Generated.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;
-
getDefaultOrDefault
Generated.Quantity getDefaultOrDefault(String key, Generated.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;
-
getDefaultOrThrow
Generated.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;
-
getDefaultRequestCount
int getDefaultRequestCount()
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
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;
-
getDefaultRequest
@Deprecated Map<String,Generated.Quantity> getDefaultRequest()
Deprecated.UsegetDefaultRequestMap()instead.
-
getDefaultRequestMap
Map<String,Generated.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;
-
getDefaultRequestOrDefault
Generated.Quantity getDefaultRequestOrDefault(String key, Generated.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;
-
getDefaultRequestOrThrow
Generated.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;
-
getMaxLimitRequestRatioCount
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. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> maxLimitRequestRatio = 6;
-
containsMaxLimitRequestRatio
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;
-
getMaxLimitRequestRatio
@Deprecated Map<String,Generated.Quantity> getMaxLimitRequestRatio()
Deprecated.UsegetMaxLimitRequestRatioMap()instead.
-
getMaxLimitRequestRatioMap
Map<String,Generated.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;
-
getMaxLimitRequestRatioOrDefault
Generated.Quantity getMaxLimitRequestRatioOrDefault(String key, Generated.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;
-
getMaxLimitRequestRatioOrThrow
Generated.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;
-
-