Interface TransferDomainRequestOrBuilder (1.42.0)

public interface TransferDomainRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthorizationCode()

public abstract 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
Type Description
AuthorizationCode

The authorizationCode.

getAuthorizationCodeOrBuilder()

public abstract 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
Type Description
AuthorizationCodeOrBuilder

getContactNotices(int index)

public abstract 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
Name Description
index int

The index of the element to return.

Returns
Type Description
ContactNotice

The contactNotices at the given index.

getContactNoticesCount()

public abstract 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
Type Description
int

The count of contactNotices.

getContactNoticesList()

public abstract 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
Type Description
List<ContactNotice>

A list containing the contactNotices.

getContactNoticesValue(int index)

public abstract 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
Name Description
index int

The index of the value to return.

Returns
Type Description
int

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

getContactNoticesValueList()

public abstract 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
Type Description
List<Integer>

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

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getRegistration()

public abstract 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
Type Description
Registration

The registration.

getRegistrationOrBuilder()

public abstract 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
Type Description
RegistrationOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

Validate the request without actually transferring the domain.

bool validate_only = 6;

Returns
Type Description
boolean

The validateOnly.

getYearlyPrice()

public abstract 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
Type Description
com.google.type.Money

The yearlyPrice.

getYearlyPriceOrBuilder()

public abstract 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
Type Description
com.google.type.MoneyOrBuilder

hasAuthorizationCode()

public abstract 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
Type Description
boolean

Whether the authorizationCode field is set.

hasRegistration()

public abstract 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
Type Description
boolean

Whether the registration field is set.

hasYearlyPrice()

public abstract 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
Type Description
boolean

Whether the yearlyPrice field is set.