public static final class Protos.TransactionOutput extends com.google.protobuf.GeneratedMessageLite<Protos.TransactionOutput,Protos.TransactionOutput.Builder> implements Protos.TransactionOutputOrBuilder
wallet.TransactionOutput
Modifier and Type | Class and Description |
---|---|
static class |
Protos.TransactionOutput.Builder
Protobuf type
wallet.TransactionOutput |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
Modifier and Type | Field and Description |
---|---|
static int |
SCRIPT_BYTES_FIELD_NUMBER |
static int |
SPENT_BY_TRANSACTION_HASH_FIELD_NUMBER |
static int |
SPENT_BY_TRANSACTION_INDEX_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1) |
static Protos.TransactionOutput |
getDefaultInstance() |
com.google.protobuf.ByteString |
getScriptBytes()
script of transaction output
|
com.google.protobuf.ByteString |
getSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
|
int |
getSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
|
long |
getValue()
required int64 value = 1; |
boolean |
hasScriptBytes()
script of transaction output
|
boolean |
hasSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
|
boolean |
hasSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
|
boolean |
hasValue()
required int64 value = 1; |
static Protos.TransactionOutput.Builder |
newBuilder() |
static Protos.TransactionOutput.Builder |
newBuilder(Protos.TransactionOutput prototype) |
static Protos.TransactionOutput |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.TransactionOutput |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TransactionOutput |
parseFrom(byte[] data) |
static Protos.TransactionOutput |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TransactionOutput |
parseFrom(java.nio.ByteBuffer data) |
static Protos.TransactionOutput |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TransactionOutput |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.TransactionOutput |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TransactionOutput |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.TransactionOutput |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TransactionOutput |
parseFrom(java.io.InputStream input) |
static Protos.TransactionOutput |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protos.TransactionOutput> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int VALUE_FIELD_NUMBER
public static final int SCRIPT_BYTES_FIELD_NUMBER
public static final int SPENT_BY_TRANSACTION_HASH_FIELD_NUMBER
public static final int SPENT_BY_TRANSACTION_INDEX_FIELD_NUMBER
public boolean hasValue()
required int64 value = 1;
hasValue
in interface Protos.TransactionOutputOrBuilder
public long getValue()
required int64 value = 1;
getValue
in interface Protos.TransactionOutputOrBuilder
public boolean hasScriptBytes()
script of transaction output
required bytes script_bytes = 2;
hasScriptBytes
in interface Protos.TransactionOutputOrBuilder
public com.google.protobuf.ByteString getScriptBytes()
script of transaction output
required bytes script_bytes = 2;
getScriptBytes
in interface Protos.TransactionOutputOrBuilder
public boolean hasSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
hasSpentByTransactionHash
in interface Protos.TransactionOutputOrBuilder
public com.google.protobuf.ByteString getSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
getSpentByTransactionHash
in interface Protos.TransactionOutputOrBuilder
public boolean hasSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;
hasSpentByTransactionIndex
in interface Protos.TransactionOutputOrBuilder
public int getSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;
getSpentByTransactionIndex
in interface Protos.TransactionOutputOrBuilder
public static Protos.TransactionOutput parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TransactionOutput parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TransactionOutput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TransactionOutput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TransactionOutput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TransactionOutput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TransactionOutput parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TransactionOutput parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TransactionOutput parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TransactionOutput parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TransactionOutput parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TransactionOutput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TransactionOutput.Builder newBuilder()
public static Protos.TransactionOutput.Builder newBuilder(Protos.TransactionOutput prototype)
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
dynamicMethod
in class com.google.protobuf.GeneratedMessageLite<Protos.TransactionOutput,Protos.TransactionOutput.Builder>
public static Protos.TransactionOutput getDefaultInstance()
public static com.google.protobuf.Parser<Protos.TransactionOutput> parser()