public static final class ListAccountsRequest.Builder extends GeneratedMessage.Builder<ListAccountsRequest.Builder> implements ListAccountsRequestOrBuilder Request message for the ListAccounts method.
Protobuf type google.shopping.merchant.accounts.v1beta.ListAccountsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAccountsRequest.BuilderImplements
ListAccountsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListAccountsRequest build()| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest |
|
buildPartial()
public ListAccountsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest |
|
clear()
public ListAccountsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
|
clearFilter()
public ListAccountsRequest.Builder clearFilter()Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListAccountsRequest.Builder clearPageSize()Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListAccountsRequest.Builder clearPageToken() Optional. A page token, received from a previous ListAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAccounts must match
the call that provided the page token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListAccountsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize()Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous ListAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAccounts must match
the call that provided the page token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous ListAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAccounts must match
the call that provided the page token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAccountsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
|
mergeFrom(ListAccountsRequest other)
public ListAccountsRequest.Builder mergeFrom(ListAccountsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAccountsRequest |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
|
setFilter(String value)
public ListAccountsRequest.Builder setFilter(String value)Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListAccountsRequest.Builder setFilterBytes(ByteString value)Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListAccountsRequest.Builder setPageSize(int value)Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListAccountsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous ListAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAccounts must match
the call that provided the page token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListAccountsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous ListAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAccounts must match
the call that provided the page token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAccountsRequest.Builder |
This builder for chaining. |