public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getExpectedAction()
Optional.
|
com.google.protobuf.ByteString |
getExpectedActionBytes()
Optional.
|
boolean |
getExpress()
Optional.
|
boolean |
getFirewallPolicyEvaluation()
Optional.
|
Event.FraudPrevention |
getFraudPrevention()
Optional.
|
int |
getFraudPreventionValue()
Optional.
|
com.google.protobuf.ByteString |
getHashedAccountId()
Deprecated.
google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See
google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=745
|
String |
getHeaders(int index)
Optional.
|
com.google.protobuf.ByteString |
getHeadersBytes(int index)
Optional.
|
int |
getHeadersCount()
Optional.
|
List<String> |
getHeadersList()
Optional.
|
String |
getJa3()
Optional.
|
com.google.protobuf.ByteString |
getJa3Bytes()
Optional.
|
String |
getJa4()
Optional.
|
com.google.protobuf.ByteString |
getJa4Bytes()
Optional.
|
String |
getRequestedUri()
Optional.
|
com.google.protobuf.ByteString |
getRequestedUriBytes()
Optional.
|
String |
getSiteKey()
Optional.
|
com.google.protobuf.ByteString |
getSiteKeyBytes()
Optional.
|
String |
getToken()
Optional.
|
com.google.protobuf.ByteString |
getTokenBytes()
Optional.
|
TransactionData |
getTransactionData()
Optional.
|
TransactionDataOrBuilder |
getTransactionDataOrBuilder()
Optional.
|
String |
getUserAgent()
Optional.
|
com.google.protobuf.ByteString |
getUserAgentBytes()
Optional.
|
UserInfo |
getUserInfo()
Optional.
|
UserInfoOrBuilder |
getUserInfoOrBuilder()
Optional.
|
String |
getUserIpAddress()
Optional.
|
com.google.protobuf.ByteString |
getUserIpAddressBytes()
Optional.
|
boolean |
getWafTokenAssessment()
Optional.
|
boolean |
hasTransactionData()
Optional.
|
boolean |
hasUserInfo()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getToken()
Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getTokenBytes()
Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];String getSiteKey()
Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getSiteKeyBytes()
Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];String getUserAgent()
Optional. The user agent present in the request from the user's device related to this event.
string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getUserAgentBytes()
Optional. The user agent present in the request from the user's device related to this event.
string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];String getUserIpAddress()
Optional. The IP address in the request from the user's device related to this event.
string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
com.google.protobuf.ByteString getUserIpAddressBytes()
Optional. The IP address in the request from the user's device related to this event.
string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
String getExpectedAction()
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getExpectedActionBytes()
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];@Deprecated com.google.protobuf.ByteString getHashedAccountId()
Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
bytes hashed_account_id = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
boolean getExpress()
Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference an Express site key.
bool express = 14 [(.google.api.field_behavior) = OPTIONAL];String getRequestedUri()
Optional. The URI resource the user requested that triggered an assessment.
string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getRequestedUriBytes()
Optional. The URI resource the user requested that triggered an assessment.
string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];boolean getWafTokenAssessment()
Optional. Flag for running WAF token assessment. If enabled, the token must be specified, and have been created by a WAF-enabled key.
bool waf_token_assessment = 9 [(.google.api.field_behavior) = OPTIONAL];String getJa3()
Optional. JA3 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/salesforce/ja3.
string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getJa3Bytes()
Optional. JA3 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/salesforce/ja3.
string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL];String getJa4()
Optional. JA4 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/FoxIO-LLC/ja4.
string ja4 = 18 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getJa4Bytes()
Optional. JA4 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/FoxIO-LLC/ja4.
string ja4 = 18 [(.google.api.field_behavior) = OPTIONAL];List<String> getHeadersList()
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];int getHeadersCount()
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];String getHeaders(int index)
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];index - The index of the element to return.com.google.protobuf.ByteString getHeadersBytes(int index)
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];index - The index of the value to return.boolean getFirewallPolicyEvaluation()
Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy is evaluated and a suggested firewall action is returned in the response.
bool firewall_policy_evaluation = 12 [(.google.api.field_behavior) = OPTIONAL];boolean hasTransactionData()
Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response.
.google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];
TransactionData getTransactionData()
Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response.
.google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];
TransactionDataOrBuilder getTransactionDataOrBuilder()
Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response.
.google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];
boolean hasUserInfo()
Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout.
.google.cloud.recaptchaenterprise.v1.UserInfo user_info = 15 [(.google.api.field_behavior) = OPTIONAL];
UserInfo getUserInfo()
Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout.
.google.cloud.recaptchaenterprise.v1.UserInfo user_info = 15 [(.google.api.field_behavior) = OPTIONAL];
UserInfoOrBuilder getUserInfoOrBuilder()
Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout.
.google.cloud.recaptchaenterprise.v1.UserInfo user_info = 15 [(.google.api.field_behavior) = OPTIONAL];
int getFraudPreventionValue()
Optional. The Fraud Prevention setting for this assessment.
.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];
Event.FraudPrevention getFraudPrevention()
Optional. The Fraud Prevention setting for this assessment.
.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2025 Google LLC. All rights reserved.