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

    Modifier and Type
    Method
    Description
    boolean
    The HTTP request headers to send together with fulfillment requests.
    boolean
    Deprecated.
    google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function is deprecated.
    The password for HTTP Basic authentication.
    com.google.protobuf.ByteString
    The password for HTTP Basic authentication.
    Deprecated.
    int
    The HTTP request headers to send together with fulfillment requests.
    The HTTP request headers to send together with fulfillment requests.
    The HTTP request headers to send together with fulfillment requests.
    The HTTP request headers to send together with fulfillment requests.
    Required.
    com.google.protobuf.ByteString
    Required.
    The user name for HTTP Basic authentication.
    com.google.protobuf.ByteString
    The user name for HTTP Basic authentication.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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()
       The user name for HTTP Basic authentication.
       
      string username = 2;
      Returns:
      The username.
    • getUsernameBytes

      com.google.protobuf.ByteString getUsernameBytes()
       The user name for HTTP Basic authentication.
       
      string username = 2;
      Returns:
      The bytes for username.
    • getPassword

      String getPassword()
       The password for HTTP Basic authentication.
       
      string password = 3;
      Returns:
      The password.
    • getPasswordBytes

      com.google.protobuf.ByteString getPasswordBytes()
       The password for HTTP Basic authentication.
       
      string password = 3;
      Returns:
      The bytes for password.
    • getRequestHeadersCount

      int getRequestHeadersCount()
       The HTTP request headers to send together with fulfillment requests.
       
      map<string, string> request_headers = 4;
    • containsRequestHeaders

      boolean containsRequestHeaders(String key)
       The HTTP request headers to send together with fulfillment requests.
       
      map<string, string> request_headers = 4;
    • getRequestHeaders

      @Deprecated Map<String,String> getRequestHeaders()
      Deprecated.
    • getRequestHeadersMap

      Map<String,String> getRequestHeadersMap()
       The HTTP request headers to send together with fulfillment requests.
       
      map<string, string> request_headers = 4;
    • getRequestHeadersOrDefault

      String getRequestHeadersOrDefault(String key, String defaultValue)
       The HTTP request headers to send together with fulfillment requests.
       
      map<string, string> request_headers = 4;
    • getRequestHeadersOrThrow

      String getRequestHeadersOrThrow(String key)
       The HTTP request headers to send together with fulfillment requests.
       
      map<string, string> request_headers = 4;
    • getIsCloudFunction

      @Deprecated boolean getIsCloudFunction()
      Deprecated.
      google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=108
       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];
      Returns:
      The isCloudFunction.