File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
proto-google-cloud-datastore-v1/src/main
java/com/google/datastore/v1
proto/google/datastore/v1 Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -501,6 +501,18 @@ message ReserveIdsResponse {}
501501
502502// A mutation to apply to an entity.
503503message 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`:
You can’t perform that action at this time.
0 commit comments