public interface MutationResultOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getConflictDetected()
Whether a conflict was detected for this mutation.
|
Key |
getKey()
The automatically allocated key.
|
KeyOrBuilder |
getKeyOrBuilder()
The automatically allocated key.
|
long |
getVersion()
The version of the entity on the server after processing the mutation.
|
boolean |
hasKey()
The automatically allocated key.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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 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;