Interface MutationOrBuilder (2.14.1)

public interface MutationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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;

Returns
TypeDescription
long

The baseVersion.

getConflictDetectionStrategyCase()

public abstract Mutation.ConflictDetectionStrategyCase getConflictDetectionStrategyCase()
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
EntityOrBuilder

getOperationCase()

public abstract Mutation.OperationCase getOperationCase()
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
EntityOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts.

.google.protobuf.Timestamp update_time = 11;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts.

.google.protobuf.Timestamp update_time = 11;

Returns
TypeDescription
TimestampOrBuilder

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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the update field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts.

.google.protobuf.Timestamp update_time = 11;

Returns
TypeDescription
boolean

Whether the updateTime 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;

Returns
TypeDescription
boolean

Whether the upsert field is set.