Class AccountVerificationInfo.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<AccountVerificationInfo.Builder>
      • clear

        public AccountVerificationInfo.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.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<AccountVerificationInfo.Builder>
      • getDefaultInstanceForType

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

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

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

        public AccountVerificationInfo.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>
      • clearField

        public AccountVerificationInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>
      • clearOneof

        public AccountVerificationInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>
      • setRepeatedField

        public AccountVerificationInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>
      • addRepeatedField

        public AccountVerificationInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>
      • mergeFrom

        public AccountVerificationInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccountVerificationInfo.Builder>
        Throws:
        IOException
      • getEndpointsCount

        public int getEndpointsCount()
         Endpoints that can be used for identity verification.
         
        repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
        Specified by:
        getEndpointsCount in interface AccountVerificationInfoOrBuilder
      • clearEndpoints

        public AccountVerificationInfo.Builder clearEndpoints()
         Endpoints that can be used for identity verification.
         
        repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
      • removeEndpoints

        public AccountVerificationInfo.Builder removeEndpoints​(int index)
         Endpoints that can be used for identity verification.
         
        repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
      • getEndpointsBuilder

        public EndpointVerificationInfo.Builder getEndpointsBuilder​(int index)
         Endpoints that can be used for identity verification.
         
        repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
      • addEndpointsBuilder

        public EndpointVerificationInfo.Builder addEndpointsBuilder()
         Endpoints that can be used for identity verification.
         
        repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
      • addEndpointsBuilder

        public EndpointVerificationInfo.Builder addEndpointsBuilder​(int index)
         Endpoints that can be used for identity verification.
         
        repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
      • getEndpointsBuilderList

        public List<EndpointVerificationInfo.Builder> getEndpointsBuilderList()
         Endpoints that can be used for identity verification.
         
        repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
      • getLanguageCode

        public String getLanguageCode()
         Language code preference for the verification message, set as a IETF BCP 47
         language code.
         
        string language_code = 3;
        Specified by:
        getLanguageCode in interface AccountVerificationInfoOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         Language code preference for the verification message, set as a IETF BCP 47
         language code.
         
        string language_code = 3;
        Specified by:
        getLanguageCodeBytes in interface AccountVerificationInfoOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public AccountVerificationInfo.Builder setLanguageCode​(String value)
         Language code preference for the verification message, set as a IETF BCP 47
         language code.
         
        string language_code = 3;
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public AccountVerificationInfo.Builder clearLanguageCode()
         Language code preference for the verification message, set as a IETF BCP 47
         language code.
         
        string language_code = 3;
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public AccountVerificationInfo.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         Language code preference for the verification message, set as a IETF BCP 47
         language code.
         
        string language_code = 3;
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • getLatestVerificationResultValue

        public int getLatestVerificationResultValue()
         Output only. Result of the latest account verification challenge.
         
        .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result latest_verification_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLatestVerificationResultValue in interface AccountVerificationInfoOrBuilder
        Returns:
        The enum numeric value on the wire for latestVerificationResult.
      • setLatestVerificationResultValue

        public AccountVerificationInfo.Builder setLatestVerificationResultValue​(int value)
         Output only. Result of the latest account verification challenge.
         
        .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result latest_verification_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for latestVerificationResult to set.
        Returns:
        This builder for chaining.
      • setLatestVerificationResult

        public AccountVerificationInfo.Builder setLatestVerificationResult​(AccountVerificationInfo.Result value)
         Output only. Result of the latest account verification challenge.
         
        .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result latest_verification_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The latestVerificationResult to set.
        Returns:
        This builder for chaining.
      • clearLatestVerificationResult

        public AccountVerificationInfo.Builder clearLatestVerificationResult()
         Output only. Result of the latest account verification challenge.
         
        .google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result latest_verification_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getUsername

        @Deprecated
        public String getUsername()
        Deprecated.
        google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=503
         Username of the account that is being verified. Deprecated. Customers
         should now provide the hashed account ID field in Event.
         
        string username = 2 [deprecated = true];
        Specified by:
        getUsername in interface AccountVerificationInfoOrBuilder
        Returns:
        The username.
      • getUsernameBytes

        @Deprecated
        public com.google.protobuf.ByteString getUsernameBytes()
        Deprecated.
        google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=503
         Username of the account that is being verified. Deprecated. Customers
         should now provide the hashed account ID field in Event.
         
        string username = 2 [deprecated = true];
        Specified by:
        getUsernameBytes in interface AccountVerificationInfoOrBuilder
        Returns:
        The bytes for username.
      • setUsername

        @Deprecated
        public AccountVerificationInfo.Builder setUsername​(String value)
        Deprecated.
        google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=503
         Username of the account that is being verified. Deprecated. Customers
         should now provide the hashed account ID field in Event.
         
        string username = 2 [deprecated = true];
        Parameters:
        value - The username to set.
        Returns:
        This builder for chaining.
      • clearUsername

        @Deprecated
        public AccountVerificationInfo.Builder clearUsername()
        Deprecated.
        google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=503
         Username of the account that is being verified. Deprecated. Customers
         should now provide the hashed account ID field in Event.
         
        string username = 2 [deprecated = true];
        Returns:
        This builder for chaining.
      • setUsernameBytes

        @Deprecated
        public AccountVerificationInfo.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=503
         Username of the account that is being verified. Deprecated. Customers
         should now provide the hashed account ID field in Event.
         
        string username = 2 [deprecated = true];
        Parameters:
        value - The bytes for username to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AccountVerificationInfo.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>
      • mergeUnknownFields

        public final AccountVerificationInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AccountVerificationInfo.Builder>