Class CustomProcessorSourceInfo.ProductRecognizerArtifact (0.10.0)

public static final class CustomProcessorSourceInfo.ProductRecognizerArtifact extends GeneratedMessageV3 implements CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilder

Message describes product recognizer artifact.

Protobuf type google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomProcessorSourceInfo.ProductRecognizerArtifact

Static Fields

RETAIL_PRODUCT_RECOGNITION_INDEX_FIELD_NUMBER

public static final int RETAIL_PRODUCT_RECOGNITION_INDEX_FIELD_NUMBER
Field Value
Type Description
int

VERTEX_MODEL_FIELD_NUMBER

public static final int VERTEX_MODEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomProcessorSourceInfo.ProductRecognizerArtifact getDefaultInstance()
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder newBuilder()
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder

newBuilder(CustomProcessorSourceInfo.ProductRecognizerArtifact prototype)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder newBuilder(CustomProcessorSourceInfo.ProductRecognizerArtifact prototype)
Parameter
Name Description
prototype CustomProcessorSourceInfo.ProductRecognizerArtifact
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder

parseDelimitedFrom(InputStream input)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomProcessorSourceInfo.ProductRecognizerArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomProcessorSourceInfo.ProductRecognizerArtifact> parser()
Returns
Type Description
Parser<ProductRecognizerArtifact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CustomProcessorSourceInfo.ProductRecognizerArtifact getDefaultInstanceForType()
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact

getParserForType()

public Parser<CustomProcessorSourceInfo.ProductRecognizerArtifact> getParserForType()
Returns
Type Description
Parser<ProductRecognizerArtifact>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder newBuilderForType()
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder toBuilder()
Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException