public interface BatchWriteRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Labels associated with this batch write.
map<string, string> labels = 3;
Name | Description |
key | String |
Type | Description |
boolean |
getDatabase()
public abstract String getDatabase()
Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The database. |
getDatabaseBytes()
public abstract ByteString getDatabaseBytes()
Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for database. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Labels associated with this batch write.
map<string, string> labels = 3;
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Labels associated with this batch write.
map<string, string> labels = 3;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this batch write.
map<string, string> labels = 3;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Labels associated with this batch write.
map<string, string> labels = 3;
Name | Description |
key | String |
Type | Description |
String |
getWrites(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
Write |
getWritesCount()
public abstract 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;
Type | Description |
int |
getWritesList()
public abstract 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;
Type | Description |
List<Write> |
getWritesOrBuilder(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
WriteOrBuilder |
getWritesOrBuilderList()
public abstract 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;
Type | Description |
List<? extends com.google.firestore.v1.WriteOrBuilder> |