Interface BatchWriteRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BatchWriteRequest, BatchWriteRequest.Builder

public interface BatchWriteRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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.
      
       Method does not apply writes atomically and does not guarantee ordering.
       Each write succeeds or fails independently. You cannot write to the same
       document more than once per request.
       
      repeated .google.firestore.v1.Write writes = 2;
    • getWrites

      Write getWrites(int index)
       The writes to apply.
      
       Method does not apply writes atomically and does not guarantee ordering.
       Each write succeeds or fails independently. You cannot write to the same
       document more than once per request.
       
      repeated .google.firestore.v1.Write writes = 2;
    • getWritesCount

      int getWritesCount()
       The writes to apply.
      
       Method does not apply writes atomically and does not guarantee ordering.
       Each write succeeds or fails independently. You cannot write to the same
       document more than once per request.
       
      repeated .google.firestore.v1.Write writes = 2;
    • getWritesOrBuilderList

      List<? extends WriteOrBuilder> getWritesOrBuilderList()
       The writes to apply.
      
       Method does not apply writes atomically and does not guarantee ordering.
       Each write succeeds or fails independently. You cannot write to the same
       document more than once per request.
       
      repeated .google.firestore.v1.Write writes = 2;
    • getWritesOrBuilder

      WriteOrBuilder getWritesOrBuilder(int index)
       The writes to apply.
      
       Method does not apply writes atomically and does not guarantee ordering.
       Each write succeeds or fails independently. You cannot write to the same
       document more than once per request.
       
      repeated .google.firestore.v1.Write writes = 2;
    • getLabelsCount

      int getLabelsCount()
       Labels associated with this batch write.
       
      map<string, string> labels = 3;
    • containsLabels

      boolean containsLabels(String key)
       Labels associated with this batch write.
       
      map<string, string> labels = 3;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels associated with this batch write.
       
      map<string, string> labels = 3;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels associated with this batch write.
       
      map<string, string> labels = 3;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels associated with this batch write.
       
      map<string, string> labels = 3;