Package com.google.api.servicecontrol.v1
Class AllocateQuotaResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
- com.google.api.servicecontrol.v1.AllocateQuotaResponse.Builder
-
- All Implemented Interfaces:
AllocateQuotaResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AllocateQuotaResponse
public static final class AllocateQuotaResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder> implements AllocateQuotaResponseOrBuilder
Response message for the AllocateQuota method.
Protobuf typegoogle.api.servicecontrol.v1.AllocateQuotaResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocateQuotaResponse.Builder
addAllAllocateErrors(Iterable<? extends QuotaError> values)
Indicates the decision of the allocate.AllocateQuotaResponse.Builder
addAllocateErrors(int index, QuotaError value)
Indicates the decision of the allocate.AllocateQuotaResponse.Builder
addAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.AllocateQuotaResponse.Builder
addAllocateErrors(QuotaError value)
Indicates the decision of the allocate.AllocateQuotaResponse.Builder
addAllocateErrors(QuotaError.Builder builderForValue)
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(Iterable<? extends MetricValueSet> values)
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(int index, MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation.AllocateQuotaResponse.Builder
addQuotaMetrics(MetricValueSet value)
Quota metrics to indicate the result of allocation.AllocateQuotaResponse.Builder
addQuotaMetrics(MetricValueSet.Builder builderForValue)
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, 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.List<QuotaError.Builder>
getAllocateErrorsBuilderList()
Indicates the decision of the allocate.int
getAllocateErrorsCount()
Indicates the decision of the allocate.List<QuotaError>
getAllocateErrorsList()
Indicates the decision of the allocate.QuotaErrorOrBuilder
getAllocateErrorsOrBuilder(int index)
Indicates the decision of the allocate.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()
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.List<MetricValueSet.Builder>
getQuotaMetricsBuilderList()
Quota metrics to indicate the result of allocation.int
getQuotaMetricsCount()
Quota metrics to indicate the result of allocation.List<MetricValueSet>
getQuotaMetricsList()
Quota metrics to indicate the result of allocation.MetricValueSetOrBuilder
getQuotaMetricsOrBuilder(int index)
Quota metrics to indicate the result of allocation.List<? extends MetricValueSetOrBuilder>
getQuotaMetricsOrBuilderList()
Quota metrics to indicate the result of allocation.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.GeneratedMessageV3.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 value)
Indicates the decision of the allocate.AllocateQuotaResponse.Builder
setAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.AllocateQuotaResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AllocateQuotaResponse.Builder
setOperationId(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 value)
Quota metrics to indicate the result of allocation.AllocateQuotaResponse.Builder
setQuotaMetrics(int index, MetricValueSet.Builder builderForValue)
Quota metrics to indicate the result of allocation.AllocateQuotaResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AllocateQuotaResponse.Builder
setServiceConfigId(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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
clear
public AllocateQuotaResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
getDefaultInstanceForType
public AllocateQuotaResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocateQuotaResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocateQuotaResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocateQuotaResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
setField
public AllocateQuotaResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
clearField
public AllocateQuotaResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
clearOneof
public AllocateQuotaResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
setRepeatedField
public AllocateQuotaResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
addRepeatedField
public AllocateQuotaResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
mergeFrom
public AllocateQuotaResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AllocateQuotaResponse.Builder>
-
mergeFrom
public AllocateQuotaResponse.Builder mergeFrom(AllocateQuotaResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
mergeFrom
public AllocateQuotaResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AllocateQuotaResponse.Builder>
- Throws:
IOException
-
getOperationId
public String getOperationId()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
- Specified by:
getOperationId
in interfaceAllocateQuotaResponseOrBuilder
- Returns:
- The operationId.
-
getOperationIdBytes
public com.google.protobuf.ByteString getOperationIdBytes()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
- Specified by:
getOperationIdBytes
in interfaceAllocateQuotaResponseOrBuilder
- Returns:
- The bytes for operationId.
-
setOperationId
public AllocateQuotaResponse.Builder setOperationId(String value)
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
- Parameters:
value
- The operationId to set.- Returns:
- This builder for chaining.
-
clearOperationId
public AllocateQuotaResponse.Builder clearOperationId()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
- Returns:
- This builder for chaining.
-
setOperationIdBytes
public AllocateQuotaResponse.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
- Parameters:
value
- The bytes for operationId to set.- Returns:
- This builder for chaining.
-
getAllocateErrorsList
public List<QuotaError> getAllocateErrorsList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
- Specified by:
getAllocateErrorsList
in interfaceAllocateQuotaResponseOrBuilder
-
getAllocateErrorsCount
public int getAllocateErrorsCount()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
- Specified by:
getAllocateErrorsCount
in interfaceAllocateQuotaResponseOrBuilder
-
getAllocateErrors
public QuotaError getAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
- Specified by:
getAllocateErrors
in interfaceAllocateQuotaResponseOrBuilder
-
setAllocateErrors
public AllocateQuotaResponse.Builder setAllocateErrors(int index, QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
setAllocateErrors
public AllocateQuotaResponse.Builder setAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
addAllocateErrors
public AllocateQuotaResponse.Builder addAllocateErrors(QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
addAllocateErrors
public AllocateQuotaResponse.Builder addAllocateErrors(int index, QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
addAllocateErrors
public AllocateQuotaResponse.Builder addAllocateErrors(QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
addAllocateErrors
public AllocateQuotaResponse.Builder addAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
addAllAllocateErrors
public AllocateQuotaResponse.Builder addAllAllocateErrors(Iterable<? extends QuotaError> values)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
clearAllocateErrors
public AllocateQuotaResponse.Builder clearAllocateErrors()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
removeAllocateErrors
public AllocateQuotaResponse.Builder removeAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getAllocateErrorsBuilder
public QuotaError.Builder getAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getAllocateErrorsOrBuilder
public QuotaErrorOrBuilder getAllocateErrorsOrBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
- Specified by:
getAllocateErrorsOrBuilder
in interfaceAllocateQuotaResponseOrBuilder
-
getAllocateErrorsOrBuilderList
public List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
- Specified by:
getAllocateErrorsOrBuilderList
in interfaceAllocateQuotaResponseOrBuilder
-
addAllocateErrorsBuilder
public QuotaError.Builder addAllocateErrorsBuilder()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
addAllocateErrorsBuilder
public QuotaError.Builder addAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getAllocateErrorsBuilderList
public List<QuotaError.Builder> getAllocateErrorsBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
-
getQuotaMetricsList
public 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;
- Specified by:
getQuotaMetricsList
in interfaceAllocateQuotaResponseOrBuilder
-
getQuotaMetricsCount
public 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;
- Specified by:
getQuotaMetricsCount
in interfaceAllocateQuotaResponseOrBuilder
-
getQuotaMetrics
public 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;
- Specified by:
getQuotaMetrics
in interfaceAllocateQuotaResponseOrBuilder
-
setQuotaMetrics
public 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. 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;
-
setQuotaMetrics
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. 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;
-
addQuotaMetrics
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. 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;
-
addQuotaMetrics
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. 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;
-
addQuotaMetrics
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. 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;
-
addQuotaMetrics
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. 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;
-
addAllQuotaMetrics
public AllocateQuotaResponse.Builder addAllQuotaMetrics(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. 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;
-
clearQuotaMetrics
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. 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;
-
removeQuotaMetrics
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. 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;
-
getQuotaMetricsBuilder
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. 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
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. 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;
- Specified by:
getQuotaMetricsOrBuilder
in interfaceAllocateQuotaResponseOrBuilder
-
getQuotaMetricsOrBuilderList
public 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;
- Specified by:
getQuotaMetricsOrBuilderList
in interfaceAllocateQuotaResponseOrBuilder
-
addQuotaMetricsBuilder
public 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. 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;
-
addQuotaMetricsBuilder
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. 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;
-
getQuotaMetricsBuilderList
public 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. 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
public String getServiceConfigId()
ID of the actual config used to process the request.
string service_config_id = 4;
- Specified by:
getServiceConfigId
in interfaceAllocateQuotaResponseOrBuilder
- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.ByteString getServiceConfigIdBytes()
ID of the actual config used to process the request.
string service_config_id = 4;
- Specified by:
getServiceConfigIdBytes
in interfaceAllocateQuotaResponseOrBuilder
- Returns:
- The bytes for serviceConfigId.
-
setServiceConfigId
public AllocateQuotaResponse.Builder setServiceConfigId(String value)
ID of the actual config used to process the request.
string service_config_id = 4;
- Parameters:
value
- The serviceConfigId to set.- Returns:
- This builder for chaining.
-
clearServiceConfigId
public AllocateQuotaResponse.Builder clearServiceConfigId()
ID of the actual config used to process the request.
string service_config_id = 4;
- Returns:
- This builder for chaining.
-
setServiceConfigIdBytes
public AllocateQuotaResponse.Builder setServiceConfigIdBytes(com.google.protobuf.ByteString value)
ID of the actual config used to process the request.
string service_config_id = 4;
- Parameters:
value
- The bytes for serviceConfigId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AllocateQuotaResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
mergeUnknownFields
public final AllocateQuotaResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
-