public static final class Protos.TransactionOutput extends com.google.protobuf.GeneratedMessageV3 implements Protos.TransactionOutputOrBuilder
wallet.TransactionOutput
Modifier and Type | Class and Description |
---|---|
static class |
Protos.TransactionOutput.Builder
Protobuf type
wallet.TransactionOutput |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static com.google.protobuf.Parser<Protos.TransactionOutput> |
PARSER
Deprecated.
|
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.TransactionOutput |
getDefaultInstance() |
Protos.TransactionOutput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Protos.TransactionOutput> |
getParserForType() |
com.google.protobuf.ByteString |
getScriptBytes()
script of transaction output
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getValue()
required int64 value = 1; |
int |
hashCode() |
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; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.TransactionOutput.Builder |
newBuilder() |
static Protos.TransactionOutput.Builder |
newBuilder(Protos.TransactionOutput prototype) |
Protos.TransactionOutput.Builder |
newBuilderForType() |
protected Protos.TransactionOutput.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
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() |
Protos.TransactionOutput.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
@Deprecated public static final com.google.protobuf.Parser<Protos.TransactionOutput> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
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 Protos.TransactionOutput.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protos.TransactionOutput.Builder newBuilder()
public static Protos.TransactionOutput.Builder newBuilder(Protos.TransactionOutput prototype)
public Protos.TransactionOutput.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protos.TransactionOutput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Protos.TransactionOutput getDefaultInstance()
public static com.google.protobuf.Parser<Protos.TransactionOutput> parser()
public com.google.protobuf.Parser<Protos.TransactionOutput> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Protos.TransactionOutput getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder