public interface MutationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBaseVersion()
public abstract 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;
Type | Description |
long | The baseVersion. |
getConflictDetectionStrategyCase()
public abstract Mutation.ConflictDetectionStrategyCase getConflictDetectionStrategyCase()
Type | Description |
Mutation.ConflictDetectionStrategyCase |
getDelete()
public abstract 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;
Type | Description |
Key | The delete. |
getDeleteOrBuilder()
public abstract 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;
Type | Description |
KeyOrBuilder |
getInsert()
public abstract 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;
Type | Description |
Entity | The insert. |
getInsertOrBuilder()
public abstract 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;
Type | Description |
EntityOrBuilder |
getOperationCase()
public abstract Mutation.OperationCase getOperationCase()
Type | Description |
Mutation.OperationCase |
getUpdate()
public abstract Entity getUpdate()
The entity to update. The entity must already exist. Must have a complete key path.
.google.datastore.v1.Entity update = 5;
Type | Description |
Entity | The update. |
getUpdateOrBuilder()
public abstract EntityOrBuilder getUpdateOrBuilder()
The entity to update. The entity must already exist. Must have a complete key path.
.google.datastore.v1.Entity update = 5;
Type | Description |
EntityOrBuilder |
getUpsert()
public abstract 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;
Type | Description |
Entity | The upsert. |
getUpsertOrBuilder()
public abstract 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;
Type | Description |
EntityOrBuilder |
hasBaseVersion()
public abstract boolean hasBaseVersion()
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;
Type | Description |
boolean | Whether the baseVersion field is set. |
hasDelete()
public abstract 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;
Type | Description |
boolean | Whether the delete field is set. |
hasInsert()
public abstract 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;
Type | Description |
boolean | Whether the insert field is set. |
hasUpdate()
public abstract boolean hasUpdate()
The entity to update. The entity must already exist. Must have a complete key path.
.google.datastore.v1.Entity update = 5;
Type | Description |
boolean | Whether the update field is set. |
hasUpsert()
public abstract 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;
Type | Description |
boolean | Whether the upsert field is set. |