Debian Codegraph @

firestore/apiv1/firestorepb/common.pb.go

raw
1 // Copyright 2025 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 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/firestore/v1/common.proto
20
21 package firestorepb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // A set of field paths on a document.
39 // Used to restrict a get or update operation on a document to a subset of its
40 // fields.
41 // This is different from standard field masks, as this is always scoped to a
42 // [Document][google.firestore.v1.Document], and takes in account the dynamic
43 // nature of [Value][google.firestore.v1.Value].
44 type DocumentMask struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // The list of field paths in the mask. See
50 // [Document.fields][google.firestore.v1.Document.fields] for a field path
51 // syntax reference.
52 FieldPaths []string `protobuf:"bytes,1,rep,name=field_paths,json=fieldPaths,proto3" json:"field_paths,omitempty"`
53 }
54
55 func (x *DocumentMask) Reset() {
56 *x = DocumentMask{}
57 mi := &file_google_firestore_v1_common_proto_msgTypes[0]
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 ms.StoreMessageInfo(mi)
60 }
61
62 func (x *DocumentMask) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*DocumentMask) ProtoMessage() {}
67
68 func (x *DocumentMask) ProtoReflect() protoreflect.Message {
69 mi := &file_google_firestore_v1_common_proto_msgTypes[0]
70 if x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80 // Deprecated: Use DocumentMask.ProtoReflect.Descriptor instead.
81 func (*DocumentMask) Descriptor() ([]byte, []int) {
82 return file_google_firestore_v1_common_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *DocumentMask) GetFieldPaths() []string {
86 if x != nil {
87 return x.FieldPaths
88 }
89 return nil
90 }
91
92 // A precondition on a document, used for conditional operations.
93 type Precondition struct {
94 state protoimpl.MessageState
95 sizeCache protoimpl.SizeCache
96 unknownFields protoimpl.UnknownFields
97
98 // The type of precondition.
99 //
100 // Types that are assignable to ConditionType:
101 //
102 // *Precondition_Exists
103 // *Precondition_UpdateTime
104 ConditionType isPrecondition_ConditionType `protobuf_oneof:"condition_type"`
105 }
106
107 func (x *Precondition) Reset() {
108 *x = Precondition{}
109 mi := &file_google_firestore_v1_common_proto_msgTypes[1]
110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111 ms.StoreMessageInfo(mi)
112 }
113
114 func (x *Precondition) String() string {
115 return protoimpl.X.MessageStringOf(x)
116 }
117
118 func (*Precondition) ProtoMessage() {}
119
120 func (x *Precondition) ProtoReflect() protoreflect.Message {
121 mi := &file_google_firestore_v1_common_proto_msgTypes[1]
122 if x != nil {
123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
124 if ms.LoadMessageInfo() == nil {
125 ms.StoreMessageInfo(mi)
126 }
127 return ms
128 }
129 return mi.MessageOf(x)
130 }
131
132 // Deprecated: Use Precondition.ProtoReflect.Descriptor instead.
133 func (*Precondition) Descriptor() ([]byte, []int) {
134 return file_google_firestore_v1_common_proto_rawDescGZIP(), []int{1}
135 }
136
137 func (m *Precondition) GetConditionType() isPrecondition_ConditionType {
138 if m != nil {
139 return m.ConditionType
140 }
141 return nil
142 }
143
144 func (x *Precondition) GetExists() bool {
145 if x, ok := x.GetConditionType().(*Precondition_Exists); ok {
146 return x.Exists
147 }
148 return false
149 }
150
151 func (x *Precondition) GetUpdateTime() *timestamppb.Timestamp {
152 if x, ok := x.GetConditionType().(*Precondition_UpdateTime); ok {
153 return x.UpdateTime
154 }
155 return nil
156 }
157
158 type isPrecondition_ConditionType interface {
159 isPrecondition_ConditionType()
160 }
161
162 type Precondition_Exists struct {
163 // When set to `true`, the target document must exist.
164 // When set to `false`, the target document must not exist.
165 Exists bool `protobuf:"varint,1,opt,name=exists,proto3,oneof"`
166 }
167
168 type Precondition_UpdateTime struct {
169 // When set, the target document must exist and have been last updated at
170 // that time. Timestamp must be microsecond aligned.
171 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3,oneof"`
172 }
173
174 func (*Precondition_Exists) isPrecondition_ConditionType() {}
175
176 func (*Precondition_UpdateTime) isPrecondition_ConditionType() {}
177
178 // Options for creating a new transaction.
179 type TransactionOptions struct {
180 state protoimpl.MessageState
181 sizeCache protoimpl.SizeCache
182 unknownFields protoimpl.UnknownFields
183
184 // The mode of the transaction.
185 //
186 // Types that are assignable to Mode:
187 //
188 // *TransactionOptions_ReadOnly_
189 // *TransactionOptions_ReadWrite_
190 Mode isTransactionOptions_Mode `protobuf_oneof:"mode"`
191 }
192
193 func (x *TransactionOptions) Reset() {
194 *x = TransactionOptions{}
195 mi := &file_google_firestore_v1_common_proto_msgTypes[2]
196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197 ms.StoreMessageInfo(mi)
198 }
199
200 func (x *TransactionOptions) String() string {
201 return protoimpl.X.MessageStringOf(x)
202 }
203
204 func (*TransactionOptions) ProtoMessage() {}
205
206 func (x *TransactionOptions) ProtoReflect() protoreflect.Message {
207 mi := &file_google_firestore_v1_common_proto_msgTypes[2]
208 if x != nil {
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 if ms.LoadMessageInfo() == nil {
211 ms.StoreMessageInfo(mi)
212 }
213 return ms
214 }
215 return mi.MessageOf(x)
216 }
217
218 // Deprecated: Use TransactionOptions.ProtoReflect.Descriptor instead.
219 func (*TransactionOptions) Descriptor() ([]byte, []int) {
220 return file_google_firestore_v1_common_proto_rawDescGZIP(), []int{2}
221 }
222
223 func (m *TransactionOptions) GetMode() isTransactionOptions_Mode {
224 if m != nil {
225 return m.Mode
226 }
227 return nil
228 }
229
230 func (x *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly {
231 if x, ok := x.GetMode().(*TransactionOptions_ReadOnly_); ok {
232 return x.ReadOnly
233 }
234 return nil
235 }
236
237 func (x *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite {
238 if x, ok := x.GetMode().(*TransactionOptions_ReadWrite_); ok {
239 return x.ReadWrite
240 }
241 return nil
242 }
243
244 type isTransactionOptions_Mode interface {
245 isTransactionOptions_Mode()
246 }
247
248 type TransactionOptions_ReadOnly_ struct {
249 // The transaction can only be used for read operations.
250 ReadOnly *TransactionOptions_ReadOnly `protobuf:"bytes,2,opt,name=read_only,json=readOnly,proto3,oneof"`
251 }
252
253 type TransactionOptions_ReadWrite_ struct {
254 // The transaction can be used for both read and write operations.
255 ReadWrite *TransactionOptions_ReadWrite `protobuf:"bytes,3,opt,name=read_write,json=readWrite,proto3,oneof"`
256 }
257
258 func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {}
259
260 func (*TransactionOptions_ReadWrite_) isTransactionOptions_Mode() {}
261
262 // Options for a transaction that can be used to read and write documents.
263 //
264 // Firestore does not allow 3rd party auth requests to create read-write.
265 // transactions.
266 type TransactionOptions_ReadWrite struct {
267 state protoimpl.MessageState
268 sizeCache protoimpl.SizeCache
269 unknownFields protoimpl.UnknownFields
270
271 // An optional transaction to retry.
272 RetryTransaction []byte `protobuf:"bytes,1,opt,name=retry_transaction,json=retryTransaction,proto3" json:"retry_transaction,omitempty"`
273 }
274
275 func (x *TransactionOptions_ReadWrite) Reset() {
276 *x = TransactionOptions_ReadWrite{}
277 mi := &file_google_firestore_v1_common_proto_msgTypes[3]
278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279 ms.StoreMessageInfo(mi)
280 }
281
282 func (x *TransactionOptions_ReadWrite) String() string {
283 return protoimpl.X.MessageStringOf(x)
284 }
285
286 func (*TransactionOptions_ReadWrite) ProtoMessage() {}
287
288 func (x *TransactionOptions_ReadWrite) ProtoReflect() protoreflect.Message {
289 mi := &file_google_firestore_v1_common_proto_msgTypes[3]
290 if x != nil {
291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292 if ms.LoadMessageInfo() == nil {
293 ms.StoreMessageInfo(mi)
294 }
295 return ms
296 }
297 return mi.MessageOf(x)
298 }
299
300 // Deprecated: Use TransactionOptions_ReadWrite.ProtoReflect.Descriptor instead.
301 func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) {
302 return file_google_firestore_v1_common_proto_rawDescGZIP(), []int{2, 0}
303 }
304
305 func (x *TransactionOptions_ReadWrite) GetRetryTransaction() []byte {
306 if x != nil {
307 return x.RetryTransaction
308 }
309 return nil
310 }
311
312 // Options for a transaction that can only be used to read documents.
313 type TransactionOptions_ReadOnly struct {
314 state protoimpl.MessageState
315 sizeCache protoimpl.SizeCache
316 unknownFields protoimpl.UnknownFields
317
318 // The consistency mode for this transaction. If not set, defaults to strong
319 // consistency.
320 //
321 // Types that are assignable to ConsistencySelector:
322 //
323 // *TransactionOptions_ReadOnly_ReadTime
324 ConsistencySelector isTransactionOptions_ReadOnly_ConsistencySelector `protobuf_oneof:"consistency_selector"`
325 }
326
327 func (x *TransactionOptions_ReadOnly) Reset() {
328 *x = TransactionOptions_ReadOnly{}
329 mi := &file_google_firestore_v1_common_proto_msgTypes[4]
330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
331 ms.StoreMessageInfo(mi)
332 }
333
334 func (x *TransactionOptions_ReadOnly) String() string {
335 return protoimpl.X.MessageStringOf(x)
336 }
337
338 func (*TransactionOptions_ReadOnly) ProtoMessage() {}
339
340 func (x *TransactionOptions_ReadOnly) ProtoReflect() protoreflect.Message {
341 mi := &file_google_firestore_v1_common_proto_msgTypes[4]
342 if x != nil {
343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344 if ms.LoadMessageInfo() == nil {
345 ms.StoreMessageInfo(mi)
346 }
347 return ms
348 }
349 return mi.MessageOf(x)
350 }
351
352 // Deprecated: Use TransactionOptions_ReadOnly.ProtoReflect.Descriptor instead.
353 func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) {
354 return file_google_firestore_v1_common_proto_rawDescGZIP(), []int{2, 1}
355 }
356
357 func (m *TransactionOptions_ReadOnly) GetConsistencySelector() isTransactionOptions_ReadOnly_ConsistencySelector {
358 if m != nil {
359 return m.ConsistencySelector
360 }
361 return nil
362 }
363
364 func (x *TransactionOptions_ReadOnly) GetReadTime() *timestamppb.Timestamp {
365 if x, ok := x.GetConsistencySelector().(*TransactionOptions_ReadOnly_ReadTime); ok {
366 return x.ReadTime
367 }
368 return nil
369 }
370
371 type isTransactionOptions_ReadOnly_ConsistencySelector interface {
372 isTransactionOptions_ReadOnly_ConsistencySelector()
373 }
374
375 type TransactionOptions_ReadOnly_ReadTime struct {
376 // Reads documents at the given time.
377 //
378 // This must be a microsecond precision timestamp within the past one
379 // hour, or if Point-in-Time Recovery is enabled, can additionally be a
380 // whole minute timestamp within the past 7 days.
381 ReadTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3,oneof"`
382 }
383
384 func (*TransactionOptions_ReadOnly_ReadTime) isTransactionOptions_ReadOnly_ConsistencySelector() {}
385
386 var File_google_firestore_v1_common_proto protoreflect.FileDescriptor
387
388 var file_google_firestore_v1_common_proto_rawDesc = []byte{
389 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
390 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
391 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
392 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
393 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
394 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0c, 0x44, 0x6f, 0x63, 0x75,
395 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c,
396 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x66,
397 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0x79, 0x0a, 0x0c, 0x50, 0x72, 0x65,
398 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x06, 0x65, 0x78, 0x69,
399 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x65, 0x78, 0x69,
400 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
401 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
402 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
403 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
404 0x6d, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
405 0x74, 0x79, 0x70, 0x65, 0x22, 0xda, 0x02, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
406 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4f, 0x0a, 0x09, 0x72,
407 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30,
408 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
409 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
410 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79,
411 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x52, 0x0a, 0x0a,
412 0x72, 0x65, 0x61, 0x64, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
413 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
414 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
415 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72,
416 0x69, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65,
417 0x1a, 0x38, 0x0a, 0x09, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x2b, 0x0a,
418 0x11, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
419 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x74, 0x72, 0x79, 0x54,
420 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x5d, 0x0a, 0x08, 0x52, 0x65,
421 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74,
422 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
423 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
424 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d,
425 0x65, 0x42, 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79,
426 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x6f, 0x64,
427 0x65, 0x42, 0xc3, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
428 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43,
429 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c,
430 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
431 0x6f, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76,
432 0x31, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0x3b, 0x66, 0x69,
433 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53,
434 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
435 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47,
436 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72, 0x65,
437 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
438 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74,
439 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
440 }
441
442 var (
443 file_google_firestore_v1_common_proto_rawDescOnce sync.Once
444 file_google_firestore_v1_common_proto_rawDescData = file_google_firestore_v1_common_proto_rawDesc
445 )
446
447 func file_google_firestore_v1_common_proto_rawDescGZIP() []byte {
448 file_google_firestore_v1_common_proto_rawDescOnce.Do(func() {
449 file_google_firestore_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_v1_common_proto_rawDescData)
450 })
451 return file_google_firestore_v1_common_proto_rawDescData
452 }
453
454 var file_google_firestore_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
455 var file_google_firestore_v1_common_proto_goTypes = []any{
456 (*DocumentMask)(nil), // 0: google.firestore.v1.DocumentMask
457 (*Precondition)(nil), // 1: google.firestore.v1.Precondition
458 (*TransactionOptions)(nil), // 2: google.firestore.v1.TransactionOptions
459 (*TransactionOptions_ReadWrite)(nil), // 3: google.firestore.v1.TransactionOptions.ReadWrite
460 (*TransactionOptions_ReadOnly)(nil), // 4: google.firestore.v1.TransactionOptions.ReadOnly
461 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
462 }
463 var file_google_firestore_v1_common_proto_depIdxs = []int32{
464 5, // 0: google.firestore.v1.Precondition.update_time:type_name -> google.protobuf.Timestamp
465 4, // 1: google.firestore.v1.TransactionOptions.read_only:type_name -> google.firestore.v1.TransactionOptions.ReadOnly
466 3, // 2: google.firestore.v1.TransactionOptions.read_write:type_name -> google.firestore.v1.TransactionOptions.ReadWrite
467 5, // 3: google.firestore.v1.TransactionOptions.ReadOnly.read_time:type_name -> google.protobuf.Timestamp
468 4, // [4:4] is the sub-list for method output_type
469 4, // [4:4] is the sub-list for method input_type
470 4, // [4:4] is the sub-list for extension type_name
471 4, // [4:4] is the sub-list for extension extendee
472 0, // [0:4] is the sub-list for field type_name
473 }
474
475 func init() { file_google_firestore_v1_common_proto_init() }
476 func file_google_firestore_v1_common_proto_init() {
477 if File_google_firestore_v1_common_proto != nil {
478 return
479 }
480 file_google_firestore_v1_common_proto_msgTypes[1].OneofWrappers = []any{
481 (*Precondition_Exists)(nil),
482 (*Precondition_UpdateTime)(nil),
483 }
484 file_google_firestore_v1_common_proto_msgTypes[2].OneofWrappers = []any{
485 (*TransactionOptions_ReadOnly_)(nil),
486 (*TransactionOptions_ReadWrite_)(nil),
487 }
488 file_google_firestore_v1_common_proto_msgTypes[4].OneofWrappers = []any{
489 (*TransactionOptions_ReadOnly_ReadTime)(nil),
490 }
491 type x struct{}
492 out := protoimpl.TypeBuilder{
493 File: protoimpl.DescBuilder{
494 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
495 RawDescriptor: file_google_firestore_v1_common_proto_rawDesc,
496 NumEnums: 0,
497 NumMessages: 5,
498 NumExtensions: 0,
499 NumServices: 0,
500 },
501 GoTypes: file_google_firestore_v1_common_proto_goTypes,
502 DependencyIndexes: file_google_firestore_v1_common_proto_depIdxs,
503 MessageInfos: file_google_firestore_v1_common_proto_msgTypes,
504 }.Build()
505 File_google_firestore_v1_common_proto = out.File
506 file_google_firestore_v1_common_proto_rawDesc = nil
507 file_google_firestore_v1_common_proto_goTypes = nil
508 file_google_firestore_v1_common_proto_depIdxs = nil
509 }