Class PasswordLeakVerification (3.24.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
TypeDescription
int

CREDENTIALS_LEAKED_FIELD_NUMBER

public static final int CREDENTIALS_LEAKED_FIELD_NUMBER
Field Value
TypeDescription
int

HASHED_USER_CREDENTIALS_FIELD_NUMBER

public static final int HASHED_USER_CREDENTIALS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PasswordLeakVerification getDefaultInstance()
Returns
TypeDescription
PasswordLeakVerification

getDescriptor()

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

newBuilder()

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

newBuilder(PasswordLeakVerification prototype)

public static PasswordLeakVerification.Builder newBuilder(PasswordLeakVerification prototype)
Parameter
NameDescription
prototypePasswordLeakVerification
Returns
TypeDescription
PasswordLeakVerification.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The credentialsLeaked.

getDefaultInstanceForType()

public PasswordLeakVerification getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
ByteString

The hashedUserCredentials.

getParserForType()

public Parser<PasswordLeakVerification> getParserForType()
Returns
TypeDescription
Parser<PasswordLeakVerification>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 PasswordLeakVerification.Builder newBuilderForType()
Returns
TypeDescription
PasswordLeakVerification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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