public final class TranslationEvaluationMetrics extends GeneratedMessageV3 implements TranslationEvaluationMetricsOrBuilder
Evaluation metrics for the dataset.
Protobuf type google.cloud.automl.v1.TranslationEvaluationMetrics
Static Fields
BASE_BLEU_SCORE_FIELD_NUMBER
public static final int BASE_BLEU_SCORE_FIELD_NUMBER
Field Value
BLEU_SCORE_FIELD_NUMBER
public static final int BLEU_SCORE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TranslationEvaluationMetrics getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TranslationEvaluationMetrics.Builder newBuilder()
Returns
newBuilder(TranslationEvaluationMetrics prototype)
public static TranslationEvaluationMetrics.Builder newBuilder(TranslationEvaluationMetrics prototype)
Parameter
Returns
public static TranslationEvaluationMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TranslationEvaluationMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TranslationEvaluationMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TranslationEvaluationMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TranslationEvaluationMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TranslationEvaluationMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TranslationEvaluationMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TranslationEvaluationMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TranslationEvaluationMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TranslationEvaluationMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TranslationEvaluationMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TranslationEvaluationMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TranslationEvaluationMetrics> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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()
Returns
getParserForType()
public Parser<TranslationEvaluationMetrics> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TranslationEvaluationMetrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TranslationEvaluationMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TranslationEvaluationMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions