- 0.70.0 (latest)
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Conversation.Interaction.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Conversation.Interaction.BuilderImplements
Conversation.InteractionOrBuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPartialResponses(Iterable<? extends DetectIntentResponse> values)
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.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse> |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addAllStepMetrics(Iterable<? extends Conversation.Interaction.StepMetrics> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetrics> |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addPartialResponses(DetectIntentResponse value)
public Conversation.Interaction.Builder addPartialResponses(DetectIntentResponse value)
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 | |
---|---|
Name | Description |
value |
DetectIntentResponse |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addPartialResponses(DetectIntentResponse.Builder builderForValue)
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.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
DetectIntentResponse.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addPartialResponses(int index, DetectIntentResponse value)
public Conversation.Interaction.Builder addPartialResponses(int index, DetectIntentResponse value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DetectIntentResponse |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addPartialResponses(int index, DetectIntentResponse.Builder builderForValue)
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.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DetectIntentResponse.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addPartialResponsesBuilder()
public DetectIntentResponse.Builder addPartialResponsesBuilder()
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 | |
---|---|
Type | Description |
DetectIntentResponse.Builder |
addPartialResponsesBuilder(int index)
public DetectIntentResponse.Builder addPartialResponsesBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DetectIntentResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Conversation.Interaction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addStepMetrics(Conversation.Interaction.StepMetrics value)
public Conversation.Interaction.Builder addStepMetrics(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;
Parameter | |
---|---|
Name | Description |
value |
Conversation.Interaction.StepMetrics |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addStepMetrics(Conversation.Interaction.StepMetrics.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Conversation.Interaction.StepMetrics.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addStepMetrics(int index, Conversation.Interaction.StepMetrics value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Conversation.Interaction.StepMetrics |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addStepMetrics(int index, Conversation.Interaction.StepMetrics.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Conversation.Interaction.StepMetrics.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
addStepMetricsBuilder()
public Conversation.Interaction.StepMetrics.Builder 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;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.StepMetrics.Builder |
addStepMetricsBuilder(int index)
public Conversation.Interaction.StepMetrics.Builder addStepMetricsBuilder(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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.StepMetrics.Builder |
build()
public Conversation.Interaction build()
Returns | |
---|---|
Type | Description |
Conversation.Interaction |
buildPartial()
public Conversation.Interaction buildPartial()
Returns | |
---|---|
Type | Description |
Conversation.Interaction |
clear()
public Conversation.Interaction.Builder clear()
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearAnswerFeedback()
public Conversation.Interaction.Builder clearAnswerFeedback()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearCreateTime()
public Conversation.Interaction.Builder clearCreateTime()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearField(Descriptors.FieldDescriptor field)
public Conversation.Interaction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearMissingTransition()
public Conversation.Interaction.Builder 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;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Conversation.Interaction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearPartialResponses()
public Conversation.Interaction.Builder clearPartialResponses()
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 | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearRequest()
public Conversation.Interaction.Builder clearRequest()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearRequestUtterances()
public Conversation.Interaction.Builder clearRequestUtterances()
The input text or the transcript of the input audio in the request.
string request_utterances = 4;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
This builder for chaining. |
clearResponse()
public Conversation.Interaction.Builder clearResponse()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clearResponseUtterances()
public Conversation.Interaction.Builder 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 | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
This builder for chaining. |
clearStepMetrics()
public Conversation.Interaction.Builder 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;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
clone()
public Conversation.Interaction.Builder clone()
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
getAnswerFeedback()
public AnswerFeedback getAnswerFeedback()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Returns | |
---|---|
Type | Description |
AnswerFeedback |
The answerFeedback. |
getAnswerFeedbackBuilder()
public AnswerFeedback.Builder getAnswerFeedbackBuilder()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Returns | |
---|---|
Type | Description |
AnswerFeedback.Builder |
getAnswerFeedbackOrBuilder()
public AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Returns | |
---|---|
Type | Description |
AnswerFeedbackOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Conversation.Interaction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Conversation.Interaction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMissingTransition()
public 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 | |
---|---|
Type | Description |
Conversation.Interaction.MissingTransition |
The missingTransition. |
getMissingTransitionBuilder()
public Conversation.Interaction.MissingTransition.Builder 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;
Returns | |
---|---|
Type | Description |
Conversation.Interaction.MissingTransition.Builder |
getMissingTransitionOrBuilder()
public 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 | |
---|---|
Type | Description |
Conversation.Interaction.MissingTransitionOrBuilder |
getPartialResponses(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DetectIntentResponse |
getPartialResponsesBuilder(int index)
public DetectIntentResponse.Builder getPartialResponsesBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DetectIntentResponse.Builder |
getPartialResponsesBuilderList()
public List<DetectIntentResponse.Builder> getPartialResponsesBuilderList()
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;
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.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
Returns | |
---|---|
Type | Description |
int |
getPartialResponsesList()
public 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 | |
---|---|
Type | Description |
List<DetectIntentResponse> |
getPartialResponsesOrBuilder(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DetectIntentResponseOrBuilder |
getPartialResponsesOrBuilderList()
public 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 | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> |
getRequest()
public DetectIntentRequest getRequest()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Returns | |
---|---|
Type | Description |
DetectIntentRequest |
The request. |
getRequestBuilder()
public DetectIntentRequest.Builder getRequestBuilder()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Returns | |
---|---|
Type | Description |
DetectIntentRequest.Builder |
getRequestOrBuilder()
public DetectIntentRequestOrBuilder getRequestOrBuilder()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Returns | |
---|---|
Type | Description |
DetectIntentRequestOrBuilder |
getRequestUtterances()
public String getRequestUtterances()
The input text or the transcript of the input audio in the request.
string request_utterances = 4;
Returns | |
---|---|
Type | Description |
String |
The requestUtterances. |
getRequestUtterancesBytes()
public ByteString getRequestUtterancesBytes()
The input text or the transcript of the input audio in the request.
string request_utterances = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestUtterances. |
getResponse()
public DetectIntentResponse getResponse()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Returns | |
---|---|
Type | Description |
DetectIntentResponse |
The response. |
getResponseBuilder()
public DetectIntentResponse.Builder getResponseBuilder()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Returns | |
---|---|
Type | Description |
DetectIntentResponse.Builder |
getResponseOrBuilder()
public DetectIntentResponseOrBuilder getResponseOrBuilder()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Returns | |
---|---|
Type | Description |
DetectIntentResponseOrBuilder |
getResponseUtterances()
public 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 | |
---|---|
Type | Description |
String |
The responseUtterances. |
getResponseUtterancesBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for responseUtterances. |
getStepMetrics(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.StepMetrics |
getStepMetricsBuilder(int index)
public Conversation.Interaction.StepMetrics.Builder getStepMetricsBuilder(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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.StepMetrics.Builder |
getStepMetricsBuilderList()
public List<Conversation.Interaction.StepMetrics.Builder> 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;
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;
Returns | |
---|---|
Type | Description |
int |
getStepMetricsList()
public 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;
Returns | |
---|---|
Type | Description |
List<StepMetrics> |
getStepMetricsOrBuilder(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.StepMetricsOrBuilder |
getStepMetricsOrBuilderList()
public 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.StepMetricsOrBuilder> |
hasAnswerFeedback()
public boolean hasAnswerFeedback()
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the answerFeedback field is set. |
hasCreateTime()
public boolean hasCreateTime()
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the missingTransition field is set. |
hasRequest()
public boolean hasRequest()
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the request field is set. |
hasResponse()
public boolean hasResponse()
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the response field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAnswerFeedback(AnswerFeedback value)
public Conversation.Interaction.Builder mergeAnswerFeedback(AnswerFeedback value)
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Parameter | |
---|---|
Name | Description |
value |
AnswerFeedback |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
mergeCreateTime(Timestamp value)
public Conversation.Interaction.Builder mergeCreateTime(Timestamp value)
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
mergeFrom(Conversation.Interaction other)
public Conversation.Interaction.Builder mergeFrom(Conversation.Interaction other)
Parameter | |
---|---|
Name | Description |
other |
Conversation.Interaction |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Conversation.Interaction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Conversation.Interaction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
mergeMissingTransition(Conversation.Interaction.MissingTransition value)
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;
Parameter | |
---|---|
Name | Description |
value |
Conversation.Interaction.MissingTransition |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
mergeRequest(DetectIntentRequest value)
public Conversation.Interaction.Builder mergeRequest(DetectIntentRequest value)
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Parameter | |
---|---|
Name | Description |
value |
DetectIntentRequest |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
mergeResponse(DetectIntentResponse value)
public Conversation.Interaction.Builder mergeResponse(DetectIntentResponse value)
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Parameter | |
---|---|
Name | Description |
value |
DetectIntentResponse |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.Interaction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
removePartialResponses(int index)
public Conversation.Interaction.Builder removePartialResponses(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
removeStepMetrics(int index)
public Conversation.Interaction.Builder removeStepMetrics(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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setAnswerFeedback(AnswerFeedback value)
public Conversation.Interaction.Builder setAnswerFeedback(AnswerFeedback value)
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Parameter | |
---|---|
Name | Description |
value |
AnswerFeedback |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setAnswerFeedback(AnswerFeedback.Builder builderForValue)
public Conversation.Interaction.Builder setAnswerFeedback(AnswerFeedback.Builder builderForValue)
Answer feedback for the final response.
.google.cloud.dialogflow.cx.v3beta1.AnswerFeedback answer_feedback = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
AnswerFeedback.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setCreateTime(Timestamp value)
public Conversation.Interaction.Builder setCreateTime(Timestamp value)
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Conversation.Interaction.Builder setCreateTime(Timestamp.Builder builderForValue)
The time that the interaction was created.
.google.protobuf.Timestamp create_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Conversation.Interaction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setMissingTransition(Conversation.Interaction.MissingTransition value)
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;
Parameter | |
---|---|
Name | Description |
value |
Conversation.Interaction.MissingTransition |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setMissingTransition(Conversation.Interaction.MissingTransition.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Conversation.Interaction.MissingTransition.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setPartialResponses(int index, DetectIntentResponse value)
public Conversation.Interaction.Builder setPartialResponses(int index, DetectIntentResponse value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
DetectIntentResponse |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setPartialResponses(int index, DetectIntentResponse.Builder builderForValue)
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.
repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
DetectIntentResponse.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Conversation.Interaction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setRequest(DetectIntentRequest value)
public Conversation.Interaction.Builder setRequest(DetectIntentRequest value)
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Parameter | |
---|---|
Name | Description |
value |
DetectIntentRequest |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setRequest(DetectIntentRequest.Builder builderForValue)
public Conversation.Interaction.Builder setRequest(DetectIntentRequest.Builder builderForValue)
The request of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
DetectIntentRequest.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setRequestUtterances(String value)
public Conversation.Interaction.Builder setRequestUtterances(String value)
The input text or the transcript of the input audio in the request.
string request_utterances = 4;
Parameter | |
---|---|
Name | Description |
value |
String The requestUtterances to set. |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
This builder for chaining. |
setRequestUtterancesBytes(ByteString value)
public Conversation.Interaction.Builder setRequestUtterancesBytes(ByteString value)
The input text or the transcript of the input audio in the request.
string request_utterances = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestUtterances to set. |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
This builder for chaining. |
setResponse(DetectIntentResponse value)
public Conversation.Interaction.Builder setResponse(DetectIntentResponse value)
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Parameter | |
---|---|
Name | Description |
value |
DetectIntentResponse |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setResponse(DetectIntentResponse.Builder builderForValue)
public Conversation.Interaction.Builder setResponse(DetectIntentResponse.Builder builderForValue)
The final response of the interaction.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
DetectIntentResponse.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setResponseUtterances(String value)
public Conversation.Interaction.Builder setResponseUtterances(String 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;
Parameter | |
---|---|
Name | Description |
value |
String The responseUtterances to set. |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
This builder for chaining. |
setResponseUtterancesBytes(ByteString value)
public Conversation.Interaction.Builder setResponseUtterancesBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for responseUtterances to set. |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
This builder for chaining. |
setStepMetrics(int index, Conversation.Interaction.StepMetrics value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Conversation.Interaction.StepMetrics |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setStepMetrics(int index, Conversation.Interaction.StepMetrics.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Conversation.Interaction.StepMetrics.Builder |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.Interaction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |