Interface Generated.LimitRangeItemOrBuilder

    • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;