- 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 static final class AnnotationPayload.Builder extends GeneratedMessageV3.Builder<AnnotationPayload.Builder> implements AnnotationPayloadOrBuilder
Contains annotation information that is relevant to AutoML.
Protobuf type google.cloud.automl.v1beta1.AnnotationPayload
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnnotationPayload.BuilderImplements
AnnotationPayloadOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotationPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
build()
public AnnotationPayload build()
Returns | |
---|---|
Type | Description |
AnnotationPayload |
buildPartial()
public AnnotationPayload buildPartial()
Returns | |
---|---|
Type | Description |
AnnotationPayload |
clear()
public AnnotationPayload.Builder clear()
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearAnnotationSpecId()
public AnnotationPayload.Builder clearAnnotationSpecId()
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 | |
---|---|
Type | Description |
AnnotationPayload.Builder |
This builder for chaining. |
clearClassification()
public AnnotationPayload.Builder clearClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearDetail()
public AnnotationPayload.Builder clearDetail()
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearDisplayName()
public AnnotationPayload.Builder clearDisplayName()
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;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnnotationPayload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearImageObjectDetection()
public AnnotationPayload.Builder clearImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnnotationPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearTables()
public AnnotationPayload.Builder clearTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearTextExtraction()
public AnnotationPayload.Builder clearTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearTextSentiment()
public AnnotationPayload.Builder clearTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearTranslation()
public AnnotationPayload.Builder clearTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearVideoClassification()
public AnnotationPayload.Builder clearVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clearVideoObjectTracking()
public AnnotationPayload.Builder clearVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
clone()
public AnnotationPayload.Builder clone()
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
getAnnotationSpecId()
public 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 | |
---|---|
Type | Description |
String |
The annotationSpecId. |
getAnnotationSpecIdBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for annotationSpecId. |
getClassification()
public ClassificationProto.ClassificationAnnotation getClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Returns | |
---|---|
Type | Description |
ClassificationProto.ClassificationAnnotation |
The classification. |
getClassificationBuilder()
public ClassificationProto.ClassificationAnnotation.Builder getClassificationBuilder()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Returns | |
---|---|
Type | Description |
ClassificationProto.ClassificationAnnotation.Builder |
getClassificationOrBuilder()
public ClassificationProto.ClassificationAnnotationOrBuilder getClassificationOrBuilder()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Returns | |
---|---|
Type | Description |
ClassificationProto.ClassificationAnnotationOrBuilder |
getDefaultInstanceForType()
public AnnotationPayload getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnnotationPayload |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetailCase()
public AnnotationPayload.DetailCase getDetailCase()
Returns | |
---|---|
Type | Description |
AnnotationPayload.DetailCase |
getDisplayName()
public 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;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getImageObjectDetection()
public ImageObjectDetectionAnnotation getImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Returns | |
---|---|
Type | Description |
ImageObjectDetectionAnnotation |
The imageObjectDetection. |
getImageObjectDetectionBuilder()
public ImageObjectDetectionAnnotation.Builder getImageObjectDetectionBuilder()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Returns | |
---|---|
Type | Description |
ImageObjectDetectionAnnotation.Builder |
getImageObjectDetectionOrBuilder()
public ImageObjectDetectionAnnotationOrBuilder getImageObjectDetectionOrBuilder()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Returns | |
---|---|
Type | Description |
ImageObjectDetectionAnnotationOrBuilder |
getTables()
public TablesAnnotation getTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Returns | |
---|---|
Type | Description |
TablesAnnotation |
The tables. |
getTablesBuilder()
public TablesAnnotation.Builder getTablesBuilder()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Returns | |
---|---|
Type | Description |
TablesAnnotation.Builder |
getTablesOrBuilder()
public TablesAnnotationOrBuilder getTablesOrBuilder()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Returns | |
---|---|
Type | Description |
TablesAnnotationOrBuilder |
getTextExtraction()
public TextExtractionAnnotation getTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Returns | |
---|---|
Type | Description |
TextExtractionAnnotation |
The textExtraction. |
getTextExtractionBuilder()
public TextExtractionAnnotation.Builder getTextExtractionBuilder()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Returns | |
---|---|
Type | Description |
TextExtractionAnnotation.Builder |
getTextExtractionOrBuilder()
public TextExtractionAnnotationOrBuilder getTextExtractionOrBuilder()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Returns | |
---|---|
Type | Description |
TextExtractionAnnotationOrBuilder |
getTextSentiment()
public TextSentimentProto.TextSentimentAnnotation getTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Returns | |
---|---|
Type | Description |
TextSentimentProto.TextSentimentAnnotation |
The textSentiment. |
getTextSentimentBuilder()
public TextSentimentProto.TextSentimentAnnotation.Builder getTextSentimentBuilder()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Returns | |
---|---|
Type | Description |
TextSentimentProto.TextSentimentAnnotation.Builder |
getTextSentimentOrBuilder()
public TextSentimentProto.TextSentimentAnnotationOrBuilder getTextSentimentOrBuilder()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Returns | |
---|---|
Type | Description |
TextSentimentProto.TextSentimentAnnotationOrBuilder |
getTranslation()
public TranslationAnnotation getTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Returns | |
---|---|
Type | Description |
TranslationAnnotation |
The translation. |
getTranslationBuilder()
public TranslationAnnotation.Builder getTranslationBuilder()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Returns | |
---|---|
Type | Description |
TranslationAnnotation.Builder |
getTranslationOrBuilder()
public TranslationAnnotationOrBuilder getTranslationOrBuilder()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Returns | |
---|---|
Type | Description |
TranslationAnnotationOrBuilder |
getVideoClassification()
public ClassificationProto.VideoClassificationAnnotation getVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Returns | |
---|---|
Type | Description |
ClassificationProto.VideoClassificationAnnotation |
The videoClassification. |
getVideoClassificationBuilder()
public ClassificationProto.VideoClassificationAnnotation.Builder getVideoClassificationBuilder()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Returns | |
---|---|
Type | Description |
ClassificationProto.VideoClassificationAnnotation.Builder |
getVideoClassificationOrBuilder()
public ClassificationProto.VideoClassificationAnnotationOrBuilder getVideoClassificationOrBuilder()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Returns | |
---|---|
Type | Description |
ClassificationProto.VideoClassificationAnnotationOrBuilder |
getVideoObjectTracking()
public VideoObjectTrackingAnnotation getVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Returns | |
---|---|
Type | Description |
VideoObjectTrackingAnnotation |
The videoObjectTracking. |
getVideoObjectTrackingBuilder()
public VideoObjectTrackingAnnotation.Builder getVideoObjectTrackingBuilder()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Returns | |
---|---|
Type | Description |
VideoObjectTrackingAnnotation.Builder |
getVideoObjectTrackingOrBuilder()
public VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingOrBuilder()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Returns | |
---|---|
Type | Description |
VideoObjectTrackingAnnotationOrBuilder |
hasClassification()
public boolean hasClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the classification field is set. |
hasImageObjectDetection()
public boolean hasImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the imageObjectDetection field is set. |
hasTables()
public boolean hasTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the tables field is set. |
hasTextExtraction()
public boolean hasTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the textExtraction field is set. |
hasTextSentiment()
public boolean hasTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the textSentiment field is set. |
hasTranslation()
public boolean hasTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the translation field is set. |
hasVideoClassification()
public boolean hasVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the videoClassification field is set. |
hasVideoObjectTracking()
public boolean hasVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the videoObjectTracking field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeClassification(ClassificationProto.ClassificationAnnotation value)
public AnnotationPayload.Builder mergeClassification(ClassificationProto.ClassificationAnnotation value)
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Parameter | |
---|---|
Name | Description |
value |
ClassificationProto.ClassificationAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeFrom(AnnotationPayload other)
public AnnotationPayload.Builder mergeFrom(AnnotationPayload other)
Parameter | |
---|---|
Name | Description |
other |
AnnotationPayload |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnnotationPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnnotationPayload.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeImageObjectDetection(ImageObjectDetectionAnnotation value)
public AnnotationPayload.Builder mergeImageObjectDetection(ImageObjectDetectionAnnotation value)
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Parameter | |
---|---|
Name | Description |
value |
ImageObjectDetectionAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeTables(TablesAnnotation value)
public AnnotationPayload.Builder mergeTables(TablesAnnotation value)
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Parameter | |
---|---|
Name | Description |
value |
TablesAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeTextExtraction(TextExtractionAnnotation value)
public AnnotationPayload.Builder mergeTextExtraction(TextExtractionAnnotation value)
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Parameter | |
---|---|
Name | Description |
value |
TextExtractionAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeTextSentiment(TextSentimentProto.TextSentimentAnnotation value)
public AnnotationPayload.Builder mergeTextSentiment(TextSentimentProto.TextSentimentAnnotation value)
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Parameter | |
---|---|
Name | Description |
value |
TextSentimentProto.TextSentimentAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeTranslation(TranslationAnnotation value)
public AnnotationPayload.Builder mergeTranslation(TranslationAnnotation value)
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Parameter | |
---|---|
Name | Description |
value |
TranslationAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnnotationPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeVideoClassification(ClassificationProto.VideoClassificationAnnotation value)
public AnnotationPayload.Builder mergeVideoClassification(ClassificationProto.VideoClassificationAnnotation value)
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Parameter | |
---|---|
Name | Description |
value |
ClassificationProto.VideoClassificationAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
mergeVideoObjectTracking(VideoObjectTrackingAnnotation value)
public AnnotationPayload.Builder mergeVideoObjectTracking(VideoObjectTrackingAnnotation value)
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Parameter | |
---|---|
Name | Description |
value |
VideoObjectTrackingAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setAnnotationSpecId(String value)
public AnnotationPayload.Builder setAnnotationSpecId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The annotationSpecId to set. |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
This builder for chaining. |
setAnnotationSpecIdBytes(ByteString value)
public AnnotationPayload.Builder setAnnotationSpecIdBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for annotationSpecId to set. |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
This builder for chaining. |
setClassification(ClassificationProto.ClassificationAnnotation value)
public AnnotationPayload.Builder setClassification(ClassificationProto.ClassificationAnnotation value)
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Parameter | |
---|---|
Name | Description |
value |
ClassificationProto.ClassificationAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setClassification(ClassificationProto.ClassificationAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setClassification(ClassificationProto.ClassificationAnnotation.Builder builderForValue)
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
ClassificationProto.ClassificationAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setDisplayName(String value)
public AnnotationPayload.Builder setDisplayName(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AnnotationPayload.Builder setDisplayNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnnotationPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setImageObjectDetection(ImageObjectDetectionAnnotation value)
public AnnotationPayload.Builder setImageObjectDetection(ImageObjectDetectionAnnotation value)
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Parameter | |
---|---|
Name | Description |
value |
ImageObjectDetectionAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setImageObjectDetection(ImageObjectDetectionAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setImageObjectDetection(ImageObjectDetectionAnnotation.Builder builderForValue)
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
ImageObjectDetectionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnnotationPayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTables(TablesAnnotation value)
public AnnotationPayload.Builder setTables(TablesAnnotation value)
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Parameter | |
---|---|
Name | Description |
value |
TablesAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTables(TablesAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setTables(TablesAnnotation.Builder builderForValue)
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
Parameter | |
---|---|
Name | Description |
builderForValue |
TablesAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTextExtraction(TextExtractionAnnotation value)
public AnnotationPayload.Builder setTextExtraction(TextExtractionAnnotation value)
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Parameter | |
---|---|
Name | Description |
value |
TextExtractionAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTextExtraction(TextExtractionAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setTextExtraction(TextExtractionAnnotation.Builder builderForValue)
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
TextExtractionAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTextSentiment(TextSentimentProto.TextSentimentAnnotation value)
public AnnotationPayload.Builder setTextSentiment(TextSentimentProto.TextSentimentAnnotation value)
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Parameter | |
---|---|
Name | Description |
value |
TextSentimentProto.TextSentimentAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTextSentiment(TextSentimentProto.TextSentimentAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setTextSentiment(TextSentimentProto.TextSentimentAnnotation.Builder builderForValue)
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
TextSentimentProto.TextSentimentAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTranslation(TranslationAnnotation value)
public AnnotationPayload.Builder setTranslation(TranslationAnnotation value)
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Parameter | |
---|---|
Name | Description |
value |
TranslationAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setTranslation(TranslationAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setTranslation(TranslationAnnotation.Builder builderForValue)
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
TranslationAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnnotationPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setVideoClassification(ClassificationProto.VideoClassificationAnnotation value)
public AnnotationPayload.Builder setVideoClassification(ClassificationProto.VideoClassificationAnnotation value)
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Parameter | |
---|---|
Name | Description |
value |
ClassificationProto.VideoClassificationAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setVideoClassification(ClassificationProto.VideoClassificationAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setVideoClassification(ClassificationProto.VideoClassificationAnnotation.Builder builderForValue)
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
Parameter | |
---|---|
Name | Description |
builderForValue |
ClassificationProto.VideoClassificationAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setVideoObjectTracking(VideoObjectTrackingAnnotation value)
public AnnotationPayload.Builder setVideoObjectTracking(VideoObjectTrackingAnnotation value)
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Parameter | |
---|---|
Name | Description |
value |
VideoObjectTrackingAnnotation |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |
setVideoObjectTracking(VideoObjectTrackingAnnotation.Builder builderForValue)
public AnnotationPayload.Builder setVideoObjectTracking(VideoObjectTrackingAnnotation.Builder builderForValue)
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
VideoObjectTrackingAnnotation.Builder |
Returns | |
---|---|
Type | Description |
AnnotationPayload.Builder |