Class ListAccountRelationshipsRequest.Builder (1.11.0)

public static final class ListAccountRelationshipsRequest.Builder extends GeneratedMessage.Builder<ListAccountRelationshipsRequest.Builder> implements ListAccountRelationshipsRequestOrBuilder

Request to list account relationships.

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

Static Methods

getDescriptor()

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

Methods

build()

public ListAccountRelationshipsRequest build()
Returns
Type Description
ListAccountRelationshipsRequest

buildPartial()

public ListAccountRelationshipsRequest buildPartial()
Returns
Type Description
ListAccountRelationshipsRequest

clear()

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

clearPageSize()

public ListAccountRelationshipsRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListAccountRelationshipsRequest.Builder

This builder for chaining.

clearPageToken()

public ListAccountRelationshipsRequest.Builder clearPageToken()

Optional. The token returned by the previous list request.

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

Returns
Type Description
ListAccountRelationshipsRequest.Builder

This builder for chaining.

clearParent()

public ListAccountRelationshipsRequest.Builder clearParent()

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

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

Returns
Type Description
ListAccountRelationshipsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListAccountRelationshipsRequest getDefaultInstanceForType()
Returns
Type Description
ListAccountRelationshipsRequest

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 = 4 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent account of the account relationship 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 relationship 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 ListAccountRelationshipsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAccountRelationshipsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListAccountRelationshipsRequest other)

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

setPageSize(int value)

public ListAccountRelationshipsRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListAccountRelationshipsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListAccountRelationshipsRequest.Builder setPageToken(String value)

Optional. The token returned by the previous list request.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListAccountRelationshipsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListAccountRelationshipsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The token returned by the previous list request.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListAccountRelationshipsRequest.Builder

This builder for chaining.

setParent(String value)

public ListAccountRelationshipsRequest.Builder setParent(String value)

Required. The parent account of the account relationship 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
ListAccountRelationshipsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListAccountRelationshipsRequest.Builder setParentBytes(ByteString value)

Required. The parent account of the account relationship 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
ListAccountRelationshipsRequest.Builder

This builder for chaining.