public final class PrivatePasswordLeakVerification extends GeneratedMessageV3 implements PrivatePasswordLeakVerificationOrBuilder
Private password leak verification info.
Protobuf type google.cloud.recaptchaenterprise.v1.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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PrivatePasswordLeakVerification.Builder newBuilder()
newBuilder(PrivatePasswordLeakVerification prototype)
public static PrivatePasswordLeakVerification.Builder newBuilder(PrivatePasswordLeakVerification prototype)
public static PrivatePasswordLeakVerification parseDelimitedFrom(InputStream input)
public static PrivatePasswordLeakVerification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PrivatePasswordLeakVerification parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivatePasswordLeakVerification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PrivatePasswordLeakVerification parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivatePasswordLeakVerification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivatePasswordLeakVerification parseFrom(CodedInputStream input)
public static PrivatePasswordLeakVerification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivatePasswordLeakVerification parseFrom(InputStream input)
public static PrivatePasswordLeakVerification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PrivatePasswordLeakVerification parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivatePasswordLeakVerification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PrivatePasswordLeakVerification> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public PrivatePasswordLeakVerification getDefaultInstanceForType()
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()
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 |
---|
Type | Description |
ByteString | The lookupHashPrefix.
|
getParserForType()
public Parser<PrivatePasswordLeakVerification> getParserForType()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PrivatePasswordLeakVerification.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivatePasswordLeakVerification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PrivatePasswordLeakVerification.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides