Interface BidiStreamingAnalyzeContentRequest.TurnInputOrBuilder (4.86.0)

public static interface BidiStreamingAnalyzeContentRequest.TurnInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvent()

public abstract 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
Type Description
String

The event.

getEventBytes()

public abstract 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
Type Description
ByteString

The bytes for event.

getIntent()

public abstract 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
Type Description
String

The intent.

getIntentBytes()

public abstract 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
Type Description
ByteString

The bytes for intent.

getMainContentCase()

public abstract BidiStreamingAnalyzeContentRequest.TurnInput.MainContentCase getMainContentCase()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.TurnInput.MainContentCase

getText()

public abstract String getText()

The UTF-8 encoded natural language text to be processed.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The UTF-8 encoded natural language text to be processed.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

getVirtualAgentParameters()

public abstract Struct getVirtualAgentParameters()

Optional. Parameters to be passed to the virtual agent.

.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The virtualAgentParameters.

getVirtualAgentParametersOrBuilder()

public abstract StructOrBuilder getVirtualAgentParametersOrBuilder()

Optional. Parameters to be passed to the virtual agent.

.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

hasEvent()

public abstract 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
Type Description
boolean

Whether the event field is set.

hasIntent()

public abstract 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
Type Description
boolean

Whether the intent field is set.

hasText()

public abstract boolean hasText()

The UTF-8 encoded natural language text to be processed.

string text = 1;

Returns
Type Description
boolean

Whether the text field is set.

hasVirtualAgentParameters()

public abstract boolean hasVirtualAgentParameters()

Optional. Parameters to be passed to the virtual agent.

.google.protobuf.Struct virtual_agent_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the virtualAgentParameters field is set.