Class Registration.Builder (1.49.0)

public static final class Registration.Builder extends GeneratedMessageV3.Builder<Registration.Builder> implements RegistrationOrBuilder

The Registration resource facilitates managing and configuring domain name registrations.

There are several ways to create a new Registration resource:

To create a new Registration resource, find a suitable domain name by calling the SearchDomains method with a query to see available domain name options. After choosing a name, call RetrieveRegisterParameters to ensure availability and obtain information like pricing, which is needed to build a call to RegisterDomain.

Another way to create a new Registration is to transfer an existing domain from another registrar. First, go to the current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call RetrieveTransferParameters to confirm that the domain is unlocked and to get values needed to build a call to TransferDomain.

Protobuf type google.cloud.domains.v1beta1.Registration

Static Methods

getDescriptor()

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

Methods

addAllIssues(Iterable<? extends Registration.Issue> values)

public Registration.Builder addAllIssues(Iterable<? extends Registration.Issue> values)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.domains.v1beta1.Registration.Issue>

The issues to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

addAllIssuesValue(Iterable<Integer> values)

public Registration.Builder addAllIssuesValue(Iterable<Integer> values)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for issues to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

addAllSupportedPrivacy(Iterable<? extends ContactPrivacy> values)

public Registration.Builder addAllSupportedPrivacy(Iterable<? extends ContactPrivacy> values)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.domains.v1beta1.ContactPrivacy>

The supportedPrivacy to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

addAllSupportedPrivacyValue(Iterable<Integer> values)

public Registration.Builder addAllSupportedPrivacyValue(Iterable<Integer> values)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for supportedPrivacy to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

addIssues(Registration.Issue value)

public Registration.Builder addIssues(Registration.Issue value)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Registration.Issue

The issues to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

addIssuesValue(int value)

public Registration.Builder addIssuesValue(int value)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for issues to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Registration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Registration.Builder
Overrides

addSupportedPrivacy(ContactPrivacy value)

public Registration.Builder addSupportedPrivacy(ContactPrivacy value)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ContactPrivacy

The supportedPrivacy to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

addSupportedPrivacyValue(int value)

public Registration.Builder addSupportedPrivacyValue(int value)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for supportedPrivacy to add.

Returns
Type Description
Registration.Builder

This builder for chaining.

build()

public Registration build()
Returns
Type Description
Registration

buildPartial()

public Registration buildPartial()
Returns
Type Description
Registration

clear()

public Registration.Builder clear()
Returns
Type Description
Registration.Builder
Overrides

clearContactSettings()

public Registration.Builder clearContactSettings()

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Registration.Builder

clearCreateTime()

public Registration.Builder clearCreateTime()

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.Builder

clearDnsSettings()

public Registration.Builder clearDnsSettings()

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Returns
Type Description
Registration.Builder

clearDomainName()

public Registration.Builder clearDomainName()

Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.

string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Registration.Builder

This builder for chaining.

clearExpireTime()

public Registration.Builder clearExpireTime()

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.Builder

clearField(Descriptors.FieldDescriptor field)

public Registration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Registration.Builder
Overrides

clearIssues()

public Registration.Builder clearIssues()

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.Builder

This builder for chaining.

clearLabels()

public Registration.Builder clearLabels()
Returns
Type Description
Registration.Builder

clearManagementSettings()

public Registration.Builder clearManagementSettings()

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Returns
Type Description
Registration.Builder

clearName()

public Registration.Builder clearName()

Output only. Name of the Registration resource, in the format projects/*/locations/*/registrations/<domain_name>.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Registration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Registration.Builder
Overrides

clearPendingContactSettings()

public Registration.Builder clearPendingContactSettings()

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.Builder

clearState()

public Registration.Builder clearState()

Output only. The state of the Registration

.google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.Builder

This builder for chaining.

clearSupportedPrivacy()

public Registration.Builder clearSupportedPrivacy()

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.Builder

This builder for chaining.

clone()

public Registration.Builder clone()
Returns
Type Description
Registration.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameter
Name Description
key String
Returns
Type Description
boolean

getContactSettings()

public ContactSettings getContactSettings()

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContactSettings

The contactSettings.

getContactSettingsBuilder()

public ContactSettings.Builder getContactSettingsBuilder()

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContactSettings.Builder

getContactSettingsOrBuilder()

public ContactSettingsOrBuilder getContactSettingsOrBuilder()

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContactSettingsOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Registration getDefaultInstanceForType()
Returns
Type Description
Registration

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDnsSettings()

public DnsSettings getDnsSettings()

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Returns
Type Description
DnsSettings

The dnsSettings.

getDnsSettingsBuilder()

public DnsSettings.Builder getDnsSettingsBuilder()

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Returns
Type Description
DnsSettings.Builder

getDnsSettingsOrBuilder()

public DnsSettingsOrBuilder getDnsSettingsOrBuilder()

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Returns
Type Description
DnsSettingsOrBuilder

getDomainName()

public String getDomainName()

Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.

string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The domainName.

getDomainNameBytes()

public ByteString getDomainNameBytes()

Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.

string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for domainName.

getExpireTime()

public Timestamp getExpireTime()

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getIssues(int index)

public Registration.Issue getIssues(int index)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Registration.Issue

The issues at the given index.

getIssuesCount()

public int getIssuesCount()

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of issues.

getIssuesList()

public List<Registration.Issue> getIssuesList()

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Issue>

A list containing the issues.

getIssuesValue(int index)

public int getIssuesValue(int index)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of issues at the given index.

getIssuesValueList()

public List<Integer> getIssuesValueList()

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for issues.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Set of labels associated with the Registration.

map<string, string> labels = 9;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of labels associated with the Registration.

map<string, string> labels = 9;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameter
Name Description
key String
Returns
Type Description
String

getManagementSettings()

public ManagementSettings getManagementSettings()

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Returns
Type Description
ManagementSettings

The managementSettings.

getManagementSettingsBuilder()

public ManagementSettings.Builder getManagementSettingsBuilder()

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Returns
Type Description
ManagementSettings.Builder

getManagementSettingsOrBuilder()

public ManagementSettingsOrBuilder getManagementSettingsOrBuilder()

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Returns
Type Description
ManagementSettingsOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Output only. Name of the Registration resource, in the format projects/*/locations/*/registrations/<domain_name>.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the Registration resource, in the format projects/*/locations/*/registrations/<domain_name>.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPendingContactSettings()

public ContactSettings getPendingContactSettings()

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContactSettings

The pendingContactSettings.

getPendingContactSettingsBuilder()

public ContactSettings.Builder getPendingContactSettingsBuilder()

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContactSettings.Builder

getPendingContactSettingsOrBuilder()

public ContactSettingsOrBuilder getPendingContactSettingsOrBuilder()

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContactSettingsOrBuilder

getState()

public Registration.State getState()

Output only. The state of the Registration

.google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Registration.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the Registration

.google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSupportedPrivacy(int index)

public ContactPrivacy getSupportedPrivacy(int index)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ContactPrivacy

The supportedPrivacy at the given index.

getSupportedPrivacyCount()

public int getSupportedPrivacyCount()

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of supportedPrivacy.

getSupportedPrivacyList()

public List<ContactPrivacy> getSupportedPrivacyList()

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ContactPrivacy>

A list containing the supportedPrivacy.

getSupportedPrivacyValue(int index)

public int getSupportedPrivacyValue(int index)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedPrivacy at the given index.

getSupportedPrivacyValueList()

public List<Integer> getSupportedPrivacyValueList()

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedPrivacy.

hasContactSettings()

public boolean hasContactSettings()

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the contactSettings field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDnsSettings()

public boolean hasDnsSettings()

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Returns
Type Description
boolean

Whether the dnsSettings field is set.

hasExpireTime()

public boolean hasExpireTime()

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

hasManagementSettings()

public boolean hasManagementSettings()

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Returns
Type Description
boolean

Whether the managementSettings field is set.

hasPendingContactSettings()

public boolean hasPendingContactSettings()

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the pendingContactSettings field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContactSettings(ContactSettings value)

public Registration.Builder mergeContactSettings(ContactSettings value)

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ContactSettings
Returns
Type Description
Registration.Builder

mergeCreateTime(Timestamp value)

public Registration.Builder mergeCreateTime(Timestamp value)

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Registration.Builder

mergeDnsSettings(DnsSettings value)

public Registration.Builder mergeDnsSettings(DnsSettings value)

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Parameter
Name Description
value DnsSettings
Returns
Type Description
Registration.Builder

mergeExpireTime(Timestamp value)

public Registration.Builder mergeExpireTime(Timestamp value)

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Registration.Builder

mergeFrom(Registration other)

public Registration.Builder mergeFrom(Registration other)
Parameter
Name Description
other Registration
Returns
Type Description
Registration.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Registration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Registration.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Registration.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Registration.Builder
Overrides

mergeManagementSettings(ManagementSettings value)

public Registration.Builder mergeManagementSettings(ManagementSettings value)

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Parameter
Name Description
value ManagementSettings
Returns
Type Description
Registration.Builder

mergePendingContactSettings(ContactSettings value)

public Registration.Builder mergePendingContactSettings(ContactSettings value)

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ContactSettings
Returns
Type Description
Registration.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Registration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Registration.Builder
Overrides

putAllLabels(Map<String,String> values)

public Registration.Builder putAllLabels(Map<String,String> values)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Registration.Builder

putLabels(String key, String value)

public Registration.Builder putLabels(String key, String value)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameters
Name Description
key String
value String
Returns
Type Description
Registration.Builder

removeLabels(String key)

public Registration.Builder removeLabels(String key)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameter
Name Description
key String
Returns
Type Description
Registration.Builder

setContactSettings(ContactSettings value)

public Registration.Builder setContactSettings(ContactSettings value)

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ContactSettings
Returns
Type Description
Registration.Builder

setContactSettings(ContactSettings.Builder builderForValue)

public Registration.Builder setContactSettings(ContactSettings.Builder builderForValue)

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

.google.cloud.domains.v1beta1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ContactSettings.Builder
Returns
Type Description
Registration.Builder

setCreateTime(Timestamp value)

public Registration.Builder setCreateTime(Timestamp value)

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Registration.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Registration.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation timestamp of the Registration resource.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Registration.Builder

setDnsSettings(DnsSettings value)

public Registration.Builder setDnsSettings(DnsSettings value)

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Parameter
Name Description
value DnsSettings
Returns
Type Description
Registration.Builder

setDnsSettings(DnsSettings.Builder builderForValue)

public Registration.Builder setDnsSettings(DnsSettings.Builder builderForValue)

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

.google.cloud.domains.v1beta1.DnsSettings dns_settings = 11;

Parameter
Name Description
builderForValue DnsSettings.Builder
Returns
Type Description
Registration.Builder

setDomainName(String value)

public Registration.Builder setDomainName(String value)

Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.

string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The domainName to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setDomainNameBytes(ByteString value)

public Registration.Builder setDomainNameBytes(ByteString value)

Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.

string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for domainName to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public Registration.Builder setExpireTime(Timestamp value)

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Registration.Builder

setExpireTime(Timestamp.Builder builderForValue)

public Registration.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. The expiration timestamp of the Registration.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Registration.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Registration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Registration.Builder
Overrides

setIssues(int index, Registration.Issue value)

public Registration.Builder setIssues(int index, Registration.Issue value)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value Registration.Issue

The issues to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setIssuesValue(int index, int value)

public Registration.Builder setIssuesValue(int index, int value)

Output only. The set of issues with the Registration that require attention.

repeated .google.cloud.domains.v1beta1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for issues to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setManagementSettings(ManagementSettings value)

public Registration.Builder setManagementSettings(ManagementSettings value)

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Parameter
Name Description
value ManagementSettings
Returns
Type Description
Registration.Builder

setManagementSettings(ManagementSettings.Builder builderForValue)

public Registration.Builder setManagementSettings(ManagementSettings.Builder builderForValue)

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

.google.cloud.domains.v1beta1.ManagementSettings management_settings = 10;

Parameter
Name Description
builderForValue ManagementSettings.Builder
Returns
Type Description
Registration.Builder

setName(String value)

public Registration.Builder setName(String value)

Output only. Name of the Registration resource, in the format projects/*/locations/*/registrations/<domain_name>.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Registration.Builder setNameBytes(ByteString value)

Output only. Name of the Registration resource, in the format projects/*/locations/*/registrations/<domain_name>.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setPendingContactSettings(ContactSettings value)

public Registration.Builder setPendingContactSettings(ContactSettings value)

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ContactSettings
Returns
Type Description
Registration.Builder

setPendingContactSettings(ContactSettings.Builder builderForValue)

public Registration.Builder setPendingContactSettings(ContactSettings.Builder builderForValue)

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

.google.cloud.domains.v1beta1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ContactSettings.Builder
Returns
Type Description
Registration.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Registration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Registration.Builder
Overrides

setState(Registration.State value)

public Registration.Builder setState(Registration.State value)

Output only. The state of the Registration

.google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Registration.State

The state to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setStateValue(int value)

public Registration.Builder setStateValue(int value)

Output only. The state of the Registration

.google.cloud.domains.v1beta1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setSupportedPrivacy(int index, ContactPrivacy value)

public Registration.Builder setSupportedPrivacy(int index, ContactPrivacy value)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value ContactPrivacy

The supportedPrivacy to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setSupportedPrivacyValue(int index, int value)

public Registration.Builder setSupportedPrivacyValue(int index, int value)

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for supportedPrivacy to set.

Returns
Type Description
Registration.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Registration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Registration.Builder
Overrides