Interface BidiStreamingAnalyzeContentRequest.TurnInputOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BidiStreamingAnalyzeContentRequest.TurnInput, BidiStreamingAnalyzeContentRequest.TurnInput.Builder
Enclosing class:
BidiStreamingAnalyzeContentRequest

public static interface BidiStreamingAnalyzeContentRequest.TurnInputOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The input event name.
    com.google.protobuf.ByteString
    The input event name.
    The intent to be triggered on V3 agent.
    com.google.protobuf.ByteString
    The intent to be triggered on V3 agent.
     
    The UTF-8 encoded natural language text to be processed.
    com.google.protobuf.ByteString
    The UTF-8 encoded natural language text to be processed.
    com.google.protobuf.Struct
    Optional.
    com.google.protobuf.StructOrBuilder
    Optional.
    boolean
    The input event name.
    boolean
    The intent to be triggered on V3 agent.
    boolean
    The UTF-8 encoded natural language text to be processed.
    boolean
    Optional.

    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

    • hasText

      boolean hasText()
       The UTF-8 encoded natural language text to be processed.
       
      string text = 1;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       The UTF-8 encoded natural language text to be processed.
       
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       The UTF-8 encoded natural language text to be processed.
       
      string text = 1;
      Returns:
      The bytes for text.
    • hasIntent

      boolean hasIntent()
       The intent to be triggered on V3 agent.
       Format: `projects/<Project ID>/locations/<Location ID>/locations/
       <Location ID>/agents/<Agent ID>/intents/<Intent ID>`. This can only be
       used to trigger the Welcome intent id if the modality is text.
       
      string intent = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the intent field is set.
    • getIntent

      String getIntent()
       The intent to be triggered on V3 agent.
       Format: `projects/<Project ID>/locations/<Location ID>/locations/
       <Location ID>/agents/<Agent ID>/intents/<Intent ID>`. This can only be
       used to trigger the Welcome intent id if the modality is text.
       
      string intent = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The intent.
    • getIntentBytes

      com.google.protobuf.ByteString getIntentBytes()
       The intent to be triggered on V3 agent.
       Format: `projects/<Project ID>/locations/<Location ID>/locations/
       <Location ID>/agents/<Agent ID>/intents/<Intent ID>`. This can only be
       used to trigger the Welcome intent id if the modality is text.
       
      string intent = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for intent.
    • hasEvent

      boolean hasEvent()
       The input event name.
       This can only be sent once and would cancel the ongoing speech
       recognition if any. To trigger the Welcome intent use the
       event "WELCOME"
       
      string event = 3;
      Returns:
      Whether the event field is set.
    • getEvent

      String getEvent()
       The input event name.
       This can only be sent once and would cancel the ongoing speech
       recognition if any. To trigger the Welcome intent use the
       event "WELCOME"
       
      string event = 3;
      Returns:
      The event.
    • getEventBytes

      com.google.protobuf.ByteString getEventBytes()
       The input event name.
       This can only be sent once and would cancel the ongoing speech
       recognition if any. To trigger the Welcome intent use the
       event "WELCOME"
       
      string event = 3;
      Returns:
      The bytes for event.
    • hasVirtualAgentParameters

      boolean hasVirtualAgentParameters()
       Optional. Parameters to be passed to the virtual agent.
       
      .google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the virtualAgentParameters field is set.
    • getVirtualAgentParameters

      com.google.protobuf.Struct getVirtualAgentParameters()
       Optional. Parameters to be passed to the virtual agent.
       
      .google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The virtualAgentParameters.
    • getVirtualAgentParametersOrBuilder

      com.google.protobuf.StructOrBuilder getVirtualAgentParametersOrBuilder()
       Optional. Parameters to be passed to the virtual agent.
       
      .google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMainContentCase