Package com.google.cloud.domains.v1
Class RegisterParameters
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.domains.v1.RegisterParameters
-
- All Implemented Interfaces:
RegisterParametersOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class RegisterParameters extends com.google.protobuf.GeneratedMessageV3 implements RegisterParametersOrBuilder
Parameters required to register a new domain.
Protobuf typegoogle.cloud.domains.v1.RegisterParameters- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegisterParameters.AvailabilityPossible availability states of a domain name.static classRegisterParameters.BuilderParameters required to register a new domain.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAVAILABILITY_FIELD_NUMBERstatic intDOMAIN_NAME_FIELD_NUMBERstatic intDOMAIN_NOTICES_FIELD_NUMBERstatic intSUPPORTED_PRIVACY_FIELD_NUMBERstatic intYEARLY_PRICE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)RegisterParameters.AvailabilitygetAvailability()Indicates whether the domain is available for registration.intgetAvailabilityValue()Indicates whether the domain is available for registration.static RegisterParametersgetDefaultInstance()RegisterParametersgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDomainName()The domain name.com.google.protobuf.ByteStringgetDomainNameBytes()The domain name.DomainNoticegetDomainNotices(int index)Notices about special properties of the domain.intgetDomainNoticesCount()Notices about special properties of the domain.List<DomainNotice>getDomainNoticesList()Notices about special properties of the domain.intgetDomainNoticesValue(int index)Notices about special properties of the domain.List<Integer>getDomainNoticesValueList()Notices about special properties of the domain.com.google.protobuf.Parser<RegisterParameters>getParserForType()intgetSerializedSize()ContactPrivacygetSupportedPrivacy(int index)Contact privacy options that the domain supports.intgetSupportedPrivacyCount()Contact privacy options that the domain supports.List<ContactPrivacy>getSupportedPrivacyList()Contact privacy options that the domain supports.intgetSupportedPrivacyValue(int index)Contact privacy options that the domain supports.List<Integer>getSupportedPrivacyValueList()Contact privacy options that the domain supports.com.google.type.MoneygetYearlyPrice()Price to register or renew the domain for one year.com.google.type.MoneyOrBuildergetYearlyPriceOrBuilder()Price to register or renew the domain for one year.inthashCode()booleanhasYearlyPrice()Price to register or renew the domain for one year.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RegisterParameters.BuildernewBuilder()static RegisterParameters.BuildernewBuilder(RegisterParameters prototype)RegisterParameters.BuildernewBuilderForType()protected RegisterParameters.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RegisterParametersparseDelimitedFrom(InputStream input)static RegisterParametersparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegisterParametersparseFrom(byte[] data)static RegisterParametersparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegisterParametersparseFrom(com.google.protobuf.ByteString data)static RegisterParametersparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegisterParametersparseFrom(com.google.protobuf.CodedInputStream input)static RegisterParametersparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegisterParametersparseFrom(InputStream input)static RegisterParametersparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RegisterParametersparseFrom(ByteBuffer data)static RegisterParametersparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RegisterParameters>parser()RegisterParameters.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DOMAIN_NAME_FIELD_NUMBER
public static final int DOMAIN_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVAILABILITY_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTED_PRIVACY_FIELD_NUMBER
public static final int SUPPORTED_PRIVACY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_NOTICES_FIELD_NUMBER
public static final int DOMAIN_NOTICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YEARLY_PRICE_FIELD_NUMBER
public static final int YEARLY_PRICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getDomainName
public String getDomainName()
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Specified by:
getDomainNamein interfaceRegisterParametersOrBuilder- Returns:
- The domainName.
-
getDomainNameBytes
public com.google.protobuf.ByteString getDomainNameBytes()
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;- Specified by:
getDomainNameBytesin interfaceRegisterParametersOrBuilder- Returns:
- The bytes for domainName.
-
getAvailabilityValue
public int getAvailabilityValue()
Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.
.google.cloud.domains.v1.RegisterParameters.Availability availability = 2;- Specified by:
getAvailabilityValuein interfaceRegisterParametersOrBuilder- Returns:
- The enum numeric value on the wire for availability.
-
getAvailability
public RegisterParameters.Availability getAvailability()
Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.
.google.cloud.domains.v1.RegisterParameters.Availability availability = 2;- Specified by:
getAvailabilityin interfaceRegisterParametersOrBuilder- Returns:
- The availability.
-
getSupportedPrivacyList
public List<ContactPrivacy> getSupportedPrivacyList()
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the supportedPrivacy.
-
getSupportedPrivacyCount
public int getSupportedPrivacyCount()
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyCountin interfaceRegisterParametersOrBuilder- Returns:
- The count of supportedPrivacy.
-
getSupportedPrivacy
public ContactPrivacy getSupportedPrivacy(int index)
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyin interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedPrivacy at the given index.
-
getSupportedPrivacyValueList
public List<Integer> getSupportedPrivacyValueList()
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyValueListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedPrivacy.
-
getSupportedPrivacyValue
public int getSupportedPrivacyValue(int index)
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3;- Specified by:
getSupportedPrivacyValuein interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedPrivacy at the given index.
-
getDomainNoticesList
public List<DomainNotice> getDomainNoticesList()
Notices about special properties of the domain.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the domainNotices.
-
getDomainNoticesCount
public int getDomainNoticesCount()
Notices about special properties of the domain.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesCountin interfaceRegisterParametersOrBuilder- Returns:
- The count of domainNotices.
-
getDomainNotices
public DomainNotice getDomainNotices(int index)
Notices about special properties of the domain.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesin interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The domainNotices at the given index.
-
getDomainNoticesValueList
public List<Integer> getDomainNoticesValueList()
Notices about special properties of the domain.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesValueListin interfaceRegisterParametersOrBuilder- Returns:
- A list containing the enum numeric values on the wire for domainNotices.
-
getDomainNoticesValue
public int getDomainNoticesValue(int index)
Notices about special properties of the domain.
repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4;- Specified by:
getDomainNoticesValuein interfaceRegisterParametersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of domainNotices at the given index.
-
hasYearlyPrice
public boolean hasYearlyPrice()
Price to register or renew the domain for one year.
.google.type.Money yearly_price = 5;- Specified by:
hasYearlyPricein interfaceRegisterParametersOrBuilder- Returns:
- Whether the yearlyPrice field is set.
-
getYearlyPrice
public com.google.type.Money getYearlyPrice()
Price to register or renew the domain for one year.
.google.type.Money yearly_price = 5;- Specified by:
getYearlyPricein interfaceRegisterParametersOrBuilder- Returns:
- The yearlyPrice.
-
getYearlyPriceOrBuilder
public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder()
Price to register or renew the domain for one year.
.google.type.Money yearly_price = 5;- Specified by:
getYearlyPriceOrBuilderin interfaceRegisterParametersOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RegisterParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterParameters parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RegisterParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RegisterParameters parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RegisterParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RegisterParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RegisterParameters.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RegisterParameters.Builder newBuilder()
-
newBuilder
public static RegisterParameters.Builder newBuilder(RegisterParameters prototype)
-
toBuilder
public RegisterParameters.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RegisterParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RegisterParameters getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RegisterParameters> parser()
-
getParserForType
public com.google.protobuf.Parser<RegisterParameters> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RegisterParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-