1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package activity
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type QueryDriveActivityRequest struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45
46
47
48
49
50
51 Key isQueryDriveActivityRequest_Key `protobuf_oneof:"key"`
52
53
54 ConsolidationStrategy *ConsolidationStrategy `protobuf:"bytes,5,opt,name=consolidation_strategy,json=consolidationStrategy,proto3" json:"consolidation_strategy,omitempty"`
55
56
57
58
59 PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
60
61
62
63
64 PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91 Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"`
92 }
93
94 func (x *QueryDriveActivityRequest) Reset() {
95 *x = QueryDriveActivityRequest{}
96 if protoimpl.UnsafeEnabled {
97 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0]
98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
99 ms.StoreMessageInfo(mi)
100 }
101 }
102
103 func (x *QueryDriveActivityRequest) String() string {
104 return protoimpl.X.MessageStringOf(x)
105 }
106
107 func (*QueryDriveActivityRequest) ProtoMessage() {}
108
109 func (x *QueryDriveActivityRequest) ProtoReflect() protoreflect.Message {
110 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0]
111 if protoimpl.UnsafeEnabled && x != nil {
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 if ms.LoadMessageInfo() == nil {
114 ms.StoreMessageInfo(mi)
115 }
116 return ms
117 }
118 return mi.MessageOf(x)
119 }
120
121
122 func (*QueryDriveActivityRequest) Descriptor() ([]byte, []int) {
123 return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{0}
124 }
125
126 func (m *QueryDriveActivityRequest) GetKey() isQueryDriveActivityRequest_Key {
127 if m != nil {
128 return m.Key
129 }
130 return nil
131 }
132
133 func (x *QueryDriveActivityRequest) GetItemName() string {
134 if x, ok := x.GetKey().(*QueryDriveActivityRequest_ItemName); ok {
135 return x.ItemName
136 }
137 return ""
138 }
139
140 func (x *QueryDriveActivityRequest) GetAncestorName() string {
141 if x, ok := x.GetKey().(*QueryDriveActivityRequest_AncestorName); ok {
142 return x.AncestorName
143 }
144 return ""
145 }
146
147 func (x *QueryDriveActivityRequest) GetConsolidationStrategy() *ConsolidationStrategy {
148 if x != nil {
149 return x.ConsolidationStrategy
150 }
151 return nil
152 }
153
154 func (x *QueryDriveActivityRequest) GetPageSize() int32 {
155 if x != nil {
156 return x.PageSize
157 }
158 return 0
159 }
160
161 func (x *QueryDriveActivityRequest) GetPageToken() string {
162 if x != nil {
163 return x.PageToken
164 }
165 return ""
166 }
167
168 func (x *QueryDriveActivityRequest) GetFilter() string {
169 if x != nil {
170 return x.Filter
171 }
172 return ""
173 }
174
175 type isQueryDriveActivityRequest_Key interface {
176 isQueryDriveActivityRequest_Key()
177 }
178
179 type QueryDriveActivityRequest_ItemName struct {
180
181
182 ItemName string `protobuf:"bytes,1,opt,name=item_name,json=itemName,proto3,oneof"`
183 }
184
185 type QueryDriveActivityRequest_AncestorName struct {
186
187
188 AncestorName string `protobuf:"bytes,2,opt,name=ancestor_name,json=ancestorName,proto3,oneof"`
189 }
190
191 func (*QueryDriveActivityRequest_ItemName) isQueryDriveActivityRequest_Key() {}
192
193 func (*QueryDriveActivityRequest_AncestorName) isQueryDriveActivityRequest_Key() {}
194
195
196
197
198
199
200 type ConsolidationStrategy struct {
201 state protoimpl.MessageState
202 sizeCache protoimpl.SizeCache
203 unknownFields protoimpl.UnknownFields
204
205
206
207
208
209
210
211 Strategy isConsolidationStrategy_Strategy `protobuf_oneof:"strategy"`
212 }
213
214 func (x *ConsolidationStrategy) Reset() {
215 *x = ConsolidationStrategy{}
216 if protoimpl.UnsafeEnabled {
217 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1]
218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
219 ms.StoreMessageInfo(mi)
220 }
221 }
222
223 func (x *ConsolidationStrategy) String() string {
224 return protoimpl.X.MessageStringOf(x)
225 }
226
227 func (*ConsolidationStrategy) ProtoMessage() {}
228
229 func (x *ConsolidationStrategy) ProtoReflect() protoreflect.Message {
230 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1]
231 if protoimpl.UnsafeEnabled && x != nil {
232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
233 if ms.LoadMessageInfo() == nil {
234 ms.StoreMessageInfo(mi)
235 }
236 return ms
237 }
238 return mi.MessageOf(x)
239 }
240
241
242 func (*ConsolidationStrategy) Descriptor() ([]byte, []int) {
243 return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{1}
244 }
245
246 func (m *ConsolidationStrategy) GetStrategy() isConsolidationStrategy_Strategy {
247 if m != nil {
248 return m.Strategy
249 }
250 return nil
251 }
252
253 func (x *ConsolidationStrategy) GetNone() *ConsolidationStrategy_NoConsolidation {
254 if x, ok := x.GetStrategy().(*ConsolidationStrategy_None); ok {
255 return x.None
256 }
257 return nil
258 }
259
260 func (x *ConsolidationStrategy) GetLegacy() *ConsolidationStrategy_Legacy {
261 if x, ok := x.GetStrategy().(*ConsolidationStrategy_Legacy_); ok {
262 return x.Legacy
263 }
264 return nil
265 }
266
267 type isConsolidationStrategy_Strategy interface {
268 isConsolidationStrategy_Strategy()
269 }
270
271 type ConsolidationStrategy_None struct {
272
273 None *ConsolidationStrategy_NoConsolidation `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
274 }
275
276 type ConsolidationStrategy_Legacy_ struct {
277
278 Legacy *ConsolidationStrategy_Legacy `protobuf:"bytes,2,opt,name=legacy,proto3,oneof"`
279 }
280
281 func (*ConsolidationStrategy_None) isConsolidationStrategy_Strategy() {}
282
283 func (*ConsolidationStrategy_Legacy_) isConsolidationStrategy_Strategy() {}
284
285
286 type ConsolidationStrategy_NoConsolidation struct {
287 state protoimpl.MessageState
288 sizeCache protoimpl.SizeCache
289 unknownFields protoimpl.UnknownFields
290 }
291
292 func (x *ConsolidationStrategy_NoConsolidation) Reset() {
293 *x = ConsolidationStrategy_NoConsolidation{}
294 if protoimpl.UnsafeEnabled {
295 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[2]
296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
297 ms.StoreMessageInfo(mi)
298 }
299 }
300
301 func (x *ConsolidationStrategy_NoConsolidation) String() string {
302 return protoimpl.X.MessageStringOf(x)
303 }
304
305 func (*ConsolidationStrategy_NoConsolidation) ProtoMessage() {}
306
307 func (x *ConsolidationStrategy_NoConsolidation) ProtoReflect() protoreflect.Message {
308 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[2]
309 if protoimpl.UnsafeEnabled && x != nil {
310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311 if ms.LoadMessageInfo() == nil {
312 ms.StoreMessageInfo(mi)
313 }
314 return ms
315 }
316 return mi.MessageOf(x)
317 }
318
319
320 func (*ConsolidationStrategy_NoConsolidation) Descriptor() ([]byte, []int) {
321 return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{1, 0}
322 }
323
324
325
326
327
328
329 type ConsolidationStrategy_Legacy struct {
330 state protoimpl.MessageState
331 sizeCache protoimpl.SizeCache
332 unknownFields protoimpl.UnknownFields
333 }
334
335 func (x *ConsolidationStrategy_Legacy) Reset() {
336 *x = ConsolidationStrategy_Legacy{}
337 if protoimpl.UnsafeEnabled {
338 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[3]
339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
340 ms.StoreMessageInfo(mi)
341 }
342 }
343
344 func (x *ConsolidationStrategy_Legacy) String() string {
345 return protoimpl.X.MessageStringOf(x)
346 }
347
348 func (*ConsolidationStrategy_Legacy) ProtoMessage() {}
349
350 func (x *ConsolidationStrategy_Legacy) ProtoReflect() protoreflect.Message {
351 mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[3]
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
363 func (*ConsolidationStrategy_Legacy) Descriptor() ([]byte, []int) {
364 return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{1, 1}
365 }
366
367 var File_google_apps_drive_activity_v2_query_drive_activity_request_proto protoreflect.FileDescriptor
368
369 var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc = []byte{
370 0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
371 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f,
372 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69,
373 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f,
374 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
375 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76,
376 0x32, 0x22, 0xa9, 0x02, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x72, 0x69, 0x76, 0x65,
377 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
378 0x1d, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
379 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25,
380 0x0a, 0x0d, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
381 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f,
382 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x6b, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69,
383 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18,
384 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
385 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
386 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74,
387 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x15, 0x63, 0x6f, 0x6e,
388 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
389 0x67, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
390 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
391 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20,
392 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16,
393 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
394 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x05, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x22, 0xf3, 0x01,
395 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
396 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x5a, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x18,
397 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
398 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
399 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74,
400 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x4e, 0x6f, 0x43, 0x6f,
401 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6e,
402 0x6f, 0x6e, 0x65, 0x12, 0x55, 0x0a, 0x06, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x02, 0x20,
403 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70,
404 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
405 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f,
406 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79,
407 0x48, 0x00, 0x52, 0x06, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x1a, 0x11, 0x0a, 0x0f, 0x4e, 0x6f,
408 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x08, 0x0a,
409 0x06, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74,
410 0x65, 0x67, 0x79, 0x42, 0xd3, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
411 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63,
412 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79,
413 0x44, 0x72, 0x69, 0x76, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
414 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f,
415 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
416 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
417 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63,
418 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
419 0x74, 0x79, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x44, 0x41, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67,
420 0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x63,
421 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67,
422 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 0x44, 0x72, 0x69, 0x76, 0x65, 0x5c, 0x41, 0x63,
423 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
424 0x33,
425 }
426
427 var (
428 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescOnce sync.Once
429 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData = file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc
430 )
431
432 func file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP() []byte {
433 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescOnce.Do(func() {
434 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData)
435 })
436 return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData
437 }
438
439 var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
440 var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_goTypes = []interface{}{
441 (*QueryDriveActivityRequest)(nil),
442 (*ConsolidationStrategy)(nil),
443 (*ConsolidationStrategy_NoConsolidation)(nil),
444 (*ConsolidationStrategy_Legacy)(nil),
445 }
446 var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_depIdxs = []int32{
447 1,
448 2,
449 3,
450 3,
451 3,
452 3,
453 3,
454 0,
455 }
456
457 func init() { file_google_apps_drive_activity_v2_query_drive_activity_request_proto_init() }
458 func file_google_apps_drive_activity_v2_query_drive_activity_request_proto_init() {
459 if File_google_apps_drive_activity_v2_query_drive_activity_request_proto != nil {
460 return
461 }
462 if !protoimpl.UnsafeEnabled {
463 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
464 switch v := v.(*QueryDriveActivityRequest); i {
465 case 0:
466 return &v.state
467 case 1:
468 return &v.sizeCache
469 case 2:
470 return &v.unknownFields
471 default:
472 return nil
473 }
474 }
475 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
476 switch v := v.(*ConsolidationStrategy); i {
477 case 0:
478 return &v.state
479 case 1:
480 return &v.sizeCache
481 case 2:
482 return &v.unknownFields
483 default:
484 return nil
485 }
486 }
487 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
488 switch v := v.(*ConsolidationStrategy_NoConsolidation); i {
489 case 0:
490 return &v.state
491 case 1:
492 return &v.sizeCache
493 case 2:
494 return &v.unknownFields
495 default:
496 return nil
497 }
498 }
499 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
500 switch v := v.(*ConsolidationStrategy_Legacy); i {
501 case 0:
502 return &v.state
503 case 1:
504 return &v.sizeCache
505 case 2:
506 return &v.unknownFields
507 default:
508 return nil
509 }
510 }
511 }
512 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0].OneofWrappers = []interface{}{
513 (*QueryDriveActivityRequest_ItemName)(nil),
514 (*QueryDriveActivityRequest_AncestorName)(nil),
515 }
516 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1].OneofWrappers = []interface{}{
517 (*ConsolidationStrategy_None)(nil),
518 (*ConsolidationStrategy_Legacy_)(nil),
519 }
520 type x struct{}
521 out := protoimpl.TypeBuilder{
522 File: protoimpl.DescBuilder{
523 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
524 RawDescriptor: file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc,
525 NumEnums: 0,
526 NumMessages: 4,
527 NumExtensions: 0,
528 NumServices: 0,
529 },
530 GoTypes: file_google_apps_drive_activity_v2_query_drive_activity_request_proto_goTypes,
531 DependencyIndexes: file_google_apps_drive_activity_v2_query_drive_activity_request_proto_depIdxs,
532 MessageInfos: file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes,
533 }.Build()
534 File_google_apps_drive_activity_v2_query_drive_activity_request_proto = out.File
535 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc = nil
536 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_goTypes = nil
537 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_depIdxs = nil
538 }
539
View as plain text