Class ListMerchantReviewsResponse.Builder (0.1.0)

public static final class ListMerchantReviewsResponse.Builder extends GeneratedMessageV3.Builder<ListMerchantReviewsResponse.Builder> implements ListMerchantReviewsResponseOrBuilder

Response message for the ListMerchantsReview method.

Protobuf type google.shopping.merchant.reviews.v1beta.ListMerchantReviewsResponse

Static Methods

getDescriptor()

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

Methods

addAllMerchantReviews(Iterable<? extends MerchantReview> values)

public ListMerchantReviewsResponse.Builder addAllMerchantReviews(Iterable<? extends MerchantReview> values)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.reviews.v1beta.MerchantReview>
Returns
Type Description
ListMerchantReviewsResponse.Builder

addMerchantReviews(MerchantReview value)

public ListMerchantReviewsResponse.Builder addMerchantReviews(MerchantReview value)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
value MerchantReview
Returns
Type Description
ListMerchantReviewsResponse.Builder

addMerchantReviews(MerchantReview.Builder builderForValue)

public ListMerchantReviewsResponse.Builder addMerchantReviews(MerchantReview.Builder builderForValue)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
builderForValue MerchantReview.Builder
Returns
Type Description
ListMerchantReviewsResponse.Builder

addMerchantReviews(int index, MerchantReview value)

public ListMerchantReviewsResponse.Builder addMerchantReviews(int index, MerchantReview value)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameters
Name Description
index int
value MerchantReview
Returns
Type Description
ListMerchantReviewsResponse.Builder

addMerchantReviews(int index, MerchantReview.Builder builderForValue)

public ListMerchantReviewsResponse.Builder addMerchantReviews(int index, MerchantReview.Builder builderForValue)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameters
Name Description
index int
builderForValue MerchantReview.Builder
Returns
Type Description
ListMerchantReviewsResponse.Builder

addMerchantReviewsBuilder()

public MerchantReview.Builder addMerchantReviewsBuilder()

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Returns
Type Description
MerchantReview.Builder

addMerchantReviewsBuilder(int index)

public MerchantReview.Builder addMerchantReviewsBuilder(int index)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantReview.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListMerchantReviewsResponse build()
Returns
Type Description
ListMerchantReviewsResponse

buildPartial()

public ListMerchantReviewsResponse buildPartial()
Returns
Type Description
ListMerchantReviewsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMerchantReviews()

public ListMerchantReviewsResponse.Builder clearMerchantReviews()

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Returns
Type Description
ListMerchantReviewsResponse.Builder

clearNextPageToken()

public ListMerchantReviewsResponse.Builder clearNextPageToken()

The token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListMerchantReviewsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListMerchantReviewsResponse getDefaultInstanceForType()
Returns
Type Description
ListMerchantReviewsResponse

getDescriptorForType()

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

getMerchantReviews(int index)

public MerchantReview getMerchantReviews(int index)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantReview

getMerchantReviewsBuilder(int index)

public MerchantReview.Builder getMerchantReviewsBuilder(int index)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantReview.Builder

getMerchantReviewsBuilderList()

public List<MerchantReview.Builder> getMerchantReviewsBuilderList()

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Returns
Type Description
List<Builder>

getMerchantReviewsCount()

public int getMerchantReviewsCount()

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Returns
Type Description
int

getMerchantReviewsList()

public List<MerchantReview> getMerchantReviewsList()

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Returns
Type Description
List<MerchantReview>

getMerchantReviewsOrBuilder(int index)

public MerchantReviewOrBuilder getMerchantReviewsOrBuilder(int index)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
MerchantReviewOrBuilder

getMerchantReviewsOrBuilderList()

public List<? extends MerchantReviewOrBuilder> getMerchantReviewsOrBuilderList()

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.reviews.v1beta.MerchantReviewOrBuilder>

getNextPageToken()

public String getNextPageToken()

The token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

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

mergeFrom(Message other)

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

mergeFrom(ListMerchantReviewsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMerchantReviews(int index)

public ListMerchantReviewsResponse.Builder removeMerchantReviews(int index)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMerchantReviewsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMerchantReviews(int index, MerchantReview value)

public ListMerchantReviewsResponse.Builder setMerchantReviews(int index, MerchantReview value)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameters
Name Description
index int
value MerchantReview
Returns
Type Description
ListMerchantReviewsResponse.Builder

setMerchantReviews(int index, MerchantReview.Builder builderForValue)

public ListMerchantReviewsResponse.Builder setMerchantReviews(int index, MerchantReview.Builder builderForValue)

The merchant review.

repeated .google.shopping.merchant.reviews.v1beta.MerchantReview merchant_reviews = 1;

Parameters
Name Description
index int
builderForValue MerchantReview.Builder
Returns
Type Description
ListMerchantReviewsResponse.Builder

setNextPageToken(String value)

public ListMerchantReviewsResponse.Builder setNextPageToken(String value)

The token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListMerchantReviewsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMerchantReviewsResponse.Builder setNextPageTokenBytes(ByteString value)

The token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListMerchantReviewsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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