Interface LanguageSettingsOrBuilder (0.1.0)

public interface LanguageSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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()

public abstract String getFallbackAction()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fallbackAction.

getFallbackActionBytes()

public abstract ByteString getFallbackActionBytes()

Optional. 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 [(.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 int

The 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 int

The 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.