Class Event.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
com.google.recaptchaenterprise.v1.Event.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EventOrBuilder,Cloneable
- Enclosing class:
- Event
public static final class Event.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
implements EventOrBuilder
The event being assessed.Protobuf type
google.cloud.recaptchaenterprise.v1.Event-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaders(Iterable<String> values) Optional.addHeaders(String value) Optional.addHeadersBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.Deprecated.google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated.Optional.clearJa3()Optional.clearJa4()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.Optional.intOptional.com.google.protobuf.ByteStringDeprecated.google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated.getHeaders(int index) Optional.com.google.protobuf.ByteStringgetHeadersBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getJa3()Optional.com.google.protobuf.ByteStringOptional.getJa4()Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getToken()Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeUserInfo(UserInfo value) Optional.setExpectedAction(String value) Optional.setExpectedActionBytes(com.google.protobuf.ByteString value) Optional.setExpress(boolean value) Optional.setFirewallPolicyEvaluation(boolean value) Optional.Optional.setFraudPreventionValue(int value) Optional.setHashedAccountId(com.google.protobuf.ByteString value) Deprecated.google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated.setHeaders(int index, String value) Optional.Optional.setJa3Bytes(com.google.protobuf.ByteString value) Optional.Optional.setJa4Bytes(com.google.protobuf.ByteString value) Optional.setRequestedUri(String value) Optional.setRequestedUriBytes(com.google.protobuf.ByteString value) Optional.setSiteKey(String value) Optional.setSiteKeyBytes(com.google.protobuf.ByteString value) Optional.Optional.setTokenBytes(com.google.protobuf.ByteString value) Optional.Optional.setTransactionData(TransactionData.Builder builderForValue) Optional.setUserAgent(String value) Optional.setUserAgentBytes(com.google.protobuf.ByteString value) Optional.setUserInfo(UserInfo value) Optional.setUserInfo(UserInfo.Builder builderForValue) Optional.setUserIpAddress(String value) Optional.setUserIpAddressBytes(com.google.protobuf.ByteString value) Optional.setWafTokenAssessment(boolean value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>- Throws:
IOException
-
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];- Specified by:
getTokenin interfaceEventOrBuilder- Returns:
- The token.
-
getTokenBytes
public 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];- Specified by:
getTokenBytesin interfaceEventOrBuilder- Returns:
- The bytes for token.
-
setToken
Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The token to set.- Returns:
- This builder for chaining.
-
clearToken
Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setTokenBytes
Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
string token = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for token to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getSiteKeyin interfaceEventOrBuilder- Returns:
- The siteKey.
-
getSiteKeyBytes
public 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];- Specified by:
getSiteKeyBytesin interfaceEventOrBuilder- Returns:
- The bytes for siteKey.
-
setSiteKey
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];- Parameters:
value- The siteKey to set.- Returns:
- This builder for chaining.
-
clearSiteKey
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];- Returns:
- This builder for chaining.
-
setSiteKeyBytes
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];- Parameters:
value- The bytes for siteKey to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getUserAgentin interfaceEventOrBuilder- Returns:
- The userAgent.
-
getUserAgentBytes
public 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];- Specified by:
getUserAgentBytesin interfaceEventOrBuilder- Returns:
- The bytes for userAgent.
-
setUserAgent
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];- Parameters:
value- The userAgent to set.- Returns:
- This builder for chaining.
-
clearUserAgent
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:
- This builder for chaining.
-
setUserAgentBytes
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];- Parameters:
value- The bytes for userAgent to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getUserIpAddressin interfaceEventOrBuilder- Returns:
- The userIpAddress.
-
getUserIpAddressBytes
public 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) = { ... }- Specified by:
getUserIpAddressBytesin interfaceEventOrBuilder- Returns:
- The bytes for userIpAddress.
-
setUserIpAddress
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) = { ... }- Parameters:
value- The userIpAddress to set.- Returns:
- This builder for chaining.
-
clearUserIpAddress
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) = { ... }- Returns:
- This builder for chaining.
-
setUserIpAddressBytes
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) = { ... }- Parameters:
value- The bytes for userIpAddress to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getExpectedActionin interfaceEventOrBuilder- Returns:
- The expectedAction.
-
getExpectedActionBytes
public 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];- Specified by:
getExpectedActionBytesin interfaceEventOrBuilder- Returns:
- The bytes for expectedAction.
-
setExpectedAction
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];- Parameters:
value- The expectedAction to set.- Returns:
- This builder for chaining.
-
clearExpectedAction
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];- Returns:
- This builder for chaining.
-
setExpectedActionBytes
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];- Parameters:
value- The bytes for expectedAction to set.- Returns:
- This builder for chaining.
-
getHashedAccountId
Deprecated.google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=765Optional. 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];- Specified by:
getHashedAccountIdin interfaceEventOrBuilder- Returns:
- The hashedAccountId.
-
setHashedAccountId
Deprecated.google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=765Optional. 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];- Parameters:
value- The hashedAccountId to set.- Returns:
- This builder for chaining.
-
clearHashedAccountId
Deprecated.google.cloud.recaptchaenterprise.v1.Event.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=765Optional. 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];- Returns:
- This builder for chaining.
-
getExpress
public 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];- Specified by:
getExpressin interfaceEventOrBuilder- Returns:
- The express.
-
setExpress
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];- Parameters:
value- The express to set.- Returns:
- This builder for chaining.
-
clearExpress
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];- Returns:
- This builder for chaining.
-
getRequestedUri
Optional. The URI resource the user requested that triggered an assessment.
string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestedUriin interfaceEventOrBuilder- Returns:
- The requestedUri.
-
getRequestedUriBytes
public 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];- Specified by:
getRequestedUriBytesin interfaceEventOrBuilder- Returns:
- The bytes for requestedUri.
-
setRequestedUri
Optional. The URI resource the user requested that triggered an assessment.
string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The requestedUri to set.- Returns:
- This builder for chaining.
-
clearRequestedUri
Optional. The URI resource the user requested that triggered an assessment.
string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setRequestedUriBytes
Optional. The URI resource the user requested that triggered an assessment.
string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for requestedUri to set.- Returns:
- This builder for chaining.
-
getWafTokenAssessment
public boolean getWafTokenAssessment()Optional. Flag for running Web Application Firewall (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];- Specified by:
getWafTokenAssessmentin interfaceEventOrBuilder- Returns:
- The wafTokenAssessment.
-
setWafTokenAssessment
Optional. Flag for running Web Application Firewall (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];- Parameters:
value- The wafTokenAssessment to set.- Returns:
- This builder for chaining.
-
clearWafTokenAssessment
Optional. Flag for running Web Application Firewall (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];- Returns:
- This builder for chaining.
-
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];- Specified by:
getJa3in interfaceEventOrBuilder- Returns:
- The ja3.
-
getJa3Bytes
public 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];- Specified by:
getJa3Bytesin interfaceEventOrBuilder- Returns:
- The bytes for ja3.
-
setJa3
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];- Parameters:
value- The ja3 to set.- Returns:
- This builder for chaining.
-
clearJa3
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];- Returns:
- This builder for chaining.
-
setJa3Bytes
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];- Parameters:
value- The bytes for ja3 to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getJa4in interfaceEventOrBuilder- Returns:
- The ja4.
-
getJa4Bytes
public 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];- Specified by:
getJa4Bytesin interfaceEventOrBuilder- Returns:
- The bytes for ja4.
-
setJa4
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];- Parameters:
value- The ja4 to set.- Returns:
- This builder for chaining.
-
clearJa4
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];- Returns:
- This builder for chaining.
-
setJa4Bytes
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];- Parameters:
value- The bytes for ja4 to set.- Returns:
- This builder for chaining.
-
getHeadersList
public com.google.protobuf.ProtocolStringList getHeadersList()Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHeadersListin interfaceEventOrBuilder- Returns:
- A list containing the headers.
-
getHeadersCount
public int getHeadersCount()Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHeadersCountin interfaceEventOrBuilder- Returns:
- The count of headers.
-
getHeaders
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHeadersin interfaceEventOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The headers at the given index.
-
getHeadersBytes
public com.google.protobuf.ByteString getHeadersBytes(int index) Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHeadersBytesin interfaceEventOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the headers at the given index.
-
setHeaders
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The headers to set.- Returns:
- This builder for chaining.
-
addHeaders
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The headers to add.- Returns:
- This builder for chaining.
-
addAllHeaders
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The headers to add.- Returns:
- This builder for chaining.
-
clearHeaders
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addHeadersBytes
Optional. HTTP header information about the request.
repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the headers to add.- Returns:
- This builder for chaining.
-
getFirewallPolicyEvaluation
public 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];- Specified by:
getFirewallPolicyEvaluationin interfaceEventOrBuilder- Returns:
- The firewallPolicyEvaluation.
-
setFirewallPolicyEvaluation
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];- Parameters:
value- The firewallPolicyEvaluation to set.- Returns:
- This builder for chaining.
-
clearFirewallPolicyEvaluation
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];- Returns:
- This builder for chaining.
-
hasTransactionData
public 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];- Specified by:
hasTransactionDatain interfaceEventOrBuilder- Returns:
- Whether the transactionData field is set.
-
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];- Specified by:
getTransactionDatain interfaceEventOrBuilder- Returns:
- The transactionData.
-
setTransactionData
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]; -
setTransactionData
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]; -
mergeTransactionData
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]; -
clearTransactionData
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]; -
getTransactionDataBuilder
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]; -
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];- Specified by:
getTransactionDataOrBuilderin interfaceEventOrBuilder
-
hasUserInfo
public 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];- Specified by:
hasUserInfoin interfaceEventOrBuilder- Returns:
- Whether the userInfo field is set.
-
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];- Specified by:
getUserInfoin interfaceEventOrBuilder- Returns:
- The userInfo.
-
setUserInfo
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]; -
setUserInfo
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]; -
mergeUserInfo
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]; -
clearUserInfo
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]; -
getUserInfoBuilder
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]; -
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];- Specified by:
getUserInfoOrBuilderin interfaceEventOrBuilder
-
getFraudPreventionValue
public int getFraudPreventionValue()Optional. The Fraud Prevention setting for this assessment.
.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFraudPreventionValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for fraudPrevention.
-
setFraudPreventionValue
Optional. The Fraud Prevention setting for this assessment.
.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for fraudPrevention to set.- Returns:
- This builder for chaining.
-
getFraudPrevention
Optional. The Fraud Prevention setting for this assessment.
.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFraudPreventionin interfaceEventOrBuilder- Returns:
- The fraudPrevention.
-
setFraudPrevention
Optional. The Fraud Prevention setting for this assessment.
.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The fraudPrevention to set.- Returns:
- This builder for chaining.
-
clearFraudPrevention
Optional. The Fraud Prevention setting for this assessment.
.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-