- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class WebhookRequest.Builder extends GeneratedMessageV3.Builder<WebhookRequest.Builder> implements WebhookRequestOrBuilder
The request message for a webhook call.
Protobuf type google.cloud.dialogflow.v2beta1.WebhookRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WebhookRequest.BuilderImplements
WebhookRequestOrBuilderMethods
addAllAlternativeQueryResults(Iterable<? extends QueryResult> values)
public WebhookRequest.Builder addAllAlternativeQueryResults(Iterable<? extends QueryResult> values)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.QueryResult> |
Type | Description |
WebhookRequest.Builder |
addAlternativeQueryResults(QueryResult value)
public WebhookRequest.Builder addAlternativeQueryResults(QueryResult value)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
value | QueryResult |
Type | Description |
WebhookRequest.Builder |
addAlternativeQueryResults(QueryResult.Builder builderForValue)
public WebhookRequest.Builder addAlternativeQueryResults(QueryResult.Builder builderForValue)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
builderForValue | QueryResult.Builder |
Type | Description |
WebhookRequest.Builder |
addAlternativeQueryResults(int index, QueryResult value)
public WebhookRequest.Builder addAlternativeQueryResults(int index, QueryResult value)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
value | QueryResult |
Type | Description |
WebhookRequest.Builder |
addAlternativeQueryResults(int index, QueryResult.Builder builderForValue)
public WebhookRequest.Builder addAlternativeQueryResults(int index, QueryResult.Builder builderForValue)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
builderForValue | QueryResult.Builder |
Type | Description |
WebhookRequest.Builder |
addAlternativeQueryResultsBuilder()
public QueryResult.Builder addAlternativeQueryResultsBuilder()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Type | Description |
QueryResult.Builder |
addAlternativeQueryResultsBuilder(int index)
public QueryResult.Builder addAlternativeQueryResultsBuilder(int index)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
Type | Description |
QueryResult.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 |
clearAlternativeQueryResults()
public WebhookRequest.Builder clearAlternativeQueryResults()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Type | Description |
WebhookRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public WebhookRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
WebhookRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WebhookRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
WebhookRequest.Builder |
clearOriginalDetectIntentRequest()
public WebhookRequest.Builder clearOriginalDetectIntentRequest()
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Type | Description |
WebhookRequest.Builder |
clearQueryResult()
public WebhookRequest.Builder clearQueryResult()
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Type | Description |
WebhookRequest.Builder |
clearResponseId()
public WebhookRequest.Builder clearResponseId()
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
string response_id = 1;
Type | Description |
WebhookRequest.Builder | This builder for chaining. |
clearSession()
public WebhookRequest.Builder clearSession()
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,
- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
,
- projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
,
- projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`,
string session = 4;
Type | Description |
WebhookRequest.Builder | This builder for chaining. |
clone()
public WebhookRequest.Builder clone()
Type | Description |
WebhookRequest.Builder |
getAlternativeQueryResults(int index)
public QueryResult getAlternativeQueryResults(int index)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
Type | Description |
QueryResult |
getAlternativeQueryResultsBuilder(int index)
public QueryResult.Builder getAlternativeQueryResultsBuilder(int index)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
Type | Description |
QueryResult.Builder |
getAlternativeQueryResultsBuilderList()
public List<QueryResult.Builder> getAlternativeQueryResultsBuilderList()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Type | Description |
List<Builder> |
getAlternativeQueryResultsCount()
public int getAlternativeQueryResultsCount()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Type | Description |
int |
getAlternativeQueryResultsList()
public List<QueryResult> getAlternativeQueryResultsList()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Type | Description |
List<QueryResult> |
getAlternativeQueryResultsOrBuilder(int index)
public QueryResultOrBuilder getAlternativeQueryResultsOrBuilder(int index)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
Type | Description |
QueryResultOrBuilder |
getAlternativeQueryResultsOrBuilderList()
public List<? extends QueryResultOrBuilder> getAlternativeQueryResultsOrBuilderList()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.QueryResultOrBuilder> |
getDefaultInstanceForType()
public WebhookRequest getDefaultInstanceForType()
Type | Description |
WebhookRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getOriginalDetectIntentRequest()
public OriginalDetectIntentRequest getOriginalDetectIntentRequest()
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Type | Description |
OriginalDetectIntentRequest | The originalDetectIntentRequest. |
getOriginalDetectIntentRequestBuilder()
public OriginalDetectIntentRequest.Builder getOriginalDetectIntentRequestBuilder()
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Type | Description |
OriginalDetectIntentRequest.Builder |
getOriginalDetectIntentRequestOrBuilder()
public OriginalDetectIntentRequestOrBuilder getOriginalDetectIntentRequestOrBuilder()
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Type | Description |
OriginalDetectIntentRequestOrBuilder |
getQueryResult()
public QueryResult getQueryResult()
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Type | Description |
QueryResult | The queryResult. |
getQueryResultBuilder()
public QueryResult.Builder getQueryResultBuilder()
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Type | Description |
QueryResult.Builder |
getQueryResultOrBuilder()
public QueryResultOrBuilder getQueryResultOrBuilder()
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Type | Description |
QueryResultOrBuilder |
getResponseId()
public String getResponseId()
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
string response_id = 1;
Type | Description |
String | The responseId. |
getResponseIdBytes()
public ByteString getResponseIdBytes()
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
string response_id = 1;
Type | Description |
ByteString | The bytes for responseId. |
getSession()
public String getSession()
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,
- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
,
- projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
,
- projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`,
string session = 4;
Type | Description |
String | The session. |
getSessionBytes()
public ByteString getSessionBytes()
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,
- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
,
- projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
,
- projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`,
string session = 4;
Type | Description |
ByteString | The bytes for session. |
hasOriginalDetectIntentRequest()
public boolean hasOriginalDetectIntentRequest()
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Type | Description |
boolean | Whether the originalDetectIntentRequest field is set. |
hasQueryResult()
public boolean hasQueryResult()
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Type | Description |
boolean | Whether the queryResult 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 |
mergeOriginalDetectIntentRequest(OriginalDetectIntentRequest value)
public WebhookRequest.Builder mergeOriginalDetectIntentRequest(OriginalDetectIntentRequest value)
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Name | Description |
value | OriginalDetectIntentRequest |
Type | Description |
WebhookRequest.Builder |
mergeQueryResult(QueryResult value)
public WebhookRequest.Builder mergeQueryResult(QueryResult value)
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Name | Description |
value | QueryResult |
Type | Description |
WebhookRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebhookRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WebhookRequest.Builder |
removeAlternativeQueryResults(int index)
public WebhookRequest.Builder removeAlternativeQueryResults(int index)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
Type | Description |
WebhookRequest.Builder |
setAlternativeQueryResults(int index, QueryResult value)
public WebhookRequest.Builder setAlternativeQueryResults(int index, QueryResult value)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
value | QueryResult |
Type | Description |
WebhookRequest.Builder |
setAlternativeQueryResults(int index, QueryResult.Builder builderForValue)
public WebhookRequest.Builder setAlternativeQueryResults(int index, QueryResult.Builder builderForValue)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
Name | Description |
index | int |
builderForValue | QueryResult.Builder |
Type | Description |
WebhookRequest.Builder |
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 |
setOriginalDetectIntentRequest(OriginalDetectIntentRequest value)
public WebhookRequest.Builder setOriginalDetectIntentRequest(OriginalDetectIntentRequest value)
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Name | Description |
value | OriginalDetectIntentRequest |
Type | Description |
WebhookRequest.Builder |
setOriginalDetectIntentRequest(OriginalDetectIntentRequest.Builder builderForValue)
public WebhookRequest.Builder setOriginalDetectIntentRequest(OriginalDetectIntentRequest.Builder builderForValue)
Optional. The contents of the original request that was passed to
[Streaming]DetectIntent
call.
.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Name | Description |
builderForValue | OriginalDetectIntentRequest.Builder |
Type | Description |
WebhookRequest.Builder |
setQueryResult(QueryResult value)
public WebhookRequest.Builder setQueryResult(QueryResult value)
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Name | Description |
value | QueryResult |
Type | Description |
WebhookRequest.Builder |
setQueryResult(QueryResult.Builder builderForValue)
public WebhookRequest.Builder setQueryResult(QueryResult.Builder builderForValue)
The result of the conversational query or event processing. Contains the
same value as [Streaming]DetectIntentResponse.query_result
.
.google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
Name | Description |
builderForValue | QueryResult.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 |
setResponseId(String value)
public WebhookRequest.Builder setResponseId(String value)
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
string response_id = 1;
Name | Description |
value | String The responseId to set. |
Type | Description |
WebhookRequest.Builder | This builder for chaining. |
setResponseIdBytes(ByteString value)
public WebhookRequest.Builder setResponseIdBytes(ByteString value)
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
string response_id = 1;
Name | Description |
value | ByteString The bytes for responseId to set. |
Type | Description |
WebhookRequest.Builder | This builder for chaining. |
setSession(String value)
public WebhookRequest.Builder setSession(String value)
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,
- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
,
- projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
,
- projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`,
string session = 4;
Name | Description |
value | String The session to set. |
Type | Description |
WebhookRequest.Builder | This builder for chaining. |
setSessionBytes(ByteString value)
public WebhookRequest.Builder setSessionBytes(ByteString value)
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,
- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
,
- projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
,
- projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`,
string session = 4;
Name | Description |
value | ByteString The bytes for session 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 |