Class CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder (0.33.0)
Version 0.33.0keyboard_arrow_down
public static final class CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder extends GeneratedMessageV3 . Builder<CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder > implements CustomProcessorSourceInfo . ProductRecognizerArtifactOrBuilder
Message describes product recognizer artifact.
Protobuf type
google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CustomProcessorSourceInfo . ProductRecognizerArtifact build ()
buildPartial()
public CustomProcessorSourceInfo . ProductRecognizerArtifact buildPartial ()
clear()
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
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];
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];
clone()
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder clone ()
Overrides
getDefaultInstanceForType()
public CustomProcessorSourceInfo . ProductRecognizerArtifact getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CustomProcessorSourceInfo.ProductRecognizerArtifact other)
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder mergeFrom ( CustomProcessorSourceInfo . ProductRecognizerArtifact other )
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
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
String The retailProductRecognitionIndex to set.
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
ByteString The bytes for retailProductRecognitionIndex to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomProcessorSourceInfo . ProductRecognizerArtifact . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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
String The vertexModel to set.
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
ByteString The bytes for vertexModel to set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]