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