Class ContactSettings.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
- com.google.cloud.domains.v1alpha2.ContactSettings.Builder
-
- All Implemented Interfaces:
ContactSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ContactSettings
public static final class ContactSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder> implements ContactSettingsOrBuilder
Defines the contact information associated with a `Registration`. [ICANN](https://icann.org/) 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 typegoogle.cloud.domains.v1alpha2.ContactSettings
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
clear
public ContactSettings.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
getDefaultInstanceForType
public ContactSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ContactSettings build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ContactSettings buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ContactSettings.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
setField
public ContactSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
clearField
public ContactSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
clearOneof
public ContactSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
setRepeatedField
public ContactSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
addRepeatedField
public ContactSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
mergeFrom
public ContactSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContactSettings.Builder>
-
mergeFrom
public ContactSettings.Builder mergeFrom(ContactSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
mergeFrom
public ContactSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContactSettings.Builder>- Throws:
IOException
-
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];- Specified by:
getPrivacyValuein interfaceContactSettingsOrBuilder- Returns:
- The enum numeric value on the wire for privacy.
-
setPrivacyValue
public ContactSettings.Builder setPrivacyValue(int value)
Required. Privacy setting for the contacts associated with the `Registration`.
.google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for privacy to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getPrivacyin interfaceContactSettingsOrBuilder- Returns:
- The privacy.
-
setPrivacy
public ContactSettings.Builder setPrivacy(ContactPrivacy value)
Required. Privacy setting for the contacts associated with the `Registration`.
.google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The privacy to set.- Returns:
- This builder for chaining.
-
clearPrivacy
public ContactSettings.Builder clearPrivacy()
Required. Privacy setting for the contacts associated with the `Registration`.
.google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasRegistrantContactin interfaceContactSettingsOrBuilder- Returns:
- Whether the registrantContact field is set.
-
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];- Specified by:
getRegistrantContactin interfaceContactSettingsOrBuilder- Returns:
- The registrantContact.
-
setRegistrantContact
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 `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];
-
setRegistrantContact
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 `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];
-
mergeRegistrantContact
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 `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];
-
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 `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];
-
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 `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];- Specified by:
getRegistrantContactOrBuilderin interfaceContactSettingsOrBuilder
-
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];- Specified by:
hasAdminContactin interfaceContactSettingsOrBuilder- Returns:
- Whether the adminContact field is set.
-
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];- Specified by:
getAdminContactin interfaceContactSettingsOrBuilder- Returns:
- The adminContact.
-
setAdminContact
public ContactSettings.Builder setAdminContact(ContactSettings.Contact value)
Required. The administrative contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
-
setAdminContact
public ContactSettings.Builder setAdminContact(ContactSettings.Contact.Builder builderForValue)
Required. The administrative contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
-
mergeAdminContact
public ContactSettings.Builder mergeAdminContact(ContactSettings.Contact value)
Required. The administrative contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
-
clearAdminContact
public ContactSettings.Builder clearAdminContact()
Required. The administrative contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
-
getAdminContactBuilder
public ContactSettings.Contact.Builder getAdminContactBuilder()
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];- Specified by:
getAdminContactOrBuilderin interfaceContactSettingsOrBuilder
-
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];- Specified by:
hasTechnicalContactin interfaceContactSettingsOrBuilder- Returns:
- Whether the technicalContact field is set.
-
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];- Specified by:
getTechnicalContactin interfaceContactSettingsOrBuilder- Returns:
- The technicalContact.
-
setTechnicalContact
public ContactSettings.Builder setTechnicalContact(ContactSettings.Contact value)
Required. The technical contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
-
setTechnicalContact
public ContactSettings.Builder setTechnicalContact(ContactSettings.Contact.Builder builderForValue)
Required. The technical contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
-
mergeTechnicalContact
public ContactSettings.Builder mergeTechnicalContact(ContactSettings.Contact value)
Required. The technical contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
-
clearTechnicalContact
public ContactSettings.Builder clearTechnicalContact()
Required. The technical contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
-
getTechnicalContactBuilder
public ContactSettings.Contact.Builder getTechnicalContactBuilder()
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];- Specified by:
getTechnicalContactOrBuilderin interfaceContactSettingsOrBuilder
-
setUnknownFields
public final ContactSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
mergeUnknownFields
public final ContactSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
-