Interface ResourceLimitOrBuilder (2.58.0)

public interface ResourceLimitOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaximum()

public abstract long getMaximum()

Maximum amount of the resource in the cluster.

int64 maximum = 3;

Returns
Type Description
long

The maximum.

getMinimum()

public abstract long getMinimum()

Minimum amount of the resource in the cluster.

int64 minimum = 2;

Returns
Type Description
long

The minimum.

getResourceType()

public abstract String getResourceType()

Resource name "cpu", "memory" or gpu-specific string.

string resource_type = 1;

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public abstract ByteString getResourceTypeBytes()

Resource name "cpu", "memory" or gpu-specific string.

string resource_type = 1;

Returns
Type Description
ByteString

The bytes for resourceType.