public org.bitcoin.protocols.payments.Protos.Payment buildPartial() { org.bitcoin.protocols.payments.Protos.Payment result = new org.bitcoin.protocols.payments.Protos.Payment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.merchantData_ = merchantData_; if (((bitField0_ & 0x00000002) == 0x00000002)) { transactions_ = java.util.Collections.unmodifiableList(transactions_); bitField0_ = (bitField0_ & ~0x00000002); } result.transactions_ = transactions_; if (refundToBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { refundTo_ = java.util.Collections.unmodifiableList(refundTo_); bitField0_ = (bitField0_ & ~0x00000004); } result.refundTo_ = refundTo_; } else { result.refundTo_ = refundToBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.memo_ = memo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.bitcoin.protocols.payments.Protos.Payment buildPartial() { org.bitcoin.protocols.payments.Protos.Payment result = new org.bitcoin.protocols.payments.Protos.Payment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.merchantData_ = merchantData_; if (((bitField0_ & 0x00000002) == 0x00000002)) { transactions_ = java.util.Collections.unmodifiableList(transactions_); bitField0_ = (bitField0_ & ~0x00000002); } result.transactions_ = transactions_; if (refundToBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { refundTo_ = java.util.Collections.unmodifiableList(refundTo_); bitField0_ = (bitField0_ & ~0x00000004); } result.refundTo_ = refundTo_; } else { result.refundTo_ = refundToBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.memo_ = memo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.bitcoin.protocols.payments.Protos.Payment buildPartial() { org.bitcoin.protocols.payments.Protos.Payment result = new org.bitcoin.protocols.payments.Protos.Payment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.merchantData_ = merchantData_; if (((bitField0_ & 0x00000002) == 0x00000002)) { transactions_ = java.util.Collections.unmodifiableList(transactions_); bitField0_ = (bitField0_ & ~0x00000002); } result.transactions_ = transactions_; if (refundToBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { refundTo_ = java.util.Collections.unmodifiableList(refundTo_); bitField0_ = (bitField0_ & ~0x00000004); } result.refundTo_ = refundTo_; } else { result.refundTo_ = refundToBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.memo_ = memo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.bitcoin.protocols.payments.Protos.Payment buildPartial() { org.bitcoin.protocols.payments.Protos.Payment result = new org.bitcoin.protocols.payments.Protos.Payment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.merchantData_ = merchantData_; if (((bitField0_ & 0x00000002) == 0x00000002)) { transactions_ = java.util.Collections.unmodifiableList(transactions_); bitField0_ = (bitField0_ & ~0x00000002); } result.transactions_ = transactions_; if (refundToBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { refundTo_ = java.util.Collections.unmodifiableList(refundTo_); bitField0_ = (bitField0_ & ~0x00000004); } result.refundTo_ = refundTo_; } else { result.refundTo_ = refundToBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.memo_ = memo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public org.bitcoin.protocols.payments.Protos.Payment buildPartial() { org.bitcoin.protocols.payments.Protos.Payment result = new org.bitcoin.protocols.payments.Protos.Payment(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.merchantData_ = merchantData_; if (((bitField0_ & 0x00000002) == 0x00000002)) { transactions_ = java.util.Collections.unmodifiableList(transactions_); bitField0_ = (bitField0_ & ~0x00000002); } result.transactions_ = transactions_; if (refundToBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { refundTo_ = java.util.Collections.unmodifiableList(refundTo_); bitField0_ = (bitField0_ & ~0x00000004); } result.refundTo_ = refundTo_; } else { result.refundTo_ = refundToBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.memo_ = memo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }