1// Copyright 2019 Google LLC.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15
16// Code generated by protoc-gen-go. DO NOT EDIT.
17// versions:
18// 	protoc-gen-go v1.25.0
19// 	protoc        v3.13.0
20// source: google/firestore/v1beta1/common.proto
21
22package firestore
23
24import (
25	reflect "reflect"
26	sync "sync"
27
28	proto "github.com/golang/protobuf/proto"
29	_ "google.golang.org/genproto/googleapis/api/annotations"
30	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
33)
34
35const (
36	// Verify that this generated code is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38	// Verify that runtime/protoimpl is sufficiently up-to-date.
39	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40)
41
42// This is a compile-time assertion that a sufficiently up-to-date version
43// of the legacy proto package is being used.
44const _ = proto.ProtoPackageIsVersion4
45
46// A set of field paths on a document.
47// Used to restrict a get or update operation on a document to a subset of its
48// fields.
49// This is different from standard field masks, as this is always scoped to a
50// [Document][google.firestore.v1beta1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1beta1.Value].
51type DocumentMask struct {
52	state         protoimpl.MessageState
53	sizeCache     protoimpl.SizeCache
54	unknownFields protoimpl.UnknownFields
55
56	// The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field
57	// path syntax reference.
58	FieldPaths []string `protobuf:"bytes,1,rep,name=field_paths,json=fieldPaths,proto3" json:"field_paths,omitempty"`
59}
60
61func (x *DocumentMask) Reset() {
62	*x = DocumentMask{}
63	if protoimpl.UnsafeEnabled {
64		mi := &file_google_firestore_v1beta1_common_proto_msgTypes[0]
65		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66		ms.StoreMessageInfo(mi)
67	}
68}
69
70func (x *DocumentMask) String() string {
71	return protoimpl.X.MessageStringOf(x)
72}
73
74func (*DocumentMask) ProtoMessage() {}
75
76func (x *DocumentMask) ProtoReflect() protoreflect.Message {
77	mi := &file_google_firestore_v1beta1_common_proto_msgTypes[0]
78	if protoimpl.UnsafeEnabled && x != nil {
79		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80		if ms.LoadMessageInfo() == nil {
81			ms.StoreMessageInfo(mi)
82		}
83		return ms
84	}
85	return mi.MessageOf(x)
86}
87
88// Deprecated: Use DocumentMask.ProtoReflect.Descriptor instead.
89func (*DocumentMask) Descriptor() ([]byte, []int) {
90	return file_google_firestore_v1beta1_common_proto_rawDescGZIP(), []int{0}
91}
92
93func (x *DocumentMask) GetFieldPaths() []string {
94	if x != nil {
95		return x.FieldPaths
96	}
97	return nil
98}
99
100// A precondition on a document, used for conditional operations.
101type Precondition struct {
102	state         protoimpl.MessageState
103	sizeCache     protoimpl.SizeCache
104	unknownFields protoimpl.UnknownFields
105
106	// The type of precondition.
107	//
108	// Types that are assignable to ConditionType:
109	//	*Precondition_Exists
110	//	*Precondition_UpdateTime
111	ConditionType isPrecondition_ConditionType `protobuf_oneof:"condition_type"`
112}
113
114func (x *Precondition) Reset() {
115	*x = Precondition{}
116	if protoimpl.UnsafeEnabled {
117		mi := &file_google_firestore_v1beta1_common_proto_msgTypes[1]
118		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119		ms.StoreMessageInfo(mi)
120	}
121}
122
123func (x *Precondition) String() string {
124	return protoimpl.X.MessageStringOf(x)
125}
126
127func (*Precondition) ProtoMessage() {}
128
129func (x *Precondition) ProtoReflect() protoreflect.Message {
130	mi := &file_google_firestore_v1beta1_common_proto_msgTypes[1]
131	if protoimpl.UnsafeEnabled && x != nil {
132		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133		if ms.LoadMessageInfo() == nil {
134			ms.StoreMessageInfo(mi)
135		}
136		return ms
137	}
138	return mi.MessageOf(x)
139}
140
141// Deprecated: Use Precondition.ProtoReflect.Descriptor instead.
142func (*Precondition) Descriptor() ([]byte, []int) {
143	return file_google_firestore_v1beta1_common_proto_rawDescGZIP(), []int{1}
144}
145
146func (m *Precondition) GetConditionType() isPrecondition_ConditionType {
147	if m != nil {
148		return m.ConditionType
149	}
150	return nil
151}
152
153func (x *Precondition) GetExists() bool {
154	if x, ok := x.GetConditionType().(*Precondition_Exists); ok {
155		return x.Exists
156	}
157	return false
158}
159
160func (x *Precondition) GetUpdateTime() *timestamppb.Timestamp {
161	if x, ok := x.GetConditionType().(*Precondition_UpdateTime); ok {
162		return x.UpdateTime
163	}
164	return nil
165}
166
167type isPrecondition_ConditionType interface {
168	isPrecondition_ConditionType()
169}
170
171type Precondition_Exists struct {
172	// When set to `true`, the target document must exist.
173	// When set to `false`, the target document must not exist.
174	Exists bool `protobuf:"varint,1,opt,name=exists,proto3,oneof"`
175}
176
177type Precondition_UpdateTime struct {
178	// When set, the target document must exist and have been last updated at
179	// that time.
180	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3,oneof"`
181}
182
183func (*Precondition_Exists) isPrecondition_ConditionType() {}
184
185func (*Precondition_UpdateTime) isPrecondition_ConditionType() {}
186
187// Options for creating a new transaction.
188type TransactionOptions struct {
189	state         protoimpl.MessageState
190	sizeCache     protoimpl.SizeCache
191	unknownFields protoimpl.UnknownFields
192
193	// The mode of the transaction.
194	//
195	// Types that are assignable to Mode:
196	//	*TransactionOptions_ReadOnly_
197	//	*TransactionOptions_ReadWrite_
198	Mode isTransactionOptions_Mode `protobuf_oneof:"mode"`
199}
200
201func (x *TransactionOptions) Reset() {
202	*x = TransactionOptions{}
203	if protoimpl.UnsafeEnabled {
204		mi := &file_google_firestore_v1beta1_common_proto_msgTypes[2]
205		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
206		ms.StoreMessageInfo(mi)
207	}
208}
209
210func (x *TransactionOptions) String() string {
211	return protoimpl.X.MessageStringOf(x)
212}
213
214func (*TransactionOptions) ProtoMessage() {}
215
216func (x *TransactionOptions) ProtoReflect() protoreflect.Message {
217	mi := &file_google_firestore_v1beta1_common_proto_msgTypes[2]
218	if protoimpl.UnsafeEnabled && x != nil {
219		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220		if ms.LoadMessageInfo() == nil {
221			ms.StoreMessageInfo(mi)
222		}
223		return ms
224	}
225	return mi.MessageOf(x)
226}
227
228// Deprecated: Use TransactionOptions.ProtoReflect.Descriptor instead.
229func (*TransactionOptions) Descriptor() ([]byte, []int) {
230	return file_google_firestore_v1beta1_common_proto_rawDescGZIP(), []int{2}
231}
232
233func (m *TransactionOptions) GetMode() isTransactionOptions_Mode {
234	if m != nil {
235		return m.Mode
236	}
237	return nil
238}
239
240func (x *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly {
241	if x, ok := x.GetMode().(*TransactionOptions_ReadOnly_); ok {
242		return x.ReadOnly
243	}
244	return nil
245}
246
247func (x *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite {
248	if x, ok := x.GetMode().(*TransactionOptions_ReadWrite_); ok {
249		return x.ReadWrite
250	}
251	return nil
252}
253
254type isTransactionOptions_Mode interface {
255	isTransactionOptions_Mode()
256}
257
258type TransactionOptions_ReadOnly_ struct {
259	// The transaction can only be used for read operations.
260	ReadOnly *TransactionOptions_ReadOnly `protobuf:"bytes,2,opt,name=read_only,json=readOnly,proto3,oneof"`
261}
262
263type TransactionOptions_ReadWrite_ struct {
264	// The transaction can be used for both read and write operations.
265	ReadWrite *TransactionOptions_ReadWrite `protobuf:"bytes,3,opt,name=read_write,json=readWrite,proto3,oneof"`
266}
267
268func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {}
269
270func (*TransactionOptions_ReadWrite_) isTransactionOptions_Mode() {}
271
272// Options for a transaction that can be used to read and write documents.
273type TransactionOptions_ReadWrite struct {
274	state         protoimpl.MessageState
275	sizeCache     protoimpl.SizeCache
276	unknownFields protoimpl.UnknownFields
277
278	// An optional transaction to retry.
279	RetryTransaction []byte `protobuf:"bytes,1,opt,name=retry_transaction,json=retryTransaction,proto3" json:"retry_transaction,omitempty"`
280}
281
282func (x *TransactionOptions_ReadWrite) Reset() {
283	*x = TransactionOptions_ReadWrite{}
284	if protoimpl.UnsafeEnabled {
285		mi := &file_google_firestore_v1beta1_common_proto_msgTypes[3]
286		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287		ms.StoreMessageInfo(mi)
288	}
289}
290
291func (x *TransactionOptions_ReadWrite) String() string {
292	return protoimpl.X.MessageStringOf(x)
293}
294
295func (*TransactionOptions_ReadWrite) ProtoMessage() {}
296
297func (x *TransactionOptions_ReadWrite) ProtoReflect() protoreflect.Message {
298	mi := &file_google_firestore_v1beta1_common_proto_msgTypes[3]
299	if protoimpl.UnsafeEnabled && x != nil {
300		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
301		if ms.LoadMessageInfo() == nil {
302			ms.StoreMessageInfo(mi)
303		}
304		return ms
305	}
306	return mi.MessageOf(x)
307}
308
309// Deprecated: Use TransactionOptions_ReadWrite.ProtoReflect.Descriptor instead.
310func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) {
311	return file_google_firestore_v1beta1_common_proto_rawDescGZIP(), []int{2, 0}
312}
313
314func (x *TransactionOptions_ReadWrite) GetRetryTransaction() []byte {
315	if x != nil {
316		return x.RetryTransaction
317	}
318	return nil
319}
320
321// Options for a transaction that can only be used to read documents.
322type TransactionOptions_ReadOnly struct {
323	state         protoimpl.MessageState
324	sizeCache     protoimpl.SizeCache
325	unknownFields protoimpl.UnknownFields
326
327	// The consistency mode for this transaction. If not set, defaults to strong
328	// consistency.
329	//
330	// Types that are assignable to ConsistencySelector:
331	//	*TransactionOptions_ReadOnly_ReadTime
332	ConsistencySelector isTransactionOptions_ReadOnly_ConsistencySelector `protobuf_oneof:"consistency_selector"`
333}
334
335func (x *TransactionOptions_ReadOnly) Reset() {
336	*x = TransactionOptions_ReadOnly{}
337	if protoimpl.UnsafeEnabled {
338		mi := &file_google_firestore_v1beta1_common_proto_msgTypes[4]
339		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
340		ms.StoreMessageInfo(mi)
341	}
342}
343
344func (x *TransactionOptions_ReadOnly) String() string {
345	return protoimpl.X.MessageStringOf(x)
346}
347
348func (*TransactionOptions_ReadOnly) ProtoMessage() {}
349
350func (x *TransactionOptions_ReadOnly) ProtoReflect() protoreflect.Message {
351	mi := &file_google_firestore_v1beta1_common_proto_msgTypes[4]
352	if protoimpl.UnsafeEnabled && x != nil {
353		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
354		if ms.LoadMessageInfo() == nil {
355			ms.StoreMessageInfo(mi)
356		}
357		return ms
358	}
359	return mi.MessageOf(x)
360}
361
362// Deprecated: Use TransactionOptions_ReadOnly.ProtoReflect.Descriptor instead.
363func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) {
364	return file_google_firestore_v1beta1_common_proto_rawDescGZIP(), []int{2, 1}
365}
366
367func (m *TransactionOptions_ReadOnly) GetConsistencySelector() isTransactionOptions_ReadOnly_ConsistencySelector {
368	if m != nil {
369		return m.ConsistencySelector
370	}
371	return nil
372}
373
374func (x *TransactionOptions_ReadOnly) GetReadTime() *timestamppb.Timestamp {
375	if x, ok := x.GetConsistencySelector().(*TransactionOptions_ReadOnly_ReadTime); ok {
376		return x.ReadTime
377	}
378	return nil
379}
380
381type isTransactionOptions_ReadOnly_ConsistencySelector interface {
382	isTransactionOptions_ReadOnly_ConsistencySelector()
383}
384
385type TransactionOptions_ReadOnly_ReadTime struct {
386	// Reads documents at the given time.
387	// This may not be older than 60 seconds.
388	ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3,oneof"`
389}
390
391func (*TransactionOptions_ReadOnly_ReadTime) isTransactionOptions_ReadOnly_ConsistencySelector() {}
392
393var File_google_firestore_v1beta1_common_proto protoreflect.FileDescriptor
394
395var file_google_firestore_v1beta1_common_proto_rawDesc = []byte{
396	0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
397	0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
398	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
399	0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
400	0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
401	0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
402	0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
403	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
404	0x22, 0x2f, 0x0a, 0x0c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x6b,
405	0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18,
406	0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68,
407	0x73, 0x22, 0x79, 0x0a, 0x0c, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
408	0x6e, 0x12, 0x18, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
409	0x08, 0x48, 0x00, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x75,
410	0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
411	0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
412	0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0a,
413	0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x63, 0x6f,
414	0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xe4, 0x02, 0x0a,
415	0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69,
416	0x6f, 0x6e, 0x73, 0x12, 0x54, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79,
417	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
418	0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
419	0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74,
420	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x48, 0x00, 0x52,
421	0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x57, 0x0a, 0x0a, 0x72, 0x65, 0x61,
422	0x64, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e,
423	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
424	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
425	0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64,
426	0x57, 0x72, 0x69, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69,
427	0x74, 0x65, 0x1a, 0x38, 0x0a, 0x09, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12,
428	0x2b, 0x0a, 0x11, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
429	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x74, 0x72,
430	0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x5d, 0x0a, 0x08,
431	0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64,
432	0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
433	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
434	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54,
435	0x69, 0x6d, 0x65, 0x42, 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e,
436	0x63, 0x79, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x06, 0x0a, 0x04, 0x6d,
437	0x6f, 0x64, 0x65, 0x42, 0xdd, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
438	0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62,
439	0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
440	0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
441	0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
442	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73,
443	0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x66, 0x69, 0x72,
444	0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02, 0x1e,
445	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72,
446	0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02,
447	0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69,
448	0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea,
449	0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
450	0x3a, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65,
451	0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
452}
453
454var (
455	file_google_firestore_v1beta1_common_proto_rawDescOnce sync.Once
456	file_google_firestore_v1beta1_common_proto_rawDescData = file_google_firestore_v1beta1_common_proto_rawDesc
457)
458
459func file_google_firestore_v1beta1_common_proto_rawDescGZIP() []byte {
460	file_google_firestore_v1beta1_common_proto_rawDescOnce.Do(func() {
461		file_google_firestore_v1beta1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_v1beta1_common_proto_rawDescData)
462	})
463	return file_google_firestore_v1beta1_common_proto_rawDescData
464}
465
466var file_google_firestore_v1beta1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
467var file_google_firestore_v1beta1_common_proto_goTypes = []interface{}{
468	(*DocumentMask)(nil),                 // 0: google.firestore.v1beta1.DocumentMask
469	(*Precondition)(nil),                 // 1: google.firestore.v1beta1.Precondition
470	(*TransactionOptions)(nil),           // 2: google.firestore.v1beta1.TransactionOptions
471	(*TransactionOptions_ReadWrite)(nil), // 3: google.firestore.v1beta1.TransactionOptions.ReadWrite
472	(*TransactionOptions_ReadOnly)(nil),  // 4: google.firestore.v1beta1.TransactionOptions.ReadOnly
473	(*timestamppb.Timestamp)(nil),        // 5: google.protobuf.Timestamp
474}
475var file_google_firestore_v1beta1_common_proto_depIdxs = []int32{
476	5, // 0: google.firestore.v1beta1.Precondition.update_time:type_name -> google.protobuf.Timestamp
477	4, // 1: google.firestore.v1beta1.TransactionOptions.read_only:type_name -> google.firestore.v1beta1.TransactionOptions.ReadOnly
478	3, // 2: google.firestore.v1beta1.TransactionOptions.read_write:type_name -> google.firestore.v1beta1.TransactionOptions.ReadWrite
479	5, // 3: google.firestore.v1beta1.TransactionOptions.ReadOnly.read_time:type_name -> google.protobuf.Timestamp
480	4, // [4:4] is the sub-list for method output_type
481	4, // [4:4] is the sub-list for method input_type
482	4, // [4:4] is the sub-list for extension type_name
483	4, // [4:4] is the sub-list for extension extendee
484	0, // [0:4] is the sub-list for field type_name
485}
486
487func init() { file_google_firestore_v1beta1_common_proto_init() }
488func file_google_firestore_v1beta1_common_proto_init() {
489	if File_google_firestore_v1beta1_common_proto != nil {
490		return
491	}
492	if !protoimpl.UnsafeEnabled {
493		file_google_firestore_v1beta1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
494			switch v := v.(*DocumentMask); i {
495			case 0:
496				return &v.state
497			case 1:
498				return &v.sizeCache
499			case 2:
500				return &v.unknownFields
501			default:
502				return nil
503			}
504		}
505		file_google_firestore_v1beta1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
506			switch v := v.(*Precondition); i {
507			case 0:
508				return &v.state
509			case 1:
510				return &v.sizeCache
511			case 2:
512				return &v.unknownFields
513			default:
514				return nil
515			}
516		}
517		file_google_firestore_v1beta1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
518			switch v := v.(*TransactionOptions); i {
519			case 0:
520				return &v.state
521			case 1:
522				return &v.sizeCache
523			case 2:
524				return &v.unknownFields
525			default:
526				return nil
527			}
528		}
529		file_google_firestore_v1beta1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
530			switch v := v.(*TransactionOptions_ReadWrite); i {
531			case 0:
532				return &v.state
533			case 1:
534				return &v.sizeCache
535			case 2:
536				return &v.unknownFields
537			default:
538				return nil
539			}
540		}
541		file_google_firestore_v1beta1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
542			switch v := v.(*TransactionOptions_ReadOnly); i {
543			case 0:
544				return &v.state
545			case 1:
546				return &v.sizeCache
547			case 2:
548				return &v.unknownFields
549			default:
550				return nil
551			}
552		}
553	}
554	file_google_firestore_v1beta1_common_proto_msgTypes[1].OneofWrappers = []interface{}{
555		(*Precondition_Exists)(nil),
556		(*Precondition_UpdateTime)(nil),
557	}
558	file_google_firestore_v1beta1_common_proto_msgTypes[2].OneofWrappers = []interface{}{
559		(*TransactionOptions_ReadOnly_)(nil),
560		(*TransactionOptions_ReadWrite_)(nil),
561	}
562	file_google_firestore_v1beta1_common_proto_msgTypes[4].OneofWrappers = []interface{}{
563		(*TransactionOptions_ReadOnly_ReadTime)(nil),
564	}
565	type x struct{}
566	out := protoimpl.TypeBuilder{
567		File: protoimpl.DescBuilder{
568			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
569			RawDescriptor: file_google_firestore_v1beta1_common_proto_rawDesc,
570			NumEnums:      0,
571			NumMessages:   5,
572			NumExtensions: 0,
573			NumServices:   0,
574		},
575		GoTypes:           file_google_firestore_v1beta1_common_proto_goTypes,
576		DependencyIndexes: file_google_firestore_v1beta1_common_proto_depIdxs,
577		MessageInfos:      file_google_firestore_v1beta1_common_proto_msgTypes,
578	}.Build()
579	File_google_firestore_v1beta1_common_proto = out.File
580	file_google_firestore_v1beta1_common_proto_rawDesc = nil
581	file_google_firestore_v1beta1_common_proto_goTypes = nil
582	file_google_firestore_v1beta1_common_proto_depIdxs = nil
583}
584