Interface V1.ResourceQuotaSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.ResourceQuotaSpec, V1.ResourceQuotaSpec.Builder
Enclosing class:
V1

public static interface V1.ResourceQuotaSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hard is the set of desired hard limits for each named resource.
    Deprecated.
    int
    hard is the set of desired hard limits for each named resource.
    hard is the set of desired hard limits for each named resource.
    hard is the set of desired hard limits for each named resource.
    hard is the set of desired hard limits for each named resource.
    getScopes(int index)
    A collection of filters that must match each object tracked by a quota.
    com.google.protobuf.ByteString
    getScopesBytes(int index)
    A collection of filters that must match each object tracked by a quota.
    int
    A collection of filters that must match each object tracked by a quota.
    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.
    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.
    A collection of filters that must match each object tracked by a quota.
    boolean
    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.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
      Use getHardMap() instead.
    • 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

      Resource.Quantity getHardOrDefault(String key, Resource.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

      Resource.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
       
      repeated string scopes = 2;
    • 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
       
      repeated string scopes = 2;
    • 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
       
      repeated string scopes = 2;
    • 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
       
      repeated string scopes = 2;
    • 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;
    • getScopeSelector

      V1.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;
    • getScopeSelectorOrBuilder

      V1.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;