Package k8s.io.api.core.v1
Interface Generated.VolumeResourceRequirementsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.VolumeResourceRequirements,Generated.VolumeResourceRequirements.Builder
- Enclosing class:
- Generated
public static interface Generated.VolumeResourceRequirementsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLimits(String key)Limits describes the maximum amount of compute resources allowed.booleancontainsRequests(String key)Requests describes the minimum amount of compute resources required.Map<String,Generated.Quantity>getLimits()Deprecated.intgetLimitsCount()Limits describes the maximum amount of compute resources allowed.Map<String,Generated.Quantity>getLimitsMap()Limits describes the maximum amount of compute resources allowed.Generated.QuantitygetLimitsOrDefault(String key, Generated.Quantity defaultValue)Limits describes the maximum amount of compute resources allowed.Generated.QuantitygetLimitsOrThrow(String key)Limits describes the maximum amount of compute resources allowed.Map<String,Generated.Quantity>getRequests()Deprecated.intgetRequestsCount()Requests describes the minimum amount of compute resources required.Map<String,Generated.Quantity>getRequestsMap()Requests describes the minimum amount of compute resources required.Generated.QuantitygetRequestsOrDefault(String key, Generated.Quantity defaultValue)Requests describes the minimum amount of compute resources required.Generated.QuantitygetRequestsOrThrow(String key)Requests describes the minimum amount of compute resources required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 Map<String,Generated.Quantity> getLimits()
Deprecated.UsegetLimitsMap()instead.
-
getLimitsMap
Map<String,Generated.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
Generated.Quantity getLimitsOrDefault(String key, Generated.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
Generated.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. Requests cannot exceed Limits. 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. Requests cannot exceed Limits. 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 Map<String,Generated.Quantity> getRequests()
Deprecated.UsegetRequestsMap()instead.
-
getRequestsMap
Map<String,Generated.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, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
getRequestsOrDefault
Generated.Quantity getRequestsOrDefault(String key, Generated.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, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
getRequestsOrThrow
Generated.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, .k8s.io.apimachinery.pkg.api.resource.Quantity> requests = 2;
-
-