public static final class ContactSettings.Builder extends GeneratedMessage.Builder<ContactSettings.Builder> 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.v1beta1.ContactSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ContactSettings.BuilderImplements
ContactSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ContactSettings build()| Returns | |
|---|---|
| Type | Description |
ContactSettings |
|
buildPartial()
public ContactSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
ContactSettings |
|
clear()
public ContactSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
clearAdminContact()
public ContactSettings.Builder clearAdminContact() Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
clearPrivacy()
public ContactSettings.Builder clearPrivacy() Required. Privacy setting for the contacts associated with the Registration.
.google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
This builder for chaining. |
clearRegistrantContact()
public ContactSettings.Builder clearRegistrantContact() 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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
clearTechnicalContact()
public ContactSettings.Builder clearTechnicalContact() Required. The technical contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
getAdminContact()
public ContactSettings.Contact getAdminContact() Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Contact |
The adminContact. |
getAdminContactBuilder()
public ContactSettings.Contact.Builder getAdminContactBuilder() Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Contact.Builder |
|
getAdminContactOrBuilder()
public ContactSettings.ContactOrBuilder getAdminContactOrBuilder() Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.ContactOrBuilder |
|
getDefaultInstanceForType()
public ContactSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContactSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPrivacy()
public ContactPrivacy getPrivacy() Required. Privacy setting for the contacts associated with the Registration.
.google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactPrivacy |
The privacy. |
getPrivacyValue()
public int getPrivacyValue() Required. Privacy setting for the contacts associated with the Registration.
.google.cloud.domains.v1beta1.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 Registrations, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
.google.cloud.domains.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Contact |
The registrantContact. |
getRegistrantContactBuilder()
public ContactSettings.Contact.Builder getRegistrantContactBuilder() 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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Contact.Builder |
|
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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.ContactOrBuilder |
|
getTechnicalContact()
public ContactSettings.Contact getTechnicalContact() Required. The technical contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Contact |
The technicalContact. |
getTechnicalContactBuilder()
public ContactSettings.Contact.Builder getTechnicalContactBuilder() Required. The technical contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Contact.Builder |
|
getTechnicalContactOrBuilder()
public ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder() Required. The technical contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ContactSettings.ContactOrBuilder |
|
hasAdminContact()
public boolean hasAdminContact() Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.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 Registrations, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
.google.cloud.domains.v1beta1.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.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the technicalContact field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdminContact(ContactSettings.Contact value)
public ContactSettings.Builder mergeAdminContact(ContactSettings.Contact value) Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ContactSettings.Contact |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
mergeFrom(ContactSettings other)
public ContactSettings.Builder mergeFrom(ContactSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
ContactSettings |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContactSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ContactSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
mergeRegistrantContact(ContactSettings.Contact value)
public ContactSettings.Builder mergeRegistrantContact(ContactSettings.Contact value) 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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ContactSettings.Contact |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
mergeTechnicalContact(ContactSettings.Contact value)
public ContactSettings.Builder mergeTechnicalContact(ContactSettings.Contact value) Required. The technical contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ContactSettings.Contact |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
setAdminContact(ContactSettings.Contact value)
public ContactSettings.Builder setAdminContact(ContactSettings.Contact value) Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ContactSettings.Contact |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
setAdminContact(ContactSettings.Contact.Builder builderForValue)
public ContactSettings.Builder setAdminContact(ContactSettings.Contact.Builder builderForValue) Required. The administrative contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ContactSettings.Contact.Builder |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
setPrivacy(ContactPrivacy value)
public ContactSettings.Builder setPrivacy(ContactPrivacy value) Required. Privacy setting for the contacts associated with the Registration.
.google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ContactPrivacyThe privacy to set. |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
This builder for chaining. |
setPrivacyValue(int value)
public ContactSettings.Builder setPrivacyValue(int value) Required. Privacy setting for the contacts associated with the Registration.
.google.cloud.domains.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for privacy to set. |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
This builder for chaining. |
setRegistrantContact(ContactSettings.Contact value)
public ContactSettings.Builder setRegistrantContact(ContactSettings.Contact value) 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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ContactSettings.Contact |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
setRegistrantContact(ContactSettings.Contact.Builder builderForValue)
public ContactSettings.Builder setRegistrantContact(ContactSettings.Contact.Builder builderForValue) 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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ContactSettings.Contact.Builder |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
setTechnicalContact(ContactSettings.Contact value)
public ContactSettings.Builder setTechnicalContact(ContactSettings.Contact value) Required. The technical contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ContactSettings.Contact |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|
setTechnicalContact(ContactSettings.Contact.Builder builderForValue)
public ContactSettings.Builder setTechnicalContact(ContactSettings.Contact.Builder builderForValue) Required. The technical contact for the Registration.
.google.cloud.domains.v1beta1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ContactSettings.Contact.Builder |
| Returns | |
|---|---|
| Type | Description |
ContactSettings.Builder |
|