public final class Assessment extends GeneratedMessageV3 implements AssessmentOrBuilder
   
   A recaptcha assessment resource.
 Protobuf type google.cloud.recaptchaenterprise.v1beta1.Assessment
Static Fields
  
  ACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBER
  
    public static final int ACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBER
   
  Field Value
  
  EVENT_FIELD_NUMBER
  
    public static final int EVENT_FIELD_NUMBER
   
  Field Value
  
  NAME_FIELD_NUMBER
  
    public static final int NAME_FIELD_NUMBER
   
  Field Value
  
  PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER
  
    public static final int PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER
   
  Field Value
  
  REASONS_FIELD_NUMBER
  
    public static final int REASONS_FIELD_NUMBER
   
  Field Value
  
  SCORE_FIELD_NUMBER
  
    public static final int SCORE_FIELD_NUMBER
   
  Field Value
  
  TOKEN_PROPERTIES_FIELD_NUMBER
  
    public static final int TOKEN_PROPERTIES_FIELD_NUMBER
   
  Field Value
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static Assessment getDefaultInstance()
   
  Returns
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  newBuilder()
  
    public static Assessment.Builder newBuilder()
   
  Returns
  
  
  newBuilder(Assessment prototype)
  
    public static Assessment.Builder newBuilder(Assessment prototype)
   
  Parameter
  
  Returns
  
  
  
  
    public static Assessment parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Assessment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data)
  
    public static Assessment parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static Assessment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data)
  
    public static Assessment parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static Assessment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Assessment parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Assessment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Assessment parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Assessment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data)
  
    public static Assessment parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static Assessment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parser()
  
    public static Parser<Assessment> parser()
   
  Returns
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  getAccountDefenderAssessment()
  
    public AccountDefenderAssessment getAccountDefenderAssessment()
   
   Assessment returned by Account Defender when a hashed_account_id is
 provided.
 
 .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
 
getAccountDefenderAssessmentOrBuilder()
  
    public AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()
   
   Assessment returned by Account Defender when a hashed_account_id is
 provided.
 
 .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
 
getDefaultInstanceForType()
  
    public Assessment getDefaultInstanceForType()
   
  Returns
  
  
  getEvent()
  
   The event being assessed.
 .google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
    
      
        | Type | Description | 
      
        | Event | The event. | 
    
  
  
  getEventOrBuilder()
  
    public EventOrBuilder getEventOrBuilder()
   
   The event being assessed.
 .google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
getName()
  
   Output only. The resource name for the Assessment in the format
 "projects/{project_number}/assessments/{assessment_id}".
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        | Type | Description | 
      
        | String | The name. | 
    
  
  
  getNameBytes()
  
    public ByteString getNameBytes()
   
   Output only. The resource name for the Assessment in the format
 "projects/{project_number}/assessments/{assessment_id}".
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
  
    public Parser<Assessment> getParserForType()
   
  Returns
  
  Overrides
  
  
  getPasswordLeakVerification()
  
    public PasswordLeakVerification getPasswordLeakVerification()
   
   Information about the user's credentials used to check for leaks.
 This feature is part of the Early Access Program (EAP). Exercise caution,
 and do not deploy integrations based on this feature in a production
 environment.
 
 .google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
 
getPasswordLeakVerificationOrBuilder()
  
    public PasswordLeakVerificationOrBuilder getPasswordLeakVerificationOrBuilder()
   
   Information about the user's credentials used to check for leaks.
 This feature is part of the Early Access Program (EAP). Exercise caution,
 and do not deploy integrations based on this feature in a production
 environment.
 
 .google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
 
getReasons(int index)
  
    public Assessment.ClassificationReason getReasons(int index)
   
   Output only. Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  Returns
  
  
  getReasonsCount()
  
    public int getReasonsCount()
   
   Output only. Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Type | Description | 
      
        | int | The count of reasons. | 
    
  
  
  getReasonsList()
  
    public List<Assessment.ClassificationReason> getReasonsList()
   
   Output only. Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getReasonsValue(int index)
  
    public int getReasonsValue(int index)
   
   Output only. Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  Returns
  
    
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire of reasons at the given index. | 
    
  
  
  getReasonsValueList()
  
    public List<Integer> getReasonsValueList()
   
   Output only. Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Type | Description | 
      
        | List<Integer> | A list containing the enum numeric values on the wire for reasons. | 
    
  
  
  getScore()
  
   Output only. Legitimate event score from 0.0 to 1.0.
 (1.0 means very likely legitimate traffic while 0.0 means very likely
 non-legitimate traffic).
 float score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        | Type | Description | 
      
        | float | The score. | 
    
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  Returns
  
  Overrides
  
  
  getTokenProperties()
  
    public TokenProperties getTokenProperties()
   
   Output only. Properties of the provided event token.
 
 .google.cloud.recaptchaenterprise.v1beta1.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.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getUnknownFields()
  
    public final UnknownFieldSet getUnknownFields()
   
  Returns
  
  Overrides
  
  
  hasAccountDefenderAssessment()
  
    public boolean hasAccountDefenderAssessment()
   
   Assessment returned by Account Defender when a hashed_account_id is
 provided.
 
 .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
 
    
      
        | Type | Description | 
      
        | boolean | Whether the accountDefenderAssessment field is set. | 
    
  
  
  hasEvent()
  
    public boolean hasEvent()
   
   The event being assessed.
 .google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
    
      
        | Type | Description | 
      
        | boolean | Whether the event field is set. | 
    
  
  
  hasPasswordLeakVerification()
  
    public boolean hasPasswordLeakVerification()
   
   Information about the user's credentials used to check for leaks.
 This feature is part of the Early Access Program (EAP). Exercise caution,
 and do not deploy integrations based on this feature in a production
 environment.
 
 .google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
 
    
      
        | Type | Description | 
      
        | boolean | Whether the passwordLeakVerification field is set. | 
    
  
  
  hasTokenProperties()
  
    public boolean hasTokenProperties()
   
   Output only. Properties of the provided event token.
 
 .google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Type | Description | 
      
        | boolean | Whether the tokenProperties field is set. | 
    
  
  
  hashCode()
  
  Returns
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  newBuilderForType()
  
    public Assessment.Builder newBuilderForType()
   
  Returns
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected Assessment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  toBuilder()
  
    public Assessment.Builder toBuilder()
   
  Returns
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions