public static final class TrezorType.TransactionType extends com.google.protobuf.GeneratedMessage implements TrezorType.TransactionTypeOrBuilder
TransactionType
Structure representing transaction @used_in SimpleSignTx
| Modifier and Type | Class and Description |
|---|---|
static class |
TrezorType.TransactionType.Builder
Protobuf type
TransactionType |
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 |
BIN_OUTPUTS_FIELD_NUMBER |
static int |
INPUTS_CNT_FIELD_NUMBER |
static int |
INPUTS_FIELD_NUMBER |
static int |
LOCK_TIME_FIELD_NUMBER |
static int |
OUTPUTS_CNT_FIELD_NUMBER |
static int |
OUTPUTS_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorType.TransactionType> |
PARSER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
TrezorType.TxOutputBinType |
getBinOutputs(int index)
repeated .TxOutputBinType bin_outputs = 3; |
int |
getBinOutputsCount()
repeated .TxOutputBinType bin_outputs = 3; |
List<TrezorType.TxOutputBinType> |
getBinOutputsList()
repeated .TxOutputBinType bin_outputs = 3; |
TrezorType.TxOutputBinTypeOrBuilder |
getBinOutputsOrBuilder(int index)
repeated .TxOutputBinType bin_outputs = 3; |
List<? extends TrezorType.TxOutputBinTypeOrBuilder> |
getBinOutputsOrBuilderList()
repeated .TxOutputBinType bin_outputs = 3; |
static TrezorType.TransactionType |
getDefaultInstance() |
TrezorType.TransactionType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TrezorType.TxInputType |
getInputs(int index)
repeated .TxInputType inputs = 2; |
int |
getInputsCnt()
optional uint32 inputs_cnt = 6; |
int |
getInputsCount()
repeated .TxInputType inputs = 2; |
List<TrezorType.TxInputType> |
getInputsList()
repeated .TxInputType inputs = 2; |
TrezorType.TxInputTypeOrBuilder |
getInputsOrBuilder(int index)
repeated .TxInputType inputs = 2; |
List<? extends TrezorType.TxInputTypeOrBuilder> |
getInputsOrBuilderList()
repeated .TxInputType inputs = 2; |
int |
getLockTime()
optional uint32 lock_time = 4; |
TrezorType.TxOutputType |
getOutputs(int index)
repeated .TxOutputType outputs = 5; |
int |
getOutputsCnt()
optional uint32 outputs_cnt = 7; |
int |
getOutputsCount()
repeated .TxOutputType outputs = 5; |
List<TrezorType.TxOutputType> |
getOutputsList()
repeated .TxOutputType outputs = 5; |
TrezorType.TxOutputTypeOrBuilder |
getOutputsOrBuilder(int index)
repeated .TxOutputType outputs = 5; |
List<? extends TrezorType.TxOutputTypeOrBuilder> |
getOutputsOrBuilderList()
repeated .TxOutputType outputs = 5; |
com.google.protobuf.Parser<TrezorType.TransactionType> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
optional uint32 version = 1; |
boolean |
hasInputsCnt()
optional uint32 inputs_cnt = 6; |
boolean |
hasLockTime()
optional uint32 lock_time = 4; |
boolean |
hasOutputsCnt()
optional uint32 outputs_cnt = 7; |
boolean |
hasVersion()
optional uint32 version = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorType.TransactionType.Builder |
newBuilder() |
static TrezorType.TransactionType.Builder |
newBuilder(TrezorType.TransactionType prototype) |
TrezorType.TransactionType.Builder |
newBuilderForType() |
protected TrezorType.TransactionType.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TrezorType.TransactionType |
parseDelimitedFrom(InputStream input) |
static TrezorType.TransactionType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.TransactionType |
parseFrom(byte[] data) |
static TrezorType.TransactionType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.TransactionType |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorType.TransactionType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.TransactionType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorType.TransactionType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorType.TransactionType |
parseFrom(InputStream input) |
static TrezorType.TransactionType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorType.TransactionType.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<TrezorType.TransactionType> PARSER
public static final int VERSION_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER
public static final int BIN_OUTPUTS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER
public static final int LOCK_TIME_FIELD_NUMBER
public static final int INPUTS_CNT_FIELD_NUMBER
public static final int OUTPUTS_CNT_FIELD_NUMBER
public static TrezorType.TransactionType getDefaultInstance()
public TrezorType.TransactionType 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<TrezorType.TransactionType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasVersion()
optional uint32 version = 1;hasVersion in interface TrezorType.TransactionTypeOrBuilderpublic int getVersion()
optional uint32 version = 1;getVersion in interface TrezorType.TransactionTypeOrBuilderpublic List<TrezorType.TxInputType> getInputsList()
repeated .TxInputType inputs = 2;getInputsList in interface TrezorType.TransactionTypeOrBuilderpublic List<? extends TrezorType.TxInputTypeOrBuilder> getInputsOrBuilderList()
repeated .TxInputType inputs = 2;getInputsOrBuilderList in interface TrezorType.TransactionTypeOrBuilderpublic int getInputsCount()
repeated .TxInputType inputs = 2;getInputsCount in interface TrezorType.TransactionTypeOrBuilderpublic TrezorType.TxInputType getInputs(int index)
repeated .TxInputType inputs = 2;getInputs in interface TrezorType.TransactionTypeOrBuilderpublic TrezorType.TxInputTypeOrBuilder getInputsOrBuilder(int index)
repeated .TxInputType inputs = 2;getInputsOrBuilder in interface TrezorType.TransactionTypeOrBuilderpublic List<TrezorType.TxOutputBinType> getBinOutputsList()
repeated .TxOutputBinType bin_outputs = 3;getBinOutputsList in interface TrezorType.TransactionTypeOrBuilderpublic List<? extends TrezorType.TxOutputBinTypeOrBuilder> getBinOutputsOrBuilderList()
repeated .TxOutputBinType bin_outputs = 3;getBinOutputsOrBuilderList in interface TrezorType.TransactionTypeOrBuilderpublic int getBinOutputsCount()
repeated .TxOutputBinType bin_outputs = 3;getBinOutputsCount in interface TrezorType.TransactionTypeOrBuilderpublic TrezorType.TxOutputBinType getBinOutputs(int index)
repeated .TxOutputBinType bin_outputs = 3;getBinOutputs in interface TrezorType.TransactionTypeOrBuilderpublic TrezorType.TxOutputBinTypeOrBuilder getBinOutputsOrBuilder(int index)
repeated .TxOutputBinType bin_outputs = 3;getBinOutputsOrBuilder in interface TrezorType.TransactionTypeOrBuilderpublic List<TrezorType.TxOutputType> getOutputsList()
repeated .TxOutputType outputs = 5;getOutputsList in interface TrezorType.TransactionTypeOrBuilderpublic List<? extends TrezorType.TxOutputTypeOrBuilder> getOutputsOrBuilderList()
repeated .TxOutputType outputs = 5;getOutputsOrBuilderList in interface TrezorType.TransactionTypeOrBuilderpublic int getOutputsCount()
repeated .TxOutputType outputs = 5;getOutputsCount in interface TrezorType.TransactionTypeOrBuilderpublic TrezorType.TxOutputType getOutputs(int index)
repeated .TxOutputType outputs = 5;getOutputs in interface TrezorType.TransactionTypeOrBuilderpublic TrezorType.TxOutputTypeOrBuilder getOutputsOrBuilder(int index)
repeated .TxOutputType outputs = 5;getOutputsOrBuilder in interface TrezorType.TransactionTypeOrBuilderpublic boolean hasLockTime()
optional uint32 lock_time = 4;hasLockTime in interface TrezorType.TransactionTypeOrBuilderpublic int getLockTime()
optional uint32 lock_time = 4;getLockTime in interface TrezorType.TransactionTypeOrBuilderpublic boolean hasInputsCnt()
optional uint32 inputs_cnt = 6;hasInputsCnt in interface TrezorType.TransactionTypeOrBuilderpublic int getInputsCnt()
optional uint32 inputs_cnt = 6;getInputsCnt in interface TrezorType.TransactionTypeOrBuilderpublic boolean hasOutputsCnt()
optional uint32 outputs_cnt = 7;hasOutputsCnt in interface TrezorType.TransactionTypeOrBuilderpublic int getOutputsCnt()
optional uint32 outputs_cnt = 7;getOutputsCnt in interface TrezorType.TransactionTypeOrBuilderpublic 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 TrezorType.TransactionType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.TransactionType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.TransactionType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.TransactionType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrezorType.TransactionType parseFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorType.TransactionType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorType.TransactionType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TrezorType.TransactionType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorType.TransactionType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TrezorType.TransactionType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrezorType.TransactionType.Builder newBuilder()
public TrezorType.TransactionType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TrezorType.TransactionType.Builder newBuilder(TrezorType.TransactionType prototype)
public TrezorType.TransactionType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TrezorType.TransactionType.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.