public static final class Webhook.GenericWebService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder> implements Webhook.GenericWebServiceOrBuilder
Represents configuration for a generic web service.Protobuf type
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService| Modifier and Type | Method and Description |
|---|---|
Webhook.GenericWebService.Builder |
addAllAllowedCaCerts(Iterable<? extends com.google.protobuf.ByteString> values)
Optional.
|
Webhook.GenericWebService.Builder |
addAllowedCaCerts(com.google.protobuf.ByteString value)
Optional.
|
Webhook.GenericWebService.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Webhook.GenericWebService |
build() |
Webhook.GenericWebService |
buildPartial() |
Webhook.GenericWebService.Builder |
clear() |
Webhook.GenericWebService.Builder |
clearAllowedCaCerts()
Optional.
|
Webhook.GenericWebService.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Webhook.GenericWebService.Builder |
clearHttpMethod()
Optional.
|
Webhook.GenericWebService.Builder |
clearOauthConfig()
Optional.
|
Webhook.GenericWebService.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Webhook.GenericWebService.Builder |
clearParameterMapping() |
Webhook.GenericWebService.Builder |
clearPassword()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=190
|
Webhook.GenericWebService.Builder |
clearRequestBody()
Optional.
|
Webhook.GenericWebService.Builder |
clearRequestHeaders() |
Webhook.GenericWebService.Builder |
clearServiceAgentAuth()
Optional.
|
Webhook.GenericWebService.Builder |
clearUri()
Required.
|
Webhook.GenericWebService.Builder |
clearUsername()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=187
|
Webhook.GenericWebService.Builder |
clearWebhookType()
Optional.
|
Webhook.GenericWebService.Builder |
clone() |
boolean |
containsParameterMapping(String key)
Optional.
|
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.
|
Webhook.GenericWebService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Webhook.GenericWebService.HttpMethod |
getHttpMethod()
Optional.
|
int |
getHttpMethodValue()
Optional.
|
Map<String,String> |
getMutableParameterMapping()
Deprecated.
|
Map<String,String> |
getMutableRequestHeaders()
Deprecated.
|
Webhook.GenericWebService.OAuthConfig |
getOauthConfig()
Optional.
|
Webhook.GenericWebService.OAuthConfig.Builder |
getOauthConfigBuilder()
Optional.
|
Webhook.GenericWebService.OAuthConfigOrBuilder |
getOauthConfigOrBuilder()
Optional.
|
Map<String,String> |
getParameterMapping()
Deprecated.
|
int |
getParameterMappingCount()
Optional.
|
Map<String,String> |
getParameterMappingMap()
Optional.
|
String |
getParameterMappingOrDefault(String key,
String defaultValue)
Optional.
|
String |
getParameterMappingOrThrow(String key)
Optional.
|
String |
getPassword()
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=190
|
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=190
|
String |
getRequestBody()
Optional.
|
com.google.protobuf.ByteString |
getRequestBodyBytes()
Optional.
|
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.
|
Webhook.GenericWebService.ServiceAgentAuth |
getServiceAgentAuth()
Optional.
|
int |
getServiceAgentAuthValue()
Optional.
|
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=187
|
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=187
|
Webhook.GenericWebService.WebhookType |
getWebhookType()
Optional.
|
int |
getWebhookTypeValue()
Optional.
|
boolean |
hasOauthConfig()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Webhook.GenericWebService.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Webhook.GenericWebService.Builder |
mergeFrom(com.google.protobuf.Message other) |
Webhook.GenericWebService.Builder |
mergeFrom(Webhook.GenericWebService other) |
Webhook.GenericWebService.Builder |
mergeOauthConfig(Webhook.GenericWebService.OAuthConfig value)
Optional.
|
Webhook.GenericWebService.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Webhook.GenericWebService.Builder |
putAllParameterMapping(Map<String,String> values)
Optional.
|
Webhook.GenericWebService.Builder |
putAllRequestHeaders(Map<String,String> values)
The HTTP request headers to send together with webhook requests.
|
Webhook.GenericWebService.Builder |
putParameterMapping(String key,
String value)
Optional.
|
Webhook.GenericWebService.Builder |
putRequestHeaders(String key,
String value)
The HTTP request headers to send together with webhook requests.
|
Webhook.GenericWebService.Builder |
removeParameterMapping(String key)
Optional.
|
Webhook.GenericWebService.Builder |
removeRequestHeaders(String key)
The HTTP request headers to send together with webhook requests.
|
Webhook.GenericWebService.Builder |
setAllowedCaCerts(int index,
com.google.protobuf.ByteString value)
Optional.
|
Webhook.GenericWebService.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Webhook.GenericWebService.Builder |
setHttpMethod(Webhook.GenericWebService.HttpMethod value)
Optional.
|
Webhook.GenericWebService.Builder |
setHttpMethodValue(int value)
Optional.
|
Webhook.GenericWebService.Builder |
setOauthConfig(Webhook.GenericWebService.OAuthConfig.Builder builderForValue)
Optional.
|
Webhook.GenericWebService.Builder |
setOauthConfig(Webhook.GenericWebService.OAuthConfig value)
Optional.
|
Webhook.GenericWebService.Builder |
setPassword(String value)
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=190
|
Webhook.GenericWebService.Builder |
setPasswordBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=190
|
Webhook.GenericWebService.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Webhook.GenericWebService.Builder |
setRequestBody(String value)
Optional.
|
Webhook.GenericWebService.Builder |
setRequestBodyBytes(com.google.protobuf.ByteString value)
Optional.
|
Webhook.GenericWebService.Builder |
setServiceAgentAuth(Webhook.GenericWebService.ServiceAgentAuth value)
Optional.
|
Webhook.GenericWebService.Builder |
setServiceAgentAuthValue(int value)
Optional.
|
Webhook.GenericWebService.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Webhook.GenericWebService.Builder |
setUri(String value)
Required.
|
Webhook.GenericWebService.Builder |
setUriBytes(com.google.protobuf.ByteString value)
Required.
|
Webhook.GenericWebService.Builder |
setUsername(String value)
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=187
|
Webhook.GenericWebService.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
Deprecated.
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated.
See google/cloud/dialogflow/cx/v3/webhook.proto;l=187
|
Webhook.GenericWebService.Builder |
setWebhookType(Webhook.GenericWebService.WebhookType value)
Optional.
|
Webhook.GenericWebService.Builder |
setWebhookTypeValue(int value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Webhook.GenericWebService build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Webhook.GenericWebService buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Webhook.GenericWebService.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder mergeFrom(Webhook.GenericWebService other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public Webhook.GenericWebService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Webhook.GenericWebService.Builder>IOExceptionpublic String getUri()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];getUri in interface Webhook.GenericWebServiceOrBuilderpublic 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];getUriBytes in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setUri(String value)
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The uri to set.public Webhook.GenericWebService.Builder clearUri()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];public Webhook.GenericWebService.Builder setUriBytes(com.google.protobuf.ByteString value)
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for uri to set.@Deprecated public String getUsername()
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];getUsername in interface Webhook.GenericWebServiceOrBuilder@Deprecated public com.google.protobuf.ByteString getUsernameBytes()
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];getUsernameBytes in interface Webhook.GenericWebServiceOrBuilder@Deprecated public Webhook.GenericWebService.Builder setUsername(String value)
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];value - The username to set.@Deprecated public Webhook.GenericWebService.Builder clearUsername()
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];@Deprecated public Webhook.GenericWebService.Builder setUsernameBytes(com.google.protobuf.ByteString value)
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];value - The bytes for username to set.@Deprecated public String getPassword()
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];getPassword in interface Webhook.GenericWebServiceOrBuilder@Deprecated public com.google.protobuf.ByteString getPasswordBytes()
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];getPasswordBytes in interface Webhook.GenericWebServiceOrBuilder@Deprecated public Webhook.GenericWebService.Builder setPassword(String value)
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];value - The password to set.@Deprecated public Webhook.GenericWebService.Builder clearPassword()
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];@Deprecated public Webhook.GenericWebService.Builder setPasswordBytes(com.google.protobuf.ByteString value)
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];value - The bytes for password to set.public int getRequestHeadersCount()
Webhook.GenericWebServiceOrBuilderThe HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersCount in interface Webhook.GenericWebServiceOrBuilderpublic boolean containsRequestHeaders(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;containsRequestHeaders in interface Webhook.GenericWebServiceOrBuilder@Deprecated public Map<String,String> getRequestHeaders()
getRequestHeadersMap() instead.getRequestHeaders in interface Webhook.GenericWebServiceOrBuilderpublic Map<String,String> getRequestHeadersMap()
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersMap in interface Webhook.GenericWebServiceOrBuilderpublic String getRequestHeadersOrDefault(String key, String defaultValue)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersOrDefault in interface Webhook.GenericWebServiceOrBuilderpublic String getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;getRequestHeadersOrThrow in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder clearRequestHeaders()
public Webhook.GenericWebService.Builder removeRequestHeaders(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;@Deprecated public Map<String,String> getMutableRequestHeaders()
public Webhook.GenericWebService.Builder putRequestHeaders(String key, String value)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;public Webhook.GenericWebService.Builder putAllRequestHeaders(Map<String,String> values)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;public 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];getAllowedCaCertsList in interface Webhook.GenericWebServiceOrBuilderpublic 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];getAllowedCaCertsCount in interface Webhook.GenericWebServiceOrBuilderpublic 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];getAllowedCaCerts in interface Webhook.GenericWebServiceOrBuilderindex - The index of the element to return.public Webhook.GenericWebService.Builder setAllowedCaCerts(int index, com.google.protobuf.ByteString value)
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 to set the value at.value - The allowedCaCerts to set.public Webhook.GenericWebService.Builder addAllowedCaCerts(com.google.protobuf.ByteString value)
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];value - The allowedCaCerts to add.public Webhook.GenericWebService.Builder addAllAllowedCaCerts(Iterable<? extends com.google.protobuf.ByteString> values)
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];values - The allowedCaCerts to add.public Webhook.GenericWebService.Builder clearAllowedCaCerts()
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];public boolean hasOauthConfig()
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
hasOauthConfig in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.OAuthConfig getOauthConfig()
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
getOauthConfig in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setOauthConfig(Webhook.GenericWebService.OAuthConfig value)
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
public Webhook.GenericWebService.Builder setOauthConfig(Webhook.GenericWebService.OAuthConfig.Builder builderForValue)
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
public Webhook.GenericWebService.Builder mergeOauthConfig(Webhook.GenericWebService.OAuthConfig value)
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
public Webhook.GenericWebService.Builder clearOauthConfig()
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
public Webhook.GenericWebService.OAuthConfig.Builder getOauthConfigBuilder()
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
public Webhook.GenericWebService.OAuthConfigOrBuilder getOauthConfigOrBuilder()
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
getOauthConfigOrBuilder in interface Webhook.GenericWebServiceOrBuilderpublic int getServiceAgentAuthValue()
Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ServiceAgentAuth service_agent_auth = 12 [(.google.api.field_behavior) = OPTIONAL];
getServiceAgentAuthValue in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setServiceAgentAuthValue(int value)
Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ServiceAgentAuth service_agent_auth = 12 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for serviceAgentAuth to set.public Webhook.GenericWebService.ServiceAgentAuth getServiceAgentAuth()
Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ServiceAgentAuth service_agent_auth = 12 [(.google.api.field_behavior) = OPTIONAL];
getServiceAgentAuth in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setServiceAgentAuth(Webhook.GenericWebService.ServiceAgentAuth value)
Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ServiceAgentAuth service_agent_auth = 12 [(.google.api.field_behavior) = OPTIONAL];
value - The serviceAgentAuth to set.public Webhook.GenericWebService.Builder clearServiceAgentAuth()
Optional. Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ServiceAgentAuth service_agent_auth = 12 [(.google.api.field_behavior) = OPTIONAL];
public int getWebhookTypeValue()
Optional. Type of the webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.WebhookType webhook_type = 6 [(.google.api.field_behavior) = OPTIONAL];
getWebhookTypeValue in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setWebhookTypeValue(int value)
Optional. Type of the webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.WebhookType webhook_type = 6 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for webhookType to set.public Webhook.GenericWebService.WebhookType getWebhookType()
Optional. Type of the webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.WebhookType webhook_type = 6 [(.google.api.field_behavior) = OPTIONAL];
getWebhookType in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setWebhookType(Webhook.GenericWebService.WebhookType value)
Optional. Type of the webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.WebhookType webhook_type = 6 [(.google.api.field_behavior) = OPTIONAL];
value - The webhookType to set.public Webhook.GenericWebService.Builder clearWebhookType()
Optional. Type of the webhook.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.WebhookType webhook_type = 6 [(.google.api.field_behavior) = OPTIONAL];
public int getHttpMethodValue()
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethod http_method = 7 [(.google.api.field_behavior) = OPTIONAL];
getHttpMethodValue in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setHttpMethodValue(int value)
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethod http_method = 7 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for httpMethod to set.public Webhook.GenericWebService.HttpMethod getHttpMethod()
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethod http_method = 7 [(.google.api.field_behavior) = OPTIONAL];
getHttpMethod in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setHttpMethod(Webhook.GenericWebService.HttpMethod value)
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethod http_method = 7 [(.google.api.field_behavior) = OPTIONAL];
value - The httpMethod to set.public Webhook.GenericWebService.Builder clearHttpMethod()
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
.google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethod http_method = 7 [(.google.api.field_behavior) = OPTIONAL];
public String getRequestBody()
Optional. Defines a custom JSON object as request body to send to flexible webhook.
string request_body = 8 [(.google.api.field_behavior) = OPTIONAL];getRequestBody in interface Webhook.GenericWebServiceOrBuilderpublic com.google.protobuf.ByteString getRequestBodyBytes()
Optional. Defines a custom JSON object as request body to send to flexible webhook.
string request_body = 8 [(.google.api.field_behavior) = OPTIONAL];getRequestBodyBytes in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder setRequestBody(String value)
Optional. Defines a custom JSON object as request body to send to flexible webhook.
string request_body = 8 [(.google.api.field_behavior) = OPTIONAL];value - The requestBody to set.public Webhook.GenericWebService.Builder clearRequestBody()
Optional. Defines a custom JSON object as request body to send to flexible webhook.
string request_body = 8 [(.google.api.field_behavior) = OPTIONAL];public Webhook.GenericWebService.Builder setRequestBodyBytes(com.google.protobuf.ByteString value)
Optional. Defines a custom JSON object as request body to send to flexible webhook.
string request_body = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for requestBody to set.public int getParameterMappingCount()
Webhook.GenericWebServiceOrBuilderOptional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
getParameterMappingCount in interface Webhook.GenericWebServiceOrBuilderpublic boolean containsParameterMapping(String key)
Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
containsParameterMapping in interface Webhook.GenericWebServiceOrBuilder@Deprecated public Map<String,String> getParameterMapping()
getParameterMappingMap() instead.getParameterMapping in interface Webhook.GenericWebServiceOrBuilderpublic Map<String,String> getParameterMappingMap()
Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
getParameterMappingMap in interface Webhook.GenericWebServiceOrBuilderpublic String getParameterMappingOrDefault(String key, String defaultValue)
Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
getParameterMappingOrDefault in interface Webhook.GenericWebServiceOrBuilderpublic String getParameterMappingOrThrow(String key)
Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
getParameterMappingOrThrow in interface Webhook.GenericWebServiceOrBuilderpublic Webhook.GenericWebService.Builder clearParameterMapping()
public Webhook.GenericWebService.Builder removeParameterMapping(String key)
Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableParameterMapping()
public Webhook.GenericWebService.Builder putParameterMapping(String key, String value)
Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
public Webhook.GenericWebService.Builder putAllParameterMapping(Map<String,String> values)
Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response
map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
public final Webhook.GenericWebService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>public final Webhook.GenericWebService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder>Copyright © 2025 Google LLC. All rights reserved.