public static final class ConversationTurn.VirtualAgentOutput extends com.google.protobuf.GeneratedMessageV3 implements ConversationTurn.VirtualAgentOutputOrBuilder
The output from the virtual agent.Protobuf type
google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationTurn.VirtualAgentOutput.Builder
The output from the virtual agent.
|
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 |
CURRENT_PAGE_FIELD_NUMBER |
static int |
DIAGNOSTIC_INFO_FIELD_NUMBER |
static int |
DIFFERENCES_FIELD_NUMBER |
static int |
SESSION_PARAMETERS_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TEXT_RESPONSES_FIELD_NUMBER |
static int |
TRIGGERED_INTENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Page |
getCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was
spoken.
|
PageOrBuilder |
getCurrentPageOrBuilder()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was
spoken.
|
static ConversationTurn.VirtualAgentOutput |
getDefaultInstance() |
ConversationTurn.VirtualAgentOutput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Struct |
getDiagnosticInfo()
Required.
|
com.google.protobuf.StructOrBuilder |
getDiagnosticInfoOrBuilder()
Required.
|
TestRunDifference |
getDifferences(int index)
Output only.
|
int |
getDifferencesCount()
Output only.
|
List<TestRunDifference> |
getDifferencesList()
Output only.
|
TestRunDifferenceOrBuilder |
getDifferencesOrBuilder(int index)
Output only.
|
List<? extends TestRunDifferenceOrBuilder> |
getDifferencesOrBuilderList()
Output only.
|
com.google.protobuf.Parser<ConversationTurn.VirtualAgentOutput> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Struct |
getSessionParameters()
The session parameters available to the bot at this point.
|
com.google.protobuf.StructOrBuilder |
getSessionParametersOrBuilder()
The session parameters available to the bot at this point.
|
com.google.rpc.Status |
getStatus()
Response error from the agent in the test result.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
Response error from the agent in the test result.
|
ResponseMessage.Text |
getTextResponses(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses
from the agent for the turn.
|
int |
getTextResponsesCount()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses
from the agent for the turn.
|
List<ResponseMessage.Text> |
getTextResponsesList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses
from the agent for the turn.
|
ResponseMessage.TextOrBuilder |
getTextResponsesOrBuilder(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses
from the agent for the turn.
|
List<? extends ResponseMessage.TextOrBuilder> |
getTextResponsesOrBuilderList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses
from the agent for the turn.
|
Intent |
getTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the
response.
|
IntentOrBuilder |
getTriggeredIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the
response.
|
boolean |
hasCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was
spoken.
|
boolean |
hasDiagnosticInfo()
Required.
|
int |
hashCode() |
boolean |
hasSessionParameters()
The session parameters available to the bot at this point.
|
boolean |
hasStatus()
Response error from the agent in the test result.
|
boolean |
hasTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the
response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConversationTurn.VirtualAgentOutput.Builder |
newBuilder() |
static ConversationTurn.VirtualAgentOutput.Builder |
newBuilder(ConversationTurn.VirtualAgentOutput prototype) |
ConversationTurn.VirtualAgentOutput.Builder |
newBuilderForType() |
protected ConversationTurn.VirtualAgentOutput.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConversationTurn.VirtualAgentOutput |
parseDelimitedFrom(InputStream input) |
static ConversationTurn.VirtualAgentOutput |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(byte[] data) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(ByteBuffer data) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(com.google.protobuf.ByteString data) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(InputStream input) |
static ConversationTurn.VirtualAgentOutput |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConversationTurn.VirtualAgentOutput> |
parser() |
ConversationTurn.VirtualAgentOutput.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 SESSION_PARAMETERS_FIELD_NUMBER
public static final int DIFFERENCES_FIELD_NUMBER
public static final int DIAGNOSTIC_INFO_FIELD_NUMBER
public static final int TRIGGERED_INTENT_FIELD_NUMBER
public static final int CURRENT_PAGE_FIELD_NUMBER
public static final int TEXT_RESPONSES_FIELD_NUMBER
public static final int STATUS_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 hasSessionParameters()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;hasSessionParameters in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic com.google.protobuf.Struct getSessionParameters()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;getSessionParameters in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic com.google.protobuf.StructOrBuilder getSessionParametersOrBuilder()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;getSessionParametersOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic List<TestRunDifference> getDifferencesList()
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDifferencesList in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic List<? extends TestRunDifferenceOrBuilder> getDifferencesOrBuilderList()
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDifferencesOrBuilderList in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic int getDifferencesCount()
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDifferencesCount in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic TestRunDifference getDifferences(int index)
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDifferences in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic TestRunDifferenceOrBuilder getDifferencesOrBuilder(int index)
Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDifferencesOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic boolean hasDiagnosticInfo()
Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
.google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
hasDiagnosticInfo in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic com.google.protobuf.Struct getDiagnosticInfo()
Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
.google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
getDiagnosticInfo in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder()
Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
.google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
getDiagnosticInfoOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic boolean hasTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Intent triggered_intent = 7;hasTriggeredIntent in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic Intent getTriggeredIntent()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Intent triggered_intent = 7;getTriggeredIntent in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic IntentOrBuilder getTriggeredIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Intent triggered_intent = 7;getTriggeredIntentOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic boolean hasCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Page current_page = 8;hasCurrentPage in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic Page getCurrentPage()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Page current_page = 8;getCurrentPage in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic PageOrBuilder getCurrentPageOrBuilder()
The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3.Page current_page = 8;getCurrentPageOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic List<ResponseMessage.Text> getTextResponsesList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;getTextResponsesList in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic List<? extends ResponseMessage.TextOrBuilder> getTextResponsesOrBuilderList()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;getTextResponsesOrBuilderList in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic int getTextResponsesCount()
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;getTextResponsesCount in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic ResponseMessage.Text getTextResponses(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;getTextResponses in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)
The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.Text text_responses = 9;getTextResponsesOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic boolean hasStatus()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;hasStatus in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic com.google.rpc.Status getStatus()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;getStatus in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Response error from the agent in the test result. If set, other output is empty.
.google.rpc.Status status = 10;getStatusOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilderpublic 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 ConversationTurn.VirtualAgentOutput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConversationTurn.VirtualAgentOutput parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConversationTurn.VirtualAgentOutput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConversationTurn.VirtualAgentOutput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConversationTurn.VirtualAgentOutput.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConversationTurn.VirtualAgentOutput.Builder newBuilder()
public static ConversationTurn.VirtualAgentOutput.Builder newBuilder(ConversationTurn.VirtualAgentOutput prototype)
public ConversationTurn.VirtualAgentOutput.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConversationTurn.VirtualAgentOutput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConversationTurn.VirtualAgentOutput getDefaultInstance()
public static com.google.protobuf.Parser<ConversationTurn.VirtualAgentOutput> parser()
public com.google.protobuf.Parser<ConversationTurn.VirtualAgentOutput> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConversationTurn.VirtualAgentOutput getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.