public static final class Protos.TransactionOutput.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder> implements Protos.TransactionOutputOrBuilder
wallet.TransactionOutput
Modifier and Type | Method and Description |
---|---|
Protos.TransactionOutput |
build() |
Protos.TransactionOutput |
buildPartial() |
Protos.TransactionOutput.Builder |
clear() |
Protos.TransactionOutput.Builder |
clearScriptBytes()
required bytes script_bytes = 2; |
Protos.TransactionOutput.Builder |
clearSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3; |
Protos.TransactionOutput.Builder |
clearSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4; |
Protos.TransactionOutput.Builder |
clearValue()
required int64 value = 1; |
Protos.TransactionOutput.Builder |
clone() |
Protos.TransactionOutput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getScriptBytes()
required bytes script_bytes = 2; |
com.google.protobuf.ByteString |
getSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3; |
int |
getSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4; |
long |
getValue()
required int64 value = 1; |
boolean |
hasScriptBytes()
required bytes script_bytes = 2; |
boolean |
hasSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3; |
boolean |
hasSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4; |
boolean |
hasValue()
required int64 value = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.TransactionOutput.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TransactionOutput.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.TransactionOutput.Builder |
mergeFrom(Protos.TransactionOutput other) |
Protos.TransactionOutput.Builder |
setScriptBytes(com.google.protobuf.ByteString value)
required bytes script_bytes = 2; |
Protos.TransactionOutput.Builder |
setSpentByTransactionHash(com.google.protobuf.ByteString value)
optional bytes spent_by_transaction_hash = 3; |
Protos.TransactionOutput.Builder |
setSpentByTransactionIndex(int value)
optional int32 spent_by_transaction_index = 4; |
Protos.TransactionOutput.Builder |
setValue(long value)
required int64 value = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.TransactionOutput build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.TransactionOutput buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.TransactionOutput.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder mergeFrom(Protos.TransactionOutput other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.TransactionOutput.Builder>
IOException
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 Protos.TransactionOutput.Builder setValue(long value)
required int64 value = 1;
public Protos.TransactionOutput.Builder clearValue()
required int64 value = 1;
public boolean hasScriptBytes()
required bytes script_bytes = 2;
script of transaction output
hasScriptBytes
in interface Protos.TransactionOutputOrBuilder
public com.google.protobuf.ByteString getScriptBytes()
required bytes script_bytes = 2;
script of transaction output
getScriptBytes
in interface Protos.TransactionOutputOrBuilder
public Protos.TransactionOutput.Builder setScriptBytes(com.google.protobuf.ByteString value)
required bytes script_bytes = 2;
script of transaction output
public Protos.TransactionOutput.Builder clearScriptBytes()
required bytes script_bytes = 2;
script of transaction output
public boolean hasSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3;
If spent, the hash of the transaction doing the spend.
hasSpentByTransactionHash
in interface Protos.TransactionOutputOrBuilder
public com.google.protobuf.ByteString getSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3;
If spent, the hash of the transaction doing the spend.
getSpentByTransactionHash
in interface Protos.TransactionOutputOrBuilder
public Protos.TransactionOutput.Builder setSpentByTransactionHash(com.google.protobuf.ByteString value)
optional bytes spent_by_transaction_hash = 3;
If spent, the hash of the transaction doing the spend.
public Protos.TransactionOutput.Builder clearSpentByTransactionHash()
optional bytes spent_by_transaction_hash = 3;
If spent, the hash of the transaction doing the spend.
public boolean hasSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4;
If spent, the index of the transaction input of the transaction doing the spend.
hasSpentByTransactionIndex
in interface Protos.TransactionOutputOrBuilder
public int getSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4;
If spent, the index of the transaction input of the transaction doing the spend.
getSpentByTransactionIndex
in interface Protos.TransactionOutputOrBuilder
public Protos.TransactionOutput.Builder setSpentByTransactionIndex(int value)
optional int32 spent_by_transaction_index = 4;
If spent, the index of the transaction input of the transaction doing the spend.
public Protos.TransactionOutput.Builder clearSpentByTransactionIndex()
optional int32 spent_by_transaction_index = 4;
If spent, the index of the transaction input of the transaction doing the spend.
Copyright © 2016. All rights reserved.