public static final class KeepKeyType.TxInputType extends com.google.protobuf.GeneratedMessage implements KeepKeyType.TxInputTypeOrBuilder
TxInputType
Structure representing transaction input @used_in SimpleSignTx @used_in TransactionType
| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyType.TxInputType.Builder
Protobuf type
TxInputType |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_N_FIELD_NUMBER |
static int |
MULTISIG_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyType.TxInputType> |
PARSER |
static int |
PREV_HASH_FIELD_NUMBER |
static int |
PREV_INDEX_FIELD_NUMBER |
static int |
SCRIPT_SIG_FIELD_NUMBER |
static int |
SCRIPT_TYPE_FIELD_NUMBER |
static int |
SEQUENCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getAddressN(int index)
repeated uint32 address_n = 1; |
int |
getAddressNCount()
repeated uint32 address_n = 1; |
List<Integer> |
getAddressNList()
repeated uint32 address_n = 1; |
static KeepKeyType.TxInputType |
getDefaultInstance() |
KeepKeyType.TxInputType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
KeepKeyType.MultisigRedeemScriptType |
getMultisig()
optional .MultisigRedeemScriptType multisig = 7; |
KeepKeyType.MultisigRedeemScriptTypeOrBuilder |
getMultisigOrBuilder()
optional .MultisigRedeemScriptType multisig = 7; |
com.google.protobuf.Parser<KeepKeyType.TxInputType> |
getParserForType() |
com.google.protobuf.ByteString |
getPrevHash()
required bytes prev_hash = 2; |
int |
getPrevIndex()
required uint32 prev_index = 3; |
com.google.protobuf.ByteString |
getScriptSig()
optional bytes script_sig = 4; |
KeepKeyType.InputScriptType |
getScriptType()
optional .InputScriptType script_type = 6 [default = SPENDADDRESS]; |
int |
getSequence()
optional uint32 sequence = 5 [default = 4294967295]; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasMultisig()
optional .MultisigRedeemScriptType multisig = 7; |
boolean |
hasPrevHash()
required bytes prev_hash = 2; |
boolean |
hasPrevIndex()
required uint32 prev_index = 3; |
boolean |
hasScriptSig()
optional bytes script_sig = 4; |
boolean |
hasScriptType()
optional .InputScriptType script_type = 6 [default = SPENDADDRESS]; |
boolean |
hasSequence()
optional uint32 sequence = 5 [default = 4294967295]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyType.TxInputType.Builder |
newBuilder() |
static KeepKeyType.TxInputType.Builder |
newBuilder(KeepKeyType.TxInputType prototype) |
KeepKeyType.TxInputType.Builder |
newBuilderForType() |
protected KeepKeyType.TxInputType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyType.TxInputType |
parseDelimitedFrom(InputStream input) |
static KeepKeyType.TxInputType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxInputType |
parseFrom(byte[] data) |
static KeepKeyType.TxInputType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxInputType |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyType.TxInputType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxInputType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyType.TxInputType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyType.TxInputType |
parseFrom(InputStream input) |
static KeepKeyType.TxInputType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyType.TxInputType.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<KeepKeyType.TxInputType> PARSER
public static final int ADDRESS_N_FIELD_NUMBER
public static final int PREV_HASH_FIELD_NUMBER
public static final int PREV_INDEX_FIELD_NUMBER
public static final int SCRIPT_SIG_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER
public static final int SCRIPT_TYPE_FIELD_NUMBER
public static final int MULTISIG_FIELD_NUMBER
public static KeepKeyType.TxInputType getDefaultInstance()
public KeepKeyType.TxInputType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<KeepKeyType.TxInputType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic List<Integer> getAddressNList()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNList in interface KeepKeyType.TxInputTypeOrBuilderpublic int getAddressNCount()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNCount in interface KeepKeyType.TxInputTypeOrBuilderpublic int getAddressN(int index)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressN in interface KeepKeyType.TxInputTypeOrBuilderpublic boolean hasPrevHash()
required bytes prev_hash = 2;
hash of previous transaction output to spend by this input
hasPrevHash in interface KeepKeyType.TxInputTypeOrBuilderpublic com.google.protobuf.ByteString getPrevHash()
required bytes prev_hash = 2;
hash of previous transaction output to spend by this input
getPrevHash in interface KeepKeyType.TxInputTypeOrBuilderpublic boolean hasPrevIndex()
required uint32 prev_index = 3;
index of previous output to spend
hasPrevIndex in interface KeepKeyType.TxInputTypeOrBuilderpublic int getPrevIndex()
required uint32 prev_index = 3;
index of previous output to spend
getPrevIndex in interface KeepKeyType.TxInputTypeOrBuilderpublic boolean hasScriptSig()
optional bytes script_sig = 4;
script signature, unset for tx to sign
hasScriptSig in interface KeepKeyType.TxInputTypeOrBuilderpublic com.google.protobuf.ByteString getScriptSig()
optional bytes script_sig = 4;
script signature, unset for tx to sign
getScriptSig in interface KeepKeyType.TxInputTypeOrBuilderpublic boolean hasSequence()
optional uint32 sequence = 5 [default = 4294967295];
sequence
hasSequence in interface KeepKeyType.TxInputTypeOrBuilderpublic int getSequence()
optional uint32 sequence = 5 [default = 4294967295];
sequence
getSequence in interface KeepKeyType.TxInputTypeOrBuilderpublic boolean hasScriptType()
optional .InputScriptType script_type = 6 [default = SPENDADDRESS];
defines template of input script
hasScriptType in interface KeepKeyType.TxInputTypeOrBuilderpublic KeepKeyType.InputScriptType getScriptType()
optional .InputScriptType script_type = 6 [default = SPENDADDRESS];
defines template of input script
getScriptType in interface KeepKeyType.TxInputTypeOrBuilderpublic boolean hasMultisig()
optional .MultisigRedeemScriptType multisig = 7;
Filled if input is going to spend multisig tx
hasMultisig in interface KeepKeyType.TxInputTypeOrBuilderpublic KeepKeyType.MultisigRedeemScriptType getMultisig()
optional .MultisigRedeemScriptType multisig = 7;
Filled if input is going to spend multisig tx
getMultisig in interface KeepKeyType.TxInputTypeOrBuilderpublic KeepKeyType.MultisigRedeemScriptTypeOrBuilder getMultisigOrBuilder()
optional .MultisigRedeemScriptType multisig = 7;
Filled if input is going to spend multisig tx
getMultisigOrBuilder in interface KeepKeyType.TxInputTypeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static KeepKeyType.TxInputType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxInputType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxInputType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxInputType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyType.TxInputType parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyType.TxInputType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyType.TxInputType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyType.TxInputType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyType.TxInputType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyType.TxInputType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyType.TxInputType.Builder newBuilder()
public KeepKeyType.TxInputType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyType.TxInputType.Builder newBuilder(KeepKeyType.TxInputType prototype)
public KeepKeyType.TxInputType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyType.TxInputType.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.