Package com.google.cloud.retail.v2alpha
Class Branch.QualityMetric.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Branch.QualityMetric.Builder>
com.google.cloud.retail.v2alpha.Branch.QualityMetric.Builder
- All Implemented Interfaces:
Branch.QualityMetricOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Branch.QualityMetric
public static final class Branch.QualityMetric.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnqualifiedSampleProducts(Iterable<? extends Product> values) A list of a maximum of 100 sample products that do not qualify for this requirement.addUnqualifiedSampleProducts(int index, Product value) A list of a maximum of 100 sample products that do not qualify for this requirement.addUnqualifiedSampleProducts(int index, Product.Builder builderForValue) A list of a maximum of 100 sample products that do not qualify for this requirement.A list of a maximum of 100 sample products that do not qualify for this requirement.addUnqualifiedSampleProducts(Product.Builder builderForValue) A list of a maximum of 100 sample products that do not qualify for this requirement.A list of a maximum of 100 sample products that do not qualify for this requirement.addUnqualifiedSampleProductsBuilder(int index) A list of a maximum of 100 sample products that do not qualify for this requirement.build()clear()Number of products passing the quality requirement check.The key that represents a quality requirement rule.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.Number of products failing the quality requirement check.A list of a maximum of 100 sample products that do not qualify for this requirement.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintNumber of products passing the quality requirement check.The key that represents a quality requirement rule.com.google.protobuf.ByteStringThe key that represents a quality requirement rule.doubleValue 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.intNumber of products failing the quality requirement check.getUnqualifiedSampleProducts(int index) A list of a maximum of 100 sample products that do not qualify for this requirement.getUnqualifiedSampleProductsBuilder(int index) A list of a maximum of 100 sample products that do not qualify for this requirement.A list of a maximum of 100 sample products that do not qualify for this requirement.intA list of a maximum of 100 sample products that do not qualify for this requirement.A list of a maximum of 100 sample products that do not qualify for this requirement.getUnqualifiedSampleProductsOrBuilder(int index) A list of a maximum of 100 sample products that do not qualify for this requirement.List<? extends ProductOrBuilder>A list of a maximum of 100 sample products that do not qualify for this requirement.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Branch.QualityMetric other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeUnqualifiedSampleProducts(int index) A list of a maximum of 100 sample products that do not qualify for this requirement.setQualifiedProductCount(int value) Number of products passing the quality requirement check.setRequirementKey(String value) The key that represents a quality requirement rule.setRequirementKeyBytes(com.google.protobuf.ByteString value) The key that represents a quality requirement rule.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.setUnqualifiedProductCount(int value) Number of products failing the quality requirement check.setUnqualifiedSampleProducts(int index, Product value) A list of a maximum of 100 sample products that do not qualify for this requirement.setUnqualifiedSampleProducts(int index, Product.Builder builderForValue) A list of a maximum of 100 sample products that do not qualify for this requirement.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Branch.QualityMetric.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Branch.QualityMetric.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Branch.QualityMetric.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Branch.QualityMetric.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Branch.QualityMetric.Builder>
-
mergeFrom
public Branch.QualityMetric.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Branch.QualityMetric.Builder>- Throws:
IOException
-
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;- Specified by:
getRequirementKeyin interfaceBranch.QualityMetricOrBuilder- Returns:
- The requirementKey.
-
getRequirementKeyBytes
public 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;- Specified by:
getRequirementKeyBytesin interfaceBranch.QualityMetricOrBuilder- Returns:
- The bytes for requirementKey.
-
setRequirementKey
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;- Parameters:
value- The requirementKey to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setRequirementKeyBytes
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;- Parameters:
value- The bytes for requirementKey to set.- Returns:
- This builder for chaining.
-
getQualifiedProductCount
public int getQualifiedProductCount()Number of products passing the quality requirement check. We only check searchable products.
int32 qualified_product_count = 2;- Specified by:
getQualifiedProductCountin interfaceBranch.QualityMetricOrBuilder- Returns:
- The qualifiedProductCount.
-
setQualifiedProductCount
Number of products passing the quality requirement check. We only check searchable products.
int32 qualified_product_count = 2;- Parameters:
value- The qualifiedProductCount to set.- Returns:
- This builder for chaining.
-
clearQualifiedProductCount
Number of products passing the quality requirement check. We only check searchable products.
int32 qualified_product_count = 2;- Returns:
- This builder for chaining.
-
getUnqualifiedProductCount
public int getUnqualifiedProductCount()Number of products failing the quality requirement check. We only check searchable products.
int32 unqualified_product_count = 3;- Specified by:
getUnqualifiedProductCountin interfaceBranch.QualityMetricOrBuilder- Returns:
- The unqualifiedProductCount.
-
setUnqualifiedProductCount
Number of products failing the quality requirement check. We only check searchable products.
int32 unqualified_product_count = 3;- Parameters:
value- The unqualifiedProductCount to set.- Returns:
- This builder for chaining.
-
clearUnqualifiedProductCount
Number of products failing the quality requirement check. We only check searchable products.
int32 unqualified_product_count = 3;- Returns:
- This builder for chaining.
-
getSuggestedQualityPercentThreshold
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;- Specified by:
getSuggestedQualityPercentThresholdin interfaceBranch.QualityMetricOrBuilder- Returns:
- The suggestedQualityPercentThreshold.
-
setSuggestedQualityPercentThreshold
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;- Parameters:
value- The suggestedQualityPercentThreshold to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
getUnqualifiedSampleProductsListin interfaceBranch.QualityMetricOrBuilder
-
getUnqualifiedSampleProductsCount
public 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;- Specified by:
getUnqualifiedSampleProductsCountin interfaceBranch.QualityMetricOrBuilder
-
getUnqualifiedSampleProducts
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;- Specified by:
getUnqualifiedSampleProductsin interfaceBranch.QualityMetricOrBuilder
-
setUnqualifiedSampleProducts
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; -
setUnqualifiedSampleProducts
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; -
addUnqualifiedSampleProducts
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; -
addUnqualifiedSampleProducts
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; -
addUnqualifiedSampleProducts
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; -
addUnqualifiedSampleProducts
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; -
addAllUnqualifiedSampleProducts
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; -
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; -
removeUnqualifiedSampleProducts
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; -
getUnqualifiedSampleProductsBuilder
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
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;- Specified by:
getUnqualifiedSampleProductsOrBuilderin interfaceBranch.QualityMetricOrBuilder
-
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;- Specified by:
getUnqualifiedSampleProductsOrBuilderListin interfaceBranch.QualityMetricOrBuilder
-
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; -
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; -
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;
-