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.v1.ContactSettings
Static Fields
ADMIN_CONTACT_FIELD_NUMBER
public static final int ADMIN_CONTACT_FIELD_NUMBER
Field Value
PRIVACY_FIELD_NUMBER
public static final int PRIVACY_FIELD_NUMBER
Field Value
REGISTRANT_CONTACT_FIELD_NUMBER
public static final int REGISTRANT_CONTACT_FIELD_NUMBER
Field Value
TECHNICAL_CONTACT_FIELD_NUMBER
public static final int TECHNICAL_CONTACT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ContactSettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ContactSettings.Builder newBuilder()
Returns
newBuilder(ContactSettings prototype)
public static ContactSettings.Builder newBuilder(ContactSettings prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ContactSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ContactSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ContactSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ContactSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ContactSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ContactSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ContactSettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAdminContact()
public ContactSettings.Contact getAdminContact()
Required. The administrative contact for the Registration
.
.google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getAdminContactOrBuilder()
public ContactSettings.ContactOrBuilder getAdminContactOrBuilder()
Required. The administrative contact for the Registration
.
.google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public ContactSettings getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ContactSettings> getParserForType()
Returns
Overrides
getPrivacy()
public ContactPrivacy getPrivacy()
Required. Privacy setting for the contacts associated with the Registration
.
.google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPrivacyValue()
public int getPrivacyValue()
Required. Privacy setting for the contacts associated with the Registration
.
.google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
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 Registration
s, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
.google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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 Registration
s, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
.google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTechnicalContact()
public ContactSettings.Contact getTechnicalContact()
Required. The technical contact for the Registration
.
.google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
getTechnicalContactOrBuilder()
public ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder()
Required. The technical contact for the Registration
.
.google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAdminContact()
public boolean hasAdminContact()
Required. The administrative contact for the Registration
.
.google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
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 Registration
s, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
.google.cloud.domains.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the registrantContact field is set.
|
hasTechnicalContact()
public boolean hasTechnicalContact()
Required. The technical contact for the Registration
.
.google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the technicalContact field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ContactSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContactSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ContactSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions