public static final class CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder extends GeneratedMessage.Builder<CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder> implements CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilderMessage describes product recognizer artifact.
Protobuf type
google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomProcessorSourceInfo.ProductRecognizerArtifact.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CustomProcessorSourceInfo.ProductRecognizerArtifact build()| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact |
|
buildPartial()
public CustomProcessorSourceInfo.ProductRecognizerArtifact buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact |
|
clear()
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
|
clearRetailProductRecognitionIndex()
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder clearRetailProductRecognitionIndex()Required. Resource name of RetailProductRecognitionIndex. Format is 'projects/*/locations/*/retailCatalogs/*/retailProductRecognitionIndexes/*'
string retail_product_recognition_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
This builder for chaining. |
clearVertexModel()
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder clearVertexModel()Optional. The resource name of embedding model hosted in Vertex AI Platform.
string vertex_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CustomProcessorSourceInfo.ProductRecognizerArtifact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRetailProductRecognitionIndex()
public String getRetailProductRecognitionIndex()Required. Resource name of RetailProductRecognitionIndex. Format is 'projects/*/locations/*/retailCatalogs/*/retailProductRecognitionIndexes/*'
string retail_product_recognition_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The retailProductRecognitionIndex. |
getRetailProductRecognitionIndexBytes()
public ByteString getRetailProductRecognitionIndexBytes()Required. Resource name of RetailProductRecognitionIndex. Format is 'projects/*/locations/*/retailCatalogs/*/retailProductRecognitionIndexes/*'
string retail_product_recognition_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for retailProductRecognitionIndex. |
getVertexModel()
public String getVertexModel()Optional. The resource name of embedding model hosted in Vertex AI Platform.
string vertex_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The vertexModel. |
getVertexModelBytes()
public ByteString getVertexModelBytes()Optional. The resource name of embedding model hosted in Vertex AI Platform.
string vertex_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vertexModel. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CustomProcessorSourceInfo.ProductRecognizerArtifact other)
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder mergeFrom(CustomProcessorSourceInfo.ProductRecognizerArtifact other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomProcessorSourceInfo.ProductRecognizerArtifact |
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
|
setRetailProductRecognitionIndex(String value)
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder setRetailProductRecognitionIndex(String value)Required. Resource name of RetailProductRecognitionIndex. Format is 'projects/*/locations/*/retailCatalogs/*/retailProductRecognitionIndexes/*'
string retail_product_recognition_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe retailProductRecognitionIndex to set. |
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
This builder for chaining. |
setRetailProductRecognitionIndexBytes(ByteString value)
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder setRetailProductRecognitionIndexBytes(ByteString value)Required. Resource name of RetailProductRecognitionIndex. Format is 'projects/*/locations/*/retailCatalogs/*/retailProductRecognitionIndexes/*'
string retail_product_recognition_index = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for retailProductRecognitionIndex to set. |
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
This builder for chaining. |
setVertexModel(String value)
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder setVertexModel(String value)Optional. The resource name of embedding model hosted in Vertex AI Platform.
string vertex_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vertexModel to set. |
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
This builder for chaining. |
setVertexModelBytes(ByteString value)
public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder setVertexModelBytes(ByteString value)Optional. The resource name of embedding model hosted in Vertex AI Platform.
string vertex_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vertexModel to set. |
| Returns | |
|---|---|
| Type | Description |
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder |
This builder for chaining. |