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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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
|
public ListRegionsResponse.Builder addRegions(Region.Builder builderForValue)
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
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
|
public ListRegionsResponse.Builder addRegions(int index, Region.Builder builderForValue)
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
public Region.Builder addRegionsBuilder()
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
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
|
public ListRegionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListRegionsResponse build()
public ListRegionsResponse buildPartial()
public ListRegionsResponse.Builder clear()
Overrides
public ListRegionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListRegionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListRegionsResponse.Builder clearRegions()
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
public ListRegionsResponse.Builder clone()
Overrides
public ListRegionsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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 |
|
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
|
public List<Region.Builder> getRegionsBuilderList()
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
public int getRegionsCount()
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
Returns |
Type |
Description |
int |
|
public List<Region> getRegionsList()
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListRegionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListRegionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListRegionsResponse.Builder mergeFrom(ListRegionsResponse other)
public final ListRegionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListRegionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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
|
public ListRegionsResponse.Builder setRegions(int index, Region.Builder builderForValue)
The regions from the specified merchant.
repeated .google.shopping.merchant.accounts.v1beta.Region regions = 1;
public ListRegionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListRegionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides