Package io.kubernetes.client.proto
Interface V1.LimitRangeItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.LimitRangeItem
,V1.LimitRangeItem.Builder
- Enclosing class:
- V1
public static interface V1.LimitRangeItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsDefault
(String key) Default resource requirement limit value by resource name if resource limit is omitted.boolean
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
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.Deprecated.int
Default resource requirement limit value by resource name if resource limit is omitted.Default resource requirement limit value by resource name if resource limit is omitted.getDefaultOrDefault
(String key, Resource.Quantity defaultValue) Default resource requirement limit value by resource name if resource limit is omitted.getDefaultOrThrow
(String key) Default resource requirement limit value by resource name if resource limit is omitted.Deprecated.int
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.getDefaultRequestOrDefault
(String key, Resource.Quantity defaultValue) DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.getMax()
Deprecated.int
Max usage constraints on this kind by resource name.Deprecated.int
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.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.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.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.Max usage constraints on this kind by resource name.getMaxOrDefault
(String key, Resource.Quantity defaultValue) Max usage constraints on this kind by resource name.getMaxOrThrow
(String key) Max usage constraints on this kind by resource name.getMin()
Deprecated.int
Min usage constraints on this kind by resource name.Min usage constraints on this kind by resource name.getMinOrDefault
(String key, Resource.Quantity defaultValue) Min usage constraints on this kind by resource name.getMinOrThrow
(String key) Min usage constraints on this kind by resource name.getType()
Type of resource that this limit applies to.com.google.protobuf.ByteString
Type of resource that this limit applies to.boolean
hasType()
Type of resource that this limit applies to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasType
boolean hasType()Type of resource that this limit applies to.
optional string type = 1;
-
getType
String getType()Type of resource that this limit applies to.
optional string type = 1;
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Type of resource that this limit applies to.
optional string type = 1;
-
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
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;
-
getMax
Deprecated.UsegetMaxMap()
instead. -
getMaxMap
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;
-
getMaxOrDefault
Max usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> max = 2;
-
getMaxOrThrow
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
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;
-
getMin
Deprecated.UsegetMinMap()
instead. -
getMinMap
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;
-
getMinOrDefault
Min usage constraints on this kind by resource name. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> min = 3;
-
getMinOrThrow
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
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.UsegetDefaultMap()
instead. -
getDefaultMap
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;
-
getDefaultOrDefault
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
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
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.UsegetDefaultRequestMap()
instead. -
getDefaultRequestMap
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;
-
getDefaultRequestOrDefault
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
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
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.UsegetMaxLimitRequestRatioMap()
instead. -
getMaxLimitRequestRatioMap
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;
-
getMaxLimitRequestRatioOrDefault
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
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;
-