Class ContactSettings (1.14.0)

public final class ContactSettings extends GeneratedMessageV3 implements ContactSettingsOrBuilder

Defines the contact information associated with a Registration. ICANN requires all domain names to have associated contact information. The registrant_contact is considered the domain's legal owner, and often the other contacts are identical.

Protobuf type google.cloud.domains.v1alpha2.ContactSettings

Static Fields

ADMIN_CONTACT_FIELD_NUMBER

public static final int ADMIN_CONTACT_FIELD_NUMBER
Field Value
TypeDescription
int

PRIVACY_FIELD_NUMBER

public static final int PRIVACY_FIELD_NUMBER
Field Value
TypeDescription
int

REGISTRANT_CONTACT_FIELD_NUMBER

public static final int REGISTRANT_CONTACT_FIELD_NUMBER
Field Value
TypeDescription
int

TECHNICAL_CONTACT_FIELD_NUMBER

public static final int TECHNICAL_CONTACT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ContactSettings getDefaultInstance()
Returns
TypeDescription
ContactSettings

getDescriptor()

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

newBuilder()

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

newBuilder(ContactSettings prototype)

public static ContactSettings.Builder newBuilder(ContactSettings prototype)
Parameter
NameDescription
prototypeContactSettings
Returns
TypeDescription
ContactSettings.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdminContact()

public ContactSettings.Contact getAdminContact()

Required. The administrative contact for the Registration.

.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactSettings.Contact

The adminContact.

getAdminContactOrBuilder()

public ContactSettings.ContactOrBuilder getAdminContactOrBuilder()

Required. The administrative contact for the Registration.

.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactSettings.ContactOrBuilder

getDefaultInstanceForType()

public ContactSettings getDefaultInstanceForType()
Returns
TypeDescription
ContactSettings

getParserForType()

public Parser<ContactSettings> getParserForType()
Returns
TypeDescription
Parser<ContactSettings>
Overrides

getPrivacy()

public ContactPrivacy getPrivacy()

Required. Privacy setting for the contacts associated with the Registration.

.google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactPrivacy

The privacy.

getPrivacyValue()

public int getPrivacyValue()

Required. Privacy setting for the contacts associated with the Registration.

.google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for privacy.

getRegistrantContact()

public ContactSettings.Contact getRegistrantContact()

Required. The registrant contact for the Registration. Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain. Warning: For new Registrations, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.

.google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactSettings.Contact

The registrantContact.

getRegistrantContactOrBuilder()

public ContactSettings.ContactOrBuilder getRegistrantContactOrBuilder()

Required. The registrant contact for the Registration. Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain. Warning: For new Registrations, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.

.google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactSettings.ContactOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTechnicalContact()

public ContactSettings.Contact getTechnicalContact()

Required. The technical contact for the Registration.

.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactSettings.Contact

The technicalContact.

getTechnicalContactOrBuilder()

public ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder()

Required. The technical contact for the Registration.

.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ContactSettings.ContactOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAdminContact()

public boolean hasAdminContact()

Required. The administrative contact for the Registration.

.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the adminContact field is set.

hasRegistrantContact()

public boolean hasRegistrantContact()

Required. The registrant contact for the Registration. Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain. Warning: For new Registrations, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.

.google.cloud.domains.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the registrantContact field is set.

hasTechnicalContact()

public boolean hasTechnicalContact()

Required. The technical contact for the Registration.

.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the technicalContact field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ContactSettings.Builder newBuilderForType()
Returns
TypeDescription
ContactSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContactSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ContactSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ContactSettings.Builder toBuilder()
Returns
TypeDescription
ContactSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException