Class PrivatePasswordLeakVerification (3.13.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
TypeDescription
int

ENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER

public static final int ENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER
Field Value
TypeDescription
int

LOOKUP_HASH_PREFIX_FIELD_NUMBER

public static final int LOOKUP_HASH_PREFIX_FIELD_NUMBER
Field Value
TypeDescription
int

REENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER

public static final int REENCRYPTED_USER_CREDENTIALS_HASH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivatePasswordLeakVerification getDefaultInstance()
Returns
TypeDescription
PrivatePasswordLeakVerification

getDescriptor()

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

newBuilder()

public static PrivatePasswordLeakVerification.Builder newBuilder()
Returns
TypeDescription
PrivatePasswordLeakVerification.Builder

newBuilder(PrivatePasswordLeakVerification prototype)

public static PrivatePasswordLeakVerification.Builder newBuilder(PrivatePasswordLeakVerification prototype)
Parameter
NameDescription
prototypePrivatePasswordLeakVerification
Returns
TypeDescription
PrivatePasswordLeakVerification.Builder

parseDelimitedFrom(InputStream input)

public static PrivatePasswordLeakVerification parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivatePasswordLeakVerification parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivatePasswordLeakVerification parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivatePasswordLeakVerification parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivatePasswordLeakVerification parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivatePasswordLeakVerification parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivatePasswordLeakVerification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivatePasswordLeakVerification
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PrivatePasswordLeakVerification> parser()
Returns
TypeDescription
Parser<PrivatePasswordLeakVerification>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PrivatePasswordLeakVerification getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The lookupHashPrefix.

getParserForType()

public Parser<PrivatePasswordLeakVerification> getParserForType()
Returns
TypeDescription
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
TypeDescription
ByteString

The reencryptedUserCredentialsHash.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PrivatePasswordLeakVerification.Builder newBuilderForType()
Returns
TypeDescription
PrivatePasswordLeakVerification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivatePasswordLeakVerification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivatePasswordLeakVerification.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PrivatePasswordLeakVerification.Builder toBuilder()
Returns
TypeDescription
PrivatePasswordLeakVerification.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException