public static final class Protos.Output.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.Output.Builder> implements Protos.OutputOrBuilder
payments.Output
Generalized form of "send payment to this/these bitcoin addresses"
Modifier and Type | Method and Description |
---|---|
Protos.Output |
build() |
Protos.Output |
buildPartial() |
Protos.Output.Builder |
clear() |
Protos.Output.Builder |
clearAmount()
optional uint64 amount = 1 [default = 0]; |
Protos.Output.Builder |
clearScript()
required bytes script = 2; |
Protos.Output.Builder |
clone() |
long |
getAmount()
optional uint64 amount = 1 [default = 0]; |
Protos.Output |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getScript()
required bytes script = 2; |
boolean |
hasAmount()
optional uint64 amount = 1 [default = 0]; |
boolean |
hasScript()
required bytes script = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Output.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Output.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Output.Builder |
mergeFrom(Protos.Output other) |
Protos.Output.Builder |
setAmount(long value)
optional uint64 amount = 1 [default = 0]; |
Protos.Output.Builder |
setScript(com.google.protobuf.ByteString value)
required bytes script = 2; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
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.Output.Builder>
public Protos.Output.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.Output.Builder>
public Protos.Output.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.Output.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.Output.Builder>
public Protos.Output getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.Output build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.Output buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.Output.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Output.Builder>
public Protos.Output.Builder mergeFrom(Protos.Output other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.Output.Builder>
public Protos.Output.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.Output.Builder>
IOException
public boolean hasAmount()
optional uint64 amount = 1 [default = 0];
amount is integer-number-of-satoshis
hasAmount
in interface Protos.OutputOrBuilder
public long getAmount()
optional uint64 amount = 1 [default = 0];
amount is integer-number-of-satoshis
getAmount
in interface Protos.OutputOrBuilder
public Protos.Output.Builder setAmount(long value)
optional uint64 amount = 1 [default = 0];
amount is integer-number-of-satoshis
public Protos.Output.Builder clearAmount()
optional uint64 amount = 1 [default = 0];
amount is integer-number-of-satoshis
public boolean hasScript()
required bytes script = 2;
usually one of the standard Script forms
hasScript
in interface Protos.OutputOrBuilder
public com.google.protobuf.ByteString getScript()
required bytes script = 2;
usually one of the standard Script forms
getScript
in interface Protos.OutputOrBuilder
public Protos.Output.Builder setScript(com.google.protobuf.ByteString value)
required bytes script = 2;
usually one of the standard Script forms
public Protos.Output.Builder clearScript()
required bytes script = 2;
usually one of the standard Script forms
Copyright © 2014. All rights reserved.