public static final class ListAccountsResponse.Builder extends GeneratedMessageV3.Builder<ListAccountsResponse.Builder> implements ListAccountsResponseOrBuilder
Response message for the ListAccounts
method.
Protobuf type google.shopping.merchant.accounts.v1beta.ListAccountsResponse
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 ListAccountsResponse.Builder addAccounts(Account value)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameter |
Name |
Description |
value |
Account
|
public ListAccountsResponse.Builder addAccounts(Account.Builder builderForValue)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
public ListAccountsResponse.Builder addAccounts(int index, Account value)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Account
|
public ListAccountsResponse.Builder addAccounts(int index, Account.Builder builderForValue)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
public Account.Builder addAccountsBuilder()
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
public Account.Builder addAccountsBuilder(int index)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public ListAccountsResponse.Builder addAllAccounts(Iterable<? extends Account> values)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1beta.Account>
|
public ListAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListAccountsResponse build()
public ListAccountsResponse buildPartial()
public ListAccountsResponse.Builder clear()
Overrides
public ListAccountsResponse.Builder clearAccounts()
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
public ListAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAccountsResponse.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 ListAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListAccountsResponse.Builder clone()
Overrides
public Account getAccounts(int index)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public Account.Builder getAccountsBuilder(int index)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public List<Account.Builder> getAccountsBuilderList()
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
public int getAccountsCount()
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Returns |
Type |
Description |
int |
|
public List<Account> getAccountsList()
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
public AccountOrBuilder getAccountsOrBuilder(int index)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends AccountOrBuilder> getAccountsOrBuilderList()
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.accounts.v1beta.AccountOrBuilder> |
|
public ListAccountsResponse 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListAccountsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListAccountsResponse.Builder mergeFrom(ListAccountsResponse other)
public final ListAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListAccountsResponse.Builder removeAccounts(int index)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameter |
Name |
Description |
index |
int
|
public ListAccountsResponse.Builder setAccounts(int index, Account value)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Account
|
public ListAccountsResponse.Builder setAccounts(int index, Account.Builder builderForValue)
The accounts matching the ListAccountsRequest
.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
public ListAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListAccountsResponse.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 ListAccountsResponse.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 ListAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides