- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public interface AnnotationPayloadOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAnnotationSpecId()
public abstract 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;
Type | Description |
String | The annotationSpecId. |
getAnnotationSpecIdBytes()
public abstract 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;
Type | Description |
ByteString | The bytes for annotationSpecId. |
getClassification()
public abstract ClassificationProto.ClassificationAnnotation getClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Type | Description |
ClassificationProto.ClassificationAnnotation | The classification. |
getClassificationOrBuilder()
public abstract ClassificationProto.ClassificationAnnotationOrBuilder getClassificationOrBuilder()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Type | Description |
ClassificationProto.ClassificationAnnotationOrBuilder |
getDetailCase()
public abstract AnnotationPayload.DetailCase getDetailCase()
Type | Description |
AnnotationPayload.DetailCase |
getDisplayName()
public abstract String getDisplayName()
Output only. The value of
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;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
Output only. The value of
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;
Type | Description |
ByteString | The bytes for displayName. |
getImageObjectDetection()
public abstract ImageObjectDetectionAnnotation getImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Type | Description |
ImageObjectDetectionAnnotation | The imageObjectDetection. |
getImageObjectDetectionOrBuilder()
public abstract ImageObjectDetectionAnnotationOrBuilder getImageObjectDetectionOrBuilder()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Type | Description |
ImageObjectDetectionAnnotationOrBuilder |
getTables()
public abstract TablesAnnotation getTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Type | Description |
TablesAnnotation | The tables. |
getTablesOrBuilder()
public abstract TablesAnnotationOrBuilder getTablesOrBuilder()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Type | Description |
TablesAnnotationOrBuilder |
getTextExtraction()
public abstract TextExtractionAnnotation getTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Type | Description |
TextExtractionAnnotation | The textExtraction. |
getTextExtractionOrBuilder()
public abstract TextExtractionAnnotationOrBuilder getTextExtractionOrBuilder()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Type | Description |
TextExtractionAnnotationOrBuilder |
getTextSentiment()
public abstract TextSentimentProto.TextSentimentAnnotation getTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Type | Description |
TextSentimentProto.TextSentimentAnnotation | The textSentiment. |
getTextSentimentOrBuilder()
public abstract TextSentimentProto.TextSentimentAnnotationOrBuilder getTextSentimentOrBuilder()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Type | Description |
TextSentimentProto.TextSentimentAnnotationOrBuilder |
getTranslation()
public abstract TranslationAnnotation getTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Type | Description |
TranslationAnnotation | The translation. |
getTranslationOrBuilder()
public abstract TranslationAnnotationOrBuilder getTranslationOrBuilder()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Type | Description |
TranslationAnnotationOrBuilder |
getVideoClassification()
public abstract ClassificationProto.VideoClassificationAnnotation getVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Type | Description |
ClassificationProto.VideoClassificationAnnotation | The videoClassification. |
getVideoClassificationOrBuilder()
public abstract ClassificationProto.VideoClassificationAnnotationOrBuilder getVideoClassificationOrBuilder()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Type | Description |
ClassificationProto.VideoClassificationAnnotationOrBuilder |
getVideoObjectTracking()
public abstract VideoObjectTrackingAnnotation getVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Type | Description |
VideoObjectTrackingAnnotation | The videoObjectTracking. |
getVideoObjectTrackingOrBuilder()
public abstract VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingOrBuilder()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Type | Description |
VideoObjectTrackingAnnotationOrBuilder |
hasClassification()
public abstract boolean hasClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Type | Description |
boolean | Whether the classification field is set. |
hasImageObjectDetection()
public abstract boolean hasImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Type | Description |
boolean | Whether the imageObjectDetection field is set. |
hasTables()
public abstract boolean hasTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Type | Description |
boolean | Whether the tables field is set. |
hasTextExtraction()
public abstract boolean hasTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Type | Description |
boolean | Whether the textExtraction field is set. |
hasTextSentiment()
public abstract boolean hasTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Type | Description |
boolean | Whether the textSentiment field is set. |
hasTranslation()
public abstract boolean hasTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Type | Description |
boolean | Whether the translation field is set. |
hasVideoClassification()
public abstract boolean hasVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Type | Description |
boolean | Whether the videoClassification field is set. |
hasVideoObjectTracking()
public abstract boolean hasVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Type | Description |
boolean | Whether the videoObjectTracking field is set. |