Class ListProductReviewsResponse.Builder (0.2.0)
0.41.0 (latest)
0.40.0
0.39.0
0.37.0
0.34.0
0.33.0
0.31.0
0.29.0
0.28.0
0.26.0
0.24.0
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.16.0
0.14.0
0.13.0
0.10.0
0.9.0
0.8.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
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
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 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 >
public ListProductReviewsResponse . Builder addProductReviews ( ProductReview value )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ListProductReviewsResponse . Builder addProductReviews ( ProductReview . Builder builderForValue )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ListProductReviewsResponse . Builder addProductReviews ( int index , ProductReview value )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ListProductReviewsResponse . Builder addProductReviews ( int index , ProductReview . Builder builderForValue )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ProductReview . Builder addProductReviewsBuilder ()
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ProductReview . Builder addProductReviewsBuilder ( int index )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
Parameter
Name
Description
index
int
public ListProductReviewsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ListProductReviewsResponse build ()
public ListProductReviewsResponse buildPartial ()
public ListProductReviewsResponse . Builder clear ()
Overrides
public ListProductReviewsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
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;
public ListProductReviewsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public ListProductReviewsResponse . Builder clearProductReviews ()
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ListProductReviewsResponse . Builder clone ()
Overrides
public ListProductReviewsResponse 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 ProductReview getProductReviews ( int index )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
Parameter
Name
Description
index
int
public ProductReview . Builder getProductReviewsBuilder ( int index )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
Parameter
Name
Description
index
int
public List<ProductReview . Builder > getProductReviewsBuilderList ()
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public int getProductReviewsCount ()
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
Returns
Type
Description
int
public List<ProductReview> getProductReviewsList ()
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ProductReviewOrBuilder getProductReviewsOrBuilder ( int index )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
Parameter
Name
Description
index
int
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 >
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ListProductReviewsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public ListProductReviewsResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public ListProductReviewsResponse . Builder mergeFrom ( ListProductReviewsResponse other )
public final ListProductReviewsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public ListProductReviewsResponse . Builder removeProductReviews ( int index )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
Parameter
Name
Description
index
int
public ListProductReviewsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
public ListProductReviewsResponse . Builder setProductReviews ( int index , ProductReview value )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ListProductReviewsResponse . Builder setProductReviews ( int index , ProductReview . Builder builderForValue )
The product review.
repeated .google.shopping.merchant.reviews.v1beta.ProductReview product_reviews = 1;
public ListProductReviewsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final ListProductReviewsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-04 UTC."],[],[]]