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.BuilderaddAllAllocateErrors(Iterable<? extends QuotaError> values)Indicates the decision of the allocate.AllocateQuotaResponse.BuilderaddAllocateErrors(int index, QuotaError value)Indicates the decision of the allocate.AllocateQuotaResponse.BuilderaddAllocateErrors(int index, QuotaError.Builder builderForValue)Indicates the decision of the allocate.AllocateQuotaResponse.BuilderaddAllocateErrors(QuotaError value)Indicates the decision of the allocate.AllocateQuotaResponse.BuilderaddAllocateErrors(QuotaError.Builder builderForValue)Indicates the decision of the allocate.QuotaError.BuilderaddAllocateErrorsBuilder()Indicates the decision of the allocate.QuotaError.BuilderaddAllocateErrorsBuilder(int index)Indicates the decision of the allocate.AllocateQuotaResponse.BuilderaddAllQuotaMetrics(Iterable<? extends MetricValueSet> values)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuilderaddQuotaMetrics(int index, MetricValueSet value)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuilderaddQuotaMetrics(int index, MetricValueSet.Builder builderForValue)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuilderaddQuotaMetrics(MetricValueSet value)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuilderaddQuotaMetrics(MetricValueSet.Builder builderForValue)Quota metrics to indicate the result of allocation.MetricValueSet.BuilderaddQuotaMetricsBuilder()Quota metrics to indicate the result of allocation.MetricValueSet.BuilderaddQuotaMetricsBuilder(int index)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AllocateQuotaResponsebuild()AllocateQuotaResponsebuildPartial()AllocateQuotaResponse.Builderclear()AllocateQuotaResponse.BuilderclearAllocateErrors()Indicates the decision of the allocate.AllocateQuotaResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AllocateQuotaResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AllocateQuotaResponse.BuilderclearOperationId()The same operation_id value used in the AllocateQuotaRequest.AllocateQuotaResponse.BuilderclearQuotaMetrics()Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuilderclearServiceConfigId()ID of the actual config used to process the request.AllocateQuotaResponse.Builderclone()QuotaErrorgetAllocateErrors(int index)Indicates the decision of the allocate.QuotaError.BuildergetAllocateErrorsBuilder(int index)Indicates the decision of the allocate.List<QuotaError.Builder>getAllocateErrorsBuilderList()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.AllocateQuotaResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.MetricValueSet.BuildergetQuotaMetricsBuilder(int index)Quota metrics to indicate the result of allocation.List<MetricValueSet.Builder>getQuotaMetricsBuilderList()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AllocateQuotaResponse.BuildermergeFrom(AllocateQuotaResponse other)AllocateQuotaResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AllocateQuotaResponse.BuildermergeFrom(com.google.protobuf.Message other)AllocateQuotaResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AllocateQuotaResponse.BuilderremoveAllocateErrors(int index)Indicates the decision of the allocate.AllocateQuotaResponse.BuilderremoveQuotaMetrics(int index)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuildersetAllocateErrors(int index, QuotaError value)Indicates the decision of the allocate.AllocateQuotaResponse.BuildersetAllocateErrors(int index, QuotaError.Builder builderForValue)Indicates the decision of the allocate.AllocateQuotaResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AllocateQuotaResponse.BuildersetOperationId(String value)The same operation_id value used in the AllocateQuotaRequest.AllocateQuotaResponse.BuildersetOperationIdBytes(com.google.protobuf.ByteString value)The same operation_id value used in the AllocateQuotaRequest.AllocateQuotaResponse.BuildersetQuotaMetrics(int index, MetricValueSet value)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuildersetQuotaMetrics(int index, MetricValueSet.Builder builderForValue)Quota metrics to indicate the result of allocation.AllocateQuotaResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AllocateQuotaResponse.BuildersetServiceConfigId(String value)ID of the actual config used to process the request.AllocateQuotaResponse.BuildersetServiceConfigIdBytes(com.google.protobuf.ByteString value)ID of the actual config used to process the request.AllocateQuotaResponse.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
clear
public AllocateQuotaResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
getDefaultInstanceForType
public AllocateQuotaResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocateQuotaResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocateQuotaResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocateQuotaResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
setField
public AllocateQuotaResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
clearField
public AllocateQuotaResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
clearOneof
public AllocateQuotaResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
setRepeatedField
public AllocateQuotaResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
addRepeatedField
public AllocateQuotaResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
mergeFrom
public AllocateQuotaResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocateQuotaResponse.Builder>
-
mergeFrom
public AllocateQuotaResponse.Builder mergeFrom(AllocateQuotaResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getOperationIdin 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:
getOperationIdBytesin 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:
getAllocateErrorsListin interfaceAllocateQuotaResponseOrBuilder
-
getAllocateErrorsCount
public int getAllocateErrorsCount()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;- Specified by:
getAllocateErrorsCountin interfaceAllocateQuotaResponseOrBuilder
-
getAllocateErrors
public QuotaError getAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;- Specified by:
getAllocateErrorsin 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:
getAllocateErrorsOrBuilderin interfaceAllocateQuotaResponseOrBuilder
-
getAllocateErrorsOrBuilderList
public List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;- Specified by:
getAllocateErrorsOrBuilderListin 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:
getQuotaMetricsListin 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:
getQuotaMetricsCountin 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:
getQuotaMetricsin 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:
getQuotaMetricsOrBuilderin 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:
getQuotaMetricsOrBuilderListin 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:
getServiceConfigIdin 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:
getServiceConfigIdBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
mergeUnknownFields
public final AllocateQuotaResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder>
-
-