Class ConfigureDnsSettingsRequest.Builder (1.40.0)

public static final class ConfigureDnsSettingsRequest.Builder extends GeneratedMessageV3.Builder<ConfigureDnsSettingsRequest.Builder> implements ConfigureDnsSettingsRequestOrBuilder

Request for the ConfigureDnsSettings method.

Protobuf type google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfigureDnsSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

build()

public ConfigureDnsSettingsRequest build()
Returns
Type Description
ConfigureDnsSettingsRequest

buildPartial()

public ConfigureDnsSettingsRequest buildPartial()
Returns
Type Description
ConfigureDnsSettingsRequest

clear()

public ConfigureDnsSettingsRequest.Builder clear()
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

clearDnsSettings()

public ConfigureDnsSettingsRequest.Builder clearDnsSettings()

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Returns
Type Description
ConfigureDnsSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ConfigureDnsSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfigureDnsSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

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
Type Description
ConfigureDnsSettingsRequest.Builder

This builder for chaining.

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];

Returns
Type Description
ConfigureDnsSettingsRequest.Builder

clearValidateOnly()

public ConfigureDnsSettingsRequest.Builder clearValidateOnly()

Validate the request without actually updating the DNS settings.

bool validate_only = 4;

Returns
Type Description
ConfigureDnsSettingsRequest.Builder

This builder for chaining.

clone()

public ConfigureDnsSettingsRequest.Builder clone()
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public ConfigureDnsSettingsRequest getDefaultInstanceForType()
Returns
Type Description
ConfigureDnsSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDnsSettings()

public DnsSettings getDnsSettings()

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Returns
Type Description
DnsSettings

The dnsSettings.

getDnsSettingsBuilder()

public DnsSettings.Builder getDnsSettingsBuilder()

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Returns
Type Description
DnsSettings.Builder

getDnsSettingsOrBuilder()

public DnsSettingsOrBuilder getDnsSettingsOrBuilder()

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Returns
Type Description
DnsSettingsOrBuilder

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) = { ... }

Returns
Type Description
String

The registration.

getRegistrationBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for registration.

getUpdateMask()

public 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];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public 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];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public 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];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Validate the request without actually updating the DNS settings.

bool validate_only = 4;

Returns
Type Description
boolean

The validateOnly.

hasDnsSettings()

public boolean hasDnsSettings()

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Returns
Type Description
boolean

Whether the dnsSettings field is set.

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];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDnsSettings(DnsSettings value)

public ConfigureDnsSettingsRequest.Builder mergeDnsSettings(DnsSettings value)

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Parameter
Name Description
value DnsSettings
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

mergeFrom(ConfigureDnsSettingsRequest other)

public ConfigureDnsSettingsRequest.Builder mergeFrom(ConfigureDnsSettingsRequest other)
Parameter
Name Description
other ConfigureDnsSettingsRequest
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConfigureDnsSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConfigureDnsSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureDnsSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public ConfigureDnsSettingsRequest.Builder mergeUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

setDnsSettings(DnsSettings value)

public ConfigureDnsSettingsRequest.Builder setDnsSettings(DnsSettings value)

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Parameter
Name Description
value DnsSettings
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

setDnsSettings(DnsSettings.Builder builderForValue)

public ConfigureDnsSettingsRequest.Builder setDnsSettings(DnsSettings.Builder builderForValue)

Fields of the DnsSettings to update.

.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;

Parameter
Name Description
builderForValue DnsSettings.Builder
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConfigureDnsSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

setRegistration(String value)

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) = { ... }

Parameter
Name Description
value String

The registration to set.

Returns
Type Description
ConfigureDnsSettingsRequest.Builder

This builder for chaining.

setRegistrationBytes(ByteString value)

public ConfigureDnsSettingsRequest.Builder setRegistrationBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for registration to set.

Returns
Type Description
ConfigureDnsSettingsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConfigureDnsSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureDnsSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public ConfigureDnsSettingsRequest.Builder setUpdateMask(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];

Parameter
Name Description
value FieldMask
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public ConfigureDnsSettingsRequest.Builder setUpdateMask(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

setValidateOnly(boolean value)

public ConfigureDnsSettingsRequest.Builder setValidateOnly(boolean value)

Validate the request without actually updating the DNS settings.

bool validate_only = 4;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
ConfigureDnsSettingsRequest.Builder

This builder for chaining.