public static final class ProductSet.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
ProductSet.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ProductSet |
build() |
ProductSet |
buildPartial() |
ProductSet.Builder |
clear() |
ProductSet.Builder |
clearDisplayName()
The user-provided name for this ProductSet.
|
ProductSet.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ProductSet.Builder |
clearIndexError()
Output only.
|
ProductSet.Builder |
clearIndexTime()
Output only.
|
ProductSet.Builder |
clearName()
The resource name of the ProductSet.
|
ProductSet.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ProductSet.Builder |
clone() |
ProductSet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The user-provided name for this ProductSet.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The user-provided name for this ProductSet.
|
com.google.rpc.Status |
getIndexError()
Output only.
|
com.google.rpc.Status.Builder |
getIndexErrorBuilder()
Output only.
|
com.google.rpc.StatusOrBuilder |
getIndexErrorOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getIndexTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getIndexTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getIndexTimeOrBuilder()
Output only.
|
String |
getName()
The resource name of the ProductSet.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the ProductSet.
|
boolean |
hasIndexError()
Output only.
|
boolean |
hasIndexTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ProductSet.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ProductSet.Builder |
mergeFrom(com.google.protobuf.Message other) |
ProductSet.Builder |
mergeFrom(ProductSet other) |
ProductSet.Builder |
mergeIndexError(com.google.rpc.Status value)
Output only.
|
ProductSet.Builder |
mergeIndexTime(com.google.protobuf.Timestamp value)
Output only.
|
ProductSet.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ProductSet.Builder |
setDisplayName(String value)
The user-provided name for this ProductSet.
|
ProductSet.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The user-provided name for this ProductSet.
|
ProductSet.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ProductSet.Builder |
setIndexError(com.google.rpc.Status.Builder builderForValue)
Output only.
|
ProductSet.Builder |
setIndexError(com.google.rpc.Status value)
Output only.
|
ProductSet.Builder |
setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ProductSet.Builder |
setIndexTime(com.google.protobuf.Timestamp value)
Output only.
|
ProductSet.Builder |
setName(String value)
The resource name of the ProductSet.
|
ProductSet.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the ProductSet.
|
ProductSet.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ProductSet.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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<ProductSet.Builder>public ProductSet.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ProductSet.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<ProductSet.Builder>public ProductSet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ProductSet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ProductSet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ProductSet.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ProductSet.Builder>public ProductSet.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<ProductSet.Builder>public ProductSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProductSet.Builder>public ProductSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProductSet.Builder>public ProductSet.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<ProductSet.Builder>public ProductSet.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<ProductSet.Builder>public ProductSet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProductSet.Builder>public ProductSet.Builder mergeFrom(ProductSet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProductSet.Builder>public ProductSet.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<ProductSet.Builder>IOExceptionpublic String getName()
The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
string name = 1;getName in interface ProductSetOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
string name = 1;getNameBytes in interface ProductSetOrBuilderpublic ProductSet.Builder setName(String value)
The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
string name = 1;value - The name to set.public ProductSet.Builder clearName()
The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
string name = 1;public ProductSet.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
string name = 1;value - The bytes for name to set.public String getDisplayName()
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;getDisplayName in interface ProductSetOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;getDisplayNameBytes in interface ProductSetOrBuilderpublic ProductSet.Builder setDisplayName(String value)
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;value - The displayName to set.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;public ProductSet.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
string display_name = 2;value - The bytes for displayName to set.public boolean hasIndexTime()
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];
hasIndexTime in interface ProductSetOrBuilderpublic com.google.protobuf.Timestamp getIndexTime()
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];
getIndexTime in interface ProductSetOrBuilderpublic ProductSet.Builder setIndexTime(com.google.protobuf.Timestamp value)
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];
public ProductSet.Builder setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public ProductSet.Builder mergeIndexTime(com.google.protobuf.Timestamp value)
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];
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];
public com.google.protobuf.Timestamp.Builder getIndexTimeBuilder()
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];
public com.google.protobuf.TimestampOrBuilder getIndexTimeOrBuilder()
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];
getIndexTimeOrBuilder in interface ProductSetOrBuilderpublic boolean hasIndexError()
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];hasIndexError in interface ProductSetOrBuilderpublic com.google.rpc.Status getIndexError()
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];getIndexError in interface ProductSetOrBuilderpublic ProductSet.Builder setIndexError(com.google.rpc.Status value)
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];public ProductSet.Builder setIndexError(com.google.rpc.Status.Builder builderForValue)
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];public ProductSet.Builder mergeIndexError(com.google.rpc.Status value)
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];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];public com.google.rpc.Status.Builder getIndexErrorBuilder()
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];public com.google.rpc.StatusOrBuilder getIndexErrorOrBuilder()
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];getIndexErrorOrBuilder in interface ProductSetOrBuilderpublic final ProductSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProductSet.Builder>public final ProductSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProductSet.Builder>Copyright © 2020 Google LLC. All rights reserved.