Class PrivatePasswordLeakVerification (3.1.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 3.1.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   final   class  PrivatePasswordLeakVerification   extends   GeneratedMessageV3   implements   PrivatePasswordLeakVerificationOrBuilder  
   
   Private password leak verification info.
 Protobuf type google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification
 
  
  
  
  Static Fields
   
  ENCRYPTED_LEAK_MATCH_PREFIXES_FIELD_NUMBER 
  
    
public   static   final   int   ENCRYPTED_LEAK_MATCH_PREFIXES_FIELD_NUMBER  
   
  Field Value 
  
  ENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER 
  
    
public   static   final   int   ENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER  
   
  Field Value 
  
  LOOKUP_HASH_PREFIX_FIELD_NUMBER 
  
    
public   static   final   int   LOOKUP_HASH_PREFIX_FIELD_NUMBER  
   
  Field Value 
  
  REENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER 
  
    
public   static   final   int   REENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   PrivatePasswordLeakVerification   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   PrivatePasswordLeakVerification . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(PrivatePasswordLeakVerification prototype) 
  
    
public   static   PrivatePasswordLeakVerification . Builder   newBuilder ( PrivatePasswordLeakVerification   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   PrivatePasswordLeakVerification   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   PrivatePasswordLeakVerification   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PrivatePasswordLeakVerification   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<PrivatePasswordLeakVerification>   parser ()  
   
  Returns 
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   PrivatePasswordLeakVerification   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getEncryptedLeakMatchPrefixes(int index) 
  
    
public   ByteString   getEncryptedLeakMatchPrefixes ( int   index )  
   
   Output only. List of prefixes of the encrypted potential password leaks that matched the
 given parameters. They must be compared with the client-side decryption
 prefix of reencrypted_user_credentials_hash
 
 repeated bytes encrypted_leak_match_prefixes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        index  
        int The index of the element to return.
 
       
     
  
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The encryptedLeakMatchPrefixes at the given index.
 
       
     
  
   
  getEncryptedLeakMatchPrefixesCount() 
  
    
public   int   getEncryptedLeakMatchPrefixesCount ()  
   
   Output only. List of prefixes of the encrypted potential password leaks that matched the
 given parameters. They must be compared with the client-side decryption
 prefix of reencrypted_user_credentials_hash
 
 repeated bytes encrypted_leak_match_prefixes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        int  
        The count of encryptedLeakMatchPrefixes.
 
       
     
  
   
  getEncryptedLeakMatchPrefixesList() 
  
    
public   List<ByteString>   getEncryptedLeakMatchPrefixesList ()  
   
   Output only. List of prefixes of the encrypted potential password leaks that matched the
 given parameters. They must be compared with the client-side decryption
 prefix of reencrypted_user_credentials_hash
 
 repeated bytes encrypted_leak_match_prefixes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        List <ByteString > 
        A list containing the encryptedLeakMatchPrefixes.
 
       
     
  
   
  getEncryptedUserCredentialsHash() 
  
    
public   ByteString   getEncryptedUserCredentialsHash ()  
   
   Optional. Encrypted Scrypt hash of the canonicalized username+password. It is
 re-encrypted by the server and returned through
 reencrypted_user_credentials_hash.
 bytes encrypted_user_credentials_hash = 2 [(.google.api.field_behavior) = OPTIONAL];
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The encryptedUserCredentialsHash.
 
       
     
  
   
  getLookupHashPrefix() 
  
    
public   ByteString   getLookupHashPrefix ()  
   
   Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized username. It
 is used to look up password leaks associated with that hash prefix.
 bytes lookup_hash_prefix = 1 [(.google.api.field_behavior) = OPTIONAL];
 
  Returns 
  
   
  getParserForType() 
  
    
public   Parser<PrivatePasswordLeakVerification>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  getReencryptedUserCredentialsHash() 
  
    
public   ByteString   getReencryptedUserCredentialsHash ()  
   
   Output only. Corresponds to the re-encryption of the encrypted_user_credentials_hash
 field. It is used to match potential password leaks within
 encrypted_leak_match_prefixes.
 bytes reencrypted_user_credentials_hash = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The reencryptedUserCredentialsHash.
 
       
     
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  hashCode() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   PrivatePasswordLeakVerification . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   PrivatePasswordLeakVerification . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   PrivatePasswordLeakVerification . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]