Skip to content

Commit 7627e38

Browse files
committed
Resolve merge errors
1 parent ea51804 commit 7627e38

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,6 +1264,7 @@ public com.google.datastore.v1.Mutation build() {
12641264
@java.lang.Override
12651265
public com.google.datastore.v1.Mutation buildPartial() {
12661266
com.google.datastore.v1.Mutation result = new com.google.datastore.v1.Mutation(this);
1267+
buildPartialRepeatedFields(result);
12671268
if (bitField0_ != 0) {
12681269
buildPartial0(result);
12691270
}

proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,18 @@ message ReserveIdsResponse {}
501501

502502
// A mutation to apply to an entity.
503503
message Mutation {
504+
// The possible ways to resolve a conflict detected in a mutation.
505+
enum ConflictResolutionStrategy {
506+
// Unspecified. Defaults to `SERVER_VALUE`.
507+
STRATEGY_UNSPECIFIED = 0;
508+
509+
// The server entity is kept.
510+
SERVER_VALUE = 1;
511+
512+
// The whole commit request fails.
513+
FAIL = 3;
514+
}
515+
504516
// The mutation operation.
505517
//
506518
// For `insert`, `update`, and `upsert`:

0 commit comments

Comments
 (0)