
com.google.cloud.visionai.v1.CustomProcessorSourceInfoOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/visionai/v1/platform.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;
public interface CustomProcessorSourceInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.CustomProcessorSourceInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The resource name original model hosted in the vertex AI platform.
*
*
* string vertex_model = 2;
*
* @return Whether the vertexModel field is set.
*/
boolean hasVertexModel();
/**
*
*
*
* The resource name original model hosted in the vertex AI platform.
*
*
* string vertex_model = 2;
*
* @return The vertexModel.
*/
java.lang.String getVertexModel();
/**
*
*
*
* The resource name original model hosted in the vertex AI platform.
*
*
* string vertex_model = 2;
*
* @return The bytes for vertexModel.
*/
com.google.protobuf.ByteString getVertexModelBytes();
/**
*
*
*
* Artifact for product recognizer.
*
*
*
* .google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
*
*
* @return Whether the productRecognizerArtifact field is set.
*/
boolean hasProductRecognizerArtifact();
/**
*
*
*
* Artifact for product recognizer.
*
*
*
* .google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
*
*
* @return The productRecognizerArtifact.
*/
com.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact
getProductRecognizerArtifact();
/**
*
*
*
* Artifact for product recognizer.
*
*
*
* .google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
*
*/
com.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilder
getProductRecognizerArtifactOrBuilder();
/**
*
*
*
* The original product which holds the custom processor's functionality.
*
*
* .google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
*
* @return The enum numeric value on the wire for sourceType.
*/
int getSourceTypeValue();
/**
*
*
*
* The original product which holds the custom processor's functionality.
*
*
* .google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
*
* @return The sourceType.
*/
com.google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType getSourceType();
/**
*
*
*
* 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];
*
*/
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];
*
*/
boolean containsAdditionalInfo(java.lang.String key);
/** Use {@link #getAdditionalInfoMap()} instead. */
@java.lang.Deprecated
java.util.Map getAdditionalInfo();
/**
*
*
*
* 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];
*
*/
java.util.Map 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];
*
*/
/* nullable */
java.lang.String getAdditionalInfoOrDefault(
java.lang.String key,
/* nullable */
java.lang.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];
*
*/
java.lang.String getAdditionalInfoOrThrow(java.lang.String key);
/**
*
*
*
* 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;
*
* @return Whether the modelSchema field is set.
*/
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;
*
* @return The modelSchema.
*/
com.google.cloud.visionai.v1.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;
*/
com.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchemaOrBuilder
getModelSchemaOrBuilder();
com.google.cloud.visionai.v1.CustomProcessorSourceInfo.ArtifactPathCase getArtifactPathCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy