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
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
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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;
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;
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;
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;
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;
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
|
public ListQuotaGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListQuotaGroupsResponse build()
public ListQuotaGroupsResponse buildPartial()
public ListQuotaGroupsResponse.Builder clear()
Overrides
public ListQuotaGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListQuotaGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
public ListQuotaGroupsResponse.Builder clone()
Overrides
public ListQuotaGroupsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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
|
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
|
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;
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 |
|
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;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListQuotaGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListQuotaGroupsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListQuotaGroupsResponse.Builder mergeFrom(ListQuotaGroupsResponse other)
public final ListQuotaGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListQuotaGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
public ListQuotaGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListQuotaGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides