// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2/session.proto

package com.google.cloud.dialogflow.v2;

public interface TextInputOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.TextInput)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Required. The UTF-8 encoded natural language text to be processed.
   * Text length must not exceed 256 bytes.
   * </pre>
   *
   * <code>string text = 1;</code>
   */
  java.lang.String getText();
  /**
   * <pre>
   * Required. The UTF-8 encoded natural language text to be processed.
   * Text length must not exceed 256 bytes.
   * </pre>
   *
   * <code>string text = 1;</code>
   */
  com.google.protobuf.ByteString
      getTextBytes();

  /**
   * <pre>
   * Required. The language of this conversational query. See [Language
   * Support](https://dialogflow.com/docs/languages) for a list of the
   * currently supported language codes. Note that queries in the same session
   * do not necessarily need to specify the same language.
   * </pre>
   *
   * <code>string language_code = 2;</code>
   */
  java.lang.String getLanguageCode();
  /**
   * <pre>
   * Required. The language of this conversational query. See [Language
   * Support](https://dialogflow.com/docs/languages) for a list of the
   * currently supported language codes. Note that queries in the same session
   * do not necessarily need to specify the same language.
   * </pre>
   *
   * <code>string language_code = 2;</code>
   */
  com.google.protobuf.ByteString
      getLanguageCodeBytes();
}
