Package com.google.cloud.automl.v1beta1
Class AnnotationPayload.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
- com.google.cloud.automl.v1beta1.AnnotationPayload.Builder
-
- All Implemented Interfaces:
AnnotationPayloadOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AnnotationPayload
public static final class AnnotationPayload.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder> implements AnnotationPayloadOrBuilder
Contains annotation information that is relevant to AutoML.
Protobuf typegoogle.cloud.automl.v1beta1.AnnotationPayload
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
clear
public AnnotationPayload.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
getDefaultInstanceForType
public AnnotationPayload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnnotationPayload build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnnotationPayload buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnnotationPayload.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
setField
public AnnotationPayload.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
clearField
public AnnotationPayload.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
clearOneof
public AnnotationPayload.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
setRepeatedField
public AnnotationPayload.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
addRepeatedField
public AnnotationPayload.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
mergeFrom
public AnnotationPayload.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnnotationPayload.Builder>
-
mergeFrom
public AnnotationPayload.Builder mergeFrom(AnnotationPayload other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
mergeFrom
public AnnotationPayload.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnnotationPayload.Builder>
- Throws:
IOException
-
getDetailCase
public AnnotationPayload.DetailCase getDetailCase()
- Specified by:
getDetailCase
in interfaceAnnotationPayloadOrBuilder
-
clearDetail
public AnnotationPayload.Builder clearDetail()
-
hasTranslation
public boolean hasTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
- Specified by:
hasTranslation
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the translation field is set.
-
getTranslation
public TranslationAnnotation getTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
- Specified by:
getTranslation
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The translation.
-
setTranslation
public AnnotationPayload.Builder setTranslation(TranslationAnnotation value)
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
-
setTranslation
public AnnotationPayload.Builder setTranslation(TranslationAnnotation.Builder builderForValue)
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
-
mergeTranslation
public AnnotationPayload.Builder mergeTranslation(TranslationAnnotation value)
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
-
clearTranslation
public AnnotationPayload.Builder clearTranslation()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
-
getTranslationBuilder
public TranslationAnnotation.Builder getTranslationBuilder()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
-
getTranslationOrBuilder
public TranslationAnnotationOrBuilder getTranslationOrBuilder()
Annotation details for translation.
.google.cloud.automl.v1beta1.TranslationAnnotation translation = 2;
- Specified by:
getTranslationOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
hasClassification
public boolean hasClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
- Specified by:
hasClassification
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the classification field is set.
-
getClassification
public ClassificationProto.ClassificationAnnotation getClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
- Specified by:
getClassification
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The classification.
-
setClassification
public AnnotationPayload.Builder setClassification(ClassificationProto.ClassificationAnnotation value)
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
-
setClassification
public AnnotationPayload.Builder setClassification(ClassificationProto.ClassificationAnnotation.Builder builderForValue)
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
-
mergeClassification
public AnnotationPayload.Builder mergeClassification(ClassificationProto.ClassificationAnnotation value)
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
-
clearClassification
public AnnotationPayload.Builder clearClassification()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
-
getClassificationBuilder
public ClassificationProto.ClassificationAnnotation.Builder getClassificationBuilder()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
-
getClassificationOrBuilder
public ClassificationProto.ClassificationAnnotationOrBuilder getClassificationOrBuilder()
Annotation details for content or image classification.
.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;
- Specified by:
getClassificationOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
hasImageObjectDetection
public boolean hasImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
- Specified by:
hasImageObjectDetection
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the imageObjectDetection field is set.
-
getImageObjectDetection
public ImageObjectDetectionAnnotation getImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
- Specified by:
getImageObjectDetection
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The imageObjectDetection.
-
setImageObjectDetection
public AnnotationPayload.Builder setImageObjectDetection(ImageObjectDetectionAnnotation value)
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
-
setImageObjectDetection
public AnnotationPayload.Builder setImageObjectDetection(ImageObjectDetectionAnnotation.Builder builderForValue)
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
-
mergeImageObjectDetection
public AnnotationPayload.Builder mergeImageObjectDetection(ImageObjectDetectionAnnotation value)
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
-
clearImageObjectDetection
public AnnotationPayload.Builder clearImageObjectDetection()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
-
getImageObjectDetectionBuilder
public ImageObjectDetectionAnnotation.Builder getImageObjectDetectionBuilder()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
-
getImageObjectDetectionOrBuilder
public ImageObjectDetectionAnnotationOrBuilder getImageObjectDetectionOrBuilder()
Annotation details for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation image_object_detection = 4;
- Specified by:
getImageObjectDetectionOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
hasVideoClassification
public boolean hasVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
- Specified by:
hasVideoClassification
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the videoClassification field is set.
-
getVideoClassification
public ClassificationProto.VideoClassificationAnnotation getVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
- Specified by:
getVideoClassification
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The videoClassification.
-
setVideoClassification
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;
-
setVideoClassification
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;
-
mergeVideoClassification
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;
-
clearVideoClassification
public AnnotationPayload.Builder clearVideoClassification()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
-
getVideoClassificationBuilder
public ClassificationProto.VideoClassificationAnnotation.Builder getVideoClassificationBuilder()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
-
getVideoClassificationOrBuilder
public ClassificationProto.VideoClassificationAnnotationOrBuilder getVideoClassificationOrBuilder()
Annotation details for video classification. Returned for Video Classification predictions.
.google.cloud.automl.v1beta1.VideoClassificationAnnotation video_classification = 9;
- Specified by:
getVideoClassificationOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
hasVideoObjectTracking
public boolean hasVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
- Specified by:
hasVideoObjectTracking
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the videoObjectTracking field is set.
-
getVideoObjectTracking
public VideoObjectTrackingAnnotation getVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
- Specified by:
getVideoObjectTracking
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The videoObjectTracking.
-
setVideoObjectTracking
public AnnotationPayload.Builder setVideoObjectTracking(VideoObjectTrackingAnnotation value)
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
-
setVideoObjectTracking
public AnnotationPayload.Builder setVideoObjectTracking(VideoObjectTrackingAnnotation.Builder builderForValue)
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
-
mergeVideoObjectTracking
public AnnotationPayload.Builder mergeVideoObjectTracking(VideoObjectTrackingAnnotation value)
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
-
clearVideoObjectTracking
public AnnotationPayload.Builder clearVideoObjectTracking()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
-
getVideoObjectTrackingBuilder
public VideoObjectTrackingAnnotation.Builder getVideoObjectTrackingBuilder()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
-
getVideoObjectTrackingOrBuilder
public VideoObjectTrackingAnnotationOrBuilder getVideoObjectTrackingOrBuilder()
Annotation details for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation video_object_tracking = 8;
- Specified by:
getVideoObjectTrackingOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
hasTextExtraction
public boolean hasTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
- Specified by:
hasTextExtraction
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the textExtraction field is set.
-
getTextExtraction
public TextExtractionAnnotation getTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
- Specified by:
getTextExtraction
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The textExtraction.
-
setTextExtraction
public AnnotationPayload.Builder setTextExtraction(TextExtractionAnnotation value)
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
-
setTextExtraction
public AnnotationPayload.Builder setTextExtraction(TextExtractionAnnotation.Builder builderForValue)
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
-
mergeTextExtraction
public AnnotationPayload.Builder mergeTextExtraction(TextExtractionAnnotation value)
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
-
clearTextExtraction
public AnnotationPayload.Builder clearTextExtraction()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
-
getTextExtractionBuilder
public TextExtractionAnnotation.Builder getTextExtractionBuilder()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
-
getTextExtractionOrBuilder
public TextExtractionAnnotationOrBuilder getTextExtractionOrBuilder()
Annotation details for text extraction.
.google.cloud.automl.v1beta1.TextExtractionAnnotation text_extraction = 6;
- Specified by:
getTextExtractionOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
hasTextSentiment
public boolean hasTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
- Specified by:
hasTextSentiment
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the textSentiment field is set.
-
getTextSentiment
public TextSentimentProto.TextSentimentAnnotation getTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
- Specified by:
getTextSentiment
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The textSentiment.
-
setTextSentiment
public AnnotationPayload.Builder setTextSentiment(TextSentimentProto.TextSentimentAnnotation value)
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
-
setTextSentiment
public AnnotationPayload.Builder setTextSentiment(TextSentimentProto.TextSentimentAnnotation.Builder builderForValue)
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
-
mergeTextSentiment
public AnnotationPayload.Builder mergeTextSentiment(TextSentimentProto.TextSentimentAnnotation value)
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
-
clearTextSentiment
public AnnotationPayload.Builder clearTextSentiment()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
-
getTextSentimentBuilder
public TextSentimentProto.TextSentimentAnnotation.Builder getTextSentimentBuilder()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
-
getTextSentimentOrBuilder
public TextSentimentProto.TextSentimentAnnotationOrBuilder getTextSentimentOrBuilder()
Annotation details for text sentiment.
.google.cloud.automl.v1beta1.TextSentimentAnnotation text_sentiment = 7;
- Specified by:
getTextSentimentOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
hasTables
public boolean hasTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
- Specified by:
hasTables
in interfaceAnnotationPayloadOrBuilder
- Returns:
- Whether the tables field is set.
-
getTables
public TablesAnnotation getTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
- Specified by:
getTables
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The tables.
-
setTables
public AnnotationPayload.Builder setTables(TablesAnnotation value)
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
-
setTables
public AnnotationPayload.Builder setTables(TablesAnnotation.Builder builderForValue)
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
-
mergeTables
public AnnotationPayload.Builder mergeTables(TablesAnnotation value)
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
-
clearTables
public AnnotationPayload.Builder clearTables()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
-
getTablesBuilder
public TablesAnnotation.Builder getTablesBuilder()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
-
getTablesOrBuilder
public TablesAnnotationOrBuilder getTablesOrBuilder()
Annotation details for Tables.
.google.cloud.automl.v1beta1.TablesAnnotation tables = 10;
- Specified by:
getTablesOrBuilder
in interfaceAnnotationPayloadOrBuilder
-
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;
- Specified by:
getAnnotationSpecId
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The annotationSpecId.
-
getAnnotationSpecIdBytes
public 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;
- Specified by:
getAnnotationSpecIdBytes
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The bytes for annotationSpecId.
-
setAnnotationSpecId
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;
- Parameters:
value
- The annotationSpecId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setAnnotationSpecIdBytes
public AnnotationPayload.Builder setAnnotationSpecIdBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for annotationSpecId to set.- Returns:
- This builder for chaining.
-
getDisplayName
public 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;
- Specified by:
getDisplayName
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public 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;
- Specified by:
getDisplayNameBytes
in interfaceAnnotationPayloadOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public AnnotationPayload.Builder setDisplayName(String value)
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;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public AnnotationPayload.Builder clearDisplayName()
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:
- This builder for chaining.
-
setDisplayNameBytes
public AnnotationPayload.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AnnotationPayload.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
mergeUnknownFields
public final AnnotationPayload.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotationPayload.Builder>
-
-