public static interface Webhook.GenericWebServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsRequestHeaders(String key)
The HTTP request headers to send together with webhook
requests.
|
com.google.protobuf.ByteString |
getAllowedCaCerts(int index)
Optional.
|
int |
getAllowedCaCertsCount()
Optional.
|
List<com.google.protobuf.ByteString> |
getAllowedCaCertsList()
Optional.
|
String |
getPassword()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
|
com.google.protobuf.ByteString |
getPasswordBytes()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
|
Map<String,String> |
getRequestHeaders()
Deprecated.
|
int |
getRequestHeadersCount()
The HTTP request headers to send together with webhook
requests.
|
Map<String,String> |
getRequestHeadersMap()
The HTTP request headers to send together with webhook
requests.
|
String |
getRequestHeadersOrDefault(String key,
String defaultValue)
The HTTP request headers to send together with webhook
requests.
|
String |
getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with webhook
requests.
|
String |
getUri()
Required.
|
com.google.protobuf.ByteString |
getUriBytes()
Required.
|
String |
getUsername()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
|
com.google.protobuf.ByteString |
getUsernameBytes()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getUri()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getUriBytes()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];@Deprecated String getUsername()
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];@Deprecated com.google.protobuf.ByteString getUsernameBytes()
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];@Deprecated String getPassword()
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];@Deprecated com.google.protobuf.ByteString getPasswordBytes()
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];int getRequestHeadersCount()
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;boolean containsRequestHeaders(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;@Deprecated Map<String,String> getRequestHeaders()
getRequestHeadersMap() instead.Map<String,String> getRequestHeadersMap()
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;String getRequestHeadersOrDefault(String key, String defaultValue)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;String getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;List<com.google.protobuf.ByteString> getAllowedCaCertsList()
Optional. Specifies a list of allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust store
to verify certificates.
N.B. Make sure the HTTPS server certificates are signed with "subject alt
name". For instance a certificate can be self-signed using the following
command,
```
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
```
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];int getAllowedCaCertsCount()
Optional. Specifies a list of allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust store
to verify certificates.
N.B. Make sure the HTTPS server certificates are signed with "subject alt
name". For instance a certificate can be self-signed using the following
command,
```
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
```
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getAllowedCaCerts(int index)
Optional. Specifies a list of allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust store
to verify certificates.
N.B. Make sure the HTTPS server certificates are signed with "subject alt
name". For instance a certificate can be self-signed using the following
command,
```
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
```
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];index - The index of the element to return.Copyright © 2022 Google LLC. All rights reserved.