Class PrivatePasswordLeakVerification.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivatePasswordLeakVerification.Builder>
com.google.recaptchaenterprise.v1.PrivatePasswordLeakVerification.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PrivatePasswordLeakVerificationOrBuilder,Cloneable
- Enclosing class:
- PrivatePasswordLeakVerification
public static final class PrivatePasswordLeakVerification.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PrivatePasswordLeakVerification.Builder>
implements PrivatePasswordLeakVerificationOrBuilder
Private password leak verification info.Protobuf type
google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification-
Method Summary
Modifier and TypeMethodDescriptionaddAllEncryptedLeakMatchPrefixes(Iterable<? extends com.google.protobuf.ByteString> values) Output only.addEncryptedLeakMatchPrefixes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Optional.Required.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringgetEncryptedLeakMatchPrefixes(int index) Output only.intOutput only.List<com.google.protobuf.ByteString>Output only.com.google.protobuf.ByteStringOptional.com.google.protobuf.ByteStringRequired.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEncryptedLeakMatchPrefixes(int index, com.google.protobuf.ByteString value) Output only.setEncryptedUserCredentialsHash(com.google.protobuf.ByteString value) Optional.setLookupHashPrefix(com.google.protobuf.ByteString value) Required.setReencryptedUserCredentialsHash(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PrivatePasswordLeakVerification.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PrivatePasswordLeakVerification.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PrivatePasswordLeakVerification.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeFrom
public PrivatePasswordLeakVerification.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivatePasswordLeakVerification.Builder>- Throws:
IOException
-
getLookupHashPrefix
public com.google.protobuf.ByteString getLookupHashPrefix()Required. 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) = REQUIRED];- Specified by:
getLookupHashPrefixin interfacePrivatePasswordLeakVerificationOrBuilder- Returns:
- The lookupHashPrefix.
-
setLookupHashPrefix
public PrivatePasswordLeakVerification.Builder setLookupHashPrefix(com.google.protobuf.ByteString value) Required. 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) = REQUIRED];- Parameters:
value- The lookupHashPrefix to set.- Returns:
- This builder for chaining.
-
clearLookupHashPrefix
Required. 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) = REQUIRED];- Returns:
- This builder for chaining.
-
getEncryptedUserCredentialsHash
public com.google.protobuf.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];- Specified by:
getEncryptedUserCredentialsHashin interfacePrivatePasswordLeakVerificationOrBuilder- Returns:
- The encryptedUserCredentialsHash.
-
setEncryptedUserCredentialsHash
public PrivatePasswordLeakVerification.Builder setEncryptedUserCredentialsHash(com.google.protobuf.ByteString value) 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];- Parameters:
value- The encryptedUserCredentialsHash to set.- Returns:
- This builder for chaining.
-
clearEncryptedUserCredentialsHash
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:
- This builder for chaining.
-
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];- Specified by:
getEncryptedLeakMatchPrefixesListin interfacePrivatePasswordLeakVerificationOrBuilder- Returns:
- A list containing the encryptedLeakMatchPrefixes.
-
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];- Specified by:
getEncryptedLeakMatchPrefixesCountin interfacePrivatePasswordLeakVerificationOrBuilder- Returns:
- The count of encryptedLeakMatchPrefixes.
-
getEncryptedLeakMatchPrefixes
public com.google.protobuf.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];- Specified by:
getEncryptedLeakMatchPrefixesin interfacePrivatePasswordLeakVerificationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The encryptedLeakMatchPrefixes at the given index.
-
setEncryptedLeakMatchPrefixes
public PrivatePasswordLeakVerification.Builder setEncryptedLeakMatchPrefixes(int index, com.google.protobuf.ByteString value) 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];- Parameters:
index- The index to set the value at.value- The encryptedLeakMatchPrefixes to set.- Returns:
- This builder for chaining.
-
addEncryptedLeakMatchPrefixes
public PrivatePasswordLeakVerification.Builder addEncryptedLeakMatchPrefixes(com.google.protobuf.ByteString value) 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];- Parameters:
value- The encryptedLeakMatchPrefixes to add.- Returns:
- This builder for chaining.
-
addAllEncryptedLeakMatchPrefixes
public PrivatePasswordLeakVerification.Builder addAllEncryptedLeakMatchPrefixes(Iterable<? extends com.google.protobuf.ByteString> values) 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];- Parameters:
values- The encryptedLeakMatchPrefixes to add.- Returns:
- This builder for chaining.
-
clearEncryptedLeakMatchPrefixes
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:
- This builder for chaining.
-
getReencryptedUserCredentialsHash
public com.google.protobuf.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];- Specified by:
getReencryptedUserCredentialsHashin interfacePrivatePasswordLeakVerificationOrBuilder- Returns:
- The reencryptedUserCredentialsHash.
-
setReencryptedUserCredentialsHash
public PrivatePasswordLeakVerification.Builder setReencryptedUserCredentialsHash(com.google.protobuf.ByteString value) 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];- Parameters:
value- The reencryptedUserCredentialsHash to set.- Returns:
- This builder for chaining.
-
clearReencryptedUserCredentialsHash
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:
- This builder for chaining.
-