public static final class Branch.QualityMetric.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder> implements Branch.QualityMetricOrBuilder
Metric measured on a group of [Product][google.cloud.retail.v2alpha.Product]s against a certain quality requirement. Contains the number of products that pass the check and the number of products that don't.Protobuf type
google.cloud.retail.v2alpha.Branch.QualityMetric| Modifier and Type | Method and Description |
|---|---|
Branch.QualityMetric.Builder |
addAllUnqualifiedSampleProducts(Iterable<? extends Product> values)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Branch.QualityMetric.Builder |
addUnqualifiedSampleProducts(int index,
Product.Builder builderForValue)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric.Builder |
addUnqualifiedSampleProducts(int index,
Product value)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric.Builder |
addUnqualifiedSampleProducts(Product.Builder builderForValue)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric.Builder |
addUnqualifiedSampleProducts(Product value)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Product.Builder |
addUnqualifiedSampleProductsBuilder()
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Product.Builder |
addUnqualifiedSampleProductsBuilder(int index)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric |
build() |
Branch.QualityMetric |
buildPartial() |
Branch.QualityMetric.Builder |
clear() |
Branch.QualityMetric.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Branch.QualityMetric.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Branch.QualityMetric.Builder |
clearQualifiedProductCount()
Number of products passing the quality requirement check.
|
Branch.QualityMetric.Builder |
clearRequirementKey()
The key that represents a quality requirement rule.
|
Branch.QualityMetric.Builder |
clearSuggestedQualityPercentThreshold()
Value from 0 to 100 representing the suggested percentage of products
that meet the quality requirements to get good search and recommendation
performance. 100 * (qualified_product_count) /
(qualified_product_count + unqualified_product_count) should be greater
or equal to this suggestion.
|
Branch.QualityMetric.Builder |
clearUnqualifiedProductCount()
Number of products failing the quality requirement check.
|
Branch.QualityMetric.Builder |
clearUnqualifiedSampleProducts()
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric.Builder |
clone() |
Branch.QualityMetric |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getQualifiedProductCount()
Number of products passing the quality requirement check.
|
String |
getRequirementKey()
The key that represents a quality requirement rule.
|
com.google.protobuf.ByteString |
getRequirementKeyBytes()
The key that represents a quality requirement rule.
|
double |
getSuggestedQualityPercentThreshold()
Value from 0 to 100 representing the suggested percentage of products
that meet the quality requirements to get good search and recommendation
performance. 100 * (qualified_product_count) /
(qualified_product_count + unqualified_product_count) should be greater
or equal to this suggestion.
|
int |
getUnqualifiedProductCount()
Number of products failing the quality requirement check.
|
Product |
getUnqualifiedSampleProducts(int index)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Product.Builder |
getUnqualifiedSampleProductsBuilder(int index)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
List<Product.Builder> |
getUnqualifiedSampleProductsBuilderList()
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
int |
getUnqualifiedSampleProductsCount()
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
List<Product> |
getUnqualifiedSampleProductsList()
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
ProductOrBuilder |
getUnqualifiedSampleProductsOrBuilder(int index)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
List<? extends ProductOrBuilder> |
getUnqualifiedSampleProductsOrBuilderList()
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Branch.QualityMetric.Builder |
mergeFrom(Branch.QualityMetric other) |
Branch.QualityMetric.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Branch.QualityMetric.Builder |
mergeFrom(com.google.protobuf.Message other) |
Branch.QualityMetric.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Branch.QualityMetric.Builder |
removeUnqualifiedSampleProducts(int index)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Branch.QualityMetric.Builder |
setQualifiedProductCount(int value)
Number of products passing the quality requirement check.
|
Branch.QualityMetric.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Branch.QualityMetric.Builder |
setRequirementKey(String value)
The key that represents a quality requirement rule.
|
Branch.QualityMetric.Builder |
setRequirementKeyBytes(com.google.protobuf.ByteString value)
The key that represents a quality requirement rule.
|
Branch.QualityMetric.Builder |
setSuggestedQualityPercentThreshold(double value)
Value from 0 to 100 representing the suggested percentage of products
that meet the quality requirements to get good search and recommendation
performance. 100 * (qualified_product_count) /
(qualified_product_count + unqualified_product_count) should be greater
or equal to this suggestion.
|
Branch.QualityMetric.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Branch.QualityMetric.Builder |
setUnqualifiedProductCount(int value)
Number of products failing the quality requirement check.
|
Branch.QualityMetric.Builder |
setUnqualifiedSampleProducts(int index,
Product.Builder builderForValue)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
Branch.QualityMetric.Builder |
setUnqualifiedSampleProducts(int index,
Product value)
A list of a maximum of 100 sample products that do not qualify for
this requirement.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Branch.QualityMetric build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Branch.QualityMetric buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Branch.QualityMetric.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder mergeFrom(Branch.QualityMetric other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public Branch.QualityMetric.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Branch.QualityMetric.Builder>IOExceptionpublic String getRequirementKey()
The key that represents a quality requirement rule. Supported keys: * "has-valid-uri": product has a valid and accessible [uri][google.cloud.retail.v2alpha.Product.uri]. * "available-expire-time-conformance": [Product.available_time][google.cloud.retail.v2alpha.Product.available_time] is early than "now", and [Product.expire_time][google.cloud.retail.v2alpha.Product.expire_time] is greater than "now". * "has-searchable-attributes": product has at least one [attribute][google.cloud.retail.v2alpha.Product.attributes] set to searchable. * "has-description": product has non-empty [description][google.cloud.retail.v2alpha.Product.description]. * "has-at-least-bigram-title": Product [title][google.cloud.retail.v2alpha.Product.title] has at least two words. A comprehensive title helps to improve search quality. * "variant-has-image": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has at least one [image][google.cloud.retail.v2alpha.Product.images]. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "variant-has-price-info": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has [price_info][google.cloud.retail.v2alpha.Product.price_info] set. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "has-publish-time": product has non-empty [publish_time][google.cloud.retail.v2alpha.Product.publish_time].
string requirement_key = 1;getRequirementKey in interface Branch.QualityMetricOrBuilderpublic com.google.protobuf.ByteString getRequirementKeyBytes()
The key that represents a quality requirement rule. Supported keys: * "has-valid-uri": product has a valid and accessible [uri][google.cloud.retail.v2alpha.Product.uri]. * "available-expire-time-conformance": [Product.available_time][google.cloud.retail.v2alpha.Product.available_time] is early than "now", and [Product.expire_time][google.cloud.retail.v2alpha.Product.expire_time] is greater than "now". * "has-searchable-attributes": product has at least one [attribute][google.cloud.retail.v2alpha.Product.attributes] set to searchable. * "has-description": product has non-empty [description][google.cloud.retail.v2alpha.Product.description]. * "has-at-least-bigram-title": Product [title][google.cloud.retail.v2alpha.Product.title] has at least two words. A comprehensive title helps to improve search quality. * "variant-has-image": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has at least one [image][google.cloud.retail.v2alpha.Product.images]. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "variant-has-price-info": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has [price_info][google.cloud.retail.v2alpha.Product.price_info] set. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "has-publish-time": product has non-empty [publish_time][google.cloud.retail.v2alpha.Product.publish_time].
string requirement_key = 1;getRequirementKeyBytes in interface Branch.QualityMetricOrBuilderpublic Branch.QualityMetric.Builder setRequirementKey(String value)
The key that represents a quality requirement rule. Supported keys: * "has-valid-uri": product has a valid and accessible [uri][google.cloud.retail.v2alpha.Product.uri]. * "available-expire-time-conformance": [Product.available_time][google.cloud.retail.v2alpha.Product.available_time] is early than "now", and [Product.expire_time][google.cloud.retail.v2alpha.Product.expire_time] is greater than "now". * "has-searchable-attributes": product has at least one [attribute][google.cloud.retail.v2alpha.Product.attributes] set to searchable. * "has-description": product has non-empty [description][google.cloud.retail.v2alpha.Product.description]. * "has-at-least-bigram-title": Product [title][google.cloud.retail.v2alpha.Product.title] has at least two words. A comprehensive title helps to improve search quality. * "variant-has-image": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has at least one [image][google.cloud.retail.v2alpha.Product.images]. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "variant-has-price-info": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has [price_info][google.cloud.retail.v2alpha.Product.price_info] set. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "has-publish-time": product has non-empty [publish_time][google.cloud.retail.v2alpha.Product.publish_time].
string requirement_key = 1;value - The requirementKey to set.public Branch.QualityMetric.Builder clearRequirementKey()
The key that represents a quality requirement rule. Supported keys: * "has-valid-uri": product has a valid and accessible [uri][google.cloud.retail.v2alpha.Product.uri]. * "available-expire-time-conformance": [Product.available_time][google.cloud.retail.v2alpha.Product.available_time] is early than "now", and [Product.expire_time][google.cloud.retail.v2alpha.Product.expire_time] is greater than "now". * "has-searchable-attributes": product has at least one [attribute][google.cloud.retail.v2alpha.Product.attributes] set to searchable. * "has-description": product has non-empty [description][google.cloud.retail.v2alpha.Product.description]. * "has-at-least-bigram-title": Product [title][google.cloud.retail.v2alpha.Product.title] has at least two words. A comprehensive title helps to improve search quality. * "variant-has-image": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has at least one [image][google.cloud.retail.v2alpha.Product.images]. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "variant-has-price-info": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has [price_info][google.cloud.retail.v2alpha.Product.price_info] set. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "has-publish-time": product has non-empty [publish_time][google.cloud.retail.v2alpha.Product.publish_time].
string requirement_key = 1;public Branch.QualityMetric.Builder setRequirementKeyBytes(com.google.protobuf.ByteString value)
The key that represents a quality requirement rule. Supported keys: * "has-valid-uri": product has a valid and accessible [uri][google.cloud.retail.v2alpha.Product.uri]. * "available-expire-time-conformance": [Product.available_time][google.cloud.retail.v2alpha.Product.available_time] is early than "now", and [Product.expire_time][google.cloud.retail.v2alpha.Product.expire_time] is greater than "now". * "has-searchable-attributes": product has at least one [attribute][google.cloud.retail.v2alpha.Product.attributes] set to searchable. * "has-description": product has non-empty [description][google.cloud.retail.v2alpha.Product.description]. * "has-at-least-bigram-title": Product [title][google.cloud.retail.v2alpha.Product.title] has at least two words. A comprehensive title helps to improve search quality. * "variant-has-image": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has at least one [image][google.cloud.retail.v2alpha.Product.images]. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "variant-has-price-info": the [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] products has [price_info][google.cloud.retail.v2alpha.Product.price_info] set. You may ignore this metric if all your products are at [primary][google.cloud.retail.v2alpha.Product.Type.PRIMARY] level. * "has-publish-time": product has non-empty [publish_time][google.cloud.retail.v2alpha.Product.publish_time].
string requirement_key = 1;value - The bytes for requirementKey to set.public int getQualifiedProductCount()
Number of products passing the quality requirement check. We only check searchable products.
int32 qualified_product_count = 2;getQualifiedProductCount in interface Branch.QualityMetricOrBuilderpublic Branch.QualityMetric.Builder setQualifiedProductCount(int value)
Number of products passing the quality requirement check. We only check searchable products.
int32 qualified_product_count = 2;value - The qualifiedProductCount to set.public Branch.QualityMetric.Builder clearQualifiedProductCount()
Number of products passing the quality requirement check. We only check searchable products.
int32 qualified_product_count = 2;public int getUnqualifiedProductCount()
Number of products failing the quality requirement check. We only check searchable products.
int32 unqualified_product_count = 3;getUnqualifiedProductCount in interface Branch.QualityMetricOrBuilderpublic Branch.QualityMetric.Builder setUnqualifiedProductCount(int value)
Number of products failing the quality requirement check. We only check searchable products.
int32 unqualified_product_count = 3;value - The unqualifiedProductCount to set.public Branch.QualityMetric.Builder clearUnqualifiedProductCount()
Number of products failing the quality requirement check. We only check searchable products.
int32 unqualified_product_count = 3;public double getSuggestedQualityPercentThreshold()
Value from 0 to 100 representing the suggested percentage of products that meet the quality requirements to get good search and recommendation performance. 100 * (qualified_product_count) / (qualified_product_count + unqualified_product_count) should be greater or equal to this suggestion.
double suggested_quality_percent_threshold = 4;getSuggestedQualityPercentThreshold in interface Branch.QualityMetricOrBuilderpublic Branch.QualityMetric.Builder setSuggestedQualityPercentThreshold(double value)
Value from 0 to 100 representing the suggested percentage of products that meet the quality requirements to get good search and recommendation performance. 100 * (qualified_product_count) / (qualified_product_count + unqualified_product_count) should be greater or equal to this suggestion.
double suggested_quality_percent_threshold = 4;value - The suggestedQualityPercentThreshold to set.public Branch.QualityMetric.Builder clearSuggestedQualityPercentThreshold()
Value from 0 to 100 representing the suggested percentage of products that meet the quality requirements to get good search and recommendation performance. 100 * (qualified_product_count) / (qualified_product_count + unqualified_product_count) should be greater or equal to this suggestion.
double suggested_quality_percent_threshold = 4;public List<Product> getUnqualifiedSampleProductsList()
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;getUnqualifiedSampleProductsList in interface Branch.QualityMetricOrBuilderpublic int getUnqualifiedSampleProductsCount()
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;getUnqualifiedSampleProductsCount in interface Branch.QualityMetricOrBuilderpublic Product getUnqualifiedSampleProducts(int index)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;getUnqualifiedSampleProducts in interface Branch.QualityMetricOrBuilderpublic Branch.QualityMetric.Builder setUnqualifiedSampleProducts(int index, Product value)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder setUnqualifiedSampleProducts(int index, Product.Builder builderForValue)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder addUnqualifiedSampleProducts(Product value)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder addUnqualifiedSampleProducts(int index, Product value)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder addUnqualifiedSampleProducts(Product.Builder builderForValue)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder addUnqualifiedSampleProducts(int index, Product.Builder builderForValue)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder addAllUnqualifiedSampleProducts(Iterable<? extends Product> values)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder clearUnqualifiedSampleProducts()
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Branch.QualityMetric.Builder removeUnqualifiedSampleProducts(int index)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Product.Builder getUnqualifiedSampleProductsBuilder(int index)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public ProductOrBuilder getUnqualifiedSampleProductsOrBuilder(int index)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;getUnqualifiedSampleProductsOrBuilder in interface Branch.QualityMetricOrBuilderpublic List<? extends ProductOrBuilder> getUnqualifiedSampleProductsOrBuilderList()
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;getUnqualifiedSampleProductsOrBuilderList in interface Branch.QualityMetricOrBuilderpublic Product.Builder addUnqualifiedSampleProductsBuilder()
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public Product.Builder addUnqualifiedSampleProductsBuilder(int index)
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public List<Product.Builder> getUnqualifiedSampleProductsBuilderList()
A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to [BranchService.GetBranch][google.cloud.retail.v2alpha.BranchService.GetBranch] API, and is always empty for [BranchService.ListBranches][google.cloud.retail.v2alpha.BranchService.ListBranches]. Only the following fields are set in the [Product][google.cloud.retail.v2alpha.Product]. * [Product.name][google.cloud.retail.v2alpha.Product.name] * [Product.id][google.cloud.retail.v2alpha.Product.id] * [Product.title][google.cloud.retail.v2alpha.Product.title]
repeated .google.cloud.retail.v2alpha.Product unqualified_sample_products = 5;public final Branch.QualityMetric.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>public final Branch.QualityMetric.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Branch.QualityMetric.Builder>Copyright © 2025 Google LLC. All rights reserved.