Class ListQuotaGroupsResponse.Builder (0.8.0)

public static final class ListQuotaGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListQuotaGroupsResponse.Builder> implements ListQuotaGroupsResponseOrBuilder

Response message for the ListMethodGroups method.

Protobuf type google.shopping.merchant.quota.v1beta.ListQuotaGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllQuotaGroups(Iterable<? extends QuotaGroup> values)

public ListQuotaGroupsResponse.Builder addAllQuotaGroups(Iterable<? extends QuotaGroup> values)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.quota.v1beta.QuotaGroup>
Returns
Type Description
ListQuotaGroupsResponse.Builder

addQuotaGroups(QuotaGroup value)

public ListQuotaGroupsResponse.Builder addQuotaGroups(QuotaGroup value)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
value QuotaGroup
Returns
Type Description
ListQuotaGroupsResponse.Builder

addQuotaGroups(QuotaGroup.Builder builderForValue)

public ListQuotaGroupsResponse.Builder addQuotaGroups(QuotaGroup.Builder builderForValue)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
builderForValue QuotaGroup.Builder
Returns
Type Description
ListQuotaGroupsResponse.Builder

addQuotaGroups(int index, QuotaGroup value)

public ListQuotaGroupsResponse.Builder addQuotaGroups(int index, QuotaGroup value)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameters
Name Description
index int
value QuotaGroup
Returns
Type Description
ListQuotaGroupsResponse.Builder

addQuotaGroups(int index, QuotaGroup.Builder builderForValue)

public ListQuotaGroupsResponse.Builder addQuotaGroups(int index, QuotaGroup.Builder builderForValue)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameters
Name Description
index int
builderForValue QuotaGroup.Builder
Returns
Type Description
ListQuotaGroupsResponse.Builder

addQuotaGroupsBuilder()

public QuotaGroup.Builder addQuotaGroupsBuilder()

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Returns
Type Description
QuotaGroup.Builder

addQuotaGroupsBuilder(int index)

public QuotaGroup.Builder addQuotaGroupsBuilder(int index)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListQuotaGroupsResponse build()
Returns
Type Description
ListQuotaGroupsResponse

buildPartial()

public ListQuotaGroupsResponse buildPartial()
Returns
Type Description
ListQuotaGroupsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListQuotaGroupsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListQuotaGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuotaGroups()

public ListQuotaGroupsResponse.Builder clearQuotaGroups()

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Returns
Type Description
ListQuotaGroupsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListQuotaGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListQuotaGroupsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getQuotaGroups(int index)

public QuotaGroup getQuotaGroups(int index)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaGroup

getQuotaGroupsBuilder(int index)

public QuotaGroup.Builder getQuotaGroupsBuilder(int index)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaGroup.Builder

getQuotaGroupsBuilderList()

public List<QuotaGroup.Builder> getQuotaGroupsBuilderList()

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Returns
Type Description
List<Builder>

getQuotaGroupsCount()

public int getQuotaGroupsCount()

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Returns
Type Description
int

getQuotaGroupsList()

public List<QuotaGroup> getQuotaGroupsList()

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Returns
Type Description
List<QuotaGroup>

getQuotaGroupsOrBuilder(int index)

public QuotaGroupOrBuilder getQuotaGroupsOrBuilder(int index)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaGroupOrBuilder

getQuotaGroupsOrBuilderList()

public List<? extends QuotaGroupOrBuilder> getQuotaGroupsOrBuilderList()

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.quota.v1beta.QuotaGroupOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListQuotaGroupsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeQuotaGroups(int index)

public ListQuotaGroupsResponse.Builder removeQuotaGroups(int index)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListQuotaGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListQuotaGroupsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListQuotaGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListQuotaGroupsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListQuotaGroupsResponse.Builder

This builder for chaining.

setQuotaGroups(int index, QuotaGroup value)

public ListQuotaGroupsResponse.Builder setQuotaGroups(int index, QuotaGroup value)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameters
Name Description
index int
value QuotaGroup
Returns
Type Description
ListQuotaGroupsResponse.Builder

setQuotaGroups(int index, QuotaGroup.Builder builderForValue)

public ListQuotaGroupsResponse.Builder setQuotaGroups(int index, QuotaGroup.Builder builderForValue)

The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on quotaUsage.

repeated .google.shopping.merchant.quota.v1beta.QuotaGroup quota_groups = 1;

Parameters
Name Description
index int
builderForValue QuotaGroup.Builder
Returns
Type Description
ListQuotaGroupsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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