Package com.google.cloud.automl.v1beta1
Class ModelEvaluation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModelEvaluation.Builder>
-
- com.google.cloud.automl.v1beta1.ModelEvaluation.Builder
-
- All Implemented Interfaces:
ModelEvaluationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ModelEvaluation
public static final class ModelEvaluation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelEvaluation.Builder> implements ModelEvaluationOrBuilder
Evaluation results of a model.
Protobuf typegoogle.cloud.automl.v1beta1.ModelEvaluation
-
-
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<ModelEvaluation.Builder>
-
clear
public ModelEvaluation.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<ModelEvaluation.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<ModelEvaluation.Builder>
-
getDefaultInstanceForType
public ModelEvaluation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelEvaluation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelEvaluation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelEvaluation.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<ModelEvaluation.Builder>
-
setField
public ModelEvaluation.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<ModelEvaluation.Builder>
-
clearField
public ModelEvaluation.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<ModelEvaluation.Builder>
-
clearOneof
public ModelEvaluation.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<ModelEvaluation.Builder>
-
setRepeatedField
public ModelEvaluation.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<ModelEvaluation.Builder>
-
addRepeatedField
public ModelEvaluation.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<ModelEvaluation.Builder>
-
mergeFrom
public ModelEvaluation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelEvaluation.Builder>
-
mergeFrom
public ModelEvaluation.Builder mergeFrom(ModelEvaluation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelEvaluation.Builder>
-
mergeFrom
public ModelEvaluation.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<ModelEvaluation.Builder>
- Throws:
IOException
-
getMetricsCase
public ModelEvaluation.MetricsCase getMetricsCase()
- Specified by:
getMetricsCase
in interfaceModelEvaluationOrBuilder
-
clearMetrics
public ModelEvaluation.Builder clearMetrics()
-
hasClassificationEvaluationMetrics
public boolean hasClassificationEvaluationMetrics()
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
- Specified by:
hasClassificationEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the classificationEvaluationMetrics field is set.
-
getClassificationEvaluationMetrics
public ClassificationProto.ClassificationEvaluationMetrics getClassificationEvaluationMetrics()
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
- Specified by:
getClassificationEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- The classificationEvaluationMetrics.
-
setClassificationEvaluationMetrics
public ModelEvaluation.Builder setClassificationEvaluationMetrics(ClassificationProto.ClassificationEvaluationMetrics value)
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
-
setClassificationEvaluationMetrics
public ModelEvaluation.Builder setClassificationEvaluationMetrics(ClassificationProto.ClassificationEvaluationMetrics.Builder builderForValue)
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
-
mergeClassificationEvaluationMetrics
public ModelEvaluation.Builder mergeClassificationEvaluationMetrics(ClassificationProto.ClassificationEvaluationMetrics value)
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
-
clearClassificationEvaluationMetrics
public ModelEvaluation.Builder clearClassificationEvaluationMetrics()
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
-
getClassificationEvaluationMetricsBuilder
public ClassificationProto.ClassificationEvaluationMetrics.Builder getClassificationEvaluationMetricsBuilder()
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
-
getClassificationEvaluationMetricsOrBuilder
public ClassificationProto.ClassificationEvaluationMetricsOrBuilder getClassificationEvaluationMetricsOrBuilder()
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
- Specified by:
getClassificationEvaluationMetricsOrBuilder
in interfaceModelEvaluationOrBuilder
-
hasRegressionEvaluationMetrics
public boolean hasRegressionEvaluationMetrics()
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
- Specified by:
hasRegressionEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the regressionEvaluationMetrics field is set.
-
getRegressionEvaluationMetrics
public RegressionProto.RegressionEvaluationMetrics getRegressionEvaluationMetrics()
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
- Specified by:
getRegressionEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- The regressionEvaluationMetrics.
-
setRegressionEvaluationMetrics
public ModelEvaluation.Builder setRegressionEvaluationMetrics(RegressionProto.RegressionEvaluationMetrics value)
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
-
setRegressionEvaluationMetrics
public ModelEvaluation.Builder setRegressionEvaluationMetrics(RegressionProto.RegressionEvaluationMetrics.Builder builderForValue)
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
-
mergeRegressionEvaluationMetrics
public ModelEvaluation.Builder mergeRegressionEvaluationMetrics(RegressionProto.RegressionEvaluationMetrics value)
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
-
clearRegressionEvaluationMetrics
public ModelEvaluation.Builder clearRegressionEvaluationMetrics()
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
-
getRegressionEvaluationMetricsBuilder
public RegressionProto.RegressionEvaluationMetrics.Builder getRegressionEvaluationMetricsBuilder()
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
-
getRegressionEvaluationMetricsOrBuilder
public RegressionProto.RegressionEvaluationMetricsOrBuilder getRegressionEvaluationMetricsOrBuilder()
Model evaluation metrics for Tables regression. Tables problem is considered a regression when the target column has FLOAT64 DataType.
.google.cloud.automl.v1beta1.RegressionEvaluationMetrics regression_evaluation_metrics = 24;
- Specified by:
getRegressionEvaluationMetricsOrBuilder
in interfaceModelEvaluationOrBuilder
-
hasTranslationEvaluationMetrics
public boolean hasTranslationEvaluationMetrics()
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
- Specified by:
hasTranslationEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the translationEvaluationMetrics field is set.
-
getTranslationEvaluationMetrics
public TranslationEvaluationMetrics getTranslationEvaluationMetrics()
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
- Specified by:
getTranslationEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- The translationEvaluationMetrics.
-
setTranslationEvaluationMetrics
public ModelEvaluation.Builder setTranslationEvaluationMetrics(TranslationEvaluationMetrics value)
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
-
setTranslationEvaluationMetrics
public ModelEvaluation.Builder setTranslationEvaluationMetrics(TranslationEvaluationMetrics.Builder builderForValue)
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
-
mergeTranslationEvaluationMetrics
public ModelEvaluation.Builder mergeTranslationEvaluationMetrics(TranslationEvaluationMetrics value)
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
-
clearTranslationEvaluationMetrics
public ModelEvaluation.Builder clearTranslationEvaluationMetrics()
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
-
getTranslationEvaluationMetricsBuilder
public TranslationEvaluationMetrics.Builder getTranslationEvaluationMetricsBuilder()
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
-
getTranslationEvaluationMetricsOrBuilder
public TranslationEvaluationMetricsOrBuilder getTranslationEvaluationMetricsOrBuilder()
Model evaluation metrics for translation.
.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
- Specified by:
getTranslationEvaluationMetricsOrBuilder
in interfaceModelEvaluationOrBuilder
-
hasImageObjectDetectionEvaluationMetrics
public boolean hasImageObjectDetectionEvaluationMetrics()
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
- Specified by:
hasImageObjectDetectionEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the imageObjectDetectionEvaluationMetrics field is set.
-
getImageObjectDetectionEvaluationMetrics
public ImageObjectDetectionEvaluationMetrics getImageObjectDetectionEvaluationMetrics()
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
- Specified by:
getImageObjectDetectionEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- The imageObjectDetectionEvaluationMetrics.
-
setImageObjectDetectionEvaluationMetrics
public ModelEvaluation.Builder setImageObjectDetectionEvaluationMetrics(ImageObjectDetectionEvaluationMetrics value)
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
-
setImageObjectDetectionEvaluationMetrics
public ModelEvaluation.Builder setImageObjectDetectionEvaluationMetrics(ImageObjectDetectionEvaluationMetrics.Builder builderForValue)
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
-
mergeImageObjectDetectionEvaluationMetrics
public ModelEvaluation.Builder mergeImageObjectDetectionEvaluationMetrics(ImageObjectDetectionEvaluationMetrics value)
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
-
clearImageObjectDetectionEvaluationMetrics
public ModelEvaluation.Builder clearImageObjectDetectionEvaluationMetrics()
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
-
getImageObjectDetectionEvaluationMetricsBuilder
public ImageObjectDetectionEvaluationMetrics.Builder getImageObjectDetectionEvaluationMetricsBuilder()
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
-
getImageObjectDetectionEvaluationMetricsOrBuilder
public ImageObjectDetectionEvaluationMetricsOrBuilder getImageObjectDetectionEvaluationMetricsOrBuilder()
Model evaluation metrics for image object detection.
.google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
- Specified by:
getImageObjectDetectionEvaluationMetricsOrBuilder
in interfaceModelEvaluationOrBuilder
-
hasVideoObjectTrackingEvaluationMetrics
public boolean hasVideoObjectTrackingEvaluationMetrics()
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
- Specified by:
hasVideoObjectTrackingEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the videoObjectTrackingEvaluationMetrics field is set.
-
getVideoObjectTrackingEvaluationMetrics
public VideoObjectTrackingEvaluationMetrics getVideoObjectTrackingEvaluationMetrics()
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
- Specified by:
getVideoObjectTrackingEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- The videoObjectTrackingEvaluationMetrics.
-
setVideoObjectTrackingEvaluationMetrics
public ModelEvaluation.Builder setVideoObjectTrackingEvaluationMetrics(VideoObjectTrackingEvaluationMetrics value)
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
-
setVideoObjectTrackingEvaluationMetrics
public ModelEvaluation.Builder setVideoObjectTrackingEvaluationMetrics(VideoObjectTrackingEvaluationMetrics.Builder builderForValue)
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
-
mergeVideoObjectTrackingEvaluationMetrics
public ModelEvaluation.Builder mergeVideoObjectTrackingEvaluationMetrics(VideoObjectTrackingEvaluationMetrics value)
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
-
clearVideoObjectTrackingEvaluationMetrics
public ModelEvaluation.Builder clearVideoObjectTrackingEvaluationMetrics()
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
-
getVideoObjectTrackingEvaluationMetricsBuilder
public VideoObjectTrackingEvaluationMetrics.Builder getVideoObjectTrackingEvaluationMetricsBuilder()
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
-
getVideoObjectTrackingEvaluationMetricsOrBuilder
public VideoObjectTrackingEvaluationMetricsOrBuilder getVideoObjectTrackingEvaluationMetricsOrBuilder()
Model evaluation metrics for video object tracking.
.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics video_object_tracking_evaluation_metrics = 14;
- Specified by:
getVideoObjectTrackingEvaluationMetricsOrBuilder
in interfaceModelEvaluationOrBuilder
-
hasTextSentimentEvaluationMetrics
public boolean hasTextSentimentEvaluationMetrics()
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
- Specified by:
hasTextSentimentEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the textSentimentEvaluationMetrics field is set.
-
getTextSentimentEvaluationMetrics
public TextSentimentProto.TextSentimentEvaluationMetrics getTextSentimentEvaluationMetrics()
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
- Specified by:
getTextSentimentEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- The textSentimentEvaluationMetrics.
-
setTextSentimentEvaluationMetrics
public ModelEvaluation.Builder setTextSentimentEvaluationMetrics(TextSentimentProto.TextSentimentEvaluationMetrics value)
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
-
setTextSentimentEvaluationMetrics
public ModelEvaluation.Builder setTextSentimentEvaluationMetrics(TextSentimentProto.TextSentimentEvaluationMetrics.Builder builderForValue)
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
-
mergeTextSentimentEvaluationMetrics
public ModelEvaluation.Builder mergeTextSentimentEvaluationMetrics(TextSentimentProto.TextSentimentEvaluationMetrics value)
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
-
clearTextSentimentEvaluationMetrics
public ModelEvaluation.Builder clearTextSentimentEvaluationMetrics()
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
-
getTextSentimentEvaluationMetricsBuilder
public TextSentimentProto.TextSentimentEvaluationMetrics.Builder getTextSentimentEvaluationMetricsBuilder()
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
-
getTextSentimentEvaluationMetricsOrBuilder
public TextSentimentProto.TextSentimentEvaluationMetricsOrBuilder getTextSentimentEvaluationMetricsOrBuilder()
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1beta1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
- Specified by:
getTextSentimentEvaluationMetricsOrBuilder
in interfaceModelEvaluationOrBuilder
-
hasTextExtractionEvaluationMetrics
public boolean hasTextExtractionEvaluationMetrics()
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
- Specified by:
hasTextExtractionEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the textExtractionEvaluationMetrics field is set.
-
getTextExtractionEvaluationMetrics
public TextExtractionEvaluationMetrics getTextExtractionEvaluationMetrics()
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
- Specified by:
getTextExtractionEvaluationMetrics
in interfaceModelEvaluationOrBuilder
- Returns:
- The textExtractionEvaluationMetrics.
-
setTextExtractionEvaluationMetrics
public ModelEvaluation.Builder setTextExtractionEvaluationMetrics(TextExtractionEvaluationMetrics value)
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
-
setTextExtractionEvaluationMetrics
public ModelEvaluation.Builder setTextExtractionEvaluationMetrics(TextExtractionEvaluationMetrics.Builder builderForValue)
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
-
mergeTextExtractionEvaluationMetrics
public ModelEvaluation.Builder mergeTextExtractionEvaluationMetrics(TextExtractionEvaluationMetrics value)
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
-
clearTextExtractionEvaluationMetrics
public ModelEvaluation.Builder clearTextExtractionEvaluationMetrics()
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
-
getTextExtractionEvaluationMetricsBuilder
public TextExtractionEvaluationMetrics.Builder getTextExtractionEvaluationMetricsBuilder()
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
-
getTextExtractionEvaluationMetricsOrBuilder
public TextExtractionEvaluationMetricsOrBuilder getTextExtractionEvaluationMetricsOrBuilder()
Evaluation metrics for text extraction models.
.google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
- Specified by:
getTextExtractionEvaluationMetricsOrBuilder
in interfaceModelEvaluationOrBuilder
-
getName
public String getName()
Output only. Resource name of the model evaluation. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
string name = 1;
- Specified by:
getName
in interfaceModelEvaluationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the model evaluation. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
string name = 1;
- Specified by:
getNameBytes
in interfaceModelEvaluationOrBuilder
- Returns:
- The bytes for name.
-
setName
public ModelEvaluation.Builder setName(String value)
Output only. Resource name of the model evaluation. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ModelEvaluation.Builder clearName()
Output only. Resource name of the model evaluation. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public ModelEvaluation.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the model evaluation. Format: `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAnnotationSpecId
public String getAnnotationSpecId()
Output only. The ID of the annotation spec that the model evaluation applies to. The The ID is empty for the overall model evaluation. For Tables annotation specs in the dataset do not exist and this ID is always not set, but for CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;
- Specified by:
getAnnotationSpecId
in interfaceModelEvaluationOrBuilder
- Returns:
- The annotationSpecId.
-
getAnnotationSpecIdBytes
public com.google.protobuf.ByteString getAnnotationSpecIdBytes()
Output only. The ID of the annotation spec that the model evaluation applies to. The The ID is empty for the overall model evaluation. For Tables annotation specs in the dataset do not exist and this ID is always not set, but for CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;
- Specified by:
getAnnotationSpecIdBytes
in interfaceModelEvaluationOrBuilder
- Returns:
- The bytes for annotationSpecId.
-
setAnnotationSpecId
public ModelEvaluation.Builder setAnnotationSpecId(String value)
Output only. The ID of the annotation spec that the model evaluation applies to. The The ID is empty for the overall model evaluation. For Tables annotation specs in the dataset do not exist and this ID is always not set, but for CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;
- Parameters:
value
- The annotationSpecId to set.- Returns:
- This builder for chaining.
-
clearAnnotationSpecId
public ModelEvaluation.Builder clearAnnotationSpecId()
Output only. The ID of the annotation spec that the model evaluation applies to. The The ID is empty for the overall model evaluation. For Tables annotation specs in the dataset do not exist and this ID is always not set, but for CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;
- Returns:
- This builder for chaining.
-
setAnnotationSpecIdBytes
public ModelEvaluation.Builder setAnnotationSpecIdBytes(com.google.protobuf.ByteString value)
Output only. The ID of the annotation spec that the model evaluation applies to. The The ID is empty for the overall model evaluation. For Tables annotation specs in the dataset do not exist and this ID is always not set, but for CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;
- 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] at the moment when the model was trained. Because this field returns a value at model training time, for different models trained from the same dataset, the values may differ, since display names could had been changed between the two model's trainings. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] distinct values of the target column at the moment of the model evaluation are populated here. The display_name is empty for the overall model evaluation.
string display_name = 15;
- Specified by:
getDisplayName
in interfaceModelEvaluationOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The value of [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at the moment when the model was trained. Because this field returns a value at model training time, for different models trained from the same dataset, the values may differ, since display names could had been changed between the two model's trainings. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] distinct values of the target column at the moment of the model evaluation are populated here. The display_name is empty for the overall model evaluation.
string display_name = 15;
- Specified by:
getDisplayNameBytes
in interfaceModelEvaluationOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public ModelEvaluation.Builder setDisplayName(String value)
Output only. The value of [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at the moment when the model was trained. Because this field returns a value at model training time, for different models trained from the same dataset, the values may differ, since display names could had been changed between the two model's trainings. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] distinct values of the target column at the moment of the model evaluation are populated here. The display_name is empty for the overall model evaluation.
string display_name = 15;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public ModelEvaluation.Builder clearDisplayName()
Output only. The value of [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at the moment when the model was trained. Because this field returns a value at model training time, for different models trained from the same dataset, the values may differ, since display names could had been changed between the two model's trainings. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] distinct values of the target column at the moment of the model evaluation are populated here. The display_name is empty for the overall model evaluation.
string display_name = 15;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public ModelEvaluation.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The value of [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at the moment when the model was trained. Because this field returns a value at model training time, for different models trained from the same dataset, the values may differ, since display names could had been changed between the two model's trainings. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type] distinct values of the target column at the moment of the model evaluation are populated here. The display_name is empty for the overall model evaluation.
string display_name = 15;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
hasCreateTime
in interfaceModelEvaluationOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
getCreateTime
in interfaceModelEvaluationOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public ModelEvaluation.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
-
setCreateTime
public ModelEvaluation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
-
mergeCreateTime
public ModelEvaluation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
-
clearCreateTime
public ModelEvaluation.Builder clearCreateTime()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5;
- Specified by:
getCreateTimeOrBuilder
in interfaceModelEvaluationOrBuilder
-
getEvaluatedExampleCount
public int getEvaluatedExampleCount()
Output only. The number of examples used for model evaluation, i.e. for which ground truth from time of model creation is compared against the predicted annotations created by the model. For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is the total number of all examples used for evaluation. Otherwise, this is the count of examples that according to the ground truth were annotated by the [annotation_spec_id][google.cloud.automl.v1beta1.ModelEvaluation.annotation_spec_id].
int32 evaluated_example_count = 6;
- Specified by:
getEvaluatedExampleCount
in interfaceModelEvaluationOrBuilder
- Returns:
- The evaluatedExampleCount.
-
setEvaluatedExampleCount
public ModelEvaluation.Builder setEvaluatedExampleCount(int value)
Output only. The number of examples used for model evaluation, i.e. for which ground truth from time of model creation is compared against the predicted annotations created by the model. For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is the total number of all examples used for evaluation. Otherwise, this is the count of examples that according to the ground truth were annotated by the [annotation_spec_id][google.cloud.automl.v1beta1.ModelEvaluation.annotation_spec_id].
int32 evaluated_example_count = 6;
- Parameters:
value
- The evaluatedExampleCount to set.- Returns:
- This builder for chaining.
-
clearEvaluatedExampleCount
public ModelEvaluation.Builder clearEvaluatedExampleCount()
Output only. The number of examples used for model evaluation, i.e. for which ground truth from time of model creation is compared against the predicted annotations created by the model. For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is the total number of all examples used for evaluation. Otherwise, this is the count of examples that according to the ground truth were annotated by the [annotation_spec_id][google.cloud.automl.v1beta1.ModelEvaluation.annotation_spec_id].
int32 evaluated_example_count = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ModelEvaluation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelEvaluation.Builder>
-
mergeUnknownFields
public final ModelEvaluation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelEvaluation.Builder>
-
-