|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443 |
- // Code generated by protoc-gen-go.
- // source: test.proto
- // DO NOT EDIT!
-
- /*
- Package tests is a generated protocol buffer package.
-
- It is generated from these files:
- test.proto
-
- It has these top-level messages:
- TestSuite
- Test
- GetTest
- CreateTest
- SetTest
- UpdateTest
- UpdatePathsTest
- DeleteTest
- SetOption
- QueryTest
- Clause
- Select
- Where
- OrderBy
- Cursor
- DocSnapshot
- FieldPath
- ListenTest
- Snapshot
- DocChange
- */
- package tests
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import google_firestore_v1beta1 "google.golang.org/genproto/googleapis/firestore/v1beta1"
- import google_firestore_v1beta11 "google.golang.org/genproto/googleapis/firestore/v1beta1"
- import google_firestore_v1beta14 "google.golang.org/genproto/googleapis/firestore/v1beta1"
- import google_firestore_v1beta12 "google.golang.org/genproto/googleapis/firestore/v1beta1"
- import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
- type DocChange_Kind int32
-
- const (
- DocChange_KIND_UNSPECIFIED DocChange_Kind = 0
- DocChange_ADDED DocChange_Kind = 1
- DocChange_REMOVED DocChange_Kind = 2
- DocChange_MODIFIED DocChange_Kind = 3
- )
-
- var DocChange_Kind_name = map[int32]string{
- 0: "KIND_UNSPECIFIED",
- 1: "ADDED",
- 2: "REMOVED",
- 3: "MODIFIED",
- }
- var DocChange_Kind_value = map[string]int32{
- "KIND_UNSPECIFIED": 0,
- "ADDED": 1,
- "REMOVED": 2,
- "MODIFIED": 3,
- }
-
- func (x DocChange_Kind) String() string {
- return proto.EnumName(DocChange_Kind_name, int32(x))
- }
- func (DocChange_Kind) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{19, 0} }
-
- // A collection of tests.
- type TestSuite struct {
- Tests []*Test `protobuf:"bytes,1,rep,name=tests" json:"tests,omitempty"`
- }
-
- func (m *TestSuite) Reset() { *m = TestSuite{} }
- func (m *TestSuite) String() string { return proto.CompactTextString(m) }
- func (*TestSuite) ProtoMessage() {}
- func (*TestSuite) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
- func (m *TestSuite) GetTests() []*Test {
- if m != nil {
- return m.Tests
- }
- return nil
- }
-
- // A Test describes a single client method call and its expected result.
- type Test struct {
- Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
- // Types that are valid to be assigned to Test:
- // *Test_Get
- // *Test_Create
- // *Test_Set
- // *Test_Update
- // *Test_UpdatePaths
- // *Test_Delete
- // *Test_Query
- // *Test_Listen
- Test isTest_Test `protobuf_oneof:"test"`
- }
-
- func (m *Test) Reset() { *m = Test{} }
- func (m *Test) String() string { return proto.CompactTextString(m) }
- func (*Test) ProtoMessage() {}
- func (*Test) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
-
- type isTest_Test interface {
- isTest_Test()
- }
-
- type Test_Get struct {
- Get *GetTest `protobuf:"bytes,2,opt,name=get,oneof"`
- }
- type Test_Create struct {
- Create *CreateTest `protobuf:"bytes,3,opt,name=create,oneof"`
- }
- type Test_Set struct {
- Set *SetTest `protobuf:"bytes,4,opt,name=set,oneof"`
- }
- type Test_Update struct {
- Update *UpdateTest `protobuf:"bytes,5,opt,name=update,oneof"`
- }
- type Test_UpdatePaths struct {
- UpdatePaths *UpdatePathsTest `protobuf:"bytes,6,opt,name=update_paths,json=updatePaths,oneof"`
- }
- type Test_Delete struct {
- Delete *DeleteTest `protobuf:"bytes,7,opt,name=delete,oneof"`
- }
- type Test_Query struct {
- Query *QueryTest `protobuf:"bytes,8,opt,name=query,oneof"`
- }
- type Test_Listen struct {
- Listen *ListenTest `protobuf:"bytes,9,opt,name=listen,oneof"`
- }
-
- func (*Test_Get) isTest_Test() {}
- func (*Test_Create) isTest_Test() {}
- func (*Test_Set) isTest_Test() {}
- func (*Test_Update) isTest_Test() {}
- func (*Test_UpdatePaths) isTest_Test() {}
- func (*Test_Delete) isTest_Test() {}
- func (*Test_Query) isTest_Test() {}
- func (*Test_Listen) isTest_Test() {}
-
- func (m *Test) GetTest() isTest_Test {
- if m != nil {
- return m.Test
- }
- return nil
- }
-
- func (m *Test) GetDescription() string {
- if m != nil {
- return m.Description
- }
- return ""
- }
-
- func (m *Test) GetGet() *GetTest {
- if x, ok := m.GetTest().(*Test_Get); ok {
- return x.Get
- }
- return nil
- }
-
- func (m *Test) GetCreate() *CreateTest {
- if x, ok := m.GetTest().(*Test_Create); ok {
- return x.Create
- }
- return nil
- }
-
- func (m *Test) GetSet() *SetTest {
- if x, ok := m.GetTest().(*Test_Set); ok {
- return x.Set
- }
- return nil
- }
-
- func (m *Test) GetUpdate() *UpdateTest {
- if x, ok := m.GetTest().(*Test_Update); ok {
- return x.Update
- }
- return nil
- }
-
- func (m *Test) GetUpdatePaths() *UpdatePathsTest {
- if x, ok := m.GetTest().(*Test_UpdatePaths); ok {
- return x.UpdatePaths
- }
- return nil
- }
-
- func (m *Test) GetDelete() *DeleteTest {
- if x, ok := m.GetTest().(*Test_Delete); ok {
- return x.Delete
- }
- return nil
- }
-
- func (m *Test) GetQuery() *QueryTest {
- if x, ok := m.GetTest().(*Test_Query); ok {
- return x.Query
- }
- return nil
- }
-
- func (m *Test) GetListen() *ListenTest {
- if x, ok := m.GetTest().(*Test_Listen); ok {
- return x.Listen
- }
- return nil
- }
-
- // XXX_OneofFuncs is for the internal use of the proto package.
- func (*Test) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Test_OneofMarshaler, _Test_OneofUnmarshaler, _Test_OneofSizer, []interface{}{
- (*Test_Get)(nil),
- (*Test_Create)(nil),
- (*Test_Set)(nil),
- (*Test_Update)(nil),
- (*Test_UpdatePaths)(nil),
- (*Test_Delete)(nil),
- (*Test_Query)(nil),
- (*Test_Listen)(nil),
- }
- }
-
- func _Test_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Test)
- // test
- switch x := m.Test.(type) {
- case *Test_Get:
- b.EncodeVarint(2<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Get); err != nil {
- return err
- }
- case *Test_Create:
- b.EncodeVarint(3<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Create); err != nil {
- return err
- }
- case *Test_Set:
- b.EncodeVarint(4<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Set); err != nil {
- return err
- }
- case *Test_Update:
- b.EncodeVarint(5<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Update); err != nil {
- return err
- }
- case *Test_UpdatePaths:
- b.EncodeVarint(6<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.UpdatePaths); err != nil {
- return err
- }
- case *Test_Delete:
- b.EncodeVarint(7<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Delete); err != nil {
- return err
- }
- case *Test_Query:
- b.EncodeVarint(8<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Query); err != nil {
- return err
- }
- case *Test_Listen:
- b.EncodeVarint(9<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Listen); err != nil {
- return err
- }
- case nil:
- default:
- return fmt.Errorf("Test.Test has unexpected type %T", x)
- }
- return nil
- }
-
- func _Test_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Test)
- switch tag {
- case 2: // test.get
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(GetTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_Get{msg}
- return true, err
- case 3: // test.create
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(CreateTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_Create{msg}
- return true, err
- case 4: // test.set
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SetTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_Set{msg}
- return true, err
- case 5: // test.update
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(UpdateTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_Update{msg}
- return true, err
- case 6: // test.update_paths
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(UpdatePathsTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_UpdatePaths{msg}
- return true, err
- case 7: // test.delete
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(DeleteTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_Delete{msg}
- return true, err
- case 8: // test.query
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(QueryTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_Query{msg}
- return true, err
- case 9: // test.listen
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(ListenTest)
- err := b.DecodeMessage(msg)
- m.Test = &Test_Listen{msg}
- return true, err
- default:
- return false, nil
- }
- }
-
- func _Test_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Test)
- // test
- switch x := m.Test.(type) {
- case *Test_Get:
- s := proto.Size(x.Get)
- n += proto.SizeVarint(2<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Test_Create:
- s := proto.Size(x.Create)
- n += proto.SizeVarint(3<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Test_Set:
- s := proto.Size(x.Set)
- n += proto.SizeVarint(4<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Test_Update:
- s := proto.Size(x.Update)
- n += proto.SizeVarint(5<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Test_UpdatePaths:
- s := proto.Size(x.UpdatePaths)
- n += proto.SizeVarint(6<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Test_Delete:
- s := proto.Size(x.Delete)
- n += proto.SizeVarint(7<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Test_Query:
- s := proto.Size(x.Query)
- n += proto.SizeVarint(8<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Test_Listen:
- s := proto.Size(x.Listen)
- n += proto.SizeVarint(9<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
- }
-
- // Call to the DocumentRef.Get method.
- type GetTest struct {
- // The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
- DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath" json:"doc_ref_path,omitempty"`
- // The request that the call should send to the Firestore service.
- Request *google_firestore_v1beta14.GetDocumentRequest `protobuf:"bytes,2,opt,name=request" json:"request,omitempty"`
- }
-
- func (m *GetTest) Reset() { *m = GetTest{} }
- func (m *GetTest) String() string { return proto.CompactTextString(m) }
- func (*GetTest) ProtoMessage() {}
- func (*GetTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
-
- func (m *GetTest) GetDocRefPath() string {
- if m != nil {
- return m.DocRefPath
- }
- return ""
- }
-
- func (m *GetTest) GetRequest() *google_firestore_v1beta14.GetDocumentRequest {
- if m != nil {
- return m.Request
- }
- return nil
- }
-
- // Call to DocumentRef.Create.
- type CreateTest struct {
- // The path of the doc, e.g. "projects/projectID/databases/(default)/documents/C/d"
- DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath" json:"doc_ref_path,omitempty"`
- // The data passed to Create, as JSON. The strings "Delete" and "ServerTimestamp"
- // denote the two special sentinel values. Values that could be interpreted as integers
- // (i.e. digit strings) should be treated as integers.
- JsonData string `protobuf:"bytes,2,opt,name=json_data,json=jsonData" json:"json_data,omitempty"`
- // The request that the call should generate.
- Request *google_firestore_v1beta14.CommitRequest `protobuf:"bytes,3,opt,name=request" json:"request,omitempty"`
- // If true, the call should result in an error without generating a request.
- // If this is true, request should not be set.
- IsError bool `protobuf:"varint,4,opt,name=is_error,json=isError" json:"is_error,omitempty"`
- }
-
- func (m *CreateTest) Reset() { *m = CreateTest{} }
- func (m *CreateTest) String() string { return proto.CompactTextString(m) }
- func (*CreateTest) ProtoMessage() {}
- func (*CreateTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
-
- func (m *CreateTest) GetDocRefPath() string {
- if m != nil {
- return m.DocRefPath
- }
- return ""
- }
-
- func (m *CreateTest) GetJsonData() string {
- if m != nil {
- return m.JsonData
- }
- return ""
- }
-
- func (m *CreateTest) GetRequest() *google_firestore_v1beta14.CommitRequest {
- if m != nil {
- return m.Request
- }
- return nil
- }
-
- func (m *CreateTest) GetIsError() bool {
- if m != nil {
- return m.IsError
- }
- return false
- }
-
- // A call to DocumentRef.Set.
- type SetTest struct {
- DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath" json:"doc_ref_path,omitempty"`
- Option *SetOption `protobuf:"bytes,2,opt,name=option" json:"option,omitempty"`
- JsonData string `protobuf:"bytes,3,opt,name=json_data,json=jsonData" json:"json_data,omitempty"`
- Request *google_firestore_v1beta14.CommitRequest `protobuf:"bytes,4,opt,name=request" json:"request,omitempty"`
- IsError bool `protobuf:"varint,5,opt,name=is_error,json=isError" json:"is_error,omitempty"`
- }
-
- func (m *SetTest) Reset() { *m = SetTest{} }
- func (m *SetTest) String() string { return proto.CompactTextString(m) }
- func (*SetTest) ProtoMessage() {}
- func (*SetTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
-
- func (m *SetTest) GetDocRefPath() string {
- if m != nil {
- return m.DocRefPath
- }
- return ""
- }
-
- func (m *SetTest) GetOption() *SetOption {
- if m != nil {
- return m.Option
- }
- return nil
- }
-
- func (m *SetTest) GetJsonData() string {
- if m != nil {
- return m.JsonData
- }
- return ""
- }
-
- func (m *SetTest) GetRequest() *google_firestore_v1beta14.CommitRequest {
- if m != nil {
- return m.Request
- }
- return nil
- }
-
- func (m *SetTest) GetIsError() bool {
- if m != nil {
- return m.IsError
- }
- return false
- }
-
- // A call to the form of DocumentRef.Update that represents the data as a map
- // or dictionary.
- type UpdateTest struct {
- DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath" json:"doc_ref_path,omitempty"`
- Precondition *google_firestore_v1beta1.Precondition `protobuf:"bytes,2,opt,name=precondition" json:"precondition,omitempty"`
- JsonData string `protobuf:"bytes,3,opt,name=json_data,json=jsonData" json:"json_data,omitempty"`
- Request *google_firestore_v1beta14.CommitRequest `protobuf:"bytes,4,opt,name=request" json:"request,omitempty"`
- IsError bool `protobuf:"varint,5,opt,name=is_error,json=isError" json:"is_error,omitempty"`
- }
-
- func (m *UpdateTest) Reset() { *m = UpdateTest{} }
- func (m *UpdateTest) String() string { return proto.CompactTextString(m) }
- func (*UpdateTest) ProtoMessage() {}
- func (*UpdateTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
-
- func (m *UpdateTest) GetDocRefPath() string {
- if m != nil {
- return m.DocRefPath
- }
- return ""
- }
-
- func (m *UpdateTest) GetPrecondition() *google_firestore_v1beta1.Precondition {
- if m != nil {
- return m.Precondition
- }
- return nil
- }
-
- func (m *UpdateTest) GetJsonData() string {
- if m != nil {
- return m.JsonData
- }
- return ""
- }
-
- func (m *UpdateTest) GetRequest() *google_firestore_v1beta14.CommitRequest {
- if m != nil {
- return m.Request
- }
- return nil
- }
-
- func (m *UpdateTest) GetIsError() bool {
- if m != nil {
- return m.IsError
- }
- return false
- }
-
- // A call to the form of DocumentRef.Update that represents the data as a list
- // of field paths and their values.
- type UpdatePathsTest struct {
- DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath" json:"doc_ref_path,omitempty"`
- Precondition *google_firestore_v1beta1.Precondition `protobuf:"bytes,2,opt,name=precondition" json:"precondition,omitempty"`
- // parallel sequences: field_paths[i] corresponds to json_values[i]
- FieldPaths []*FieldPath `protobuf:"bytes,3,rep,name=field_paths,json=fieldPaths" json:"field_paths,omitempty"`
- JsonValues []string `protobuf:"bytes,4,rep,name=json_values,json=jsonValues" json:"json_values,omitempty"`
- Request *google_firestore_v1beta14.CommitRequest `protobuf:"bytes,5,opt,name=request" json:"request,omitempty"`
- IsError bool `protobuf:"varint,6,opt,name=is_error,json=isError" json:"is_error,omitempty"`
- }
-
- func (m *UpdatePathsTest) Reset() { *m = UpdatePathsTest{} }
- func (m *UpdatePathsTest) String() string { return proto.CompactTextString(m) }
- func (*UpdatePathsTest) ProtoMessage() {}
- func (*UpdatePathsTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
-
- func (m *UpdatePathsTest) GetDocRefPath() string {
- if m != nil {
- return m.DocRefPath
- }
- return ""
- }
-
- func (m *UpdatePathsTest) GetPrecondition() *google_firestore_v1beta1.Precondition {
- if m != nil {
- return m.Precondition
- }
- return nil
- }
-
- func (m *UpdatePathsTest) GetFieldPaths() []*FieldPath {
- if m != nil {
- return m.FieldPaths
- }
- return nil
- }
-
- func (m *UpdatePathsTest) GetJsonValues() []string {
- if m != nil {
- return m.JsonValues
- }
- return nil
- }
-
- func (m *UpdatePathsTest) GetRequest() *google_firestore_v1beta14.CommitRequest {
- if m != nil {
- return m.Request
- }
- return nil
- }
-
- func (m *UpdatePathsTest) GetIsError() bool {
- if m != nil {
- return m.IsError
- }
- return false
- }
-
- // A call to DocmentRef.Delete
- type DeleteTest struct {
- DocRefPath string `protobuf:"bytes,1,opt,name=doc_ref_path,json=docRefPath" json:"doc_ref_path,omitempty"`
- Precondition *google_firestore_v1beta1.Precondition `protobuf:"bytes,2,opt,name=precondition" json:"precondition,omitempty"`
- Request *google_firestore_v1beta14.CommitRequest `protobuf:"bytes,3,opt,name=request" json:"request,omitempty"`
- IsError bool `protobuf:"varint,4,opt,name=is_error,json=isError" json:"is_error,omitempty"`
- }
-
- func (m *DeleteTest) Reset() { *m = DeleteTest{} }
- func (m *DeleteTest) String() string { return proto.CompactTextString(m) }
- func (*DeleteTest) ProtoMessage() {}
- func (*DeleteTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
-
- func (m *DeleteTest) GetDocRefPath() string {
- if m != nil {
- return m.DocRefPath
- }
- return ""
- }
-
- func (m *DeleteTest) GetPrecondition() *google_firestore_v1beta1.Precondition {
- if m != nil {
- return m.Precondition
- }
- return nil
- }
-
- func (m *DeleteTest) GetRequest() *google_firestore_v1beta14.CommitRequest {
- if m != nil {
- return m.Request
- }
- return nil
- }
-
- func (m *DeleteTest) GetIsError() bool {
- if m != nil {
- return m.IsError
- }
- return false
- }
-
- // An option to the DocumentRef.Set call.
- type SetOption struct {
- All bool `protobuf:"varint,1,opt,name=all" json:"all,omitempty"`
- Fields []*FieldPath `protobuf:"bytes,2,rep,name=fields" json:"fields,omitempty"`
- }
-
- func (m *SetOption) Reset() { *m = SetOption{} }
- func (m *SetOption) String() string { return proto.CompactTextString(m) }
- func (*SetOption) ProtoMessage() {}
- func (*SetOption) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
-
- func (m *SetOption) GetAll() bool {
- if m != nil {
- return m.All
- }
- return false
- }
-
- func (m *SetOption) GetFields() []*FieldPath {
- if m != nil {
- return m.Fields
- }
- return nil
- }
-
- type QueryTest struct {
- CollPath string `protobuf:"bytes,1,opt,name=coll_path,json=collPath" json:"coll_path,omitempty"`
- Clauses []*Clause `protobuf:"bytes,2,rep,name=clauses" json:"clauses,omitempty"`
- Query *google_firestore_v1beta12.StructuredQuery `protobuf:"bytes,3,opt,name=query" json:"query,omitempty"`
- IsError bool `protobuf:"varint,4,opt,name=is_error,json=isError" json:"is_error,omitempty"`
- }
-
- func (m *QueryTest) Reset() { *m = QueryTest{} }
- func (m *QueryTest) String() string { return proto.CompactTextString(m) }
- func (*QueryTest) ProtoMessage() {}
- func (*QueryTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
-
- func (m *QueryTest) GetCollPath() string {
- if m != nil {
- return m.CollPath
- }
- return ""
- }
-
- func (m *QueryTest) GetClauses() []*Clause {
- if m != nil {
- return m.Clauses
- }
- return nil
- }
-
- func (m *QueryTest) GetQuery() *google_firestore_v1beta12.StructuredQuery {
- if m != nil {
- return m.Query
- }
- return nil
- }
-
- func (m *QueryTest) GetIsError() bool {
- if m != nil {
- return m.IsError
- }
- return false
- }
-
- type Clause struct {
- // Types that are valid to be assigned to Clause:
- // *Clause_Select
- // *Clause_Where
- // *Clause_OrderBy
- // *Clause_Offset
- // *Clause_Limit
- // *Clause_StartAt
- // *Clause_StartAfter
- // *Clause_EndAt
- // *Clause_EndBefore
- Clause isClause_Clause `protobuf_oneof:"clause"`
- }
-
- func (m *Clause) Reset() { *m = Clause{} }
- func (m *Clause) String() string { return proto.CompactTextString(m) }
- func (*Clause) ProtoMessage() {}
- func (*Clause) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
-
- type isClause_Clause interface {
- isClause_Clause()
- }
-
- type Clause_Select struct {
- Select *Select `protobuf:"bytes,1,opt,name=select,oneof"`
- }
- type Clause_Where struct {
- Where *Where `protobuf:"bytes,2,opt,name=where,oneof"`
- }
- type Clause_OrderBy struct {
- OrderBy *OrderBy `protobuf:"bytes,3,opt,name=order_by,json=orderBy,oneof"`
- }
- type Clause_Offset struct {
- Offset int32 `protobuf:"varint,4,opt,name=offset,oneof"`
- }
- type Clause_Limit struct {
- Limit int32 `protobuf:"varint,5,opt,name=limit,oneof"`
- }
- type Clause_StartAt struct {
- StartAt *Cursor `protobuf:"bytes,6,opt,name=start_at,json=startAt,oneof"`
- }
- type Clause_StartAfter struct {
- StartAfter *Cursor `protobuf:"bytes,7,opt,name=start_after,json=startAfter,oneof"`
- }
- type Clause_EndAt struct {
- EndAt *Cursor `protobuf:"bytes,8,opt,name=end_at,json=endAt,oneof"`
- }
- type Clause_EndBefore struct {
- EndBefore *Cursor `protobuf:"bytes,9,opt,name=end_before,json=endBefore,oneof"`
- }
-
- func (*Clause_Select) isClause_Clause() {}
- func (*Clause_Where) isClause_Clause() {}
- func (*Clause_OrderBy) isClause_Clause() {}
- func (*Clause_Offset) isClause_Clause() {}
- func (*Clause_Limit) isClause_Clause() {}
- func (*Clause_StartAt) isClause_Clause() {}
- func (*Clause_StartAfter) isClause_Clause() {}
- func (*Clause_EndAt) isClause_Clause() {}
- func (*Clause_EndBefore) isClause_Clause() {}
-
- func (m *Clause) GetClause() isClause_Clause {
- if m != nil {
- return m.Clause
- }
- return nil
- }
-
- func (m *Clause) GetSelect() *Select {
- if x, ok := m.GetClause().(*Clause_Select); ok {
- return x.Select
- }
- return nil
- }
-
- func (m *Clause) GetWhere() *Where {
- if x, ok := m.GetClause().(*Clause_Where); ok {
- return x.Where
- }
- return nil
- }
-
- func (m *Clause) GetOrderBy() *OrderBy {
- if x, ok := m.GetClause().(*Clause_OrderBy); ok {
- return x.OrderBy
- }
- return nil
- }
-
- func (m *Clause) GetOffset() int32 {
- if x, ok := m.GetClause().(*Clause_Offset); ok {
- return x.Offset
- }
- return 0
- }
-
- func (m *Clause) GetLimit() int32 {
- if x, ok := m.GetClause().(*Clause_Limit); ok {
- return x.Limit
- }
- return 0
- }
-
- func (m *Clause) GetStartAt() *Cursor {
- if x, ok := m.GetClause().(*Clause_StartAt); ok {
- return x.StartAt
- }
- return nil
- }
-
- func (m *Clause) GetStartAfter() *Cursor {
- if x, ok := m.GetClause().(*Clause_StartAfter); ok {
- return x.StartAfter
- }
- return nil
- }
-
- func (m *Clause) GetEndAt() *Cursor {
- if x, ok := m.GetClause().(*Clause_EndAt); ok {
- return x.EndAt
- }
- return nil
- }
-
- func (m *Clause) GetEndBefore() *Cursor {
- if x, ok := m.GetClause().(*Clause_EndBefore); ok {
- return x.EndBefore
- }
- return nil
- }
-
- // XXX_OneofFuncs is for the internal use of the proto package.
- func (*Clause) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Clause_OneofMarshaler, _Clause_OneofUnmarshaler, _Clause_OneofSizer, []interface{}{
- (*Clause_Select)(nil),
- (*Clause_Where)(nil),
- (*Clause_OrderBy)(nil),
- (*Clause_Offset)(nil),
- (*Clause_Limit)(nil),
- (*Clause_StartAt)(nil),
- (*Clause_StartAfter)(nil),
- (*Clause_EndAt)(nil),
- (*Clause_EndBefore)(nil),
- }
- }
-
- func _Clause_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Clause)
- // clause
- switch x := m.Clause.(type) {
- case *Clause_Select:
- b.EncodeVarint(1<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Select); err != nil {
- return err
- }
- case *Clause_Where:
- b.EncodeVarint(2<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.Where); err != nil {
- return err
- }
- case *Clause_OrderBy:
- b.EncodeVarint(3<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OrderBy); err != nil {
- return err
- }
- case *Clause_Offset:
- b.EncodeVarint(4<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.Offset))
- case *Clause_Limit:
- b.EncodeVarint(5<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.Limit))
- case *Clause_StartAt:
- b.EncodeVarint(6<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.StartAt); err != nil {
- return err
- }
- case *Clause_StartAfter:
- b.EncodeVarint(7<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.StartAfter); err != nil {
- return err
- }
- case *Clause_EndAt:
- b.EncodeVarint(8<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.EndAt); err != nil {
- return err
- }
- case *Clause_EndBefore:
- b.EncodeVarint(9<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.EndBefore); err != nil {
- return err
- }
- case nil:
- default:
- return fmt.Errorf("Clause.Clause has unexpected type %T", x)
- }
- return nil
- }
-
- func _Clause_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Clause)
- switch tag {
- case 1: // clause.select
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Select)
- err := b.DecodeMessage(msg)
- m.Clause = &Clause_Select{msg}
- return true, err
- case 2: // clause.where
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Where)
- err := b.DecodeMessage(msg)
- m.Clause = &Clause_Where{msg}
- return true, err
- case 3: // clause.order_by
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(OrderBy)
- err := b.DecodeMessage(msg)
- m.Clause = &Clause_OrderBy{msg}
- return true, err
- case 4: // clause.offset
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.Clause = &Clause_Offset{int32(x)}
- return true, err
- case 5: // clause.limit
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.Clause = &Clause_Limit{int32(x)}
- return true, err
- case 6: // clause.start_at
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Cursor)
- err := b.DecodeMessage(msg)
- m.Clause = &Clause_StartAt{msg}
- return true, err
- case 7: // clause.start_after
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Cursor)
- err := b.DecodeMessage(msg)
- m.Clause = &Clause_StartAfter{msg}
- return true, err
- case 8: // clause.end_at
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Cursor)
- err := b.DecodeMessage(msg)
- m.Clause = &Clause_EndAt{msg}
- return true, err
- case 9: // clause.end_before
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Cursor)
- err := b.DecodeMessage(msg)
- m.Clause = &Clause_EndBefore{msg}
- return true, err
- default:
- return false, nil
- }
- }
-
- func _Clause_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Clause)
- // clause
- switch x := m.Clause.(type) {
- case *Clause_Select:
- s := proto.Size(x.Select)
- n += proto.SizeVarint(1<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Clause_Where:
- s := proto.Size(x.Where)
- n += proto.SizeVarint(2<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Clause_OrderBy:
- s := proto.Size(x.OrderBy)
- n += proto.SizeVarint(3<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Clause_Offset:
- n += proto.SizeVarint(4<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.Offset))
- case *Clause_Limit:
- n += proto.SizeVarint(5<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.Limit))
- case *Clause_StartAt:
- s := proto.Size(x.StartAt)
- n += proto.SizeVarint(6<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Clause_StartAfter:
- s := proto.Size(x.StartAfter)
- n += proto.SizeVarint(7<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Clause_EndAt:
- s := proto.Size(x.EndAt)
- n += proto.SizeVarint(8<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Clause_EndBefore:
- s := proto.Size(x.EndBefore)
- n += proto.SizeVarint(9<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
- }
-
- type Select struct {
- Fields []*FieldPath `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty"`
- }
-
- func (m *Select) Reset() { *m = Select{} }
- func (m *Select) String() string { return proto.CompactTextString(m) }
- func (*Select) ProtoMessage() {}
- func (*Select) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
-
- func (m *Select) GetFields() []*FieldPath {
- if m != nil {
- return m.Fields
- }
- return nil
- }
-
- type Where struct {
- Path *FieldPath `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
- Op string `protobuf:"bytes,2,opt,name=op" json:"op,omitempty"`
- JsonValue string `protobuf:"bytes,3,opt,name=json_value,json=jsonValue" json:"json_value,omitempty"`
- }
-
- func (m *Where) Reset() { *m = Where{} }
- func (m *Where) String() string { return proto.CompactTextString(m) }
- func (*Where) ProtoMessage() {}
- func (*Where) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
-
- func (m *Where) GetPath() *FieldPath {
- if m != nil {
- return m.Path
- }
- return nil
- }
-
- func (m *Where) GetOp() string {
- if m != nil {
- return m.Op
- }
- return ""
- }
-
- func (m *Where) GetJsonValue() string {
- if m != nil {
- return m.JsonValue
- }
- return ""
- }
-
- type OrderBy struct {
- Path *FieldPath `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
- Direction string `protobuf:"bytes,2,opt,name=direction" json:"direction,omitempty"`
- }
-
- func (m *OrderBy) Reset() { *m = OrderBy{} }
- func (m *OrderBy) String() string { return proto.CompactTextString(m) }
- func (*OrderBy) ProtoMessage() {}
- func (*OrderBy) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
-
- func (m *OrderBy) GetPath() *FieldPath {
- if m != nil {
- return m.Path
- }
- return nil
- }
-
- func (m *OrderBy) GetDirection() string {
- if m != nil {
- return m.Direction
- }
- return ""
- }
-
- type Cursor struct {
- // one of:
- DocSnapshot *DocSnapshot `protobuf:"bytes,1,opt,name=doc_snapshot,json=docSnapshot" json:"doc_snapshot,omitempty"`
- JsonValues []string `protobuf:"bytes,2,rep,name=json_values,json=jsonValues" json:"json_values,omitempty"`
- }
-
- func (m *Cursor) Reset() { *m = Cursor{} }
- func (m *Cursor) String() string { return proto.CompactTextString(m) }
- func (*Cursor) ProtoMessage() {}
- func (*Cursor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
-
- func (m *Cursor) GetDocSnapshot() *DocSnapshot {
- if m != nil {
- return m.DocSnapshot
- }
- return nil
- }
-
- func (m *Cursor) GetJsonValues() []string {
- if m != nil {
- return m.JsonValues
- }
- return nil
- }
-
- type DocSnapshot struct {
- Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
- JsonData string `protobuf:"bytes,2,opt,name=json_data,json=jsonData" json:"json_data,omitempty"`
- }
-
- func (m *DocSnapshot) Reset() { *m = DocSnapshot{} }
- func (m *DocSnapshot) String() string { return proto.CompactTextString(m) }
- func (*DocSnapshot) ProtoMessage() {}
- func (*DocSnapshot) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
-
- func (m *DocSnapshot) GetPath() string {
- if m != nil {
- return m.Path
- }
- return ""
- }
-
- func (m *DocSnapshot) GetJsonData() string {
- if m != nil {
- return m.JsonData
- }
- return ""
- }
-
- type FieldPath struct {
- Field []string `protobuf:"bytes,1,rep,name=field" json:"field,omitempty"`
- }
-
- func (m *FieldPath) Reset() { *m = FieldPath{} }
- func (m *FieldPath) String() string { return proto.CompactTextString(m) }
- func (*FieldPath) ProtoMessage() {}
- func (*FieldPath) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
-
- func (m *FieldPath) GetField() []string {
- if m != nil {
- return m.Field
- }
- return nil
- }
-
- // A test of the Listen streaming RPC (a.k.a. FireStore watch).
- // If the sequence of responses is provided to the implementation,
- // it should produce the sequence of snapshots.
- // If is_error is true, an error should occur after the snapshots.
- //
- // The tests assume that the query is
- // Collection("projects/projectID/databases/(default)/documents/C").OrderBy("a", Ascending)
- //
- // The watch target ID used in these tests is 1. Test interpreters
- // should either change their client's ID for testing,
- // or change the ID in the tests before running them.
- type ListenTest struct {
- Responses []*google_firestore_v1beta14.ListenResponse `protobuf:"bytes,1,rep,name=responses" json:"responses,omitempty"`
- Snapshots []*Snapshot `protobuf:"bytes,2,rep,name=snapshots" json:"snapshots,omitempty"`
- IsError bool `protobuf:"varint,3,opt,name=is_error,json=isError" json:"is_error,omitempty"`
- }
-
- func (m *ListenTest) Reset() { *m = ListenTest{} }
- func (m *ListenTest) String() string { return proto.CompactTextString(m) }
- func (*ListenTest) ProtoMessage() {}
- func (*ListenTest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
-
- func (m *ListenTest) GetResponses() []*google_firestore_v1beta14.ListenResponse {
- if m != nil {
- return m.Responses
- }
- return nil
- }
-
- func (m *ListenTest) GetSnapshots() []*Snapshot {
- if m != nil {
- return m.Snapshots
- }
- return nil
- }
-
- func (m *ListenTest) GetIsError() bool {
- if m != nil {
- return m.IsError
- }
- return false
- }
-
- type Snapshot struct {
- Docs []*google_firestore_v1beta11.Document `protobuf:"bytes,1,rep,name=docs" json:"docs,omitempty"`
- Changes []*DocChange `protobuf:"bytes,2,rep,name=changes" json:"changes,omitempty"`
- ReadTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=read_time,json=readTime" json:"read_time,omitempty"`
- }
-
- func (m *Snapshot) Reset() { *m = Snapshot{} }
- func (m *Snapshot) String() string { return proto.CompactTextString(m) }
- func (*Snapshot) ProtoMessage() {}
- func (*Snapshot) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
-
- func (m *Snapshot) GetDocs() []*google_firestore_v1beta11.Document {
- if m != nil {
- return m.Docs
- }
- return nil
- }
-
- func (m *Snapshot) GetChanges() []*DocChange {
- if m != nil {
- return m.Changes
- }
- return nil
- }
-
- func (m *Snapshot) GetReadTime() *google_protobuf1.Timestamp {
- if m != nil {
- return m.ReadTime
- }
- return nil
- }
-
- type DocChange struct {
- Kind DocChange_Kind `protobuf:"varint,1,opt,name=kind,enum=tests.DocChange_Kind" json:"kind,omitempty"`
- Doc *google_firestore_v1beta11.Document `protobuf:"bytes,2,opt,name=doc" json:"doc,omitempty"`
- OldIndex int32 `protobuf:"varint,3,opt,name=old_index,json=oldIndex" json:"old_index,omitempty"`
- NewIndex int32 `protobuf:"varint,4,opt,name=new_index,json=newIndex" json:"new_index,omitempty"`
- }
-
- func (m *DocChange) Reset() { *m = DocChange{} }
- func (m *DocChange) String() string { return proto.CompactTextString(m) }
- func (*DocChange) ProtoMessage() {}
- func (*DocChange) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
-
- func (m *DocChange) GetKind() DocChange_Kind {
- if m != nil {
- return m.Kind
- }
- return DocChange_KIND_UNSPECIFIED
- }
-
- func (m *DocChange) GetDoc() *google_firestore_v1beta11.Document {
- if m != nil {
- return m.Doc
- }
- return nil
- }
-
- func (m *DocChange) GetOldIndex() int32 {
- if m != nil {
- return m.OldIndex
- }
- return 0
- }
-
- func (m *DocChange) GetNewIndex() int32 {
- if m != nil {
- return m.NewIndex
- }
- return 0
- }
-
- func init() {
- proto.RegisterType((*TestSuite)(nil), "tests.TestSuite")
- proto.RegisterType((*Test)(nil), "tests.Test")
- proto.RegisterType((*GetTest)(nil), "tests.GetTest")
- proto.RegisterType((*CreateTest)(nil), "tests.CreateTest")
- proto.RegisterType((*SetTest)(nil), "tests.SetTest")
- proto.RegisterType((*UpdateTest)(nil), "tests.UpdateTest")
- proto.RegisterType((*UpdatePathsTest)(nil), "tests.UpdatePathsTest")
- proto.RegisterType((*DeleteTest)(nil), "tests.DeleteTest")
- proto.RegisterType((*SetOption)(nil), "tests.SetOption")
- proto.RegisterType((*QueryTest)(nil), "tests.QueryTest")
- proto.RegisterType((*Clause)(nil), "tests.Clause")
- proto.RegisterType((*Select)(nil), "tests.Select")
- proto.RegisterType((*Where)(nil), "tests.Where")
- proto.RegisterType((*OrderBy)(nil), "tests.OrderBy")
- proto.RegisterType((*Cursor)(nil), "tests.Cursor")
- proto.RegisterType((*DocSnapshot)(nil), "tests.DocSnapshot")
- proto.RegisterType((*FieldPath)(nil), "tests.FieldPath")
- proto.RegisterType((*ListenTest)(nil), "tests.ListenTest")
- proto.RegisterType((*Snapshot)(nil), "tests.Snapshot")
- proto.RegisterType((*DocChange)(nil), "tests.DocChange")
- proto.RegisterEnum("tests.DocChange_Kind", DocChange_Kind_name, DocChange_Kind_value)
- }
-
- func init() { proto.RegisterFile("test.proto", fileDescriptor0) }
-
- var fileDescriptor0 = []byte{
- // 1292 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x73, 0xdb, 0xc4,
- 0x1b, 0xaf, 0x6c, 0x4b, 0x96, 0x1e, 0xe7, 0xdf, 0xe6, 0xbf, 0x53, 0x3a, 0x26, 0xc0, 0x34, 0xd5,
- 0x94, 0xc6, 0x6d, 0xc1, 0xa1, 0xe1, 0xed, 0xc0, 0x0c, 0x4c, 0x12, 0x3b, 0x6d, 0x28, 0x6d, 0x82,
- 0xdc, 0x96, 0x4b, 0x66, 0x8c, 0xa2, 0x5d, 0x27, 0x02, 0x59, 0xeb, 0xee, 0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