public static final class DatastoreV1.Mutation extends com.google.protobuf.GeneratedMessage implements DatastoreV1.MutationOrBuilder
api.services.datastore.Mutation
A set of changes to apply. No entity in this message may have a reserved property name, not even a property in an entity in a value. No value in this message may have meaning 18, not even a value in an entity in another value. If entities with duplicate keys are present, an arbitrary choice will be made as to which is written.
| Modifier and Type | Class and Description |
|---|---|
static class |
DatastoreV1.Mutation.Builder
Protobuf type
api.services.datastore.Mutation |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_FIELD_NUMBER |
static int |
FORCE_FIELD_NUMBER |
static int |
INSERT_AUTO_ID_FIELD_NUMBER |
static int |
INSERT_FIELD_NUMBER |
static com.google.protobuf.Parser<DatastoreV1.Mutation> |
PARSER |
static int |
UPDATE_FIELD_NUMBER |
static int |
UPSERT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static DatastoreV1.Mutation |
getDefaultInstance() |
DatastoreV1.Mutation |
getDefaultInstanceForType() |
DatastoreV1.Key |
getDelete(int index)
repeated .api.services.datastore.Key delete = 5; |
int |
getDeleteCount()
repeated .api.services.datastore.Key delete = 5; |
List<DatastoreV1.Key> |
getDeleteList()
repeated .api.services.datastore.Key delete = 5; |
DatastoreV1.KeyOrBuilder |
getDeleteOrBuilder(int index)
repeated .api.services.datastore.Key delete = 5; |
List<? extends DatastoreV1.KeyOrBuilder> |
getDeleteOrBuilderList()
repeated .api.services.datastore.Key delete = 5; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getForce()
optional bool force = 6; |
DatastoreV1.Entity |
getInsert(int index)
repeated .api.services.datastore.Entity insert = 3; |
DatastoreV1.Entity |
getInsertAutoId(int index)
repeated .api.services.datastore.Entity insert_auto_id = 4; |
int |
getInsertAutoIdCount()
repeated .api.services.datastore.Entity insert_auto_id = 4; |
List<DatastoreV1.Entity> |
getInsertAutoIdList()
repeated .api.services.datastore.Entity insert_auto_id = 4; |
DatastoreV1.EntityOrBuilder |
getInsertAutoIdOrBuilder(int index)
repeated .api.services.datastore.Entity insert_auto_id = 4; |
List<? extends DatastoreV1.EntityOrBuilder> |
getInsertAutoIdOrBuilderList()
repeated .api.services.datastore.Entity insert_auto_id = 4; |
int |
getInsertCount()
repeated .api.services.datastore.Entity insert = 3; |
List<DatastoreV1.Entity> |
getInsertList()
repeated .api.services.datastore.Entity insert = 3; |
DatastoreV1.EntityOrBuilder |
getInsertOrBuilder(int index)
repeated .api.services.datastore.Entity insert = 3; |
List<? extends DatastoreV1.EntityOrBuilder> |
getInsertOrBuilderList()
repeated .api.services.datastore.Entity insert = 3; |
com.google.protobuf.Parser<DatastoreV1.Mutation> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
DatastoreV1.Entity |
getUpdate(int index)
repeated .api.services.datastore.Entity update = 2; |
int |
getUpdateCount()
repeated .api.services.datastore.Entity update = 2; |
List<DatastoreV1.Entity> |
getUpdateList()
repeated .api.services.datastore.Entity update = 2; |
DatastoreV1.EntityOrBuilder |
getUpdateOrBuilder(int index)
repeated .api.services.datastore.Entity update = 2; |
List<? extends DatastoreV1.EntityOrBuilder> |
getUpdateOrBuilderList()
repeated .api.services.datastore.Entity update = 2; |
DatastoreV1.Entity |
getUpsert(int index)
repeated .api.services.datastore.Entity upsert = 1; |
int |
getUpsertCount()
repeated .api.services.datastore.Entity upsert = 1; |
List<DatastoreV1.Entity> |
getUpsertList()
repeated .api.services.datastore.Entity upsert = 1; |
DatastoreV1.EntityOrBuilder |
getUpsertOrBuilder(int index)
repeated .api.services.datastore.Entity upsert = 1; |
List<? extends DatastoreV1.EntityOrBuilder> |
getUpsertOrBuilderList()
repeated .api.services.datastore.Entity upsert = 1; |
boolean |
hasForce()
optional bool force = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DatastoreV1.Mutation.Builder |
newBuilder() |
static DatastoreV1.Mutation.Builder |
newBuilder(DatastoreV1.Mutation prototype) |
DatastoreV1.Mutation.Builder |
newBuilderForType() |
protected DatastoreV1.Mutation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static DatastoreV1.Mutation |
parseDelimitedFrom(InputStream input) |
static DatastoreV1.Mutation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Mutation |
parseFrom(byte[] data) |
static DatastoreV1.Mutation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Mutation |
parseFrom(com.google.protobuf.ByteString data) |
static DatastoreV1.Mutation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Mutation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DatastoreV1.Mutation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Mutation |
parseFrom(InputStream input) |
static DatastoreV1.Mutation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatastoreV1.Mutation.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<DatastoreV1.Mutation> PARSER
public static final int UPSERT_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
public static final int INSERT_FIELD_NUMBER
public static final int INSERT_AUTO_ID_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
public static final int FORCE_FIELD_NUMBER
public static DatastoreV1.Mutation getDefaultInstance()
public DatastoreV1.Mutation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<DatastoreV1.Mutation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic List<DatastoreV1.Entity> getUpsertList()
repeated .api.services.datastore.Entity upsert = 1;
Entities to upsert. Each upserted entity's key must have a complete path and must not be reserved/read-only.
getUpsertList in interface DatastoreV1.MutationOrBuilderpublic List<? extends DatastoreV1.EntityOrBuilder> getUpsertOrBuilderList()
repeated .api.services.datastore.Entity upsert = 1;
Entities to upsert. Each upserted entity's key must have a complete path and must not be reserved/read-only.
getUpsertOrBuilderList in interface DatastoreV1.MutationOrBuilderpublic int getUpsertCount()
repeated .api.services.datastore.Entity upsert = 1;
Entities to upsert. Each upserted entity's key must have a complete path and must not be reserved/read-only.
getUpsertCount in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.Entity getUpsert(int index)
repeated .api.services.datastore.Entity upsert = 1;
Entities to upsert. Each upserted entity's key must have a complete path and must not be reserved/read-only.
getUpsert in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.EntityOrBuilder getUpsertOrBuilder(int index)
repeated .api.services.datastore.Entity upsert = 1;
Entities to upsert. Each upserted entity's key must have a complete path and must not be reserved/read-only.
getUpsertOrBuilder in interface DatastoreV1.MutationOrBuilderpublic List<DatastoreV1.Entity> getUpdateList()
repeated .api.services.datastore.Entity update = 2;
Entities to update. Each updated entity's key must have a complete path and must not be reserved/read-only.
getUpdateList in interface DatastoreV1.MutationOrBuilderpublic List<? extends DatastoreV1.EntityOrBuilder> getUpdateOrBuilderList()
repeated .api.services.datastore.Entity update = 2;
Entities to update. Each updated entity's key must have a complete path and must not be reserved/read-only.
getUpdateOrBuilderList in interface DatastoreV1.MutationOrBuilderpublic int getUpdateCount()
repeated .api.services.datastore.Entity update = 2;
Entities to update. Each updated entity's key must have a complete path and must not be reserved/read-only.
getUpdateCount in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.Entity getUpdate(int index)
repeated .api.services.datastore.Entity update = 2;
Entities to update. Each updated entity's key must have a complete path and must not be reserved/read-only.
getUpdate in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.EntityOrBuilder getUpdateOrBuilder(int index)
repeated .api.services.datastore.Entity update = 2;
Entities to update. Each updated entity's key must have a complete path and must not be reserved/read-only.
getUpdateOrBuilder in interface DatastoreV1.MutationOrBuilderpublic List<DatastoreV1.Entity> getInsertList()
repeated .api.services.datastore.Entity insert = 3;
Entities to insert. Each inserted entity's key must have a complete path and must not be reserved/read-only.
getInsertList in interface DatastoreV1.MutationOrBuilderpublic List<? extends DatastoreV1.EntityOrBuilder> getInsertOrBuilderList()
repeated .api.services.datastore.Entity insert = 3;
Entities to insert. Each inserted entity's key must have a complete path and must not be reserved/read-only.
getInsertOrBuilderList in interface DatastoreV1.MutationOrBuilderpublic int getInsertCount()
repeated .api.services.datastore.Entity insert = 3;
Entities to insert. Each inserted entity's key must have a complete path and must not be reserved/read-only.
getInsertCount in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.Entity getInsert(int index)
repeated .api.services.datastore.Entity insert = 3;
Entities to insert. Each inserted entity's key must have a complete path and must not be reserved/read-only.
getInsert in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.EntityOrBuilder getInsertOrBuilder(int index)
repeated .api.services.datastore.Entity insert = 3;
Entities to insert. Each inserted entity's key must have a complete path and must not be reserved/read-only.
getInsertOrBuilder in interface DatastoreV1.MutationOrBuilderpublic List<DatastoreV1.Entity> getInsertAutoIdList()
repeated .api.services.datastore.Entity insert_auto_id = 4;
Insert entities with a newly allocated ID. Each inserted entity's key must omit the final identifier in its path and must not be reserved/read-only.
getInsertAutoIdList in interface DatastoreV1.MutationOrBuilderpublic List<? extends DatastoreV1.EntityOrBuilder> getInsertAutoIdOrBuilderList()
repeated .api.services.datastore.Entity insert_auto_id = 4;
Insert entities with a newly allocated ID. Each inserted entity's key must omit the final identifier in its path and must not be reserved/read-only.
getInsertAutoIdOrBuilderList in interface DatastoreV1.MutationOrBuilderpublic int getInsertAutoIdCount()
repeated .api.services.datastore.Entity insert_auto_id = 4;
Insert entities with a newly allocated ID. Each inserted entity's key must omit the final identifier in its path and must not be reserved/read-only.
getInsertAutoIdCount in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.Entity getInsertAutoId(int index)
repeated .api.services.datastore.Entity insert_auto_id = 4;
Insert entities with a newly allocated ID. Each inserted entity's key must omit the final identifier in its path and must not be reserved/read-only.
getInsertAutoId in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.EntityOrBuilder getInsertAutoIdOrBuilder(int index)
repeated .api.services.datastore.Entity insert_auto_id = 4;
Insert entities with a newly allocated ID. Each inserted entity's key must omit the final identifier in its path and must not be reserved/read-only.
getInsertAutoIdOrBuilder in interface DatastoreV1.MutationOrBuilderpublic List<DatastoreV1.Key> getDeleteList()
repeated .api.services.datastore.Key delete = 5;
Keys of entities to delete. Each key must have a complete key path and must not be reserved/read-only.
getDeleteList in interface DatastoreV1.MutationOrBuilderpublic List<? extends DatastoreV1.KeyOrBuilder> getDeleteOrBuilderList()
repeated .api.services.datastore.Key delete = 5;
Keys of entities to delete. Each key must have a complete key path and must not be reserved/read-only.
getDeleteOrBuilderList in interface DatastoreV1.MutationOrBuilderpublic int getDeleteCount()
repeated .api.services.datastore.Key delete = 5;
Keys of entities to delete. Each key must have a complete key path and must not be reserved/read-only.
getDeleteCount in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.Key getDelete(int index)
repeated .api.services.datastore.Key delete = 5;
Keys of entities to delete. Each key must have a complete key path and must not be reserved/read-only.
getDelete in interface DatastoreV1.MutationOrBuilderpublic DatastoreV1.KeyOrBuilder getDeleteOrBuilder(int index)
repeated .api.services.datastore.Key delete = 5;
Keys of entities to delete. Each key must have a complete key path and must not be reserved/read-only.
getDeleteOrBuilder in interface DatastoreV1.MutationOrBuilderpublic boolean hasForce()
optional bool force = 6;
Ignore a user specified read-only period. Optional.
hasForce in interface DatastoreV1.MutationOrBuilderpublic boolean getForce()
optional bool force = 6;
Ignore a user specified read-only period. Optional.
getForce in interface DatastoreV1.MutationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static DatastoreV1.Mutation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Mutation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Mutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Mutation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Mutation parseFrom(InputStream input) throws IOException
IOExceptionpublic static DatastoreV1.Mutation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.Mutation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DatastoreV1.Mutation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.Mutation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DatastoreV1.Mutation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.Mutation.Builder newBuilder()
public DatastoreV1.Mutation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DatastoreV1.Mutation.Builder newBuilder(DatastoreV1.Mutation prototype)
public DatastoreV1.Mutation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DatastoreV1.Mutation.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.