Interface Protos.OutputOrBuilder

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

    public static interface Protos.OutputOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getAmount()
      amount is integer-number-of-satoshis
      com.google.protobuf.ByteString getScript()
      usually one of the standard Script forms
      boolean hasAmount()
      amount is integer-number-of-satoshis
      boolean hasScript()
      usually one of the standard Script forms
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasAmount

        boolean hasAmount()
         amount is integer-number-of-satoshis
         
        optional uint64 amount = 1 [default = 0];
        Returns:
        Whether the amount field is set.
      • getAmount

        long getAmount()
         amount is integer-number-of-satoshis
         
        optional uint64 amount = 1 [default = 0];
        Returns:
        The amount.
      • hasScript

        boolean hasScript()
         usually one of the standard Script forms
         
        required bytes script = 2;
        Returns:
        Whether the script field is set.
      • getScript

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