Package com.google.cloud.domains.v1beta1
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.v1beta1.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.v1beta1.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
clear
public ContactSettings.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
getDefaultInstanceForType
public ContactSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ContactSettings build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ContactSettings buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ContactSettings.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
setField
public ContactSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
clearField
public ContactSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
clearOneof
public ContactSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
setRepeatedField
public ContactSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
addRepeatedField
public ContactSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
mergeFrom
public ContactSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ContactSettings.Builder>
-
mergeFrom
public ContactSettings.Builder mergeFrom(ContactSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPrivacyValue
in 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.v1beta1.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.v1beta1.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPrivacy
in interfaceContactSettingsOrBuilder
- Returns:
- The privacy.
-
setPrivacy
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];
- 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.v1beta1.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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasRegistrantContact
in 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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegistrantContact
in 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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ContactSettings.Contact registrant_contact = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegistrantContactOrBuilder
in interfaceContactSettingsOrBuilder
-
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];
- Specified by:
hasAdminContact
in interfaceContactSettingsOrBuilder
- Returns:
- Whether the adminContact field is set.
-
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];
- Specified by:
getAdminContact
in interfaceContactSettingsOrBuilder
- Returns:
- The adminContact.
-
setAdminContact
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];
-
setAdminContact
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];
-
mergeAdminContact
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];
-
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];
-
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];
-
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];
- Specified by:
getAdminContactOrBuilder
in interfaceContactSettingsOrBuilder
-
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];
- Specified by:
hasTechnicalContact
in interfaceContactSettingsOrBuilder
- Returns:
- Whether the technicalContact field is set.
-
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];
- Specified by:
getTechnicalContact
in interfaceContactSettingsOrBuilder
- Returns:
- The technicalContact.
-
setTechnicalContact
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];
-
setTechnicalContact
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];
-
mergeTechnicalContact
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];
-
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];
-
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];
-
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];
- Specified by:
getTechnicalContactOrBuilder
in interfaceContactSettingsOrBuilder
-
setUnknownFields
public final ContactSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
mergeUnknownFields
public final ContactSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Builder>
-
-