- 0.65.0 (latest)
- 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 WebhookRequest.Builder extends GeneratedMessageV3.Builder<WebhookRequest.Builder> implements WebhookRequestOrBuilder
The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.
Protobuf type google.cloud.dialogflow.cx.v3beta1.WebhookRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WebhookRequest.BuilderImplements
WebhookRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMessages(Iterable<? extends ResponseMessage> values)
public WebhookRequest.Builder addAllMessages(Iterable<? extends ResponseMessage> values)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage> |
Type | Description |
WebhookRequest.Builder |
addMessages(ResponseMessage value)
public WebhookRequest.Builder addMessages(ResponseMessage value)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
value |
ResponseMessage |
Type | Description |
WebhookRequest.Builder |
addMessages(ResponseMessage.Builder builderForValue)
public WebhookRequest.Builder addMessages(ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
builderForValue |
ResponseMessage.Builder |
Type | Description |
WebhookRequest.Builder |
addMessages(int index, ResponseMessage value)
public WebhookRequest.Builder addMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
value |
ResponseMessage |
Type | Description |
WebhookRequest.Builder |
addMessages(int index, ResponseMessage.Builder builderForValue)
public WebhookRequest.Builder addMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
builderForValue |
ResponseMessage.Builder |
Type | Description |
WebhookRequest.Builder |
addMessagesBuilder()
public ResponseMessage.Builder addMessagesBuilder()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Type | Description |
ResponseMessage.Builder |
addMessagesBuilder(int index)
public ResponseMessage.Builder addMessagesBuilder(int index)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
Type | Description |
ResponseMessage.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebhookRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
WebhookRequest.Builder |
build()
public WebhookRequest build()
Type | Description |
WebhookRequest |
buildPartial()
public WebhookRequest buildPartial()
Type | Description |
WebhookRequest |
clear()
public WebhookRequest.Builder clear()
Type | Description |
WebhookRequest.Builder |
clearDetectIntentResponseId()
public WebhookRequest.Builder clearDetectIntentResponseId()
Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
string detect_intent_response_id = 1;
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public WebhookRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
WebhookRequest.Builder |
clearFulfillmentInfo()
public WebhookRequest.Builder clearFulfillmentInfo()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Type | Description |
WebhookRequest.Builder |
clearIntentInfo()
public WebhookRequest.Builder clearIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Type | Description |
WebhookRequest.Builder |
clearLanguageCode()
public WebhookRequest.Builder clearLanguageCode()
The language code specified in the original request.
string language_code = 15;
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
clearMessages()
public WebhookRequest.Builder clearMessages()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Type | Description |
WebhookRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WebhookRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
WebhookRequest.Builder |
clearPageInfo()
public WebhookRequest.Builder clearPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Type | Description |
WebhookRequest.Builder |
clearPayload()
public WebhookRequest.Builder clearPayload()
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Type | Description |
WebhookRequest.Builder |
clearQuery()
public WebhookRequest.Builder clearQuery()
Type | Description |
WebhookRequest.Builder |
clearSentimentAnalysisResult()
public WebhookRequest.Builder clearSentimentAnalysisResult()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Type | Description |
WebhookRequest.Builder |
clearSessionInfo()
public WebhookRequest.Builder clearSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Type | Description |
WebhookRequest.Builder |
clearText()
public WebhookRequest.Builder clearText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 10;
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
clearTranscript()
public WebhookRequest.Builder clearTranscript()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
clearTriggerEvent()
public WebhookRequest.Builder clearTriggerEvent()
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
clearTriggerIntent()
public WebhookRequest.Builder clearTriggerIntent()
If an intent was
provided as input, this field will contain a copy of the intent
identifier. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
clone()
public WebhookRequest.Builder clone()
Type | Description |
WebhookRequest.Builder |
getDefaultInstanceForType()
public WebhookRequest getDefaultInstanceForType()
Type | Description |
WebhookRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDetectIntentResponseId()
public String getDetectIntentResponseId()
Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
string detect_intent_response_id = 1;
Type | Description |
String |
The detectIntentResponseId. |
getDetectIntentResponseIdBytes()
public ByteString getDetectIntentResponseIdBytes()
Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
string detect_intent_response_id = 1;
Type | Description |
ByteString |
The bytes for detectIntentResponseId. |
getFulfillmentInfo()
public WebhookRequest.FulfillmentInfo getFulfillmentInfo()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Type | Description |
WebhookRequest.FulfillmentInfo |
The fulfillmentInfo. |
getFulfillmentInfoBuilder()
public WebhookRequest.FulfillmentInfo.Builder getFulfillmentInfoBuilder()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Type | Description |
WebhookRequest.FulfillmentInfo.Builder |
getFulfillmentInfoOrBuilder()
public WebhookRequest.FulfillmentInfoOrBuilder getFulfillmentInfoOrBuilder()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Type | Description |
WebhookRequest.FulfillmentInfoOrBuilder |
getIntentInfo()
public WebhookRequest.IntentInfo getIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Type | Description |
WebhookRequest.IntentInfo |
The intentInfo. |
getIntentInfoBuilder()
public WebhookRequest.IntentInfo.Builder getIntentInfoBuilder()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Type | Description |
WebhookRequest.IntentInfo.Builder |
getIntentInfoOrBuilder()
public WebhookRequest.IntentInfoOrBuilder getIntentInfoOrBuilder()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Type | Description |
WebhookRequest.IntentInfoOrBuilder |
getLanguageCode()
public String getLanguageCode()
The language code specified in the original request.
string language_code = 15;
Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
The language code specified in the original request.
string language_code = 15;
Type | Description |
ByteString |
The bytes for languageCode. |
getMessages(int index)
public ResponseMessage getMessages(int index)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
Type | Description |
ResponseMessage |
getMessagesBuilder(int index)
public ResponseMessage.Builder getMessagesBuilder(int index)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
Type | Description |
ResponseMessage.Builder |
getMessagesBuilderList()
public List<ResponseMessage.Builder> getMessagesBuilderList()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Type | Description |
List<Builder> |
getMessagesCount()
public int getMessagesCount()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Type | Description |
int |
getMessagesList()
public List<ResponseMessage> getMessagesList()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Type | Description |
List<ResponseMessage> |
getMessagesOrBuilder(int index)
public ResponseMessageOrBuilder getMessagesOrBuilder(int index)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
Type | Description |
ResponseMessageOrBuilder |
getMessagesOrBuilderList()
public List<? extends ResponseMessageOrBuilder> getMessagesOrBuilderList()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder> |
getPageInfo()
public PageInfo getPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Type | Description |
PageInfo |
The pageInfo. |
getPageInfoBuilder()
public PageInfo.Builder getPageInfoBuilder()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Type | Description |
PageInfo.Builder |
getPageInfoOrBuilder()
public PageInfoOrBuilder getPageInfoOrBuilder()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Type | Description |
PageInfoOrBuilder |
getPayload()
public Struct getPayload()
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Type | Description |
Struct |
The payload. |
getPayloadBuilder()
public Struct.Builder getPayloadBuilder()
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Type | Description |
Builder |
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder()
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Type | Description |
StructOrBuilder |
getQueryCase()
public WebhookRequest.QueryCase getQueryCase()
Type | Description |
WebhookRequest.QueryCase |
getSentimentAnalysisResult()
public WebhookRequest.SentimentAnalysisResult getSentimentAnalysisResult()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Type | Description |
WebhookRequest.SentimentAnalysisResult |
The sentimentAnalysisResult. |
getSentimentAnalysisResultBuilder()
public WebhookRequest.SentimentAnalysisResult.Builder getSentimentAnalysisResultBuilder()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Type | Description |
WebhookRequest.SentimentAnalysisResult.Builder |
getSentimentAnalysisResultOrBuilder()
public WebhookRequest.SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Type | Description |
WebhookRequest.SentimentAnalysisResultOrBuilder |
getSessionInfo()
public SessionInfo getSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Type | Description |
SessionInfo |
The sessionInfo. |
getSessionInfoBuilder()
public SessionInfo.Builder getSessionInfoBuilder()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Type | Description |
SessionInfo.Builder |
getSessionInfoOrBuilder()
public SessionInfoOrBuilder getSessionInfoOrBuilder()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Type | Description |
SessionInfoOrBuilder |
getText()
public String getText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 10;
Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 10;
Type | Description |
ByteString |
The bytes for text. |
getTranscript()
public String getTranscript()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Type | Description |
String |
The transcript. |
getTranscriptBytes()
public ByteString getTranscriptBytes()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Type | Description |
ByteString |
The bytes for transcript. |
getTriggerEvent()
public String getTriggerEvent()
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Type | Description |
String |
The triggerEvent. |
getTriggerEventBytes()
public ByteString getTriggerEventBytes()
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Type | Description |
ByteString |
The bytes for triggerEvent. |
getTriggerIntent()
public String getTriggerIntent()
If an intent was
provided as input, this field will contain a copy of the intent
identifier. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
Type | Description |
String |
The triggerIntent. |
getTriggerIntentBytes()
public ByteString getTriggerIntentBytes()
If an intent was
provided as input, this field will contain a copy of the intent
identifier. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString |
The bytes for triggerIntent. |
hasFulfillmentInfo()
public boolean hasFulfillmentInfo()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Type | Description |
boolean |
Whether the fulfillmentInfo field is set. |
hasIntentInfo()
public boolean hasIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Type | Description |
boolean |
Whether the intentInfo field is set. |
hasPageInfo()
public boolean hasPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Type | Description |
boolean |
Whether the pageInfo field is set. |
hasPayload()
public boolean hasPayload()
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Type | Description |
boolean |
Whether the payload field is set. |
hasSentimentAnalysisResult()
public boolean hasSentimentAnalysisResult()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Type | Description |
boolean |
Whether the sentimentAnalysisResult field is set. |
hasSessionInfo()
public boolean hasSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Type | Description |
boolean |
Whether the sessionInfo field is set. |
hasText()
public boolean hasText()
If natural language text was provided as input, this field will contain a copy of the text.
string text = 10;
Type | Description |
boolean |
Whether the text field is set. |
hasTranscript()
public boolean hasTranscript()
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Type | Description |
boolean |
Whether the transcript field is set. |
hasTriggerEvent()
public boolean hasTriggerEvent()
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Type | Description |
boolean |
Whether the triggerEvent field is set. |
hasTriggerIntent()
public boolean hasTriggerIntent()
If an intent was
provided as input, this field will contain a copy of the intent
identifier. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean |
Whether the triggerIntent field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(WebhookRequest other)
public WebhookRequest.Builder mergeFrom(WebhookRequest other)
Name | Description |
other |
WebhookRequest |
Type | Description |
WebhookRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WebhookRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
WebhookRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public WebhookRequest.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
WebhookRequest.Builder |
mergeFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
public WebhookRequest.Builder mergeFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Name | Description |
value |
WebhookRequest.FulfillmentInfo |
Type | Description |
WebhookRequest.Builder |
mergeIntentInfo(WebhookRequest.IntentInfo value)
public WebhookRequest.Builder mergeIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Name | Description |
value |
WebhookRequest.IntentInfo |
Type | Description |
WebhookRequest.Builder |
mergePageInfo(PageInfo value)
public WebhookRequest.Builder mergePageInfo(PageInfo value)
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Name | Description |
value |
PageInfo |
Type | Description |
WebhookRequest.Builder |
mergePayload(Struct value)
public WebhookRequest.Builder mergePayload(Struct value)
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Name | Description |
value |
Struct |
Type | Description |
WebhookRequest.Builder |
mergeSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
public WebhookRequest.Builder mergeSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Name | Description |
value |
WebhookRequest.SentimentAnalysisResult |
Type | Description |
WebhookRequest.Builder |
mergeSessionInfo(SessionInfo value)
public WebhookRequest.Builder mergeSessionInfo(SessionInfo value)
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Name | Description |
value |
SessionInfo |
Type | Description |
WebhookRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebhookRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
WebhookRequest.Builder |
removeMessages(int index)
public WebhookRequest.Builder removeMessages(int index)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
Type | Description |
WebhookRequest.Builder |
setDetectIntentResponseId(String value)
public WebhookRequest.Builder setDetectIntentResponseId(String value)
Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
string detect_intent_response_id = 1;
Name | Description |
value |
String The detectIntentResponseId to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setDetectIntentResponseIdBytes(ByteString value)
public WebhookRequest.Builder setDetectIntentResponseIdBytes(ByteString value)
Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
string detect_intent_response_id = 1;
Name | Description |
value |
ByteString The bytes for detectIntentResponseId to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public WebhookRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
WebhookRequest.Builder |
setFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
public WebhookRequest.Builder setFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Name | Description |
value |
WebhookRequest.FulfillmentInfo |
Type | Description |
WebhookRequest.Builder |
setFulfillmentInfo(WebhookRequest.FulfillmentInfo.Builder builderForValue)
public WebhookRequest.Builder setFulfillmentInfo(WebhookRequest.FulfillmentInfo.Builder builderForValue)
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
Name | Description |
builderForValue |
WebhookRequest.FulfillmentInfo.Builder |
Type | Description |
WebhookRequest.Builder |
setIntentInfo(WebhookRequest.IntentInfo value)
public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Name | Description |
value |
WebhookRequest.IntentInfo |
Type | Description |
WebhookRequest.Builder |
setIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue)
public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
Name | Description |
builderForValue |
WebhookRequest.IntentInfo.Builder |
Type | Description |
WebhookRequest.Builder |
setLanguageCode(String value)
public WebhookRequest.Builder setLanguageCode(String value)
The language code specified in the original request.
string language_code = 15;
Name | Description |
value |
String The languageCode to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public WebhookRequest.Builder setLanguageCodeBytes(ByteString value)
The language code specified in the original request.
string language_code = 15;
Name | Description |
value |
ByteString The bytes for languageCode to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setMessages(int index, ResponseMessage value)
public WebhookRequest.Builder setMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
value |
ResponseMessage |
Type | Description |
WebhookRequest.Builder |
setMessages(int index, ResponseMessage.Builder builderForValue)
public WebhookRequest.Builder setMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
Name | Description |
index |
int |
builderForValue |
ResponseMessage.Builder |
Type | Description |
WebhookRequest.Builder |
setPageInfo(PageInfo value)
public WebhookRequest.Builder setPageInfo(PageInfo value)
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Name | Description |
value |
PageInfo |
Type | Description |
WebhookRequest.Builder |
setPageInfo(PageInfo.Builder builderForValue)
public WebhookRequest.Builder setPageInfo(PageInfo.Builder builderForValue)
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
Name | Description |
builderForValue |
PageInfo.Builder |
Type | Description |
WebhookRequest.Builder |
setPayload(Struct value)
public WebhookRequest.Builder setPayload(Struct value)
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Name | Description |
value |
Struct |
Type | Description |
WebhookRequest.Builder |
setPayload(Struct.Builder builderForValue)
public WebhookRequest.Builder setPayload(Struct.Builder builderForValue)
Custom data set in QueryParameters.payload.
.google.protobuf.Struct payload = 8;
Name | Description |
builderForValue |
Builder |
Type | Description |
WebhookRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebhookRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
WebhookRequest.Builder |
setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
public WebhookRequest.Builder setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Name | Description |
value |
WebhookRequest.SentimentAnalysisResult |
Type | Description |
WebhookRequest.Builder |
setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult.Builder builderForValue)
public WebhookRequest.Builder setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult.Builder builderForValue)
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
Name | Description |
builderForValue |
WebhookRequest.SentimentAnalysisResult.Builder |
Type | Description |
WebhookRequest.Builder |
setSessionInfo(SessionInfo value)
public WebhookRequest.Builder setSessionInfo(SessionInfo value)
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Name | Description |
value |
SessionInfo |
Type | Description |
WebhookRequest.Builder |
setSessionInfo(SessionInfo.Builder builderForValue)
public WebhookRequest.Builder setSessionInfo(SessionInfo.Builder builderForValue)
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
Name | Description |
builderForValue |
SessionInfo.Builder |
Type | Description |
WebhookRequest.Builder |
setText(String value)
public WebhookRequest.Builder setText(String value)
If natural language text was provided as input, this field will contain a copy of the text.
string text = 10;
Name | Description |
value |
String The text to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public WebhookRequest.Builder setTextBytes(ByteString value)
If natural language text was provided as input, this field will contain a copy of the text.
string text = 10;
Name | Description |
value |
ByteString The bytes for text to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setTranscript(String value)
public WebhookRequest.Builder setTranscript(String value)
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Name | Description |
value |
String The transcript to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setTranscriptBytes(ByteString value)
public WebhookRequest.Builder setTranscriptBytes(ByteString value)
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
Name | Description |
value |
ByteString The bytes for transcript to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setTriggerEvent(String value)
public WebhookRequest.Builder setTriggerEvent(String value)
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Name | Description |
value |
String The triggerEvent to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setTriggerEventBytes(ByteString value)
public WebhookRequest.Builder setTriggerEventBytes(ByteString value)
If an event was provided as input, this field will contain the name of the event.
string trigger_event = 14;
Name | Description |
value |
ByteString The bytes for triggerEvent to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setTriggerIntent(String value)
public WebhookRequest.Builder setTriggerIntent(String value)
If an intent was
provided as input, this field will contain a copy of the intent
identifier. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
value |
String The triggerIntent to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setTriggerIntentBytes(ByteString value)
public WebhookRequest.Builder setTriggerIntentBytes(ByteString value)
If an intent was
provided as input, this field will contain a copy of the intent
identifier. Format: projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>
.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
value |
ByteString The bytes for triggerIntent to set. |
Type | Description |
WebhookRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WebhookRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
WebhookRequest.Builder |