org.bitcoin.protocols.payments
Interface Protos.OutputOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Protos.Output, Protos.Output.Builder
Enclosing class:
Protos

public static interface Protos.OutputOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 long getAmount()
          optional uint64 amount = 1 [default = 0];
 com.google.protobuf.ByteString getScript()
          required bytes script = 2;
 boolean hasAmount()
          optional uint64 amount = 1 [default = 0];
 boolean hasScript()
          required bytes script = 2;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasAmount

boolean hasAmount()
optional uint64 amount = 1 [default = 0];
 amount is integer-number-of-satoshis
 


getAmount

long getAmount()
optional uint64 amount = 1 [default = 0];
 amount is integer-number-of-satoshis
 


hasScript

boolean hasScript()
required bytes script = 2;
 usually one of the standard Script forms
 


getScript

com.google.protobuf.ByteString getScript()
required bytes script = 2;
 usually one of the standard Script forms
 



Copyright © 2014. All rights reserved.