Skip to content

Commit

Permalink
Resolve merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cindy-peng committed Oct 15, 2024
1 parent ea51804 commit 7627e38
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,7 @@ public com.google.datastore.v1.Mutation build() {
@java.lang.Override
public com.google.datastore.v1.Mutation buildPartial() {
com.google.datastore.v1.Mutation result = new com.google.datastore.v1.Mutation(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,18 @@ message ReserveIdsResponse {}

// A mutation to apply to an entity.
message Mutation {
// The possible ways to resolve a conflict detected in a mutation.
enum ConflictResolutionStrategy {
// Unspecified. Defaults to `SERVER_VALUE`.
STRATEGY_UNSPECIFIED = 0;

// The server entity is kept.
SERVER_VALUE = 1;

// The whole commit request fails.
FAIL = 3;
}

// The mutation operation.
//
// For `insert`, `update`, and `upsert`:
Expand Down

0 comments on commit 7627e38

Please sign in to comment.