public static final class TranslationEvaluationMetrics.Builder extends GeneratedMessageV3.Builder<TranslationEvaluationMetrics.Builder> implements TranslationEvaluationMetricsOrBuilder
Evaluation metrics for the dataset.
Protobuf type google.cloud.automl.v1beta1.TranslationEvaluationMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TranslationEvaluationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TranslationEvaluationMetrics build()
buildPartial()
public TranslationEvaluationMetrics buildPartial()
clear()
public TranslationEvaluationMetrics.Builder clear()
Overrides
clearBaseBleuScore()
public TranslationEvaluationMetrics.Builder clearBaseBleuScore()
Output only. BLEU score for base model.
double base_bleu_score = 2;
clearBleuScore()
public TranslationEvaluationMetrics.Builder clearBleuScore()
Output only. BLEU score.
double bleu_score = 1;
clearField(Descriptors.FieldDescriptor field)
public TranslationEvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TranslationEvaluationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TranslationEvaluationMetrics.Builder clone()
Overrides
getBaseBleuScore()
public double getBaseBleuScore()
Output only. BLEU score for base model.
double base_bleu_score = 2;
Returns |
---|
Type | Description |
double | The baseBleuScore.
|
getBleuScore()
public double getBleuScore()
Output only. BLEU score.
double bleu_score = 1;
Returns |
---|
Type | Description |
double | The bleuScore.
|
getDefaultInstanceForType()
public TranslationEvaluationMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TranslationEvaluationMetrics other)
public TranslationEvaluationMetrics.Builder mergeFrom(TranslationEvaluationMetrics other)
public TranslationEvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TranslationEvaluationMetrics.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TranslationEvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBaseBleuScore(double value)
public TranslationEvaluationMetrics.Builder setBaseBleuScore(double value)
Output only. BLEU score for base model.
double base_bleu_score = 2;
Parameter |
---|
Name | Description |
value | double
The baseBleuScore to set.
|
setBleuScore(double value)
public TranslationEvaluationMetrics.Builder setBleuScore(double value)
Output only. BLEU score.
double bleu_score = 1;
Parameter |
---|
Name | Description |
value | double
The bleuScore to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TranslationEvaluationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TranslationEvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TranslationEvaluationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides