Interface Generated.ResourceQuotaSpecOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsHard​(String key)
      hard is the set of desired hard limits for each named resource.
      Map<String,​Generated.Quantity> getHard()
      Deprecated.
      int getHardCount()
      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.Quantity getHardOrDefault​(String key, Generated.Quantity defaultValue)
      hard is the set of desired hard limits for each named resource.
      Generated.Quantity getHardOrThrow​(String key)
      hard is the set of desired hard limits for each named resource.
      String 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 getScopesCount()
      A collection of filters that must match each object tracked by a quota.
      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.
      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.
      List<String> getScopesList()
      A collection of filters that must match each object tracked by a quota.
      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.
      • 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 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;
      • 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;