Class CustomProcessorSourceInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.CustomProcessorSourceInfo
All Implemented Interfaces:
CustomProcessorSourceInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CustomProcessorSourceInfo extends com.google.protobuf.GeneratedMessage implements CustomProcessorSourceInfoOrBuilder
 Describes the source info for a custom processor.
 
Protobuf type google.cloud.visionai.v1.CustomProcessorSourceInfo
See Also:
  • Field Details

    • VERTEX_MODEL_FIELD_NUMBER

      public static final int VERTEX_MODEL_FIELD_NUMBER
      See Also:
    • PRODUCT_RECOGNIZER_ARTIFACT_FIELD_NUMBER

      public static final int PRODUCT_RECOGNIZER_ARTIFACT_FIELD_NUMBER
      See Also:
    • SOURCE_TYPE_FIELD_NUMBER

      public static final int SOURCE_TYPE_FIELD_NUMBER
      See Also:
    • ADDITIONAL_INFO_FIELD_NUMBER

      public static final int ADDITIONAL_INFO_FIELD_NUMBER
      See Also:
    • MODEL_SCHEMA_FIELD_NUMBER

      public static final int MODEL_SCHEMA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getArtifactPathCase

      public CustomProcessorSourceInfo.ArtifactPathCase getArtifactPathCase()
      Specified by:
      getArtifactPathCase in interface CustomProcessorSourceInfoOrBuilder
    • hasVertexModel

      public boolean hasVertexModel()
       The resource name original model hosted in the vertex AI platform.
       
      string vertex_model = 2;
      Specified by:
      hasVertexModel in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      Whether the vertexModel field is set.
    • getVertexModel

      public String getVertexModel()
       The resource name original model hosted in the vertex AI platform.
       
      string vertex_model = 2;
      Specified by:
      getVertexModel in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      The vertexModel.
    • getVertexModelBytes

      public com.google.protobuf.ByteString getVertexModelBytes()
       The resource name original model hosted in the vertex AI platform.
       
      string vertex_model = 2;
      Specified by:
      getVertexModelBytes in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      The bytes for vertexModel.
    • hasProductRecognizerArtifact

      public boolean hasProductRecognizerArtifact()
       Artifact for product recognizer.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
      Specified by:
      hasProductRecognizerArtifact in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      Whether the productRecognizerArtifact field is set.
    • getProductRecognizerArtifact

      public CustomProcessorSourceInfo.ProductRecognizerArtifact getProductRecognizerArtifact()
       Artifact for product recognizer.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
      Specified by:
      getProductRecognizerArtifact in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      The productRecognizerArtifact.
    • getProductRecognizerArtifactOrBuilder

      public CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilder getProductRecognizerArtifactOrBuilder()
       Artifact for product recognizer.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
      Specified by:
      getProductRecognizerArtifactOrBuilder in interface CustomProcessorSourceInfoOrBuilder
    • getSourceTypeValue

      public int getSourceTypeValue()
       The original product which holds the custom processor's functionality.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
      Specified by:
      getSourceTypeValue in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      The enum numeric value on the wire for sourceType.
    • getSourceType

      public CustomProcessorSourceInfo.SourceType getSourceType()
       The original product which holds the custom processor's functionality.
       
      .google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
      Specified by:
      getSourceType in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      The sourceType.
    • getAdditionalInfoCount

      public int getAdditionalInfoCount()
      Description copied from interface: CustomProcessorSourceInfoOrBuilder
       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];
      Specified by:
      getAdditionalInfoCount in interface CustomProcessorSourceInfoOrBuilder
    • containsAdditionalInfo

      public 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];
      Specified by:
      containsAdditionalInfo in interface CustomProcessorSourceInfoOrBuilder
    • getAdditionalInfo

      @Deprecated public Map<String,String> getAdditionalInfo()
      Deprecated.
      Specified by:
      getAdditionalInfo in interface CustomProcessorSourceInfoOrBuilder
    • getAdditionalInfoMap

      public 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];
      Specified by:
      getAdditionalInfoMap in interface CustomProcessorSourceInfoOrBuilder
    • getAdditionalInfoOrDefault

      public 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];
      Specified by:
      getAdditionalInfoOrDefault in interface CustomProcessorSourceInfoOrBuilder
    • getAdditionalInfoOrThrow

      public 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];
      Specified by:
      getAdditionalInfoOrThrow in interface CustomProcessorSourceInfoOrBuilder
    • hasModelSchema

      public 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;
      Specified by:
      hasModelSchema in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      Whether the modelSchema field is set.
    • getModelSchema

      public 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;
      Specified by:
      getModelSchema in interface CustomProcessorSourceInfoOrBuilder
      Returns:
      The modelSchema.
    • getModelSchemaOrBuilder

      public 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;
      Specified by:
      getModelSchemaOrBuilder in interface CustomProcessorSourceInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CustomProcessorSourceInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CustomProcessorSourceInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CustomProcessorSourceInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CustomProcessorSourceInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CustomProcessorSourceInfo.Builder newBuilder()
    • newBuilder

      public static CustomProcessorSourceInfo.Builder newBuilder(CustomProcessorSourceInfo prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CustomProcessorSourceInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CustomProcessorSourceInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CustomProcessorSourceInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<CustomProcessorSourceInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CustomProcessorSourceInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder