public interface BatchWriteRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabels(String key)
Labels associated with this batch write.
|
String |
getDatabase()
Required.
|
com.google.protobuf.ByteString |
getDatabaseBytes()
Required.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this batch write.
|
Map<String,String> |
getLabelsMap()
Labels associated with this batch write.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this batch write.
|
String |
getLabelsOrThrow(String key)
Labels associated with this batch write.
|
Write |
getWrites(int index)
The writes to apply.
|
int |
getWritesCount()
The writes to apply.
|
List<Write> |
getWritesList()
The writes to apply.
|
WriteOrBuilder |
getWritesOrBuilder(int index)
The writes to apply.
|
List<? extends WriteOrBuilder> |
getWritesOrBuilderList()
The writes to apply.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getDatabase()
Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
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];
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;
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;
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;
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;
int getLabelsCount()
Labels associated with this batch write.
map<string, string> labels = 3;
boolean containsLabels(String key)
Labels associated with this batch write.
map<string, string> labels = 3;
@Deprecated Map<String,String> getLabels()
getLabelsMap()
instead.Map<String,String> getLabelsMap()
Labels associated with this batch write.
map<string, string> labels = 3;
String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this batch write.
map<string, string> labels = 3;
Copyright © 2023 Google LLC. All rights reserved.