lib/google/spanner/v1/transaction_pb.rb in google-cloud-spanner-v1-0.12.0 vs lib/google/spanner/v1/transaction_pb.rb in google-cloud-spanner-v1-0.13.0

- old
+ new

@@ -14,11 +14,17 @@ optional :partitioned_dml, :message, 3, "google.spanner.v1.TransactionOptions.PartitionedDml" optional :read_only, :message, 2, "google.spanner.v1.TransactionOptions.ReadOnly" end end add_message "google.spanner.v1.TransactionOptions.ReadWrite" do + optional :read_lock_mode, :enum, 1, "google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode" end + add_enum "google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode" do + value :READ_LOCK_MODE_UNSPECIFIED, 0 + value :PESSIMISTIC, 1 + value :OPTIMISTIC, 2 + end add_message "google.spanner.v1.TransactionOptions.PartitionedDml" do end add_message "google.spanner.v1.TransactionOptions.ReadOnly" do optional :return_read_timestamp, :bool, 6 oneof :timestamp_bound do @@ -47,9 +53,10 @@ module Cloud module Spanner module V1 TransactionOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.TransactionOptions").msgclass TransactionOptions::ReadWrite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.TransactionOptions.ReadWrite").msgclass + TransactionOptions::ReadWrite::ReadLockMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode").enummodule TransactionOptions::PartitionedDml = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.TransactionOptions.PartitionedDml").msgclass TransactionOptions::ReadOnly = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.TransactionOptions.ReadOnly").msgclass Transaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.Transaction").msgclass TransactionSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.TransactionSelector").msgclass end