Class ConfigureDnsSettingsRequest.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<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.GeneratedMessageV3.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

        public ConfigureDnsSettingsRequest 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.v1beta1.DnsSettings dns_settings = 2;
        Specified by:
        hasDnsSettings in interface ConfigureDnsSettingsRequestOrBuilder
        Returns:
        Whether the dnsSettings field is set.
      • clearDnsSettings

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

        public DnsSettings.Builder getDnsSettingsBuilder()
         Fields of the `DnsSettings` to update.
         
        .google.cloud.domains.v1beta1.DnsSettings dns_settings = 2;
      • 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
      • 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.
      • mergeUnknownFields

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