Interface Conversation.InteractionOrBuilder (0.54.0)

public static interface Conversation.InteractionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

The time that the interaction was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time that the interaction was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
TimestampOrBuilder

getMissingTransition()

public abstract Conversation.Interaction.MissingTransition getMissingTransition()

Missing transition predicted for the interaction. This field is set only if the interaction match type was no-match.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;

Returns
Type Description
Conversation.Interaction.MissingTransition

The missingTransition.

getMissingTransitionOrBuilder()

public abstract Conversation.Interaction.MissingTransitionOrBuilder getMissingTransitionOrBuilder()

Missing transition predicted for the interaction. This field is set only if the interaction match type was no-match.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;

Returns
Type Description
Conversation.Interaction.MissingTransitionOrBuilder

getPartialResponses(int index)

public abstract DetectIntentResponse getPartialResponses(int index)

The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.

repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;

Parameter
Name Description
index int
Returns
Type Description
DetectIntentResponse

getPartialResponsesCount()

public abstract int getPartialResponsesCount()

The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.

repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;

Returns
Type Description
int

getPartialResponsesList()

public abstract List<DetectIntentResponse> getPartialResponsesList()

The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.

repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;

Returns
Type Description
List<DetectIntentResponse>

getPartialResponsesOrBuilder(int index)

public abstract DetectIntentResponseOrBuilder getPartialResponsesOrBuilder(int index)

The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.

repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;

Parameter
Name Description
index int
Returns
Type Description
DetectIntentResponseOrBuilder

getPartialResponsesOrBuilderList()

public abstract List<? extends DetectIntentResponseOrBuilder> getPartialResponsesOrBuilderList()

The partial responses of the interaction. Empty if there is no partial response in the interaction. See the partial response documentation.

repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder>

getRequest()

public abstract DetectIntentRequest getRequest()

The request of the interaction.

.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;

Returns
Type Description
DetectIntentRequest

The request.

getRequestOrBuilder()

public abstract DetectIntentRequestOrBuilder getRequestOrBuilder()

The request of the interaction.

.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;

Returns
Type Description
DetectIntentRequestOrBuilder

getRequestUtterances()

public abstract String getRequestUtterances()

The input text or the transcript of the input audio in the request.

string request_utterances = 4;

Returns
Type Description
String

The requestUtterances.

getRequestUtterancesBytes()

public abstract ByteString getRequestUtterancesBytes()

The input text or the transcript of the input audio in the request.

string request_utterances = 4;

Returns
Type Description
ByteString

The bytes for requestUtterances.

getResponse()

public abstract DetectIntentResponse getResponse()

The final response of the interaction.

.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;

Returns
Type Description
DetectIntentResponse

The response.

getResponseOrBuilder()

public abstract DetectIntentResponseOrBuilder getResponseOrBuilder()

The final response of the interaction.

.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;

Returns
Type Description
DetectIntentResponseOrBuilder

getResponseUtterances()

public abstract String getResponseUtterances()

The output text or the transcript of the output audio in the responses. If multiple output messages are returned, they will be concatenated into one.

string response_utterances = 5;

Returns
Type Description
String

The responseUtterances.

getResponseUtterancesBytes()

public abstract ByteString getResponseUtterancesBytes()

The output text or the transcript of the output audio in the responses. If multiple output messages are returned, they will be concatenated into one.

string response_utterances = 5;

Returns
Type Description
ByteString

The bytes for responseUtterances.

hasCreateTime()

public abstract boolean hasCreateTime()

The time that the interaction was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
boolean

Whether the createTime field is set.

hasMissingTransition()

public abstract boolean hasMissingTransition()

Missing transition predicted for the interaction. This field is set only if the interaction match type was no-match.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8;

Returns
Type Description
boolean

Whether the missingTransition field is set.

hasRequest()

public abstract boolean hasRequest()

The request of the interaction.

.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;

Returns
Type Description
boolean

Whether the request field is set.

hasResponse()

public abstract boolean hasResponse()

The final response of the interaction.

.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;

Returns
Type Description
boolean

Whether the response field is set.