Class ConfigureDnsSettingsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder>
com.google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest.Builder
- All Implemented Interfaces:
ConfigureDnsSettingsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConfigureDnsSettingsRequest
public static final class ConfigureDnsSettingsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder>
implements ConfigureDnsSettingsRequestOrBuilder
Request for the `ConfigureDnsSettings` method.Protobuf type
google.cloud.domains.v1alpha2.ConfigureDnsSettingsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Fields of the `DnsSettings` to update.Required.Required.Validate the request without actually updating the DNS settings.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFields of the `DnsSettings` to update.Fields of the `DnsSettings` to update.Fields of the `DnsSettings` to update.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.FieldMaskRequired.com.google.protobuf.FieldMask.BuilderRequired.com.google.protobuf.FieldMaskOrBuilderRequired.booleanValidate the request without actually updating the DNS settings.booleanFields of the `DnsSettings` to update.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDnsSettings(DnsSettings value) Fields of the `DnsSettings` to update.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateMask(com.google.protobuf.FieldMask value) Required.setDnsSettings(DnsSettings value) Fields of the `DnsSettings` to update.setDnsSettings(DnsSettings.Builder builderForValue) Fields of the `DnsSettings` to update.setRegistration(String value) Required.setRegistrationBytes(com.google.protobuf.ByteString value) Required.setUpdateMask(com.google.protobuf.FieldMask value) Required.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Required.setValidateOnly(boolean value) Validate the request without actually updating the DNS settings.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigureDnsSettingsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfigureDnsSettingsRequest.Builder>
-
mergeFrom
public ConfigureDnsSettingsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigureDnsSettingsRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getRegistrationin interfaceConfigureDnsSettingsRequestOrBuilder- Returns:
- The registration.
-
getRegistrationBytes
public com.google.protobuf.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) = { ... }- Specified by:
getRegistrationBytesin interfaceConfigureDnsSettingsRequestOrBuilder- Returns:
- The bytes for registration.
-
setRegistration
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) = { ... }- Parameters:
value- The registration to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setRegistrationBytes
public ConfigureDnsSettingsRequest.Builder setRegistrationBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes for registration to set.- Returns:
- This builder for chaining.
-
hasDnsSettings
public boolean hasDnsSettings()Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;- Specified by:
hasDnsSettingsin interfaceConfigureDnsSettingsRequestOrBuilder- Returns:
- Whether the dnsSettings field is set.
-
getDnsSettings
Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;- Specified by:
getDnsSettingsin interfaceConfigureDnsSettingsRequestOrBuilder- Returns:
- The dnsSettings.
-
setDnsSettings
Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; -
setDnsSettings
Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; -
mergeDnsSettings
Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; -
clearDnsSettings
Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; -
getDnsSettingsBuilder
Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2; -
getDnsSettingsOrBuilder
Fields of the `DnsSettings` to update.
.google.cloud.domains.v1alpha2.DnsSettings dns_settings = 2;- Specified by:
getDnsSettingsOrBuilderin interfaceConfigureDnsSettingsRequestOrBuilder
-
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];- Specified by:
hasUpdateMaskin interfaceConfigureDnsSettingsRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.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];- Specified by:
getUpdateMaskin interfaceConfigureDnsSettingsRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
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]; -
setUpdateMask
public ConfigureDnsSettingsRequest.Builder setUpdateMask(com.google.protobuf.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]; -
mergeUpdateMask
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]; -
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]; -
getUpdateMaskBuilder
public com.google.protobuf.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]; -
getUpdateMaskOrBuilder
public com.google.protobuf.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];- Specified by:
getUpdateMaskOrBuilderin interfaceConfigureDnsSettingsRequestOrBuilder
-
getValidateOnly
public boolean getValidateOnly()Validate the request without actually updating the DNS settings.
bool validate_only = 4;- Specified by:
getValidateOnlyin interfaceConfigureDnsSettingsRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
Validate the request without actually updating the DNS settings.
bool validate_only = 4;- Parameters:
value- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
Validate the request without actually updating the DNS settings.
bool validate_only = 4;- Returns:
- This builder for chaining.
-