Class ListAccountServicesRequest.Builder (1.11.0)

public static final class ListAccountServicesRequest.Builder extends GeneratedMessage.Builder<ListAccountServicesRequest.Builder> implements ListAccountServicesRequestOrBuilder

Request to list account services.

Protobuf type google.shopping.merchant.accounts.v1.ListAccountServicesRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListAccountServicesRequest build()
Returns
Type Description
ListAccountServicesRequest

buildPartial()

public ListAccountServicesRequest buildPartial()
Returns
Type Description
ListAccountServicesRequest

clear()

public ListAccountServicesRequest.Builder clear()
Returns
Type Description
ListAccountServicesRequest.Builder
Overrides

clearPageSize()

public ListAccountServicesRequest.Builder clearPageSize()

Optional. The maximum number of elements to return in the response. Use for paging. If no page_size is specified, 100 is used as the default value. The maximum allowed value is 1000.

int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.

clearPageToken()

public ListAccountServicesRequest.Builder clearPageToken()

Optional. The token returned by the previous list request.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.

clearParent()

public ListAccountServicesRequest.Builder clearParent()

Required. The parent account of the account service to filter by. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListAccountServicesRequest getDefaultInstanceForType()
Returns
Type Description
ListAccountServicesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of elements to return in the response. Use for paging. If no page_size is specified, 100 is used as the default value. The maximum allowed value is 1000.

int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The token returned by the previous list request.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The token returned by the previous list request.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent account of the account service to filter by. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent account of the account service to filter by. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAccountServicesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAccountServicesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListAccountServicesRequest other)

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

setPageSize(int value)

public ListAccountServicesRequest.Builder setPageSize(int value)

Optional. The maximum number of elements to return in the response. Use for paging. If no page_size is specified, 100 is used as the default value. The maximum allowed value is 1000.

int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListAccountServicesRequest.Builder setPageToken(String value)

Optional. The token returned by the previous list request.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListAccountServicesRequest.Builder setPageTokenBytes(ByteString value)

Optional. The token returned by the previous list request.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.

setParent(String value)

public ListAccountServicesRequest.Builder setParent(String value)

Required. The parent account of the account service to filter by. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListAccountServicesRequest.Builder setParentBytes(ByteString value)

Required. The parent account of the account service to filter by. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListAccountServicesRequest.Builder

This builder for chaining.