Class ListAccountsRequest.Builder (0.2.0)

public static final class ListAccountsRequest.Builder extends GeneratedMessageV3.Builder<ListAccountsRequest.Builder> implements ListAccountsRequestOrBuilder

Request message for the ListAccounts method.

Protobuf type google.shopping.merchant.accounts.v1beta.ListAccountsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

getDefaultInstanceForType()

public ListAccountsRequest getDefaultInstanceForType()
Returns
Type Description
ListAccountsRequest

getDescriptorForType()

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

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListAccountsRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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 String

The 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 ByteString

The 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 int

The 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 String

The 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 ByteString

The bytes for pageToken to set.

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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