public static final class ContactSettings.Builder extends GeneratedMessageV3.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.v1.ContactSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContactSettings.BuilderImplements
ContactSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContactSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ContactSettings.Builder |
build()
public ContactSettings build()| Type | Description |
| ContactSettings |
buildPartial()
public ContactSettings buildPartial()| Type | Description |
| ContactSettings |
clear()
public ContactSettings.Builder clear()| Type | Description |
| ContactSettings.Builder |
clearAdminContact()
public ContactSettings.Builder clearAdminContact() Required. The administrative contact for the Registration.
.google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ContactSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public ContactSettings.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ContactSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContactSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ContactSettings.Builder |
clearPrivacy()
public ContactSettings.Builder clearPrivacy() Required. Privacy setting for the contacts associated with the Registration.
.google.cloud.domains.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ContactSettings.Builder |
clearTechnicalContact()
public ContactSettings.Builder clearTechnicalContact() Required. The technical contact for the Registration.
.google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ContactSettings.Builder |
clone()
public ContactSettings.Builder clone()| Type | Description |
| ContactSettings.Builder |
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];
| Type | Description |
| ContactSettings.Contact | The adminContact. |
getAdminContactBuilder()
public ContactSettings.Contact.Builder getAdminContactBuilder() Required. The administrative contact for the Registration.
.google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ContactSettings.Contact.Builder |
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];
| Type | Description |
| ContactSettings.ContactOrBuilder |
getDefaultInstanceForType()
public ContactSettings getDefaultInstanceForType()| Type | Description |
| ContactSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
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];
| Type | Description |
| ContactPrivacy | The privacy. |
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];
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ContactSettings.ContactOrBuilder |
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];
| Type | Description |
| ContactSettings.Contact | The technicalContact. |
getTechnicalContactBuilder()
public ContactSettings.Contact.Builder getTechnicalContactBuilder() Required. The technical contact for the Registration.
.google.cloud.domains.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ContactSettings.Contact.Builder |
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];
| Type | Description |
| ContactSettings.ContactOrBuilder |
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];
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| 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];
| Type | Description |
| boolean | Whether the technicalContact field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeAdminContact(ContactSettings.Contact value)
public ContactSettings.Builder mergeAdminContact(ContactSettings.Contact value) Required. The administrative contact for the Registration.
.google.cloud.domains.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ContactSettings.Contact |
| Type | Description |
| ContactSettings.Builder |
mergeFrom(ContactSettings other)
public ContactSettings.Builder mergeFrom(ContactSettings other)| Name | Description |
| other | ContactSettings |
| Type | Description |
| ContactSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContactSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ContactSettings.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ContactSettings.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ContactSettings.Contact |
| 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.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ContactSettings.Contact |
| Type | Description |
| ContactSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContactSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ContactSettings.Contact |
| 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.v1.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| builderForValue | ContactSettings.Contact.Builder |
| Type | Description |
| ContactSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ContactSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ContactPrivacyThe privacy to set. |
| 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.v1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | intThe enum numeric value on the wire for privacy to set. |
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ContactSettings.Contact |
| 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.v1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| builderForValue | ContactSettings.Contact.Builder |
| Type | Description |
| ContactSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContactSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| 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.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ContactSettings.Contact |
| 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.v1.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| builderForValue | ContactSettings.Contact.Builder |
| Type | Description |
| ContactSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContactSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ContactSettings.Builder |