Class Registration (1.3.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class Registration extends GeneratedMessageV3 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.v1alpha2.Registration

Static Fields

CONTACT_SETTINGS_FIELD_NUMBER

public static final int CONTACT_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DNS_SETTINGS_FIELD_NUMBER

public static final int DNS_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

DOMAIN_NAME_FIELD_NUMBER

public static final int DOMAIN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ISSUES_FIELD_NUMBER

public static final int ISSUES_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

MANAGEMENT_SETTINGS_FIELD_NUMBER

public static final int MANAGEMENT_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PENDING_CONTACT_SETTINGS_FIELD_NUMBER

public static final int PENDING_CONTACT_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_PRIVACY_FIELD_NUMBER

public static final int SUPPORTED_PRIVACY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Registration getDefaultInstance()
Returns
TypeDescription
Registration

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Registration.Builder newBuilder()
Returns
TypeDescription
Registration.Builder

newBuilder(Registration prototype)

public static Registration.Builder newBuilder(Registration prototype)
Parameter
NameDescription
prototypeRegistration
Returns
TypeDescription
Registration.Builder

parseDelimitedFrom(InputStream input)

public static Registration parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Registration
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Registration parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Registration
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Registration parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Registration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Registration parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Registration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Registration parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Registration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Registration parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Registration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Registration parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Registration
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Registration parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Registration
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Registration parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Registration
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Registration parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Registration
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Registration parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Registration
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Registration parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Registration
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Registration> parser()
Returns
TypeDescription
Parser<Registration>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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

Returns
TypeDescription
ContactSettings

The contactSettings.

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.v1alpha2.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.

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

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.v1alpha2.DnsSettings dns_settings = 11;

Returns
TypeDescription
DnsSettings

The dnsSettings.

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.v1alpha2.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.

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.