nl.topicus.jdbc.shaded.com.google.spanner.v1.TransactionOptionsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/spanner/v1/transaction.proto
package nl.topicus.jdbc.shaded.com.google.spanner.v1;
public interface TransactionOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions)
nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* 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 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;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.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;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder();
/**
*
* 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;
*/
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;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.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;
*/
nl.topicus.jdbc.shaded.com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder();
public nl.topicus.jdbc.shaded.com.google.spanner.v1.TransactionOptions.ModeCase getModeCase();
}