public interface TransactionOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TransactionOptions.ModeCase |
getModeCase() |
TransactionOptions.ReadOnly |
getReadOnly()
The transaction can only be used for read operations.
|
TransactionOptions.ReadOnlyOrBuilder |
getReadOnlyOrBuilder()
The transaction can only be used for read operations.
|
TransactionOptions.ReadWrite |
getReadWrite()
The transaction can be used for both read and write operations.
|
TransactionOptions.ReadWriteOrBuilder |
getReadWriteOrBuilder()
The transaction can be used for both read and write operations.
|
boolean |
hasReadOnly()
The transaction can only be used for read operations.
|
boolean |
hasReadWrite()
The transaction can be used for both read and write operations.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasReadOnly()
The transaction can only be used for read operations.
.google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnly getReadOnly()
The transaction can only be used for read operations.
.google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
The transaction can only be used for read operations.
.google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;
boolean hasReadWrite()
The transaction can be used for both read and write operations.
.google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;
TransactionOptions.ReadWrite getReadWrite()
The transaction can be used for both read and write operations.
.google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;
TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
The transaction can be used for both read and write operations.
.google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;
TransactionOptions.ModeCase getModeCase()
Copyright © 2023 Google LLC. All rights reserved.