Class ConfigureDnsSettingsRequest (1.40.0)

public final class ConfigureDnsSettingsRequest extends GeneratedMessageV3 implements ConfigureDnsSettingsRequestOrBuilder

Request for the ConfigureDnsSettings method.

Protobuf type google.cloud.domains.v1.ConfigureDnsSettingsRequest

Static Fields

DNS_SETTINGS_FIELD_NUMBER

public static final int DNS_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

REGISTRATION_FIELD_NUMBER

public static final int REGISTRATION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConfigureDnsSettingsRequest getDefaultInstance()
Returns
Type Description
ConfigureDnsSettingsRequest

getDescriptor()

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

newBuilder()

public static ConfigureDnsSettingsRequest.Builder newBuilder()
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

newBuilder(ConfigureDnsSettingsRequest prototype)

public static ConfigureDnsSettingsRequest.Builder newBuilder(ConfigureDnsSettingsRequest prototype)
Parameter
Name Description
prototype ConfigureDnsSettingsRequest
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ConfigureDnsSettingsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureDnsSettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConfigureDnsSettingsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConfigureDnsSettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConfigureDnsSettingsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConfigureDnsSettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConfigureDnsSettingsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureDnsSettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConfigureDnsSettingsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureDnsSettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConfigureDnsSettingsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConfigureDnsSettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureDnsSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConfigureDnsSettingsRequest> parser()
Returns
Type Description
Parser<ConfigureDnsSettingsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ConfigureDnsSettingsRequest getDefaultInstanceForType()
Returns
Type Description
ConfigureDnsSettingsRequest

getDnsSettings()

public DnsSettings getDnsSettings()

Fields of the DnsSettings to update.

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

Returns
Type Description
DnsSettings

The dnsSettings.

getDnsSettingsOrBuilder()

public DnsSettingsOrBuilder getDnsSettingsOrBuilder()

Fields of the DnsSettings to update.

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

Returns
Type Description
DnsSettingsOrBuilder

getParserForType()

public Parser<ConfigureDnsSettingsRequest> getParserForType()
Returns
Type Description
Parser<ConfigureDnsSettingsRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.v1.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConfigureDnsSettingsRequest.Builder newBuilderForType()
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConfigureDnsSettingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConfigureDnsSettingsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConfigureDnsSettingsRequest.Builder toBuilder()
Returns
Type Description
ConfigureDnsSettingsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException