Class Webhook.GenericWebService

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService
All Implemented Interfaces:
Webhook.GenericWebServiceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Webhook

public static final class Webhook.GenericWebService extends com.google.protobuf.GeneratedMessage implements Webhook.GenericWebServiceOrBuilder
 Represents configuration for a generic web service.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService
See Also:
  • Field Details

    • URI_FIELD_NUMBER

      public static final int URI_FIELD_NUMBER
      See Also:
    • USERNAME_FIELD_NUMBER

      public static final int USERNAME_FIELD_NUMBER
      See Also:
    • PASSWORD_FIELD_NUMBER

      public static final int PASSWORD_FIELD_NUMBER
      See Also:
    • SECRET_VERSION_FOR_USERNAME_PASSWORD_FIELD_NUMBER

      public static final int SECRET_VERSION_FOR_USERNAME_PASSWORD_FIELD_NUMBER
      See Also:
    • REQUEST_HEADERS_FIELD_NUMBER

      public static final int REQUEST_HEADERS_FIELD_NUMBER
      See Also:
    • SECRET_VERSIONS_FOR_REQUEST_HEADERS_FIELD_NUMBER

      public static final int SECRET_VERSIONS_FOR_REQUEST_HEADERS_FIELD_NUMBER
      See Also:
    • ALLOWED_CA_CERTS_FIELD_NUMBER

      public static final int ALLOWED_CA_CERTS_FIELD_NUMBER
      See Also:
    • OAUTH_CONFIG_FIELD_NUMBER

      public static final int OAUTH_CONFIG_FIELD_NUMBER
      See Also:
    • SERVICE_AGENT_AUTH_FIELD_NUMBER

      public static final int SERVICE_AGENT_AUTH_FIELD_NUMBER
      See Also:
    • SERVICE_ACCOUNT_AUTH_CONFIG_FIELD_NUMBER

      public static final int SERVICE_ACCOUNT_AUTH_CONFIG_FIELD_NUMBER
      See Also:
    • WEBHOOK_TYPE_FIELD_NUMBER

      public static final int WEBHOOK_TYPE_FIELD_NUMBER
      See Also:
    • HTTP_METHOD_FIELD_NUMBER

      public static final int HTTP_METHOD_FIELD_NUMBER
      See Also:
    • REQUEST_BODY_FIELD_NUMBER

      public static final int REQUEST_BODY_FIELD_NUMBER
      See Also:
    • PARAMETER_MAPPING_FIELD_NUMBER

      public static final int PARAMETER_MAPPING_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getUri

      public String getUri()
       Required. The webhook URI for receiving POST requests. It must use https
       protocol.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUri in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. The webhook URI for receiving POST requests. It must use https
       protocol.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUriBytes in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The bytes for uri.
    • getUsername

      @Deprecated public String getUsername()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.username is deprecated. See google/cloud/dialogflow/cx/v3beta1/webhook.proto;l=225
       The user name for HTTP Basic authentication.
       
      string username = 2 [deprecated = true];
      Specified by:
      getUsername in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      @Deprecated public com.google.protobuf.ByteString getUsernameBytes()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.username is deprecated. See google/cloud/dialogflow/cx/v3beta1/webhook.proto;l=225
       The user name for HTTP Basic authentication.
       
      string username = 2 [deprecated = true];
      Specified by:
      getUsernameBytes in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The bytes for username.
    • getPassword

      @Deprecated public String getPassword()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.password is deprecated. See google/cloud/dialogflow/cx/v3beta1/webhook.proto;l=228
       The password for HTTP Basic authentication.
       
      string password = 3 [deprecated = true];
      Specified by:
      getPassword in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The password.
    • getPasswordBytes

      @Deprecated public com.google.protobuf.ByteString getPasswordBytes()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.password is deprecated. See google/cloud/dialogflow/cx/v3beta1/webhook.proto;l=228
       The password for HTTP Basic authentication.
       
      string password = 3 [deprecated = true];
      Specified by:
      getPasswordBytes in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The bytes for password.
    • getSecretVersionForUsernamePassword

      public String getSecretVersionForUsernamePassword()
       Optional. The SecretManager secret version resource storing the
       username:password pair for HTTP Basic authentication. Format:
       `projects/{project}/secrets/{secret}/versions/{version}`
       
      string secret_version_for_username_password = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getSecretVersionForUsernamePassword in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The secretVersionForUsernamePassword.
    • getSecretVersionForUsernamePasswordBytes

      public com.google.protobuf.ByteString getSecretVersionForUsernamePasswordBytes()
       Optional. The SecretManager secret version resource storing the
       username:password pair for HTTP Basic authentication. Format:
       `projects/{project}/secrets/{secret}/versions/{version}`
       
      string secret_version_for_username_password = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getSecretVersionForUsernamePasswordBytes in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The bytes for secretVersionForUsernamePassword.
    • getRequestHeadersCount

      public int getRequestHeadersCount()
      Description copied from interface: Webhook.GenericWebServiceOrBuilder
       The HTTP request headers to send together with webhook requests.
       
      map<string, string> request_headers = 4;
      Specified by:
      getRequestHeadersCount in interface Webhook.GenericWebServiceOrBuilder
    • containsRequestHeaders

      public boolean containsRequestHeaders(String key)
       The HTTP request headers to send together with webhook requests.
       
      map<string, string> request_headers = 4;
      Specified by:
      containsRequestHeaders in interface Webhook.GenericWebServiceOrBuilder
    • getRequestHeaders

      @Deprecated public Map<String,String> getRequestHeaders()
      Deprecated.
      Specified by:
      getRequestHeaders in interface Webhook.GenericWebServiceOrBuilder
    • getRequestHeadersMap

      public Map<String,String> getRequestHeadersMap()
       The HTTP request headers to send together with webhook requests.
       
      map<string, string> request_headers = 4;
      Specified by:
      getRequestHeadersMap in interface Webhook.GenericWebServiceOrBuilder
    • getRequestHeadersOrDefault

      public String getRequestHeadersOrDefault(String key, String defaultValue)
       The HTTP request headers to send together with webhook requests.
       
      map<string, string> request_headers = 4;
      Specified by:
      getRequestHeadersOrDefault in interface Webhook.GenericWebServiceOrBuilder
    • getRequestHeadersOrThrow

      public String getRequestHeadersOrThrow(String key)
       The HTTP request headers to send together with webhook requests.
       
      map<string, string> request_headers = 4;
      Specified by:
      getRequestHeadersOrThrow in interface Webhook.GenericWebServiceOrBuilder
    • getSecretVersionsForRequestHeadersCount

      public int getSecretVersionsForRequestHeadersCount()
      Description copied from interface: Webhook.GenericWebServiceOrBuilder
       Optional. The HTTP request headers to send together with webhook
       requests. Header values are stored in SecretManager secret versions.
      
       When the same header name is specified in both `request_headers` and
       `secret_versions_for_request_headers`, the value in
       `secret_versions_for_request_headers` will be used.
       
      map<string, .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.SecretVersionHeaderValue> secret_versions_for_request_headers = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSecretVersionsForRequestHeadersCount in interface Webhook.GenericWebServiceOrBuilder
    • containsSecretVersionsForRequestHeaders

      public boolean containsSecretVersionsForRequestHeaders(String key)
       Optional. The HTTP request headers to send together with webhook
       requests. Header values are stored in SecretManager secret versions.
      
       When the same header name is specified in both `request_headers` and
       `secret_versions_for_request_headers`, the value in
       `secret_versions_for_request_headers` will be used.
       
      map<string, .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.SecretVersionHeaderValue> secret_versions_for_request_headers = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsSecretVersionsForRequestHeaders in interface Webhook.GenericWebServiceOrBuilder
    • getSecretVersionsForRequestHeaders

      @Deprecated public Map<String,Webhook.GenericWebService.SecretVersionHeaderValue> getSecretVersionsForRequestHeaders()
      Deprecated.
      Specified by:
      getSecretVersionsForRequestHeaders in interface Webhook.GenericWebServiceOrBuilder
    • getSecretVersionsForRequestHeadersMap

      public Map<String,Webhook.GenericWebService.SecretVersionHeaderValue> getSecretVersionsForRequestHeadersMap()
       Optional. The HTTP request headers to send together with webhook
       requests. Header values are stored in SecretManager secret versions.
      
       When the same header name is specified in both `request_headers` and
       `secret_versions_for_request_headers`, the value in
       `secret_versions_for_request_headers` will be used.
       
      map<string, .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.SecretVersionHeaderValue> secret_versions_for_request_headers = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSecretVersionsForRequestHeadersMap in interface Webhook.GenericWebServiceOrBuilder
    • getSecretVersionsForRequestHeadersOrDefault

      public Webhook.GenericWebService.SecretVersionHeaderValue getSecretVersionsForRequestHeadersOrDefault(String key, Webhook.GenericWebService.SecretVersionHeaderValue defaultValue)
       Optional. The HTTP request headers to send together with webhook
       requests. Header values are stored in SecretManager secret versions.
      
       When the same header name is specified in both `request_headers` and
       `secret_versions_for_request_headers`, the value in
       `secret_versions_for_request_headers` will be used.
       
      map<string, .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.SecretVersionHeaderValue> secret_versions_for_request_headers = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSecretVersionsForRequestHeadersOrDefault in interface Webhook.GenericWebServiceOrBuilder
    • getSecretVersionsForRequestHeadersOrThrow

      public Webhook.GenericWebService.SecretVersionHeaderValue getSecretVersionsForRequestHeadersOrThrow(String key)
       Optional. The HTTP request headers to send together with webhook
       requests. Header values are stored in SecretManager secret versions.
      
       When the same header name is specified in both `request_headers` and
       `secret_versions_for_request_headers`, the value in
       `secret_versions_for_request_headers` will be used.
       
      map<string, .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.SecretVersionHeaderValue> secret_versions_for_request_headers = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSecretVersionsForRequestHeadersOrThrow in interface Webhook.GenericWebServiceOrBuilder
    • getAllowedCaCertsList

      public List<com.google.protobuf.ByteString> getAllowedCaCertsList()
       Optional. Specifies a list of allowed custom CA certificates (in DER
       format) for HTTPS verification. This overrides the default SSL trust
       store. If this is empty or unspecified, Dialogflow will use Google's
       default trust store to verify certificates. N.B. Make sure the HTTPS
       server certificates are signed with "subject alt name". For instance a
       certificate can be self-signed using the following command,
       ```
       openssl x509 -req -days 200 -in example.com.csr \
       -signkey example.com.key \
       -out example.com.crt \
       -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
       ```
       
      repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedCaCertsList in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      A list containing the allowedCaCerts.
    • getAllowedCaCertsCount

      public int getAllowedCaCertsCount()
       Optional. Specifies a list of allowed custom CA certificates (in DER
       format) for HTTPS verification. This overrides the default SSL trust
       store. If this is empty or unspecified, Dialogflow will use Google's
       default trust store to verify certificates. N.B. Make sure the HTTPS
       server certificates are signed with "subject alt name". For instance a
       certificate can be self-signed using the following command,
       ```
       openssl x509 -req -days 200 -in example.com.csr \
       -signkey example.com.key \
       -out example.com.crt \
       -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
       ```
       
      repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedCaCertsCount in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The count of allowedCaCerts.
    • getAllowedCaCerts

      public com.google.protobuf.ByteString getAllowedCaCerts(int index)
       Optional. Specifies a list of allowed custom CA certificates (in DER
       format) for HTTPS verification. This overrides the default SSL trust
       store. If this is empty or unspecified, Dialogflow will use Google's
       default trust store to verify certificates. N.B. Make sure the HTTPS
       server certificates are signed with "subject alt name". For instance a
       certificate can be self-signed using the following command,
       ```
       openssl x509 -req -days 200 -in example.com.csr \
       -signkey example.com.key \
       -out example.com.crt \
       -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
       ```
       
      repeated bytes allowed_ca_certs = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAllowedCaCerts in interface Webhook.GenericWebServiceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedCaCerts at the given index.
    • hasOauthConfig

      public boolean hasOauthConfig()
       Optional. The OAuth configuration of the webhook. If specified,
       Dialogflow will initiate the OAuth client credential flow to exchange an
       access token from the 3rd party platform and put it in the auth header.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOauthConfig in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      Whether the oauthConfig field is set.
    • getOauthConfig

      public Webhook.GenericWebService.OAuthConfig getOauthConfig()
       Optional. The OAuth configuration of the webhook. If specified,
       Dialogflow will initiate the OAuth client credential flow to exchange an
       access token from the 3rd party platform and put it in the auth header.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOauthConfig in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The oauthConfig.
    • getOauthConfigOrBuilder

      public Webhook.GenericWebService.OAuthConfigOrBuilder getOauthConfigOrBuilder()
       Optional. The OAuth configuration of the webhook. If specified,
       Dialogflow will initiate the OAuth client credential flow to exchange an
       access token from the 3rd party platform and put it in the auth header.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.OAuthConfig oauth_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOauthConfigOrBuilder in interface Webhook.GenericWebServiceOrBuilder
    • getServiceAgentAuthValue

      public int getServiceAgentAuthValue()
       Optional. Indicate the auth token type generated from the [Diglogflow
       service
       agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
       The generated token is sent in the Authorization header.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.ServiceAgentAuth service_agent_auth = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAgentAuthValue in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The enum numeric value on the wire for serviceAgentAuth.
    • getServiceAgentAuth

      public Webhook.GenericWebService.ServiceAgentAuth getServiceAgentAuth()
       Optional. Indicate the auth token type generated from the [Diglogflow
       service
       agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
       The generated token is sent in the Authorization header.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.ServiceAgentAuth service_agent_auth = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAgentAuth in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The serviceAgentAuth.
    • hasServiceAccountAuthConfig

      public boolean hasServiceAccountAuthConfig()
       Optional. Configuration for service account authentication.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.ServiceAccountAuthConfig service_account_auth_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasServiceAccountAuthConfig in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      Whether the serviceAccountAuthConfig field is set.
    • getServiceAccountAuthConfig

      public Webhook.GenericWebService.ServiceAccountAuthConfig getServiceAccountAuthConfig()
       Optional. Configuration for service account authentication.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.ServiceAccountAuthConfig service_account_auth_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccountAuthConfig in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The serviceAccountAuthConfig.
    • getServiceAccountAuthConfigOrBuilder

      public Webhook.GenericWebService.ServiceAccountAuthConfigOrBuilder getServiceAccountAuthConfigOrBuilder()
       Optional. Configuration for service account authentication.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.ServiceAccountAuthConfig service_account_auth_config = 18 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccountAuthConfigOrBuilder in interface Webhook.GenericWebServiceOrBuilder
    • getWebhookTypeValue

      public int getWebhookTypeValue()
       Optional. Type of the webhook.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.WebhookType webhook_type = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWebhookTypeValue in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The enum numeric value on the wire for webhookType.
    • getWebhookType

      public Webhook.GenericWebService.WebhookType getWebhookType()
       Optional. Type of the webhook.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.WebhookType webhook_type = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWebhookType in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The webhookType.
    • getHttpMethodValue

      public int getHttpMethodValue()
       Optional. HTTP method for the flexible webhook calls. Standard webhook
       always uses POST.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.HttpMethod http_method = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHttpMethodValue in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The enum numeric value on the wire for httpMethod.
    • getHttpMethod

      public Webhook.GenericWebService.HttpMethod getHttpMethod()
       Optional. HTTP method for the flexible webhook calls. Standard webhook
       always uses POST.
       
      .google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.HttpMethod http_method = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHttpMethod in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The httpMethod.
    • getRequestBody

      public String getRequestBody()
       Optional. Defines a custom JSON object as request body to send to
       flexible webhook.
       
      string request_body = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestBody in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The requestBody.
    • getRequestBodyBytes

      public com.google.protobuf.ByteString getRequestBodyBytes()
       Optional. Defines a custom JSON object as request body to send to
       flexible webhook.
       
      string request_body = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestBodyBytes in interface Webhook.GenericWebServiceOrBuilder
      Returns:
      The bytes for requestBody.
    • getParameterMappingCount

      public int getParameterMappingCount()
      Description copied from interface: Webhook.GenericWebServiceOrBuilder
       Optional. Maps the values extracted from specific fields of the flexible
       webhook response into session parameters.
       - Key: session parameter name
       - Value: field path in the webhook response
       
      map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParameterMappingCount in interface Webhook.GenericWebServiceOrBuilder
    • containsParameterMapping

      public boolean containsParameterMapping(String key)
       Optional. Maps the values extracted from specific fields of the flexible
       webhook response into session parameters.
       - Key: session parameter name
       - Value: field path in the webhook response
       
      map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsParameterMapping in interface Webhook.GenericWebServiceOrBuilder
    • getParameterMapping

      @Deprecated public Map<String,String> getParameterMapping()
      Deprecated.
      Specified by:
      getParameterMapping in interface Webhook.GenericWebServiceOrBuilder
    • getParameterMappingMap

      public Map<String,String> getParameterMappingMap()
       Optional. Maps the values extracted from specific fields of the flexible
       webhook response into session parameters.
       - Key: session parameter name
       - Value: field path in the webhook response
       
      map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParameterMappingMap in interface Webhook.GenericWebServiceOrBuilder
    • getParameterMappingOrDefault

      public String getParameterMappingOrDefault(String key, String defaultValue)
       Optional. Maps the values extracted from specific fields of the flexible
       webhook response into session parameters.
       - Key: session parameter name
       - Value: field path in the webhook response
       
      map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParameterMappingOrDefault in interface Webhook.GenericWebServiceOrBuilder
    • getParameterMappingOrThrow

      public String getParameterMappingOrThrow(String key)
       Optional. Maps the values extracted from specific fields of the flexible
       webhook response into session parameters.
       - Key: session parameter name
       - Value: field path in the webhook response
       
      map<string, string> parameter_mapping = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParameterMappingOrThrow in interface Webhook.GenericWebServiceOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Webhook.GenericWebService parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Webhook.GenericWebService parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Webhook.GenericWebService parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Webhook.GenericWebService parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Webhook.GenericWebService.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Webhook.GenericWebService.Builder newBuilder()
    • newBuilder

      public static Webhook.GenericWebService.Builder newBuilder(Webhook.GenericWebService prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Webhook.GenericWebService.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Webhook.GenericWebService getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Webhook.GenericWebService> parser()
    • getParserForType

      public com.google.protobuf.Parser<Webhook.GenericWebService> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Webhook.GenericWebService getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder