# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/bigtable/v2/bigtable.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/api/routing_pb' require 'google/bigtable/v2/data_pb' require 'google/bigtable/v2/request_stats_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' require 'google/protobuf/wrappers_pb' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/bigtable/v2/bigtable.proto", :syntax => :proto3) do add_message "google.bigtable.v2.ReadRowsRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 5 optional :rows, :message, 2, "google.bigtable.v2.RowSet" optional :filter, :message, 3, "google.bigtable.v2.RowFilter" optional :rows_limit, :int64, 4 optional :request_stats_view, :enum, 6, "google.bigtable.v2.ReadRowsRequest.RequestStatsView" end add_enum "google.bigtable.v2.ReadRowsRequest.RequestStatsView" do value :REQUEST_STATS_VIEW_UNSPECIFIED, 0 value :REQUEST_STATS_NONE, 1 value :REQUEST_STATS_FULL, 2 end add_message "google.bigtable.v2.ReadRowsResponse" do repeated :chunks, :message, 1, "google.bigtable.v2.ReadRowsResponse.CellChunk" optional :last_scanned_row_key, :bytes, 2 optional :request_stats, :message, 3, "google.bigtable.v2.RequestStats" end add_message "google.bigtable.v2.ReadRowsResponse.CellChunk" do optional :row_key, :bytes, 1 optional :family_name, :message, 2, "google.protobuf.StringValue" optional :qualifier, :message, 3, "google.protobuf.BytesValue" optional :timestamp_micros, :int64, 4 repeated :labels, :string, 5 optional :value, :bytes, 6 optional :value_size, :int32, 7 oneof :row_status do optional :reset_row, :bool, 8 optional :commit_row, :bool, 9 end end add_message "google.bigtable.v2.SampleRowKeysRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 2 end add_message "google.bigtable.v2.SampleRowKeysResponse" do optional :row_key, :bytes, 1 optional :offset_bytes, :int64, 2 end add_message "google.bigtable.v2.MutateRowRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 4 optional :row_key, :bytes, 2 repeated :mutations, :message, 3, "google.bigtable.v2.Mutation" end add_message "google.bigtable.v2.MutateRowResponse" do end add_message "google.bigtable.v2.MutateRowsRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 3 repeated :entries, :message, 2, "google.bigtable.v2.MutateRowsRequest.Entry" end add_message "google.bigtable.v2.MutateRowsRequest.Entry" do optional :row_key, :bytes, 1 repeated :mutations, :message, 2, "google.bigtable.v2.Mutation" end add_message "google.bigtable.v2.MutateRowsResponse" do repeated :entries, :message, 1, "google.bigtable.v2.MutateRowsResponse.Entry" end add_message "google.bigtable.v2.MutateRowsResponse.Entry" do optional :index, :int64, 1 optional :status, :message, 2, "google.rpc.Status" end add_message "google.bigtable.v2.CheckAndMutateRowRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 7 optional :row_key, :bytes, 2 optional :predicate_filter, :message, 6, "google.bigtable.v2.RowFilter" repeated :true_mutations, :message, 4, "google.bigtable.v2.Mutation" repeated :false_mutations, :message, 5, "google.bigtable.v2.Mutation" end add_message "google.bigtable.v2.CheckAndMutateRowResponse" do optional :predicate_matched, :bool, 1 end add_message "google.bigtable.v2.PingAndWarmRequest" do optional :name, :string, 1 optional :app_profile_id, :string, 2 end add_message "google.bigtable.v2.PingAndWarmResponse" do end add_message "google.bigtable.v2.ReadModifyWriteRowRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 4 optional :row_key, :bytes, 2 repeated :rules, :message, 3, "google.bigtable.v2.ReadModifyWriteRule" end add_message "google.bigtable.v2.ReadModifyWriteRowResponse" do optional :row, :message, 1, "google.bigtable.v2.Row" end add_message "google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 2 end add_message "google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse" do optional :partition, :message, 1, "google.bigtable.v2.StreamPartition" end add_message "google.bigtable.v2.ReadChangeStreamRequest" do optional :table_name, :string, 1 optional :app_profile_id, :string, 2 optional :partition, :message, 3, "google.bigtable.v2.StreamPartition" optional :end_time, :message, 5, "google.protobuf.Timestamp" optional :heartbeat_duration, :message, 7, "google.protobuf.Duration" oneof :start_from do optional :start_time, :message, 4, "google.protobuf.Timestamp" optional :continuation_tokens, :message, 6, "google.bigtable.v2.StreamContinuationTokens" end end add_message "google.bigtable.v2.ReadChangeStreamResponse" do oneof :stream_record do optional :data_change, :message, 1, "google.bigtable.v2.ReadChangeStreamResponse.DataChange" optional :heartbeat, :message, 2, "google.bigtable.v2.ReadChangeStreamResponse.Heartbeat" optional :close_stream, :message, 3, "google.bigtable.v2.ReadChangeStreamResponse.CloseStream" end end add_message "google.bigtable.v2.ReadChangeStreamResponse.MutationChunk" do optional :chunk_info, :message, 1, "google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo" optional :mutation, :message, 2, "google.bigtable.v2.Mutation" end add_message "google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo" do optional :chunked_value_size, :int32, 1 optional :chunked_value_offset, :int32, 2 optional :last_chunk, :bool, 3 end add_message "google.bigtable.v2.ReadChangeStreamResponse.DataChange" do optional :type, :enum, 1, "google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type" optional :source_cluster_id, :string, 2 optional :row_key, :bytes, 3 optional :commit_timestamp, :message, 4, "google.protobuf.Timestamp" optional :tiebreaker, :int32, 5 repeated :chunks, :message, 6, "google.bigtable.v2.ReadChangeStreamResponse.MutationChunk" optional :done, :bool, 8 optional :token, :string, 9 optional :estimated_low_watermark, :message, 10, "google.protobuf.Timestamp" end add_enum "google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type" do value :TYPE_UNSPECIFIED, 0 value :USER, 1 value :GARBAGE_COLLECTION, 2 value :CONTINUATION, 3 end add_message "google.bigtable.v2.ReadChangeStreamResponse.Heartbeat" do optional :continuation_token, :message, 1, "google.bigtable.v2.StreamContinuationToken" optional :estimated_low_watermark, :message, 2, "google.protobuf.Timestamp" end add_message "google.bigtable.v2.ReadChangeStreamResponse.CloseStream" do optional :status, :message, 1, "google.rpc.Status" repeated :continuation_tokens, :message, 2, "google.bigtable.v2.StreamContinuationToken" repeated :new_partitions, :message, 3, "google.bigtable.v2.StreamPartition" end end end module Google module Cloud module Bigtable module V2 ReadRowsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsRequest").msgclass ReadRowsRequest::RequestStatsView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsRequest.RequestStatsView").enummodule ReadRowsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse").msgclass ReadRowsResponse::CellChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse.CellChunk").msgclass SampleRowKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysRequest").msgclass SampleRowKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysResponse").msgclass MutateRowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowRequest").msgclass MutateRowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowResponse").msgclass MutateRowsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest").msgclass MutateRowsRequest::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest.Entry").msgclass MutateRowsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse").msgclass MutateRowsResponse::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse.Entry").msgclass CheckAndMutateRowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowRequest").msgclass CheckAndMutateRowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowResponse").msgclass PingAndWarmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.PingAndWarmRequest").msgclass PingAndWarmResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.PingAndWarmResponse").msgclass ReadModifyWriteRowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowRequest").msgclass ReadModifyWriteRowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowResponse").msgclass GenerateInitialChangeStreamPartitionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest").msgclass GenerateInitialChangeStreamPartitionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse").msgclass ReadChangeStreamRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamRequest").msgclass ReadChangeStreamResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamResponse").msgclass ReadChangeStreamResponse::MutationChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamResponse.MutationChunk").msgclass ReadChangeStreamResponse::MutationChunk::ChunkInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo").msgclass ReadChangeStreamResponse::DataChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamResponse.DataChange").msgclass ReadChangeStreamResponse::DataChange::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type").enummodule ReadChangeStreamResponse::Heartbeat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamResponse.Heartbeat").msgclass ReadChangeStreamResponse::CloseStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadChangeStreamResponse.CloseStream").msgclass end end end end