public static final class WalletKitOuterClass.Account extends com.google.protobuf.GeneratedMessageV3 implements WalletKitOuterClass.AccountOrBuilder
walletrpc.Account| Modifier and Type | Class and Description |
|---|---|
static class |
WalletKitOuterClass.Account.Builder
Protobuf type
walletrpc.Account |
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 |
DERIVATION_PATH_FIELD_NUMBER |
static int |
EXTENDED_PUBLIC_KEY_FIELD_NUMBER |
static int |
EXTERNAL_KEY_COUNT_FIELD_NUMBER |
static int |
INTERNAL_KEY_COUNT_FIELD_NUMBER |
static int |
MASTER_KEY_FINGERPRINT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
WATCH_ONLY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
WalletKitOuterClass.AddressType |
getAddressType()
The type of addresses the account supports.
|
int |
getAddressTypeValue()
The type of addresses the account supports.
|
static WalletKitOuterClass.Account |
getDefaultInstance() |
WalletKitOuterClass.Account |
getDefaultInstanceForType() |
java.lang.String |
getDerivationPath()
The derivation path corresponding to the account public key.
|
com.google.protobuf.ByteString |
getDerivationPathBytes()
The derivation path corresponding to the account public key.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getExtendedPublicKey()
The public key backing the account that all keys are derived from
represented as an extended key.
|
com.google.protobuf.ByteString |
getExtendedPublicKeyBytes()
The public key backing the account that all keys are derived from
represented as an extended key.
|
int |
getExternalKeyCount()
The number of keys derived from the external branch of the account public
key.
|
int |
getInternalKeyCount()
The number of keys derived from the internal branch of the account public
key.
|
com.google.protobuf.ByteString |
getMasterKeyFingerprint()
The fingerprint of the root key from which the account public key was
derived from.
|
java.lang.String |
getName()
The name used to identify the account.
|
com.google.protobuf.ByteString |
getNameBytes()
The name used to identify the account.
|
com.google.protobuf.Parser<WalletKitOuterClass.Account> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getWatchOnly()
Whether the wallet stores private keys for the account.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WalletKitOuterClass.Account.Builder |
newBuilder() |
static WalletKitOuterClass.Account.Builder |
newBuilder(WalletKitOuterClass.Account prototype) |
WalletKitOuterClass.Account.Builder |
newBuilderForType() |
protected WalletKitOuterClass.Account.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WalletKitOuterClass.Account |
parseDelimitedFrom(java.io.InputStream input) |
static WalletKitOuterClass.Account |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.Account |
parseFrom(byte[] data) |
static WalletKitOuterClass.Account |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.Account |
parseFrom(java.nio.ByteBuffer data) |
static WalletKitOuterClass.Account |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.Account |
parseFrom(com.google.protobuf.ByteString data) |
static WalletKitOuterClass.Account |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.Account |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WalletKitOuterClass.Account |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WalletKitOuterClass.Account |
parseFrom(java.io.InputStream input) |
static WalletKitOuterClass.Account |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WalletKitOuterClass.Account> |
parser() |
WalletKitOuterClass.Account.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 ADDRESS_TYPE_FIELD_NUMBER
public static final int EXTENDED_PUBLIC_KEY_FIELD_NUMBER
public static final int MASTER_KEY_FINGERPRINT_FIELD_NUMBER
public static final int DERIVATION_PATH_FIELD_NUMBER
public static final int EXTERNAL_KEY_COUNT_FIELD_NUMBER
public static final int INTERNAL_KEY_COUNT_FIELD_NUMBER
public static final int WATCH_ONLY_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()
The name used to identify the account.
string name = 1;getName in interface WalletKitOuterClass.AccountOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name used to identify the account.
string name = 1;getNameBytes in interface WalletKitOuterClass.AccountOrBuilderpublic int getAddressTypeValue()
The type of addresses the account supports.
.walletrpc.AddressType address_type = 2;getAddressTypeValue in interface WalletKitOuterClass.AccountOrBuilderpublic WalletKitOuterClass.AddressType getAddressType()
The type of addresses the account supports.
.walletrpc.AddressType address_type = 2;getAddressType in interface WalletKitOuterClass.AccountOrBuilderpublic java.lang.String getExtendedPublicKey()
The public key backing the account that all keys are derived from represented as an extended key. This will always be empty for the default imported account in which single public keys are imported into.
string extended_public_key = 3;getExtendedPublicKey in interface WalletKitOuterClass.AccountOrBuilderpublic com.google.protobuf.ByteString getExtendedPublicKeyBytes()
The public key backing the account that all keys are derived from represented as an extended key. This will always be empty for the default imported account in which single public keys are imported into.
string extended_public_key = 3;getExtendedPublicKeyBytes in interface WalletKitOuterClass.AccountOrBuilderpublic com.google.protobuf.ByteString getMasterKeyFingerprint()
The fingerprint of the root key from which the account public key was derived from. This will always be zero for the default imported account in which single public keys are imported into. The bytes are in big-endian order.
bytes master_key_fingerprint = 4;getMasterKeyFingerprint in interface WalletKitOuterClass.AccountOrBuilderpublic java.lang.String getDerivationPath()
The derivation path corresponding to the account public key. This will always be empty for the default imported account in which single public keys are imported into.
string derivation_path = 5;getDerivationPath in interface WalletKitOuterClass.AccountOrBuilderpublic com.google.protobuf.ByteString getDerivationPathBytes()
The derivation path corresponding to the account public key. This will always be empty for the default imported account in which single public keys are imported into.
string derivation_path = 5;getDerivationPathBytes in interface WalletKitOuterClass.AccountOrBuilderpublic int getExternalKeyCount()
The number of keys derived from the external branch of the account public key. This will always be zero for the default imported account in which single public keys are imported into.
uint32 external_key_count = 6;getExternalKeyCount in interface WalletKitOuterClass.AccountOrBuilderpublic int getInternalKeyCount()
The number of keys derived from the internal branch of the account public key. This will always be zero for the default imported account in which single public keys are imported into.
uint32 internal_key_count = 7;getInternalKeyCount in interface WalletKitOuterClass.AccountOrBuilderpublic boolean getWatchOnly()
Whether the wallet stores private keys for the account.
bool watch_only = 8;getWatchOnly in interface WalletKitOuterClass.AccountOrBuilderpublic 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.Account parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.Account parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.Account parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.Account parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.Account parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.Account parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.Account parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.Account parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.Account parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.Account parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.Account parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic WalletKitOuterClass.Account.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WalletKitOuterClass.Account.Builder newBuilder()
public static WalletKitOuterClass.Account.Builder newBuilder(WalletKitOuterClass.Account prototype)
public WalletKitOuterClass.Account.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WalletKitOuterClass.Account.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WalletKitOuterClass.Account getDefaultInstance()
public static com.google.protobuf.Parser<WalletKitOuterClass.Account> parser()
public com.google.protobuf.Parser<WalletKitOuterClass.Account> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WalletKitOuterClass.Account getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder