Package org.bitcoin.protocols.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.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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance, isBuilt
-
Method Summary
Modifier and TypeMethodDescriptionhuman-readable message for customerPayment message that triggered this ACKgetMemo()
human-readable message for customercom.google.protobuf.ByteString
human-readable message for customerPayment message that triggered this ACKboolean
hasMemo()
human-readable message for customerboolean
Payment message that triggered this ACKmergePayment
(Protos.Payment value) Payment message that triggered this ACKhuman-readable message for customersetMemoBytes
(com.google.protobuf.ByteString value) human-readable message for customersetPayment
(Protos.Payment value) Payment message that triggered this ACKsetPayment
(Protos.Payment.Builder builderForValue) Payment message that triggered this ACKMethods 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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
Payment message that triggered this ACK
required .payments.Payment payment = 1;
- Specified by:
getPayment
in interfaceProtos.PaymentACKOrBuilder
- Returns:
- The payment.
-
setPayment
Payment message that triggered this ACK
required .payments.Payment payment = 1;
-
setPayment
Payment message that triggered this ACK
required .payments.Payment payment = 1;
-
mergePayment
Payment message that triggered this ACK
required .payments.Payment payment = 1;
-
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
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
human-readable message for customer
optional string memo = 2;
- Parameters:
value
- The memo to set.- Returns:
- This builder for chaining.
-
clearMemo
human-readable message for customer
optional string memo = 2;
- Returns:
- This builder for chaining.
-
setMemoBytes
human-readable message for customer
optional string memo = 2;
- Parameters:
value
- The bytes for memo to set.- Returns:
- This builder for chaining.
-