Class ListConsumerQuotaMetricsResponse.Builder (2.47.0)

publicstaticfinalclass ListConsumerQuotaMetricsResponse.BuilderextendsGeneratedMessageV3.Builder<ListConsumerQuotaMetricsResponse.Builder>implementsListConsumerQuotaMetricsResponseOrBuilder

Response message for ListConsumerQuotaMetrics

Protobuf type google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMetrics(Iterable<? extends ConsumerQuotaMetric> values)

publicListConsumerQuotaMetricsResponse.BuilderaddAllMetrics(Iterable<?extendsConsumerQuotaMetric>values)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
values Iterable<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaMetric>
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

addMetrics(ConsumerQuotaMetric value)

publicListConsumerQuotaMetricsResponse.BuilderaddMetrics(ConsumerQuotaMetricvalue)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
value ConsumerQuotaMetric
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

addMetrics(ConsumerQuotaMetric.Builder builderForValue)

publicListConsumerQuotaMetricsResponse.BuilderaddMetrics(ConsumerQuotaMetric.BuilderbuilderForValue)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
builderForValue ConsumerQuotaMetric.Builder
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

addMetrics(int index, ConsumerQuotaMetric value)

publicListConsumerQuotaMetricsResponse.BuilderaddMetrics(intindex,ConsumerQuotaMetricvalue)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameters
Name Description
index int
value ConsumerQuotaMetric
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

addMetrics(int index, ConsumerQuotaMetric.Builder builderForValue)

publicListConsumerQuotaMetricsResponse.BuilderaddMetrics(intindex,ConsumerQuotaMetric.BuilderbuilderForValue)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameters
Name Description
index int
builderForValue ConsumerQuotaMetric.Builder
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

addMetricsBuilder()

publicConsumerQuotaMetric.BuilderaddMetricsBuilder()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
Type Description
ConsumerQuotaMetric.Builder

addMetricsBuilder(int index)

publicConsumerQuotaMetric.BuilderaddMetricsBuilder(intindex)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
ConsumerQuotaMetric.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListConsumerQuotaMetricsResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

build()

publicListConsumerQuotaMetricsResponsebuild()
Returns
Type Description
ListConsumerQuotaMetricsResponse

buildPartial()

publicListConsumerQuotaMetricsResponsebuildPartial()
Returns
Type Description
ListConsumerQuotaMetricsResponse

clear()

publicListConsumerQuotaMetricsResponse.Builderclear()
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListConsumerQuotaMetricsResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

clearMetrics()

publicListConsumerQuotaMetricsResponse.BuilderclearMetrics()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

clearNextPageToken()

publicListConsumerQuotaMetricsResponse.BuilderclearNextPageToken()

Token identifying which result to start with; returned by a previous list call.

string next_page_token = 2;

Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicListConsumerQuotaMetricsResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

clone()

publicListConsumerQuotaMetricsResponse.Builderclone()
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

getDefaultInstanceForType()

publicListConsumerQuotaMetricsResponsegetDefaultInstanceForType()
Returns
Type Description
ListConsumerQuotaMetricsResponse

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetrics(int index)

publicConsumerQuotaMetricgetMetrics(intindex)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
ConsumerQuotaMetric

getMetricsBuilder(int index)

publicConsumerQuotaMetric.BuildergetMetricsBuilder(intindex)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
ConsumerQuotaMetric.Builder

getMetricsBuilderList()

publicList<ConsumerQuotaMetric.Builder>getMetricsBuilderList()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
Type Description
List<Builder>

getMetricsCount()

publicintgetMetricsCount()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
Type Description
int

getMetricsList()

publicList<ConsumerQuotaMetric>getMetricsList()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
Type Description
List<ConsumerQuotaMetric>

getMetricsOrBuilder(int index)

publicConsumerQuotaMetricOrBuildergetMetricsOrBuilder(intindex)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
ConsumerQuotaMetricOrBuilder

getMetricsOrBuilderList()

publicList<?extendsConsumerQuotaMetricOrBuilder>getMetricsOrBuilderList()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
Type Description
List<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaMetricOrBuilder>

getNextPageToken()

publicStringgetNextPageToken()

Token identifying which result to start with; returned by a previous list call.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

publicByteStringgetNextPageTokenBytes()

Token identifying which result to start with; returned by a previous list call.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConsumerQuotaMetricsResponse other)

publicListConsumerQuotaMetricsResponse.BuildermergeFrom(ListConsumerQuotaMetricsResponseother)
Parameter
Name Description
other ListConsumerQuotaMetricsResponse
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListConsumerQuotaMetricsResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicListConsumerQuotaMetricsResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListConsumerQuotaMetricsResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

removeMetrics(int index)

publicListConsumerQuotaMetricsResponse.BuilderremoveMetrics(intindex)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicListConsumerQuotaMetricsResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

setMetrics(int index, ConsumerQuotaMetric value)

publicListConsumerQuotaMetricsResponse.BuildersetMetrics(intindex,ConsumerQuotaMetricvalue)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameters
Name Description
index int
value ConsumerQuotaMetric
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

setMetrics(int index, ConsumerQuotaMetric.Builder builderForValue)

publicListConsumerQuotaMetricsResponse.BuildersetMetrics(intindex,ConsumerQuotaMetric.BuilderbuilderForValue)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameters
Name Description
index int
builderForValue ConsumerQuotaMetric.Builder
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

setNextPageToken(String value)

publicListConsumerQuotaMetricsResponse.BuildersetNextPageToken(Stringvalue)

Token identifying which result to start with; returned by a previous list call.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

publicListConsumerQuotaMetricsResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

Token identifying which result to start with; returned by a previous list call.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

This builder for chaining.

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

publicListConsumerQuotaMetricsResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListConsumerQuotaMetricsResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.