Class TransferParameters (1.4.0)

public final class TransferParameters extends GeneratedMessageV3 implements TransferParametersOrBuilder

Parameters required to transfer a domain from another registrar.

Protobuf type google.cloud.domains.v1beta1.TransferParameters

Static Fields

CURRENT_REGISTRAR_FIELD_NUMBER

public static final int CURRENT_REGISTRAR_FIELD_NUMBER
Field Value
TypeDescription
int

DOMAIN_NAME_FIELD_NUMBER

public static final int DOMAIN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_SERVERS_FIELD_NUMBER

public static final int NAME_SERVERS_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_PRIVACY_FIELD_NUMBER

public static final int SUPPORTED_PRIVACY_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFER_LOCK_STATE_FIELD_NUMBER

public static final int TRANSFER_LOCK_STATE_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 TransferParameters getDefaultInstance()
Returns
TypeDescription
TransferParameters

getDescriptor()

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

newBuilder()

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

newBuilder(TransferParameters prototype)

public static TransferParameters.Builder newBuilder(TransferParameters prototype)
Parameter
NameDescription
prototypeTransferParameters
Returns
TypeDescription
TransferParameters.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCurrentRegistrar()

public String getCurrentRegistrar()

The registrar that currently manages the domain.

string current_registrar = 2;

Returns
TypeDescription
String

The currentRegistrar.

getCurrentRegistrarBytes()

public ByteString getCurrentRegistrarBytes()

The registrar that currently manages the domain.

string current_registrar = 2;

Returns
TypeDescription
ByteString

The bytes for currentRegistrar.

getDefaultInstanceForType()

public TransferParameters getDefaultInstanceForType()
Returns
TypeDescription
TransferParameters

getDomainName()

public String getDomainName()

The domain name. Unicode domain names are expressed in Punycode format.

string domain_name = 1;

Returns
TypeDescription
String

The domainName.

getDomainNameBytes()

public ByteString getDomainNameBytes()

The domain name. Unicode domain names are expressed in Punycode format.

string domain_name = 1;

Returns
TypeDescription
ByteString

The bytes for domainName.

getNameServers(int index)

public String getNameServers(int index)

The name servers that currently store the configuration of the domain.

repeated string name_servers = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The nameServers at the given index.

getNameServersBytes(int index)

public ByteString getNameServersBytes(int index)

The name servers that currently store the configuration of the domain.

repeated string name_servers = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the nameServers at the given index.

getNameServersCount()

public int getNameServersCount()

The name servers that currently store the configuration of the domain.

repeated string name_servers = 3;

Returns
TypeDescription
int

The count of nameServers.

getNameServersList()

public ProtocolStringList getNameServersList()

The name servers that currently store the configuration of the domain.

repeated string name_servers = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the nameServers.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportedPrivacy(int index)

public ContactPrivacy getSupportedPrivacy(int index)

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ContactPrivacy

The supportedPrivacy at the given index.

getSupportedPrivacyCount()

public int getSupportedPrivacyCount()

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5;

Returns
TypeDescription
int

The count of supportedPrivacy.

getSupportedPrivacyList()

public List<ContactPrivacy> getSupportedPrivacyList()

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5;

Returns
TypeDescription
List<ContactPrivacy>

A list containing the supportedPrivacy.

getSupportedPrivacyValue(int index)

public int getSupportedPrivacyValue(int index)

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

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

getSupportedPrivacyValueList()

public List<Integer> getSupportedPrivacyValueList()

Contact privacy options that the domain supports.

repeated .google.cloud.domains.v1beta1.ContactPrivacy supported_privacy = 5;

Returns
TypeDescription
List<Integer>

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

getTransferLockState()

public TransferLockState getTransferLockState()

Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show UNLOCKED. To unlock a domain, go to its current registrar.

.google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4;

Returns
TypeDescription
TransferLockState

The transferLockState.

getTransferLockStateValue()

public int getTransferLockStateValue()

Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show UNLOCKED. To unlock a domain, go to its current registrar.

.google.cloud.domains.v1beta1.TransferLockState transfer_lock_state = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for transferLockState.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getYearlyPrice()

public Money getYearlyPrice()

Price to transfer or renew the domain for one year.

.google.type.Money yearly_price = 6;

Returns
TypeDescription
com.google.type.Money

The yearlyPrice.

getYearlyPriceOrBuilder()

public MoneyOrBuilder getYearlyPriceOrBuilder()

Price to transfer or renew the domain for one year.

.google.type.Money yearly_price = 6;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

hasYearlyPrice()

public boolean hasYearlyPrice()

Price to transfer or renew the domain for one year.

.google.type.Money yearly_price = 6;

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 TransferParameters.Builder newBuilderForType()
Returns
TypeDescription
TransferParameters.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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