Class AllocateQuotaResponse.Builder (1.13.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.servicecontrol.v1.QuotaError>
Returns
TypeDescription
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:

  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;

Parameter
NameDescription
valuesIterable<? extends com.google.api.servicecontrol.v1.MetricValueSet>
Returns
TypeDescription
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
NameDescription
valueQuotaError
Returns
TypeDescription
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
NameDescription
builderForValueQuotaError.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueQuotaError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQuotaError.Builder
Returns
TypeDescription
AllocateQuotaResponse.Builder

addAllocateErrorsBuilder()

public QuotaError.Builder addAllocateErrorsBuilder()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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:

  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;

Parameter
NameDescription
valueMetricValueSet
Returns
TypeDescription
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:

  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;

Parameter
NameDescription
builderForValueMetricValueSet.Builder
Returns
TypeDescription
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:

  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;

Parameters
NameDescription
indexint
valueMetricValueSet
Returns
TypeDescription
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:

  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;

Parameters
NameDescription
indexint
builderForValueMetricValueSet.Builder
Returns
TypeDescription
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:

  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;

Returns
TypeDescription
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:

  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;

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricValueSet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AllocateQuotaResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

build()

public AllocateQuotaResponse build()
Returns
TypeDescription
AllocateQuotaResponse

buildPartial()

public AllocateQuotaResponse buildPartial()
Returns
TypeDescription
AllocateQuotaResponse

clear()

public AllocateQuotaResponse.Builder clear()
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

clearAllocateErrors()

public AllocateQuotaResponse.Builder clearAllocateErrors()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
TypeDescription
AllocateQuotaResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public AllocateQuotaResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AllocateQuotaResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

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
TypeDescription
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:

  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;

Returns
TypeDescription
AllocateQuotaResponse.Builder

clearServiceConfigId()

public AllocateQuotaResponse.Builder clearServiceConfigId()

ID of the actual config used to process the request.

string service_config_id = 4;

Returns
TypeDescription
AllocateQuotaResponse.Builder

This builder for chaining.

clone()

public AllocateQuotaResponse.Builder clone()
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

getAllocateErrors(int index)

public QuotaError getAllocateErrors(int index)

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QuotaError.Builder

getAllocateErrorsBuilderList()

public List<QuotaError.Builder> getAllocateErrorsBuilderList()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
TypeDescription
List<Builder>

getAllocateErrorsCount()

public int getAllocateErrorsCount()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
TypeDescription
int

getAllocateErrorsList()

public List<QuotaError> getAllocateErrorsList()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QuotaErrorOrBuilder

getAllocateErrorsOrBuilderList()

public List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()

Indicates the decision of the allocate.

repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;

Returns
TypeDescription
List<? extends com.google.api.servicecontrol.v1.QuotaErrorOrBuilder>

getDefaultInstanceForType()

public AllocateQuotaResponse getDefaultInstanceForType()
Returns
TypeDescription
AllocateQuotaResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperationId()

public String getOperationId()

The same operation_id value used in the AllocateQuotaRequest. Used for logging and diagnostics purposes.

string operation_id = 1;

Returns
TypeDescription
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
TypeDescription
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:

  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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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:

  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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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:

  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;

Returns
TypeDescription
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:

  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;

Returns
TypeDescription
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:

  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;

Returns
TypeDescription
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:

  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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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:

  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;

Returns
TypeDescription
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
TypeDescription
String

The serviceConfigId.

getServiceConfigIdBytes()

public ByteString getServiceConfigIdBytes()

ID of the actual config used to process the request.

string service_config_id = 4;

Returns
TypeDescription
ByteString

The bytes for serviceConfigId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AllocateQuotaResponse other)

public AllocateQuotaResponse.Builder mergeFrom(AllocateQuotaResponse other)
Parameter
NameDescription
otherAllocateQuotaResponse
Returns
TypeDescription
AllocateQuotaResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AllocateQuotaResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AllocateQuotaResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AllocateQuotaResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

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
NameDescription
indexint
Returns
TypeDescription
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:

  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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueQuotaError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQuotaError.Builder
Returns
TypeDescription
AllocateQuotaResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AllocateQuotaResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

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
NameDescription
valueString

The operationId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for operationId to set.

Returns
TypeDescription
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:

  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;

Parameters
NameDescription
indexint
valueMetricValueSet
Returns
TypeDescription
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:

  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;

Parameters
NameDescription
indexint
builderForValueMetricValueSet.Builder
Returns
TypeDescription
AllocateQuotaResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AllocateQuotaResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides

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
NameDescription
valueString

The serviceConfigId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceConfigId to set.

Returns
TypeDescription
AllocateQuotaResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AllocateQuotaResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AllocateQuotaResponse.Builder
Overrides