public static final class Protos.Key.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder> implements Protos.KeyOrBuilder
A key used to control Bitcoin spending. Either the private key, the public key or both may be present. It is recommended that if the private key is provided that the public key is provided too because deriving it is slow. If only the public key is provided, the key can only be used to watch the blockchain and verify transactions, and not for spending.Protobuf type
wallet.Key| Modifier and Type | Method and Description |
|---|---|
Protos.Key.Builder |
addAccountPath(int value)
The path to the root.
|
Protos.Key.Builder |
addAllAccountPath(java.lang.Iterable<? extends java.lang.Integer> values)
The path to the root.
|
Protos.Key.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Key |
build() |
Protos.Key |
buildPartial() |
Protos.Key.Builder |
clear() |
Protos.Key.Builder |
clearAccountPath()
The path to the root.
|
Protos.Key.Builder |
clearCreationTimestamp()
Timestamp stored as millis since epoch.
|
Protos.Key.Builder |
clearDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.Key.Builder |
clearDeterministicSeed()
The seed for a deterministic key hierarchy.
|
Protos.Key.Builder |
clearEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.Key.Builder |
clearEncryptedDeterministicSeed()
Encrypted version of the seed
|
Protos.Key.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Key.Builder |
clearLabel()
User-provided label associated with the key.
|
Protos.Key.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Key.Builder |
clearOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
|
Protos.Key.Builder |
clearPublicKey()
The public EC key derived from the private key.
|
Protos.Key.Builder |
clearSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
|
Protos.Key.Builder |
clearType()
required .wallet.Key.Type type = 1; |
Protos.Key.Builder |
clone() |
int |
getAccountPath(int index)
The path to the root.
|
int |
getAccountPathCount()
The path to the root.
|
java.util.List<java.lang.Integer> |
getAccountPathList()
The path to the root.
|
long |
getCreationTimestamp()
Timestamp stored as millis since epoch.
|
Protos.Key |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.DeterministicKey |
getDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.DeterministicKey.Builder |
getDeterministicKeyBuilder()
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.DeterministicKeyOrBuilder |
getDeterministicKeyOrBuilder()
optional .wallet.DeterministicKey deterministic_key = 7; |
com.google.protobuf.ByteString |
getDeterministicSeed()
The seed for a deterministic key hierarchy.
|
Protos.EncryptedData |
getEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.EncryptedData.Builder |
getEncryptedDataBuilder()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.EncryptedDataOrBuilder |
getEncryptedDataOrBuilder()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.EncryptedData |
getEncryptedDeterministicSeed()
Encrypted version of the seed
|
Protos.EncryptedData.Builder |
getEncryptedDeterministicSeedBuilder()
Encrypted version of the seed
|
Protos.EncryptedDataOrBuilder |
getEncryptedDeterministicSeedOrBuilder()
Encrypted version of the seed
|
java.lang.String |
getLabel()
User-provided label associated with the key.
|
com.google.protobuf.ByteString |
getLabelBytes()
User-provided label associated with the key.
|
Protos.Key.OutputScriptType |
getOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
|
com.google.protobuf.ByteString |
getPublicKey()
The public EC key derived from the private key.
|
com.google.protobuf.ByteString |
getSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
|
Protos.Key.Type |
getType()
required .wallet.Key.Type type = 1; |
boolean |
hasCreationTimestamp()
Timestamp stored as millis since epoch.
|
boolean |
hasDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7; |
boolean |
hasDeterministicSeed()
The seed for a deterministic key hierarchy.
|
boolean |
hasEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
boolean |
hasEncryptedDeterministicSeed()
Encrypted version of the seed
|
boolean |
hasLabel()
User-provided label associated with the key.
|
boolean |
hasOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
|
boolean |
hasPublicKey()
The public EC key derived from the private key.
|
boolean |
hasSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
|
boolean |
hasType()
required .wallet.Key.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Key.Builder |
mergeDeterministicKey(Protos.DeterministicKey value)
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.Key.Builder |
mergeEncryptedData(Protos.EncryptedData value)
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.Key.Builder |
mergeEncryptedDeterministicSeed(Protos.EncryptedData value)
Encrypted version of the seed
|
Protos.Key.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Key.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Key.Builder |
mergeFrom(Protos.Key other) |
Protos.Key.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Key.Builder |
setAccountPath(int index,
int value)
The path to the root.
|
Protos.Key.Builder |
setCreationTimestamp(long value)
Timestamp stored as millis since epoch.
|
Protos.Key.Builder |
setDeterministicKey(Protos.DeterministicKey.Builder builderForValue)
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.Key.Builder |
setDeterministicKey(Protos.DeterministicKey value)
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.Key.Builder |
setDeterministicSeed(com.google.protobuf.ByteString value)
The seed for a deterministic key hierarchy.
|
Protos.Key.Builder |
setEncryptedData(Protos.EncryptedData.Builder builderForValue)
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.Key.Builder |
setEncryptedData(Protos.EncryptedData value)
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.Key.Builder |
setEncryptedDeterministicSeed(Protos.EncryptedData.Builder builderForValue)
Encrypted version of the seed
|
Protos.Key.Builder |
setEncryptedDeterministicSeed(Protos.EncryptedData value)
Encrypted version of the seed
|
Protos.Key.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Key.Builder |
setLabel(java.lang.String value)
User-provided label associated with the key.
|
Protos.Key.Builder |
setLabelBytes(com.google.protobuf.ByteString value)
User-provided label associated with the key.
|
Protos.Key.Builder |
setOutputScriptType(Protos.Key.OutputScriptType value)
Type of addresses (aka output scripts) to generate for receiving.
|
Protos.Key.Builder |
setPublicKey(com.google.protobuf.ByteString value)
The public EC key derived from the private key.
|
Protos.Key.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Key.Builder |
setSecretBytes(com.google.protobuf.ByteString value)
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
|
Protos.Key.Builder |
setType(Protos.Key.Type value)
required .wallet.Key.Type type = 1; |
Protos.Key.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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<Protos.Key.Builder>public Protos.Key.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.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<Protos.Key.Builder>public Protos.Key getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Protos.Key build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Protos.Key buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Protos.Key.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public Protos.Key.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public Protos.Key.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public Protos.Key.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public Protos.Key.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public Protos.Key.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public Protos.Key.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.Key.Builder>public Protos.Key.Builder mergeFrom(Protos.Key other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public Protos.Key.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<Protos.Key.Builder>java.io.IOExceptionpublic boolean hasType()
required .wallet.Key.Type type = 1;hasType in interface Protos.KeyOrBuilderpublic Protos.Key.Type getType()
required .wallet.Key.Type type = 1;getType in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setType(Protos.Key.Type value)
required .wallet.Key.Type type = 1;public Protos.Key.Builder clearType()
required .wallet.Key.Type type = 1;public boolean hasSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
optional bytes secret_bytes = 2;hasSecretBytes in interface Protos.KeyOrBuilderpublic com.google.protobuf.ByteString getSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
optional bytes secret_bytes = 2;getSecretBytes in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setSecretBytes(com.google.protobuf.ByteString value)
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
optional bytes secret_bytes = 2;public Protos.Key.Builder clearSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
optional bytes secret_bytes = 2;public boolean hasEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;hasEncryptedData in interface Protos.KeyOrBuilderpublic Protos.EncryptedData getEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;getEncryptedData in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setEncryptedData(Protos.EncryptedData value)
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;public Protos.Key.Builder setEncryptedData(Protos.EncryptedData.Builder builderForValue)
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;public Protos.Key.Builder mergeEncryptedData(Protos.EncryptedData value)
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;public Protos.Key.Builder clearEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;public Protos.EncryptedData.Builder getEncryptedDataBuilder()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;public Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;getEncryptedDataOrBuilder in interface Protos.KeyOrBuilderpublic boolean hasPublicKey()
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
optional bytes public_key = 3;hasPublicKey in interface Protos.KeyOrBuilderpublic com.google.protobuf.ByteString getPublicKey()
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
optional bytes public_key = 3;getPublicKey in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setPublicKey(com.google.protobuf.ByteString value)
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
optional bytes public_key = 3;public Protos.Key.Builder clearPublicKey()
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
optional bytes public_key = 3;public boolean hasLabel()
User-provided label associated with the key.
optional string label = 4;hasLabel in interface Protos.KeyOrBuilderpublic java.lang.String getLabel()
User-provided label associated with the key.
optional string label = 4;getLabel in interface Protos.KeyOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
User-provided label associated with the key.
optional string label = 4;getLabelBytes in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setLabel(java.lang.String value)
User-provided label associated with the key.
optional string label = 4;public Protos.Key.Builder clearLabel()
User-provided label associated with the key.
optional string label = 4;public Protos.Key.Builder setLabelBytes(com.google.protobuf.ByteString value)
User-provided label associated with the key.
optional string label = 4;public boolean hasCreationTimestamp()
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. The reason it's optional is that keys derived from a parent don't have this data.
optional int64 creation_timestamp = 5;hasCreationTimestamp in interface Protos.KeyOrBuilderpublic long getCreationTimestamp()
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. The reason it's optional is that keys derived from a parent don't have this data.
optional int64 creation_timestamp = 5;getCreationTimestamp in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setCreationTimestamp(long value)
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. The reason it's optional is that keys derived from a parent don't have this data.
optional int64 creation_timestamp = 5;public Protos.Key.Builder clearCreationTimestamp()
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. The reason it's optional is that keys derived from a parent don't have this data.
optional int64 creation_timestamp = 5;public boolean hasDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7;hasDeterministicKey in interface Protos.KeyOrBuilderpublic Protos.DeterministicKey getDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7;getDeterministicKey in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setDeterministicKey(Protos.DeterministicKey value)
optional .wallet.DeterministicKey deterministic_key = 7;public Protos.Key.Builder setDeterministicKey(Protos.DeterministicKey.Builder builderForValue)
optional .wallet.DeterministicKey deterministic_key = 7;public Protos.Key.Builder mergeDeterministicKey(Protos.DeterministicKey value)
optional .wallet.DeterministicKey deterministic_key = 7;public Protos.Key.Builder clearDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7;public Protos.DeterministicKey.Builder getDeterministicKeyBuilder()
optional .wallet.DeterministicKey deterministic_key = 7;public Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder()
optional .wallet.DeterministicKey deterministic_key = 7;getDeterministicKeyOrBuilder in interface Protos.KeyOrBuilderpublic boolean hasDeterministicSeed()
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
optional bytes deterministic_seed = 8;hasDeterministicSeed in interface Protos.KeyOrBuilderpublic com.google.protobuf.ByteString getDeterministicSeed()
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
optional bytes deterministic_seed = 8;getDeterministicSeed in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setDeterministicSeed(com.google.protobuf.ByteString value)
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
optional bytes deterministic_seed = 8;public Protos.Key.Builder clearDeterministicSeed()
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
optional bytes deterministic_seed = 8;public boolean hasEncryptedDeterministicSeed()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;hasEncryptedDeterministicSeed in interface Protos.KeyOrBuilderpublic Protos.EncryptedData getEncryptedDeterministicSeed()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;getEncryptedDeterministicSeed in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setEncryptedDeterministicSeed(Protos.EncryptedData value)
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;public Protos.Key.Builder setEncryptedDeterministicSeed(Protos.EncryptedData.Builder builderForValue)
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;public Protos.Key.Builder mergeEncryptedDeterministicSeed(Protos.EncryptedData value)
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;public Protos.Key.Builder clearEncryptedDeterministicSeed()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;public Protos.EncryptedData.Builder getEncryptedDeterministicSeedBuilder()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;public Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;getEncryptedDeterministicSeedOrBuilder in interface Protos.KeyOrBuilderpublic java.util.List<java.lang.Integer> getAccountPathList()
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];getAccountPathList in interface Protos.KeyOrBuilderpublic int getAccountPathCount()
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];getAccountPathCount in interface Protos.KeyOrBuilderpublic int getAccountPath(int index)
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];getAccountPath in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setAccountPath(int index, int value)
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];public Protos.Key.Builder addAccountPath(int value)
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];public Protos.Key.Builder addAllAccountPath(java.lang.Iterable<? extends java.lang.Integer> values)
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];public Protos.Key.Builder clearAccountPath()
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];public boolean hasOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
optional .wallet.Key.OutputScriptType output_script_type = 11;hasOutputScriptType in interface Protos.KeyOrBuilderpublic Protos.Key.OutputScriptType getOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
optional .wallet.Key.OutputScriptType output_script_type = 11;getOutputScriptType in interface Protos.KeyOrBuilderpublic Protos.Key.Builder setOutputScriptType(Protos.Key.OutputScriptType value)
Type of addresses (aka output scripts) to generate for receiving.
optional .wallet.Key.OutputScriptType output_script_type = 11;public Protos.Key.Builder clearOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
optional .wallet.Key.OutputScriptType output_script_type = 11;public final Protos.Key.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>public final Protos.Key.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Key.Builder>