Interface LanguageInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LanguageInfo, LanguageInfo.Builder

@Generated public interface LanguageInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    The confidence score of the detected language between 0 and 1.
    The language code specified in the original [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
    com.google.protobuf.ByteString
    The language code specified in the original [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
    The language code detected for this request based on the user conversation.
    com.google.protobuf.ByteString
    The language code detected for this request based on the user conversation.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getInputLanguageCode

      String getInputLanguageCode()
       The language code specified in the original
       [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
       
      string input_language_code = 1;
      Returns:
      The inputLanguageCode.
    • getInputLanguageCodeBytes

      com.google.protobuf.ByteString getInputLanguageCodeBytes()
       The language code specified in the original
       [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
       
      string input_language_code = 1;
      Returns:
      The bytes for inputLanguageCode.
    • getResolvedLanguageCode

      String getResolvedLanguageCode()
       The language code detected for this request based on the user
       conversation.
       
      string resolved_language_code = 2;
      Returns:
      The resolvedLanguageCode.
    • getResolvedLanguageCodeBytes

      com.google.protobuf.ByteString getResolvedLanguageCodeBytes()
       The language code detected for this request based on the user
       conversation.
       
      string resolved_language_code = 2;
      Returns:
      The bytes for resolvedLanguageCode.
    • getConfidenceScore

      float getConfidenceScore()
       The confidence score of the detected language between 0 and 1.
       
      float confidence_score = 3;
      Returns:
      The confidenceScore.