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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
clear
public PrivatePasswordLeakVerification.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
getDefaultInstanceForType
public PrivatePasswordLeakVerification getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PrivatePasswordLeakVerification build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PrivatePasswordLeakVerification buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PrivatePasswordLeakVerification.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
setField
public PrivatePasswordLeakVerification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
clearField
public PrivatePasswordLeakVerification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
clearOneof
public PrivatePasswordLeakVerification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
setRepeatedField
public PrivatePasswordLeakVerification.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
addRepeatedField
public PrivatePasswordLeakVerification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeFrom
public PrivatePasswordLeakVerification.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeFrom
public PrivatePasswordLeakVerification.Builder mergeFrom(PrivatePasswordLeakVerification other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getLookupHashPrefix
in 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:
getEncryptedUserCredentialsHash
in 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:
getEncryptedLeakMatchPrefixesList
in 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:
getEncryptedLeakMatchPrefixesCount
in 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:
getEncryptedLeakMatchPrefixes
in 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:
getReencryptedUserCredentialsHash
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
mergeUnknownFields
public final PrivatePasswordLeakVerification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
-
-