Package com.google.cloud.dialogflow.v2
Interface Fulfillment.GenericWebServiceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Fulfillment.GenericWebService,Fulfillment.GenericWebService.Builder
- Enclosing class:
- Fulfillment
public static interface Fulfillment.GenericWebServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsRequestHeaders(String key)Optional.booleangetIsCloudFunction()Deprecated.google.cloud.dialogflow.v2.Fulfillment.GenericWebService.is_cloud_function is deprecated.StringgetPassword()Optional.com.google.protobuf.ByteStringgetPasswordBytes()Optional.Map<String,String>getRequestHeaders()Deprecated.intgetRequestHeadersCount()Optional.Map<String,String>getRequestHeadersMap()Optional.StringgetRequestHeadersOrDefault(String key, String defaultValue)Optional.StringgetRequestHeadersOrThrow(String key)Optional.StringgetUri()Required.com.google.protobuf.ByteStringgetUriBytes()Required.StringgetUsername()Optional.com.google.protobuf.ByteStringgetUsernameBytes()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUri
String getUri()
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for uri.
-
getUsername
String getUsername()
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()
Optional. The user name for HTTP Basic authentication.
string username = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for username.
-
getPassword
String getPassword()
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The password.
-
getPasswordBytes
com.google.protobuf.ByteString getPasswordBytes()
Optional. The password for HTTP Basic authentication.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for password.
-
getRequestHeadersCount
int getRequestHeadersCount()
Optional. The HTTP request headers to send together with fulfillment requests.
map<string, string> request_headers = 4 [(.google.api.field_behavior) = OPTIONAL];
-
containsRequestHeaders
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];
-
getRequestHeaders
@Deprecated Map<String,String> getRequestHeaders()
Deprecated.UsegetRequestHeadersMap()instead.
-
getRequestHeadersMap
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];
-
getRequestHeadersOrDefault
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];
-
getRequestHeadersOrThrow
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];
-
getIsCloudFunction
@Deprecated boolean getIsCloudFunction()
Deprecated.google.cloud.dialogflow.v2.Fulfillment.GenericWebService.is_cloud_function is deprecated. See google/cloud/dialogflow/v2/fulfillment.proto;l=110Optional. 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];- Returns:
- The isCloudFunction.
-
-