Class MigrateKeyRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MigrateKeyRequest.Builder>
com.google.recaptchaenterprise.v1.MigrateKeyRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MigrateKeyRequestOrBuilder, Cloneable
Enclosing class:
MigrateKeyRequest

public static final class MigrateKeyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<MigrateKeyRequest.Builder> implements MigrateKeyRequestOrBuilder
 The migrate key request message.
 
Protobuf type google.cloud.recaptchaenterprise.v1.MigrateKeyRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MigrateKeyRequest.Builder>
    • clear

      public MigrateKeyRequest.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.GeneratedMessage.Builder<MigrateKeyRequest.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.GeneratedMessage.Builder<MigrateKeyRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public MigrateKeyRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrateKeyRequest.Builder>
    • mergeFrom

      public MigrateKeyRequest.Builder mergeFrom(MigrateKeyRequest other)
    • isInitialized

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

      public MigrateKeyRequest.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<MigrateKeyRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The name of the key to be migrated, in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface MigrateKeyRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the key to be migrated, in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface MigrateKeyRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public MigrateKeyRequest.Builder setName(String value)
       Required. The name of the key to be migrated, in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public MigrateKeyRequest.Builder clearName()
       Required. The name of the key to be migrated, in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public MigrateKeyRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the key to be migrated, in the format
       `projects/{project}/keys/{key}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSkipBillingCheck

      public boolean getSkipBillingCheck()
       Optional. If true, skips the billing check.
       A reCAPTCHA Enterprise key or migrated key behaves differently than a
       reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
       https://docs.cloud.google.com/recaptcha/quotas#quota_limit). To avoid
       any disruption of your usage, we check that a billing account is present.
       If your usage of reCAPTCHA is under the free quota, you can safely skip the
       billing check and proceed with the migration. See
       https://cloud.google.com/recaptcha/docs/billing-information.
       
      bool skip_billing_check = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSkipBillingCheck in interface MigrateKeyRequestOrBuilder
      Returns:
      The skipBillingCheck.
    • setSkipBillingCheck

      public MigrateKeyRequest.Builder setSkipBillingCheck(boolean value)
       Optional. If true, skips the billing check.
       A reCAPTCHA Enterprise key or migrated key behaves differently than a
       reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
       https://docs.cloud.google.com/recaptcha/quotas#quota_limit). To avoid
       any disruption of your usage, we check that a billing account is present.
       If your usage of reCAPTCHA is under the free quota, you can safely skip the
       billing check and proceed with the migration. See
       https://cloud.google.com/recaptcha/docs/billing-information.
       
      bool skip_billing_check = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The skipBillingCheck to set.
      Returns:
      This builder for chaining.
    • clearSkipBillingCheck

      public MigrateKeyRequest.Builder clearSkipBillingCheck()
       Optional. If true, skips the billing check.
       A reCAPTCHA Enterprise key or migrated key behaves differently than a
       reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see
       https://docs.cloud.google.com/recaptcha/quotas#quota_limit). To avoid
       any disruption of your usage, we check that a billing account is present.
       If your usage of reCAPTCHA is under the free quota, you can safely skip the
       billing check and proceed with the migration. See
       https://cloud.google.com/recaptcha/docs/billing-information.
       
      bool skip_billing_check = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.