| Modifier and Type | Method and Description |
|---|---|
Rating.Builder |
Rating.Builder.addAllRatingHistogram(Iterable<? extends Integer> values)
List of rating counts per rating value (index = rating - 1).
|
Rating.Builder |
Rating.Builder.addRatingHistogram(int value)
List of rating counts per rating value (index = rating - 1).
|
Rating.Builder |
Rating.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rating.Builder |
Rating.Builder.clear() |
Rating.Builder |
Rating.Builder.clearAverageRating()
The average rating of the [Product][google.cloud.retail.v2.Product].
|
Rating.Builder |
Rating.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Rating.Builder |
Rating.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Rating.Builder |
Rating.Builder.clearRatingCount()
The total number of ratings.
|
Rating.Builder |
Rating.Builder.clearRatingHistogram()
List of rating counts per rating value (index = rating - 1).
|
Rating.Builder |
Rating.Builder.clone() |
Rating.Builder |
Product.Builder.getRatingBuilder()
The rating of this product.
|
Rating.Builder |
Rating.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Rating.Builder |
Rating.Builder.mergeFrom(com.google.protobuf.Message other) |
Rating.Builder |
Rating.Builder.mergeFrom(Rating other) |
Rating.Builder |
Rating.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Rating.Builder |
Rating.newBuilder() |
static Rating.Builder |
Rating.newBuilder(Rating prototype) |
Rating.Builder |
Rating.newBuilderForType() |
protected Rating.Builder |
Rating.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Rating.Builder |
Rating.Builder.setAverageRating(float value)
The average rating of the [Product][google.cloud.retail.v2.Product].
|
Rating.Builder |
Rating.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rating.Builder |
Rating.Builder.setRatingCount(int value)
The total number of ratings.
|
Rating.Builder |
Rating.Builder.setRatingHistogram(int index,
int value)
List of rating counts per rating value (index = rating - 1).
|
Rating.Builder |
Rating.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Rating.Builder |
Rating.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Rating.Builder |
Rating.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Product.Builder |
Product.Builder.setRating(Rating.Builder builderForValue)
The rating of this product.
|
Copyright © 2024 Google LLC. All rights reserved.