Class PrivatePasswordLeakVerification (3.40.0)

public final class PrivatePasswordLeakVerification extends GeneratedMessageV3 implements PrivatePasswordLeakVerificationOrBuilder

Private password leak verification info.

Protobuf type google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PrivatePasswordLeakVerification

Static Fields

ENCRYPTED_LEAK_MATCH_PREFIXES_FIELD_NUMBER

public static final int ENCRYPTED_LEAK_MATCH_PREFIXES_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER

public static final int ENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER
Field Value
Type Description
int

LOOKUP_HASH_PREFIX_FIELD_NUMBER

public static final int LOOKUP_HASH_PREFIX_FIELD_NUMBER
Field Value
Type Description
int

REENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER

public static final int REENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivatePasswordLeakVerification getDefaultInstance()
Returns
Type Description
PrivatePasswordLeakVerification

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PrivatePasswordLeakVerification.Builder newBuilder()
Returns
Type Description
PrivatePasswordLeakVerification.Builder

newBuilder(PrivatePasswordLeakVerification prototype)

public static PrivatePasswordLeakVerification.Builder newBuilder(PrivatePasswordLeakVerification prototype)
Parameter
Name Description
prototype PrivatePasswordLeakVerification
Returns
Type Description
PrivatePasswordLeakVerification.Builder

parseDelimitedFrom(InputStream input)

public static PrivatePasswordLeakVerification parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PrivatePasswordLeakVerification parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivatePasswordLeakVerification parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivatePasswordLeakVerification parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PrivatePasswordLeakVerification parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PrivatePasswordLeakVerification parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivatePasswordLeakVerification
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PrivatePasswordLeakVerification> parser()
Returns
Type Description
Parser<PrivatePasswordLeakVerification>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PrivatePasswordLeakVerification getDefaultInstanceForType()
Returns
Type Description
PrivatePasswordLeakVerification

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()

Required. 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) = REQUIRED];

Returns
Type Description
ByteString

The lookupHashPrefix.

getParserForType()

public Parser<PrivatePasswordLeakVerification> getParserForType()
Returns
Type Description
Parser<PrivatePasswordLeakVerification>
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
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PrivatePasswordLeakVerification.Builder newBuilderForType()
Returns
Type Description
PrivatePasswordLeakVerification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivatePasswordLeakVerification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivatePasswordLeakVerification.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PrivatePasswordLeakVerification.Builder toBuilder()
Returns
Type Description
PrivatePasswordLeakVerification.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException