Interface CustomProcessorSourceInfoOrBuilder (0.2.0)

public interface CustomProcessorSourceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAdditionalInfo(String key)

public abstract boolean containsAdditionalInfo(String key)

Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.

map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdditionalInfo() (deprecated)

public abstract Map<String,String> getAdditionalInfo()
Returns
Type Description
Map<String,String>

getAdditionalInfoCount()

public abstract int getAdditionalInfoCount()

Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.

map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAdditionalInfoMap()

public abstract Map<String,String> getAdditionalInfoMap()

Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.

map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getAdditionalInfoOrDefault(String key, String defaultValue)

public abstract String getAdditionalInfoOrDefault(String key, String defaultValue)

Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.

map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAdditionalInfoOrThrow(String key)

public abstract String getAdditionalInfoOrThrow(String key)

Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.

map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getArtifactPathCase()

public abstract CustomProcessorSourceInfo.ArtifactPathCase getArtifactPathCase()
Returns
Type Description
CustomProcessorSourceInfo.ArtifactPathCase

getModelSchema()

public abstract CustomProcessorSourceInfo.ModelSchema getModelSchema()

Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;

Returns
Type Description
CustomProcessorSourceInfo.ModelSchema

The modelSchema.

getModelSchemaOrBuilder()

public abstract CustomProcessorSourceInfo.ModelSchemaOrBuilder getModelSchemaOrBuilder()

Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;

Returns
Type Description
CustomProcessorSourceInfo.ModelSchemaOrBuilder

getProductRecognizerArtifact()

public abstract CustomProcessorSourceInfo.ProductRecognizerArtifact getProductRecognizerArtifact()

Artifact for product recognizer.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;

Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifact

The productRecognizerArtifact.

getProductRecognizerArtifactOrBuilder()

public abstract CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilder getProductRecognizerArtifactOrBuilder()

Artifact for product recognizer.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;

Returns
Type Description
CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilder

getSourceType()

public abstract CustomProcessorSourceInfo.SourceType getSourceType()

The original product which holds the custom processor's functionality.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;

Returns
Type Description
CustomProcessorSourceInfo.SourceType

The sourceType.

getSourceTypeValue()

public abstract int getSourceTypeValue()

The original product which holds the custom processor's functionality.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

getVertexModel()

public abstract String getVertexModel()

The resource name original model hosted in the vertex AI platform.

string vertex_model = 2;

Returns
Type Description
String

The vertexModel.

getVertexModelBytes()

public abstract ByteString getVertexModelBytes()

The resource name original model hosted in the vertex AI platform.

string vertex_model = 2;

Returns
Type Description
ByteString

The bytes for vertexModel.

hasModelSchema()

public abstract boolean hasModelSchema()

Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;

Returns
Type Description
boolean

Whether the modelSchema field is set.

hasProductRecognizerArtifact()

public abstract boolean hasProductRecognizerArtifact()

Artifact for product recognizer.

.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;

Returns
Type Description
boolean

Whether the productRecognizerArtifact field is set.

hasVertexModel()

public abstract boolean hasVertexModel()

The resource name original model hosted in the vertex AI platform.

string vertex_model = 2;

Returns
Type Description
boolean

Whether the vertexModel field is set.