Class ConfigureDnsSettingsRequest.Builder (1.4.0)

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

Request for the ConfigureDnsSettings method.

Protobuf type google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfigureDnsSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder
Overrides

build()

public ConfigureDnsSettingsRequest build()
Returns
TypeDescription
ConfigureDnsSettingsRequest

buildPartial()

public ConfigureDnsSettingsRequest buildPartial()
Returns
TypeDescription
ConfigureDnsSettingsRequest

clear()

public ConfigureDnsSettingsRequest.Builder clear()
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder
Overrides

clearDnsSettings()

public ConfigureDnsSettingsRequest.Builder clearDnsSettings()

Fields of the DnsSettings to update.

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

Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ConfigureDnsSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfigureDnsSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ConfigureDnsSettingsRequest.Builder

clearValidateOnly()

public ConfigureDnsSettingsRequest.Builder clearValidateOnly()

Validate the request without actually updating the DNS settings.

bool validate_only = 4;

Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

This builder for chaining.

clone()

public ConfigureDnsSettingsRequest.Builder clone()
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public ConfigureDnsSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
ConfigureDnsSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDnsSettings()

public DnsSettings getDnsSettings()

Fields of the DnsSettings to update.

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

Returns
TypeDescription
DnsSettings

The dnsSettings.

getDnsSettingsBuilder()

public DnsSettings.Builder getDnsSettingsBuilder()

Fields of the DnsSettings to update.

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

Returns
TypeDescription
DnsSettings.Builder

getDnsSettingsOrBuilder()

public DnsSettingsOrBuilder getDnsSettingsOrBuilder()

Fields of the DnsSettings to update.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Validate the request without actually updating the DNS settings.

bool validate_only = 4;

Returns
TypeDescription
boolean

The validateOnly.

hasDnsSettings()

public boolean hasDnsSettings()

Fields of the DnsSettings to update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDnsSettings(DnsSettings value)

public ConfigureDnsSettingsRequest.Builder mergeDnsSettings(DnsSettings value)

Fields of the DnsSettings to update.

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

Parameter
NameDescription
valueDnsSettings
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

mergeFrom(ConfigureDnsSettingsRequest other)

public ConfigureDnsSettingsRequest.Builder mergeFrom(ConfigureDnsSettingsRequest other)
Parameter
NameDescription
otherConfigureDnsSettingsRequest
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConfigureDnsSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConfigureDnsSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureDnsSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

setDnsSettings(DnsSettings value)

public ConfigureDnsSettingsRequest.Builder setDnsSettings(DnsSettings value)

Fields of the DnsSettings to update.

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

Parameter
NameDescription
valueDnsSettings
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

setDnsSettings(DnsSettings.Builder builderForValue)

public ConfigureDnsSettingsRequest.Builder setDnsSettings(DnsSettings.Builder builderForValue)

Fields of the DnsSettings to update.

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

Parameter
NameDescription
builderForValueDnsSettings.Builder
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConfigureDnsSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The registration to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for registration to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureDnsSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
ConfigureDnsSettingsRequest.Builder

This builder for chaining.