Package com.google.firestore.v1
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 Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels associated with this batch write.Required.com.google.protobuf.ByteStringRequired.Deprecated.intLabels associated with this batch write.Labels associated with this batch write.getLabelsOrDefault(String key, String defaultValue) Labels associated with this batch write.getLabelsOrThrow(String key) Labels associated with this batch write.getWrites(int index) The writes to apply.intThe 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
isInitializedMethods 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
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
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
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
Labels associated with this batch write.
map<string, string> labels = 3; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels associated with this batch write.
map<string, string> labels = 3; -
getLabelsOrDefault
Labels associated with this batch write.
map<string, string> labels = 3; -
getLabelsOrThrow
Labels associated with this batch write.
map<string, string> labels = 3;
-