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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConfigureDnsSettingsRequest.BuilderImplements
ConfigureDnsSettingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfigureDnsSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
build()
public ConfigureDnsSettingsRequest build()
Type | Description |
ConfigureDnsSettingsRequest |
buildPartial()
public ConfigureDnsSettingsRequest buildPartial()
Type | Description |
ConfigureDnsSettingsRequest |
clear()
public ConfigureDnsSettingsRequest.Builder clear()
Type | Description |
ConfigureDnsSettingsRequest.Builder |
clearDnsSettings()
public ConfigureDnsSettingsRequest.Builder clearDnsSettings()
Fields of the DnsSettings
to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
Type | Description |
ConfigureDnsSettingsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConfigureDnsSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfigureDnsSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
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) = { ... }
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];
Type | Description |
ConfigureDnsSettingsRequest.Builder |
clearValidateOnly()
public ConfigureDnsSettingsRequest.Builder clearValidateOnly()
Validate the request without actually updating the DNS settings.
bool validate_only = 4;
Type | Description |
ConfigureDnsSettingsRequest.Builder | This builder for chaining. |
clone()
public ConfigureDnsSettingsRequest.Builder clone()
Type | Description |
ConfigureDnsSettingsRequest.Builder |
getDefaultInstanceForType()
public ConfigureDnsSettingsRequest getDefaultInstanceForType()
Type | Description |
ConfigureDnsSettingsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDnsSettings()
public DnsSettings getDnsSettings()
Fields of the DnsSettings
to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
Type | Description |
DnsSettings | The dnsSettings. |
getDnsSettingsBuilder()
public DnsSettings.Builder getDnsSettingsBuilder()
Fields of the DnsSettings
to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
Type | Description |
DnsSettings.Builder |
getDnsSettingsOrBuilder()
public DnsSettingsOrBuilder getDnsSettingsOrBuilder()
Fields of the DnsSettings
to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
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) = { ... }
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) = { ... }
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];
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];
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];
Type | Description |
FieldMaskOrBuilder |
getValidateOnly()
public boolean getValidateOnly()
Validate the request without actually updating the DNS settings.
bool validate_only = 4;
Type | Description |
boolean | The validateOnly. |
hasDnsSettings()
public boolean hasDnsSettings()
Fields of the DnsSettings
to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
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];
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDnsSettings(DnsSettings value)
public ConfigureDnsSettingsRequest.Builder mergeDnsSettings(DnsSettings value)
Fields of the DnsSettings
to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;
Name | Description |
value | DnsSettings |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
mergeFrom(ConfigureDnsSettingsRequest other)
public ConfigureDnsSettingsRequest.Builder mergeFrom(ConfigureDnsSettingsRequest other)
Name | Description |
other | ConfigureDnsSettingsRequest |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConfigureDnsSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConfigureDnsSettingsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfigureDnsSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
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];
Name | Description |
value | FieldMask |
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;
Name | Description |
value | DnsSettings |
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;
Name | Description |
builderForValue | DnsSettings.Builder |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConfigureDnsSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
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) = { ... }
Name | Description |
value | String The registration to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for registration to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfigureDnsSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConfigureDnsSettingsRequest.Builder |
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];
Name | Description |
value | FieldMask |
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];
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | boolean The validateOnly to set. |
Type | Description |
ConfigureDnsSettingsRequest.Builder | This builder for chaining. |