public static final class WalletKitOuterClass.ImportAccountRequest extends com.google.protobuf.GeneratedMessageV3 implements WalletKitOuterClass.ImportAccountRequestOrBuilder
walletrpc.ImportAccountRequest| Modifier and Type | Class and Description |
|---|---|
static class |
WalletKitOuterClass.ImportAccountRequest.Builder
Protobuf type
walletrpc.ImportAccountRequest |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_TYPE_FIELD_NUMBER |
static int |
DRY_RUN_FIELD_NUMBER |
static int |
EXTENDED_PUBLIC_KEY_FIELD_NUMBER |
static int |
MASTER_KEY_FINGERPRINT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
WalletKitOuterClass.AddressType |
getAddressType()
An address type is only required when the extended account public key has a
legacy version (xpub, tpub, etc.), such that the wallet cannot detect what
address scheme it belongs to.
|
int |
getAddressTypeValue()
An address type is only required when the extended account public key has a
legacy version (xpub, tpub, etc.), such that the wallet cannot detect what
address scheme it belongs to.
|
static WalletKitOuterClass.ImportAccountRequest |
getDefaultInstance() |
WalletKitOuterClass.ImportAccountRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDryRun()
Whether a dry run should be attempted when importing the account.
|
java.lang.String |
getExtendedPublicKey()
A public key that corresponds to a wallet account represented as an extended
key.
|
com.google.protobuf.ByteString |
getExtendedPublicKeyBytes()
A public key that corresponds to a wallet account represented as an extended
key.
|
com.google.protobuf.ByteString |
getMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path
m/) from which the account public key was derived from.
|
java.lang.String |
getName()
A name to identify the account with.
|
com.google.protobuf.ByteString |
getNameBytes()
A name to identify the account with.
|
com.google.protobuf.Parser<WalletKitOuterClass.ImportAccountRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WalletKitOuterClass.ImportAccountRequest.Builder |
newBuilder() |
static WalletKitOuterClass.ImportAccountRequest.Builder |
newBuilder(WalletKitOuterClass.ImportAccountRequest prototype) |
WalletKitOuterClass.ImportAccountRequest.Builder |
newBuilderForType() |
protected WalletKitOuterClass.ImportAccountRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WalletKitOuterClass.ImportAccountRequest |
parseDelimitedFrom(java.io.InputStream input) |
static WalletKitOuterClass.ImportAccountRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(byte[] data) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(java.nio.ByteBuffer data) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(com.google.protobuf.ByteString data) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(java.io.InputStream input) |
static WalletKitOuterClass.ImportAccountRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WalletKitOuterClass.ImportAccountRequest> |
parser() |
WalletKitOuterClass.ImportAccountRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int EXTENDED_PUBLIC_KEY_FIELD_NUMBER
public static final int MASTER_KEY_FINGERPRINT_FIELD_NUMBER
public static final int ADDRESS_TYPE_FIELD_NUMBER
public static final int DRY_RUN_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getName()
A name to identify the account with.
string name = 1;getName in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
A name to identify the account with.
string name = 1;getNameBytes in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic java.lang.String getExtendedPublicKey()
A public key that corresponds to a wallet account represented as an extended key. It must conform to a derivation path of the form m/purpose'/coin_type'/account'.
string extended_public_key = 2;getExtendedPublicKey in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic com.google.protobuf.ByteString getExtendedPublicKeyBytes()
A public key that corresponds to a wallet account represented as an extended key. It must conform to a derivation path of the form m/purpose'/coin_type'/account'.
string extended_public_key = 2;getExtendedPublicKeyBytes in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic com.google.protobuf.ByteString getMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path m/) from which the account public key was derived from. This may be required by some hardware wallets for proper identification and signing. The bytes must be in big-endian order.
bytes master_key_fingerprint = 3;getMasterKeyFingerprint in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic int getAddressTypeValue()
An address type is only required when the extended account public key has a legacy version (xpub, tpub, etc.), such that the wallet cannot detect what address scheme it belongs to.
.walletrpc.AddressType address_type = 4;getAddressTypeValue in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic WalletKitOuterClass.AddressType getAddressType()
An address type is only required when the extended account public key has a legacy version (xpub, tpub, etc.), such that the wallet cannot detect what address scheme it belongs to.
.walletrpc.AddressType address_type = 4;getAddressType in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic boolean getDryRun()
Whether a dry run should be attempted when importing the account. This serves as a way to confirm whether the account is being imported correctly by returning the first N addresses for the external and internal branches of the account. If these addresses match as expected, then it should be safe to import the account as is.
bool dry_run = 5;getDryRun in interface WalletKitOuterClass.ImportAccountRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WalletKitOuterClass.ImportAccountRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.ImportAccountRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic WalletKitOuterClass.ImportAccountRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WalletKitOuterClass.ImportAccountRequest.Builder newBuilder()
public static WalletKitOuterClass.ImportAccountRequest.Builder newBuilder(WalletKitOuterClass.ImportAccountRequest prototype)
public WalletKitOuterClass.ImportAccountRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WalletKitOuterClass.ImportAccountRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WalletKitOuterClass.ImportAccountRequest getDefaultInstance()
public static com.google.protobuf.Parser<WalletKitOuterClass.ImportAccountRequest> parser()
public com.google.protobuf.Parser<WalletKitOuterClass.ImportAccountRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WalletKitOuterClass.ImportAccountRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder