public static final class Conversation.Interaction extends com.google.protobuf.GeneratedMessageV3 implements Conversation.InteractionOrBuilder
Represents an interaction between an end user and a Dialogflow CX agent using V3 (Streaming)DetectIntent API, or an interaction between an end user and a Dialogflow CX agent using V2 (Streaming)AnalyzeContent API.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction| Modifier and Type | Class and Description |
|---|---|
static class |
Conversation.Interaction.Builder
Represents an interaction between an end user and a Dialogflow CX agent
using V3 (Streaming)DetectIntent API, or an interaction between an end user
and a Dialogflow CX agent using V2 (Streaming)AnalyzeContent API.
|
static class |
Conversation.Interaction.MissingTransition
Information collected for DF CX agents in case NLU predicted an intent
that was filtered out as being inactive which may indicate a missing
transition and/or absent functionality.
|
static interface |
Conversation.Interaction.MissingTransitionOrBuilder |
static class |
Conversation.Interaction.StepMetrics
Metrics of each processing step.
|
static interface |
Conversation.Interaction.StepMetricsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANSWER_FEEDBACK_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
MISSING_TRANSITION_FIELD_NUMBER |
static int |
PARTIAL_RESPONSES_FIELD_NUMBER |
static int |
REQUEST_FIELD_NUMBER |
static int |
REQUEST_UTTERANCES_FIELD_NUMBER |
static int |
RESPONSE_FIELD_NUMBER |
static int |
RESPONSE_UTTERANCES_FIELD_NUMBER |
static int |
STEP_METRICS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AnswerFeedback |
getAnswerFeedback()
Answer feedback for the final response.
|
AnswerFeedbackOrBuilder |
getAnswerFeedbackOrBuilder()
Answer feedback for the final response.
|
com.google.protobuf.Timestamp |
getCreateTime()
The time that the interaction was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time that the interaction was created.
|
static Conversation.Interaction |
getDefaultInstance() |
Conversation.Interaction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Conversation.Interaction.MissingTransition |
getMissingTransition()
Missing transition predicted for the interaction.
|
Conversation.Interaction.MissingTransitionOrBuilder |
getMissingTransitionOrBuilder()
Missing transition predicted for the interaction.
|
com.google.protobuf.Parser<Conversation.Interaction> |
getParserForType() |
DetectIntentResponse |
getPartialResponses(int index)
The partial responses of the interaction.
|
int |
getPartialResponsesCount()
The partial responses of the interaction.
|
List<DetectIntentResponse> |
getPartialResponsesList()
The partial responses of the interaction.
|
DetectIntentResponseOrBuilder |
getPartialResponsesOrBuilder(int index)
The partial responses of the interaction.
|
List<? extends DetectIntentResponseOrBuilder> |
getPartialResponsesOrBuilderList()
The partial responses of the interaction.
|
DetectIntentRequest |
getRequest()
The request of the interaction.
|
DetectIntentRequestOrBuilder |
getRequestOrBuilder()
The request of the interaction.
|
String |
getRequestUtterances()
The input text or the transcript of the input audio in the request.
|
com.google.protobuf.ByteString |
getRequestUtterancesBytes()
The input text or the transcript of the input audio in the request.
|
DetectIntentResponse |
getResponse()
The final response of the interaction.
|
DetectIntentResponseOrBuilder |
getResponseOrBuilder()
The final response of the interaction.
|
String |
getResponseUtterances()
The output text or the transcript of the output audio in the responses.
|
com.google.protobuf.ByteString |
getResponseUtterancesBytes()
The output text or the transcript of the output audio in the responses.
|
int |
getSerializedSize() |
Conversation.Interaction.StepMetrics |
getStepMetrics(int index)
Metrics associated with different processing steps.
|
int |
getStepMetricsCount()
Metrics associated with different processing steps.
|
List<Conversation.Interaction.StepMetrics> |
getStepMetricsList()
Metrics associated with different processing steps.
|
Conversation.Interaction.StepMetricsOrBuilder |
getStepMetricsOrBuilder(int index)
Metrics associated with different processing steps.
|
List<? extends Conversation.Interaction.StepMetricsOrBuilder> |
getStepMetricsOrBuilderList()
Metrics associated with different processing steps.
|
boolean |
hasAnswerFeedback()
Answer feedback for the final response.
|
boolean |
hasCreateTime()
The time that the interaction was created.
|
int |
hashCode() |
boolean |
hasMissingTransition()
Missing transition predicted for the interaction.
|
boolean |
hasRequest()
The request of the interaction.
|
boolean |
hasResponse()
The final response of the interaction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Conversation.Interaction.Builder |
newBuilder() |
static Conversation.Interaction.Builder |
newBuilder(Conversation.Interaction prototype) |
Conversation.Interaction.Builder |
newBuilderForType() |
protected Conversation.Interaction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Conversation.Interaction |
parseDelimitedFrom(InputStream input) |
static Conversation.Interaction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Interaction |
parseFrom(byte[] data) |
static Conversation.Interaction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Interaction |
parseFrom(ByteBuffer data) |
static Conversation.Interaction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Interaction |
parseFrom(com.google.protobuf.ByteString data) |
static Conversation.Interaction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Interaction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Conversation.Interaction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Interaction |
parseFrom(InputStream input) |
static Conversation.Interaction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Conversation.Interaction> |
parser() |
Conversation.Interaction.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REQUEST_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
public static final int PARTIAL_RESPONSES_FIELD_NUMBER
public static final int REQUEST_UTTERANCES_FIELD_NUMBER
public static final int RESPONSE_UTTERANCES_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int ANSWER_FEEDBACK_FIELD_NUMBER
public static final int MISSING_TRANSITION_FIELD_NUMBER
public static final int STEP_METRICS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasRequest()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;hasRequest in interface Conversation.InteractionOrBuilderpublic DetectIntentRequest getRequest()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;getRequest in interface Conversation.InteractionOrBuilderpublic DetectIntentRequestOrBuilder getRequestOrBuilder()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;getRequestOrBuilder in interface Conversation.InteractionOrBuilderpublic boolean hasResponse()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;hasResponse in interface Conversation.InteractionOrBuilderpublic DetectIntentResponse getResponse()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;getResponse in interface Conversation.InteractionOrBuilderpublic DetectIntentResponseOrBuilder getResponseOrBuilder()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;getResponseOrBuilder in interface Conversation.InteractionOrBuilderpublic List<DetectIntentResponse> getPartialResponsesList()
The partial responses of the interaction. Empty if there is no partial response in the interaction. See the [partial response documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
getPartialResponsesList in interface Conversation.InteractionOrBuilderpublic 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][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
getPartialResponsesOrBuilderList in interface Conversation.InteractionOrBuilderpublic int getPartialResponsesCount()
The partial responses of the interaction. Empty if there is no partial response in the interaction. See the [partial response documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
getPartialResponsesCount in interface Conversation.InteractionOrBuilderpublic 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][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
getPartialResponses in interface Conversation.InteractionOrBuilderpublic 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][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
getPartialResponsesOrBuilder in interface Conversation.InteractionOrBuilderpublic String getRequestUtterances()
The input text or the transcript of the input audio in the request.
string request_utterances = 4;getRequestUtterances in interface Conversation.InteractionOrBuilderpublic com.google.protobuf.ByteString getRequestUtterancesBytes()
The input text or the transcript of the input audio in the request.
string request_utterances = 4;getRequestUtterancesBytes in interface Conversation.InteractionOrBuilderpublic 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;getResponseUtterances in interface Conversation.InteractionOrBuilderpublic com.google.protobuf.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;getResponseUtterancesBytes in interface Conversation.InteractionOrBuilderpublic boolean hasCreateTime()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;hasCreateTime in interface Conversation.InteractionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;getCreateTime in interface Conversation.InteractionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;getCreateTimeOrBuilder in interface Conversation.InteractionOrBuilderpublic boolean hasAnswerFeedback()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;hasAnswerFeedback in interface Conversation.InteractionOrBuilderpublic AnswerFeedback getAnswerFeedback()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;getAnswerFeedback in interface Conversation.InteractionOrBuilderpublic AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;getAnswerFeedbackOrBuilder in interface Conversation.InteractionOrBuilderpublic 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;
hasMissingTransition in interface Conversation.InteractionOrBuilderpublic 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;
getMissingTransition in interface Conversation.InteractionOrBuilderpublic 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;
getMissingTransitionOrBuilder in interface Conversation.InteractionOrBuilderpublic List<Conversation.Interaction.StepMetrics> getStepMetricsList()
Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
getStepMetricsList in interface Conversation.InteractionOrBuilderpublic List<? extends Conversation.Interaction.StepMetricsOrBuilder> getStepMetricsOrBuilderList()
Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
getStepMetricsOrBuilderList in interface Conversation.InteractionOrBuilderpublic int getStepMetricsCount()
Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
getStepMetricsCount in interface Conversation.InteractionOrBuilderpublic Conversation.Interaction.StepMetrics getStepMetrics(int index)
Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
getStepMetrics in interface Conversation.InteractionOrBuilderpublic Conversation.Interaction.StepMetricsOrBuilder getStepMetricsOrBuilder(int index)
Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.
repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics step_metrics = 9;
getStepMetricsOrBuilder in interface Conversation.InteractionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Conversation.Interaction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Interaction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Interaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Interaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Interaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Interaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Interaction parseFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation.Interaction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation.Interaction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation.Interaction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation.Interaction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Conversation.Interaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Conversation.Interaction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Conversation.Interaction.Builder newBuilder()
public static Conversation.Interaction.Builder newBuilder(Conversation.Interaction prototype)
public Conversation.Interaction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Conversation.Interaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Conversation.Interaction getDefaultInstance()
public static com.google.protobuf.Parser<Conversation.Interaction> parser()
public com.google.protobuf.Parser<Conversation.Interaction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Conversation.Interaction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.