Interface EventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event,Event.Builder
@Generated
public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.intOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getToken()Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getToken
String getToken()Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The token.
-
getTokenBytes
com.google.protobuf.ByteString getTokenBytes()Optional. The user response token provided by the reCAPTCHA client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for token.
-
getSiteKey
String getSiteKey()Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The siteKey.
-
getSiteKeyBytes
com.google.protobuf.ByteString getSiteKeyBytes()Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for siteKey.
-
getUserAgent
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];- Returns:
- The userAgent.
-
getUserAgentBytes
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];- Returns:
- The bytes for userAgent.
-
getUserIpAddress
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];- Returns:
- The userIpAddress.
-
getUserIpAddressBytes
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];- Returns:
- The bytes for userIpAddress.
-
getExpectedAction
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.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The expectedAction.
-
getExpectedActionBytes
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.
string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for expectedAction.
-
getHashedAccountId
com.google.protobuf.ByteString getHashedAccountId()Optional. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
bytes hashed_account_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The hashedAccountId.
-
hasTransactionData
boolean hasTransactionData()Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Fraud Prevention and the FraudPreventionAssessment component in the response.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the transactionData field is set.
-
getTransactionData
TransactionData getTransactionData()Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Fraud Prevention and the FraudPreventionAssessment component in the response.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The transactionData.
-
getTransactionDataOrBuilder
TransactionDataOrBuilder getTransactionDataOrBuilder()Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Fraud Prevention and the FraudPreventionAssessment component in the response.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getFraudPreventionValue
int getFraudPreventionValue()Optional. The Fraud Prevention setting for this Assessment.
.google.cloud.recaptchaenterprise.v1beta1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for fraudPrevention.
-
getFraudPrevention
Event.FraudPrevention getFraudPrevention()Optional. The Fraud Prevention setting for this Assessment.
.google.cloud.recaptchaenterprise.v1beta1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The fraudPrevention.
-