Package com.google.cloud.domains.v1
Class TransferParameters
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.domains.v1.TransferParameters
-
- All Implemented Interfaces:
TransferParametersOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class TransferParameters extends com.google.protobuf.GeneratedMessageV3 implements TransferParametersOrBuilder
Parameters required to transfer a domain from another registrar.
Protobuf typegoogle.cloud.domains.v1.TransferParameters
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransferParameters.Builder
Parameters required to transfer a domain from another registrar.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CURRENT_REGISTRAR_FIELD_NUMBER
static int
DOMAIN_NAME_FIELD_NUMBER
static int
NAME_SERVERS_FIELD_NUMBER
static int
SUPPORTED_PRIVACY_FIELD_NUMBER
static int
TRANSFER_LOCK_STATE_FIELD_NUMBER
static int
YEARLY_PRICE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCurrentRegistrar()
The registrar that currently manages the domain.com.google.protobuf.ByteString
getCurrentRegistrarBytes()
The registrar that currently manages the domain.static TransferParameters
getDefaultInstance()
TransferParameters
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDomainName()
The domain name.com.google.protobuf.ByteString
getDomainNameBytes()
The domain name.String
getNameServers(int index)
The name servers that currently store the configuration of the domain.com.google.protobuf.ByteString
getNameServersBytes(int index)
The name servers that currently store the configuration of the domain.int
getNameServersCount()
The name servers that currently store the configuration of the domain.com.google.protobuf.ProtocolStringList
getNameServersList()
The name servers that currently store the configuration of the domain.com.google.protobuf.Parser<TransferParameters>
getParserForType()
int
getSerializedSize()
ContactPrivacy
getSupportedPrivacy(int index)
Contact privacy options that the domain supports.int
getSupportedPrivacyCount()
Contact privacy options that the domain supports.List<ContactPrivacy>
getSupportedPrivacyList()
Contact privacy options that the domain supports.int
getSupportedPrivacyValue(int index)
Contact privacy options that the domain supports.List<Integer>
getSupportedPrivacyValueList()
Contact privacy options that the domain supports.TransferLockState
getTransferLockState()
Indicates whether the domain is protected by a transfer lock.int
getTransferLockStateValue()
Indicates whether the domain is protected by a transfer lock.com.google.type.Money
getYearlyPrice()
Price to transfer or renew the domain for one year.com.google.type.MoneyOrBuilder
getYearlyPriceOrBuilder()
Price to transfer or renew the domain for one year.int
hashCode()
boolean
hasYearlyPrice()
Price to transfer or renew the domain for one year.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TransferParameters.Builder
newBuilder()
static TransferParameters.Builder
newBuilder(TransferParameters prototype)
TransferParameters.Builder
newBuilderForType()
protected TransferParameters.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TransferParameters
parseDelimitedFrom(InputStream input)
static TransferParameters
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferParameters
parseFrom(byte[] data)
static TransferParameters
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferParameters
parseFrom(com.google.protobuf.ByteString data)
static TransferParameters
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferParameters
parseFrom(com.google.protobuf.CodedInputStream input)
static TransferParameters
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferParameters
parseFrom(InputStream input)
static TransferParameters
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransferParameters
parseFrom(ByteBuffer data)
static TransferParameters
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TransferParameters>
parser()
TransferParameters.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DOMAIN_NAME_FIELD_NUMBER
public static final int DOMAIN_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENT_REGISTRAR_FIELD_NUMBER
public static final int CURRENT_REGISTRAR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_SERVERS_FIELD_NUMBER
public static final int NAME_SERVERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFER_LOCK_STATE_FIELD_NUMBER
public static final int TRANSFER_LOCK_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTED_PRIVACY_FIELD_NUMBER
public static final int SUPPORTED_PRIVACY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YEARLY_PRICE_FIELD_NUMBER
public static final int YEARLY_PRICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDomainName
public String getDomainName()
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;
- Specified by:
getDomainName
in interfaceTransferParametersOrBuilder
- Returns:
- The domainName.
-
getDomainNameBytes
public com.google.protobuf.ByteString getDomainNameBytes()
The domain name. Unicode domain names are expressed in Punycode format.
string domain_name = 1;
- Specified by:
getDomainNameBytes
in interfaceTransferParametersOrBuilder
- Returns:
- The bytes for domainName.
-
getCurrentRegistrar
public String getCurrentRegistrar()
The registrar that currently manages the domain.
string current_registrar = 2;
- Specified by:
getCurrentRegistrar
in interfaceTransferParametersOrBuilder
- Returns:
- The currentRegistrar.
-
getCurrentRegistrarBytes
public com.google.protobuf.ByteString getCurrentRegistrarBytes()
The registrar that currently manages the domain.
string current_registrar = 2;
- Specified by:
getCurrentRegistrarBytes
in interfaceTransferParametersOrBuilder
- Returns:
- The bytes for currentRegistrar.
-
getNameServersList
public com.google.protobuf.ProtocolStringList getNameServersList()
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
- Specified by:
getNameServersList
in interfaceTransferParametersOrBuilder
- Returns:
- A list containing the nameServers.
-
getNameServersCount
public int getNameServersCount()
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
- Specified by:
getNameServersCount
in interfaceTransferParametersOrBuilder
- Returns:
- The count of nameServers.
-
getNameServers
public String getNameServers(int index)
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
- Specified by:
getNameServers
in interfaceTransferParametersOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The nameServers at the given index.
-
getNameServersBytes
public com.google.protobuf.ByteString getNameServersBytes(int index)
The name servers that currently store the configuration of the domain.
repeated string name_servers = 3;
- Specified by:
getNameServersBytes
in interfaceTransferParametersOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the nameServers at the given index.
-
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.v1.TransferLockState transfer_lock_state = 4;
- Specified by:
getTransferLockStateValue
in interfaceTransferParametersOrBuilder
- Returns:
- The enum numeric value on the wire for transferLockState.
-
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.v1.TransferLockState transfer_lock_state = 4;
- Specified by:
getTransferLockState
in interfaceTransferParametersOrBuilder
- Returns:
- The transferLockState.
-
getSupportedPrivacyList
public List<ContactPrivacy> getSupportedPrivacyList()
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
- Specified by:
getSupportedPrivacyList
in interfaceTransferParametersOrBuilder
- Returns:
- A list containing the supportedPrivacy.
-
getSupportedPrivacyCount
public int getSupportedPrivacyCount()
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
- Specified by:
getSupportedPrivacyCount
in interfaceTransferParametersOrBuilder
- Returns:
- The count of supportedPrivacy.
-
getSupportedPrivacy
public ContactPrivacy getSupportedPrivacy(int index)
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
- Specified by:
getSupportedPrivacy
in interfaceTransferParametersOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The supportedPrivacy at the given index.
-
getSupportedPrivacyValueList
public List<Integer> getSupportedPrivacyValueList()
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
- Specified by:
getSupportedPrivacyValueList
in interfaceTransferParametersOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for supportedPrivacy.
-
getSupportedPrivacyValue
public int getSupportedPrivacyValue(int index)
Contact privacy options that the domain supports.
repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5;
- Specified by:
getSupportedPrivacyValue
in interfaceTransferParametersOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedPrivacy at the given index.
-
hasYearlyPrice
public boolean hasYearlyPrice()
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
- Specified by:
hasYearlyPrice
in interfaceTransferParametersOrBuilder
- Returns:
- Whether the yearlyPrice field is set.
-
getYearlyPrice
public com.google.type.Money getYearlyPrice()
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
- Specified by:
getYearlyPrice
in interfaceTransferParametersOrBuilder
- Returns:
- The yearlyPrice.
-
getYearlyPriceOrBuilder
public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder()
Price to transfer or renew the domain for one year.
.google.type.Money yearly_price = 6;
- Specified by:
getYearlyPriceOrBuilder
in interfaceTransferParametersOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransferParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransferParameters parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransferParameters parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransferParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransferParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TransferParameters.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransferParameters.Builder newBuilder()
-
newBuilder
public static TransferParameters.Builder newBuilder(TransferParameters prototype)
-
toBuilder
public TransferParameters.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransferParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransferParameters getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransferParameters> parser()
-
getParserForType
public com.google.protobuf.Parser<TransferParameters> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransferParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-