- 1.52.0 (latest)
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class AllocateQuotaResponse.Builder extends GeneratedMessageV3.Builder<AllocateQuotaResponse.Builder> implements AllocateQuotaResponseOrBuilder
Response message for the AllocateQuota method.
Protobuf type google.api.servicecontrol.v1.AllocateQuotaResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AllocateQuotaResponse.BuilderImplements
AllocateQuotaResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAllocateErrors(Iterable<? extends QuotaError> values)
public AllocateQuotaResponse.Builder addAllAllocateErrors(Iterable<? extends QuotaError> values)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.api.servicecontrol.v1.QuotaError> |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addAllQuotaMetrics(Iterable<? extends MetricValueSet> values)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.api.servicecontrol.v1.MetricValueSet> |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addAllocateErrors(QuotaError value)
public AllocateQuotaResponse.Builder addAllocateErrors(QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
value |
QuotaError |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addAllocateErrors(QuotaError.Builder builderForValue)
public AllocateQuotaResponse.Builder addAllocateErrors(QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
QuotaError.Builder |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addAllocateErrors(int index, QuotaError value)
public AllocateQuotaResponse.Builder addAllocateErrors(int index, QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
QuotaError |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addAllocateErrors(int index, QuotaError.Builder builderForValue)
public AllocateQuotaResponse.Builder addAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
QuotaError.Builder |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addAllocateErrorsBuilder()
public QuotaError.Builder addAllocateErrorsBuilder()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns | |
---|---|
Type | Description |
QuotaError.Builder |
addAllocateErrorsBuilder(int index)
public QuotaError.Builder addAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
QuotaError.Builder |
addQuotaMetrics(MetricValueSet value)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
value |
MetricValueSet |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addQuotaMetrics(MetricValueSet.Builder builderForValue)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
MetricValueSet.Builder |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addQuotaMetrics(int index, MetricValueSet value)
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:
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"
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MetricValueSet |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
addQuotaMetrics(int index, MetricValueSet.Builder builderForValue)
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:
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"
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MetricValueSet.Builder |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns | |
---|---|
Type | Description |
MetricValueSet.Builder |
addQuotaMetricsBuilder(int index)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MetricValueSet.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocateQuotaResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
build()
public AllocateQuotaResponse build()
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse |
buildPartial()
public AllocateQuotaResponse buildPartial()
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse |
clear()
public AllocateQuotaResponse.Builder clear()
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
clearAllocateErrors()
public AllocateQuotaResponse.Builder clearAllocateErrors()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public AllocateQuotaResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocateQuotaResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
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 | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
This builder for chaining. |
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
clearServiceConfigId()
public AllocateQuotaResponse.Builder clearServiceConfigId()
ID of the actual config used to process the request.
string service_config_id = 4;
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
This builder for chaining. |
clone()
public AllocateQuotaResponse.Builder clone()
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
getAllocateErrors(int index)
public QuotaError getAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
QuotaError |
getAllocateErrorsBuilder(int index)
public QuotaError.Builder getAllocateErrorsBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
QuotaError.Builder |
getAllocateErrorsBuilderList()
public List<QuotaError.Builder> getAllocateErrorsBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns | |
---|---|
Type | Description |
List<Builder> |
getAllocateErrorsCount()
public int getAllocateErrorsCount()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns | |
---|---|
Type | Description |
int |
getAllocateErrorsList()
public List<QuotaError> getAllocateErrorsList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns | |
---|---|
Type | Description |
List<QuotaError> |
getAllocateErrorsOrBuilder(int index)
public QuotaErrorOrBuilder getAllocateErrorsOrBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
QuotaErrorOrBuilder |
getAllocateErrorsOrBuilderList()
public List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.api.servicecontrol.v1.QuotaErrorOrBuilder> |
getDefaultInstanceForType()
public AllocateQuotaResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getOperationId()
public String getOperationId()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
Returns | |
---|---|
Type | Description |
String |
The operationId. |
getOperationIdBytes()
public ByteString getOperationIdBytes()
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for operationId. |
getQuotaMetrics(int index)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MetricValueSet |
getQuotaMetricsBuilder(int index)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MetricValueSet.Builder |
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns | |
---|---|
Type | Description |
int |
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns | |
---|---|
Type | Description |
List<MetricValueSet> |
getQuotaMetricsOrBuilder(int index)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MetricValueSetOrBuilder |
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.api.servicecontrol.v1.MetricValueSetOrBuilder> |
getServiceConfigId()
public String getServiceConfigId()
ID of the actual config used to process the request.
string service_config_id = 4;
Returns | |
---|---|
Type | Description |
String |
The serviceConfigId. |
getServiceConfigIdBytes()
public ByteString getServiceConfigIdBytes()
ID of the actual config used to process the request.
string service_config_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for serviceConfigId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AllocateQuotaResponse other)
public AllocateQuotaResponse.Builder mergeFrom(AllocateQuotaResponse other)
Parameter | |
---|---|
Name | Description |
other |
AllocateQuotaResponse |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllocateQuotaResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AllocateQuotaResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
removeAllocateErrors(int index)
public AllocateQuotaResponse.Builder removeAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
removeQuotaMetrics(int index)
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:
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"
The quota limit reached condition will be specified using the following boolean metric : "serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
setAllocateErrors(int index, QuotaError value)
public AllocateQuotaResponse.Builder setAllocateErrors(int index, QuotaError value)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
QuotaError |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
setAllocateErrors(int index, QuotaError.Builder builderForValue)
public AllocateQuotaResponse.Builder setAllocateErrors(int index, QuotaError.Builder builderForValue)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
QuotaError.Builder |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AllocateQuotaResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
setOperationId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The operationId to set. |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
This builder for chaining. |
setOperationIdBytes(ByteString value)
public AllocateQuotaResponse.Builder setOperationIdBytes(ByteString value)
The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.
string operation_id = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for operationId to set. |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
This builder for chaining. |
setQuotaMetrics(int index, MetricValueSet value)
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:
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"
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MetricValueSet |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
setQuotaMetrics(int index, MetricValueSet.Builder builderForValue)
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:
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"
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MetricValueSet.Builder |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocateQuotaResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
setServiceConfigId(String value)
public AllocateQuotaResponse.Builder setServiceConfigId(String value)
ID of the actual config used to process the request.
string service_config_id = 4;
Parameter | |
---|---|
Name | Description |
value |
String The serviceConfigId to set. |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
This builder for chaining. |
setServiceConfigIdBytes(ByteString value)
public AllocateQuotaResponse.Builder setServiceConfigIdBytes(ByteString value)
ID of the actual config used to process the request.
string service_config_id = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceConfigId to set. |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocateQuotaResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AllocateQuotaResponse.Builder |