Class RegisterParameters

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.domains.v1alpha2.RegisterParameters
All Implemented Interfaces:
RegisterParametersOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RegisterParameters extends com.google.protobuf.GeneratedMessage implements RegisterParametersOrBuilder
 Parameters required to register a new domain.
 
Protobuf type google.cloud.domains.v1alpha2.RegisterParameters
See Also:
  • Field Details

    • DOMAIN_NAME_FIELD_NUMBER

      public static final int DOMAIN_NAME_FIELD_NUMBER
      See Also:
    • AVAILABILITY_FIELD_NUMBER

      public static final int AVAILABILITY_FIELD_NUMBER
      See Also:
    • SUPPORTED_PRIVACY_FIELD_NUMBER

      public static final int SUPPORTED_PRIVACY_FIELD_NUMBER
      See Also:
    • DOMAIN_NOTICES_FIELD_NUMBER

      public static final int DOMAIN_NOTICES_FIELD_NUMBER
      See Also:
    • YEARLY_PRICE_FIELD_NUMBER

      public static final int YEARLY_PRICE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDomainName

      public String getDomainName()
       The domain name. Unicode domain names are expressed in Punycode format.
       
      string domain_name = 1;
      Specified by:
      getDomainName in interface RegisterParametersOrBuilder
      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:
      getDomainNameBytes in interface RegisterParametersOrBuilder
      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.v1alpha2.RegisterParameters.Availability availability = 2;
      Specified by:
      getAvailabilityValue in interface RegisterParametersOrBuilder
      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.v1alpha2.RegisterParameters.Availability availability = 2;
      Specified by:
      getAvailability in interface RegisterParametersOrBuilder
      Returns:
      The availability.
    • getSupportedPrivacyList

      public List<ContactPrivacy> getSupportedPrivacyList()
       Contact privacy options that the domain supports.
       
      repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;
      Specified by:
      getSupportedPrivacyList in interface RegisterParametersOrBuilder
      Returns:
      A list containing the supportedPrivacy.
    • getSupportedPrivacyCount

      public int getSupportedPrivacyCount()
       Contact privacy options that the domain supports.
       
      repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;
      Specified by:
      getSupportedPrivacyCount in interface RegisterParametersOrBuilder
      Returns:
      The count of supportedPrivacy.
    • getSupportedPrivacy

      public ContactPrivacy getSupportedPrivacy(int index)
       Contact privacy options that the domain supports.
       
      repeated .google.cloud.domains.v1alpha2.ContactPrivacy supported_privacy = 3;
      Specified by:
      getSupportedPrivacy in interface RegisterParametersOrBuilder
      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.v1alpha2.ContactPrivacy supported_privacy = 3;
      Specified by:
      getSupportedPrivacyValueList in interface RegisterParametersOrBuilder
      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.v1alpha2.ContactPrivacy supported_privacy = 3;
      Specified by:
      getSupportedPrivacyValue in interface RegisterParametersOrBuilder
      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.v1alpha2.DomainNotice domain_notices = 4;
      Specified by:
      getDomainNoticesList in interface RegisterParametersOrBuilder
      Returns:
      A list containing the domainNotices.
    • getDomainNoticesCount

      public int getDomainNoticesCount()
       Notices about special properties of the domain.
       
      repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4;
      Specified by:
      getDomainNoticesCount in interface RegisterParametersOrBuilder
      Returns:
      The count of domainNotices.
    • getDomainNotices

      public DomainNotice getDomainNotices(int index)
       Notices about special properties of the domain.
       
      repeated .google.cloud.domains.v1alpha2.DomainNotice domain_notices = 4;
      Specified by:
      getDomainNotices in interface RegisterParametersOrBuilder
      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.v1alpha2.DomainNotice domain_notices = 4;
      Specified by:
      getDomainNoticesValueList in interface RegisterParametersOrBuilder
      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.v1alpha2.DomainNotice domain_notices = 4;
      Specified by:
      getDomainNoticesValue in interface RegisterParametersOrBuilder
      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:
      hasYearlyPrice in interface RegisterParametersOrBuilder
      Returns:
      Whether the yearlyPrice field is set.
    • getYearlyPrice

      public Money getYearlyPrice()
       Price to register or renew the domain for one year.
       
      .google.type.Money yearly_price = 5;
      Specified by:
      getYearlyPrice in interface RegisterParametersOrBuilder
      Returns:
      The yearlyPrice.
    • getYearlyPriceOrBuilder

      public MoneyOrBuilder getYearlyPriceOrBuilder()
       Price to register or renew the domain for one year.
       
      .google.type.Money yearly_price = 5;
      Specified by:
      getYearlyPriceOrBuilder in interface RegisterParametersOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RegisterParameters.Builder newBuilder()
    • newBuilder

      public static RegisterParameters.Builder newBuilder(RegisterParameters prototype)
    • toBuilder

      public RegisterParameters.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RegisterParameters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RegisterParameters getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RegisterParameters> parser()
    • getParserForType

      public com.google.protobuf.Parser<RegisterParameters> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RegisterParameters getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder