Class ConfigureDnsSettingsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder>
com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder
All Implemented Interfaces:
ConfigureDnsSettingsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConfigureDnsSettingsRequest

public static final class ConfigureDnsSettingsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder> implements ConfigureDnsSettingsRequestOrBuilder
 Request for the `ConfigureDnsSettings` method.
 
Protobuf type google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest
  • 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<ConfigureDnsSettingsRequest.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<ConfigureDnsSettingsRequest.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<ConfigureDnsSettingsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ConfigureDnsSettingsRequest.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<ConfigureDnsSettingsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public ConfigureDnsSettingsRequest.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<ConfigureDnsSettingsRequest.Builder>
      Throws:
      IOException
    • getRegistration

      public String getRegistration()
       Required. The name of the `Registration` whose DNS settings are being updated,
       in the format `projects/*/locations/*/registrations/*`.
       
      string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getRegistration in interface ConfigureDnsSettingsRequestOrBuilder
      Returns:
      The registration.
    • getRegistrationBytes

      public com.google.protobuf.ByteString getRegistrationBytes()
       Required. The name of the `Registration` whose DNS settings are being updated,
       in the format `projects/*/locations/*/registrations/*`.
       
      string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getRegistrationBytes in interface ConfigureDnsSettingsRequestOrBuilder
      Returns:
      The bytes for registration.
    • setRegistration

      public ConfigureDnsSettingsRequest.Builder setRegistration(String value)
       Required. The name of the `Registration` whose DNS settings are being updated,
       in the format `projects/*/locations/*/registrations/*`.
       
      string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The registration to set.
      Returns:
      This builder for chaining.
    • clearRegistration

      public ConfigureDnsSettingsRequest.Builder clearRegistration()
       Required. The name of the `Registration` whose DNS settings are being updated,
       in the format `projects/*/locations/*/registrations/*`.
       
      string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRegistrationBytes

      public ConfigureDnsSettingsRequest.Builder setRegistrationBytes(com.google.protobuf.ByteString value)
       Required. The name of the `Registration` whose DNS settings are being updated,
       in the format `projects/*/locations/*/registrations/*`.
       
      string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for registration to set.
      Returns:
      This builder for chaining.
    • hasDnsSettings

      public boolean hasDnsSettings()
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
      Specified by:
      hasDnsSettings in interface ConfigureDnsSettingsRequestOrBuilder
      Returns:
      Whether the dnsSettings field is set.
    • getDnsSettings

      public DnsSettings getDnsSettings()
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
      Specified by:
      getDnsSettings in interface ConfigureDnsSettingsRequestOrBuilder
      Returns:
      The dnsSettings.
    • setDnsSettings

      public ConfigureDnsSettingsRequest.Builder setDnsSettings(DnsSettings value)
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
    • setDnsSettings

      public ConfigureDnsSettingsRequest.Builder setDnsSettings(DnsSettings.Builder builderForValue)
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
    • mergeDnsSettings

      public ConfigureDnsSettingsRequest.Builder mergeDnsSettings(DnsSettings value)
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
    • clearDnsSettings

      public ConfigureDnsSettingsRequest.Builder clearDnsSettings()
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
    • getDnsSettingsBuilder

      public DnsSettings.Builder getDnsSettingsBuilder()
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
    • getDnsSettingsOrBuilder

      public DnsSettingsOrBuilder getDnsSettingsOrBuilder()
       Fields of the `DnsSettings` to update.
       
      .google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
      Specified by:
      getDnsSettingsOrBuilder in interface ConfigureDnsSettingsRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface ConfigureDnsSettingsRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface ConfigureDnsSettingsRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public ConfigureDnsSettingsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public ConfigureDnsSettingsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public ConfigureDnsSettingsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public ConfigureDnsSettingsRequest.Builder clearUpdateMask()
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. The field mask describing which fields to update as a comma-separated list.
       For example, if only the name servers are being updated for an existing
       Custom DNS configuration, the `update_mask` is
       `"custom_dns.name_servers"`.
      
       When changing the DNS provider from one type to another, pass the new
       provider's field name as part of the field mask. For example, when changing
       from a Google Domains DNS configuration to a Custom DNS configuration, the
       `update_mask` is `"custom_dns"`. //
       
      .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface ConfigureDnsSettingsRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Validate the request without actually updating the DNS settings.
       
      bool validate_only = 4;
      Specified by:
      getValidateOnly in interface ConfigureDnsSettingsRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public ConfigureDnsSettingsRequest.Builder setValidateOnly(boolean value)
       Validate the request without actually updating the DNS settings.
       
      bool validate_only = 4;
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public ConfigureDnsSettingsRequest.Builder clearValidateOnly()
       Validate the request without actually updating the DNS settings.
       
      bool validate_only = 4;
      Returns:
      This builder for chaining.