Package k8s.io.api.core.v1
Interface Generated.ResourceQuotaSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ResourceQuotaSpec,Generated.ResourceQuotaSpec.Builder
- Enclosing class:
- Generated
public static interface Generated.ResourceQuotaSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsHard(String key)hard is the set of desired hard limits for each named resource.Map<String,Generated.Quantity>getHard()Deprecated.intgetHardCount()hard is the set of desired hard limits for each named resource.Map<String,Generated.Quantity>getHardMap()hard is the set of desired hard limits for each named resource.Generated.QuantitygetHardOrDefault(String key, Generated.Quantity defaultValue)hard is the set of desired hard limits for each named resource.Generated.QuantitygetHardOrThrow(String key)hard is the set of desired hard limits for each named resource.StringgetScopes(int index)A collection of filters that must match each object tracked by a quota.com.google.protobuf.ByteStringgetScopesBytes(int index)A collection of filters that must match each object tracked by a quota.intgetScopesCount()A collection of filters that must match each object tracked by a quota.Generated.ScopeSelectorgetScopeSelector()scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.Generated.ScopeSelectorOrBuildergetScopeSelectorOrBuilder()scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.List<String>getScopesList()A collection of filters that must match each object tracked by a quota.booleanhasScopeSelector()scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHardCount
int getHardCount()
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
containsHard
boolean containsHard(String key)
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getHard
@Deprecated Map<String,Generated.Quantity> getHard()
Deprecated.UsegetHardMap()instead.
-
getHardMap
Map<String,Generated.Quantity> getHardMap()
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getHardOrDefault
Generated.Quantity getHardOrDefault(String key, Generated.Quantity defaultValue)
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getHardOrThrow
Generated.Quantity getHardOrThrow(String key)
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> hard = 1;
-
getScopesList
List<String> getScopesList()
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional +listType=atomic
repeated string scopes = 2;- Returns:
- A list containing the scopes.
-
getScopesCount
int getScopesCount()
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional +listType=atomic
repeated string scopes = 2;- Returns:
- The count of scopes.
-
getScopes
String getScopes(int index)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional +listType=atomic
repeated string scopes = 2;- Parameters:
index- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
com.google.protobuf.ByteString getScopesBytes(int index)
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. +optional +listType=atomic
repeated string scopes = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
hasScopeSelector
boolean hasScopeSelector()
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. +optional
optional .k8s.io.api.core.v1.ScopeSelector scopeSelector = 3;- Returns:
- Whether the scopeSelector field is set.
-
getScopeSelector
Generated.ScopeSelector getScopeSelector()
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. +optional
optional .k8s.io.api.core.v1.ScopeSelector scopeSelector = 3;- Returns:
- The scopeSelector.
-
getScopeSelectorOrBuilder
Generated.ScopeSelectorOrBuilder getScopeSelectorOrBuilder()
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. +optional
optional .k8s.io.api.core.v1.ScopeSelector scopeSelector = 3;
-
-