Package com.google.cloud.automl.v1beta1
Interface AnnotationPayloadOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotationPayload
,AnnotationPayload.Builder
public interface AnnotationPayloadOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAnnotationSpecId()
Output only .com.google.protobuf.ByteString
getAnnotationSpecIdBytes()
Output only .ClassificationProto.ClassificationAnnotation
getClassification()
Annotation details for content or image classification.ClassificationProto.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.TablesAnnotation
getTables()
Annotation details for Tables.TablesAnnotationOrBuilder
getTablesOrBuilder()
Annotation details for Tables.TextExtractionAnnotation
getTextExtraction()
Annotation details for text extraction.TextExtractionAnnotationOrBuilder
getTextExtractionOrBuilder()
Annotation details for text extraction.TextSentimentProto.TextSentimentAnnotation
getTextSentiment()
Annotation details for text sentiment.TextSentimentProto.TextSentimentAnnotationOrBuilder
getTextSentimentOrBuilder()
Annotation details for text sentiment.TranslationAnnotation
getTranslation()
Annotation details for translation.TranslationAnnotationOrBuilder
getTranslationOrBuilder()
Annotation details for translation.ClassificationProto.VideoClassificationAnnotation
getVideoClassification()
Annotation details for video classification.ClassificationProto.VideoClassificationAnnotationOrBuilder
getVideoClassificationOrBuilder()
Annotation details for video classification.VideoObjectTrackingAnnotation
getVideoObjectTracking()
Annotation details for video object tracking.VideoObjectTrackingAnnotationOrBuilder
getVideoObjectTrackingOrBuilder()
Annotation details for video object tracking.boolean
hasClassification()
Annotation details for content or image classification.boolean
hasImageObjectDetection()
Annotation details for image object detection.boolean
hasTables()
Annotation details for Tables.boolean
hasTextExtraction()
Annotation details for text extraction.boolean
hasTextSentiment()
Annotation details for text sentiment.boolean
hasTranslation()
Annotation details for translation.boolean
hasVideoClassification()
Annotation details for video classification.boolean
hasVideoObjectTracking()
Annotation details for video object tracking.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTranslation
boolean hasTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
- Returns:
- Whether the translation field is set.
-
getTranslation
TranslationAnnotation getTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
- Returns:
- The translation.
-
getTranslationOrBuilder
TranslationAnnotationOrBuilder getTranslationOrBuilder()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
-
hasClassification
boolean hasClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
- Returns:
- Whether the classification field is set.
-
getClassification
ClassificationProto.ClassificationAnnotation getClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
- Returns:
- The classification.
-
getClassificationOrBuilder
ClassificationProto.ClassificationAnnotationOrBuilder getClassificationOrBuilder()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
-
hasImageObjectDetection
boolean hasImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
- Returns:
- Whether the imageObjectDetection field is set.
-
getImageObjectDetection
ImageObjectDetectionAnnotation getImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
- Returns:
- The imageObjectDetection.
-
getImageObjectDetectionOrBuilder
ImageObjectDetectionAnnotationOrBuilder getImageObjectDetectionOrBuilder()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
-
hasVideoClassification
boolean hasVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
- Returns:
- Whether the videoClassification field is set.
-
getVideoClassification
ClassificationProto.VideoClassificationAnnotation getVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
- Returns:
- The videoClassification.
-
getVideoClassificationOrBuilder
ClassificationProto.VideoClassificationAnnotationOrBuilder getVideoClassificationOrBuilder()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
-
hasVideoObjectTracking
boolean hasVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
- Returns:
- Whether the videoObjectTracking field is set.
-
getVideoObjectTracking
VideoObjectTrackingAnnotation getVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
- Returns:
- The videoObjectTracking.
-
getVideoObjectTrackingOrBuilder
VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingOrBuilder()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
-
hasTextExtraction
boolean hasTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
- Returns:
- Whether the textExtraction field is set.
-
getTextExtraction
TextExtractionAnnotation getTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
- Returns:
- The textExtraction.
-
getTextExtractionOrBuilder
TextExtractionAnnotationOrBuilder getTextExtractionOrBuilder()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
-
hasTextSentiment
boolean hasTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
- Returns:
- Whether the textSentiment field is set.
-
getTextSentiment
TextSentimentProto.TextSentimentAnnotation getTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
- Returns:
- The textSentiment.
-
getTextSentimentOrBuilder
TextSentimentProto.TextSentimentAnnotationOrBuilder getTextSentimentOrBuilder()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
-
hasTables
boolean hasTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
- Returns:
- Whether the tables field is set.
-
getTables
TablesAnnotation getTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
- Returns:
- The tables.
-
getTablesOrBuilder
TablesAnnotationOrBuilder getTablesOrBuilder()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
-
getAnnotationSpecId
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;
- Returns:
- The annotationSpecId.
-
getAnnotationSpecIdBytes
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;
- Returns:
- The bytes for annotationSpecId.
-
getDisplayName
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;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
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;
- Returns:
- The bytes for displayName.
-
getDetailCase
AnnotationPayload.DetailCase getDetailCase()
-
-