# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/conformance/firestore/v1/tests.proto

require 'google/protobuf'

require 'google/firestore/v1/common_pb'
require 'google/firestore/v1/document_pb'
require 'google/firestore/v1/firestore_pb'
require 'google/firestore/v1/query_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n1google/cloud/conformance/firestore/v1/tests.proto\x12%google.cloud.conformance.firestore.v1\x1a google/firestore/v1/common.proto\x1a\"google/firestore/v1/document.proto\x1a#google/firestore/v1/firestore.proto\x1a\x1fgoogle/firestore/v1/query.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"F\n\x08TestFile\x12:\n\x05tests\x18\x01 \x03(\x0b\x32+.google.cloud.conformance.firestore.v1.Test\"\xd9\x04\n\x04Test\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0f\n\x07\x63omment\x18\n \x01(\t\x12=\n\x03get\x18\x02 \x01(\x0b\x32..google.cloud.conformance.firestore.v1.GetTestH\x00\x12\x43\n\x06\x63reate\x18\x03 \x01(\x0b\x32\x31.google.cloud.conformance.firestore.v1.CreateTestH\x00\x12=\n\x03set\x18\x04 \x01(\x0b\x32..google.cloud.conformance.firestore.v1.SetTestH\x00\x12\x43\n\x06update\x18\x05 \x01(\x0b\x32\x31.google.cloud.conformance.firestore.v1.UpdateTestH\x00\x12N\n\x0cupdate_paths\x18\x06 \x01(\x0b\x32\x36.google.cloud.conformance.firestore.v1.UpdatePathsTestH\x00\x12\x43\n\x06\x64\x65lete\x18\x07 \x01(\x0b\x32\x31.google.cloud.conformance.firestore.v1.DeleteTestH\x00\x12\x41\n\x05query\x18\x08 \x01(\x0b\x32\x30.google.cloud.conformance.firestore.v1.QueryTestH\x00\x12\x43\n\x06listen\x18\t \x01(\x0b\x32\x31.google.cloud.conformance.firestore.v1.ListenTestH\x00\x42\x06\n\x04test\"Y\n\x07GetTest\x12\x14\n\x0c\x64oc_ref_path\x18\x01 \x01(\t\x12\x38\n\x07request\x18\x02 \x01(\x0b\x32\'.google.firestore.v1.GetDocumentRequest\"|\n\nCreateTest\x12\x14\n\x0c\x64oc_ref_path\x18\x01 \x01(\t\x12\x11\n\tjson_data\x18\x02 \x01(\t\x12\x33\n\x07request\x18\x03 \x01(\x0b\x32\".google.firestore.v1.CommitRequest\x12\x10\n\x08is_error\x18\x04 \x01(\x08\"\xbb\x01\n\x07SetTest\x12\x14\n\x0c\x64oc_ref_path\x18\x01 \x01(\t\x12@\n\x06option\x18\x02 \x01(\x0b\x32\x30.google.cloud.conformance.firestore.v1.SetOption\x12\x11\n\tjson_data\x18\x03 \x01(\t\x12\x33\n\x07request\x18\x04 \x01(\x0b\x32\".google.firestore.v1.CommitRequest\x12\x10\n\x08is_error\x18\x05 \x01(\x08\"\xb5\x01\n\nUpdateTest\x12\x14\n\x0c\x64oc_ref_path\x18\x01 \x01(\t\x12\x37\n\x0cprecondition\x18\x02 \x01(\x0b\x32!.google.firestore.v1.Precondition\x12\x11\n\tjson_data\x18\x03 \x01(\t\x12\x33\n\x07request\x18\x04 \x01(\x0b\x32\".google.firestore.v1.CommitRequest\x12\x10\n\x08is_error\x18\x05 \x01(\x08\"\x83\x02\n\x0fUpdatePathsTest\x12\x14\n\x0c\x64oc_ref_path\x18\x01 \x01(\t\x12\x37\n\x0cprecondition\x18\x02 \x01(\x0b\x32!.google.firestore.v1.Precondition\x12\x45\n\x0b\x66ield_paths\x18\x03 \x03(\x0b\x32\x30.google.cloud.conformance.firestore.v1.FieldPath\x12\x13\n\x0bjson_values\x18\x04 \x03(\t\x12\x33\n\x07request\x18\x05 \x01(\x0b\x32\".google.firestore.v1.CommitRequest\x12\x10\n\x08is_error\x18\x06 \x01(\x08\"\xa2\x01\n\nDeleteTest\x12\x14\n\x0c\x64oc_ref_path\x18\x01 \x01(\t\x12\x37\n\x0cprecondition\x18\x02 \x01(\x0b\x32!.google.firestore.v1.Precondition\x12\x33\n\x07request\x18\x03 \x01(\x0b\x32\".google.firestore.v1.CommitRequest\x12\x10\n\x08is_error\x18\x04 \x01(\x08\"Z\n\tSetOption\x12\x0b\n\x03\x61ll\x18\x01 \x01(\x08\x12@\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x30.google.cloud.conformance.firestore.v1.FieldPath\"\xa5\x01\n\tQueryTest\x12\x11\n\tcoll_path\x18\x01 \x01(\t\x12>\n\x07\x63lauses\x18\x02 \x03(\x0b\x32-.google.cloud.conformance.firestore.v1.Clause\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.google.firestore.v1.StructuredQuery\x12\x10\n\x08is_error\x18\x04 \x01(\x08\"\x88\x04\n\x06\x43lause\x12?\n\x06select\x18\x01 \x01(\x0b\x32-.google.cloud.conformance.firestore.v1.SelectH\x00\x12=\n\x05where\x18\x02 \x01(\x0b\x32,.google.cloud.conformance.firestore.v1.WhereH\x00\x12\x42\n\x08order_by\x18\x03 \x01(\x0b\x32..google.cloud.conformance.firestore.v1.OrderByH\x00\x12\x10\n\x06offset\x18\x04 \x01(\x05H\x00\x12\x0f\n\x05limit\x18\x05 \x01(\x05H\x00\x12\x41\n\x08start_at\x18\x06 \x01(\x0b\x32-.google.cloud.conformance.firestore.v1.CursorH\x00\x12\x44\n\x0bstart_after\x18\x07 \x01(\x0b\x32-.google.cloud.conformance.firestore.v1.CursorH\x00\x12?\n\x06\x65nd_at\x18\x08 \x01(\x0b\x32-.google.cloud.conformance.firestore.v1.CursorH\x00\x12\x43\n\nend_before\x18\t \x01(\x0b\x32-.google.cloud.conformance.firestore.v1.CursorH\x00\x42\x08\n\x06\x63lause\"J\n\x06Select\x12@\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x30.google.cloud.conformance.firestore.v1.FieldPath\"g\n\x05Where\x12>\n\x04path\x18\x01 \x01(\x0b\x32\x30.google.cloud.conformance.firestore.v1.FieldPath\x12\n\n\x02op\x18\x02 \x01(\t\x12\x12\n\njson_value\x18\x03 \x01(\t\"\\\n\x07OrderBy\x12>\n\x04path\x18\x01 \x01(\x0b\x32\x30.google.cloud.conformance.firestore.v1.FieldPath\x12\x11\n\tdirection\x18\x02 \x01(\t\"g\n\x06\x43ursor\x12H\n\x0c\x64oc_snapshot\x18\x01 \x01(\x0b\x32\x32.google.cloud.conformance.firestore.v1.DocSnapshot\x12\x13\n\x0bjson_values\x18\x02 \x03(\t\".\n\x0b\x44ocSnapshot\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\tjson_data\x18\x02 \x01(\t\"\x1a\n\tFieldPath\x12\r\n\x05\x66ield\x18\x01 \x03(\t\"\x9a\x01\n\nListenTest\x12\x36\n\tresponses\x18\x01 \x03(\x0b\x32#.google.firestore.v1.ListenResponse\x12\x42\n\tsnapshots\x18\x02 \x03(\x0b\x32/.google.cloud.conformance.firestore.v1.Snapshot\x12\x10\n\x08is_error\x18\x03 \x01(\x08\"\xa9\x01\n\x08Snapshot\x12+\n\x04\x64ocs\x18\x01 \x03(\x0b\x32\x1d.google.firestore.v1.Document\x12\x41\n\x07\x63hanges\x18\x02 \x03(\x0b\x32\x30.google.cloud.conformance.firestore.v1.DocChange\x12-\n\tread_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe6\x01\n\tDocChange\x12\x43\n\x04kind\x18\x01 \x01(\x0e\x32\x35.google.cloud.conformance.firestore.v1.DocChange.Kind\x12*\n\x03\x64oc\x18\x02 \x01(\x0b\x32\x1d.google.firestore.v1.Document\x12\x11\n\told_index\x18\x03 \x01(\x05\x12\x11\n\tnew_index\x18\x04 \x01(\x05\"B\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\x0c\n\x08MODIFIED\x10\x03\x42\xb2\x01\n)com.google.cloud.conformance.firestore.v1B\x0eTestDefinitionZ%google/cloud/conformance/firestore/v1\xaa\x02\"Google.Cloud.Firestore.Tests.Proto\xca\x02(Google\\Cloud\\Firestore\\Tests\\Conformanceb\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool
pool.add_serialized_file(descriptor_data)

module Google
  module Cloud
    module Conformance
      module Firestore
        module V1
          TestFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.TestFile").msgclass
          Test = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.Test").msgclass
          GetTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.GetTest").msgclass
          CreateTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.CreateTest").msgclass
          SetTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.SetTest").msgclass
          UpdateTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.UpdateTest").msgclass
          UpdatePathsTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.UpdatePathsTest").msgclass
          DeleteTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.DeleteTest").msgclass
          SetOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.SetOption").msgclass
          QueryTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.QueryTest").msgclass
          Clause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.Clause").msgclass
          Select = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.Select").msgclass
          Where = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.Where").msgclass
          OrderBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.OrderBy").msgclass
          Cursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.Cursor").msgclass
          DocSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.DocSnapshot").msgclass
          FieldPath = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.FieldPath").msgclass
          ListenTest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.ListenTest").msgclass
          Snapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.Snapshot").msgclass
          DocChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.DocChange").msgclass
          DocChange::Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.conformance.firestore.v1.DocChange.Kind").enummodule
        end
      end
    end
  end
end
