Interface ResourceRequirementsOrBuilder (1.54.0)

public interface ResourceRequirementsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLimits()

public abstract 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
Type Description
ResourceList

The limits.

getLimitsOrBuilder()

public abstract 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;

Returns
Type Description
ResourceListOrBuilder

getRequests()

public abstract 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
Type Description
ResourceList

The requests.

getRequestsOrBuilder()

public abstract 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;

Returns
Type Description
ResourceListOrBuilder

hasLimits()

public abstract 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
Type Description
boolean

Whether the limits field is set.

hasRequests()

public abstract 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
Type Description
boolean

Whether the requests field is set.