public interface CustomProcessorSourceInfoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAdditionalInfo()
public abstract Map<String,String> getAdditionalInfo()
Use #getAdditionalInfoMap() instead.
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;
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;
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;
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;
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.events.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.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;
Returns | |
---|---|
Type | Description |
CustomProcessorSourceInfo.ModelSchemaOrBuilder |
getSourceType()
public abstract CustomProcessorSourceInfo.SourceType getSourceType()
The original product which holds the custom processor's functionality.
.google.events.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.events.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.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the modelSchema 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. |