1// Copyright 2021 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.26.0 18// protoc v3.12.2 19// source: google/apps/drive/activity/v2/target.proto 20 21package activity 22 23import ( 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 31const ( 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// This item is deprecated; please see `DriveFolder.Type` instead. 39// 40// Deprecated: Do not use. 41type DriveItem_Folder_Type int32 42 43const ( 44 // This item is deprecated; please see `DriveFolder.Type` instead. 45 DriveItem_Folder_TYPE_UNSPECIFIED DriveItem_Folder_Type = 0 46 // This item is deprecated; please see `DriveFolder.Type` instead. 47 DriveItem_Folder_MY_DRIVE_ROOT DriveItem_Folder_Type = 1 48 // This item is deprecated; please see `DriveFolder.Type` instead. 49 DriveItem_Folder_TEAM_DRIVE_ROOT DriveItem_Folder_Type = 2 50 // This item is deprecated; please see `DriveFolder.Type` instead. 51 DriveItem_Folder_STANDARD_FOLDER DriveItem_Folder_Type = 3 52) 53 54// Enum value maps for DriveItem_Folder_Type. 55var ( 56 DriveItem_Folder_Type_name = map[int32]string{ 57 0: "TYPE_UNSPECIFIED", 58 1: "MY_DRIVE_ROOT", 59 2: "TEAM_DRIVE_ROOT", 60 3: "STANDARD_FOLDER", 61 } 62 DriveItem_Folder_Type_value = map[string]int32{ 63 "TYPE_UNSPECIFIED": 0, 64 "MY_DRIVE_ROOT": 1, 65 "TEAM_DRIVE_ROOT": 2, 66 "STANDARD_FOLDER": 3, 67 } 68) 69 70func (x DriveItem_Folder_Type) Enum() *DriveItem_Folder_Type { 71 p := new(DriveItem_Folder_Type) 72 *p = x 73 return p 74} 75 76func (x DriveItem_Folder_Type) String() string { 77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 78} 79 80func (DriveItem_Folder_Type) Descriptor() protoreflect.EnumDescriptor { 81 return file_google_apps_drive_activity_v2_target_proto_enumTypes[0].Descriptor() 82} 83 84func (DriveItem_Folder_Type) Type() protoreflect.EnumType { 85 return &file_google_apps_drive_activity_v2_target_proto_enumTypes[0] 86} 87 88func (x DriveItem_Folder_Type) Number() protoreflect.EnumNumber { 89 return protoreflect.EnumNumber(x) 90} 91 92// Deprecated: Use DriveItem_Folder_Type.Descriptor instead. 93func (DriveItem_Folder_Type) EnumDescriptor() ([]byte, []int) { 94 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{3, 1, 0} 95} 96 97// The type of a Drive folder. 98type DriveItem_DriveFolder_Type int32 99 100const ( 101 // The folder type is unknown. 102 DriveItem_DriveFolder_TYPE_UNSPECIFIED DriveItem_DriveFolder_Type = 0 103 // The folder is the root of a user's MyDrive. 104 DriveItem_DriveFolder_MY_DRIVE_ROOT DriveItem_DriveFolder_Type = 1 105 // The folder is the root of a shared drive. 106 DriveItem_DriveFolder_SHARED_DRIVE_ROOT DriveItem_DriveFolder_Type = 2 107 // The folder is a standard, non-root, folder. 108 DriveItem_DriveFolder_STANDARD_FOLDER DriveItem_DriveFolder_Type = 3 109) 110 111// Enum value maps for DriveItem_DriveFolder_Type. 112var ( 113 DriveItem_DriveFolder_Type_name = map[int32]string{ 114 0: "TYPE_UNSPECIFIED", 115 1: "MY_DRIVE_ROOT", 116 2: "SHARED_DRIVE_ROOT", 117 3: "STANDARD_FOLDER", 118 } 119 DriveItem_DriveFolder_Type_value = map[string]int32{ 120 "TYPE_UNSPECIFIED": 0, 121 "MY_DRIVE_ROOT": 1, 122 "SHARED_DRIVE_ROOT": 2, 123 "STANDARD_FOLDER": 3, 124 } 125) 126 127func (x DriveItem_DriveFolder_Type) Enum() *DriveItem_DriveFolder_Type { 128 p := new(DriveItem_DriveFolder_Type) 129 *p = x 130 return p 131} 132 133func (x DriveItem_DriveFolder_Type) String() string { 134 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 135} 136 137func (DriveItem_DriveFolder_Type) Descriptor() protoreflect.EnumDescriptor { 138 return file_google_apps_drive_activity_v2_target_proto_enumTypes[1].Descriptor() 139} 140 141func (DriveItem_DriveFolder_Type) Type() protoreflect.EnumType { 142 return &file_google_apps_drive_activity_v2_target_proto_enumTypes[1] 143} 144 145func (x DriveItem_DriveFolder_Type) Number() protoreflect.EnumNumber { 146 return protoreflect.EnumNumber(x) 147} 148 149// Deprecated: Use DriveItem_DriveFolder_Type.Descriptor instead. 150func (DriveItem_DriveFolder_Type) EnumDescriptor() ([]byte, []int) { 151 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{3, 3, 0} 152} 153 154// Information about the target of activity. 155type Target struct { 156 state protoimpl.MessageState 157 sizeCache protoimpl.SizeCache 158 unknownFields protoimpl.UnknownFields 159 160 // The type of target object. 161 // 162 // Types that are assignable to Object: 163 // *Target_DriveItem 164 // *Target_Drive 165 // *Target_FileComment 166 Object isTarget_Object `protobuf_oneof:"object"` 167 // This field is deprecated; please use the `drive` field instead. 168 // 169 // Deprecated: Do not use. 170 TeamDrive *TeamDrive `protobuf:"bytes,2,opt,name=team_drive,json=teamDrive,proto3" json:"team_drive,omitempty"` 171} 172 173func (x *Target) Reset() { 174 *x = Target{} 175 if protoimpl.UnsafeEnabled { 176 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[0] 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 ms.StoreMessageInfo(mi) 179 } 180} 181 182func (x *Target) String() string { 183 return protoimpl.X.MessageStringOf(x) 184} 185 186func (*Target) ProtoMessage() {} 187 188func (x *Target) ProtoReflect() protoreflect.Message { 189 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[0] 190 if protoimpl.UnsafeEnabled && x != nil { 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 if ms.LoadMessageInfo() == nil { 193 ms.StoreMessageInfo(mi) 194 } 195 return ms 196 } 197 return mi.MessageOf(x) 198} 199 200// Deprecated: Use Target.ProtoReflect.Descriptor instead. 201func (*Target) Descriptor() ([]byte, []int) { 202 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{0} 203} 204 205func (m *Target) GetObject() isTarget_Object { 206 if m != nil { 207 return m.Object 208 } 209 return nil 210} 211 212func (x *Target) GetDriveItem() *DriveItem { 213 if x, ok := x.GetObject().(*Target_DriveItem); ok { 214 return x.DriveItem 215 } 216 return nil 217} 218 219func (x *Target) GetDrive() *Drive { 220 if x, ok := x.GetObject().(*Target_Drive); ok { 221 return x.Drive 222 } 223 return nil 224} 225 226func (x *Target) GetFileComment() *FileComment { 227 if x, ok := x.GetObject().(*Target_FileComment); ok { 228 return x.FileComment 229 } 230 return nil 231} 232 233// Deprecated: Do not use. 234func (x *Target) GetTeamDrive() *TeamDrive { 235 if x != nil { 236 return x.TeamDrive 237 } 238 return nil 239} 240 241type isTarget_Object interface { 242 isTarget_Object() 243} 244 245type Target_DriveItem struct { 246 // The target is a Drive item. 247 DriveItem *DriveItem `protobuf:"bytes,1,opt,name=drive_item,json=driveItem,proto3,oneof"` 248} 249 250type Target_Drive struct { 251 // The target is a shared drive. 252 Drive *Drive `protobuf:"bytes,5,opt,name=drive,proto3,oneof"` 253} 254 255type Target_FileComment struct { 256 // The target is a comment on a Drive file. 257 FileComment *FileComment `protobuf:"bytes,3,opt,name=file_comment,json=fileComment,proto3,oneof"` 258} 259 260func (*Target_DriveItem) isTarget_Object() {} 261 262func (*Target_Drive) isTarget_Object() {} 263 264func (*Target_FileComment) isTarget_Object() {} 265 266// A lightweight reference to the target of activity. 267type TargetReference struct { 268 state protoimpl.MessageState 269 sizeCache protoimpl.SizeCache 270 unknownFields protoimpl.UnknownFields 271 272 // The type of target object. 273 // 274 // Types that are assignable to Object: 275 // *TargetReference_DriveItem 276 // *TargetReference_Drive 277 Object isTargetReference_Object `protobuf_oneof:"object"` 278 // This field is deprecated; please use the `drive` field instead. 279 // 280 // Deprecated: Do not use. 281 TeamDrive *TeamDriveReference `protobuf:"bytes,2,opt,name=team_drive,json=teamDrive,proto3" json:"team_drive,omitempty"` 282} 283 284func (x *TargetReference) Reset() { 285 *x = TargetReference{} 286 if protoimpl.UnsafeEnabled { 287 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[1] 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 ms.StoreMessageInfo(mi) 290 } 291} 292 293func (x *TargetReference) String() string { 294 return protoimpl.X.MessageStringOf(x) 295} 296 297func (*TargetReference) ProtoMessage() {} 298 299func (x *TargetReference) ProtoReflect() protoreflect.Message { 300 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[1] 301 if protoimpl.UnsafeEnabled && x != nil { 302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 303 if ms.LoadMessageInfo() == nil { 304 ms.StoreMessageInfo(mi) 305 } 306 return ms 307 } 308 return mi.MessageOf(x) 309} 310 311// Deprecated: Use TargetReference.ProtoReflect.Descriptor instead. 312func (*TargetReference) Descriptor() ([]byte, []int) { 313 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{1} 314} 315 316func (m *TargetReference) GetObject() isTargetReference_Object { 317 if m != nil { 318 return m.Object 319 } 320 return nil 321} 322 323func (x *TargetReference) GetDriveItem() *DriveItemReference { 324 if x, ok := x.GetObject().(*TargetReference_DriveItem); ok { 325 return x.DriveItem 326 } 327 return nil 328} 329 330func (x *TargetReference) GetDrive() *DriveReference { 331 if x, ok := x.GetObject().(*TargetReference_Drive); ok { 332 return x.Drive 333 } 334 return nil 335} 336 337// Deprecated: Do not use. 338func (x *TargetReference) GetTeamDrive() *TeamDriveReference { 339 if x != nil { 340 return x.TeamDrive 341 } 342 return nil 343} 344 345type isTargetReference_Object interface { 346 isTargetReference_Object() 347} 348 349type TargetReference_DriveItem struct { 350 // The target is a Drive item. 351 DriveItem *DriveItemReference `protobuf:"bytes,1,opt,name=drive_item,json=driveItem,proto3,oneof"` 352} 353 354type TargetReference_Drive struct { 355 // The target is a shared drive. 356 Drive *DriveReference `protobuf:"bytes,3,opt,name=drive,proto3,oneof"` 357} 358 359func (*TargetReference_DriveItem) isTargetReference_Object() {} 360 361func (*TargetReference_Drive) isTargetReference_Object() {} 362 363// A comment on a file. 364type FileComment struct { 365 state protoimpl.MessageState 366 sizeCache protoimpl.SizeCache 367 unknownFields protoimpl.UnknownFields 368 369 // The comment in the discussion thread. This identifier is an opaque string 370 // compatible with the Drive API; see 371 // https://developers.google.com/drive/v3/reference/comments/get 372 LegacyCommentId string `protobuf:"bytes,1,opt,name=legacy_comment_id,json=legacyCommentId,proto3" json:"legacy_comment_id,omitempty"` 373 // The discussion thread to which the comment was added. This identifier is an 374 // opaque string compatible with the Drive API and references the first 375 // comment in a discussion; see 376 // https://developers.google.com/drive/v3/reference/comments/get 377 LegacyDiscussionId string `protobuf:"bytes,2,opt,name=legacy_discussion_id,json=legacyDiscussionId,proto3" json:"legacy_discussion_id,omitempty"` 378 // The link to the discussion thread containing this comment, for example, 379 // `https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID`. 380 LinkToDiscussion string `protobuf:"bytes,3,opt,name=link_to_discussion,json=linkToDiscussion,proto3" json:"link_to_discussion,omitempty"` 381 // The Drive item containing this comment. 382 Parent *DriveItem `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` 383} 384 385func (x *FileComment) Reset() { 386 *x = FileComment{} 387 if protoimpl.UnsafeEnabled { 388 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[2] 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 390 ms.StoreMessageInfo(mi) 391 } 392} 393 394func (x *FileComment) String() string { 395 return protoimpl.X.MessageStringOf(x) 396} 397 398func (*FileComment) ProtoMessage() {} 399 400func (x *FileComment) ProtoReflect() protoreflect.Message { 401 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[2] 402 if protoimpl.UnsafeEnabled && x != nil { 403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 404 if ms.LoadMessageInfo() == nil { 405 ms.StoreMessageInfo(mi) 406 } 407 return ms 408 } 409 return mi.MessageOf(x) 410} 411 412// Deprecated: Use FileComment.ProtoReflect.Descriptor instead. 413func (*FileComment) Descriptor() ([]byte, []int) { 414 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{2} 415} 416 417func (x *FileComment) GetLegacyCommentId() string { 418 if x != nil { 419 return x.LegacyCommentId 420 } 421 return "" 422} 423 424func (x *FileComment) GetLegacyDiscussionId() string { 425 if x != nil { 426 return x.LegacyDiscussionId 427 } 428 return "" 429} 430 431func (x *FileComment) GetLinkToDiscussion() string { 432 if x != nil { 433 return x.LinkToDiscussion 434 } 435 return "" 436} 437 438func (x *FileComment) GetParent() *DriveItem { 439 if x != nil { 440 return x.Parent 441 } 442 return nil 443} 444 445// A Drive item, such as a file or folder. 446type DriveItem struct { 447 state protoimpl.MessageState 448 sizeCache protoimpl.SizeCache 449 unknownFields protoimpl.UnknownFields 450 451 // The target Drive item. The format is `items/ITEM_ID`. 452 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 453 // The title of the Drive item. 454 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 455 // This field is deprecated; please use the `driveFile` field instead. 456 // 457 // Deprecated: Do not use. 458 File *DriveItem_File `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` 459 // This field is deprecated; please use the `driveFolder` field instead. 460 // 461 // Deprecated: Do not use. 462 Folder *DriveItem_Folder `protobuf:"bytes,4,opt,name=folder,proto3" json:"folder,omitempty"` 463 // If present, this describes the type of the Drive item. 464 // 465 // Types that are assignable to ItemType: 466 // *DriveItem_DriveFile_ 467 // *DriveItem_DriveFolder_ 468 ItemType isDriveItem_ItemType `protobuf_oneof:"item_type"` 469 // The MIME type of the Drive item. See 470 // https://developers.google.com/drive/v3/web/mime-types. 471 MimeType string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 472 // Information about the owner of this Drive item. 473 Owner *Owner `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` 474} 475 476func (x *DriveItem) Reset() { 477 *x = DriveItem{} 478 if protoimpl.UnsafeEnabled { 479 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[3] 480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 481 ms.StoreMessageInfo(mi) 482 } 483} 484 485func (x *DriveItem) String() string { 486 return protoimpl.X.MessageStringOf(x) 487} 488 489func (*DriveItem) ProtoMessage() {} 490 491func (x *DriveItem) ProtoReflect() protoreflect.Message { 492 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[3] 493 if protoimpl.UnsafeEnabled && x != nil { 494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 495 if ms.LoadMessageInfo() == nil { 496 ms.StoreMessageInfo(mi) 497 } 498 return ms 499 } 500 return mi.MessageOf(x) 501} 502 503// Deprecated: Use DriveItem.ProtoReflect.Descriptor instead. 504func (*DriveItem) Descriptor() ([]byte, []int) { 505 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{3} 506} 507 508func (x *DriveItem) GetName() string { 509 if x != nil { 510 return x.Name 511 } 512 return "" 513} 514 515func (x *DriveItem) GetTitle() string { 516 if x != nil { 517 return x.Title 518 } 519 return "" 520} 521 522// Deprecated: Do not use. 523func (x *DriveItem) GetFile() *DriveItem_File { 524 if x != nil { 525 return x.File 526 } 527 return nil 528} 529 530// Deprecated: Do not use. 531func (x *DriveItem) GetFolder() *DriveItem_Folder { 532 if x != nil { 533 return x.Folder 534 } 535 return nil 536} 537 538func (m *DriveItem) GetItemType() isDriveItem_ItemType { 539 if m != nil { 540 return m.ItemType 541 } 542 return nil 543} 544 545func (x *DriveItem) GetDriveFile() *DriveItem_DriveFile { 546 if x, ok := x.GetItemType().(*DriveItem_DriveFile_); ok { 547 return x.DriveFile 548 } 549 return nil 550} 551 552func (x *DriveItem) GetDriveFolder() *DriveItem_DriveFolder { 553 if x, ok := x.GetItemType().(*DriveItem_DriveFolder_); ok { 554 return x.DriveFolder 555 } 556 return nil 557} 558 559func (x *DriveItem) GetMimeType() string { 560 if x != nil { 561 return x.MimeType 562 } 563 return "" 564} 565 566func (x *DriveItem) GetOwner() *Owner { 567 if x != nil { 568 return x.Owner 569 } 570 return nil 571} 572 573type isDriveItem_ItemType interface { 574 isDriveItem_ItemType() 575} 576 577type DriveItem_DriveFile_ struct { 578 // The Drive item is a file. 579 DriveFile *DriveItem_DriveFile `protobuf:"bytes,8,opt,name=drive_file,json=driveFile,proto3,oneof"` 580} 581 582type DriveItem_DriveFolder_ struct { 583 // The Drive item is a folder. Includes information about the type of 584 // folder. 585 DriveFolder *DriveItem_DriveFolder `protobuf:"bytes,9,opt,name=drive_folder,json=driveFolder,proto3,oneof"` 586} 587 588func (*DriveItem_DriveFile_) isDriveItem_ItemType() {} 589 590func (*DriveItem_DriveFolder_) isDriveItem_ItemType() {} 591 592// Information about the owner of a Drive item. 593type Owner struct { 594 state protoimpl.MessageState 595 sizeCache protoimpl.SizeCache 596 unknownFields protoimpl.UnknownFields 597 598 // The owner of the Drive item. 599 // 600 // Types that are assignable to Owner: 601 // *Owner_User 602 // *Owner_Drive 603 Owner isOwner_Owner `protobuf_oneof:"owner"` 604 // This field is deprecated; please use the `drive` field instead. 605 // 606 // Deprecated: Do not use. 607 TeamDrive *TeamDriveReference `protobuf:"bytes,2,opt,name=team_drive,json=teamDrive,proto3" json:"team_drive,omitempty"` 608 // The domain of the Drive item owner. 609 Domain *Domain `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` 610} 611 612func (x *Owner) Reset() { 613 *x = Owner{} 614 if protoimpl.UnsafeEnabled { 615 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[4] 616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 617 ms.StoreMessageInfo(mi) 618 } 619} 620 621func (x *Owner) String() string { 622 return protoimpl.X.MessageStringOf(x) 623} 624 625func (*Owner) ProtoMessage() {} 626 627func (x *Owner) ProtoReflect() protoreflect.Message { 628 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[4] 629 if protoimpl.UnsafeEnabled && x != nil { 630 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 631 if ms.LoadMessageInfo() == nil { 632 ms.StoreMessageInfo(mi) 633 } 634 return ms 635 } 636 return mi.MessageOf(x) 637} 638 639// Deprecated: Use Owner.ProtoReflect.Descriptor instead. 640func (*Owner) Descriptor() ([]byte, []int) { 641 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{4} 642} 643 644func (m *Owner) GetOwner() isOwner_Owner { 645 if m != nil { 646 return m.Owner 647 } 648 return nil 649} 650 651func (x *Owner) GetUser() *User { 652 if x, ok := x.GetOwner().(*Owner_User); ok { 653 return x.User 654 } 655 return nil 656} 657 658func (x *Owner) GetDrive() *DriveReference { 659 if x, ok := x.GetOwner().(*Owner_Drive); ok { 660 return x.Drive 661 } 662 return nil 663} 664 665// Deprecated: Do not use. 666func (x *Owner) GetTeamDrive() *TeamDriveReference { 667 if x != nil { 668 return x.TeamDrive 669 } 670 return nil 671} 672 673func (x *Owner) GetDomain() *Domain { 674 if x != nil { 675 return x.Domain 676 } 677 return nil 678} 679 680type isOwner_Owner interface { 681 isOwner_Owner() 682} 683 684type Owner_User struct { 685 // The user that owns the Drive item. 686 User *User `protobuf:"bytes,1,opt,name=user,proto3,oneof"` 687} 688 689type Owner_Drive struct { 690 // The drive that owns the item. 691 Drive *DriveReference `protobuf:"bytes,4,opt,name=drive,proto3,oneof"` 692} 693 694func (*Owner_User) isOwner_Owner() {} 695 696func (*Owner_Drive) isOwner_Owner() {} 697 698// This item is deprecated; please see `Drive` instead. 699// 700// Deprecated: Do not use. 701type TeamDrive struct { 702 state protoimpl.MessageState 703 sizeCache protoimpl.SizeCache 704 unknownFields protoimpl.UnknownFields 705 706 // This field is deprecated; please see `Drive.name` instead. 707 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 708 // This field is deprecated; please see `Drive.title` instead. 709 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 710 // This field is deprecated; please see `Drive.root` instead. 711 Root *DriveItem `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` 712} 713 714func (x *TeamDrive) Reset() { 715 *x = TeamDrive{} 716 if protoimpl.UnsafeEnabled { 717 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[5] 718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 719 ms.StoreMessageInfo(mi) 720 } 721} 722 723func (x *TeamDrive) String() string { 724 return protoimpl.X.MessageStringOf(x) 725} 726 727func (*TeamDrive) ProtoMessage() {} 728 729func (x *TeamDrive) ProtoReflect() protoreflect.Message { 730 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[5] 731 if protoimpl.UnsafeEnabled && x != nil { 732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 733 if ms.LoadMessageInfo() == nil { 734 ms.StoreMessageInfo(mi) 735 } 736 return ms 737 } 738 return mi.MessageOf(x) 739} 740 741// Deprecated: Use TeamDrive.ProtoReflect.Descriptor instead. 742func (*TeamDrive) Descriptor() ([]byte, []int) { 743 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{5} 744} 745 746func (x *TeamDrive) GetName() string { 747 if x != nil { 748 return x.Name 749 } 750 return "" 751} 752 753func (x *TeamDrive) GetTitle() string { 754 if x != nil { 755 return x.Title 756 } 757 return "" 758} 759 760func (x *TeamDrive) GetRoot() *DriveItem { 761 if x != nil { 762 return x.Root 763 } 764 return nil 765} 766 767// Information about a shared drive. 768type Drive struct { 769 state protoimpl.MessageState 770 sizeCache protoimpl.SizeCache 771 unknownFields protoimpl.UnknownFields 772 773 // The resource name of the shared drive. The format is 774 // `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection 775 // ID for this resource name. 776 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 777 // The title of the shared drive. 778 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 779 // The root of this shared drive. 780 Root *DriveItem `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` 781} 782 783func (x *Drive) Reset() { 784 *x = Drive{} 785 if protoimpl.UnsafeEnabled { 786 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[6] 787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 788 ms.StoreMessageInfo(mi) 789 } 790} 791 792func (x *Drive) String() string { 793 return protoimpl.X.MessageStringOf(x) 794} 795 796func (*Drive) ProtoMessage() {} 797 798func (x *Drive) ProtoReflect() protoreflect.Message { 799 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[6] 800 if protoimpl.UnsafeEnabled && x != nil { 801 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 802 if ms.LoadMessageInfo() == nil { 803 ms.StoreMessageInfo(mi) 804 } 805 return ms 806 } 807 return mi.MessageOf(x) 808} 809 810// Deprecated: Use Drive.ProtoReflect.Descriptor instead. 811func (*Drive) Descriptor() ([]byte, []int) { 812 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{6} 813} 814 815func (x *Drive) GetName() string { 816 if x != nil { 817 return x.Name 818 } 819 return "" 820} 821 822func (x *Drive) GetTitle() string { 823 if x != nil { 824 return x.Title 825 } 826 return "" 827} 828 829func (x *Drive) GetRoot() *DriveItem { 830 if x != nil { 831 return x.Root 832 } 833 return nil 834} 835 836// A lightweight reference to a Drive item, such as a file or folder. 837type DriveItemReference struct { 838 state protoimpl.MessageState 839 sizeCache protoimpl.SizeCache 840 unknownFields protoimpl.UnknownFields 841 842 // The target Drive item. The format is `items/ITEM_ID`. 843 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 844 // The title of the Drive item. 845 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 846 // This field is deprecated; please use the `driveFile` field instead. 847 // 848 // Deprecated: Do not use. 849 File *DriveItem_File `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` 850 // This field is deprecated; please use the `driveFolder` field instead. 851 // 852 // Deprecated: Do not use. 853 Folder *DriveItem_Folder `protobuf:"bytes,4,opt,name=folder,proto3" json:"folder,omitempty"` 854 // If present, this describes the type of the Drive item. 855 // 856 // Types that are assignable to ItemType: 857 // *DriveItemReference_DriveFile 858 // *DriveItemReference_DriveFolder 859 ItemType isDriveItemReference_ItemType `protobuf_oneof:"item_type"` 860} 861 862func (x *DriveItemReference) Reset() { 863 *x = DriveItemReference{} 864 if protoimpl.UnsafeEnabled { 865 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[7] 866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 867 ms.StoreMessageInfo(mi) 868 } 869} 870 871func (x *DriveItemReference) String() string { 872 return protoimpl.X.MessageStringOf(x) 873} 874 875func (*DriveItemReference) ProtoMessage() {} 876 877func (x *DriveItemReference) ProtoReflect() protoreflect.Message { 878 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[7] 879 if protoimpl.UnsafeEnabled && x != nil { 880 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 881 if ms.LoadMessageInfo() == nil { 882 ms.StoreMessageInfo(mi) 883 } 884 return ms 885 } 886 return mi.MessageOf(x) 887} 888 889// Deprecated: Use DriveItemReference.ProtoReflect.Descriptor instead. 890func (*DriveItemReference) Descriptor() ([]byte, []int) { 891 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{7} 892} 893 894func (x *DriveItemReference) GetName() string { 895 if x != nil { 896 return x.Name 897 } 898 return "" 899} 900 901func (x *DriveItemReference) GetTitle() string { 902 if x != nil { 903 return x.Title 904 } 905 return "" 906} 907 908// Deprecated: Do not use. 909func (x *DriveItemReference) GetFile() *DriveItem_File { 910 if x != nil { 911 return x.File 912 } 913 return nil 914} 915 916// Deprecated: Do not use. 917func (x *DriveItemReference) GetFolder() *DriveItem_Folder { 918 if x != nil { 919 return x.Folder 920 } 921 return nil 922} 923 924func (m *DriveItemReference) GetItemType() isDriveItemReference_ItemType { 925 if m != nil { 926 return m.ItemType 927 } 928 return nil 929} 930 931func (x *DriveItemReference) GetDriveFile() *DriveItem_DriveFile { 932 if x, ok := x.GetItemType().(*DriveItemReference_DriveFile); ok { 933 return x.DriveFile 934 } 935 return nil 936} 937 938func (x *DriveItemReference) GetDriveFolder() *DriveItem_DriveFolder { 939 if x, ok := x.GetItemType().(*DriveItemReference_DriveFolder); ok { 940 return x.DriveFolder 941 } 942 return nil 943} 944 945type isDriveItemReference_ItemType interface { 946 isDriveItemReference_ItemType() 947} 948 949type DriveItemReference_DriveFile struct { 950 // The Drive item is a file. 951 DriveFile *DriveItem_DriveFile `protobuf:"bytes,8,opt,name=drive_file,json=driveFile,proto3,oneof"` 952} 953 954type DriveItemReference_DriveFolder struct { 955 // The Drive item is a folder. Includes information about the type of 956 // folder. 957 DriveFolder *DriveItem_DriveFolder `protobuf:"bytes,9,opt,name=drive_folder,json=driveFolder,proto3,oneof"` 958} 959 960func (*DriveItemReference_DriveFile) isDriveItemReference_ItemType() {} 961 962func (*DriveItemReference_DriveFolder) isDriveItemReference_ItemType() {} 963 964// This item is deprecated; please see `DriveReference` instead. 965// 966// Deprecated: Do not use. 967type TeamDriveReference struct { 968 state protoimpl.MessageState 969 sizeCache protoimpl.SizeCache 970 unknownFields protoimpl.UnknownFields 971 972 // This field is deprecated; please see `DriveReference.name` instead. 973 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 974 // This field is deprecated; please see `DriveReference.title` instead. 975 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 976} 977 978func (x *TeamDriveReference) Reset() { 979 *x = TeamDriveReference{} 980 if protoimpl.UnsafeEnabled { 981 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[8] 982 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 983 ms.StoreMessageInfo(mi) 984 } 985} 986 987func (x *TeamDriveReference) String() string { 988 return protoimpl.X.MessageStringOf(x) 989} 990 991func (*TeamDriveReference) ProtoMessage() {} 992 993func (x *TeamDriveReference) ProtoReflect() protoreflect.Message { 994 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[8] 995 if protoimpl.UnsafeEnabled && x != nil { 996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 997 if ms.LoadMessageInfo() == nil { 998 ms.StoreMessageInfo(mi) 999 } 1000 return ms 1001 } 1002 return mi.MessageOf(x) 1003} 1004 1005// Deprecated: Use TeamDriveReference.ProtoReflect.Descriptor instead. 1006func (*TeamDriveReference) Descriptor() ([]byte, []int) { 1007 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{8} 1008} 1009 1010func (x *TeamDriveReference) GetName() string { 1011 if x != nil { 1012 return x.Name 1013 } 1014 return "" 1015} 1016 1017func (x *TeamDriveReference) GetTitle() string { 1018 if x != nil { 1019 return x.Title 1020 } 1021 return "" 1022} 1023 1024// A lightweight reference to a shared drive. 1025type DriveReference struct { 1026 state protoimpl.MessageState 1027 sizeCache protoimpl.SizeCache 1028 unknownFields protoimpl.UnknownFields 1029 1030 // The resource name of the shared drive. The format is 1031 // `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection 1032 // ID for this resource name. 1033 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1034 // The title of the shared drive. 1035 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 1036} 1037 1038func (x *DriveReference) Reset() { 1039 *x = DriveReference{} 1040 if protoimpl.UnsafeEnabled { 1041 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[9] 1042 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1043 ms.StoreMessageInfo(mi) 1044 } 1045} 1046 1047func (x *DriveReference) String() string { 1048 return protoimpl.X.MessageStringOf(x) 1049} 1050 1051func (*DriveReference) ProtoMessage() {} 1052 1053func (x *DriveReference) ProtoReflect() protoreflect.Message { 1054 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[9] 1055 if protoimpl.UnsafeEnabled && x != nil { 1056 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1057 if ms.LoadMessageInfo() == nil { 1058 ms.StoreMessageInfo(mi) 1059 } 1060 return ms 1061 } 1062 return mi.MessageOf(x) 1063} 1064 1065// Deprecated: Use DriveReference.ProtoReflect.Descriptor instead. 1066func (*DriveReference) Descriptor() ([]byte, []int) { 1067 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{9} 1068} 1069 1070func (x *DriveReference) GetName() string { 1071 if x != nil { 1072 return x.Name 1073 } 1074 return "" 1075} 1076 1077func (x *DriveReference) GetTitle() string { 1078 if x != nil { 1079 return x.Title 1080 } 1081 return "" 1082} 1083 1084// This item is deprecated; please see `DriveFile` instead. 1085// 1086// Deprecated: Do not use. 1087type DriveItem_File struct { 1088 state protoimpl.MessageState 1089 sizeCache protoimpl.SizeCache 1090 unknownFields protoimpl.UnknownFields 1091} 1092 1093func (x *DriveItem_File) Reset() { 1094 *x = DriveItem_File{} 1095 if protoimpl.UnsafeEnabled { 1096 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[10] 1097 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1098 ms.StoreMessageInfo(mi) 1099 } 1100} 1101 1102func (x *DriveItem_File) String() string { 1103 return protoimpl.X.MessageStringOf(x) 1104} 1105 1106func (*DriveItem_File) ProtoMessage() {} 1107 1108func (x *DriveItem_File) ProtoReflect() protoreflect.Message { 1109 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[10] 1110 if protoimpl.UnsafeEnabled && x != nil { 1111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1112 if ms.LoadMessageInfo() == nil { 1113 ms.StoreMessageInfo(mi) 1114 } 1115 return ms 1116 } 1117 return mi.MessageOf(x) 1118} 1119 1120// Deprecated: Use DriveItem_File.ProtoReflect.Descriptor instead. 1121func (*DriveItem_File) Descriptor() ([]byte, []int) { 1122 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{3, 0} 1123} 1124 1125// This item is deprecated; please see `DriveFolder` instead. 1126// 1127// Deprecated: Do not use. 1128type DriveItem_Folder struct { 1129 state protoimpl.MessageState 1130 sizeCache protoimpl.SizeCache 1131 unknownFields protoimpl.UnknownFields 1132 1133 // This field is deprecated; please see `DriveFolder.type` instead. 1134 Type DriveItem_Folder_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.apps.drive.activity.v2.DriveItem_Folder_Type" json:"type,omitempty"` 1135} 1136 1137func (x *DriveItem_Folder) Reset() { 1138 *x = DriveItem_Folder{} 1139 if protoimpl.UnsafeEnabled { 1140 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[11] 1141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1142 ms.StoreMessageInfo(mi) 1143 } 1144} 1145 1146func (x *DriveItem_Folder) String() string { 1147 return protoimpl.X.MessageStringOf(x) 1148} 1149 1150func (*DriveItem_Folder) ProtoMessage() {} 1151 1152func (x *DriveItem_Folder) ProtoReflect() protoreflect.Message { 1153 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[11] 1154 if protoimpl.UnsafeEnabled && x != nil { 1155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1156 if ms.LoadMessageInfo() == nil { 1157 ms.StoreMessageInfo(mi) 1158 } 1159 return ms 1160 } 1161 return mi.MessageOf(x) 1162} 1163 1164// Deprecated: Use DriveItem_Folder.ProtoReflect.Descriptor instead. 1165func (*DriveItem_Folder) Descriptor() ([]byte, []int) { 1166 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{3, 1} 1167} 1168 1169func (x *DriveItem_Folder) GetType() DriveItem_Folder_Type { 1170 if x != nil { 1171 return x.Type 1172 } 1173 return DriveItem_Folder_TYPE_UNSPECIFIED 1174} 1175 1176// A Drive item which is a file. 1177type DriveItem_DriveFile struct { 1178 state protoimpl.MessageState 1179 sizeCache protoimpl.SizeCache 1180 unknownFields protoimpl.UnknownFields 1181} 1182 1183func (x *DriveItem_DriveFile) Reset() { 1184 *x = DriveItem_DriveFile{} 1185 if protoimpl.UnsafeEnabled { 1186 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[12] 1187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1188 ms.StoreMessageInfo(mi) 1189 } 1190} 1191 1192func (x *DriveItem_DriveFile) String() string { 1193 return protoimpl.X.MessageStringOf(x) 1194} 1195 1196func (*DriveItem_DriveFile) ProtoMessage() {} 1197 1198func (x *DriveItem_DriveFile) ProtoReflect() protoreflect.Message { 1199 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[12] 1200 if protoimpl.UnsafeEnabled && x != nil { 1201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1202 if ms.LoadMessageInfo() == nil { 1203 ms.StoreMessageInfo(mi) 1204 } 1205 return ms 1206 } 1207 return mi.MessageOf(x) 1208} 1209 1210// Deprecated: Use DriveItem_DriveFile.ProtoReflect.Descriptor instead. 1211func (*DriveItem_DriveFile) Descriptor() ([]byte, []int) { 1212 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{3, 2} 1213} 1214 1215// A Drive item which is a folder. 1216type DriveItem_DriveFolder struct { 1217 state protoimpl.MessageState 1218 sizeCache protoimpl.SizeCache 1219 unknownFields protoimpl.UnknownFields 1220 1221 // The type of Drive folder. 1222 Type DriveItem_DriveFolder_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.apps.drive.activity.v2.DriveItem_DriveFolder_Type" json:"type,omitempty"` 1223} 1224 1225func (x *DriveItem_DriveFolder) Reset() { 1226 *x = DriveItem_DriveFolder{} 1227 if protoimpl.UnsafeEnabled { 1228 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[13] 1229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1230 ms.StoreMessageInfo(mi) 1231 } 1232} 1233 1234func (x *DriveItem_DriveFolder) String() string { 1235 return protoimpl.X.MessageStringOf(x) 1236} 1237 1238func (*DriveItem_DriveFolder) ProtoMessage() {} 1239 1240func (x *DriveItem_DriveFolder) ProtoReflect() protoreflect.Message { 1241 mi := &file_google_apps_drive_activity_v2_target_proto_msgTypes[13] 1242 if protoimpl.UnsafeEnabled && x != nil { 1243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1244 if ms.LoadMessageInfo() == nil { 1245 ms.StoreMessageInfo(mi) 1246 } 1247 return ms 1248 } 1249 return mi.MessageOf(x) 1250} 1251 1252// Deprecated: Use DriveItem_DriveFolder.ProtoReflect.Descriptor instead. 1253func (*DriveItem_DriveFolder) Descriptor() ([]byte, []int) { 1254 return file_google_apps_drive_activity_v2_target_proto_rawDescGZIP(), []int{3, 3} 1255} 1256 1257func (x *DriveItem_DriveFolder) GetType() DriveItem_DriveFolder_Type { 1258 if x != nil { 1259 return x.Type 1260 } 1261 return DriveItem_DriveFolder_TYPE_UNSPECIFIED 1262} 1263 1264var File_google_apps_drive_activity_v2_target_proto protoreflect.FileDescriptor 1265 1266var file_google_apps_drive_activity_v2_target_proto_rawDesc = []byte{ 1267 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 1268 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 1269 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 1270 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 1271 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 1272 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 1273 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x74, 0x6f, 0x72, 1274 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 1275 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 1276 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 1277 0x74, 0x6f, 0x22, 0xb9, 0x02, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x49, 0x0a, 1278 0x0a, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 1279 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 1280 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 1281 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x64, 1282 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x3c, 0x0a, 0x05, 0x64, 0x72, 0x69, 0x76, 1283 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1284 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 1285 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52, 1286 0x05, 0x64, 0x72, 0x69, 0x76, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 1287 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 1288 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 1289 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6c, 1290 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 1291 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x0a, 0x74, 0x65, 0x61, 0x6d, 0x5f, 1292 0x64, 0x72, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 1293 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 1294 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 1295 0x44, 0x72, 0x69, 0x76, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x44, 1296 0x72, 0x69, 0x76, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x8c, 1297 0x02, 0x0a, 0x0f, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 1298 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0a, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 1299 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1300 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 1301 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 1302 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x72, 0x69, 1303 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x45, 0x0a, 0x05, 0x64, 0x72, 0x69, 0x76, 0x65, 0x18, 1304 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 1305 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 1306 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 1307 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 0x05, 0x64, 0x72, 0x69, 0x76, 0x65, 0x12, 0x54, 0x0a, 1308 0x0a, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1309 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 1310 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 1311 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x72, 0x69, 0x76, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 1312 0x65, 0x6e, 0x63, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x44, 0x72, 1313 0x69, 0x76, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xdb, 0x01, 1314 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 1315 0x11, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 1316 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 1317 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x65, 0x67, 1318 0x61, 0x63, 0x79, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 1319 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 1320 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 1321 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x69, 0x6f, 1322 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x6f, 0x44, 1323 0x69, 0x73, 0x63, 0x75, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 1324 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1325 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 1326 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 1327 0x74, 0x65, 0x6d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0xec, 0x06, 0x0a, 0x09, 1328 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1329 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 1330 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 1331 0x74, 0x6c, 0x65, 0x12, 0x45, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 1332 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 1333 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 1334 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x46, 0x69, 0x6c, 0x65, 1335 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x66, 0x6f, 1336 0x6c, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 1337 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 1338 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 1339 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52, 1340 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x0a, 0x64, 0x72, 0x69, 0x76, 0x65, 1341 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 1342 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 1343 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 1344 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x48, 1345 0x00, 0x52, 0x09, 0x64, 0x72, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x59, 0x0a, 0x0c, 1346 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 1347 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 1348 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 1349 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x44, 0x72, 0x69, 1350 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x69, 0x76, 1351 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 1352 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 1353 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 1354 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 1355 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 1356 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 1357 0x1a, 0x0a, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x3a, 0x02, 0x18, 0x01, 0x1a, 0xb5, 0x01, 0x0a, 1358 0x06, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 1359 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 1360 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 1361 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 1362 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 1363 0x65, 0x22, 0x5d, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 1364 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 1365 0x11, 0x0a, 0x0d, 0x4d, 0x59, 0x5f, 0x44, 0x52, 0x49, 0x56, 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x54, 1366 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x45, 0x41, 0x4d, 0x5f, 0x44, 0x52, 0x49, 0x56, 0x45, 1367 0x5f, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x4e, 0x44, 1368 0x41, 0x52, 0x44, 0x5f, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x03, 0x1a, 0x02, 0x18, 0x01, 1369 0x3a, 0x02, 0x18, 0x01, 0x1a, 0x0b, 0x0a, 0x09, 0x44, 0x72, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 1370 0x65, 0x1a, 0xb9, 0x01, 0x0a, 0x0b, 0x44, 0x72, 0x69, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 1371 0x72, 0x12, 0x4d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 1372 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 1373 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 1374 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x46, 1375 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 1376 0x22, 0x5b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 1377 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 1378 0x0a, 0x0d, 0x4d, 0x59, 0x5f, 0x44, 0x52, 0x49, 0x56, 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x54, 0x10, 1379 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x48, 0x41, 0x52, 0x45, 0x44, 0x5f, 0x44, 0x52, 0x49, 0x56, 1380 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x4e, 1381 0x44, 0x41, 0x52, 0x44, 0x5f, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x03, 0x42, 0x0b, 0x0a, 1382 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xa7, 0x02, 0x0a, 0x05, 0x4f, 1383 0x77, 0x6e, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 1384 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 1385 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 1386 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 1387 0x45, 0x0a, 0x05, 0x64, 0x72, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 1388 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 1389 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 1390 0x72, 0x69, 0x76, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 1391 0x05, 0x64, 0x72, 0x69, 0x76, 0x65, 0x12, 0x54, 0x0a, 0x0a, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x64, 1392 0x72, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 1393 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 1394 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x44, 1395 0x72, 0x69, 0x76, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x02, 0x18, 1396 0x01, 0x52, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x44, 0x72, 0x69, 0x76, 0x65, 0x12, 0x3d, 0x0a, 0x06, 1397 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 1398 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 1399 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x6f, 0x6d, 1400 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x6f, 1401 0x77, 0x6e, 0x65, 0x72, 0x22, 0x77, 0x0a, 0x09, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x72, 0x69, 0x76, 1402 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1403 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 1404 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x72, 1405 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1406 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 1407 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 1408 0x74, 0x65, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x6f, 0x0a, 1409 0x05, 0x44, 0x72, 0x69, 0x76, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 1410 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 1411 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 1412 0x12, 0x3c, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 1413 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 1414 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 1415 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x8f, 1416 0x03, 0x0a, 0x12, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x66, 0x65, 1417 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 1418 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 1419 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 1420 0x45, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 1421 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 1422 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 1423 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x02, 0x18, 0x01, 1424 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 1425 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1426 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 1427 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 1428 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x66, 0x6f, 0x6c, 1429 0x64, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x0a, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x69, 0x6c, 1430 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1431 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 1432 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 1433 0x6d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 1434 0x72, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x64, 0x72, 0x69, 0x76, 1435 0x65, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 1436 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 1437 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 1438 0x72, 0x69, 0x76, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x46, 0x6f, 1439 0x6c, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x46, 0x6f, 0x6c, 1440 0x64, 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 1441 0x22, 0x42, 0x0a, 0x12, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x72, 0x69, 0x76, 0x65, 0x52, 0x65, 0x66, 1442 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 1443 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 1444 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 1445 0x3a, 0x02, 0x18, 0x01, 0x22, 0x3a, 0x0a, 0x0e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x52, 0x65, 0x66, 1446 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 1447 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 1448 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 1449 0x42, 0xc0, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1450 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 1451 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 1452 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 1453 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 1454 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 1455 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 1456 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x04, 0x47, 1457 0x41, 0x44, 0x41, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 1458 0x73, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 1459 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 1460 0x73, 0x5c, 0x44, 0x72, 0x69, 0x76, 0x65, 0x5c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 1461 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1462} 1463 1464var ( 1465 file_google_apps_drive_activity_v2_target_proto_rawDescOnce sync.Once 1466 file_google_apps_drive_activity_v2_target_proto_rawDescData = file_google_apps_drive_activity_v2_target_proto_rawDesc 1467) 1468 1469func file_google_apps_drive_activity_v2_target_proto_rawDescGZIP() []byte { 1470 file_google_apps_drive_activity_v2_target_proto_rawDescOnce.Do(func() { 1471 file_google_apps_drive_activity_v2_target_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_activity_v2_target_proto_rawDescData) 1472 }) 1473 return file_google_apps_drive_activity_v2_target_proto_rawDescData 1474} 1475 1476var file_google_apps_drive_activity_v2_target_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1477var file_google_apps_drive_activity_v2_target_proto_msgTypes = make([]protoimpl.MessageInfo, 14) 1478var file_google_apps_drive_activity_v2_target_proto_goTypes = []interface{}{ 1479 (DriveItem_Folder_Type)(0), // 0: google.apps.drive.activity.v2.DriveItem.Folder.Type 1480 (DriveItem_DriveFolder_Type)(0), // 1: google.apps.drive.activity.v2.DriveItem.DriveFolder.Type 1481 (*Target)(nil), // 2: google.apps.drive.activity.v2.Target 1482 (*TargetReference)(nil), // 3: google.apps.drive.activity.v2.TargetReference 1483 (*FileComment)(nil), // 4: google.apps.drive.activity.v2.FileComment 1484 (*DriveItem)(nil), // 5: google.apps.drive.activity.v2.DriveItem 1485 (*Owner)(nil), // 6: google.apps.drive.activity.v2.Owner 1486 (*TeamDrive)(nil), // 7: google.apps.drive.activity.v2.TeamDrive 1487 (*Drive)(nil), // 8: google.apps.drive.activity.v2.Drive 1488 (*DriveItemReference)(nil), // 9: google.apps.drive.activity.v2.DriveItemReference 1489 (*TeamDriveReference)(nil), // 10: google.apps.drive.activity.v2.TeamDriveReference 1490 (*DriveReference)(nil), // 11: google.apps.drive.activity.v2.DriveReference 1491 (*DriveItem_File)(nil), // 12: google.apps.drive.activity.v2.DriveItem.File 1492 (*DriveItem_Folder)(nil), // 13: google.apps.drive.activity.v2.DriveItem.Folder 1493 (*DriveItem_DriveFile)(nil), // 14: google.apps.drive.activity.v2.DriveItem.DriveFile 1494 (*DriveItem_DriveFolder)(nil), // 15: google.apps.drive.activity.v2.DriveItem.DriveFolder 1495 (*User)(nil), // 16: google.apps.drive.activity.v2.User 1496 (*Domain)(nil), // 17: google.apps.drive.activity.v2.Domain 1497} 1498var file_google_apps_drive_activity_v2_target_proto_depIdxs = []int32{ 1499 5, // 0: google.apps.drive.activity.v2.Target.drive_item:type_name -> google.apps.drive.activity.v2.DriveItem 1500 8, // 1: google.apps.drive.activity.v2.Target.drive:type_name -> google.apps.drive.activity.v2.Drive 1501 4, // 2: google.apps.drive.activity.v2.Target.file_comment:type_name -> google.apps.drive.activity.v2.FileComment 1502 7, // 3: google.apps.drive.activity.v2.Target.team_drive:type_name -> google.apps.drive.activity.v2.TeamDrive 1503 9, // 4: google.apps.drive.activity.v2.TargetReference.drive_item:type_name -> google.apps.drive.activity.v2.DriveItemReference 1504 11, // 5: google.apps.drive.activity.v2.TargetReference.drive:type_name -> google.apps.drive.activity.v2.DriveReference 1505 10, // 6: google.apps.drive.activity.v2.TargetReference.team_drive:type_name -> google.apps.drive.activity.v2.TeamDriveReference 1506 5, // 7: google.apps.drive.activity.v2.FileComment.parent:type_name -> google.apps.drive.activity.v2.DriveItem 1507 12, // 8: google.apps.drive.activity.v2.DriveItem.file:type_name -> google.apps.drive.activity.v2.DriveItem.File 1508 13, // 9: google.apps.drive.activity.v2.DriveItem.folder:type_name -> google.apps.drive.activity.v2.DriveItem.Folder 1509 14, // 10: google.apps.drive.activity.v2.DriveItem.drive_file:type_name -> google.apps.drive.activity.v2.DriveItem.DriveFile 1510 15, // 11: google.apps.drive.activity.v2.DriveItem.drive_folder:type_name -> google.apps.drive.activity.v2.DriveItem.DriveFolder 1511 6, // 12: google.apps.drive.activity.v2.DriveItem.owner:type_name -> google.apps.drive.activity.v2.Owner 1512 16, // 13: google.apps.drive.activity.v2.Owner.user:type_name -> google.apps.drive.activity.v2.User 1513 11, // 14: google.apps.drive.activity.v2.Owner.drive:type_name -> google.apps.drive.activity.v2.DriveReference 1514 10, // 15: google.apps.drive.activity.v2.Owner.team_drive:type_name -> google.apps.drive.activity.v2.TeamDriveReference 1515 17, // 16: google.apps.drive.activity.v2.Owner.domain:type_name -> google.apps.drive.activity.v2.Domain 1516 5, // 17: google.apps.drive.activity.v2.TeamDrive.root:type_name -> google.apps.drive.activity.v2.DriveItem 1517 5, // 18: google.apps.drive.activity.v2.Drive.root:type_name -> google.apps.drive.activity.v2.DriveItem 1518 12, // 19: google.apps.drive.activity.v2.DriveItemReference.file:type_name -> google.apps.drive.activity.v2.DriveItem.File 1519 13, // 20: google.apps.drive.activity.v2.DriveItemReference.folder:type_name -> google.apps.drive.activity.v2.DriveItem.Folder 1520 14, // 21: google.apps.drive.activity.v2.DriveItemReference.drive_file:type_name -> google.apps.drive.activity.v2.DriveItem.DriveFile 1521 15, // 22: google.apps.drive.activity.v2.DriveItemReference.drive_folder:type_name -> google.apps.drive.activity.v2.DriveItem.DriveFolder 1522 0, // 23: google.apps.drive.activity.v2.DriveItem.Folder.type:type_name -> google.apps.drive.activity.v2.DriveItem.Folder.Type 1523 1, // 24: google.apps.drive.activity.v2.DriveItem.DriveFolder.type:type_name -> google.apps.drive.activity.v2.DriveItem.DriveFolder.Type 1524 25, // [25:25] is the sub-list for method output_type 1525 25, // [25:25] is the sub-list for method input_type 1526 25, // [25:25] is the sub-list for extension type_name 1527 25, // [25:25] is the sub-list for extension extendee 1528 0, // [0:25] is the sub-list for field type_name 1529} 1530 1531func init() { file_google_apps_drive_activity_v2_target_proto_init() } 1532func file_google_apps_drive_activity_v2_target_proto_init() { 1533 if File_google_apps_drive_activity_v2_target_proto != nil { 1534 return 1535 } 1536 file_google_apps_drive_activity_v2_actor_proto_init() 1537 file_google_apps_drive_activity_v2_common_proto_init() 1538 if !protoimpl.UnsafeEnabled { 1539 file_google_apps_drive_activity_v2_target_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1540 switch v := v.(*Target); i { 1541 case 0: 1542 return &v.state 1543 case 1: 1544 return &v.sizeCache 1545 case 2: 1546 return &v.unknownFields 1547 default: 1548 return nil 1549 } 1550 } 1551 file_google_apps_drive_activity_v2_target_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1552 switch v := v.(*TargetReference); i { 1553 case 0: 1554 return &v.state 1555 case 1: 1556 return &v.sizeCache 1557 case 2: 1558 return &v.unknownFields 1559 default: 1560 return nil 1561 } 1562 } 1563 file_google_apps_drive_activity_v2_target_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1564 switch v := v.(*FileComment); i { 1565 case 0: 1566 return &v.state 1567 case 1: 1568 return &v.sizeCache 1569 case 2: 1570 return &v.unknownFields 1571 default: 1572 return nil 1573 } 1574 } 1575 file_google_apps_drive_activity_v2_target_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1576 switch v := v.(*DriveItem); i { 1577 case 0: 1578 return &v.state 1579 case 1: 1580 return &v.sizeCache 1581 case 2: 1582 return &v.unknownFields 1583 default: 1584 return nil 1585 } 1586 } 1587 file_google_apps_drive_activity_v2_target_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1588 switch v := v.(*Owner); i { 1589 case 0: 1590 return &v.state 1591 case 1: 1592 return &v.sizeCache 1593 case 2: 1594 return &v.unknownFields 1595 default: 1596 return nil 1597 } 1598 } 1599 file_google_apps_drive_activity_v2_target_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1600 switch v := v.(*TeamDrive); i { 1601 case 0: 1602 return &v.state 1603 case 1: 1604 return &v.sizeCache 1605 case 2: 1606 return &v.unknownFields 1607 default: 1608 return nil 1609 } 1610 } 1611 file_google_apps_drive_activity_v2_target_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1612 switch v := v.(*Drive); i { 1613 case 0: 1614 return &v.state 1615 case 1: 1616 return &v.sizeCache 1617 case 2: 1618 return &v.unknownFields 1619 default: 1620 return nil 1621 } 1622 } 1623 file_google_apps_drive_activity_v2_target_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1624 switch v := v.(*DriveItemReference); i { 1625 case 0: 1626 return &v.state 1627 case 1: 1628 return &v.sizeCache 1629 case 2: 1630 return &v.unknownFields 1631 default: 1632 return nil 1633 } 1634 } 1635 file_google_apps_drive_activity_v2_target_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1636 switch v := v.(*TeamDriveReference); i { 1637 case 0: 1638 return &v.state 1639 case 1: 1640 return &v.sizeCache 1641 case 2: 1642 return &v.unknownFields 1643 default: 1644 return nil 1645 } 1646 } 1647 file_google_apps_drive_activity_v2_target_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1648 switch v := v.(*DriveReference); i { 1649 case 0: 1650 return &v.state 1651 case 1: 1652 return &v.sizeCache 1653 case 2: 1654 return &v.unknownFields 1655 default: 1656 return nil 1657 } 1658 } 1659 file_google_apps_drive_activity_v2_target_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1660 switch v := v.(*DriveItem_File); i { 1661 case 0: 1662 return &v.state 1663 case 1: 1664 return &v.sizeCache 1665 case 2: 1666 return &v.unknownFields 1667 default: 1668 return nil 1669 } 1670 } 1671 file_google_apps_drive_activity_v2_target_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1672 switch v := v.(*DriveItem_Folder); i { 1673 case 0: 1674 return &v.state 1675 case 1: 1676 return &v.sizeCache 1677 case 2: 1678 return &v.unknownFields 1679 default: 1680 return nil 1681 } 1682 } 1683 file_google_apps_drive_activity_v2_target_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1684 switch v := v.(*DriveItem_DriveFile); i { 1685 case 0: 1686 return &v.state 1687 case 1: 1688 return &v.sizeCache 1689 case 2: 1690 return &v.unknownFields 1691 default: 1692 return nil 1693 } 1694 } 1695 file_google_apps_drive_activity_v2_target_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1696 switch v := v.(*DriveItem_DriveFolder); i { 1697 case 0: 1698 return &v.state 1699 case 1: 1700 return &v.sizeCache 1701 case 2: 1702 return &v.unknownFields 1703 default: 1704 return nil 1705 } 1706 } 1707 } 1708 file_google_apps_drive_activity_v2_target_proto_msgTypes[0].OneofWrappers = []interface{}{ 1709 (*Target_DriveItem)(nil), 1710 (*Target_Drive)(nil), 1711 (*Target_FileComment)(nil), 1712 } 1713 file_google_apps_drive_activity_v2_target_proto_msgTypes[1].OneofWrappers = []interface{}{ 1714 (*TargetReference_DriveItem)(nil), 1715 (*TargetReference_Drive)(nil), 1716 } 1717 file_google_apps_drive_activity_v2_target_proto_msgTypes[3].OneofWrappers = []interface{}{ 1718 (*DriveItem_DriveFile_)(nil), 1719 (*DriveItem_DriveFolder_)(nil), 1720 } 1721 file_google_apps_drive_activity_v2_target_proto_msgTypes[4].OneofWrappers = []interface{}{ 1722 (*Owner_User)(nil), 1723 (*Owner_Drive)(nil), 1724 } 1725 file_google_apps_drive_activity_v2_target_proto_msgTypes[7].OneofWrappers = []interface{}{ 1726 (*DriveItemReference_DriveFile)(nil), 1727 (*DriveItemReference_DriveFolder)(nil), 1728 } 1729 type x struct{} 1730 out := protoimpl.TypeBuilder{ 1731 File: protoimpl.DescBuilder{ 1732 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1733 RawDescriptor: file_google_apps_drive_activity_v2_target_proto_rawDesc, 1734 NumEnums: 2, 1735 NumMessages: 14, 1736 NumExtensions: 0, 1737 NumServices: 0, 1738 }, 1739 GoTypes: file_google_apps_drive_activity_v2_target_proto_goTypes, 1740 DependencyIndexes: file_google_apps_drive_activity_v2_target_proto_depIdxs, 1741 EnumInfos: file_google_apps_drive_activity_v2_target_proto_enumTypes, 1742 MessageInfos: file_google_apps_drive_activity_v2_target_proto_msgTypes, 1743 }.Build() 1744 File_google_apps_drive_activity_v2_target_proto = out.File 1745 file_google_apps_drive_activity_v2_target_proto_rawDesc = nil 1746 file_google_apps_drive_activity_v2_target_proto_goTypes = nil 1747 file_google_apps_drive_activity_v2_target_proto_depIdxs = nil 1748} 1749