public interface LanguageSettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDefaultLanguageCode()
public abstract String getDefaultLanguageCode()Optional. The default language code of the app.
string default_language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The defaultLanguageCode. |
getDefaultLanguageCodeBytes()
public abstract ByteString getDefaultLanguageCodeBytes()Optional. The default language code of the app.
string default_language_code = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultLanguageCode. |
getEnableMultilingualSupport()
public abstract boolean getEnableMultilingualSupport()Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
bool enable_multilingual_support = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableMultilingualSupport. |
getFallbackAction() (deprecated)
public abstract String getFallbackAction()Deprecated. google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See google/cloud/ces/v1beta/app.proto;l=247
Optional. Deprecated: This feature is no longer supported. Use
enable_multilingual_support instead to improve handling of multilingual
input.
The action to perform when an agent receives input in an unsupported
language.
This can be a predefined action or a custom tool call. Valid values are:
- A tool's full resource name, which triggers a specific tool execution.
- A predefined system action, such as "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to terminate the conversation.
string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The fallbackAction. |
getFallbackActionBytes() (deprecated)
public abstract ByteString getFallbackActionBytes()Deprecated. google.cloud.ces.v1beta.LanguageSettings.fallback_action is deprecated. See google/cloud/ces/v1beta/app.proto;l=247
Optional. Deprecated: This feature is no longer supported. Use
enable_multilingual_support instead to improve handling of multilingual
input.
The action to perform when an agent receives input in an unsupported
language.
This can be a predefined action or a custom tool call. Valid values are:
- A tool's full resource name, which triggers a specific tool execution.
- A predefined system action, such as "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to terminate the conversation.
string fallback_action = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fallbackAction. |
getSupportedLanguageCodes(int index)
public abstract String getSupportedLanguageCodes(int index) Optional. List of languages codes supported by the app, in addition to the
default_language_code.
repeated string supported_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The supportedLanguageCodes at the given index. |
getSupportedLanguageCodesBytes(int index)
public abstract ByteString getSupportedLanguageCodesBytes(int index) Optional. List of languages codes supported by the app, in addition to the
default_language_code.
repeated string supported_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the supportedLanguageCodes at the given index. |
getSupportedLanguageCodesCount()
public abstract int getSupportedLanguageCodesCount() Optional. List of languages codes supported by the app, in addition to the
default_language_code.
repeated string supported_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedLanguageCodes. |
getSupportedLanguageCodesList()
public abstract List<String> getSupportedLanguageCodesList() Optional. List of languages codes supported by the app, in addition to the
default_language_code.
repeated string supported_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the supportedLanguageCodes. |