Interface Flow.MultiLanguageSettingsOrBuilder (0.59.0)

public static interface Flow.MultiLanguageSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableMultiLanguageDetection()

public abstract boolean getEnableMultiLanguageDetection()

Optional. Enable multi-language detection for this flow. This can be set only if agent level multi language setting is enabled.

bool enable_multi_language_detection = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableMultiLanguageDetection.

getSupportedResponseLanguageCodes(int index)

public abstract String getSupportedResponseLanguageCodes(int index)

Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent.

repeated string supported_response_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 supportedResponseLanguageCodes at the given index.

getSupportedResponseLanguageCodesBytes(int index)

public abstract ByteString getSupportedResponseLanguageCodesBytes(int index)

Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent.

repeated string supported_response_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 supportedResponseLanguageCodes at the given index.

getSupportedResponseLanguageCodesCount()

public abstract int getSupportedResponseLanguageCodesCount()

Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent.

repeated string supported_response_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of supportedResponseLanguageCodes.

getSupportedResponseLanguageCodesList()

public abstract List<String> getSupportedResponseLanguageCodesList()

Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent.

repeated string supported_response_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the supportedResponseLanguageCodes.