Interface AllocateQuotaResponseOrBuilder (1.42.0)

public interface AllocateQuotaResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocateErrors(int index)

public abstract QuotaError getAllocateErrors(int index)

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
QuotaError

getAllocateErrorsCount()

public abstract int getAllocateErrorsCount()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
Type Description
int

getAllocateErrorsList()

public abstract List<QuotaError> getAllocateErrorsList()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
Type Description
List<QuotaError>

getAllocateErrorsOrBuilder(int index)

public abstract QuotaErrorOrBuilder getAllocateErrorsOrBuilder(int index)

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
QuotaErrorOrBuilder

getAllocateErrorsOrBuilderList()

public abstract List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
Type Description
List<? extends com.google.api.servicecontrol.v1.QuotaErrorOrBuilder>

getOperationId()

public abstract String getOperationId()

The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Returns
Type Description
String

The operationId.

getOperationIdBytes()

public abstract ByteString getOperationIdBytes()

The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Returns
Type Description
ByteString

The bytes for operationId.

getQuotaMetrics(int index)

public abstract MetricValueSet getQuotaMetrics(int index)

Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:

  1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"

  2. The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"

repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;

Parameter
Name Description
index int
Returns
Type Description
MetricValueSet

getQuotaMetricsCount()

public abstract int getQuotaMetricsCount()

Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:

  1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"

  2. The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"

repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;

Returns
Type Description
int

getQuotaMetricsList()

public abstract List<MetricValueSet> getQuotaMetricsList()

Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:

  1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"

  2. The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"

repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;

Returns
Type Description
List<MetricValueSet>

getQuotaMetricsOrBuilder(int index)

public abstract MetricValueSetOrBuilder getQuotaMetricsOrBuilder(int index)

Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:

  1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"

  2. The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"

repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;

Parameter
Name Description
index int
Returns
Type Description
MetricValueSetOrBuilder

getQuotaMetricsOrBuilderList()

public abstract List<? extends MetricValueSetOrBuilder> getQuotaMetricsOrBuilderList()

Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included:

  1. Per quota group or per quota metric incremental usage will be specified using the following delta metric : "serviceruntime.googleapis.com/api/consumer/quota_used_count"

  2. The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"

repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;

Returns
Type Description
List<? extends com.google.api.servicecontrol.v1.MetricValueSetOrBuilder>

getServiceConfigId()

public abstract String getServiceConfigId()

ID of the actual config used to process the request.

string service_config_id = 4;

Returns
Type Description
String

The serviceConfigId.

getServiceConfigIdBytes()

public abstract ByteString getServiceConfigIdBytes()

ID of the actual config used to process the request.

string service_config_id = 4;

Returns
Type Description
ByteString

The bytes for serviceConfigId.