Interface Conversation.TurnOrBuilder (0.1.0)

public static interface Conversation.TurnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessages(int index)

public abstract Message getMessages(int index)

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

repeated .google.cloud.ces.v1.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Message

getMessagesCount()

public abstract int getMessagesCount()

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

repeated .google.cloud.ces.v1.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getMessagesList()

public abstract List<Message> getMessagesList()

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

repeated .google.cloud.ces.v1.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Message>

getMessagesOrBuilder(int index)

public abstract MessageOrBuilder getMessagesOrBuilder(int index)

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

repeated .google.cloud.ces.v1.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends MessageOrBuilder> getMessagesOrBuilderList()

Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

repeated .google.cloud.ces.v1.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.MessageOrBuilder>

getRootSpan()

public abstract Span getRootSpan()

Optional. The root span of the action processing.

.google.cloud.ces.v1.Span root_span = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Span

The rootSpan.

getRootSpanOrBuilder()

public abstract SpanOrBuilder getRootSpanOrBuilder()

Optional. The root span of the action processing.

.google.cloud.ces.v1.Span root_span = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpanOrBuilder

hasRootSpan()

public abstract boolean hasRootSpan()

Optional. The root span of the action processing.

.google.cloud.ces.v1.Span root_span = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rootSpan field is set.