Class TransferDomainRequest (1.6.0)

public final class TransferDomainRequest extends GeneratedMessageV3 implements TransferDomainRequestOrBuilder

Request for the TransferDomain method.

Protobuf type google.cloud.domains.v1.TransferDomainRequest

Static Fields

AUTHORIZATION_CODE_FIELD_NUMBER

public static final int AUTHORIZATION_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

CONTACT_NOTICES_FIELD_NUMBER

public static final int CONTACT_NOTICES_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

REGISTRATION_FIELD_NUMBER

public static final int REGISTRATION_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

YEARLY_PRICE_FIELD_NUMBER

public static final int YEARLY_PRICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferDomainRequest getDefaultInstance()
Returns
TypeDescription
TransferDomainRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransferDomainRequest.Builder newBuilder()
Returns
TypeDescription
TransferDomainRequest.Builder

newBuilder(TransferDomainRequest prototype)

public static TransferDomainRequest.Builder newBuilder(TransferDomainRequest prototype)
Parameter
NameDescription
prototypeTransferDomainRequest
Returns
TypeDescription
TransferDomainRequest.Builder

parseDelimitedFrom(InputStream input)

public static TransferDomainRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferDomainRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransferDomainRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferDomainRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferDomainRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferDomainRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferDomainRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferDomainRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransferDomainRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferDomainRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransferDomainRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferDomainRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferDomainRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransferDomainRequest> parser()
Returns
TypeDescription
Parser<TransferDomainRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAuthorizationCode()

public AuthorizationCode getAuthorizationCode()

The domain's transfer authorization code. You can obtain this from the domain's current registrar.

.google.cloud.domains.v1.AuthorizationCode authorization_code = 5;

Returns
TypeDescription
AuthorizationCode

The authorizationCode.

getAuthorizationCodeOrBuilder()

public AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder()

The domain's transfer authorization code. You can obtain this from the domain's current registrar.

.google.cloud.domains.v1.AuthorizationCode authorization_code = 5;

Returns
TypeDescription
AuthorizationCodeOrBuilder

getContactNotices(int index)

public ContactNotice getContactNotices(int index)

The list of contact notices that you acknowledge. The notices needed here depend on the values specified in registration.contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ContactNotice

The contactNotices at the given index.

getContactNoticesCount()

public int getContactNoticesCount()

The list of contact notices that you acknowledge. The notices needed here depend on the values specified in registration.contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3;

Returns
TypeDescription
int

The count of contactNotices.

getContactNoticesList()

public List<ContactNotice> getContactNoticesList()

The list of contact notices that you acknowledge. The notices needed here depend on the values specified in registration.contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3;

Returns
TypeDescription
List<ContactNotice>

A list containing the contactNotices.

getContactNoticesValue(int index)

public int getContactNoticesValue(int index)

The list of contact notices that you acknowledge. The notices needed here depend on the values specified in registration.contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of contactNotices at the given index.

getContactNoticesValueList()

public List<Integer> getContactNoticesValueList()

The list of contact notices that you acknowledge. The notices needed here depend on the values specified in registration.contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for contactNotices.

getDefaultInstanceForType()

public TransferDomainRequest getDefaultInstanceForType()
Returns
TypeDescription
TransferDomainRequest

getParent()

public String getParent()

Required. The parent resource of the Registration. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the Registration. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<TransferDomainRequest> getParserForType()
Returns
TypeDescription
Parser<TransferDomainRequest>
Overrides

getRegistration()

public Registration getRegistration()

Required. The complete Registration resource to be created. You can leave registration.dns_settings unset to import the domain's current DNS configuration from its current registrar. Use this option only if you are sure that the domain's current DNS service does not cease upon transfer, as is often the case for DNS services provided for free by the registrar.

.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Registration

The registration.

getRegistrationOrBuilder()

public RegistrationOrBuilder getRegistrationOrBuilder()

Required. The complete Registration resource to be created. You can leave registration.dns_settings unset to import the domain's current DNS configuration from its current registrar. Use this option only if you are sure that the domain's current DNS service does not cease upon transfer, as is often the case for DNS services provided for free by the registrar.

.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RegistrationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValidateOnly()

public boolean getValidateOnly()

Validate the request without actually transferring the domain.

bool validate_only = 6;

Returns
TypeDescription
boolean

The validateOnly.

getYearlyPrice()

public Money getYearlyPrice()

Required. Acknowledgement of the price to transfer or renew the domain for one year. Call RetrieveTransferParameters to obtain the price, which you must acknowledge.

.google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.Money

The yearlyPrice.

getYearlyPriceOrBuilder()

public MoneyOrBuilder getYearlyPriceOrBuilder()

Required. Acknowledgement of the price to transfer or renew the domain for one year. Call RetrieveTransferParameters to obtain the price, which you must acknowledge.

.google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.MoneyOrBuilder

hasAuthorizationCode()

public boolean hasAuthorizationCode()

The domain's transfer authorization code. You can obtain this from the domain's current registrar.

.google.cloud.domains.v1.AuthorizationCode authorization_code = 5;

Returns
TypeDescription
boolean

Whether the authorizationCode field is set.

hasRegistration()

public boolean hasRegistration()

Required. The complete Registration resource to be created. You can leave registration.dns_settings unset to import the domain's current DNS configuration from its current registrar. Use this option only if you are sure that the domain's current DNS service does not cease upon transfer, as is often the case for DNS services provided for free by the registrar.

.google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the registration field is set.

hasYearlyPrice()

public boolean hasYearlyPrice()

Required. Acknowledgement of the price to transfer or renew the domain for one year. Call RetrieveTransferParameters to obtain the price, which you must acknowledge.

.google.type.Money yearly_price = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the yearlyPrice field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransferDomainRequest.Builder newBuilderForType()
Returns
TypeDescription
TransferDomainRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferDomainRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransferDomainRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransferDomainRequest.Builder toBuilder()
Returns
TypeDescription
TransferDomainRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException