Send feedback
Class ContactSettings (1.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.21.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ADMIN_CONTACT_FIELD_NUMBER
public static final int ADMIN_CONTACT_FIELD_NUMBER
Field Value Type Description int
PRIVACY_FIELD_NUMBER
public static final int PRIVACY_FIELD_NUMBER
Field Value Type Description int
REGISTRANT_CONTACT_FIELD_NUMBER
public static final int REGISTRANT_CONTACT_FIELD_NUMBER
Field Value Type Description int
TECHNICAL_CONTACT_FIELD_NUMBER
public static final int TECHNICAL_CONTACT_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static ContactSettings getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ContactSettings . Builder newBuilder ()
newBuilder(ContactSettings prototype)
public static ContactSettings . Builder newBuilder ( ContactSettings prototype )
parseDelimitedFrom(InputStream input)
public static ContactSettings parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ContactSettings parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ContactSettings parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static ContactSettings parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static ContactSettings parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ContactSettings parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContactSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ContactSettings> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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];
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];
getDefaultInstanceForType()
public ContactSettings getDefaultInstanceForType ()
getParserForType()
public Parser<ContactSettings> getParserForType ()
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];
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 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.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1alpha2.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize ()
Returns Type Description 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];
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];
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 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.v1alpha2.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.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description boolean
Whether the technicalContact field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ContactSettings . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContactSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ContactSettings . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]