public interface TransactionOptionsOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TransactionOptions.ModeCase |
getModeCase() |
TransactionOptions.PartitionedDml |
getPartitionedDml()
Partitioned DML transaction.
|
TransactionOptions.PartitionedDmlOrBuilder |
getPartitionedDmlOrBuilder()
Partitioned DML transaction.
|
TransactionOptions.ReadOnly |
getReadOnly()
Transaction will not write.
|
TransactionOptions.ReadOnlyOrBuilder |
getReadOnlyOrBuilder()
Transaction will not write.
|
TransactionOptions.ReadWrite |
getReadWrite()
Transaction may write.
|
TransactionOptions.ReadWriteOrBuilder |
getReadWriteOrBuilder()
Transaction may write.
|
boolean |
hasPartitionedDml()
Partitioned DML transaction.
|
boolean |
hasReadOnly()
Transaction will not write.
|
boolean |
hasReadWrite()
Transaction may write.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasReadWrite()
Transaction may write. Authorization to begin a read-write transaction requires `spanner.databases.beginOrRollbackReadWriteTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
TransactionOptions.ReadWrite getReadWrite()
Transaction may write. Authorization to begin a read-write transaction requires `spanner.databases.beginOrRollbackReadWriteTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder()
Transaction may write. Authorization to begin a read-write transaction requires `spanner.databases.beginOrRollbackReadWriteTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
boolean hasPartitionedDml()
Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
TransactionOptions.PartitionedDml getPartitionedDml()
Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder()
Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
boolean hasReadOnly()
Transaction will not write. Authorization to begin a read-only transaction requires `spanner.databases.beginReadOnlyTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnly getReadOnly()
Transaction will not write. Authorization to begin a read-only transaction requires `spanner.databases.beginReadOnlyTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder()
Transaction will not write. Authorization to begin a read-only transaction requires `spanner.databases.beginReadOnlyTransaction` permission on the `session` resource.
.google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
TransactionOptions.ModeCase getModeCase()
Copyright © 2022 Google LLC. All rights reserved.