Debian Codegraph @

firestore/apiv1/admin/adminpb/schedule.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/admin/v1/schedule.proto
20
21 package adminpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 dayofweek "google.golang.org/genproto/googleapis/type/dayofweek"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 durationpb "google.golang.org/protobuf/types/known/durationpb"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 reflect "reflect"
31 sync "sync"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // A backup schedule for a Cloud Firestore Database.
42 //
43 // This resource is owned by the database it is backing up, and is deleted along
44 // with the database. The actual backups are not though.
45 type BackupSchedule struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Output only. The unique backup schedule identifier across all locations and
51 // databases for the given project.
52 //
53 // This will be auto-assigned.
54 //
55 // Format is
56 // `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
57 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
58 // Output only. The timestamp at which this backup schedule was created and
59 // effective since.
60 //
61 // No backups will be created for this schedule before this time.
62 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
63 // Output only. The timestamp at which this backup schedule was most recently
64 // updated. When a backup schedule is first created, this is the same as
65 // create_time.
66 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
67 // At what relative time in the future, compared to its creation time,
68 // the backup should be deleted, e.g. keep backups for 7 days.
69 //
70 // The maximum supported retention period is 14 weeks.
71 Retention *durationpb.Duration `protobuf:"bytes,6,opt,name=retention,proto3" json:"retention,omitempty"`
72 // A oneof field to represent when backups will be taken.
73 //
74 // Types that are assignable to Recurrence:
75 //
76 // *BackupSchedule_DailyRecurrence
77 // *BackupSchedule_WeeklyRecurrence
78 Recurrence isBackupSchedule_Recurrence `protobuf_oneof:"recurrence"`
79 }
80
81 func (x *BackupSchedule) Reset() {
82 *x = BackupSchedule{}
83 mi := &file_google_firestore_admin_v1_schedule_proto_msgTypes[0]
84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
85 ms.StoreMessageInfo(mi)
86 }
87
88 func (x *BackupSchedule) String() string {
89 return protoimpl.X.MessageStringOf(x)
90 }
91
92 func (*BackupSchedule) ProtoMessage() {}
93
94 func (x *BackupSchedule) ProtoReflect() protoreflect.Message {
95 mi := &file_google_firestore_admin_v1_schedule_proto_msgTypes[0]
96 if x != nil {
97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
98 if ms.LoadMessageInfo() == nil {
99 ms.StoreMessageInfo(mi)
100 }
101 return ms
102 }
103 return mi.MessageOf(x)
104 }
105
106 // Deprecated: Use BackupSchedule.ProtoReflect.Descriptor instead.
107 func (*BackupSchedule) Descriptor() ([]byte, []int) {
108 return file_google_firestore_admin_v1_schedule_proto_rawDescGZIP(), []int{0}
109 }
110
111 func (x *BackupSchedule) GetName() string {
112 if x != nil {
113 return x.Name
114 }
115 return ""
116 }
117
118 func (x *BackupSchedule) GetCreateTime() *timestamppb.Timestamp {
119 if x != nil {
120 return x.CreateTime
121 }
122 return nil
123 }
124
125 func (x *BackupSchedule) GetUpdateTime() *timestamppb.Timestamp {
126 if x != nil {
127 return x.UpdateTime
128 }
129 return nil
130 }
131
132 func (x *BackupSchedule) GetRetention() *durationpb.Duration {
133 if x != nil {
134 return x.Retention
135 }
136 return nil
137 }
138
139 func (m *BackupSchedule) GetRecurrence() isBackupSchedule_Recurrence {
140 if m != nil {
141 return m.Recurrence
142 }
143 return nil
144 }
145
146 func (x *BackupSchedule) GetDailyRecurrence() *DailyRecurrence {
147 if x, ok := x.GetRecurrence().(*BackupSchedule_DailyRecurrence); ok {
148 return x.DailyRecurrence
149 }
150 return nil
151 }
152
153 func (x *BackupSchedule) GetWeeklyRecurrence() *WeeklyRecurrence {
154 if x, ok := x.GetRecurrence().(*BackupSchedule_WeeklyRecurrence); ok {
155 return x.WeeklyRecurrence
156 }
157 return nil
158 }
159
160 type isBackupSchedule_Recurrence interface {
161 isBackupSchedule_Recurrence()
162 }
163
164 type BackupSchedule_DailyRecurrence struct {
165 // For a schedule that runs daily.
166 DailyRecurrence *DailyRecurrence `protobuf:"bytes,7,opt,name=daily_recurrence,json=dailyRecurrence,proto3,oneof"`
167 }
168
169 type BackupSchedule_WeeklyRecurrence struct {
170 // For a schedule that runs weekly on a specific day.
171 WeeklyRecurrence *WeeklyRecurrence `protobuf:"bytes,8,opt,name=weekly_recurrence,json=weeklyRecurrence,proto3,oneof"`
172 }
173
174 func (*BackupSchedule_DailyRecurrence) isBackupSchedule_Recurrence() {}
175
176 func (*BackupSchedule_WeeklyRecurrence) isBackupSchedule_Recurrence() {}
177
178 // Represents a recurring schedule that runs every day.
179 //
180 // The time zone is UTC.
181 type DailyRecurrence struct {
182 state protoimpl.MessageState
183 sizeCache protoimpl.SizeCache
184 unknownFields protoimpl.UnknownFields
185 }
186
187 func (x *DailyRecurrence) Reset() {
188 *x = DailyRecurrence{}
189 mi := &file_google_firestore_admin_v1_schedule_proto_msgTypes[1]
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 ms.StoreMessageInfo(mi)
192 }
193
194 func (x *DailyRecurrence) String() string {
195 return protoimpl.X.MessageStringOf(x)
196 }
197
198 func (*DailyRecurrence) ProtoMessage() {}
199
200 func (x *DailyRecurrence) ProtoReflect() protoreflect.Message {
201 mi := &file_google_firestore_admin_v1_schedule_proto_msgTypes[1]
202 if x != nil {
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 if ms.LoadMessageInfo() == nil {
205 ms.StoreMessageInfo(mi)
206 }
207 return ms
208 }
209 return mi.MessageOf(x)
210 }
211
212 // Deprecated: Use DailyRecurrence.ProtoReflect.Descriptor instead.
213 func (*DailyRecurrence) Descriptor() ([]byte, []int) {
214 return file_google_firestore_admin_v1_schedule_proto_rawDescGZIP(), []int{1}
215 }
216
217 // Represents a recurring schedule that runs on a specified day of the week.
218 //
219 // The time zone is UTC.
220 type WeeklyRecurrence struct {
221 state protoimpl.MessageState
222 sizeCache protoimpl.SizeCache
223 unknownFields protoimpl.UnknownFields
224
225 // The day of week to run.
226 //
227 // DAY_OF_WEEK_UNSPECIFIED is not allowed.
228 Day dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day,proto3,enum=google.type.DayOfWeek" json:"day,omitempty"`
229 }
230
231 func (x *WeeklyRecurrence) Reset() {
232 *x = WeeklyRecurrence{}
233 mi := &file_google_firestore_admin_v1_schedule_proto_msgTypes[2]
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 ms.StoreMessageInfo(mi)
236 }
237
238 func (x *WeeklyRecurrence) String() string {
239 return protoimpl.X.MessageStringOf(x)
240 }
241
242 func (*WeeklyRecurrence) ProtoMessage() {}
243
244 func (x *WeeklyRecurrence) ProtoReflect() protoreflect.Message {
245 mi := &file_google_firestore_admin_v1_schedule_proto_msgTypes[2]
246 if x != nil {
247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
248 if ms.LoadMessageInfo() == nil {
249 ms.StoreMessageInfo(mi)
250 }
251 return ms
252 }
253 return mi.MessageOf(x)
254 }
255
256 // Deprecated: Use WeeklyRecurrence.ProtoReflect.Descriptor instead.
257 func (*WeeklyRecurrence) Descriptor() ([]byte, []int) {
258 return file_google_firestore_admin_v1_schedule_proto_rawDescGZIP(), []int{2}
259 }
260
261 func (x *WeeklyRecurrence) GetDay() dayofweek.DayOfWeek {
262 if x != nil {
263 return x.Day
264 }
265 return dayofweek.DayOfWeek(0)
266 }
267
268 var File_google_firestore_admin_v1_schedule_proto protoreflect.FileDescriptor
269
270 var file_google_firestore_admin_v1_schedule_proto_rawDesc = []byte{
271 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
272 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65,
273 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67,
274 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d,
275 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
276 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
277 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
278 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
279 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
280 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
281 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
282 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
283 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f,
284 0x64, 0x61, 0x79, 0x6f, 0x66, 0x77, 0x65, 0x65, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
285 0xa2, 0x04, 0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,
286 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
287 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63,
288 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
289 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
290 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
291 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a,
292 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01,
293 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
294 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
295 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
296 0x37, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
297 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
298 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72,
299 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x10, 0x64, 0x61, 0x69, 0x6c,
300 0x79, 0x5f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01,
301 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
302 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44,
303 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00,
304 0x52, 0x0f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63,
305 0x65, 0x12, 0x5a, 0x0a, 0x11, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x63, 0x75,
306 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67,
307 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
308 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x52,
309 0x65, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x65, 0x65,
310 0x6b, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x3a, 0x77, 0xea,
311 0x41, 0x74, 0x0a, 0x27, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f,
312 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63,
313 0x6b, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x49, 0x70, 0x72, 0x6f,
314 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f,
315 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62,
316 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x63, 0x68, 0x65, 0x64,
317 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x73, 0x63, 0x68,
318 0x65, 0x64, 0x75, 0x6c, 0x65, 0x7d, 0x42, 0x0c, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x75, 0x72, 0x72,
319 0x65, 0x6e, 0x63, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63,
320 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x3c, 0x0a, 0x10, 0x57, 0x65, 0x65, 0x6b, 0x6c,
321 0x79, 0x52, 0x65, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x0a, 0x03, 0x64,
322 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
323 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b,
324 0x52, 0x03, 0x64, 0x61, 0x79, 0x42, 0xdc, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
325 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61,
326 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
327 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
328 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x69,
329 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x64,
330 0x6d, 0x69, 0x6e, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x70, 0x62, 0x3b, 0x61, 0x64, 0x6d, 0x69,
331 0x6e, 0x70, 0x62, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f,
332 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74,
333 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47,
334 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72, 0x65,
335 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0xea, 0x02,
336 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
337 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e,
338 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
339 }
340
341 var (
342 file_google_firestore_admin_v1_schedule_proto_rawDescOnce sync.Once
343 file_google_firestore_admin_v1_schedule_proto_rawDescData = file_google_firestore_admin_v1_schedule_proto_rawDesc
344 )
345
346 func file_google_firestore_admin_v1_schedule_proto_rawDescGZIP() []byte {
347 file_google_firestore_admin_v1_schedule_proto_rawDescOnce.Do(func() {
348 file_google_firestore_admin_v1_schedule_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_admin_v1_schedule_proto_rawDescData)
349 })
350 return file_google_firestore_admin_v1_schedule_proto_rawDescData
351 }
352
353 var file_google_firestore_admin_v1_schedule_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
354 var file_google_firestore_admin_v1_schedule_proto_goTypes = []any{
355 (*BackupSchedule)(nil), // 0: google.firestore.admin.v1.BackupSchedule
356 (*DailyRecurrence)(nil), // 1: google.firestore.admin.v1.DailyRecurrence
357 (*WeeklyRecurrence)(nil), // 2: google.firestore.admin.v1.WeeklyRecurrence
358 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
359 (*durationpb.Duration)(nil), // 4: google.protobuf.Duration
360 (dayofweek.DayOfWeek)(0), // 5: google.type.DayOfWeek
361 }
362 var file_google_firestore_admin_v1_schedule_proto_depIdxs = []int32{
363 3, // 0: google.firestore.admin.v1.BackupSchedule.create_time:type_name -> google.protobuf.Timestamp
364 3, // 1: google.firestore.admin.v1.BackupSchedule.update_time:type_name -> google.protobuf.Timestamp
365 4, // 2: google.firestore.admin.v1.BackupSchedule.retention:type_name -> google.protobuf.Duration
366 1, // 3: google.firestore.admin.v1.BackupSchedule.daily_recurrence:type_name -> google.firestore.admin.v1.DailyRecurrence
367 2, // 4: google.firestore.admin.v1.BackupSchedule.weekly_recurrence:type_name -> google.firestore.admin.v1.WeeklyRecurrence
368 5, // 5: google.firestore.admin.v1.WeeklyRecurrence.day:type_name -> google.type.DayOfWeek
369 6, // [6:6] is the sub-list for method output_type
370 6, // [6:6] is the sub-list for method input_type
371 6, // [6:6] is the sub-list for extension type_name
372 6, // [6:6] is the sub-list for extension extendee
373 0, // [0:6] is the sub-list for field type_name
374 }
375
376 func init() { file_google_firestore_admin_v1_schedule_proto_init() }
377 func file_google_firestore_admin_v1_schedule_proto_init() {
378 if File_google_firestore_admin_v1_schedule_proto != nil {
379 return
380 }
381 file_google_firestore_admin_v1_schedule_proto_msgTypes[0].OneofWrappers = []any{
382 (*BackupSchedule_DailyRecurrence)(nil),
383 (*BackupSchedule_WeeklyRecurrence)(nil),
384 }
385 type x struct{}
386 out := protoimpl.TypeBuilder{
387 File: protoimpl.DescBuilder{
388 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
389 RawDescriptor: file_google_firestore_admin_v1_schedule_proto_rawDesc,
390 NumEnums: 0,
391 NumMessages: 3,
392 NumExtensions: 0,
393 NumServices: 0,
394 },
395 GoTypes: file_google_firestore_admin_v1_schedule_proto_goTypes,
396 DependencyIndexes: file_google_firestore_admin_v1_schedule_proto_depIdxs,
397 MessageInfos: file_google_firestore_admin_v1_schedule_proto_msgTypes,
398 }.Build()
399 File_google_firestore_admin_v1_schedule_proto = out.File
400 file_google_firestore_admin_v1_schedule_proto_rawDesc = nil
401 file_google_firestore_admin_v1_schedule_proto_goTypes = nil
402 file_google_firestore_admin_v1_schedule_proto_depIdxs = nil
403 }