- 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 Fulfillment.GenericWebService.Builder extends GeneratedMessageV3.Builder<Fulfillment.GenericWebService.Builder> implements Fulfillment.GenericWebServiceOrBuilder
Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:
- Basic authentication with username and password.
- Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.
Protobuf type google.cloud.dialogflow.v2.Fulfillment.GenericWebService
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Fulfillment.GenericWebService.BuilderImplements
Fulfillment.GenericWebServiceOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.GenericWebService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Fulfillment.GenericWebService.Builder |
build()
public Fulfillment.GenericWebService build()
Type | Description |
Fulfillment.GenericWebService |
buildPartial()
public Fulfillment.GenericWebService buildPartial()
Type | Description |
Fulfillment.GenericWebService |
clear()
public Fulfillment.GenericWebService.Builder clear()
Type | Description |
Fulfillment.GenericWebService.Builder |
clearField(Descriptors.FieldDescriptor field)
public Fulfillment.GenericWebService.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Fulfillment.GenericWebService.Builder |
clearIsCloudFunction()
public Fulfillment.GenericWebService.Builder clearIsCloudFunction()
Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.
bool is_cloud_function = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Fulfillment.GenericWebService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Fulfillment.GenericWebService.Builder |
clearPassword()
public Fulfillment.GenericWebService.Builder clearPassword()
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
clearRequestHeaders()
public Fulfillment.GenericWebService.Builder clearRequestHeaders()
Type | Description |
Fulfillment.GenericWebService.Builder |
clearUri()
public Fulfillment.GenericWebService.Builder clearUri()
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
clearUsername()
public Fulfillment.GenericWebService.Builder clearUsername()
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
clone()
public Fulfillment.GenericWebService.Builder clone()
Type | Description |
Fulfillment.GenericWebService.Builder |
containsRequestHeaders(String key)
public boolean containsRequestHeaders(String key)
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public Fulfillment.GenericWebService getDefaultInstanceForType()
Type | Description |
Fulfillment.GenericWebService |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIsCloudFunction()
public boolean getIsCloudFunction()
Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.
bool is_cloud_function = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | The isCloudFunction. |
getMutableRequestHeaders()
public Map<String,String> getMutableRequestHeaders()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getPassword()
public String getPassword()
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The password. |
getPasswordBytes()
public ByteString getPasswordBytes()
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getRequestHeadersMap()
public Map<String,String> getRequestHeadersMap()
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getRequestHeadersOrDefault(String key, String defaultValue)
public String getRequestHeadersOrDefault(String key, String defaultValue)
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getRequestHeadersOrThrow(String key)
public String getRequestHeadersOrThrow(String key)
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getUri()
public String getUri()
Required. The fulfillment 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 fulfillment 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()
public String getUsername()
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The username. |
getUsernameBytes()
public ByteString getUsernameBytes()
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];
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(Fulfillment.GenericWebService other)
public Fulfillment.GenericWebService.Builder mergeFrom(Fulfillment.GenericWebService other)
Name | Description |
other | Fulfillment.GenericWebService |
Type | Description |
Fulfillment.GenericWebService.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Fulfillment.GenericWebService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Fulfillment.GenericWebService.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Fulfillment.GenericWebService.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Fulfillment.GenericWebService.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.GenericWebService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Fulfillment.GenericWebService.Builder |
putAllRequestHeaders(Map<String,String> values)
public Fulfillment.GenericWebService.Builder putAllRequestHeaders(Map<String,String> values)
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
Fulfillment.GenericWebService.Builder |
putRequestHeaders(String key, String value)
public Fulfillment.GenericWebService.Builder putRequestHeaders(String key, String value)
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
Fulfillment.GenericWebService.Builder |
removeRequestHeaders(String key)
public Fulfillment.GenericWebService.Builder removeRequestHeaders(String key)
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Fulfillment.GenericWebService.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Fulfillment.GenericWebService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Fulfillment.GenericWebService.Builder |
setIsCloudFunction(boolean value)
public Fulfillment.GenericWebService.Builder setIsCloudFunction(boolean value)
Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.
bool is_cloud_function = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | boolean The isCloudFunction to set. |
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
setPassword(String value)
public Fulfillment.GenericWebService.Builder setPassword(String value)
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The password to set. |
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
setPasswordBytes(ByteString value)
public Fulfillment.GenericWebService.Builder setPasswordBytes(ByteString value)
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for password to set. |
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Fulfillment.GenericWebService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Fulfillment.GenericWebService.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Fulfillment.GenericWebService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Fulfillment.GenericWebService.Builder |
setUri(String value)
public Fulfillment.GenericWebService.Builder setUri(String value)
Required. The fulfillment 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 |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public Fulfillment.GenericWebService.Builder setUriBytes(ByteString value)
Required. The fulfillment 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 |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
setUsername(String value)
public Fulfillment.GenericWebService.Builder setUsername(String value)
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The username to set. |
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |
setUsernameBytes(ByteString value)
public Fulfillment.GenericWebService.Builder setUsernameBytes(ByteString value)
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for username to set. |
Type | Description |
Fulfillment.GenericWebService.Builder | This builder for chaining. |