Class ListConsumerQuotaMetricsResponse.Builder (2.42.0)

public static final class ListConsumerQuotaMetricsResponse.Builder extends GeneratedMessageV3.Builder<ListConsumerQuotaMetricsResponse.Builder> implements ListConsumerQuotaMetricsResponseOrBuilder

Response message for ListConsumerQuotaMetrics

Protobuf type google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMetrics(Iterable<? extends ConsumerQuotaMetric> values)

public ListConsumerQuotaMetricsResponse.Builder addAllMetrics(Iterable<? extends ConsumerQuotaMetric> 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)

public ListConsumerQuotaMetricsResponse.Builder addMetrics(ConsumerQuotaMetric value)

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)

public ListConsumerQuotaMetricsResponse.Builder addMetrics(ConsumerQuotaMetric.Builder builderForValue)

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)

public ListConsumerQuotaMetricsResponse.Builder addMetrics(int index, ConsumerQuotaMetric value)

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)

public ListConsumerQuotaMetricsResponse.Builder addMetrics(int index, ConsumerQuotaMetric.Builder builderForValue)

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()

public ConsumerQuotaMetric.Builder addMetricsBuilder()

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)

public ConsumerQuotaMetric.Builder addMetricsBuilder(int index)

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)

public ListConsumerQuotaMetricsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

build()

public ListConsumerQuotaMetricsResponse build()
Returns
Type Description
ListConsumerQuotaMetricsResponse

buildPartial()

public ListConsumerQuotaMetricsResponse buildPartial()
Returns
Type Description
ListConsumerQuotaMetricsResponse

clear()

public ListConsumerQuotaMetricsResponse.Builder clear()
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListConsumerQuotaMetricsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

clearMetrics()

public ListConsumerQuotaMetricsResponse.Builder clearMetrics()

Quota settings for the consumer, organized by quota metric.

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

Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

clearNextPageToken()

public ListConsumerQuotaMetricsResponse.Builder clearNextPageToken()

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)

public ListConsumerQuotaMetricsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

clone()

public ListConsumerQuotaMetricsResponse.Builder clone()
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListConsumerQuotaMetricsResponse getDefaultInstanceForType()
Returns
Type Description
ListConsumerQuotaMetricsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetrics(int index)

public ConsumerQuotaMetric getMetrics(int index)

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)

public ConsumerQuotaMetric.Builder getMetricsBuilder(int index)

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()

public List<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()

public int getMetricsCount()

Quota settings for the consumer, organized by quota metric.

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

Returns
Type Description
int

getMetricsList()

public List<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)

public ConsumerQuotaMetricOrBuilder getMetricsOrBuilder(int index)

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()

public List<? extends ConsumerQuotaMetricOrBuilder> 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()

public String getNextPageToken()

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()

public ByteString getNextPageTokenBytes()

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()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConsumerQuotaMetricsResponse other)

public ListConsumerQuotaMetricsResponse.Builder mergeFrom(ListConsumerQuotaMetricsResponse other)
Parameter
Name Description
other ListConsumerQuotaMetricsResponse
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListConsumerQuotaMetricsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListConsumerQuotaMetricsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConsumerQuotaMetricsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

removeMetrics(int index)

public ListConsumerQuotaMetricsResponse.Builder removeMetrics(int index)

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)

public ListConsumerQuotaMetricsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

setMetrics(int index, ConsumerQuotaMetric value)

public ListConsumerQuotaMetricsResponse.Builder setMetrics(int index, ConsumerQuotaMetric value)

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)

public ListConsumerQuotaMetricsResponse.Builder setMetrics(int index, ConsumerQuotaMetric.Builder builderForValue)

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)

public ListConsumerQuotaMetricsResponse.Builder setNextPageToken(String value)

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)

public ListConsumerQuotaMetricsResponse.Builder setNextPageTokenBytes(ByteString value)

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)

public ListConsumerQuotaMetricsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConsumerQuotaMetricsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConsumerQuotaMetricsResponse.Builder
Overrides