Class Protos.PaymentACK.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Protos.PaymentACK,Protos.PaymentACK.Builder>
org.bitcoin.protocols.payments.Protos.PaymentACK.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Protos.PaymentACKOrBuilder
Enclosing class:
Protos.PaymentACK

public static final class Protos.PaymentACK.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.PaymentACK,Protos.PaymentACK.Builder> implements Protos.PaymentACKOrBuilder
Protobuf type payments.PaymentACK
  • Method Details

    • hasPayment

      public boolean hasPayment()
       Payment message that triggered this ACK
       
      required .payments.Payment payment = 1;
      Specified by:
      hasPayment in interface Protos.PaymentACKOrBuilder
      Returns:
      Whether the payment field is set.
    • getPayment

      public Protos.Payment getPayment()
       Payment message that triggered this ACK
       
      required .payments.Payment payment = 1;
      Specified by:
      getPayment in interface Protos.PaymentACKOrBuilder
      Returns:
      The payment.
    • setPayment

      public Protos.PaymentACK.Builder setPayment(Protos.Payment value)
       Payment message that triggered this ACK
       
      required .payments.Payment payment = 1;
    • setPayment

      public Protos.PaymentACK.Builder setPayment(Protos.Payment.Builder builderForValue)
       Payment message that triggered this ACK
       
      required .payments.Payment payment = 1;
    • mergePayment

      public Protos.PaymentACK.Builder mergePayment(Protos.Payment value)
       Payment message that triggered this ACK
       
      required .payments.Payment payment = 1;
    • clearPayment

      public Protos.PaymentACK.Builder clearPayment()
       Payment message that triggered this ACK
       
      required .payments.Payment payment = 1;
    • hasMemo

      public boolean hasMemo()
       human-readable message for customer
       
      optional string memo = 2;
      Specified by:
      hasMemo in interface Protos.PaymentACKOrBuilder
      Returns:
      Whether the memo field is set.
    • getMemo

      public String getMemo()
       human-readable message for customer
       
      optional string memo = 2;
      Specified by:
      getMemo in interface Protos.PaymentACKOrBuilder
      Returns:
      The memo.
    • getMemoBytes

      public com.google.protobuf.ByteString getMemoBytes()
       human-readable message for customer
       
      optional string memo = 2;
      Specified by:
      getMemoBytes in interface Protos.PaymentACKOrBuilder
      Returns:
      The bytes for memo.
    • setMemo

      public Protos.PaymentACK.Builder setMemo(String value)
       human-readable message for customer
       
      optional string memo = 2;
      Parameters:
      value - The memo to set.
      Returns:
      This builder for chaining.
    • clearMemo

      public Protos.PaymentACK.Builder clearMemo()
       human-readable message for customer
       
      optional string memo = 2;
      Returns:
      This builder for chaining.
    • setMemoBytes

      public Protos.PaymentACK.Builder setMemoBytes(com.google.protobuf.ByteString value)
       human-readable message for customer
       
      optional string memo = 2;
      Parameters:
      value - The bytes for memo to set.
      Returns:
      This builder for chaining.