Class ListGbpAccountsRequest.Builder (0.20.0)

public static final class ListGbpAccountsRequest.Builder extends GeneratedMessageV3.Builder<ListGbpAccountsRequest.Builder> implements ListGbpAccountsRequestOrBuilder

Request message for the ListGbpAccounts method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGbpAccountsRequest build()
Returns
Type Description
ListGbpAccountsRequest

buildPartial()

public ListGbpAccountsRequest buildPartial()
Returns
Type Description
ListGbpAccountsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListGbpAccountsRequest.Builder clearPageSize()

Optional. The maximum number of GbpAccount resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the pageSize. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

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

Returns
Type Description
ListGbpAccountsRequest.Builder

This builder for chaining.

clearPageToken()

public ListGbpAccountsRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListGbpAccounts call. Provide the page token to retrieve the subsequent page.

When paginating, all other parameters provided to ListGbpAccounts must match the call that provided the page token.

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

Returns
Type Description
ListGbpAccountsRequest.Builder

This builder for chaining.

clearParent()

public ListGbpAccountsRequest.Builder clearParent()

Required. The name of the parent resource under which the GBP accounts are listed. Format: accounts/{account}.

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

Returns
Type Description
ListGbpAccountsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListGbpAccountsRequest getDefaultInstanceForType()
Returns
Type Description
ListGbpAccountsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of GbpAccount resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the pageSize. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListGbpAccounts call. Provide the page token to retrieve the subsequent page.

When paginating, all other parameters provided to ListGbpAccounts must match the call that provided the page token.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListGbpAccounts call. Provide the page token to retrieve the subsequent page.

When paginating, all other parameters provided to ListGbpAccounts must match the call that provided the page token.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the parent resource under which the GBP accounts are listed. 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 name of the parent resource under which the GBP accounts are listed. 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListGbpAccountsRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListGbpAccountsRequest.Builder setPageSize(int value)

Optional. The maximum number of GbpAccount resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the pageSize. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListGbpAccountsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListGbpAccountsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListGbpAccounts call. Provide the page token to retrieve the subsequent page.

When paginating, all other parameters provided to ListGbpAccounts must match the call that provided the page token.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListGbpAccountsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListGbpAccountsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListGbpAccounts call. Provide the page token to retrieve the subsequent page.

When paginating, all other parameters provided to ListGbpAccounts must match the call that provided the page token.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListGbpAccountsRequest.Builder

This builder for chaining.

setParent(String value)

public ListGbpAccountsRequest.Builder setParent(String value)

Required. The name of the parent resource under which the GBP accounts are listed. 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
ListGbpAccountsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListGbpAccountsRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent resource under which the GBP accounts are listed. 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
ListGbpAccountsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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