Interface UsageResourceAllowanceOrBuilder (0.48.0)

public interface UsageResourceAllowanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSpec()

public abstract UsageResourceAllowanceSpec getSpec()

Required. Spec of a usage ResourceAllowance.

.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UsageResourceAllowanceSpec

The spec.

getSpecOrBuilder()

public abstract UsageResourceAllowanceSpecOrBuilder getSpecOrBuilder()

Required. Spec of a usage ResourceAllowance.

.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UsageResourceAllowanceSpecOrBuilder

getStatus()

public abstract UsageResourceAllowanceStatus getStatus()

Output only. Status of a usage ResourceAllowance.

.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UsageResourceAllowanceStatus

The status.

getStatusOrBuilder()

public abstract UsageResourceAllowanceStatusOrBuilder getStatusOrBuilder()

Output only. Status of a usage ResourceAllowance.

.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UsageResourceAllowanceStatusOrBuilder

hasSpec()

public abstract boolean hasSpec()

Required. Spec of a usage ResourceAllowance.

.google.cloud.batch.v1alpha.UsageResourceAllowanceSpec spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the spec field is set.

hasStatus()

public abstract boolean hasStatus()

Output only. Status of a usage ResourceAllowance.

.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.