public interface AnnotationPayloadOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotationSpecId()
Output only .
|
com.google.protobuf.ByteString |
getAnnotationSpecIdBytes()
Output only .
|
ClassificationAnnotation |
getClassification()
Annotation details for content or image classification.
|
ClassificationAnnotationOrBuilder |
getClassificationOrBuilder()
Annotation details for content or image classification.
|
AnnotationPayload.DetailCase |
getDetailCase() |
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
ImageObjectDetectionAnnotation |
getImageObjectDetection()
Annotation details for image object detection.
|
ImageObjectDetectionAnnotationOrBuilder |
getImageObjectDetectionOrBuilder()
Annotation details for image object detection.
|
TextExtractionAnnotation |
getTextExtraction()
Annotation details for text extraction.
|
TextExtractionAnnotationOrBuilder |
getTextExtractionOrBuilder()
Annotation details for text extraction.
|
TextSentimentAnnotation |
getTextSentiment()
Annotation details for text sentiment.
|
TextSentimentAnnotationOrBuilder |
getTextSentimentOrBuilder()
Annotation details for text sentiment.
|
TranslationAnnotation |
getTranslation()
Annotation details for translation.
|
TranslationAnnotationOrBuilder |
getTranslationOrBuilder()
Annotation details for translation.
|
boolean |
hasClassification()
Annotation details for content or image classification.
|
boolean |
hasImageObjectDetection()
Annotation details for image object detection.
|
boolean |
hasTextExtraction()
Annotation details for text extraction.
|
boolean |
hasTextSentiment()
Annotation details for text sentiment.
|
boolean |
hasTranslation()
Annotation details for translation.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTranslation()
Annotation details for translation.
.google.cloud.automl.v1.TranslationAnnotation translation = 2;TranslationAnnotation getTranslation()
Annotation details for translation.
.google.cloud.automl.v1.TranslationAnnotation translation = 2;TranslationAnnotationOrBuilder getTranslationOrBuilder()
Annotation details for translation.
.google.cloud.automl.v1.TranslationAnnotation translation = 2;boolean hasClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1.ClassificationAnnotation classification = 3;ClassificationAnnotation getClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1.ClassificationAnnotation classification = 3;ClassificationAnnotationOrBuilder getClassificationOrBuilder()
Annotation details for content or image classification.
.google.cloud.automl.v1.ClassificationAnnotation classification = 3;boolean hasImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4;ImageObjectDetectionAnnotation getImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4;ImageObjectDetectionAnnotationOrBuilder getImageObjectDetectionOrBuilder()
Annotation details for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4;boolean hasTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6;TextExtractionAnnotation getTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6;TextExtractionAnnotationOrBuilder getTextExtractionOrBuilder()
Annotation details for text extraction.
.google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6;boolean hasTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7;TextSentimentAnnotation getTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7;TextSentimentAnnotationOrBuilder getTextSentimentOrBuilder()
Annotation details for text sentiment.
.google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7;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;com.google.protobuf.ByteString getAnnotationSpecIdBytes()
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;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;com.google.protobuf.ByteString getDisplayNameBytes()
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;AnnotationPayload.DetailCase getDetailCase()
Copyright © 2025 Google LLC. All rights reserved.