Interface Flow.MultiLanguageSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Flow.MultiLanguageSettings,Flow.MultiLanguageSettings.Builder
- Enclosing class:
- Flow
public static interface Flow.MultiLanguageSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.getSupportedResponseLanguageCodes(int index) Optional.com.google.protobuf.ByteStringgetSupportedResponseLanguageCodesBytes(int index) Optional.intOptional.Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnableMultiLanguageDetection
boolean getEnableMultiLanguageDetection()Optional. Enable multi-language detection for this flow. This can be set only if [agent level multi language setting][Agent.enable_multi_language_training] is enabled.
bool enable_multi_language_detection = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableMultiLanguageDetection.
-
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][google.cloud.dialogflow.cx.v3beta1.Agent.enable_multi_language_training] and multi-language detection is enabled in the [flow][google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings.enable_multi_language_detection]. 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:
- A list containing the supportedResponseLanguageCodes.
-
getSupportedResponseLanguageCodesCount
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][google.cloud.dialogflow.cx.v3beta1.Agent.enable_multi_language_training] and multi-language detection is enabled in the [flow][google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings.enable_multi_language_detection]. 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:
- The count of supportedResponseLanguageCodes.
-
getSupportedResponseLanguageCodes
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][google.cloud.dialogflow.cx.v3beta1.Agent.enable_multi_language_training] and multi-language detection is enabled in the [flow][google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings.enable_multi_language_detection]. 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];- Parameters:
index- The index of the element to return.- Returns:
- The supportedResponseLanguageCodes at the given index.
-
getSupportedResponseLanguageCodesBytes
com.google.protobuf.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][google.cloud.dialogflow.cx.v3beta1.Agent.enable_multi_language_training] and multi-language detection is enabled in the [flow][google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings.enable_multi_language_detection]. 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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the supportedResponseLanguageCodes at the given index.
-