Interface TranslationModelMetadataOrBuilder

public interface TranslationModelMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseModel()

public abstract String getBaseModel()

The resource name of the model to use as a baseline to train the custom model. If unset, we use the default base model provided by Google Translate. Format: projects/{project_id}/locations/{location_id}/models/{model_id}

string base_model = 1;

Returns
TypeDescription
String

The baseModel.

getBaseModelBytes()

public abstract ByteString getBaseModelBytes()

The resource name of the model to use as a baseline to train the custom model. If unset, we use the default base model provided by Google Translate. Format: projects/{project_id}/locations/{location_id}/models/{model_id}

string base_model = 1;

Returns
TypeDescription
ByteString

The bytes for baseModel.

getSourceLanguageCode()

public abstract String getSourceLanguageCode()

Output only. Inferred from the dataset. The source language (The BCP-47 language code) that is used for training.

string source_language_code = 2;

Returns
TypeDescription
String

The sourceLanguageCode.

getSourceLanguageCodeBytes()

public abstract ByteString getSourceLanguageCodeBytes()

Output only. Inferred from the dataset. The source language (The BCP-47 language code) that is used for training.

string source_language_code = 2;

Returns
TypeDescription
ByteString

The bytes for sourceLanguageCode.

getTargetLanguageCode()

public abstract String getTargetLanguageCode()

Output only. The target language (The BCP-47 language code) that is used for training.

string target_language_code = 3;

Returns
TypeDescription
String

The targetLanguageCode.

getTargetLanguageCodeBytes()

public abstract ByteString getTargetLanguageCodeBytes()

Output only. The target language (The BCP-47 language code) that is used for training.

string target_language_code = 3;

Returns
TypeDescription
ByteString

The bytes for targetLanguageCode.