com.google.cloud.automl.v1beta1.AnnotationPayloadOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-automl-v1beta1 Show documentation
Show all versions of proto-google-cloud-automl-v1beta1 Show documentation
PROTO library for proto-google-cloud-automl-v1beta1
/*
* 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/v1beta1/annotation_payload.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.automl.v1beta1;
public interface AnnotationPayloadOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.AnnotationPayload)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Annotation details for translation.
*
*
* .google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
*
* @return Whether the translation field is set.
*/
boolean hasTranslation();
/**
*
*
*
* Annotation details for translation.
*
*
* .google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
*
* @return The translation.
*/
com.google.cloud.automl.v1beta1.TranslationAnnotation getTranslation();
/**
*
*
*
* Annotation details for translation.
*
*
* .google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
*/
com.google.cloud.automl.v1beta1.TranslationAnnotationOrBuilder getTranslationOrBuilder();
/**
*
*
*
* Annotation details for content or image classification.
*
*
* .google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
*
* @return Whether the classification field is set.
*/
boolean hasClassification();
/**
*
*
*
* Annotation details for content or image classification.
*
*
* .google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
*
* @return The classification.
*/
com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationAnnotation getClassification();
/**
*
*
*
* Annotation details for content or image classification.
*
*
* .google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
*/
com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationAnnotationOrBuilder
getClassificationOrBuilder();
/**
*
*
*
* Annotation details for image object detection.
*
*
* .google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
*
*
* @return Whether the imageObjectDetection field is set.
*/
boolean hasImageObjectDetection();
/**
*
*
*
* Annotation details for image object detection.
*
*
* .google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
*
*
* @return The imageObjectDetection.
*/
com.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation getImageObjectDetection();
/**
*
*
*
* Annotation details for image object detection.
*
*
* .google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
*
*/
com.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotationOrBuilder
getImageObjectDetectionOrBuilder();
/**
*
*
*
* Annotation details for video classification.
* Returned for Video Classification predictions.
*
*
* .google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
*
*
* @return Whether the videoClassification field is set.
*/
boolean hasVideoClassification();
/**
*
*
*
* Annotation details for video classification.
* Returned for Video Classification predictions.
*
*
* .google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
*
*
* @return The videoClassification.
*/
com.google.cloud.automl.v1beta1.ClassificationProto.VideoClassificationAnnotation
getVideoClassification();
/**
*
*
*
* Annotation details for video classification.
* Returned for Video Classification predictions.
*
*
* .google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
*
*/
com.google.cloud.automl.v1beta1.ClassificationProto.VideoClassificationAnnotationOrBuilder
getVideoClassificationOrBuilder();
/**
*
*
*
* Annotation details for video object tracking.
*
*
* .google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
*
*
* @return Whether the videoObjectTracking field is set.
*/
boolean hasVideoObjectTracking();
/**
*
*
*
* Annotation details for video object tracking.
*
*
* .google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
*
*
* @return The videoObjectTracking.
*/
com.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation getVideoObjectTracking();
/**
*
*
*
* Annotation details for video object tracking.
*
*
* .google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
*
*/
com.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotationOrBuilder
getVideoObjectTrackingOrBuilder();
/**
*
*
*
* Annotation details for text extraction.
*
*
* .google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
*
* @return Whether the textExtraction field is set.
*/
boolean hasTextExtraction();
/**
*
*
*
* Annotation details for text extraction.
*
*
* .google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
*
* @return The textExtraction.
*/
com.google.cloud.automl.v1beta1.TextExtractionAnnotation getTextExtraction();
/**
*
*
*
* Annotation details for text extraction.
*
*
* .google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
*/
com.google.cloud.automl.v1beta1.TextExtractionAnnotationOrBuilder getTextExtractionOrBuilder();
/**
*
*
*
* Annotation details for text sentiment.
*
*
* .google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
*
* @return Whether the textSentiment field is set.
*/
boolean hasTextSentiment();
/**
*
*
*
* Annotation details for text sentiment.
*
*
* .google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
*
* @return The textSentiment.
*/
com.google.cloud.automl.v1beta1.TextSentimentProto.TextSentimentAnnotation getTextSentiment();
/**
*
*
*
* Annotation details for text sentiment.
*
*
* .google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
*/
com.google.cloud.automl.v1beta1.TextSentimentProto.TextSentimentAnnotationOrBuilder
getTextSentimentOrBuilder();
/**
*
*
*
* Annotation details for Tables.
*
*
* .google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
*
* @return Whether the tables field is set.
*/
boolean hasTables();
/**
*
*
*
* Annotation details for Tables.
*
*
* .google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
*
* @return The tables.
*/
com.google.cloud.automl.v1beta1.TablesAnnotation getTables();
/**
*
*
*
* Annotation details for Tables.
*
*
* .google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
*/
com.google.cloud.automl.v1beta1.TablesAnnotationOrBuilder getTablesOrBuilder();
/**
*
*
*
* 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.v1beta1.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.v1beta1.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.v1beta1.AnnotationPayload.DetailCase getDetailCase();
}