public static final class AllocateQuotaResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder> implements AllocateQuotaResponseOrBuilder
Response message for the AllocateQuota method.Protobuf type
google.api.servicecontrol.v1.AllocateQuotaResponse| Modifier and Type | Method and Description |
|---|---|
AllocateQuotaResponse.Builder |
addAllAllocateErrors(java.lang.Iterable<? extends QuotaError> values)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
addAllocateErrors(int index,
QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
addAllocateErrors(int index,
QuotaError value)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
addAllocateErrors(QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
addAllocateErrors(QuotaError value)
Indicates the decision of the allocate.
|
QuotaError.Builder |
addAllocateErrorsBuilder()
Indicates the decision of the allocate.
|
QuotaError.Builder |
addAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
addAllQuotaMetrics(java.lang.Iterable<? extends MetricValueSet> values)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
addQuotaMetrics(int index,
MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
addQuotaMetrics(int index,
MetricValueSet value)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
addQuotaMetrics(MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
addQuotaMetrics(MetricValueSet value)
Quota metrics to indicate the result of allocation.
|
MetricValueSet.Builder |
addQuotaMetricsBuilder()
Quota metrics to indicate the result of allocation.
|
MetricValueSet.Builder |
addQuotaMetricsBuilder(int index)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateQuotaResponse |
build() |
AllocateQuotaResponse |
buildPartial() |
AllocateQuotaResponse.Builder |
clear() |
AllocateQuotaResponse.Builder |
clearAllocateErrors()
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AllocateQuotaResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AllocateQuotaResponse.Builder |
clearOperationId()
The same operation_id value used in the AllocateQuotaRequest.
|
AllocateQuotaResponse.Builder |
clearQuotaMetrics()
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
clearServiceConfigId()
ID of the actual config used to process the request.
|
AllocateQuotaResponse.Builder |
clone() |
QuotaError |
getAllocateErrors(int index)
Indicates the decision of the allocate.
|
QuotaError.Builder |
getAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
|
java.util.List<QuotaError.Builder> |
getAllocateErrorsBuilderList()
Indicates the decision of the allocate.
|
int |
getAllocateErrorsCount()
Indicates the decision of the allocate.
|
java.util.List<QuotaError> |
getAllocateErrorsList()
Indicates the decision of the allocate.
|
QuotaErrorOrBuilder |
getAllocateErrorsOrBuilder(int index)
Indicates the decision of the allocate.
|
java.util.List<? extends QuotaErrorOrBuilder> |
getAllocateErrorsOrBuilderList()
Indicates the decision of the allocate.
|
AllocateQuotaResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getOperationId()
The same operation_id value used in the AllocateQuotaRequest.
|
com.google.protobuf.ByteString |
getOperationIdBytes()
The same operation_id value used in the AllocateQuotaRequest.
|
MetricValueSet |
getQuotaMetrics(int index)
Quota metrics to indicate the result of allocation.
|
MetricValueSet.Builder |
getQuotaMetricsBuilder(int index)
Quota metrics to indicate the result of allocation.
|
java.util.List<MetricValueSet.Builder> |
getQuotaMetricsBuilderList()
Quota metrics to indicate the result of allocation.
|
int |
getQuotaMetricsCount()
Quota metrics to indicate the result of allocation.
|
java.util.List<MetricValueSet> |
getQuotaMetricsList()
Quota metrics to indicate the result of allocation.
|
MetricValueSetOrBuilder |
getQuotaMetricsOrBuilder(int index)
Quota metrics to indicate the result of allocation.
|
java.util.List<? extends MetricValueSetOrBuilder> |
getQuotaMetricsOrBuilderList()
Quota metrics to indicate the result of allocation.
|
java.lang.String |
getServiceConfigId()
ID of the actual config used to process the request.
|
com.google.protobuf.ByteString |
getServiceConfigIdBytes()
ID of the actual config used to process the request.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocateQuotaResponse.Builder |
mergeFrom(AllocateQuotaResponse other) |
AllocateQuotaResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocateQuotaResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
AllocateQuotaResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AllocateQuotaResponse.Builder |
removeAllocateErrors(int index)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
removeQuotaMetrics(int index)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
setAllocateErrors(int index,
QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
setAllocateErrors(int index,
QuotaError value)
Indicates the decision of the allocate.
|
AllocateQuotaResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateQuotaResponse.Builder |
setOperationId(java.lang.String value)
The same operation_id value used in the AllocateQuotaRequest.
|
AllocateQuotaResponse.Builder |
setOperationIdBytes(com.google.protobuf.ByteString value)
The same operation_id value used in the AllocateQuotaRequest.
|
AllocateQuotaResponse.Builder |
setQuotaMetrics(int index,
MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
setQuotaMetrics(int index,
MetricValueSet value)
Quota metrics to indicate the result of allocation.
|
AllocateQuotaResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AllocateQuotaResponse.Builder |
setServiceConfigId(java.lang.String value)
ID of the actual config used to process the request.
|
AllocateQuotaResponse.Builder |
setServiceConfigIdBytes(com.google.protobuf.ByteString value)
ID of the actual config used to process the request.
|
AllocateQuotaResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AllocateQuotaResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AllocateQuotaResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AllocateQuotaResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder mergeFrom(AllocateQuotaResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public AllocateQuotaResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocateQuotaResponse.Builder>java.io.IOExceptionpublic java.lang.String getOperationId()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
optional string operation_id = 1;getOperationId in interface AllocateQuotaResponseOrBuilderpublic com.google.protobuf.ByteString getOperationIdBytes()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
optional string operation_id = 1;getOperationIdBytes in interface AllocateQuotaResponseOrBuilderpublic AllocateQuotaResponse.Builder setOperationId(java.lang.String value)
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
optional string operation_id = 1;public AllocateQuotaResponse.Builder clearOperationId()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
optional string operation_id = 1;public AllocateQuotaResponse.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
optional string operation_id = 1;public java.util.List<QuotaError> getAllocateErrorsList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;getAllocateErrorsList in interface AllocateQuotaResponseOrBuilderpublic int getAllocateErrorsCount()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;getAllocateErrorsCount in interface AllocateQuotaResponseOrBuilderpublic QuotaError getAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;getAllocateErrors in interface AllocateQuotaResponseOrBuilderpublic AllocateQuotaResponse.Builder setAllocateErrors(int index, QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder setAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder addAllocateErrors(QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder addAllocateErrors(int index, QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder addAllocateErrors(QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder addAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder addAllAllocateErrors(java.lang.Iterable<? extends QuotaError> values)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder clearAllocateErrors()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public AllocateQuotaResponse.Builder removeAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public QuotaError.Builder getAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public QuotaErrorOrBuilder getAllocateErrorsOrBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;getAllocateErrorsOrBuilder in interface AllocateQuotaResponseOrBuilderpublic java.util.List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;getAllocateErrorsOrBuilderList in interface AllocateQuotaResponseOrBuilderpublic QuotaError.Builder addAllocateErrorsBuilder()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public QuotaError.Builder addAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public java.util.List<QuotaError.Builder> getAllocateErrorsBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;public java.util.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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;getQuotaMetricsList in interface AllocateQuotaResponseOrBuilderpublic 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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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 in interface AllocateQuotaResponseOrBuilderpublic 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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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 in interface AllocateQuotaResponseOrBuilderpublic AllocateQuotaResponse.Builder setQuotaMetrics(int index, MetricValueSet value)
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder setQuotaMetrics(int index, MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder addQuotaMetrics(MetricValueSet value)
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder addQuotaMetrics(int index, MetricValueSet value)
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder addQuotaMetrics(MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder addQuotaMetrics(int index, MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder addAllQuotaMetrics(java.lang.Iterable<? extends MetricValueSet> values)
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder clearQuotaMetrics()
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public AllocateQuotaResponse.Builder removeQuotaMetrics(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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public MetricValueSet.Builder getQuotaMetricsBuilder(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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public 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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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 in interface AllocateQuotaResponseOrBuilderpublic java.util.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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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 in interface AllocateQuotaResponseOrBuilderpublic MetricValueSet.Builder addQuotaMetricsBuilder()
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public MetricValueSet.Builder addQuotaMetricsBuilder(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. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public java.util.List<MetricValueSet.Builder> getQuotaMetricsBuilderList()
Quota metrics to indicate the result of allocation. Depending on the request, one or more of the following metrics will be included: 1. For rate quota, 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. For allocation quota, per quota metric total usage will be specified using the following gauge metric: "serviceruntime.googleapis.com/allocation/consumer/quota_used_count" 3. For both rate quota and allocation quota, 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;public java.lang.String getServiceConfigId()
ID of the actual config used to process the request.
optional string service_config_id = 4;getServiceConfigId in interface AllocateQuotaResponseOrBuilderpublic com.google.protobuf.ByteString getServiceConfigIdBytes()
ID of the actual config used to process the request.
optional string service_config_id = 4;getServiceConfigIdBytes in interface AllocateQuotaResponseOrBuilderpublic AllocateQuotaResponse.Builder setServiceConfigId(java.lang.String value)
ID of the actual config used to process the request.
optional string service_config_id = 4;public AllocateQuotaResponse.Builder clearServiceConfigId()
ID of the actual config used to process the request.
optional string service_config_id = 4;public AllocateQuotaResponse.Builder setServiceConfigIdBytes(com.google.protobuf.ByteString value)
ID of the actual config used to process the request.
optional string service_config_id = 4;public final AllocateQuotaResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>public final AllocateQuotaResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessage.Builder<AllocateQuotaResponse.Builder>