Interface MutationResultOrBuilder (2.25.1)

public interface MutationResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConflictDetected()

public abstract boolean getConflictDetected()

Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.

bool conflict_detected = 5;

Returns
Type Description
boolean

The conflictDetected.

getCreateTime()

public abstract Timestamp getCreateTime()

The create time of the entity. This field will not be set after a 'delete'.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The create time of the entity. This field will not be set after a 'delete'.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
TimestampOrBuilder

getKey()

public abstract Key getKey()

The automatically allocated key. Set only when the mutation allocated a key.

.google.datastore.v1.Key key = 3;

Returns
Type Description
Key

The key.

getKeyOrBuilder()

public abstract KeyOrBuilder getKeyOrBuilder()

The automatically allocated key. Set only when the mutation allocated a key.

.google.datastore.v1.Key key = 3;

Returns
Type Description
KeyOrBuilder

getTransformResults(int index)

public abstract Value getTransformResults(int index)

The results of applying each PropertyTransform, in the same order of the request.

repeated .google.datastore.v1.Value transform_results = 8;

Parameter
Name Description
index int
Returns
Type Description
Value

getTransformResultsCount()

public abstract int getTransformResultsCount()

The results of applying each PropertyTransform, in the same order of the request.

repeated .google.datastore.v1.Value transform_results = 8;

Returns
Type Description
int

getTransformResultsList()

public abstract List<Value> getTransformResultsList()

The results of applying each PropertyTransform, in the same order of the request.

repeated .google.datastore.v1.Value transform_results = 8;

Returns
Type Description
List<Value>

getTransformResultsOrBuilder(int index)

public abstract ValueOrBuilder getTransformResultsOrBuilder(int index)

The results of applying each PropertyTransform, in the same order of the request.

repeated .google.datastore.v1.Value transform_results = 8;

Parameter
Name Description
index int
Returns
Type Description
ValueOrBuilder

getTransformResultsOrBuilderList()

public abstract List<? extends ValueOrBuilder> getTransformResultsOrBuilderList()

The results of applying each PropertyTransform, in the same order of the request.

repeated .google.datastore.v1.Value transform_results = 8;

Returns
Type Description
List<? extends com.google.datastore.v1.ValueOrBuilder>

getUpdateTime()

public abstract Timestamp getUpdateTime()

The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
TimestampOrBuilder

getVersion()

public abstract long getVersion()

The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.

int64 version = 4;

Returns
Type Description
long

The version.

hasCreateTime()

public abstract boolean hasCreateTime()

The create time of the entity. This field will not be set after a 'delete'.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
boolean

Whether the createTime field is set.

hasKey()

public abstract boolean hasKey()

The automatically allocated key. Set only when the mutation allocated a key.

.google.datastore.v1.Key key = 3;

Returns
Type Description
boolean

Whether the key field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.

.google.protobuf.Timestamp update_time = 6;

Returns
Type Description
boolean

Whether the updateTime field is set.