Interface AgentUtteranceOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getText

      String getText()
       Required. Message content in text.
       
      string text = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Required. Message content in text.
       
      string text = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for text.
    • getRequireGeneration

      boolean getRequireGeneration()
       Optional. True if the agent utterance needs to be generated by the LLM.
       Only used in webhook response to differentiate from empty text. Revisit
       whether we need this field or mark `text` as optional when we expose
       webhook interface to customer.
       
      bool require_generation = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The requireGeneration.