Class ListProductReviewsResponse.Builder (0.1.0)

public static final class ListProductReviewsResponse.Builder extends GeneratedMessageV3.Builder<ListProductReviewsResponse.Builder> implements ListProductReviewsResponseOrBuilder

response message for the ListProductReviews method.

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

Static Methods

getDescriptor()

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

Methods

addAllProductReviews(Iterable<? extends ProductReview> values)

public ListProductReviewsResponse.Builder addAllProductReviews(Iterable<? extends ProductReview> values)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

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

addProductReviews(ProductReview value)

public ListProductReviewsResponse.Builder addProductReviews(ProductReview value)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameter
Name Description
value ProductReview
Returns
Type Description
ListProductReviewsResponse.Builder

addProductReviews(ProductReview.Builder builderForValue)

public ListProductReviewsResponse.Builder addProductReviews(ProductReview.Builder builderForValue)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameter
Name Description
builderForValue ProductReview.Builder
Returns
Type Description
ListProductReviewsResponse.Builder

addProductReviews(int index, ProductReview value)

public ListProductReviewsResponse.Builder addProductReviews(int index, ProductReview value)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameters
Name Description
index int
value ProductReview
Returns
Type Description
ListProductReviewsResponse.Builder

addProductReviews(int index, ProductReview.Builder builderForValue)

public ListProductReviewsResponse.Builder addProductReviews(int index, ProductReview.Builder builderForValue)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameters
Name Description
index int
builderForValue ProductReview.Builder
Returns
Type Description
ListProductReviewsResponse.Builder

addProductReviewsBuilder()

public ProductReview.Builder addProductReviewsBuilder()

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Returns
Type Description
ProductReview.Builder

addProductReviewsBuilder(int index)

public ProductReview.Builder addProductReviewsBuilder(int index)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductReview.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProductReviewsResponse build()
Returns
Type Description
ListProductReviewsResponse

buildPartial()

public ListProductReviewsResponse buildPartial()
Returns
Type Description
ListProductReviewsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProductReviewsResponse.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
ListProductReviewsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProductReviews()

public ListProductReviewsResponse.Builder clearProductReviews()

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Returns
Type Description
ListProductReviewsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProductReviewsResponse getDefaultInstanceForType()
Returns
Type Description
ListProductReviewsResponse

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.

getProductReviews(int index)

public ProductReview getProductReviews(int index)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductReview

getProductReviewsBuilder(int index)

public ProductReview.Builder getProductReviewsBuilder(int index)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductReview.Builder

getProductReviewsBuilderList()

public List<ProductReview.Builder> getProductReviewsBuilderList()

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Returns
Type Description
List<Builder>

getProductReviewsCount()

public int getProductReviewsCount()

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Returns
Type Description
int

getProductReviewsList()

public List<ProductReview> getProductReviewsList()

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Returns
Type Description
List<ProductReview>

getProductReviewsOrBuilder(int index)

public ProductReviewOrBuilder getProductReviewsOrBuilder(int index)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductReviewOrBuilder

getProductReviewsOrBuilderList()

public List<? extends ProductReviewOrBuilder> getProductReviewsOrBuilderList()

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

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

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

mergeFrom(Message other)

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

mergeFrom(ListProductReviewsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProductReviews(int index)

public ListProductReviewsResponse.Builder removeProductReviews(int index)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProductReviewsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProductReviewsResponse.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
ListProductReviewsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProductReviewsResponse.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
ListProductReviewsResponse.Builder

This builder for chaining.

setProductReviews(int index, ProductReview value)

public ListProductReviewsResponse.Builder setProductReviews(int index, ProductReview value)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameters
Name Description
index int
value ProductReview
Returns
Type Description
ListProductReviewsResponse.Builder

setProductReviews(int index, ProductReview.Builder builderForValue)

public ListProductReviewsResponse.Builder setProductReviews(int index, ProductReview.Builder builderForValue)

The product review.

repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;

Parameters
Name Description
index int
builderForValue ProductReview.Builder
Returns
Type Description
ListProductReviewsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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