Interface RunAssistantRequestOrBuilder (0.19.0)

public interface RunAssistantRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApp()

public abstract String getApp()

Required. The app to run assistant for. Format: projects/{project}/locations/{location}/apps/{app}

string app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The app.

getAppBytes()

public abstract ByteString getAppBytes()

Required. The app to run assistant for. Format: projects/{project}/locations/{location}/apps/{app}

string app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for app.

getAssistantSession()

public abstract String getAssistantSession()

Required. The assistant session to be used to run the assistant. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}

string assistant_session = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The assistantSession.

getAssistantSessionBytes()

public abstract ByteString getAssistantSessionBytes()

Required. The assistant session to be used to run the assistant. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}

string assistant_session = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for assistantSession.

getInteractionType()

public abstract RunAssistantRequest.InteractionType getInteractionType()

Optional. Different interaction types for the assistant message.

.google.cloud.ces.v1beta.RunAssistantRequest.InteractionType interaction_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RunAssistantRequest.InteractionType

The interactionType.

getInteractionTypeValue()

public abstract int getInteractionTypeValue()

Optional. Different interaction types for the assistant message.

.google.cloud.ces.v1beta.RunAssistantRequest.InteractionType interaction_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for interactionType.

getMessage()

public abstract AssistantMessage getMessage()

Required. The message to send to the assistant agent.

.google.cloud.ces.v1beta.AssistantMessage message = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssistantMessage

The message.

getMessageOrBuilder()

public abstract AssistantMessageOrBuilder getMessageOrBuilder()

Required. The message to send to the assistant agent.

.google.cloud.ces.v1beta.AssistantMessage message = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssistantMessageOrBuilder

hasMessage()

public abstract boolean hasMessage()

Required. The message to send to the assistant agent.

.google.cloud.ces.v1beta.AssistantMessage message = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the message field is set.