# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/bigtable/v2/data.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.bigtable.v2.Row" do
    optional :key, :bytes, 1
    repeated :families, :message, 2, "google.bigtable.v2.Family"
  end
  add_message "google.bigtable.v2.Family" do
    optional :name, :string, 1
    repeated :columns, :message, 2, "google.bigtable.v2.Column"
  end
  add_message "google.bigtable.v2.Column" do
    optional :qualifier, :bytes, 1
    repeated :cells, :message, 2, "google.bigtable.v2.Cell"
  end
  add_message "google.bigtable.v2.Cell" do
    optional :timestamp_micros, :int64, 1
    optional :value, :bytes, 2
    repeated :labels, :string, 3
  end
  add_message "google.bigtable.v2.RowRange" do
    oneof :start_key do
      optional :start_key_closed, :bytes, 1
      optional :start_key_open, :bytes, 2
    end
    oneof :end_key do
      optional :end_key_open, :bytes, 3
      optional :end_key_closed, :bytes, 4
    end
  end
  add_message "google.bigtable.v2.RowSet" do
    repeated :row_keys, :bytes, 1
    repeated :row_ranges, :message, 2, "google.bigtable.v2.RowRange"
  end
  add_message "google.bigtable.v2.ColumnRange" do
    optional :family_name, :string, 1
    oneof :start_qualifier do
      optional :start_qualifier_closed, :bytes, 2
      optional :start_qualifier_open, :bytes, 3
    end
    oneof :end_qualifier do
      optional :end_qualifier_closed, :bytes, 4
      optional :end_qualifier_open, :bytes, 5
    end
  end
  add_message "google.bigtable.v2.TimestampRange" do
    optional :start_timestamp_micros, :int64, 1
    optional :end_timestamp_micros, :int64, 2
  end
  add_message "google.bigtable.v2.ValueRange" do
    oneof :start_value do
      optional :start_value_closed, :bytes, 1
      optional :start_value_open, :bytes, 2
    end
    oneof :end_value do
      optional :end_value_closed, :bytes, 3
      optional :end_value_open, :bytes, 4
    end
  end
  add_message "google.bigtable.v2.RowFilter" do
    oneof :filter do
      optional :chain, :message, 1, "google.bigtable.v2.RowFilter.Chain"
      optional :interleave, :message, 2, "google.bigtable.v2.RowFilter.Interleave"
      optional :condition, :message, 3, "google.bigtable.v2.RowFilter.Condition"
      optional :sink, :bool, 16
      optional :pass_all_filter, :bool, 17
      optional :block_all_filter, :bool, 18
      optional :row_key_regex_filter, :bytes, 4
      optional :row_sample_filter, :double, 14
      optional :family_name_regex_filter, :string, 5
      optional :column_qualifier_regex_filter, :bytes, 6
      optional :column_range_filter, :message, 7, "google.bigtable.v2.ColumnRange"
      optional :timestamp_range_filter, :message, 8, "google.bigtable.v2.TimestampRange"
      optional :value_regex_filter, :bytes, 9
      optional :value_range_filter, :message, 15, "google.bigtable.v2.ValueRange"
      optional :cells_per_row_offset_filter, :int32, 10
      optional :cells_per_row_limit_filter, :int32, 11
      optional :cells_per_column_limit_filter, :int32, 12
      optional :strip_value_transformer, :bool, 13
      optional :apply_label_transformer, :string, 19
    end
  end
  add_message "google.bigtable.v2.RowFilter.Chain" do
    repeated :filters, :message, 1, "google.bigtable.v2.RowFilter"
  end
  add_message "google.bigtable.v2.RowFilter.Interleave" do
    repeated :filters, :message, 1, "google.bigtable.v2.RowFilter"
  end
  add_message "google.bigtable.v2.RowFilter.Condition" do
    optional :predicate_filter, :message, 1, "google.bigtable.v2.RowFilter"
    optional :true_filter, :message, 2, "google.bigtable.v2.RowFilter"
    optional :false_filter, :message, 3, "google.bigtable.v2.RowFilter"
  end
  add_message "google.bigtable.v2.Mutation" do
    oneof :mutation do
      optional :set_cell, :message, 1, "google.bigtable.v2.Mutation.SetCell"
      optional :delete_from_column, :message, 2, "google.bigtable.v2.Mutation.DeleteFromColumn"
      optional :delete_from_family, :message, 3, "google.bigtable.v2.Mutation.DeleteFromFamily"
      optional :delete_from_row, :message, 4, "google.bigtable.v2.Mutation.DeleteFromRow"
    end
  end
  add_message "google.bigtable.v2.Mutation.SetCell" do
    optional :family_name, :string, 1
    optional :column_qualifier, :bytes, 2
    optional :timestamp_micros, :int64, 3
    optional :value, :bytes, 4
  end
  add_message "google.bigtable.v2.Mutation.DeleteFromColumn" do
    optional :family_name, :string, 1
    optional :column_qualifier, :bytes, 2
    optional :time_range, :message, 3, "google.bigtable.v2.TimestampRange"
  end
  add_message "google.bigtable.v2.Mutation.DeleteFromFamily" do
    optional :family_name, :string, 1
  end
  add_message "google.bigtable.v2.Mutation.DeleteFromRow" do
  end
  add_message "google.bigtable.v2.ReadModifyWriteRule" do
    optional :family_name, :string, 1
    optional :column_qualifier, :bytes, 2
    oneof :rule do
      optional :append_value, :bytes, 3
      optional :increment_amount, :int64, 4
    end
  end
end

module Google
  module Bigtable
    module V2
      Row = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Row").msgclass
      Family = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Family").msgclass
      Column = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Column").msgclass
      Cell = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Cell").msgclass
      RowRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowRange").msgclass
      RowSet = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowSet").msgclass
      ColumnRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ColumnRange").msgclass
      TimestampRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.TimestampRange").msgclass
      ValueRange = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ValueRange").msgclass
      RowFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter").msgclass
      RowFilter::Chain = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Chain").msgclass
      RowFilter::Interleave = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Interleave").msgclass
      RowFilter::Condition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Condition").msgclass
      Mutation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation").msgclass
      Mutation::SetCell = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.SetCell").msgclass
      Mutation::DeleteFromColumn = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromColumn").msgclass
      Mutation::DeleteFromFamily = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromFamily").msgclass
      Mutation::DeleteFromRow = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromRow").msgclass
      ReadModifyWriteRule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRule").msgclass
    end
  end
end
