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