public interface MutationResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getConflictDetected()
Whether a conflict was detected for this mutation.
|
com.google.protobuf.Timestamp |
getCreateTime()
The create time of the entity.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The create time of the entity.
|
Key |
getKey()
The automatically allocated key.
|
KeyOrBuilder |
getKeyOrBuilder()
The automatically allocated key.
|
com.google.protobuf.Timestamp |
getUpdateTime()
The update time of the entity on the server after processing the mutation.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
The update time of the entity on the server after processing the mutation.
|
long |
getVersion()
The version of the entity on the server after processing the mutation.
|
boolean |
hasCreateTime()
The create time of the entity.
|
boolean |
hasKey()
The automatically allocated key.
|
boolean |
hasUpdateTime()
The update time of the entity on the server after processing the mutation.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasKey()
The automatically allocated key. Set only when the mutation allocated a key.
.google.datastore.v1.Key key = 3;
Key getKey()
The automatically allocated key. Set only when the mutation allocated a key.
.google.datastore.v1.Key key = 3;
KeyOrBuilder getKeyOrBuilder()
The automatically allocated key. Set only when the mutation allocated a key.
.google.datastore.v1.Key key = 3;
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;
boolean hasCreateTime()
The create time of the entity. This field will not be set after a 'delete'.
.google.protobuf.Timestamp create_time = 7;
com.google.protobuf.Timestamp getCreateTime()
The create time of the entity. This field will not be set after a 'delete'.
.google.protobuf.Timestamp create_time = 7;
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The create time of the entity. This field will not be set after a 'delete'.
.google.protobuf.Timestamp create_time = 7;
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;
com.google.protobuf.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;
com.google.protobuf.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;
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;
Copyright © 2023 Google LLC. All rights reserved.