All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.firestore.v1.BatchWriteRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 3.29.1
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/firestore/v1/firestore.proto

// Protobuf Java Version: 3.25.4
package com.google.firestore.v1;

public interface BatchWriteRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. The database name. In the format:
   * `projects/{project_id}/databases/{database_id}`.
   * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The database. */ java.lang.String getDatabase(); /** * * *
   * Required. The database name. In the format:
   * `projects/{project_id}/databases/{database_id}`.
   * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for database. */ com.google.protobuf.ByteString getDatabaseBytes(); /** * * *
   * 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; */ java.util.List 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; */ com.google.firestore.v1.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; */ 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; */ java.util.List 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; */ com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index); /** * * *
   * Labels associated with this batch write.
   * 
* * map<string, string> labels = 3; */ int getLabelsCount(); /** * * *
   * Labels associated with this batch write.
   * 
* * map<string, string> labels = 3; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Labels associated with this batch write.
   * 
* * map<string, string> labels = 3; */ java.util.Map getLabelsMap(); /** * * *
   * Labels associated with this batch write.
   * 
* * map<string, string> labels = 3; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Labels associated with this batch write.
   * 
* * map<string, string> labels = 3; */ java.lang.String getLabelsOrThrow(java.lang.String key); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy