Interface TransactionOptionsOrBuilder (3.17.0)

public interface TransactionOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModeCase()

public abstract TransactionOptions.ModeCase getModeCase()
Returns
TypeDescription
TransactionOptions.ModeCase

getReadOnly()

public abstract TransactionOptions.ReadOnly getReadOnly()

The transaction can only be used for read operations.

.google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;

Returns
TypeDescription
TransactionOptions.ReadOnly

The readOnly.

getReadOnlyOrBuilder()

public abstract TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()

The transaction can only be used for read operations.

.google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;

Returns
TypeDescription
TransactionOptions.ReadOnlyOrBuilder

getReadWrite()

public abstract TransactionOptions.ReadWrite getReadWrite()

The transaction can be used for both read and write operations.

.google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;

Returns
TypeDescription
TransactionOptions.ReadWrite

The readWrite.

getReadWriteOrBuilder()

public abstract TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()

The transaction can be used for both read and write operations.

.google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;

Returns
TypeDescription
TransactionOptions.ReadWriteOrBuilder

hasReadOnly()

public abstract boolean hasReadOnly()

The transaction can only be used for read operations.

.google.firestore.v1.TransactionOptions.ReadOnly read_only = 2;

Returns
TypeDescription
boolean

Whether the readOnly field is set.

hasReadWrite()

public abstract boolean hasReadWrite()

The transaction can be used for both read and write operations.

.google.firestore.v1.TransactionOptions.ReadWrite read_write = 3;

Returns
TypeDescription
boolean

Whether the readWrite field is set.