Interface Conversation.TurnOrBuilder (0.19.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL];

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

getRootSpan()

public abstract Span getRootSpan()

Optional. The root span of the action processing.

.google.cloud.ces.v1beta.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.v1beta.Span root_span = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpanOrBuilder

getUserIntendedText()

public abstract String getUserIntendedText()

Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated when word error rate metrics are enabled.

string user_intended_text = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The userIntendedText.

getUserIntendedTextBytes()

public abstract ByteString getUserIntendedTextBytes()

Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated when word error rate metrics are enabled.

string user_intended_text = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for userIntendedText.

hasRootSpan()

public abstract boolean hasRootSpan()

Optional. The root span of the action processing.

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

Returns
Type Description
boolean

Whether the rootSpan field is set.