Class PasswordLeakVerification (3.42.0)

public final class PasswordLeakVerification extends GeneratedMessageV3 implements PasswordLeakVerificationOrBuilder

Password leak verification info.

Protobuf type google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification

Static Fields

CANONICALIZED_USERNAME_FIELD_NUMBER

public static final int CANONICALIZED_USERNAME_FIELD_NUMBER
Field Value
Type Description
int

CREDENTIALS_LEAKED_FIELD_NUMBER

public static final int CREDENTIALS_LEAKED_FIELD_NUMBER
Field Value
Type Description
int

HASHED_USER_CREDENTIALS_FIELD_NUMBER

public static final int HASHED_USER_CREDENTIALS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PasswordLeakVerification getDefaultInstance()
Returns
Type Description
PasswordLeakVerification

getDescriptor()

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

newBuilder()

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

newBuilder(PasswordLeakVerification prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCanonicalizedUsername()

public String getCanonicalizedUsername()

Optional. The username part of the user credentials for which we want to trigger a leak check in canonicalized form. This is the same data used to create the hashed_user_credentials on the customer side.

string canonicalized_username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The canonicalizedUsername.

getCanonicalizedUsernameBytes()

public ByteString getCanonicalizedUsernameBytes()

Optional. The username part of the user credentials for which we want to trigger a leak check in canonicalized form. This is the same data used to create the hashed_user_credentials on the customer side.

string canonicalized_username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for canonicalizedUsername.

getCredentialsLeaked()

public boolean getCredentialsLeaked()

Output only. Whether or not the user's credentials are present in a known leak.

bool credentials_leaked = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The credentialsLeaked.

getDefaultInstanceForType()

public PasswordLeakVerification getDefaultInstanceForType()
Returns
Type Description
PasswordLeakVerification

getHashedUserCredentials()

public ByteString getHashedUserCredentials()

Optional. Scrypt hash of the username+password that the customer wants to verify against a known password leak.

bytes hashed_user_credentials = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The hashedUserCredentials.

getParserForType()

public Parser<PasswordLeakVerification> getParserForType()
Returns
Type Description
Parser<PasswordLeakVerification>
Overrides

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 PasswordLeakVerification.Builder newBuilderForType()
Returns
Type Description
PasswordLeakVerification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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