Class ListRegionalInventoriesRequest.Builder (0.13.0)

public static final class ListRegionalInventoriesRequest.Builder extends GeneratedMessageV3.Builder<ListRegionalInventoriesRequest.Builder> implements ListRegionalInventoriesRequestOrBuilder

Request message for the ListRegionalInventories method.

Protobuf type google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRegionalInventoriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

build()

public ListRegionalInventoriesRequest build()
Returns
TypeDescription
ListRegionalInventoriesRequest

buildPartial()

public ListRegionalInventoriesRequest buildPartial()
Returns
TypeDescription
ListRegionalInventoriesRequest

clear()

public ListRegionalInventoriesRequest.Builder clear()
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRegionalInventoriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRegionalInventoriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

clearPageSize()

public ListRegionalInventoriesRequest.Builder clearPageSize()

The maximum number of RegionalInventory resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the pageSize. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

int32 page_size = 2;

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

clearPageToken()

public ListRegionalInventoriesRequest.Builder clearPageToken()

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

When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

string page_token = 3;

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

clearParent()

public ListRegionalInventoriesRequest.Builder clearParent()

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

clone()

public ListRegionalInventoriesRequest.Builder clone()
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListRegionalInventoriesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListRegionalInventoriesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of RegionalInventory resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the pageSize. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

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

When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRegionalInventoriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListRegionalInventoriesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

mergeFrom(ListRegionalInventoriesRequest other)

public ListRegionalInventoriesRequest.Builder mergeFrom(ListRegionalInventoriesRequest other)
Parameter
NameDescription
otherListRegionalInventoriesRequest
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRegionalInventoriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListRegionalInventoriesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

setPageSize(int value)

public ListRegionalInventoriesRequest.Builder setPageSize(int value)

The maximum number of RegionalInventory resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the pageSize. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListRegionalInventoriesRequest.Builder setPageToken(String value)

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

When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListRegionalInventoriesRequest.Builder setPageTokenBytes(ByteString value)

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

When paginating, all other parameters provided to ListRegionalInventories must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

setParent(String value)

public ListRegionalInventoriesRequest.Builder setParent(String value)

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListRegionalInventoriesRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent product to list RegionalInventory resources for. Format: accounts/{account}/products/{product}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListRegionalInventoriesRequest.Builder

This builder for chaining.

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

public ListRegionalInventoriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRegionalInventoriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRegionalInventoriesRequest.Builder
Overrides