Class PrivatePasswordLeakVerification.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
      • getDefaultInstanceForType

        public PrivatePasswordLeakVerification getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PrivatePasswordLeakVerification build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PrivatePasswordLeakVerification buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PrivatePasswordLeakVerification.Builder>
      • 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 interface PrivatePasswordLeakVerificationOrBuilder
        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 interface PrivatePasswordLeakVerificationOrBuilder
        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 interface PrivatePasswordLeakVerificationOrBuilder
        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 interface PrivatePasswordLeakVerificationOrBuilder
        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 interface PrivatePasswordLeakVerificationOrBuilder
        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 interface PrivatePasswordLeakVerificationOrBuilder
        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.