public static final class ProductSet.Builder extends GeneratedMessageV3.Builder<ProductSet.Builder> implements ProductSetOrBuilder
A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.
Protobuf type google.cloud.vision.v1p3beta1.ProductSet
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProductSet.BuilderImplements
ProductSetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProductSet.Builder |
build()
public ProductSet build()
Type | Description |
ProductSet |
buildPartial()
public ProductSet buildPartial()
Type | Description |
ProductSet |
clear()
public ProductSet.Builder clear()
Type | Description |
ProductSet.Builder |
clearDisplayName()
public ProductSet.Builder clearDisplayName()
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;
Type | Description |
ProductSet.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ProductSet.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ProductSet.Builder |
clearIndexError()
public ProductSet.Builder clearIndexError()
Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.
.google.rpc.Status index_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProductSet.Builder |
clearIndexTime()
public ProductSet.Builder clearIndexTime()
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this field is 0. This field is ignored when creating a ProductSet.
.google.protobuf.Timestamp index_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProductSet.Builder |