public final class TransferDomainRequest extends GeneratedMessageV3 implements TransferDomainRequestOrBuilder
Request for the TransferDomain
method.
Protobuf type google.cloud.domains.v1alpha2.TransferDomainRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
AUTHORIZATION_CODE_FIELD_NUMBER
public static final int AUTHORIZATION_CODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONTACT_NOTICES_FIELD_NUMBER
public static final int CONTACT_NOTICES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REGISTRATION_FIELD_NUMBER
public static final int REGISTRATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
YEARLY_PRICE_FIELD_NUMBER
public static final int YEARLY_PRICE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TransferDomainRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransferDomainRequest.Builder newBuilder()
newBuilder(TransferDomainRequest prototype)
public static TransferDomainRequest.Builder newBuilder(TransferDomainRequest prototype)
parseDelimitedFrom(InputStream input)
public static TransferDomainRequest parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransferDomainRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransferDomainRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static TransferDomainRequest parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static TransferDomainRequest parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransferDomainRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferDomainRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransferDomainRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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;
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;
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()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<TransferDomainRequest> getParserForType()
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];
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];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransferDomainRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferDomainRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TransferDomainRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides