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 Summary
Modifier and TypeMethodDescriptionbooleancontainsLimits(String key) Limits describes the maximum amount of compute resources allowed.booleancontainsRequests(String key) Requests describes the minimum amount of compute resources required.Deprecated.intLimits describes the maximum amount of compute resources allowed.Limits describes the maximum amount of compute resources allowed.getLimitsOrDefault(String key, KubernetesPodData.Quantity defaultValue) Limits describes the maximum amount of compute resources allowed.getLimitsOrThrow(String key) Limits describes the maximum amount of compute resources allowed.Deprecated.intRequests describes the minimum amount of compute resources required.Requests describes the minimum amount of compute resources required.getRequestsOrDefault(String key, KubernetesPodData.Quantity defaultValue) Requests describes the minimum amount of compute resources required.getRequestsOrThrow(String key) Requests describes the minimum amount of compute resources required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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.UsegetLimitsMap()instead. -
getLimitsMap
Map<String,KubernetesPodData.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, .chalk.kubernetes.v1.KubernetesPodData.Quantity> limits = 1 [json_name = "limits"]; -
getLimitsOrDefault
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
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
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.UsegetRequestsMap()instead. -
getRequestsMap
Map<String,KubernetesPodData.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. 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
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"];
-