Class Registration.Builder (0.6.1)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.domains.v1.Registration.Issue>

The issues to add.

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.domains.v1.ContactPrivacy>

The supportedPrivacy to add.

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueRegistration.Issue

The issues to add.

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Registration.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Registration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueContactPrivacy

The supportedPrivacy to add.

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Registration.Builder

This builder for chaining.

build()

public Registration build()
Returns
TypeDescription
Registration

buildPartial()

public Registration buildPartial()
Returns
TypeDescription
Registration

clear()

public Registration.Builder clear()
Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Registration.Builder

clearField(Descriptors.FieldDescriptor field)

public Registration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Registration.Builder
Overrides

clearIssues()

public Registration.Builder clearIssues()

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

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

Returns
TypeDescription
Registration.Builder

This builder for chaining.

clearLabels()

public Registration.Builder clearLabels()
Returns
TypeDescription
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.v1.ManagementSettings management_settings = 10;

Returns
TypeDescription
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
TypeDescription
Registration.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Registration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Registration.Builder

clearState()

public Registration.Builder clearState()

Output only. The state of the Registration

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

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Registration.Builder

This builder for chaining.

clone()

public Registration.Builder clone()
Returns
TypeDescription
Registration.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Registration getDefaultInstanceForType()
Returns
TypeDescription
Registration

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Returns
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Returns
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Integer>

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

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Set of labels associated with the Registration.

map<string, string> labels = 9;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of labels associated with the Registration.

map<string, string> labels = 9;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
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.v1.ManagementSettings management_settings = 10;

Returns
TypeDescription
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.v1.ManagementSettings management_settings = 10;

Returns
TypeDescription
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.v1.ManagementSettings management_settings = 10;

Returns
TypeDescription
ManagementSettingsOrBuilder

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ContactSettingsOrBuilder

getState()

public Registration.State getState()

Output only. The state of the Registration

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

Returns
TypeDescription
Registration.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the Registration

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

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Returns
TypeDescription
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
TypeDescription
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.v1.ManagementSettings management_settings = 10;

Returns
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the pendingContactSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueContactSettings
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Parameter
NameDescription
valueDnsSettings
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Registration.Builder

mergeFrom(Registration other)

public Registration.Builder mergeFrom(Registration other)
Parameter
NameDescription
otherRegistration
Returns
TypeDescription
Registration.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Registration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Registration.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Registration.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.ManagementSettings management_settings = 10;

Parameter
NameDescription
valueManagementSettings
Returns
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueContactSettings
Returns
TypeDescription
Registration.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Registration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
Registration.Builder

removeLabels(String key)

public Registration.Builder removeLabels(String key)

Set of labels associated with the Registration.

map<string, string> labels = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueContactSettings
Returns
TypeDescription
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.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueContactSettings.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Parameter
NameDescription
valueDnsSettings
Returns
TypeDescription
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.v1.DnsSettings dns_settings = 11;

Parameter
NameDescription
builderForValueDnsSettings.Builder
Returns
TypeDescription
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
NameDescription
valueString

The domainName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for domainName to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Registration.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Registration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint

The index to set the value at.

valueRegistration.Issue

The issues to set.

Returns
TypeDescription
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.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint

The index of the value to return.

valueint
Returns
TypeDescription
Registration.Builder

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

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.v1.ManagementSettings management_settings = 10;

Parameter
NameDescription
valueManagementSettings
Returns
TypeDescription
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.v1.ManagementSettings management_settings = 10;

Parameter
NameDescription
builderForValueManagementSettings.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueContactSettings
Returns
TypeDescription
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.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueContactSettings.Builder
Returns
TypeDescription
Registration.Builder

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

public Registration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Registration.Builder
Overrides

setState(Registration.State value)

public Registration.Builder setState(Registration.State value)

Output only. The state of the Registration

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

Parameter
NameDescription
valueRegistration.State

The state to set.

Returns
TypeDescription
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.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint

The index to set the value at.

valueContactPrivacy

The supportedPrivacy to set.

Returns
TypeDescription
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.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint

The index of the value to return.

valueint
Returns
TypeDescription
Registration.Builder

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Registration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Registration.Builder
Overrides