Class ListRegionsResponse.Builder (0.1.0)

public static final class ListRegionsResponse.Builder extends GeneratedMessageV3.Builder<ListRegionsResponse.Builder> implements ListRegionsResponseOrBuilder

Response message for the ListRegions method.

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

Static Methods

getDescriptor()

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

Methods

addAllRegions(Iterable<? extends Region> values)

public ListRegionsResponse.Builder addAllRegions(Iterable<? extends Region> values)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.Region>
Returns
Type Description
ListRegionsResponse.Builder

addRegions(Region value)

public ListRegionsResponse.Builder addRegions(Region value)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
value Region
Returns
Type Description
ListRegionsResponse.Builder

addRegions(Region.Builder builderForValue)

public ListRegionsResponse.Builder addRegions(Region.Builder builderForValue)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
builderForValue Region.Builder
Returns
Type Description
ListRegionsResponse.Builder

addRegions(int index, Region value)

public ListRegionsResponse.Builder addRegions(int index, Region value)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameters
Name Description
index int
value Region
Returns
Type Description
ListRegionsResponse.Builder

addRegions(int index, Region.Builder builderForValue)

public ListRegionsResponse.Builder addRegions(int index, Region.Builder builderForValue)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameters
Name Description
index int
builderForValue Region.Builder
Returns
Type Description
ListRegionsResponse.Builder

addRegionsBuilder()

public Region.Builder addRegionsBuilder()

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Returns
Type Description
Region.Builder

addRegionsBuilder(int index)

public Region.Builder addRegionsBuilder(int index)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Region.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListRegionsResponse build()
Returns
Type Description
ListRegionsResponse

buildPartial()

public ListRegionsResponse buildPartial()
Returns
Type Description
ListRegionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListRegionsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListRegionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRegions()

public ListRegionsResponse.Builder clearRegions()

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Returns
Type Description
ListRegionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListRegionsResponse getDefaultInstanceForType()
Returns
Type Description
ListRegionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRegions(int index)

public Region getRegions(int index)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Region

getRegionsBuilder(int index)

public Region.Builder getRegionsBuilder(int index)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
Region.Builder

getRegionsBuilderList()

public List<Region.Builder> getRegionsBuilderList()

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Returns
Type Description
List<Builder>

getRegionsCount()

public int getRegionsCount()

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Returns
Type Description
int

getRegionsList()

public List<Region> getRegionsList()

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Returns
Type Description
List<Region>

getRegionsOrBuilder(int index)

public RegionOrBuilder getRegionsOrBuilder(int index)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
RegionOrBuilder

getRegionsOrBuilderList()

public List<? extends RegionOrBuilder> getRegionsOrBuilderList()

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.RegionOrBuilder>

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 ListRegionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRegionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListRegionsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRegions(int index)

public ListRegionsResponse.Builder removeRegions(int index)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRegionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRegionsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRegionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRegionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRegionsResponse.Builder

This builder for chaining.

setRegions(int index, Region value)

public ListRegionsResponse.Builder setRegions(int index, Region value)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameters
Name Description
index int
value Region
Returns
Type Description
ListRegionsResponse.Builder

setRegions(int index, Region.Builder builderForValue)

public ListRegionsResponse.Builder setRegions(int index, Region.Builder builderForValue)

The regions from the specified merchant.

repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;

Parameters
Name Description
index int
builderForValue Region.Builder
Returns
Type Description
ListRegionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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