Interface ResourceRequirementsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceRequirements,ResourceRequirements.Builder
@Generated
public interface ResourceRequirementsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionLimits describes the maximum amount of compute resources allowed for use by the running container.Limits describes the maximum amount of compute resources allowed for use by the running container.Requests describes the amount of compute resources reserved for the container by the kube-scheduler.Requests describes the amount of compute resources reserved for the container by the kube-scheduler.booleanLimits describes the maximum amount of compute resources allowed for use by the running container.booleanRequests describes the amount of compute resources reserved for the container by the kube-scheduler.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
-
hasLimits
boolean hasLimits()Limits describes the maximum amount of compute resources allowed for use by the running container.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceList limits = 1;- Returns:
- Whether the limits field is set.
-
getLimits
ResourceList getLimits()Limits describes the maximum amount of compute resources allowed for use by the running container.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceList limits = 1;- Returns:
- The limits.
-
getLimitsOrBuilder
ResourceListOrBuilder getLimitsOrBuilder()Limits describes the maximum amount of compute resources allowed for use by the running container.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceList limits = 1; -
hasRequests
boolean hasRequests()Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceList requests = 2;- Returns:
- Whether the requests field is set.
-
getRequests
ResourceList getRequests()Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceList requests = 2;- Returns:
- The requests.
-
getRequestsOrBuilder
ResourceListOrBuilder getRequestsOrBuilder()Requests describes the amount of compute resources reserved for the container by the kube-scheduler.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceList requests = 2;
-