Package com.google.api.servicecontrol.v1
Interface AllocateQuotaResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllocateQuotaResponse,AllocateQuotaResponse.Builder
public interface AllocateQuotaResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaErrorgetAllocateErrors(int index)Indicates the decision of the allocate.intgetAllocateErrorsCount()Indicates the decision of the allocate.List<QuotaError>getAllocateErrorsList()Indicates the decision of the allocate.QuotaErrorOrBuildergetAllocateErrorsOrBuilder(int index)Indicates the decision of the allocate.List<? extends QuotaErrorOrBuilder>getAllocateErrorsOrBuilderList()Indicates the decision of the allocate.StringgetOperationId()The same operation_id value used in the AllocateQuotaRequest.com.google.protobuf.ByteStringgetOperationIdBytes()The same operation_id value used in the AllocateQuotaRequest.MetricValueSetgetQuotaMetrics(int index)Quota metrics to indicate the result of allocation.intgetQuotaMetricsCount()Quota metrics to indicate the result of allocation.List<MetricValueSet>getQuotaMetricsList()Quota metrics to indicate the result of allocation.MetricValueSetOrBuildergetQuotaMetricsOrBuilder(int index)Quota metrics to indicate the result of allocation.List<? extends MetricValueSetOrBuilder>getQuotaMetricsOrBuilderList()Quota metrics to indicate the result of allocation.StringgetServiceConfigId()ID of the actual config used to process the request.com.google.protobuf.ByteStringgetServiceConfigIdBytes()ID of the actual config used to process the request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getOperationId
String getOperationId()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;- Returns:
- The operationId.
-
getOperationIdBytes
com.google.protobuf.ByteString getOperationIdBytes()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;- Returns:
- The bytes for operationId.
-
getAllocateErrorsList
List<QuotaError> getAllocateErrorsList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getAllocateErrors
QuotaError getAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getAllocateErrorsCount
int getAllocateErrorsCount()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getAllocateErrorsOrBuilderList
List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getAllocateErrorsOrBuilder
QuotaErrorOrBuilder getAllocateErrorsOrBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getQuotaMetricsList
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;
-
getQuotaMetrics
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;
-
getQuotaMetricsCount
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;
-
getQuotaMetricsOrBuilderList
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;
-
getQuotaMetricsOrBuilder
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;
-
getServiceConfigId
String getServiceConfigId()
ID of the actual config used to process the request.
string service_config_id = 4;- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
com.google.protobuf.ByteString getServiceConfigIdBytes()
ID of the actual config used to process the request.
string service_config_id = 4;- Returns:
- The bytes for serviceConfigId.
-
-