Interface KubernetesPodData.ResourceRequirementsOrBuilder

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

public static interface KubernetesPodData.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, .chalk.kubernetes.v1.KubernetesPodData.Quantity> limits = 1 [json_name = "limits"];
    • 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, .chalk.kubernetes.v1.KubernetesPodData.Quantity> limits = 1 [json_name = "limits"];
    • getLimits

      Deprecated.
      Use getLimitsMap() instead.
    • getLimitsMap

       Limits describes the maximum amount of compute resources allowed.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .chalk.kubernetes.v1.KubernetesPodData.Quantity> limits = 1 [json_name = "limits"];
    • getLimitsOrDefault

      KubernetesPodData.Quantity getLimitsOrDefault(String key, KubernetesPodData.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, .chalk.kubernetes.v1.KubernetesPodData.Quantity> limits = 1 [json_name = "limits"];
    • getLimitsOrThrow

      KubernetesPodData.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, .chalk.kubernetes.v1.KubernetesPodData.Quantity> limits = 1 [json_name = "limits"];
    • 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. Requests cannot exceed Limits.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .chalk.kubernetes.v1.KubernetesPodData.Quantity> requests = 2 [json_name = "requests"];
    • 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. Requests cannot exceed Limits.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .chalk.kubernetes.v1.KubernetesPodData.Quantity> requests = 2 [json_name = "requests"];
    • getRequests

      Deprecated.
      Use getRequestsMap() instead.
    • 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. Requests cannot exceed Limits.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .chalk.kubernetes.v1.KubernetesPodData.Quantity> requests = 2 [json_name = "requests"];
    • getRequestsOrDefault

      KubernetesPodData.Quantity getRequestsOrDefault(String key, KubernetesPodData.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. Requests cannot exceed Limits.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .chalk.kubernetes.v1.KubernetesPodData.Quantity> requests = 2 [json_name = "requests"];
    • getRequestsOrThrow

      KubernetesPodData.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. Requests cannot exceed Limits.
       More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
       +optional
       
      map<string, .chalk.kubernetes.v1.KubernetesPodData.Quantity> requests = 2 [json_name = "requests"];