public interface MutationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getBaseVersion()
The version of the entity that this mutation is being applied to.
|
Mutation.ConflictDetectionStrategyCase |
getConflictDetectionStrategyCase() |
Key |
getDelete()
The key of the entity to delete.
|
KeyOrBuilder |
getDeleteOrBuilder()
The key of the entity to delete.
|
Entity |
getInsert()
The entity to insert.
|
EntityOrBuilder |
getInsertOrBuilder()
The entity to insert.
|
Mutation.OperationCase |
getOperationCase() |
Entity |
getUpdate()
The entity to update.
|
EntityOrBuilder |
getUpdateOrBuilder()
The entity to update.
|
Entity |
getUpsert()
The entity to upsert.
|
EntityOrBuilder |
getUpsertOrBuilder()
The entity to upsert.
|
boolean |
hasDelete()
The key of the entity to delete.
|
boolean |
hasInsert()
The entity to insert.
|
boolean |
hasUpdate()
The entity to update.
|
boolean |
hasUpsert()
The entity to upsert.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasInsert()
The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete.
.google.datastore.v1.Entity insert = 4;
Entity getInsert()
The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete.
.google.datastore.v1.Entity insert = 4;
EntityOrBuilder getInsertOrBuilder()
The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete.
.google.datastore.v1.Entity insert = 4;
boolean hasUpdate()
The entity to update. The entity must already exist. Must have a complete key path.
.google.datastore.v1.Entity update = 5;
Entity getUpdate()
The entity to update. The entity must already exist. Must have a complete key path.
.google.datastore.v1.Entity update = 5;
EntityOrBuilder getUpdateOrBuilder()
The entity to update. The entity must already exist. Must have a complete key path.
.google.datastore.v1.Entity update = 5;
boolean hasUpsert()
The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete.
.google.datastore.v1.Entity upsert = 6;
Entity getUpsert()
The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete.
.google.datastore.v1.Entity upsert = 6;
EntityOrBuilder getUpsertOrBuilder()
The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete.
.google.datastore.v1.Entity upsert = 6;
boolean hasDelete()
The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only.
.google.datastore.v1.Key delete = 7;
Key getDelete()
The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only.
.google.datastore.v1.Key delete = 7;
KeyOrBuilder getDeleteOrBuilder()
The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only.
.google.datastore.v1.Key delete = 7;
long getBaseVersion()
The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts.
int64 base_version = 8;
Mutation.OperationCase getOperationCase()
Mutation.ConflictDetectionStrategyCase getConflictDetectionStrategyCase()