Package com.google.cloud.automl.v1
Class ModelEvaluation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelEvaluation.Builder>
com.google.cloud.automl.v1.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.GeneratedMessage.Builder<ModelEvaluation.Builder>
implements ModelEvaluationOrBuilder
Evaluation results of a model.Protobuf type
google.cloud.automl.v1.ModelEvaluation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Model evaluation metrics for image, text, video and tables classification.Output only.Output only.Output only.Model evaluation metrics for image object detection.Output only.Evaluation metrics for text extraction models.Evaluation metrics for text sentiment models.Model evaluation metrics for translation.Output only.com.google.protobuf.ByteStringOutput only.Model evaluation metrics for image, text, video and tables classification.Model evaluation metrics for image, text, video and tables classification.Model evaluation metrics for image, text, video and tables classification.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.intOutput only.Model evaluation metrics for image object detection.Model evaluation metrics for image object detection.Model evaluation metrics for image object detection.getName()Output only.com.google.protobuf.ByteStringOutput only.Evaluation metrics for text extraction models.Evaluation metrics for text extraction models.Evaluation metrics for text extraction models.Evaluation metrics for text sentiment models.Evaluation metrics for text sentiment models.Evaluation metrics for text sentiment models.Model evaluation metrics for translation.Model evaluation metrics for translation.Model evaluation metrics for translation.booleanModel evaluation metrics for image, text, video and tables classification.booleanOutput only.booleanModel evaluation metrics for image object detection.booleanEvaluation metrics for text extraction models.booleanEvaluation metrics for text sentiment models.booleanModel evaluation metrics for translation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanModel evaluation metrics for image, text, video and tables classification.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ModelEvaluation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Model evaluation metrics for image object detection.Evaluation metrics for text extraction models.Evaluation metrics for text sentiment models.Model evaluation metrics for translation.setAnnotationSpecId(String value) Output only.setAnnotationSpecIdBytes(com.google.protobuf.ByteString value) Output only.Model evaluation metrics for image, text, video and tables classification.Model evaluation metrics for image, text, video and tables classification.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setEvaluatedExampleCount(int value) Output only.Model evaluation metrics for image object detection.setImageObjectDetectionEvaluationMetrics(ImageObjectDetectionEvaluationMetrics.Builder builderForValue) Model evaluation metrics for image object detection.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Evaluation metrics for text extraction models.Evaluation metrics for text extraction models.Evaluation metrics for text sentiment models.setTextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics.Builder builderForValue) Evaluation metrics for text sentiment models.Model evaluation metrics for translation.setTranslationEvaluationMetrics(TranslationEvaluationMetrics.Builder builderForValue) Model evaluation metrics for translation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelEvaluation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ModelEvaluation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ModelEvaluation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelEvaluation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelEvaluation.Builder>
-
mergeFrom
public ModelEvaluation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelEvaluation.Builder>- Throws:
IOException
-
getMetricsCase
- Specified by:
getMetricsCasein interfaceModelEvaluationOrBuilder
-
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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;- Specified by:
hasClassificationEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- Whether the classificationEvaluationMetrics field is set.
-
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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;- Specified by:
getClassificationEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- The classificationEvaluationMetrics.
-
setClassificationEvaluationMetrics
public ModelEvaluation.Builder setClassificationEvaluationMetrics(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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8; -
setClassificationEvaluationMetrics
public ModelEvaluation.Builder setClassificationEvaluationMetrics(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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8; -
mergeClassificationEvaluationMetrics
public ModelEvaluation.Builder mergeClassificationEvaluationMetrics(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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8; -
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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8; -
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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8; -
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.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;- Specified by:
getClassificationEvaluationMetricsOrBuilderin interfaceModelEvaluationOrBuilder
-
hasTranslationEvaluationMetrics
public boolean hasTranslationEvaluationMetrics()Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;- Specified by:
hasTranslationEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- Whether the translationEvaluationMetrics field is set.
-
getTranslationEvaluationMetrics
Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;- Specified by:
getTranslationEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- The translationEvaluationMetrics.
-
setTranslationEvaluationMetrics
Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9; -
setTranslationEvaluationMetrics
public ModelEvaluation.Builder setTranslationEvaluationMetrics(TranslationEvaluationMetrics.Builder builderForValue) Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9; -
mergeTranslationEvaluationMetrics
public ModelEvaluation.Builder mergeTranslationEvaluationMetrics(TranslationEvaluationMetrics value) Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9; -
clearTranslationEvaluationMetrics
Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9; -
getTranslationEvaluationMetricsBuilder
Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9; -
getTranslationEvaluationMetricsOrBuilder
Model evaluation metrics for translation.
.google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;- Specified by:
getTranslationEvaluationMetricsOrBuilderin interfaceModelEvaluationOrBuilder
-
hasImageObjectDetectionEvaluationMetrics
public boolean hasImageObjectDetectionEvaluationMetrics()Model evaluation metrics for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;- Specified by:
hasImageObjectDetectionEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- Whether the imageObjectDetectionEvaluationMetrics field is set.
-
getImageObjectDetectionEvaluationMetrics
Model evaluation metrics for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;- Specified by:
getImageObjectDetectionEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- The imageObjectDetectionEvaluationMetrics.
-
setImageObjectDetectionEvaluationMetrics
public ModelEvaluation.Builder setImageObjectDetectionEvaluationMetrics(ImageObjectDetectionEvaluationMetrics value) Model evaluation metrics for image object detection.
.google.cloud.automl.v1.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.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12; -
mergeImageObjectDetectionEvaluationMetrics
public ModelEvaluation.Builder mergeImageObjectDetectionEvaluationMetrics(ImageObjectDetectionEvaluationMetrics value) Model evaluation metrics for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12; -
clearImageObjectDetectionEvaluationMetrics
Model evaluation metrics for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12; -
getImageObjectDetectionEvaluationMetricsBuilder
public ImageObjectDetectionEvaluationMetrics.Builder getImageObjectDetectionEvaluationMetricsBuilder()Model evaluation metrics for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12; -
getImageObjectDetectionEvaluationMetricsOrBuilder
public ImageObjectDetectionEvaluationMetricsOrBuilder getImageObjectDetectionEvaluationMetricsOrBuilder()Model evaluation metrics for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;- Specified by:
getImageObjectDetectionEvaluationMetricsOrBuilderin interfaceModelEvaluationOrBuilder
-
hasTextSentimentEvaluationMetrics
public boolean hasTextSentimentEvaluationMetrics()Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;- Specified by:
hasTextSentimentEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- Whether the textSentimentEvaluationMetrics field is set.
-
getTextSentimentEvaluationMetrics
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;- Specified by:
getTextSentimentEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- The textSentimentEvaluationMetrics.
-
setTextSentimentEvaluationMetrics
public ModelEvaluation.Builder setTextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics value) Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11; -
setTextSentimentEvaluationMetrics
public ModelEvaluation.Builder setTextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics.Builder builderForValue) Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11; -
mergeTextSentimentEvaluationMetrics
public ModelEvaluation.Builder mergeTextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics value) Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11; -
clearTextSentimentEvaluationMetrics
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11; -
getTextSentimentEvaluationMetricsBuilder
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11; -
getTextSentimentEvaluationMetricsOrBuilder
Evaluation metrics for text sentiment models.
.google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;- Specified by:
getTextSentimentEvaluationMetricsOrBuilderin interfaceModelEvaluationOrBuilder
-
hasTextExtractionEvaluationMetrics
public boolean hasTextExtractionEvaluationMetrics()Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;- Specified by:
hasTextExtractionEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- Whether the textExtractionEvaluationMetrics field is set.
-
getTextExtractionEvaluationMetrics
Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;- Specified by:
getTextExtractionEvaluationMetricsin interfaceModelEvaluationOrBuilder- Returns:
- The textExtractionEvaluationMetrics.
-
setTextExtractionEvaluationMetrics
public ModelEvaluation.Builder setTextExtractionEvaluationMetrics(TextExtractionEvaluationMetrics value) Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13; -
setTextExtractionEvaluationMetrics
public ModelEvaluation.Builder setTextExtractionEvaluationMetrics(TextExtractionEvaluationMetrics.Builder builderForValue) Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13; -
mergeTextExtractionEvaluationMetrics
public ModelEvaluation.Builder mergeTextExtractionEvaluationMetrics(TextExtractionEvaluationMetrics value) Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13; -
clearTextExtractionEvaluationMetrics
Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13; -
getTextExtractionEvaluationMetricsBuilder
Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13; -
getTextExtractionEvaluationMetricsOrBuilder
Evaluation metrics for text extraction models.
.google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;- Specified by:
getTextExtractionEvaluationMetricsOrBuilderin interfaceModelEvaluationOrBuilder
-
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:
getNamein 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:
getNameBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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
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.v1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;- Specified by:
getAnnotationSpecIdin 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.v1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;- Specified by:
getAnnotationSpecIdBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for annotationSpecId.
-
setAnnotationSpecId
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.v1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;- Parameters:
value- The annotationSpecId to set.- Returns:
- This builder for chaining.
-
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.v1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1.ModelEvaluation.display_name] field is used.
string annotation_spec_id = 2;- Returns:
- This builder for chaining.
-
setAnnotationSpecIdBytes
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.v1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1.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
Output only. The value of [display_name][google.cloud.automl.v1.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.v1.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:
getDisplayNamein interfaceModelEvaluationOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The value of [display_name][google.cloud.automl.v1.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.v1.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:
getDisplayNameBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The value of [display_name][google.cloud.automl.v1.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.v1.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
Output only. The value of [display_name][google.cloud.automl.v1.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.v1.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
Output only. The value of [display_name][google.cloud.automl.v1.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.v1.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:
hasCreateTimein 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:
getCreateTimein interfaceModelEvaluationOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5; -
setCreateTime
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5; -
mergeCreateTime
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 5; -
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:
getCreateTimeOrBuilderin 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.v1.ModelEvaluation.annotation_spec_id].
int32 evaluated_example_count = 6;- Specified by:
getEvaluatedExampleCountin interfaceModelEvaluationOrBuilder- Returns:
- The evaluatedExampleCount.
-
setEvaluatedExampleCount
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.v1.ModelEvaluation.annotation_spec_id].
int32 evaluated_example_count = 6;- Parameters:
value- The evaluatedExampleCount to set.- Returns:
- This builder for chaining.
-
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.v1.ModelEvaluation.annotation_spec_id].
int32 evaluated_example_count = 6;- Returns:
- This builder for chaining.
-