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