Class Assessment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Assessment.Builder>
com.google.recaptchaenterprise.v1.Assessment.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AssessmentOrBuilder, Cloneable
Enclosing class:
Assessment

public static final class Assessment.Builder extends com.google.protobuf.GeneratedMessage.Builder<Assessment.Builder> implements AssessmentOrBuilder
 A reCAPTCHA Enterprise assessment resource.
 
Protobuf type google.cloud.recaptchaenterprise.v1.Assessment
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Assessment.Builder>
    • clear

      public Assessment.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Assessment.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Assessment.Builder>
    • getDefaultInstanceForType

      public Assessment getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Assessment build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Assessment buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Assessment.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Assessment.Builder>
    • mergeFrom

      public Assessment.Builder mergeFrom(Assessment other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Assessment.Builder>
    • mergeFrom

      public Assessment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Assessment.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface AssessmentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface AssessmentOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public Assessment.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasEvent

      public boolean hasEvent()
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEvent in interface AssessmentOrBuilder
      Returns:
      Whether the event field is set.
    • getEvent

      public Event getEvent()
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEvent in interface AssessmentOrBuilder
      Returns:
      The event.
    • setEvent

      public Assessment.Builder setEvent(Event value)
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setEvent

      public Assessment.Builder setEvent(Event.Builder builderForValue)
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeEvent

      public Assessment.Builder mergeEvent(Event value)
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearEvent

      public Assessment.Builder clearEvent()
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEventBuilder

      public Event.Builder getEventBuilder()
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEventOrBuilder

      public EventOrBuilder getEventOrBuilder()
       Optional. The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasRiskAnalysis in interface AssessmentOrBuilder
      Returns:
      Whether the riskAnalysis field is set.
    • 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];
      Specified by:
      getRiskAnalysis in interface AssessmentOrBuilder
      Returns:
      The riskAnalysis.
    • setRiskAnalysis

      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];
    • setRiskAnalysis

      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];
    • mergeRiskAnalysis

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getRiskAnalysisOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasTokenProperties in interface AssessmentOrBuilder
      Returns:
      Whether the tokenProperties field is set.
    • 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];
      Specified by:
      getTokenProperties in interface AssessmentOrBuilder
      Returns:
      The tokenProperties.
    • setTokenProperties

      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];
    • setTokenProperties

      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];
    • mergeTokenProperties

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getTokenPropertiesOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasAccountVerification in interface AssessmentOrBuilder
      Returns:
      Whether the accountVerification field is set.
    • 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];
      Specified by:
      getAccountVerification in interface AssessmentOrBuilder
      Returns:
      The accountVerification.
    • setAccountVerification

      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];
    • setAccountVerification

      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];
    • mergeAccountVerification

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getAccountVerificationOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasAccountDefenderAssessment in interface AssessmentOrBuilder
      Returns:
      Whether the accountDefenderAssessment field is set.
    • 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];
      Specified by:
      getAccountDefenderAssessment in interface AssessmentOrBuilder
      Returns:
      The accountDefenderAssessment.
    • setAccountDefenderAssessment

      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];
    • setAccountDefenderAssessment

      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];
    • mergeAccountDefenderAssessment

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getAccountDefenderAssessmentOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasPrivatePasswordLeakVerification in interface AssessmentOrBuilder
      Returns:
      Whether the privatePasswordLeakVerification field is set.
    • 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];
      Specified by:
      getPrivatePasswordLeakVerification in interface AssessmentOrBuilder
      Returns:
      The privatePasswordLeakVerification.
    • setPrivatePasswordLeakVerification

      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];
    • setPrivatePasswordLeakVerification

      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];
    • mergePrivatePasswordLeakVerification

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getPrivatePasswordLeakVerificationOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasFirewallPolicyAssessment in interface AssessmentOrBuilder
      Returns:
      Whether the firewallPolicyAssessment field is set.
    • 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];
      Specified by:
      getFirewallPolicyAssessment in interface AssessmentOrBuilder
      Returns:
      The firewallPolicyAssessment.
    • setFirewallPolicyAssessment

      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];
    • setFirewallPolicyAssessment

      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];
    • mergeFirewallPolicyAssessment

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getFirewallPolicyAssessmentOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasFraudPreventionAssessment in interface AssessmentOrBuilder
      Returns:
      Whether the fraudPreventionAssessment field is set.
    • 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];
      Specified by:
      getFraudPreventionAssessment in interface AssessmentOrBuilder
      Returns:
      The fraudPreventionAssessment.
    • setFraudPreventionAssessment

      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];
    • setFraudPreventionAssessment

      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];
    • mergeFraudPreventionAssessment

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getFraudPreventionAssessmentOrBuilder in interface AssessmentOrBuilder
    • 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];
      Specified by:
      hasFraudSignals in interface AssessmentOrBuilder
      Returns:
      Whether the fraudSignals field is set.
    • 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];
      Specified by:
      getFraudSignals in interface AssessmentOrBuilder
      Returns:
      The fraudSignals.
    • setFraudSignals

      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];
    • setFraudSignals

      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];
    • mergeFraudSignals

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getFraudSignalsOrBuilder in interface AssessmentOrBuilder
    • hasPhoneFraudAssessment

      public boolean hasPhoneFraudAssessment()
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPhoneFraudAssessment in interface AssessmentOrBuilder
      Returns:
      Whether the phoneFraudAssessment field is set.
    • getPhoneFraudAssessment

      public PhoneFraudAssessment getPhoneFraudAssessment()
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhoneFraudAssessment in interface AssessmentOrBuilder
      Returns:
      The phoneFraudAssessment.
    • setPhoneFraudAssessment

      public Assessment.Builder setPhoneFraudAssessment(PhoneFraudAssessment value)
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPhoneFraudAssessment

      public Assessment.Builder setPhoneFraudAssessment(PhoneFraudAssessment.Builder builderForValue)
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePhoneFraudAssessment

      public Assessment.Builder mergePhoneFraudAssessment(PhoneFraudAssessment value)
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPhoneFraudAssessment

      public Assessment.Builder clearPhoneFraudAssessment()
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPhoneFraudAssessmentBuilder

      public PhoneFraudAssessment.Builder getPhoneFraudAssessmentBuilder()
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPhoneFraudAssessmentOrBuilder

      public PhoneFraudAssessmentOrBuilder getPhoneFraudAssessmentOrBuilder()
       Output only. Assessment returned when a site key, a token, and a phone
       number as `user_id` are provided. Account defender and SMS toll fraud
       protection need to be enabled.
       
      .google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhoneFraudAssessmentOrBuilder in interface AssessmentOrBuilder
    • hasAssessmentEnvironment

      public boolean hasAssessmentEnvironment()
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAssessmentEnvironment in interface AssessmentOrBuilder
      Returns:
      Whether the assessmentEnvironment field is set.
    • getAssessmentEnvironment

      public AssessmentEnvironment getAssessmentEnvironment()
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssessmentEnvironment in interface AssessmentOrBuilder
      Returns:
      The assessmentEnvironment.
    • setAssessmentEnvironment

      public Assessment.Builder setAssessmentEnvironment(AssessmentEnvironment value)
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
    • setAssessmentEnvironment

      public Assessment.Builder setAssessmentEnvironment(AssessmentEnvironment.Builder builderForValue)
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAssessmentEnvironment

      public Assessment.Builder mergeAssessmentEnvironment(AssessmentEnvironment value)
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
    • clearAssessmentEnvironment

      public Assessment.Builder clearAssessmentEnvironment()
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getAssessmentEnvironmentBuilder

      public AssessmentEnvironment.Builder getAssessmentEnvironmentBuilder()
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getAssessmentEnvironmentOrBuilder

      public AssessmentEnvironmentOrBuilder getAssessmentEnvironmentOrBuilder()
       Optional. The environment creating the assessment. This describes your
       environment (the system invoking CreateAssessment), NOT the environment of
       your user.
       
      .google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssessmentEnvironmentOrBuilder in interface AssessmentOrBuilder