Interface V1.ResourceRequirementsOrBuilder

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

public static interface V1.ResourceRequirementsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLimitsCount

      int getLimitsCount()
       Limits describes the maximum amount of compute resources allowed.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
    • containsLimits

      boolean containsLimits(String key)
       Limits describes the maximum amount of compute resources allowed.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
    • getLimits

      Deprecated.
      Use getLimitsMap() instead.
    • getLimitsMap

      Map<String,Resource.Quantity> getLimitsMap()
       Limits describes the maximum amount of compute resources allowed.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
    • getLimitsOrDefault

      Resource.Quantity getLimitsOrDefault(String key, Resource.Quantity defaultValue)
       Limits describes the maximum amount of compute resources allowed.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
    • getLimitsOrThrow

      Resource.Quantity getLimitsOrThrow(String key)
       Limits describes the maximum amount of compute resources allowed.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> limits = 1;
    • getRequestsCount

      int getRequestsCount()
       Requests describes the minimum amount of compute resources required.
       If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
       otherwise to an implementation-defined value.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
    • containsRequests

      boolean containsRequests(String key)
       Requests describes the minimum amount of compute resources required.
       If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
       otherwise to an implementation-defined value.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
    • getRequests

      Deprecated.
      Use getRequestsMap() instead.
    • getRequestsMap

      Map<String,Resource.Quantity> getRequestsMap()
       Requests describes the minimum amount of compute resources required.
       If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
       otherwise to an implementation-defined value.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
    • getRequestsOrDefault

      Resource.Quantity getRequestsOrDefault(String key, Resource.Quantity defaultValue)
       Requests describes the minimum amount of compute resources required.
       If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
       otherwise to an implementation-defined value.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
    • getRequestsOrThrow

      Resource.Quantity getRequestsOrThrow(String key)
       Requests describes the minimum amount of compute resources required.
       If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
       otherwise to an implementation-defined value.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;