Class ListConsumerQuotaMetricsResponse.Builder (2.39.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaMetric>
Returns
TypeDescription
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
NameDescription
valueConsumerQuotaMetric
Returns
TypeDescription
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
NameDescription
builderForValueConsumerQuotaMetric.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConsumerQuotaMetric
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConsumerQuotaMetric.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConsumerQuotaMetric.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConsumerQuotaMetricsResponse build()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse

buildPartial()

public ListConsumerQuotaMetricsResponse buildPartial()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListConsumerQuotaMetricsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListConsumerQuotaMetricsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListConsumerQuotaMetricsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getMetricsCount()

public int getMetricsCount()

Quota settings for the consumer, organized by quota metric.

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

Returns
TypeDescription
int

getMetricsList()

public List<ConsumerQuotaMetric> getMetricsList()

Quota settings for the consumer, organized by quota metric.

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

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

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConsumerQuotaMetricsResponse other)

public ListConsumerQuotaMetricsResponse.Builder mergeFrom(ListConsumerQuotaMetricsResponse other)
Parameter
NameDescription
otherListConsumerQuotaMetricsResponse
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConsumerQuotaMetricsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListConsumerQuotaMetricsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueConsumerQuotaMetric
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConsumerQuotaMetric.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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