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
CREDENTIALS_LEAKED_FIELD_NUMBER
public static final int CREDENTIALS_LEAKED_FIELD_NUMBER
Field Value
HASHED_USER_CREDENTIALS_FIELD_NUMBER
public static final int HASHED_USER_CREDENTIALS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PasswordLeakVerification getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PasswordLeakVerification.Builder newBuilder()
Returns
newBuilder(PasswordLeakVerification prototype)
public static PasswordLeakVerification.Builder newBuilder(PasswordLeakVerification prototype)
Parameter
Returns
public static PasswordLeakVerification parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PasswordLeakVerification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PasswordLeakVerification parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PasswordLeakVerification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PasswordLeakVerification parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PasswordLeakVerification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PasswordLeakVerification parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PasswordLeakVerification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PasswordLeakVerification parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PasswordLeakVerification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PasswordLeakVerification parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PasswordLeakVerification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PasswordLeakVerification> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
Overrides
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 PasswordLeakVerification.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PasswordLeakVerification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PasswordLeakVerification.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions