public static final class Protos.TransactionOutput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder> implements Protos.TransactionOutputOrBuilder
wallet.TransactionOutput
Modifier and Type | Method and Description |
---|---|
Protos.TransactionOutput.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TransactionOutput |
build() |
Protos.TransactionOutput |
buildPartial() |
Protos.TransactionOutput.Builder |
clear() |
Protos.TransactionOutput.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.TransactionOutput.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.TransactionOutput.Builder |
clearScriptBytes()
script of transaction output
|
Protos.TransactionOutput.Builder |
clearSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
|
Protos.TransactionOutput.Builder |
clearSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
|
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()
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; |
protected com.google.protobuf.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TransactionOutput.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TransactionOutput.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.TransactionOutput.Builder |
setScriptBytes(com.google.protobuf.ByteString value)
script of transaction output
|
Protos.TransactionOutput.Builder |
setSpentByTransactionHash(com.google.protobuf.ByteString value)
If spent, the hash of the transaction doing the spend.
|
Protos.TransactionOutput.Builder |
setSpentByTransactionIndex(int value)
If spent, the index of the transaction input of the transaction doing the spend.
|
Protos.TransactionOutput.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TransactionOutput.Builder |
setValue(long value)
required int64 value = 1; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.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.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>
public Protos.TransactionOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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>
java.io.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()
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 Protos.TransactionOutput.Builder setScriptBytes(com.google.protobuf.ByteString value)
script of transaction output
required bytes script_bytes = 2;
public Protos.TransactionOutput.Builder clearScriptBytes()
script of transaction output
required bytes script_bytes = 2;
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 Protos.TransactionOutput.Builder setSpentByTransactionHash(com.google.protobuf.ByteString value)
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
public Protos.TransactionOutput.Builder clearSpentByTransactionHash()
If spent, the hash of the transaction doing the spend.
optional bytes spent_by_transaction_hash = 3;
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 Protos.TransactionOutput.Builder setSpentByTransactionIndex(int value)
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;
public Protos.TransactionOutput.Builder clearSpentByTransactionIndex()
If spent, the index of the transaction input of the transaction doing the spend.
optional int32 spent_by_transaction_index = 4;
public final Protos.TransactionOutput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>
public final Protos.TransactionOutput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.TransactionOutput.Builder>