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