Package | Description |
---|---|
com.google.firestore.v1 |
Modifier and Type | Method and Description |
---|---|
TransactionOptions.Builder |
TransactionOptions.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionOptions.Builder |
TransactionOptions.Builder.clear() |
TransactionOptions.Builder |
TransactionOptions.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransactionOptions.Builder |
TransactionOptions.Builder.clearMode() |
TransactionOptions.Builder |
TransactionOptions.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransactionOptions.Builder |
TransactionOptions.Builder.clearReadOnly()
The transaction can only be used for read operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.clearReadWrite()
The transaction can be used for both read and write operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.clone() |
TransactionOptions.Builder |
BatchGetDocumentsRequest.Builder.getNewTransactionBuilder()
Starts a new transaction and reads the documents.
|
TransactionOptions.Builder |
RunAggregationQueryRequest.Builder.getNewTransactionBuilder()
Starts a new transaction as part of the query, defaulting to read-only.
|
TransactionOptions.Builder |
RunQueryRequest.Builder.getNewTransactionBuilder()
Starts a new transaction and reads the documents.
|
TransactionOptions.Builder |
BeginTransactionRequest.Builder.getOptionsBuilder()
The options for the transaction.
|
TransactionOptions.Builder |
TransactionOptions.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransactionOptions.Builder |
TransactionOptions.Builder.mergeFrom(com.google.protobuf.Message other) |
TransactionOptions.Builder |
TransactionOptions.Builder.mergeFrom(TransactionOptions other) |
TransactionOptions.Builder |
TransactionOptions.Builder.mergeReadOnly(TransactionOptions.ReadOnly value)
The transaction can only be used for read operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.mergeReadWrite(TransactionOptions.ReadWrite value)
The transaction can be used for both read and write operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static TransactionOptions.Builder |
TransactionOptions.newBuilder() |
static TransactionOptions.Builder |
TransactionOptions.newBuilder(TransactionOptions prototype) |
TransactionOptions.Builder |
TransactionOptions.newBuilderForType() |
protected TransactionOptions.Builder |
TransactionOptions.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
TransactionOptions.Builder |
TransactionOptions.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionOptions.Builder |
TransactionOptions.Builder.setReadOnly(TransactionOptions.ReadOnly.Builder builderForValue)
The transaction can only be used for read operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.setReadOnly(TransactionOptions.ReadOnly value)
The transaction can only be used for read operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.setReadWrite(TransactionOptions.ReadWrite.Builder builderForValue)
The transaction can be used for both read and write operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.setReadWrite(TransactionOptions.ReadWrite value)
The transaction can be used for both read and write operations.
|
TransactionOptions.Builder |
TransactionOptions.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransactionOptions.Builder |
TransactionOptions.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionOptions.Builder |
TransactionOptions.toBuilder() |
Modifier and Type | Method and Description |
---|---|
BatchGetDocumentsRequest.Builder |
BatchGetDocumentsRequest.Builder.setNewTransaction(TransactionOptions.Builder builderForValue)
Starts a new transaction and reads the documents.
|
RunAggregationQueryRequest.Builder |
RunAggregationQueryRequest.Builder.setNewTransaction(TransactionOptions.Builder builderForValue)
Starts a new transaction as part of the query, defaulting to read-only.
|
RunQueryRequest.Builder |
RunQueryRequest.Builder.setNewTransaction(TransactionOptions.Builder builderForValue)
Starts a new transaction and reads the documents.
|
BeginTransactionRequest.Builder |
BeginTransactionRequest.Builder.setOptions(TransactionOptions.Builder builderForValue)
The options for the transaction.
|
Copyright © 2023 Google LLC. All rights reserved.