public final class ContactSettings extends com.google.protobuf.GeneratedMessageV3 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 type
google.cloud.domains.v1alpha2.ContactSettings| Modifier and Type | Class and Description |
|---|---|
static class |
ContactSettings.Builder
Defines the contact information associated with a `Registration`.
|
static class |
ContactSettings.Contact
Details required for a contact associated with a `Registration`.
|
static interface |
ContactSettings.ContactOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADMIN_CONTACT_FIELD_NUMBER |
static int |
PRIVACY_FIELD_NUMBER |
static int |
REGISTRANT_CONTACT_FIELD_NUMBER |
static int |
TECHNICAL_CONTACT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ContactSettings.Contact |
getAdminContact()
Required.
|
ContactSettings.ContactOrBuilder |
getAdminContactOrBuilder()
Required.
|
static ContactSettings |
getDefaultInstance() |
ContactSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ContactSettings> |
getParserForType() |
ContactPrivacy |
getPrivacy()
Required.
|
int |
getPrivacyValue()
Required.
|
ContactSettings.Contact |
getRegistrantContact()
Required.
|
ContactSettings.ContactOrBuilder |
getRegistrantContactOrBuilder()
Required.
|
int |
getSerializedSize() |
ContactSettings.Contact |
getTechnicalContact()
Required.
|
ContactSettings.ContactOrBuilder |
getTechnicalContactOrBuilder()
Required.
|
boolean |
hasAdminContact()
Required.
|
int |
hashCode() |
boolean |
hasRegistrantContact()
Required.
|
boolean |
hasTechnicalContact()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ContactSettings.Builder |
newBuilder() |
static ContactSettings.Builder |
newBuilder(ContactSettings prototype) |
ContactSettings.Builder |
newBuilderForType() |
protected ContactSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ContactSettings |
parseDelimitedFrom(InputStream input) |
static ContactSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContactSettings |
parseFrom(byte[] data) |
static ContactSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContactSettings |
parseFrom(ByteBuffer data) |
static ContactSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContactSettings |
parseFrom(com.google.protobuf.ByteString data) |
static ContactSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContactSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ContactSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContactSettings |
parseFrom(InputStream input) |
static ContactSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ContactSettings> |
parser() |
ContactSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PRIVACY_FIELD_NUMBER
public static final int REGISTRANT_CONTACT_FIELD_NUMBER
public static final int ADMIN_CONTACT_FIELD_NUMBER
public static final int TECHNICAL_CONTACT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getPrivacyValue()
Required. Privacy setting for the contacts associated with the `Registration`.
.google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
getPrivacyValue in interface ContactSettingsOrBuilderpublic ContactPrivacy getPrivacy()
Required. Privacy setting for the contacts associated with the `Registration`.
.google.cloud.domains.v1alpha2.ContactPrivacy privacy = 1 [(.google.api.field_behavior) = REQUIRED];
getPrivacy in interface ContactSettingsOrBuilderpublic 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];
hasRegistrantContact in interface ContactSettingsOrBuilderpublic 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];
getRegistrantContact in interface ContactSettingsOrBuilderpublic 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];
getRegistrantContactOrBuilder in interface ContactSettingsOrBuilderpublic boolean hasAdminContact()
Required. The administrative contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
hasAdminContact in interface ContactSettingsOrBuilderpublic ContactSettings.Contact getAdminContact()
Required. The administrative contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
getAdminContact in interface ContactSettingsOrBuilderpublic ContactSettings.ContactOrBuilder getAdminContactOrBuilder()
Required. The administrative contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact admin_contact = 3 [(.google.api.field_behavior) = REQUIRED];
getAdminContactOrBuilder in interface ContactSettingsOrBuilderpublic boolean hasTechnicalContact()
Required. The technical contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
hasTechnicalContact in interface ContactSettingsOrBuilderpublic ContactSettings.Contact getTechnicalContact()
Required. The technical contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
getTechnicalContact in interface ContactSettingsOrBuilderpublic ContactSettings.ContactOrBuilder getTechnicalContactOrBuilder()
Required. The technical contact for the `Registration`.
.google.cloud.domains.v1alpha2.ContactSettings.Contact technical_contact = 4 [(.google.api.field_behavior) = REQUIRED];
getTechnicalContactOrBuilder in interface ContactSettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ContactSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContactSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContactSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContactSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContactSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContactSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContactSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static ContactSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContactSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ContactSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContactSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ContactSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ContactSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ContactSettings.Builder newBuilder()
public static ContactSettings.Builder newBuilder(ContactSettings prototype)
public ContactSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ContactSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ContactSettings getDefaultInstance()
public static com.google.protobuf.Parser<ContactSettings> parser()
public com.google.protobuf.Parser<ContactSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ContactSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.