Interface Conversation.InteractionOrBuilder (0.69.0)

public static interface Conversation.InteractionOrBuilder extends MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

The time that the interaction was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time that the interaction was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DetectIntentRequest

The request.

getRequestOrBuilder()

public abstract DetectIntentRequestOrBuilder getRequestOrBuilder()

The request of the interaction.

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

Returns
TypeDescription
DetectIntentRequestOrBuilder

getRequestUtterances()

public abstract String getRequestUtterances()

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

string request_utterances = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DetectIntentResponse

The response.

getResponseOrBuilder()

public abstract DetectIntentResponseOrBuilder getResponseOrBuilder()

The final response of the interaction.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for responseUtterances.

hasCreateTime()

public abstract boolean hasCreateTime()

The time that the interaction was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the response field is set.