public static interface Fulfillment.GenericWebServiceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsRequestHeaders(String key)
Optional.
|
boolean |
getIsCloudFunction()
Deprecated.
google.cloud.dialogflow.v2.Fulfillment.GenericWebService.is_cloud_function is
deprecated. See google/cloud/dialogflow/v2/fulfillment.proto;l=108
|
String |
getPassword()
Optional.
|
ByteString |
getPasswordBytes()
Optional.
|
Map<String,String> |
getRequestHeaders()
Deprecated.
|
int |
getRequestHeadersCount()
Optional.
|
Map<String,String> |
getRequestHeadersMap()
Optional.
|
String |
getRequestHeadersOrDefault(String key,
String defaultValue)
Optional.
|
String |
getRequestHeadersOrThrow(String key)
Optional.
|
String |
getUri()
Required.
|
ByteString |
getUriBytes()
Required.
|
String |
getUsername()
Optional.
|
ByteString |
getUsernameBytes()
Optional.
|
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()
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];
ByteString getUsernameBytes()
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];
String getPassword()
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
ByteString getPasswordBytes()
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
int getRequestHeadersCount()
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
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];
@Deprecated Map<String,String> getRequestHeaders()
getRequestHeadersMap()
instead.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];
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];
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];
@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.