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 Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.ByteString
    If set, applies all writes in this transaction, and commits it.
    getWrites(int index)
    The writes to apply.
    int
    The 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

    isInitialized

    Methods 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

      List<Write> getWritesList()
       The writes to apply.
      
       Always executed atomically and in order.
       
      repeated .google.firestore.v1.Write writes = 2;
    • getWrites

      Write getWrites(int index)
       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

      WriteOrBuilder getWritesOrBuilder(int index)
       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.