Package com.google.firestore.v1
Interface CommitRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommitRequest,CommitRequest.Builder
public interface CommitRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.ByteStringIf set, applies all writes in this transaction, and commits it.getWrites(int index) The writes to apply.intThe writes to apply.The writes to apply.getWritesOrBuilder(int index) The writes to apply.List<? extends WriteOrBuilder>The writes to apply.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDatabase
String getDatabase()Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for database.
-
getWritesList
The writes to apply. Always executed atomically and in order.
repeated .google.firestore.v1.Write writes = 2; -
getWrites
The writes to apply. Always executed atomically and in order.
repeated .google.firestore.v1.Write writes = 2; -
getWritesCount
int getWritesCount()The writes to apply. Always executed atomically and in order.
repeated .google.firestore.v1.Write writes = 2; -
getWritesOrBuilderList
List<? extends WriteOrBuilder> getWritesOrBuilderList()The writes to apply. Always executed atomically and in order.
repeated .google.firestore.v1.Write writes = 2; -
getWritesOrBuilder
The writes to apply. Always executed atomically and in order.
repeated .google.firestore.v1.Write writes = 2; -
getTransaction
com.google.protobuf.ByteString getTransaction()If set, applies all writes in this transaction, and commits it.
bytes transaction = 3;- Returns:
- The transaction.
-