Package org.bitcoinj.protobuf.payments
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.bitcoinj.protobuf.payments.Protos.PaymentACK.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,java.lang.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 typepayments.PaymentACK
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Protos.PaymentACK.Builder
clearMemo()
human-readable message for customerProtos.PaymentACK.Builder
clearPayment()
Payment message that triggered this ACKjava.lang.String
getMemo()
human-readable message for customercom.google.protobuf.ByteString
getMemoBytes()
human-readable message for customerProtos.Payment
getPayment()
Payment message that triggered this ACKboolean
hasMemo()
human-readable message for customerboolean
hasPayment()
Payment message that triggered this ACKProtos.PaymentACK.Builder
mergePayment(Protos.Payment value)
Payment message that triggered this ACKProtos.PaymentACK.Builder
setMemo(java.lang.String value)
human-readable message for customerProtos.PaymentACK.Builder
setMemoBytes(com.google.protobuf.ByteString value)
human-readable message for customerProtos.PaymentACK.Builder
setPayment(Protos.Payment value)
Payment message that triggered this ACKProtos.PaymentACK.Builder
setPayment(Protos.Payment.Builder builderForValue)
Payment message that triggered this ACK-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
hasPayment
public boolean hasPayment()
Payment message that triggered this ACK
required .payments.Payment payment = 1;
- Specified by:
hasPayment
in interfaceProtos.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 interfaceProtos.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 interfaceProtos.PaymentACKOrBuilder
- Returns:
- Whether the memo field is set.
-
getMemo
public java.lang.String getMemo()
human-readable message for customer
optional string memo = 2;
- Specified by:
getMemo
in interfaceProtos.PaymentACKOrBuilder
- Returns:
- The memo.
-
getMemoBytes
public com.google.protobuf.ByteString getMemoBytes()
human-readable message for customer
optional string memo = 2;
- Specified by:
getMemoBytes
in interfaceProtos.PaymentACKOrBuilder
- Returns:
- The bytes for memo.
-
setMemo
public Protos.PaymentACK.Builder setMemo(java.lang.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.
-
-