- 0.58.0 (latest)
- 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()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.protobuf.ByteString> The allowedCaCerts to add. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The allowedCaCerts to add. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
build()
public Webhook.GenericWebService build()
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService |
buildPartial()
public Webhook.GenericWebService buildPartial()
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService |
clear()
public Webhook.GenericWebService.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Webhook.GenericWebService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Webhook.GenericWebService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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=111
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
This builder for chaining. |
clearRequestHeaders()
public Webhook.GenericWebService.Builder clearRequestHeaders()
Returns | |
---|---|
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];
Returns | |
---|---|
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=108
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
This builder for chaining. |
clone()
public Webhook.GenericWebService.Builder clone()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
List<ByteString> |
A list containing the allowedCaCerts. |
getDefaultInstanceForType()
public Webhook.GenericWebService getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMutableRequestHeaders()
public Map<String,String> getMutableRequestHeaders()
Use alternate mutation accessors instead.
Returns | |
---|---|
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=111
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Returns | |
---|---|
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=111
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for password. |
getRequestHeaders()
public Map<String,String> getRequestHeaders()
Use #getRequestHeadersMap() instead.
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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=108
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Returns | |
---|---|
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=108
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Webhook.GenericWebService other)
public Webhook.GenericWebService.Builder mergeFrom(Webhook.GenericWebService other)
Parameter | |
---|---|
Name | Description |
other |
Webhook.GenericWebService |
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Webhook.GenericWebService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Webhook.GenericWebService.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Webhook.GenericWebService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
ByteString The allowedCaCerts to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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=111
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
String The password to set. |
Returns | |
---|---|
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=111
The password for HTTP Basic authentication.
string password = 3 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for password to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Webhook.GenericWebService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
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=108
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
String The username to set. |
Returns | |
---|---|
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=108
The user name for HTTP Basic authentication.
string username = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for username to set. |
Returns | |
---|---|
Type | Description |
Webhook.GenericWebService.Builder |
This builder for chaining. |