public interface TransactionOptionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getModeCase()
public abstract TransactionOptions.ModeCase getModeCase()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the readWrite field is set. |