public static final class ListConsumerQuotaMetricsResponse.Builder extends GeneratedMessageV3.Builder<ListConsumerQuotaMetricsResponse.Builder> implements ListConsumerQuotaMetricsResponseOrBuilder
Response message for ListConsumerQuotaMetrics
Protobuf type google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addMetricsBuilder()
public ConsumerQuotaMetric.Builder addMetricsBuilder()
Quota settings for the consumer, organized by quota metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConsumerQuotaMetricsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListConsumerQuotaMetricsResponse build()
Returns
buildPartial()
public ListConsumerQuotaMetricsResponse buildPartial()
Returns
clear()
public ListConsumerQuotaMetricsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListConsumerQuotaMetricsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMetrics()
public ListConsumerQuotaMetricsResponse.Builder clearMetrics()
Quota settings for the consumer, organized by quota metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;
Returns
clearNextPageToken()
public ListConsumerQuotaMetricsResponse.Builder clearNextPageToken()
Token identifying which result to start with; returned by a previous list
call.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConsumerQuotaMetricsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListConsumerQuotaMetricsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListConsumerQuotaMetricsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getMetricsBuilderList()
public List<ConsumerQuotaMetric.Builder> getMetricsBuilderList()
Quota settings for the consumer, organized by quota metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;
Returns
getMetricsCount()
public int getMetricsCount()
Quota settings for the consumer, organized by quota metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;
Returns
getMetricsList()
public List<ConsumerQuotaMetric> getMetricsList()
Quota settings for the consumer, organized by quota metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListConsumerQuotaMetricsResponse other)
public ListConsumerQuotaMetricsResponse.Builder mergeFrom(ListConsumerQuotaMetricsResponse other)
Parameter
Returns
public ListConsumerQuotaMetricsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListConsumerQuotaMetricsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConsumerQuotaMetricsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListConsumerQuotaMetricsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConsumerQuotaMetricsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConsumerQuotaMetricsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides