Interface TranslationModelMetadataOrBuilder (2.46.0)

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
Type Description
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
Type Description
ByteString

The bytes for baseModel.

getSourceLanguageCode()

public abstract String getSourceLanguageCode()

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

string source_language_code = 2;

Returns
Type Description
String

The sourceLanguageCode.

getSourceLanguageCodeBytes()

public abstract ByteString getSourceLanguageCodeBytes()

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

string source_language_code = 2;

Returns
Type Description
ByteString

The bytes for sourceLanguageCode.

getTargetLanguageCode()

public abstract String getTargetLanguageCode()

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

string target_language_code = 3;

Returns
Type Description
String

The targetLanguageCode.

getTargetLanguageCodeBytes()

public abstract ByteString getTargetLanguageCodeBytes()

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

string target_language_code = 3;

Returns
Type Description
ByteString

The bytes for targetLanguageCode.