Interface AllocateQuotaResponseOrBuilder (1.19.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
NameDescription
indexint
Returns
TypeDescription
QuotaError

getAllocateErrorsCount()

public abstract int getAllocateErrorsCount()

Indicates the decision of the allocate.

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

Returns
TypeDescription
int

getAllocateErrorsList()

public abstract List<QuotaError> getAllocateErrorsList()

Indicates the decision of the allocate.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QuotaErrorOrBuilder

getAllocateErrorsOrBuilderList()

public abstract List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()

Indicates the decision of the allocate.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The serviceConfigId.

getServiceConfigIdBytes()

public abstract ByteString getServiceConfigIdBytes()

ID of the actual config used to process the request.

string service_config_id = 4;

Returns
TypeDescription
ByteString

The bytes for serviceConfigId.