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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasValue()
required int64 value = 1;hasValue in interface Protos.TransactionOutputOrBuilderpublic long getValue()
required int64 value = 1;getValue in interface Protos.TransactionOutputOrBuilderpublic boolean hasScriptBytes()
script of transaction output
required bytes script_bytes = 2;hasScriptBytes in interface Protos.TransactionOutputOrBuilderpublic com.google.protobuf.ByteString getScriptBytes()
script of transaction output
required bytes script_bytes = 2;getScriptBytes in interface Protos.TransactionOutputOrBuilderpublic boolean hasSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;hasSpentByTransactionHash in interface Protos.TransactionOutputOrBuilderpublic 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.TransactionOutputOrBuilderpublic 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.TransactionOutputOrBuilderpublic 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.TransactionOutputOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Protos.TransactionOutput parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TransactionOutput parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TransactionOutput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TransactionOutput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TransactionOutput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TransactionOutput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TransactionOutput parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.TransactionOutput parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.TransactionOutput parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.TransactionOutput parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.TransactionOutput parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.TransactionOutput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.TransactionOutput.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Protos.TransactionOutput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Protos.TransactionOutput getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder