Interface ResourceLimitOrBuilder (2.26.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
TypeDescription
long

The maximum.

getMinimum()

public abstract long getMinimum()

Minimum amount of the resource in the cluster.

int64 minimum = 2;

Returns
TypeDescription
long

The minimum.

getResourceType()

public abstract String getResourceType()

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

string resource_type = 1;

Returns
TypeDescription
String

The resourceType.

getResourceTypeBytes()

public abstract ByteString getResourceTypeBytes()

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

string resource_type = 1;

Returns
TypeDescription
ByteString

The bytes for resourceType.