public Builder mergeFrom(com.google.datastore.v1.TransactionOptions.ReadWrite other) { if (other == com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this; if (other.getPreviousTransaction() != com.google.protobuf.ByteString.EMPTY) { setPreviousTransaction(other.getPreviousTransaction()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(com.google.datastore.v1.TransactionOptions.ReadWrite other) { if (other == com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this; if (other.getPreviousTransaction() != com.google.protobuf.ByteString.EMPTY) { setPreviousTransaction(other.getPreviousTransaction()); } onChanged(); return this; }
void setPrevTransactionId(ByteString transactionId) { TransactionOptions.ReadWrite readWrite = TransactionOptions.ReadWrite.newBuilder().setPreviousTransaction(transactionId).build(); options = options.toBuilder().setReadWrite(readWrite).build(); }
void setPrevTransactionId(ByteString transactionId) { TransactionOptions.ReadWrite readWrite = TransactionOptions.ReadWrite.newBuilder().setPreviousTransaction(transactionId).build(); options = options.toBuilder().setReadWrite(readWrite).build(); }
public Builder mergeFrom(com.google.datastore.v1.TransactionOptions.ReadWrite other) { if (other == com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this; if (other.getPreviousTransaction() != com.google.protobuf.ByteString.EMPTY) { setPreviousTransaction(other.getPreviousTransaction()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }