- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Webhook.GenericWebService.Builder extends GeneratedMessageV3.Builder<Webhook.GenericWebService.Builder> implements Webhook.GenericWebServiceOrBuilder
Represents configuration for a generic web service.
Protobuf type google.cloud.dialogflow.cx.v3.Webhook.GenericWebService
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Webhook.GenericWebService.BuilderImplements
Webhook.GenericWebServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAllowedCaCerts(Iterable<? extends ByteString> values)
public Webhook.GenericWebService.Builder addAllAllowedCaCerts(Iterable<? extends 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,
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<? extends com.google.protobuf.ByteString> The allowedCaCerts to add. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
addAllowedCaCerts(ByteString value)
public Webhook.GenericWebService.Builder addAllowedCaCerts(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,
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The allowedCaCerts to add. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Webhook.GenericWebService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Webhook.GenericWebService.Builder |
build()
public Webhook.GenericWebService build()
Type | Description |
Webhook.GenericWebService |
buildPartial()
public Webhook.GenericWebService buildPartial()
Type | Description |
Webhook.GenericWebService |
clear()
public Webhook.GenericWebService.Builder clear()
Type | Description |
Webhook.GenericWebService.Builder |
clearAllowedCaCerts()
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,
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Webhook.GenericWebService.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Webhook.GenericWebService.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Webhook.GenericWebService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Webhook.GenericWebService.Builder |
clearPassword() (deprecated)
public Webhook.GenericWebService.Builder clearPassword()
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
clearRequestHeaders()
public Webhook.GenericWebService.Builder clearRequestHeaders()
Type | Description |
Webhook.GenericWebService.Builder |
clearUri()
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];
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
clearUsername() (deprecated)
public Webhook.GenericWebService.Builder clearUsername()
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
clone()
public Webhook.GenericWebService.Builder clone()
Type | Description |
Webhook.GenericWebService.Builder |
containsRequestHeaders(String key)
public boolean containsRequestHeaders(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getAllowedCaCerts(int index)
public 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,
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the element to return. |
Type | Description |
ByteString | The allowedCaCerts at the given index. |
getAllowedCaCertsCount()
public 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,
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The count of allowedCaCerts. |
getAllowedCaCertsList()
public List<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,
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<ByteString> | A list containing the allowedCaCerts. |
getDefaultInstanceForType()
public Webhook.GenericWebService getDefaultInstanceForType()
Type | Description |
Webhook.GenericWebService |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutableRequestHeaders()
public Map<String,String> getMutableRequestHeaders()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getPassword() (deprecated)
public String getPassword()
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Type | Description |
String | The password. |
getPasswordBytes() (deprecated)
public ByteString getPasswordBytes()
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Type | Description |
ByteString | The bytes for password. |
getRequestHeaders()
public Map<String,String> getRequestHeaders()
Use #getRequestHeadersMap() instead.
Type | Description |
Map<String,String> |
getRequestHeadersCount()
public int getRequestHeadersCount()
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;
Type | Description |
int |
getRequestHeadersMap()
public Map<String,String> getRequestHeadersMap()
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;
Type | Description |
Map<String,String> |
getRequestHeadersOrDefault(String key, String defaultValue)
public String getRequestHeadersOrDefault(String key, String defaultValue)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getRequestHeadersOrThrow(String key)
public String getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;
Name | Description |
key | String |
Type | Description |
String |
getUri()
public String getUri()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for uri. |
getUsername() (deprecated)
public String getUsername()
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Type | Description |
String | The username. |
getUsernameBytes() (deprecated)
public ByteString getUsernameBytes()
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Type | Description |
ByteString | The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Webhook.GenericWebService other)
public Webhook.GenericWebService.Builder mergeFrom(Webhook.GenericWebService other)
Name | Description |
other | Webhook.GenericWebService |
Type | Description |
Webhook.GenericWebService.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Webhook.GenericWebService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Webhook.GenericWebService.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Webhook.GenericWebService.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Webhook.GenericWebService.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Webhook.GenericWebService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Webhook.GenericWebService.Builder |
putAllRequestHeaders(Map<String,String> values)
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;
Name | Description |
values | Map<String,String> |
Type | Description |
Webhook.GenericWebService.Builder |
putRequestHeaders(String key, String value)
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;
Name | Description |
key | String |
value | String |
Type | Description |
Webhook.GenericWebService.Builder |
removeRequestHeaders(String key)
public Webhook.GenericWebService.Builder removeRequestHeaders(String key)
The HTTP request headers to send together with webhook requests.
map<string, string> request_headers = 4;
Name | Description |
key | String |
Type | Description |
Webhook.GenericWebService.Builder |
setAllowedCaCerts(int index, ByteString value)
public Webhook.GenericWebService.Builder setAllowedCaCerts(int index, 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,
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index to set the value at. |
value | ByteString The allowedCaCerts to set. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Webhook.GenericWebService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Webhook.GenericWebService.Builder |
setPassword(String value) (deprecated)
public 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=110
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Name | Description |
value | String The password to set. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
setPasswordBytes(ByteString value) (deprecated)
public Webhook.GenericWebService.Builder setPasswordBytes(ByteString value)
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.password is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=110
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Name | Description |
value | ByteString The bytes for password to set. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Webhook.GenericWebService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Webhook.GenericWebService.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Webhook.GenericWebService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Webhook.GenericWebService.Builder |
setUri(String value)
public 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];
Name | Description |
value | String The uri to set. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public Webhook.GenericWebService.Builder setUriBytes(ByteString value)
Required. The webhook URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for uri to set. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
setUsername(String value) (deprecated)
public 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=107
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Name | Description |
value | String The username to set. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |
setUsernameBytes(ByteString value) (deprecated)
public Webhook.GenericWebService.Builder setUsernameBytes(ByteString value)
Deprecated. google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.username is deprecated. See google/cloud/dialogflow/cx/v3/webhook.proto;l=107
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Name | Description |
value | ByteString The bytes for username to set. |
Type | Description |
Webhook.GenericWebService.Builder | This builder for chaining. |