Class Assessment.Builder (3.32.0)

public static final class Assessment.Builder extends GeneratedMessageV3.Builder<Assessment.Builder> implements AssessmentOrBuilder

A reCAPTCHA Enterprise assessment resource.

Protobuf type google.cloud.recaptchaenterprise.v1.Assessment

Implements

AssessmentOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Assessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Assessment.Builder
Overrides

build()

public Assessment build()
Returns
TypeDescription
Assessment

buildPartial()

public Assessment buildPartial()
Returns
TypeDescription
Assessment

clear()

public Assessment.Builder clear()
Returns
TypeDescription
Assessment.Builder
Overrides

clearAccountDefenderAssessment()

public Assessment.Builder clearAccountDefenderAssessment()

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Assessment.Builder

clearAccountVerification()

public Assessment.Builder clearAccountVerification()

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Assessment.Builder

clearEvent()

public Assessment.Builder clearEvent()

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Assessment.Builder

clearField(Descriptors.FieldDescriptor field)

public Assessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Assessment.Builder
Overrides

clearFirewallPolicyAssessment()

public Assessment.Builder clearFirewallPolicyAssessment()

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Assessment.Builder

clearFraudPreventionAssessment()

public Assessment.Builder clearFraudPreventionAssessment()

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Assessment.Builder

clearFraudSignals()

public Assessment.Builder clearFraudSignals()

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Assessment.Builder

clearName()

public Assessment.Builder clearName()

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
Assessment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Assessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Assessment.Builder
Overrides

clearPrivatePasswordLeakVerification()

public Assessment.Builder clearPrivatePasswordLeakVerification()

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Assessment.Builder

clearRiskAnalysis()

public Assessment.Builder clearRiskAnalysis()

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Assessment.Builder

clearTokenProperties()

public Assessment.Builder clearTokenProperties()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Assessment.Builder

clone()

public Assessment.Builder clone()
Returns
TypeDescription
Assessment.Builder
Overrides

getAccountDefenderAssessment()

public AccountDefenderAssessment getAccountDefenderAssessment()

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AccountDefenderAssessment

The accountDefenderAssessment.

getAccountDefenderAssessmentBuilder()

public AccountDefenderAssessment.Builder getAccountDefenderAssessmentBuilder()

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AccountDefenderAssessment.Builder

getAccountDefenderAssessmentOrBuilder()

public AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AccountDefenderAssessmentOrBuilder

getAccountVerification()

public AccountVerificationInfo getAccountVerification()

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AccountVerificationInfo

The accountVerification.

getAccountVerificationBuilder()

public AccountVerificationInfo.Builder getAccountVerificationBuilder()

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AccountVerificationInfo.Builder

getAccountVerificationOrBuilder()

public AccountVerificationInfoOrBuilder getAccountVerificationOrBuilder()

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AccountVerificationInfoOrBuilder

getDefaultInstanceForType()

public Assessment getDefaultInstanceForType()
Returns
TypeDescription
Assessment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvent()

public Event getEvent()

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Event

The event.

getEventBuilder()

public Event.Builder getEventBuilder()

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Event.Builder

getEventOrBuilder()

public EventOrBuilder getEventOrBuilder()

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EventOrBuilder

getFirewallPolicyAssessment()

public FirewallPolicyAssessment getFirewallPolicyAssessment()

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FirewallPolicyAssessment

The firewallPolicyAssessment.

getFirewallPolicyAssessmentBuilder()

public FirewallPolicyAssessment.Builder getFirewallPolicyAssessmentBuilder()

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FirewallPolicyAssessment.Builder

getFirewallPolicyAssessmentOrBuilder()

public FirewallPolicyAssessmentOrBuilder getFirewallPolicyAssessmentOrBuilder()

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FirewallPolicyAssessmentOrBuilder

getFraudPreventionAssessment()

public FraudPreventionAssessment getFraudPreventionAssessment()

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FraudPreventionAssessment

The fraudPreventionAssessment.

getFraudPreventionAssessmentBuilder()

public FraudPreventionAssessment.Builder getFraudPreventionAssessmentBuilder()

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FraudPreventionAssessment.Builder

getFraudPreventionAssessmentOrBuilder()

public FraudPreventionAssessmentOrBuilder getFraudPreventionAssessmentOrBuilder()

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FraudPreventionAssessmentOrBuilder

getFraudSignals()

public FraudSignals getFraudSignals()

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FraudSignals

The fraudSignals.

getFraudSignalsBuilder()

public FraudSignals.Builder getFraudSignalsBuilder()

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FraudSignals.Builder

getFraudSignalsOrBuilder()

public FraudSignalsOrBuilder getFraudSignalsOrBuilder()

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FraudSignalsOrBuilder

getName()

public String getName()

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
ByteString

The bytes for name.

getPrivatePasswordLeakVerification()

public PrivatePasswordLeakVerification getPrivatePasswordLeakVerification()

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PrivatePasswordLeakVerification

The privatePasswordLeakVerification.

getPrivatePasswordLeakVerificationBuilder()

public PrivatePasswordLeakVerification.Builder getPrivatePasswordLeakVerificationBuilder()

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PrivatePasswordLeakVerification.Builder

getPrivatePasswordLeakVerificationOrBuilder()

public PrivatePasswordLeakVerificationOrBuilder getPrivatePasswordLeakVerificationOrBuilder()

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PrivatePasswordLeakVerificationOrBuilder

getRiskAnalysis()

public RiskAnalysis getRiskAnalysis()

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RiskAnalysis

The riskAnalysis.

getRiskAnalysisBuilder()

public RiskAnalysis.Builder getRiskAnalysisBuilder()

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RiskAnalysis.Builder

getRiskAnalysisOrBuilder()

public RiskAnalysisOrBuilder getRiskAnalysisOrBuilder()

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RiskAnalysisOrBuilder

getTokenProperties()

public TokenProperties getTokenProperties()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TokenProperties

The tokenProperties.

getTokenPropertiesBuilder()

public TokenProperties.Builder getTokenPropertiesBuilder()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TokenProperties.Builder

getTokenPropertiesOrBuilder()

public TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TokenPropertiesOrBuilder

hasAccountDefenderAssessment()

public boolean hasAccountDefenderAssessment()

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the accountDefenderAssessment field is set.

hasAccountVerification()

public boolean hasAccountVerification()

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the accountVerification field is set.

hasEvent()

public boolean hasEvent()

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the event field is set.

hasFirewallPolicyAssessment()

public boolean hasFirewallPolicyAssessment()

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the firewallPolicyAssessment field is set.

hasFraudPreventionAssessment()

public boolean hasFraudPreventionAssessment()

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the fraudPreventionAssessment field is set.

hasFraudSignals()

public boolean hasFraudSignals()

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the fraudSignals field is set.

hasPrivatePasswordLeakVerification()

public boolean hasPrivatePasswordLeakVerification()

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the privatePasswordLeakVerification field is set.

hasRiskAnalysis()

public boolean hasRiskAnalysis()

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the riskAnalysis field is set.

hasTokenProperties()

public boolean hasTokenProperties()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the tokenProperties field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAccountDefenderAssessment(AccountDefenderAssessment value)

public Assessment.Builder mergeAccountDefenderAssessment(AccountDefenderAssessment value)

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAccountDefenderAssessment
Returns
TypeDescription
Assessment.Builder

mergeAccountVerification(AccountVerificationInfo value)

public Assessment.Builder mergeAccountVerification(AccountVerificationInfo value)

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAccountVerificationInfo
Returns
TypeDescription
Assessment.Builder

mergeEvent(Event value)

public Assessment.Builder mergeEvent(Event value)

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEvent
Returns
TypeDescription
Assessment.Builder

mergeFirewallPolicyAssessment(FirewallPolicyAssessment value)

public Assessment.Builder mergeFirewallPolicyAssessment(FirewallPolicyAssessment value)

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFirewallPolicyAssessment
Returns
TypeDescription
Assessment.Builder

mergeFraudPreventionAssessment(FraudPreventionAssessment value)

public Assessment.Builder mergeFraudPreventionAssessment(FraudPreventionAssessment value)

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFraudPreventionAssessment
Returns
TypeDescription
Assessment.Builder

mergeFraudSignals(FraudSignals value)

public Assessment.Builder mergeFraudSignals(FraudSignals value)

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFraudSignals
Returns
TypeDescription
Assessment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Assessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Assessment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Assessment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Assessment.Builder
Overrides

mergeFrom(Assessment other)

public Assessment.Builder mergeFrom(Assessment other)
Parameter
NameDescription
otherAssessment
Returns
TypeDescription
Assessment.Builder

mergePrivatePasswordLeakVerification(PrivatePasswordLeakVerification value)

public Assessment.Builder mergePrivatePasswordLeakVerification(PrivatePasswordLeakVerification value)

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuePrivatePasswordLeakVerification
Returns
TypeDescription
Assessment.Builder

mergeRiskAnalysis(RiskAnalysis value)

public Assessment.Builder mergeRiskAnalysis(RiskAnalysis value)

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueRiskAnalysis
Returns
TypeDescription
Assessment.Builder

mergeTokenProperties(TokenProperties value)

public Assessment.Builder mergeTokenProperties(TokenProperties value)

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTokenProperties
Returns
TypeDescription
Assessment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Assessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Assessment.Builder
Overrides

setAccountDefenderAssessment(AccountDefenderAssessment value)

public Assessment.Builder setAccountDefenderAssessment(AccountDefenderAssessment value)

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAccountDefenderAssessment
Returns
TypeDescription
Assessment.Builder

setAccountDefenderAssessment(AccountDefenderAssessment.Builder builderForValue)

public Assessment.Builder setAccountDefenderAssessment(AccountDefenderAssessment.Builder builderForValue)

Output only. Assessment returned by account defender when an account identifier is provided.

.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueAccountDefenderAssessment.Builder
Returns
TypeDescription
Assessment.Builder

setAccountVerification(AccountVerificationInfo value)

public Assessment.Builder setAccountVerification(AccountVerificationInfo value)

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAccountVerificationInfo
Returns
TypeDescription
Assessment.Builder

setAccountVerification(AccountVerificationInfo.Builder builderForValue)

public Assessment.Builder setAccountVerification(AccountVerificationInfo.Builder builderForValue)

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueAccountVerificationInfo.Builder
Returns
TypeDescription
Assessment.Builder

setEvent(Event value)

public Assessment.Builder setEvent(Event value)

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEvent
Returns
TypeDescription
Assessment.Builder

setEvent(Event.Builder builderForValue)

public Assessment.Builder setEvent(Event.Builder builderForValue)

Optional. The event being assessed.

.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueEvent.Builder
Returns
TypeDescription
Assessment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Assessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Assessment.Builder
Overrides

setFirewallPolicyAssessment(FirewallPolicyAssessment value)

public Assessment.Builder setFirewallPolicyAssessment(FirewallPolicyAssessment value)

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFirewallPolicyAssessment
Returns
TypeDescription
Assessment.Builder

setFirewallPolicyAssessment(FirewallPolicyAssessment.Builder builderForValue)

public Assessment.Builder setFirewallPolicyAssessment(FirewallPolicyAssessment.Builder builderForValue)

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueFirewallPolicyAssessment.Builder
Returns
TypeDescription
Assessment.Builder

setFraudPreventionAssessment(FraudPreventionAssessment value)

public Assessment.Builder setFraudPreventionAssessment(FraudPreventionAssessment value)

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFraudPreventionAssessment
Returns
TypeDescription
Assessment.Builder

setFraudPreventionAssessment(FraudPreventionAssessment.Builder builderForValue)

public Assessment.Builder setFraudPreventionAssessment(FraudPreventionAssessment.Builder builderForValue)

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueFraudPreventionAssessment.Builder
Returns
TypeDescription
Assessment.Builder

setFraudSignals(FraudSignals value)

public Assessment.Builder setFraudSignals(FraudSignals value)

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueFraudSignals
Returns
TypeDescription
Assessment.Builder

setFraudSignals(FraudSignals.Builder builderForValue)

public Assessment.Builder setFraudSignals(FraudSignals.Builder builderForValue)

Output only. Fraud Signals specific to the users involved in a payment transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueFraudSignals.Builder
Returns
TypeDescription
Assessment.Builder

setName(String value)

public Assessment.Builder setName(String value)

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Assessment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Assessment.Builder setNameBytes(ByteString value)

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Assessment.Builder

This builder for chaining.

setPrivatePasswordLeakVerification(PrivatePasswordLeakVerification value)

public Assessment.Builder setPrivatePasswordLeakVerification(PrivatePasswordLeakVerification value)

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuePrivatePasswordLeakVerification
Returns
TypeDescription
Assessment.Builder

setPrivatePasswordLeakVerification(PrivatePasswordLeakVerification.Builder builderForValue)

public Assessment.Builder setPrivatePasswordLeakVerification(PrivatePasswordLeakVerification.Builder builderForValue)

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValuePrivatePasswordLeakVerification.Builder
Returns
TypeDescription
Assessment.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Assessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Assessment.Builder
Overrides

setRiskAnalysis(RiskAnalysis value)

public Assessment.Builder setRiskAnalysis(RiskAnalysis value)

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueRiskAnalysis
Returns
TypeDescription
Assessment.Builder

setRiskAnalysis(RiskAnalysis.Builder builderForValue)

public Assessment.Builder setRiskAnalysis(RiskAnalysis.Builder builderForValue)

Output only. The risk analysis result for the event being assessed.

.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueRiskAnalysis.Builder
Returns
TypeDescription
Assessment.Builder

setTokenProperties(TokenProperties value)

public Assessment.Builder setTokenProperties(TokenProperties value)

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTokenProperties
Returns
TypeDescription
Assessment.Builder

setTokenProperties(TokenProperties.Builder builderForValue)

public Assessment.Builder setTokenProperties(TokenProperties.Builder builderForValue)

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueTokenProperties.Builder
Returns
TypeDescription
Assessment.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Assessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Assessment.Builder
Overrides