public static interface Fulfillment.GenericWebServiceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsRequestHeaders(String key)
The HTTP request headers to send together with fulfillment requests.
|
boolean |
getIsCloudFunction()
Deprecated.
google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function
is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=108
|
String |
getPassword()
The password for HTTP Basic authentication.
|
ByteString |
getPasswordBytes()
The password for HTTP Basic authentication.
|
Map<String,String> |
getRequestHeaders()
Deprecated.
|
int |
getRequestHeadersCount()
The HTTP request headers to send together with fulfillment requests.
|
Map<String,String> |
getRequestHeadersMap()
The HTTP request headers to send together with fulfillment requests.
|
String |
getRequestHeadersOrDefault(String key,
String defaultValue)
The HTTP request headers to send together with fulfillment requests.
|
String |
getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with fulfillment requests.
|
String |
getUri()
Required.
|
ByteString |
getUriBytes()
Required.
|
String |
getUsername()
The user name for HTTP Basic authentication.
|
ByteString |
getUsernameBytes()
The user name for HTTP Basic authentication.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getUri()
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
ByteString getUriBytes()
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
String getUsername()
The user name for HTTP Basic authentication.
string username = 2;
ByteString getUsernameBytes()
The user name for HTTP Basic authentication.
string username = 2;
String getPassword()
The password for HTTP Basic authentication.
string password = 3;
ByteString getPasswordBytes()
The password for HTTP Basic authentication.
string password = 3;
int getRequestHeadersCount()
The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4;
boolean containsRequestHeaders(String key)
The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4;
@Deprecated Map<String,String> getRequestHeaders()
getRequestHeadersMap()
instead.Map<String,String> getRequestHeadersMap()
The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4;
String getRequestHeadersOrDefault(String key, String defaultValue)
The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4;
String getRequestHeadersOrThrow(String key)
The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4;
@Deprecated 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];
Copyright © 2022 Google LLC. All rights reserved.