public interface CommitRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDatabase()
public abstract String getDatabase() Required. The database name. In the format:
 projects/{project_id}/databases/{database_id}.
 string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The database.  | 
      
getDatabaseBytes()
public abstract ByteString getDatabaseBytes() Required. The database name. In the format:
 projects/{project_id}/databases/{database_id}.
 string database = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for database.  | 
      
getTransaction()
public abstract ByteString getTransaction()If set, applies all writes in this transaction, and commits it.
 bytes transaction = 3;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The transaction.  | 
      
getWrites(int index)
public abstract Write getWrites(int index)The writes to apply.
Always executed atomically and in order.
 repeated .google.firestore.v1.Write writes = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
Write | 
        |
getWritesCount()
public abstract int getWritesCount()The writes to apply.
Always executed atomically and in order.
 repeated .google.firestore.v1.Write writes = 2;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getWritesList()
public abstract List<Write> getWritesList()The writes to apply.
Always executed atomically and in order.
 repeated .google.firestore.v1.Write writes = 2;
| Returns | |
|---|---|
| Type | Description | 
List<Write> | 
        |
getWritesOrBuilder(int index)
public abstract WriteOrBuilder getWritesOrBuilder(int index)The writes to apply.
Always executed atomically and in order.
 repeated .google.firestore.v1.Write writes = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
WriteOrBuilder | 
        |
getWritesOrBuilderList()
public abstract List<? extends WriteOrBuilder> getWritesOrBuilderList()The writes to apply.
Always executed atomically and in order.
 repeated .google.firestore.v1.Write writes = 2;
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.firestore.v1.WriteOrBuilder> | 
        |