public static final class ConversationTurn.VirtualAgentOutput extends GeneratedMessageV3 implements ConversationTurn.VirtualAgentOutputOrBuilder
The output from the virtual agent.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ConversationTurn.VirtualAgentOutput
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CURRENT_PAGE_FIELD_NUMBER
public static final int CURRENT_PAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIAGNOSTIC_INFO_FIELD_NUMBER
public static final int DIAGNOSTIC_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIFFERENCES_FIELD_NUMBER
public static final int DIFFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SESSION_PARAMETERS_FIELD_NUMBER
public static final int SESSION_PARAMETERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_RESPONSES_FIELD_NUMBER
public static final int TEXT_RESPONSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRIGGERED_INTENT_FIELD_NUMBER
public static final int TRIGGERED_INTENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConversationTurn.VirtualAgentOutput getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConversationTurn.VirtualAgentOutput.Builder newBuilder()
newBuilder(ConversationTurn.VirtualAgentOutput prototype)
public static ConversationTurn.VirtualAgentOutput.Builder newBuilder(ConversationTurn.VirtualAgentOutput prototype)
public static ConversationTurn.VirtualAgentOutput parseDelimitedFrom(InputStream input)
public static ConversationTurn.VirtualAgentOutput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConversationTurn.VirtualAgentOutput parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConversationTurn.VirtualAgentOutput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConversationTurn.VirtualAgentOutput parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationTurn.VirtualAgentOutput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationTurn.VirtualAgentOutput parseFrom(CodedInputStream input)
public static ConversationTurn.VirtualAgentOutput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversationTurn.VirtualAgentOutput parseFrom(InputStream input)
public static ConversationTurn.VirtualAgentOutput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConversationTurn.VirtualAgentOutput parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConversationTurn.VirtualAgentOutput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConversationTurn.VirtualAgentOutput> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCurrentPage()
public Page getCurrentPage()
The Page on which the
utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
Returns |
Type |
Description |
Page |
The currentPage.
|
getCurrentPageOrBuilder()
public PageOrBuilder getCurrentPageOrBuilder()
The Page on which the
utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
getDefaultInstanceForType()
public ConversationTurn.VirtualAgentOutput getDefaultInstanceForType()
getDiagnosticInfo()
public Struct getDiagnosticInfo()
Required. Input only. The 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];
Returns |
Type |
Description |
Struct |
The diagnosticInfo.
|
getDiagnosticInfoOrBuilder()
public StructOrBuilder getDiagnosticInfoOrBuilder()
Required. Input only. The 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];
getDifferences(int index)
public TestRunDifference getDifferences(int index)
Output only. If this is part of a result conversation
turn, the list of differences
between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getDifferencesCount()
public int getDifferencesCount()
Output only. If this is part of a result conversation
turn, the list of differences
between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getDifferencesList()
public List<TestRunDifference> getDifferencesList()
Output only. If this is part of a result conversation
turn, the list of differences
between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDifferencesOrBuilder(int index)
public TestRunDifferenceOrBuilder getDifferencesOrBuilder(int index)
Output only. If this is part of a result conversation
turn, the list of differences
between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getDifferencesOrBuilderList()
public List<? extends TestRunDifferenceOrBuilder> getDifferencesOrBuilderList()
Output only. If this is part of a result conversation
turn, the list of differences
between the original run and the replay for this output, if any.
repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TestRunDifferenceOrBuilder> |
|
getParserForType()
public Parser<ConversationTurn.VirtualAgentOutput> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSessionParameters()
public Struct getSessionParameters()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;
Returns |
Type |
Description |
Struct |
The sessionParameters.
|
getSessionParametersOrBuilder()
public StructOrBuilder getSessionParametersOrBuilder()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;
getStatus()
public Status getStatus()
Response error from the agent in the test result. If set, other output
is empty.
.google.rpc.Status status = 10;
Returns |
Type |
Description |
com.google.rpc.Status |
The status.
|
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
Response error from the agent in the test result. If set, other output
is empty.
.google.rpc.Status status = 10;
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getTextResponses(int index)
public ResponseMessage.Text getTextResponses(int index)
The text
responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
Parameter |
Name |
Description |
index |
int
|
getTextResponsesCount()
public int getTextResponsesCount()
The text
responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
Returns |
Type |
Description |
int |
|
getTextResponsesList()
public List<ResponseMessage.Text> getTextResponsesList()
The text
responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
getTextResponsesOrBuilder(int index)
public ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)
The text
responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
Parameter |
Name |
Description |
index |
int
|
getTextResponsesOrBuilderList()
public List<? extends ResponseMessage.TextOrBuilder> getTextResponsesOrBuilderList()
The text
responses from the agent for the turn.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TextOrBuilder> |
|
getTriggeredIntent()
public Intent getTriggeredIntent()
The Intent that triggered
the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
Returns |
Type |
Description |
Intent |
The triggeredIntent.
|
getTriggeredIntentOrBuilder()
public IntentOrBuilder getTriggeredIntentOrBuilder()
The Intent that triggered
the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCurrentPage()
public boolean hasCurrentPage()
The Page on which the
utterance was spoken. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
Returns |
Type |
Description |
boolean |
Whether the currentPage field is set.
|
hasDiagnosticInfo()
public boolean hasDiagnosticInfo()
Required. Input only. The 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];
Returns |
Type |
Description |
boolean |
Whether the diagnosticInfo field is set.
|
hasSessionParameters()
public boolean hasSessionParameters()
The session parameters available to the bot at this point.
.google.protobuf.Struct session_parameters = 4;
Returns |
Type |
Description |
boolean |
Whether the sessionParameters field is set.
|
hasStatus()
public boolean hasStatus()
Response error from the agent in the test result. If set, other output
is empty.
.google.rpc.Status status = 10;
Returns |
Type |
Description |
boolean |
Whether the status field is set.
|
hasTriggeredIntent()
public boolean hasTriggeredIntent()
The Intent that triggered
the response. Only name and displayName will be set.
.google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
Returns |
Type |
Description |
boolean |
Whether the triggeredIntent field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConversationTurn.VirtualAgentOutput.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConversationTurn.VirtualAgentOutput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConversationTurn.VirtualAgentOutput.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides