Class RetrieveLegacySecretKeyResponse.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<RetrieveLegacySecretKeyResponse.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<RetrieveLegacySecretKeyResponse.Builder>
      • getDefaultInstanceForType

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

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

        public RetrieveLegacySecretKeyResponse 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<RetrieveLegacySecretKeyResponse.Builder>
      • getLegacySecretKey

        public String getLegacySecretKey()
         The secret key (also known as shared secret) authorizes communication
         between your application backend and the reCAPTCHA Enterprise server to
         create an assessment.
         The secret key needs to be kept safe for security purposes.
         
        string legacy_secret_key = 1;
        Specified by:
        getLegacySecretKey in interface RetrieveLegacySecretKeyResponseOrBuilder
        Returns:
        The legacySecretKey.
      • getLegacySecretKeyBytes

        public com.google.protobuf.ByteString getLegacySecretKeyBytes()
         The secret key (also known as shared secret) authorizes communication
         between your application backend and the reCAPTCHA Enterprise server to
         create an assessment.
         The secret key needs to be kept safe for security purposes.
         
        string legacy_secret_key = 1;
        Specified by:
        getLegacySecretKeyBytes in interface RetrieveLegacySecretKeyResponseOrBuilder
        Returns:
        The bytes for legacySecretKey.
      • setLegacySecretKey

        public RetrieveLegacySecretKeyResponse.Builder setLegacySecretKey​(String value)
         The secret key (also known as shared secret) authorizes communication
         between your application backend and the reCAPTCHA Enterprise server to
         create an assessment.
         The secret key needs to be kept safe for security purposes.
         
        string legacy_secret_key = 1;
        Parameters:
        value - The legacySecretKey to set.
        Returns:
        This builder for chaining.
      • clearLegacySecretKey

        public RetrieveLegacySecretKeyResponse.Builder clearLegacySecretKey()
         The secret key (also known as shared secret) authorizes communication
         between your application backend and the reCAPTCHA Enterprise server to
         create an assessment.
         The secret key needs to be kept safe for security purposes.
         
        string legacy_secret_key = 1;
        Returns:
        This builder for chaining.
      • setLegacySecretKeyBytes

        public RetrieveLegacySecretKeyResponse.Builder setLegacySecretKeyBytes​(com.google.protobuf.ByteString value)
         The secret key (also known as shared secret) authorizes communication
         between your application backend and the reCAPTCHA Enterprise server to
         create an assessment.
         The secret key needs to be kept safe for security purposes.
         
        string legacy_secret_key = 1;
        Parameters:
        value - The bytes for legacySecretKey to set.
        Returns:
        This builder for chaining.