public interface MultiLanguageDetectionMetadataOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEnableMultiLanguageDetection()
public abstract boolean getEnableMultiLanguageDetection()Optional. Enable detection of multi-language prompts and responses.
bool enable_multi_language_detection = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableMultiLanguageDetection. |
getSourceLanguage()
public abstract String getSourceLanguage()Optional. Optional Source language of the user prompt.
If multi-language detection is enabled but language is not set in that case we would automatically detect the source language.
string source_language = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sourceLanguage. |
getSourceLanguageBytes()
public abstract ByteString getSourceLanguageBytes()Optional. Optional Source language of the user prompt.
If multi-language detection is enabled but language is not set in that case we would automatically detect the source language.
string source_language = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceLanguage. |