public static final class ListGbpAccountsResponse.Builder extends GeneratedMessageV3.Builder<ListGbpAccountsResponse.Builder> implements ListGbpAccountsResponseOrBuilder
Response message for the ListGbpAccounts method.
Protobuf type google.shopping.merchant.accounts.v1beta.ListGbpAccountsResponse
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 ListGbpAccountsResponse.Builder addAllGbpAccounts(Iterable<? extends GbpAccount> values)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1beta.GbpAccount>
|
public ListGbpAccountsResponse.Builder addGbpAccounts(GbpAccount value)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public ListGbpAccountsResponse.Builder addGbpAccounts(GbpAccount.Builder builderForValue)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public ListGbpAccountsResponse.Builder addGbpAccounts(int index, GbpAccount value)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public ListGbpAccountsResponse.Builder addGbpAccounts(int index, GbpAccount.Builder builderForValue)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public GbpAccount.Builder addGbpAccountsBuilder()
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public GbpAccount.Builder addGbpAccountsBuilder(int index)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public ListGbpAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListGbpAccountsResponse build()
public ListGbpAccountsResponse buildPartial()
public ListGbpAccountsResponse.Builder clear()
Overrides
public ListGbpAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListGbpAccountsResponse.Builder clearGbpAccounts()
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
clearNextPageToken()
public ListGbpAccountsResponse.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 ListGbpAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListGbpAccountsResponse.Builder clone()
Overrides
public ListGbpAccountsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public GbpAccount getGbpAccounts(int index)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public GbpAccount.Builder getGbpAccountsBuilder(int index)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public List<GbpAccount.Builder> getGbpAccountsBuilderList()
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public int getGbpAccountsCount()
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Returns |
Type |
Description |
int |
|
public List<GbpAccount> getGbpAccountsList()
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public GbpAccountOrBuilder getGbpAccountsOrBuilder(int index)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends GbpAccountOrBuilder> getGbpAccountsOrBuilderList()
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.accounts.v1beta.GbpAccountOrBuilder> |
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListGbpAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListGbpAccountsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListGbpAccountsResponse.Builder mergeFrom(ListGbpAccountsResponse other)
public final ListGbpAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListGbpAccountsResponse.Builder removeGbpAccounts(int index)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public ListGbpAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListGbpAccountsResponse.Builder setGbpAccounts(int index, GbpAccount value)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
public ListGbpAccountsResponse.Builder setGbpAccounts(int index, GbpAccount.Builder builderForValue)
The GBP accounts from the specified merchant in the specified country.
repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;
setNextPageToken(String value)
public ListGbpAccountsResponse.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 ListGbpAccountsResponse.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 ListGbpAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListGbpAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides