public final class ConfigureDnsSettingsRequest extends GeneratedMessageV3 implements ConfigureDnsSettingsRequestOrBuilder
Request for the ConfigureDnsSettings
method.
Protobuf type google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest
Static Fields
DNS_SETTINGS_FIELD_NUMBER
public static final int DNS_SETTINGS_FIELD_NUMBER
Field Value
REGISTRATION_FIELD_NUMBER
public static final int REGISTRATION_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConfigureDnsSettingsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConfigureDnsSettingsRequest.Builder newBuilder()
Returns
newBuilder(ConfigureDnsSettingsRequest prototype)
public static ConfigureDnsSettingsRequest.Builder newBuilder(ConfigureDnsSettingsRequest prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ConfigureDnsSettingsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigureDnsSettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConfigureDnsSettingsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConfigureDnsSettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConfigureDnsSettingsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigureDnsSettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ConfigureDnsSettingsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigureDnsSettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ConfigureDnsSettingsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigureDnsSettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConfigureDnsSettingsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConfigureDnsSettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConfigureDnsSettingsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ConfigureDnsSettingsRequest getDefaultInstanceForType()
Returns
getDnsSettings()
public DnsSettings getDnsSettings()
Fields of the DnsSettings
to update.
.google.cloud.domains.v1beta1.DnsSettings dns_settings = 2;
Returns
getDnsSettingsOrBuilder()
public DnsSettingsOrBuilder getDnsSettingsOrBuilder()
Fields of the DnsSettings
to update.
.google.cloud.domains.v1beta1.DnsSettings dns_settings = 2;
Returns
getParserForType()
public Parser<ConfigureDnsSettingsRequest> getParserForType()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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
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.v1beta1.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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConfigureDnsSettingsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConfigureDnsSettingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConfigureDnsSettingsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions