Class Conversation.Interaction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Conversation.Interaction.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder
- All Implemented Interfaces:
Conversation.InteractionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Conversation.Interaction
public static final class Conversation.Interaction.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Conversation.Interaction.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartialResponses(Iterable<? extends DetectIntentResponse> values) The partial responses of the interaction.addAllStepMetrics(Iterable<? extends Conversation.Interaction.StepMetrics> values) Metrics associated with different processing steps.addPartialResponses(int index, DetectIntentResponse value) The partial responses of the interaction.addPartialResponses(int index, DetectIntentResponse.Builder builderForValue) The partial responses of the interaction.The partial responses of the interaction.addPartialResponses(DetectIntentResponse.Builder builderForValue) The partial responses of the interaction.The partial responses of the interaction.addPartialResponsesBuilder(int index) The partial responses of the interaction.addStepMetrics(int index, Conversation.Interaction.StepMetrics value) Metrics associated with different processing steps.addStepMetrics(int index, Conversation.Interaction.StepMetrics.Builder builderForValue) Metrics associated with different processing steps.Metrics associated with different processing steps.addStepMetrics(Conversation.Interaction.StepMetrics.Builder builderForValue) Metrics associated with different processing steps.Metrics associated with different processing steps.addStepMetricsBuilder(int index) Metrics associated with different processing steps.build()clear()Answer feedback for the final response.The time that the interaction was created.Missing transition predicted for the interaction.The partial responses of the interaction.The request of the interaction.The input text or the transcript of the input audio in the request.The final response of the interaction.The output text or the transcript of the output audio in the responses.Metrics associated with different processing steps.Answer feedback for the final response.Answer feedback for the final response.Answer feedback for the final response.com.google.protobuf.TimestampThe time that the interaction was created.com.google.protobuf.Timestamp.BuilderThe time that the interaction was created.com.google.protobuf.TimestampOrBuilderThe time that the interaction was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMissing transition predicted for the interaction.Missing transition predicted for the interaction.Missing transition predicted for the interaction.getPartialResponses(int index) The partial responses of the interaction.getPartialResponsesBuilder(int index) The partial responses of the interaction.The partial responses of the interaction.intThe partial responses of the interaction.The partial responses of the interaction.getPartialResponsesOrBuilder(int index) The partial responses of the interaction.List<? extends DetectIntentResponseOrBuilder>The partial responses of the interaction.The request of the interaction.The request of the interaction.The request of the interaction.The input text or the transcript of the input audio in the request.com.google.protobuf.ByteStringThe input text or the transcript of the input audio in the request.The final response of the interaction.The final response of the interaction.The final response of the interaction.The output text or the transcript of the output audio in the responses.com.google.protobuf.ByteStringThe output text or the transcript of the output audio in the responses.getStepMetrics(int index) Metrics associated with different processing steps.getStepMetricsBuilder(int index) Metrics associated with different processing steps.Metrics associated with different processing steps.intMetrics associated with different processing steps.Metrics associated with different processing steps.getStepMetricsOrBuilder(int index) Metrics associated with different processing steps.Metrics associated with different processing steps.booleanAnswer feedback for the final response.booleanThe time that the interaction was created.booleanMissing transition predicted for the interaction.booleanThe request of the interaction.booleanThe final response of the interaction.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAnswer feedback for the final response.mergeCreateTime(com.google.protobuf.Timestamp value) The time that the interaction was created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Missing transition predicted for the interaction.mergeRequest(DetectIntentRequest value) The request of the interaction.The final response of the interaction.removePartialResponses(int index) The partial responses of the interaction.removeStepMetrics(int index) Metrics associated with different processing steps.setAnswerFeedback(AnswerFeedback value) Answer feedback for the final response.setAnswerFeedback(AnswerFeedback.Builder builderForValue) Answer feedback for the final response.setCreateTime(com.google.protobuf.Timestamp value) The time that the interaction was created.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) The time that the interaction was created.Missing transition predicted for the interaction.setMissingTransition(Conversation.Interaction.MissingTransition.Builder builderForValue) Missing transition predicted for the interaction.setPartialResponses(int index, DetectIntentResponse value) The partial responses of the interaction.setPartialResponses(int index, DetectIntentResponse.Builder builderForValue) The partial responses of the interaction.setRequest(DetectIntentRequest value) The request of the interaction.setRequest(DetectIntentRequest.Builder builderForValue) The request of the interaction.setRequestUtterances(String value) The input text or the transcript of the input audio in the request.setRequestUtterancesBytes(com.google.protobuf.ByteString value) The input text or the transcript of the input audio in the request.setResponse(DetectIntentResponse value) The final response of the interaction.setResponse(DetectIntentResponse.Builder builderForValue) The final response of the interaction.setResponseUtterances(String value) The output text or the transcript of the output audio in the responses.setResponseUtterancesBytes(com.google.protobuf.ByteString value) The output text or the transcript of the output audio in the responses.setStepMetrics(int index, Conversation.Interaction.StepMetrics value) Metrics associated with different processing steps.setStepMetrics(int index, Conversation.Interaction.StepMetrics.Builder builderForValue) Metrics associated with different processing steps.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Conversation.Interaction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Conversation.Interaction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Conversation.Interaction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Conversation.Interaction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Conversation.Interaction.Builder>
-
mergeFrom
public Conversation.Interaction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Conversation.Interaction.Builder>- Throws:
IOException
-
hasRequest
public boolean hasRequest()The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;- Specified by:
hasRequestin interfaceConversation.InteractionOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;- Specified by:
getRequestin interfaceConversation.InteractionOrBuilder- Returns:
- The request.
-
setRequest
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; -
setRequest
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; -
mergeRequest
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; -
clearRequest
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; -
getRequestBuilder
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; -
getRequestOrBuilder
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;- Specified by:
getRequestOrBuilderin interfaceConversation.InteractionOrBuilder
-
hasResponse
public boolean hasResponse()The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;- Specified by:
hasResponsein interfaceConversation.InteractionOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;- Specified by:
getResponsein interfaceConversation.InteractionOrBuilder- Returns:
- The response.
-
setResponse
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; -
setResponse
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; -
mergeResponse
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; -
clearResponse
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; -
getResponseBuilder
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; -
getResponseOrBuilder
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;- Specified by:
getResponseOrBuilderin interfaceConversation.InteractionOrBuilder
-
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;- Specified by:
getPartialResponsesListin interfaceConversation.InteractionOrBuilder
-
getPartialResponsesCount
public 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;- Specified by:
getPartialResponsesCountin interfaceConversation.InteractionOrBuilder
-
getPartialResponses
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;- Specified by:
getPartialResponsesin interfaceConversation.InteractionOrBuilder
-
setPartialResponses
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; -
setPartialResponses
public Conversation.Interaction.Builder setPartialResponses(int index, DetectIntentResponse.Builder builderForValue) 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; -
addPartialResponses
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; -
addPartialResponses
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; -
addPartialResponses
public Conversation.Interaction.Builder addPartialResponses(DetectIntentResponse.Builder builderForValue) 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; -
addPartialResponses
public Conversation.Interaction.Builder addPartialResponses(int index, DetectIntentResponse.Builder builderForValue) 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; -
addAllPartialResponses
public Conversation.Interaction.Builder addAllPartialResponses(Iterable<? extends DetectIntentResponse> values) 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; -
clearPartialResponses
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; -
removePartialResponses
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; -
getPartialResponsesBuilder
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
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;- Specified by:
getPartialResponsesOrBuilderin interfaceConversation.InteractionOrBuilder
-
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;- Specified by:
getPartialResponsesOrBuilderListin interfaceConversation.InteractionOrBuilder
-
addPartialResponsesBuilder
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; -
addPartialResponsesBuilder
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; -
getPartialResponsesBuilderList
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; -
getRequestUtterances
The input text or the transcript of the input audio in the request.
string request_utterances = 4;- Specified by:
getRequestUtterancesin interfaceConversation.InteractionOrBuilder- Returns:
- The requestUtterances.
-
getRequestUtterancesBytes
public com.google.protobuf.ByteString getRequestUtterancesBytes()The input text or the transcript of the input audio in the request.
string request_utterances = 4;- Specified by:
getRequestUtterancesBytesin interfaceConversation.InteractionOrBuilder- Returns:
- The bytes for requestUtterances.
-
setRequestUtterances
The input text or the transcript of the input audio in the request.
string request_utterances = 4;- Parameters:
value- The requestUtterances to set.- Returns:
- This builder for chaining.
-
clearRequestUtterances
The input text or the transcript of the input audio in the request.
string request_utterances = 4;- Returns:
- This builder for chaining.
-
setRequestUtterancesBytes
public Conversation.Interaction.Builder setRequestUtterancesBytes(com.google.protobuf.ByteString value) The input text or the transcript of the input audio in the request.
string request_utterances = 4;- Parameters:
value- The bytes for requestUtterances to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getResponseUtterancesin interfaceConversation.InteractionOrBuilder- Returns:
- The responseUtterances.
-
getResponseUtterancesBytes
public 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;- Specified by:
getResponseUtterancesBytesin interfaceConversation.InteractionOrBuilder- Returns:
- The bytes for responseUtterances.
-
setResponseUtterances
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;- Parameters:
value- The responseUtterances to set.- Returns:
- This builder for chaining.
-
clearResponseUtterances
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:
- This builder for chaining.
-
setResponseUtterancesBytes
public Conversation.Interaction.Builder setResponseUtterancesBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for responseUtterances to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceConversation.InteractionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimein interfaceConversation.InteractionOrBuilder- Returns:
- The createTime.
-
setCreateTime
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6; -
setCreateTime
public Conversation.Interaction.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6; -
mergeCreateTime
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6; -
clearCreateTime
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceConversation.InteractionOrBuilder
-
hasAnswerFeedback
public boolean hasAnswerFeedback()Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;- Specified by:
hasAnswerFeedbackin interfaceConversation.InteractionOrBuilder- Returns:
- Whether the answerFeedback field is set.
-
getAnswerFeedback
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;- Specified by:
getAnswerFeedbackin interfaceConversation.InteractionOrBuilder- Returns:
- The answerFeedback.
-
setAnswerFeedback
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7; -
setAnswerFeedback
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7; -
mergeAnswerFeedback
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7; -
clearAnswerFeedback
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7; -
getAnswerFeedbackBuilder
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7; -
getAnswerFeedbackOrBuilder
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;- Specified by:
getAnswerFeedbackOrBuilderin interfaceConversation.InteractionOrBuilder
-
hasMissingTransition
public 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;- Specified by:
hasMissingTransitionin interfaceConversation.InteractionOrBuilder- Returns:
- Whether the missingTransition field is set.
-
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;- Specified by:
getMissingTransitionin interfaceConversation.InteractionOrBuilder- Returns:
- The missingTransition.
-
setMissingTransition
public Conversation.Interaction.Builder setMissingTransition(Conversation.Interaction.MissingTransition value) 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; -
setMissingTransition
public Conversation.Interaction.Builder setMissingTransition(Conversation.Interaction.MissingTransition.Builder builderForValue) 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; -
mergeMissingTransition
public Conversation.Interaction.Builder mergeMissingTransition(Conversation.Interaction.MissingTransition value) 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; -
clearMissingTransition
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; -
getMissingTransitionBuilder
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
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;- Specified by:
getMissingTransitionOrBuilderin interfaceConversation.InteractionOrBuilder
-
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;- Specified by:
getStepMetricsListin interfaceConversation.InteractionOrBuilder
-
getStepMetricsCount
public 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;- Specified by:
getStepMetricsCountin interfaceConversation.InteractionOrBuilder
-
getStepMetrics
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;- Specified by:
getStepMetricsin interfaceConversation.InteractionOrBuilder
-
setStepMetrics
public Conversation.Interaction.Builder setStepMetrics(int index, Conversation.Interaction.StepMetrics value) 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; -
setStepMetrics
public Conversation.Interaction.Builder setStepMetrics(int index, Conversation.Interaction.StepMetrics.Builder builderForValue) 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; -
addStepMetrics
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; -
addStepMetrics
public Conversation.Interaction.Builder addStepMetrics(int index, Conversation.Interaction.StepMetrics value) 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; -
addStepMetrics
public Conversation.Interaction.Builder addStepMetrics(Conversation.Interaction.StepMetrics.Builder builderForValue) 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; -
addStepMetrics
public Conversation.Interaction.Builder addStepMetrics(int index, Conversation.Interaction.StepMetrics.Builder builderForValue) 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; -
addAllStepMetrics
public Conversation.Interaction.Builder addAllStepMetrics(Iterable<? extends Conversation.Interaction.StepMetrics> values) 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; -
clearStepMetrics
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; -
removeStepMetrics
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; -
getStepMetricsBuilder
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
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;- Specified by:
getStepMetricsOrBuilderin interfaceConversation.InteractionOrBuilder
-
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;- Specified by:
getStepMetricsOrBuilderListin interfaceConversation.InteractionOrBuilder
-
addStepMetricsBuilder
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; -
addStepMetricsBuilder
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; -
getStepMetricsBuilderList
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;
-