public static final class WalletKitOuterClass.ImportAccountRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.ImportAccountRequest.Builder> implements WalletKitOuterClass.ImportAccountRequestOrBuilder
walletrpc.ImportAccountRequest| Modifier and Type | Method and Description |
|---|---|
WalletKitOuterClass.ImportAccountRequest |
build() |
WalletKitOuterClass.ImportAccountRequest |
buildPartial() |
WalletKitOuterClass.ImportAccountRequest.Builder |
clear() |
WalletKitOuterClass.ImportAccountRequest.Builder |
clearAddressType()
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.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
clearDryRun()
Whether a dry run should be attempted when importing the account.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
clearExtendedPublicKey()
A public key that corresponds to a wallet account represented as an extended
key.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
clearMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path
m/) from which the account public key was derived from.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
clearName()
A name to identify the account with.
|
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.
|
WalletKitOuterClass.ImportAccountRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WalletKitOuterClass.ImportAccountRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WalletKitOuterClass.ImportAccountRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
WalletKitOuterClass.ImportAccountRequest.Builder |
mergeFrom(WalletKitOuterClass.ImportAccountRequest other) |
WalletKitOuterClass.ImportAccountRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WalletKitOuterClass.ImportAccountRequest.Builder |
setAddressType(WalletKitOuterClass.AddressType value)
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.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setAddressTypeValue(int value)
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.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setDryRun(boolean value)
Whether a dry run should be attempted when importing the account.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setExtendedPublicKey(java.lang.String value)
A public key that corresponds to a wallet account represented as an extended
key.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setExtendedPublicKeyBytes(com.google.protobuf.ByteString value)
A public key that corresponds to a wallet account represented as an extended
key.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setMasterKeyFingerprint(com.google.protobuf.ByteString value)
The fingerprint of the root key (also known as the key with derivation path
m/) from which the account public key was derived from.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setName(java.lang.String value)
A name to identify the account with.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
A name to identify the account with.
|
WalletKitOuterClass.ImportAccountRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>public WalletKitOuterClass.ImportAccountRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>public WalletKitOuterClass.ImportAccountRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WalletKitOuterClass.ImportAccountRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.ImportAccountRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WalletKitOuterClass.ImportAccountRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>public WalletKitOuterClass.ImportAccountRequest.Builder mergeFrom(WalletKitOuterClass.ImportAccountRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>public WalletKitOuterClass.ImportAccountRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>java.io.IOExceptionpublic 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 WalletKitOuterClass.ImportAccountRequest.Builder setName(java.lang.String value)
A name to identify the account with.
string name = 1;value - The name to set.public WalletKitOuterClass.ImportAccountRequest.Builder clearName()
A name to identify the account with.
string name = 1;public WalletKitOuterClass.ImportAccountRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
A name to identify the account with.
string name = 1;value - The bytes for name to set.public 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 WalletKitOuterClass.ImportAccountRequest.Builder setExtendedPublicKey(java.lang.String value)
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;value - The extendedPublicKey to set.public WalletKitOuterClass.ImportAccountRequest.Builder clearExtendedPublicKey()
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;public WalletKitOuterClass.ImportAccountRequest.Builder setExtendedPublicKeyBytes(com.google.protobuf.ByteString value)
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;value - The bytes for extendedPublicKey to set.public 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 WalletKitOuterClass.ImportAccountRequest.Builder setMasterKeyFingerprint(com.google.protobuf.ByteString value)
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;value - The masterKeyFingerprint to set.public WalletKitOuterClass.ImportAccountRequest.Builder clearMasterKeyFingerprint()
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;public 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.ImportAccountRequest.Builder setAddressTypeValue(int value)
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;value - The enum numeric value on the wire for addressType to set.public 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 WalletKitOuterClass.ImportAccountRequest.Builder setAddressType(WalletKitOuterClass.AddressType value)
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;value - The addressType to set.public WalletKitOuterClass.ImportAccountRequest.Builder clearAddressType()
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;public 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 WalletKitOuterClass.ImportAccountRequest.Builder setDryRun(boolean value)
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;value - The dryRun to set.public WalletKitOuterClass.ImportAccountRequest.Builder clearDryRun()
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;public final WalletKitOuterClass.ImportAccountRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>public final WalletKitOuterClass.ImportAccountRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WalletKitOuterClass.ImportAccountRequest.Builder>