Class PrivatePasswordLeakVerification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder> implements PrivatePasswordLeakVerificationOrBuilder
Private password leak verification info.
Protobuf typegoogle.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
clear
public PrivatePasswordLeakVerification.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
getDefaultInstanceForType
public PrivatePasswordLeakVerification getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PrivatePasswordLeakVerification build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PrivatePasswordLeakVerification buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PrivatePasswordLeakVerification.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
setField
public PrivatePasswordLeakVerification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
clearField
public PrivatePasswordLeakVerification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
clearOneof
public PrivatePasswordLeakVerification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
setRepeatedField
public PrivatePasswordLeakVerification.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
addRepeatedField
public PrivatePasswordLeakVerification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeFrom
public PrivatePasswordLeakVerification.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeFrom
public PrivatePasswordLeakVerification.Builder mergeFrom(PrivatePasswordLeakVerification other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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()
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];- Specified by:
getLookupHashPrefixin interfacePrivatePasswordLeakVerificationOrBuilder- Returns:
- The lookupHashPrefix.
-
setLookupHashPrefix
public PrivatePasswordLeakVerification.Builder setLookupHashPrefix(com.google.protobuf.ByteString value)
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];- Parameters:
value- The lookupHashPrefix to set.- Returns:
- This builder for chaining.
-
clearLookupHashPrefix
public PrivatePasswordLeakVerification.Builder clearLookupHashPrefix()
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:
- 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
public PrivatePasswordLeakVerification.Builder 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
public List<com.google.protobuf.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];- 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
public PrivatePasswordLeakVerification.Builder 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
public PrivatePasswordLeakVerification.Builder 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.
-
setUnknownFields
public final PrivatePasswordLeakVerification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeUnknownFields
public final PrivatePasswordLeakVerification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
-