public final class TransferDomainRequest extends GeneratedMessageV3 implements TransferDomainRequestOrBuilder
Request for the TransferDomain
method.
Protobuf type google.cloud.domains.v1alpha2.TransferDomainRequest
Static Fields
AUTHORIZATION_CODE_FIELD_NUMBER
public static final int AUTHORIZATION_CODE_FIELD_NUMBER
Field Value
CONTACT_NOTICES_FIELD_NUMBER
public static final int CONTACT_NOTICES_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
REGISTRATION_FIELD_NUMBER
public static final int REGISTRATION_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
YEARLY_PRICE_FIELD_NUMBER
public static final int YEARLY_PRICE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferDomainRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferDomainRequest.Builder newBuilder()
Returns
newBuilder(TransferDomainRequest prototype)
public static TransferDomainRequest.Builder newBuilder(TransferDomainRequest prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static TransferDomainRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferDomainRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferDomainRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static TransferDomainRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static TransferDomainRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferDomainRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferDomainRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAuthorizationCode()
public AuthorizationCode getAuthorizationCode()
The domain's transfer authorization code. You can obtain this from the
domain's current registrar.
.google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
Returns
getAuthorizationCodeOrBuilder()
public AuthorizationCodeOrBuilder getAuthorizationCodeOrBuilder()
The domain's transfer authorization code. You can obtain this from the
domain's current registrar.
.google.cloud.domains.v1alpha2.AuthorizationCode authorization_code = 5;
Returns
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.v1alpha2.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 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.v1alpha2.ContactNotice contact_notices = 3;
Returns
Type | Description |
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.v1alpha2.ContactNotice contact_notices = 3;
Returns
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.v1alpha2.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 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.v1alpha2.ContactNotice contact_notices = 3;
Returns
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for contactNotices.
|
getDefaultInstanceForType()
public TransferDomainRequest getDefaultInstanceForType()
Returns
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
Type | Description |
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
getParserForType()
public Parser<TransferDomainRequest> getParserForType()
Returns
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.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValidateOnly()
public boolean getValidateOnly()
Validate the request without actually transferring the domain.
bool validate_only = 6;
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
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.v1alpha2.AuthorizationCode authorization_code = 5;
Returns
Type | Description |
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.v1alpha2.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
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
Type | Description |
boolean | Whether the yearlyPrice field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferDomainRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferDomainRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferDomainRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions