Interface UsageResourceAllowanceStatusOrBuilder (0.44.0)

public interface UsageResourceAllowanceStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLimitStatus()

public abstract UsageResourceAllowanceStatus.LimitStatus getLimitStatus()

Output only. ResourceAllowance consumption status for usage resources.

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

Returns
Type Description
UsageResourceAllowanceStatus.LimitStatus

The limitStatus.

getLimitStatusOrBuilder()

public abstract UsageResourceAllowanceStatus.LimitStatusOrBuilder getLimitStatusOrBuilder()

Output only. ResourceAllowance consumption status for usage resources.

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

Returns
Type Description
UsageResourceAllowanceStatus.LimitStatusOrBuilder

getReport()

public abstract UsageResourceAllowanceStatus.ConsumptionReport getReport()

Output only. The report of ResourceAllowance consumptions in a time period.

.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UsageResourceAllowanceStatus.ConsumptionReport

The report.

getReportOrBuilder()

public abstract UsageResourceAllowanceStatus.ConsumptionReportOrBuilder getReportOrBuilder()

Output only. The report of ResourceAllowance consumptions in a time period.

.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UsageResourceAllowanceStatus.ConsumptionReportOrBuilder

getState()

public abstract ResourceAllowanceState getState()

Output only. ResourceAllowance state.

.google.cloud.batch.v1alpha.ResourceAllowanceState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceAllowanceState

The state.

getStateValue()

public abstract int getStateValue()

Output only. ResourceAllowance state.

.google.cloud.batch.v1alpha.ResourceAllowanceState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasLimitStatus()

public abstract boolean hasLimitStatus()

Output only. ResourceAllowance consumption status for usage resources.

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

Returns
Type Description
boolean

Whether the limitStatus field is set.

hasReport()

public abstract boolean hasReport()

Output only. The report of ResourceAllowance consumptions in a time period.

.google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.ConsumptionReport report = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the report field is set.