All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.automl.v1.AnnotationPayloadOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.54.0
Show newest version
/*
 * 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/automl/v1/annotation_payload.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.automl.v1;

public interface AnnotationPayloadOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.AnnotationPayload)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Annotation details for translation.
   * 
* * .google.cloud.automl.v1.TranslationAnnotation translation = 2; * * @return Whether the translation field is set. */ boolean hasTranslation(); /** * * *
   * Annotation details for translation.
   * 
* * .google.cloud.automl.v1.TranslationAnnotation translation = 2; * * @return The translation. */ com.google.cloud.automl.v1.TranslationAnnotation getTranslation(); /** * * *
   * Annotation details for translation.
   * 
* * .google.cloud.automl.v1.TranslationAnnotation translation = 2; */ com.google.cloud.automl.v1.TranslationAnnotationOrBuilder getTranslationOrBuilder(); /** * * *
   * Annotation details for content or image classification.
   * 
* * .google.cloud.automl.v1.ClassificationAnnotation classification = 3; * * @return Whether the classification field is set. */ boolean hasClassification(); /** * * *
   * Annotation details for content or image classification.
   * 
* * .google.cloud.automl.v1.ClassificationAnnotation classification = 3; * * @return The classification. */ com.google.cloud.automl.v1.ClassificationAnnotation getClassification(); /** * * *
   * Annotation details for content or image classification.
   * 
* * .google.cloud.automl.v1.ClassificationAnnotation classification = 3; */ com.google.cloud.automl.v1.ClassificationAnnotationOrBuilder getClassificationOrBuilder(); /** * * *
   * Annotation details for image object detection.
   * 
* * .google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4; * * @return Whether the imageObjectDetection field is set. */ boolean hasImageObjectDetection(); /** * * *
   * Annotation details for image object detection.
   * 
* * .google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4; * * @return The imageObjectDetection. */ com.google.cloud.automl.v1.ImageObjectDetectionAnnotation getImageObjectDetection(); /** * * *
   * Annotation details for image object detection.
   * 
* * .google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4; */ com.google.cloud.automl.v1.ImageObjectDetectionAnnotationOrBuilder getImageObjectDetectionOrBuilder(); /** * * *
   * Annotation details for text extraction.
   * 
* * .google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6; * * @return Whether the textExtraction field is set. */ boolean hasTextExtraction(); /** * * *
   * Annotation details for text extraction.
   * 
* * .google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6; * * @return The textExtraction. */ com.google.cloud.automl.v1.TextExtractionAnnotation getTextExtraction(); /** * * *
   * Annotation details for text extraction.
   * 
* * .google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6; */ com.google.cloud.automl.v1.TextExtractionAnnotationOrBuilder getTextExtractionOrBuilder(); /** * * *
   * Annotation details for text sentiment.
   * 
* * .google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7; * * @return Whether the textSentiment field is set. */ boolean hasTextSentiment(); /** * * *
   * Annotation details for text sentiment.
   * 
* * .google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7; * * @return The textSentiment. */ com.google.cloud.automl.v1.TextSentimentAnnotation getTextSentiment(); /** * * *
   * Annotation details for text sentiment.
   * 
* * .google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7; */ com.google.cloud.automl.v1.TextSentimentAnnotationOrBuilder getTextSentimentOrBuilder(); /** * * *
   * Output only . The resource ID of the annotation spec that
   * this annotation pertains to. The annotation spec comes from either an
   * ancestor dataset, or the dataset that was used to train the model in use.
   * 
* * string annotation_spec_id = 1; * * @return The annotationSpecId. */ java.lang.String getAnnotationSpecId(); /** * * *
   * Output only . The resource ID of the annotation spec that
   * this annotation pertains to. The annotation spec comes from either an
   * ancestor dataset, or the dataset that was used to train the model in use.
   * 
* * string annotation_spec_id = 1; * * @return The bytes for annotationSpecId. */ com.google.protobuf.ByteString getAnnotationSpecIdBytes(); /** * * *
   * Output only. The value of
   * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
   * when the model was trained. Because this field returns a value at model
   * training time, for different models trained using the same dataset, the
   * returned value could be different as model owner could update the
   * `display_name` between any two model training.
   * 
* * string display_name = 5; * * @return The displayName. */ java.lang.String getDisplayName(); /** * * *
   * Output only. The value of
   * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
   * when the model was trained. Because this field returns a value at model
   * training time, for different models trained using the same dataset, the
   * returned value could be different as model owner could update the
   * `display_name` between any two model training.
   * 
* * string display_name = 5; * * @return The bytes for displayName. */ com.google.protobuf.ByteString getDisplayNameBytes(); com.google.cloud.automl.v1.AnnotationPayload.DetailCase getDetailCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy