@java.lang.Override public com.google.datastore.v1.CommitRequest buildPartial() { com.google.datastore.v1.CommitRequest result = new com.google.datastore.v1.CommitRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.projectId_ = projectId_; result.mode_ = mode_; if (transactionSelectorCase_ == 1) { result.transactionSelector_ = transactionSelector_; } if (mutationsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { mutations_ = java.util.Collections.unmodifiableList(mutations_); bitField0_ = (bitField0_ & ~0x00000008); } result.mutations_ = mutations_; } else { result.mutations_ = mutationsBuilder_.build(); } result.bitField0_ = to_bitField0_; result.transactionSelectorCase_ = transactionSelectorCase_; onBuilt(); return result; }
public com.google.datastore.v1.CommitRequest buildPartial() { com.google.datastore.v1.CommitRequest result = new com.google.datastore.v1.CommitRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.projectId_ = projectId_; result.mode_ = mode_; if (transactionSelectorCase_ == 1) { result.transactionSelector_ = transactionSelector_; } if (mutationsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { mutations_ = java.util.Collections.unmodifiableList(mutations_); bitField0_ = (bitField0_ & ~0x00000008); } result.mutations_ = mutations_; } else { result.mutations_ = mutationsBuilder_.build(); } result.bitField0_ = to_bitField0_; result.transactionSelectorCase_ = transactionSelectorCase_; onBuilt(); return result; }
@java.lang.Override public com.google.datastore.v1.CommitRequest buildPartial() { com.google.datastore.v1.CommitRequest result = new com.google.datastore.v1.CommitRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.projectId_ = projectId_; result.mode_ = mode_; if (transactionSelectorCase_ == 1) { result.transactionSelector_ = transactionSelector_; } if (mutationsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { mutations_ = java.util.Collections.unmodifiableList(mutations_); bitField0_ = (bitField0_ & ~0x00000008); } result.mutations_ = mutations_; } else { result.mutations_ = mutationsBuilder_.build(); } result.bitField0_ = to_bitField0_; result.transactionSelectorCase_ = transactionSelectorCase_; onBuilt(); return result; }