Package com.google.cloud.automl.v1
Interface TranslationModelMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TranslationModelMetadata,TranslationModelMetadata.Builder
public interface TranslationModelMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBaseModel()The resource name of the model to use as a baseline to train the custom model.com.google.protobuf.ByteStringgetBaseModelBytes()The resource name of the model to use as a baseline to train the custom model.StringgetSourceLanguageCode()Output only.com.google.protobuf.ByteStringgetSourceLanguageCodeBytes()Output only.StringgetTargetLanguageCode()Output only.com.google.protobuf.ByteStringgetTargetLanguageCodeBytes()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBaseModel
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:
- The baseModel.
-
getBaseModelBytes
com.google.protobuf.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:
- The bytes for baseModel.
-
getSourceLanguageCode
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:
- The sourceLanguageCode.
-
getSourceLanguageCodeBytes
com.google.protobuf.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:
- The bytes for sourceLanguageCode.
-
getTargetLanguageCode
String getTargetLanguageCode()
Output only. The target language (The BCP-47 language code) that is used for training.
string target_language_code = 3;- Returns:
- The targetLanguageCode.
-
getTargetLanguageCodeBytes
com.google.protobuf.ByteString getTargetLanguageCodeBytes()
Output only. The target language (The BCP-47 language code) that is used for training.
string target_language_code = 3;- Returns:
- The bytes for targetLanguageCode.
-
-