- 0.64.0 (latest)
- 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.InteractionOrBuilderStatic 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 |
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 |
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 |
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. |
clone()
public Conversation.Interaction.Builder clone()
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
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. |
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 |
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 |
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Conversation.Interaction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Conversation.Interaction.Builder |