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/action.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 30) 31 32const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37) 38 39// The type of deletion. 40type Delete_Type int32 41 42const ( 43 // Deletion type is not available. 44 Delete_TYPE_UNSPECIFIED Delete_Type = 0 45 // An object was put into the trash. 46 Delete_TRASH Delete_Type = 1 47 // An object was deleted permanently. 48 Delete_PERMANENT_DELETE Delete_Type = 2 49) 50 51// Enum value maps for Delete_Type. 52var ( 53 Delete_Type_name = map[int32]string{ 54 0: "TYPE_UNSPECIFIED", 55 1: "TRASH", 56 2: "PERMANENT_DELETE", 57 } 58 Delete_Type_value = map[string]int32{ 59 "TYPE_UNSPECIFIED": 0, 60 "TRASH": 1, 61 "PERMANENT_DELETE": 2, 62 } 63) 64 65func (x Delete_Type) Enum() *Delete_Type { 66 p := new(Delete_Type) 67 *p = x 68 return p 69} 70 71func (x Delete_Type) String() string { 72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 73} 74 75func (Delete_Type) Descriptor() protoreflect.EnumDescriptor { 76 return file_google_apps_drive_activity_v2_action_proto_enumTypes[0].Descriptor() 77} 78 79func (Delete_Type) Type() protoreflect.EnumType { 80 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[0] 81} 82 83func (x Delete_Type) Number() protoreflect.EnumNumber { 84 return protoreflect.EnumNumber(x) 85} 86 87// Deprecated: Use Delete_Type.Descriptor instead. 88func (Delete_Type) EnumDescriptor() ([]byte, []int) { 89 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{6, 0} 90} 91 92// The type of restoration. 93type Restore_Type int32 94 95const ( 96 // The type is not available. 97 Restore_TYPE_UNSPECIFIED Restore_Type = 0 98 // An object was restored from the trash. 99 Restore_UNTRASH Restore_Type = 1 100) 101 102// Enum value maps for Restore_Type. 103var ( 104 Restore_Type_name = map[int32]string{ 105 0: "TYPE_UNSPECIFIED", 106 1: "UNTRASH", 107 } 108 Restore_Type_value = map[string]int32{ 109 "TYPE_UNSPECIFIED": 0, 110 "UNTRASH": 1, 111 } 112) 113 114func (x Restore_Type) Enum() *Restore_Type { 115 p := new(Restore_Type) 116 *p = x 117 return p 118} 119 120func (x Restore_Type) String() string { 121 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 122} 123 124func (Restore_Type) Descriptor() protoreflect.EnumDescriptor { 125 return file_google_apps_drive_activity_v2_action_proto_enumTypes[1].Descriptor() 126} 127 128func (Restore_Type) Type() protoreflect.EnumType { 129 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[1] 130} 131 132func (x Restore_Type) Number() protoreflect.EnumNumber { 133 return protoreflect.EnumNumber(x) 134} 135 136// Deprecated: Use Restore_Type.Descriptor instead. 137func (Restore_Type) EnumDescriptor() ([]byte, []int) { 138 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{7, 0} 139} 140 141// The [Google Drive permissions 142// roles](https://developers.google.com/drive/web/manage-sharing#roles). 143type Permission_Role int32 144 145const ( 146 // The role is not available. 147 Permission_ROLE_UNSPECIFIED Permission_Role = 0 148 // A role granting full access. 149 Permission_OWNER Permission_Role = 1 150 // A role granting the ability to manage people and settings. 151 Permission_ORGANIZER Permission_Role = 2 152 // A role granting the ability to contribute and manage content. 153 Permission_FILE_ORGANIZER Permission_Role = 3 154 // A role granting the ability to contribute content. This role is sometimes 155 // also known as "writer". 156 Permission_EDITOR Permission_Role = 4 157 // A role granting the ability to view and comment on content. 158 Permission_COMMENTER Permission_Role = 5 159 // A role granting the ability to view content. This role is sometimes also 160 // known as "reader". 161 Permission_VIEWER Permission_Role = 6 162 // A role granting the ability to view content only after it has been 163 // published to the web. This role is sometimes also known as "published 164 // reader". See https://support.google.com/sites/answer/6372880 for more 165 // information. 166 Permission_PUBLISHED_VIEWER Permission_Role = 7 167) 168 169// Enum value maps for Permission_Role. 170var ( 171 Permission_Role_name = map[int32]string{ 172 0: "ROLE_UNSPECIFIED", 173 1: "OWNER", 174 2: "ORGANIZER", 175 3: "FILE_ORGANIZER", 176 4: "EDITOR", 177 5: "COMMENTER", 178 6: "VIEWER", 179 7: "PUBLISHED_VIEWER", 180 } 181 Permission_Role_value = map[string]int32{ 182 "ROLE_UNSPECIFIED": 0, 183 "OWNER": 1, 184 "ORGANIZER": 2, 185 "FILE_ORGANIZER": 3, 186 "EDITOR": 4, 187 "COMMENTER": 5, 188 "VIEWER": 6, 189 "PUBLISHED_VIEWER": 7, 190 } 191) 192 193func (x Permission_Role) Enum() *Permission_Role { 194 p := new(Permission_Role) 195 *p = x 196 return p 197} 198 199func (x Permission_Role) String() string { 200 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 201} 202 203func (Permission_Role) Descriptor() protoreflect.EnumDescriptor { 204 return file_google_apps_drive_activity_v2_action_proto_enumTypes[2].Descriptor() 205} 206 207func (Permission_Role) Type() protoreflect.EnumType { 208 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[2] 209} 210 211func (x Permission_Role) Number() protoreflect.EnumNumber { 212 return protoreflect.EnumNumber(x) 213} 214 215// Deprecated: Use Permission_Role.Descriptor instead. 216func (Permission_Role) EnumDescriptor() ([]byte, []int) { 217 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{9, 0} 218} 219 220// More detailed information about the change. 221type Comment_Post_Subtype int32 222 223const ( 224 // Subtype not available. 225 Comment_Post_SUBTYPE_UNSPECIFIED Comment_Post_Subtype = 0 226 // A post was added. 227 Comment_Post_ADDED Comment_Post_Subtype = 1 228 // A post was deleted. 229 Comment_Post_DELETED Comment_Post_Subtype = 2 230 // A reply was added. 231 Comment_Post_REPLY_ADDED Comment_Post_Subtype = 3 232 // A reply was deleted. 233 Comment_Post_REPLY_DELETED Comment_Post_Subtype = 4 234 // A posted comment was resolved. 235 Comment_Post_RESOLVED Comment_Post_Subtype = 5 236 // A posted comment was reopened. 237 Comment_Post_REOPENED Comment_Post_Subtype = 6 238) 239 240// Enum value maps for Comment_Post_Subtype. 241var ( 242 Comment_Post_Subtype_name = map[int32]string{ 243 0: "SUBTYPE_UNSPECIFIED", 244 1: "ADDED", 245 2: "DELETED", 246 3: "REPLY_ADDED", 247 4: "REPLY_DELETED", 248 5: "RESOLVED", 249 6: "REOPENED", 250 } 251 Comment_Post_Subtype_value = map[string]int32{ 252 "SUBTYPE_UNSPECIFIED": 0, 253 "ADDED": 1, 254 "DELETED": 2, 255 "REPLY_ADDED": 3, 256 "REPLY_DELETED": 4, 257 "RESOLVED": 5, 258 "REOPENED": 6, 259 } 260) 261 262func (x Comment_Post_Subtype) Enum() *Comment_Post_Subtype { 263 p := new(Comment_Post_Subtype) 264 *p = x 265 return p 266} 267 268func (x Comment_Post_Subtype) String() string { 269 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 270} 271 272func (Comment_Post_Subtype) Descriptor() protoreflect.EnumDescriptor { 273 return file_google_apps_drive_activity_v2_action_proto_enumTypes[3].Descriptor() 274} 275 276func (Comment_Post_Subtype) Type() protoreflect.EnumType { 277 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[3] 278} 279 280func (x Comment_Post_Subtype) Number() protoreflect.EnumNumber { 281 return protoreflect.EnumNumber(x) 282} 283 284// Deprecated: Use Comment_Post_Subtype.Descriptor instead. 285func (Comment_Post_Subtype) EnumDescriptor() ([]byte, []int) { 286 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{10, 0, 0} 287} 288 289// More detailed information about the change. 290type Comment_Assignment_Subtype int32 291 292const ( 293 // Subtype not available. 294 Comment_Assignment_SUBTYPE_UNSPECIFIED Comment_Assignment_Subtype = 0 295 // An assignment was added. 296 Comment_Assignment_ADDED Comment_Assignment_Subtype = 1 297 // An assignment was deleted. 298 Comment_Assignment_DELETED Comment_Assignment_Subtype = 2 299 // An assignment reply was added. 300 Comment_Assignment_REPLY_ADDED Comment_Assignment_Subtype = 3 301 // An assignment reply was deleted. 302 Comment_Assignment_REPLY_DELETED Comment_Assignment_Subtype = 4 303 // An assignment was resolved. 304 Comment_Assignment_RESOLVED Comment_Assignment_Subtype = 5 305 // A resolved assignment was reopened. 306 Comment_Assignment_REOPENED Comment_Assignment_Subtype = 6 307 // An assignment was reassigned. 308 Comment_Assignment_REASSIGNED Comment_Assignment_Subtype = 7 309) 310 311// Enum value maps for Comment_Assignment_Subtype. 312var ( 313 Comment_Assignment_Subtype_name = map[int32]string{ 314 0: "SUBTYPE_UNSPECIFIED", 315 1: "ADDED", 316 2: "DELETED", 317 3: "REPLY_ADDED", 318 4: "REPLY_DELETED", 319 5: "RESOLVED", 320 6: "REOPENED", 321 7: "REASSIGNED", 322 } 323 Comment_Assignment_Subtype_value = map[string]int32{ 324 "SUBTYPE_UNSPECIFIED": 0, 325 "ADDED": 1, 326 "DELETED": 2, 327 "REPLY_ADDED": 3, 328 "REPLY_DELETED": 4, 329 "RESOLVED": 5, 330 "REOPENED": 6, 331 "REASSIGNED": 7, 332 } 333) 334 335func (x Comment_Assignment_Subtype) Enum() *Comment_Assignment_Subtype { 336 p := new(Comment_Assignment_Subtype) 337 *p = x 338 return p 339} 340 341func (x Comment_Assignment_Subtype) String() string { 342 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 343} 344 345func (Comment_Assignment_Subtype) Descriptor() protoreflect.EnumDescriptor { 346 return file_google_apps_drive_activity_v2_action_proto_enumTypes[4].Descriptor() 347} 348 349func (Comment_Assignment_Subtype) Type() protoreflect.EnumType { 350 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[4] 351} 352 353func (x Comment_Assignment_Subtype) Number() protoreflect.EnumNumber { 354 return protoreflect.EnumNumber(x) 355} 356 357// Deprecated: Use Comment_Assignment_Subtype.Descriptor instead. 358func (Comment_Assignment_Subtype) EnumDescriptor() ([]byte, []int) { 359 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{10, 1, 0} 360} 361 362// More detailed information about the change. 363type Comment_Suggestion_Subtype int32 364 365const ( 366 // Subtype not available. 367 Comment_Suggestion_SUBTYPE_UNSPECIFIED Comment_Suggestion_Subtype = 0 368 // A suggestion was added. 369 Comment_Suggestion_ADDED Comment_Suggestion_Subtype = 1 370 // A suggestion was deleted. 371 Comment_Suggestion_DELETED Comment_Suggestion_Subtype = 2 372 // A suggestion reply was added. 373 Comment_Suggestion_REPLY_ADDED Comment_Suggestion_Subtype = 3 374 // A suggestion reply was deleted. 375 Comment_Suggestion_REPLY_DELETED Comment_Suggestion_Subtype = 4 376 // A suggestion was accepted. 377 Comment_Suggestion_ACCEPTED Comment_Suggestion_Subtype = 7 378 // A suggestion was rejected. 379 Comment_Suggestion_REJECTED Comment_Suggestion_Subtype = 8 380 // An accepted suggestion was deleted. 381 Comment_Suggestion_ACCEPT_DELETED Comment_Suggestion_Subtype = 9 382 // A rejected suggestion was deleted. 383 Comment_Suggestion_REJECT_DELETED Comment_Suggestion_Subtype = 10 384) 385 386// Enum value maps for Comment_Suggestion_Subtype. 387var ( 388 Comment_Suggestion_Subtype_name = map[int32]string{ 389 0: "SUBTYPE_UNSPECIFIED", 390 1: "ADDED", 391 2: "DELETED", 392 3: "REPLY_ADDED", 393 4: "REPLY_DELETED", 394 7: "ACCEPTED", 395 8: "REJECTED", 396 9: "ACCEPT_DELETED", 397 10: "REJECT_DELETED", 398 } 399 Comment_Suggestion_Subtype_value = map[string]int32{ 400 "SUBTYPE_UNSPECIFIED": 0, 401 "ADDED": 1, 402 "DELETED": 2, 403 "REPLY_ADDED": 3, 404 "REPLY_DELETED": 4, 405 "ACCEPTED": 7, 406 "REJECTED": 8, 407 "ACCEPT_DELETED": 9, 408 "REJECT_DELETED": 10, 409 } 410) 411 412func (x Comment_Suggestion_Subtype) Enum() *Comment_Suggestion_Subtype { 413 p := new(Comment_Suggestion_Subtype) 414 *p = x 415 return p 416} 417 418func (x Comment_Suggestion_Subtype) String() string { 419 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 420} 421 422func (Comment_Suggestion_Subtype) Descriptor() protoreflect.EnumDescriptor { 423 return file_google_apps_drive_activity_v2_action_proto_enumTypes[5].Descriptor() 424} 425 426func (Comment_Suggestion_Subtype) Type() protoreflect.EnumType { 427 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[5] 428} 429 430func (x Comment_Suggestion_Subtype) Number() protoreflect.EnumNumber { 431 return protoreflect.EnumNumber(x) 432} 433 434// Deprecated: Use Comment_Suggestion_Subtype.Descriptor instead. 435func (Comment_Suggestion_Subtype) EnumDescriptor() ([]byte, []int) { 436 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{10, 2, 0} 437} 438 439// The type of the change. 440type DataLeakPreventionChange_Type int32 441 442const ( 443 // An update to the DLP state that is neither FLAGGED or CLEARED. 444 DataLeakPreventionChange_TYPE_UNSPECIFIED DataLeakPreventionChange_Type = 0 445 // Document has been flagged as containing sensitive content. 446 DataLeakPreventionChange_FLAGGED DataLeakPreventionChange_Type = 1 447 // Document is no longer flagged as containing sensitive content. 448 DataLeakPreventionChange_CLEARED DataLeakPreventionChange_Type = 2 449) 450 451// Enum value maps for DataLeakPreventionChange_Type. 452var ( 453 DataLeakPreventionChange_Type_name = map[int32]string{ 454 0: "TYPE_UNSPECIFIED", 455 1: "FLAGGED", 456 2: "CLEARED", 457 } 458 DataLeakPreventionChange_Type_value = map[string]int32{ 459 "TYPE_UNSPECIFIED": 0, 460 "FLAGGED": 1, 461 "CLEARED": 2, 462 } 463) 464 465func (x DataLeakPreventionChange_Type) Enum() *DataLeakPreventionChange_Type { 466 p := new(DataLeakPreventionChange_Type) 467 *p = x 468 return p 469} 470 471func (x DataLeakPreventionChange_Type) String() string { 472 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 473} 474 475func (DataLeakPreventionChange_Type) Descriptor() protoreflect.EnumDescriptor { 476 return file_google_apps_drive_activity_v2_action_proto_enumTypes[6].Descriptor() 477} 478 479func (DataLeakPreventionChange_Type) Type() protoreflect.EnumType { 480 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[6] 481} 482 483func (x DataLeakPreventionChange_Type) Number() protoreflect.EnumNumber { 484 return protoreflect.EnumNumber(x) 485} 486 487// Deprecated: Use DataLeakPreventionChange_Type.Descriptor instead. 488func (DataLeakPreventionChange_Type) EnumDescriptor() ([]byte, []int) { 489 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{11, 0} 490} 491 492// The type of the action. 493type ApplicationReference_Type int32 494 495const ( 496 // The type is not available. 497 ApplicationReference_UNSPECIFIED_REFERENCE_TYPE ApplicationReference_Type = 0 498 // The links of one or more Drive items were posted. 499 ApplicationReference_LINK ApplicationReference_Type = 1 500 // Comments were made regarding a Drive item. 501 ApplicationReference_DISCUSS ApplicationReference_Type = 2 502) 503 504// Enum value maps for ApplicationReference_Type. 505var ( 506 ApplicationReference_Type_name = map[int32]string{ 507 0: "UNSPECIFIED_REFERENCE_TYPE", 508 1: "LINK", 509 2: "DISCUSS", 510 } 511 ApplicationReference_Type_value = map[string]int32{ 512 "UNSPECIFIED_REFERENCE_TYPE": 0, 513 "LINK": 1, 514 "DISCUSS": 2, 515 } 516) 517 518func (x ApplicationReference_Type) Enum() *ApplicationReference_Type { 519 p := new(ApplicationReference_Type) 520 *p = x 521 return p 522} 523 524func (x ApplicationReference_Type) String() string { 525 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 526} 527 528func (ApplicationReference_Type) Descriptor() protoreflect.EnumDescriptor { 529 return file_google_apps_drive_activity_v2_action_proto_enumTypes[7].Descriptor() 530} 531 532func (ApplicationReference_Type) Type() protoreflect.EnumType { 533 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[7] 534} 535 536func (x ApplicationReference_Type) Number() protoreflect.EnumNumber { 537 return protoreflect.EnumNumber(x) 538} 539 540// Deprecated: Use ApplicationReference_Type.Descriptor instead. 541func (ApplicationReference_Type) EnumDescriptor() ([]byte, []int) { 542 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{12, 0} 543} 544 545// The feature which had changes to its restriction policy. 546type SettingsChange_RestrictionChange_Feature int32 547 548const ( 549 // The feature which changed restriction settings was not available. 550 SettingsChange_RestrictionChange_FEATURE_UNSPECIFIED SettingsChange_RestrictionChange_Feature = 0 551 // When restricted, this prevents items from being shared outside the 552 // domain. 553 SettingsChange_RestrictionChange_SHARING_OUTSIDE_DOMAIN SettingsChange_RestrictionChange_Feature = 1 554 // When restricted, this prevents direct sharing of individual items. 555 SettingsChange_RestrictionChange_DIRECT_SHARING SettingsChange_RestrictionChange_Feature = 2 556 // When restricted, this prevents actions like copy, download, and print 557 // that might result in uncontrolled duplicates of items. 558 SettingsChange_RestrictionChange_ITEM_DUPLICATION SettingsChange_RestrictionChange_Feature = 3 559 // When restricted, this prevents use of Drive File Stream. 560 SettingsChange_RestrictionChange_DRIVE_FILE_STREAM SettingsChange_RestrictionChange_Feature = 4 561) 562 563// Enum value maps for SettingsChange_RestrictionChange_Feature. 564var ( 565 SettingsChange_RestrictionChange_Feature_name = map[int32]string{ 566 0: "FEATURE_UNSPECIFIED", 567 1: "SHARING_OUTSIDE_DOMAIN", 568 2: "DIRECT_SHARING", 569 3: "ITEM_DUPLICATION", 570 4: "DRIVE_FILE_STREAM", 571 } 572 SettingsChange_RestrictionChange_Feature_value = map[string]int32{ 573 "FEATURE_UNSPECIFIED": 0, 574 "SHARING_OUTSIDE_DOMAIN": 1, 575 "DIRECT_SHARING": 2, 576 "ITEM_DUPLICATION": 3, 577 "DRIVE_FILE_STREAM": 4, 578 } 579) 580 581func (x SettingsChange_RestrictionChange_Feature) Enum() *SettingsChange_RestrictionChange_Feature { 582 p := new(SettingsChange_RestrictionChange_Feature) 583 *p = x 584 return p 585} 586 587func (x SettingsChange_RestrictionChange_Feature) String() string { 588 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 589} 590 591func (SettingsChange_RestrictionChange_Feature) Descriptor() protoreflect.EnumDescriptor { 592 return file_google_apps_drive_activity_v2_action_proto_enumTypes[8].Descriptor() 593} 594 595func (SettingsChange_RestrictionChange_Feature) Type() protoreflect.EnumType { 596 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[8] 597} 598 599func (x SettingsChange_RestrictionChange_Feature) Number() protoreflect.EnumNumber { 600 return protoreflect.EnumNumber(x) 601} 602 603// Deprecated: Use SettingsChange_RestrictionChange_Feature.Descriptor instead. 604func (SettingsChange_RestrictionChange_Feature) EnumDescriptor() ([]byte, []int) { 605 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{13, 0, 0} 606} 607 608// The restriction applicable to a feature. 609type SettingsChange_RestrictionChange_Restriction int32 610 611const ( 612 // The type of restriction is not available. 613 SettingsChange_RestrictionChange_RESTRICTION_UNSPECIFIED SettingsChange_RestrictionChange_Restriction = 0 614 // The feature is available without restriction. 615 SettingsChange_RestrictionChange_UNRESTRICTED SettingsChange_RestrictionChange_Restriction = 1 616 // The use of this feature is fully restricted. 617 SettingsChange_RestrictionChange_FULLY_RESTRICTED SettingsChange_RestrictionChange_Restriction = 2 618) 619 620// Enum value maps for SettingsChange_RestrictionChange_Restriction. 621var ( 622 SettingsChange_RestrictionChange_Restriction_name = map[int32]string{ 623 0: "RESTRICTION_UNSPECIFIED", 624 1: "UNRESTRICTED", 625 2: "FULLY_RESTRICTED", 626 } 627 SettingsChange_RestrictionChange_Restriction_value = map[string]int32{ 628 "RESTRICTION_UNSPECIFIED": 0, 629 "UNRESTRICTED": 1, 630 "FULLY_RESTRICTED": 2, 631 } 632) 633 634func (x SettingsChange_RestrictionChange_Restriction) Enum() *SettingsChange_RestrictionChange_Restriction { 635 p := new(SettingsChange_RestrictionChange_Restriction) 636 *p = x 637 return p 638} 639 640func (x SettingsChange_RestrictionChange_Restriction) String() string { 641 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 642} 643 644func (SettingsChange_RestrictionChange_Restriction) Descriptor() protoreflect.EnumDescriptor { 645 return file_google_apps_drive_activity_v2_action_proto_enumTypes[9].Descriptor() 646} 647 648func (SettingsChange_RestrictionChange_Restriction) Type() protoreflect.EnumType { 649 return &file_google_apps_drive_activity_v2_action_proto_enumTypes[9] 650} 651 652func (x SettingsChange_RestrictionChange_Restriction) Number() protoreflect.EnumNumber { 653 return protoreflect.EnumNumber(x) 654} 655 656// Deprecated: Use SettingsChange_RestrictionChange_Restriction.Descriptor instead. 657func (SettingsChange_RestrictionChange_Restriction) EnumDescriptor() ([]byte, []int) { 658 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{13, 0, 1} 659} 660 661// Information about the action. 662type Action struct { 663 state protoimpl.MessageState 664 sizeCache protoimpl.SizeCache 665 unknownFields protoimpl.UnknownFields 666 667 // The type and detailed information about the action. 668 Detail *ActionDetail `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` 669 // The actor responsible for this action (or empty if all actors are 670 // responsible). 671 Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"` 672 // The target this action affects (or empty if affecting all targets). This 673 // represents the state of the target immediately after this action occurred. 674 Target *Target `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"` 675 // When the action occurred (or empty if same time as entire activity). 676 // 677 // Types that are assignable to Time: 678 // *Action_Timestamp 679 // *Action_TimeRange 680 Time isAction_Time `protobuf_oneof:"time"` 681} 682 683func (x *Action) Reset() { 684 *x = Action{} 685 if protoimpl.UnsafeEnabled { 686 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[0] 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 688 ms.StoreMessageInfo(mi) 689 } 690} 691 692func (x *Action) String() string { 693 return protoimpl.X.MessageStringOf(x) 694} 695 696func (*Action) ProtoMessage() {} 697 698func (x *Action) ProtoReflect() protoreflect.Message { 699 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[0] 700 if protoimpl.UnsafeEnabled && x != nil { 701 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 702 if ms.LoadMessageInfo() == nil { 703 ms.StoreMessageInfo(mi) 704 } 705 return ms 706 } 707 return mi.MessageOf(x) 708} 709 710// Deprecated: Use Action.ProtoReflect.Descriptor instead. 711func (*Action) Descriptor() ([]byte, []int) { 712 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{0} 713} 714 715func (x *Action) GetDetail() *ActionDetail { 716 if x != nil { 717 return x.Detail 718 } 719 return nil 720} 721 722func (x *Action) GetActor() *Actor { 723 if x != nil { 724 return x.Actor 725 } 726 return nil 727} 728 729func (x *Action) GetTarget() *Target { 730 if x != nil { 731 return x.Target 732 } 733 return nil 734} 735 736func (m *Action) GetTime() isAction_Time { 737 if m != nil { 738 return m.Time 739 } 740 return nil 741} 742 743func (x *Action) GetTimestamp() *timestamppb.Timestamp { 744 if x, ok := x.GetTime().(*Action_Timestamp); ok { 745 return x.Timestamp 746 } 747 return nil 748} 749 750func (x *Action) GetTimeRange() *TimeRange { 751 if x, ok := x.GetTime().(*Action_TimeRange); ok { 752 return x.TimeRange 753 } 754 return nil 755} 756 757type isAction_Time interface { 758 isAction_Time() 759} 760 761type Action_Timestamp struct { 762 // The action occurred at this specific time. 763 Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3,oneof"` 764} 765 766type Action_TimeRange struct { 767 // The action occurred over this time range. 768 TimeRange *TimeRange `protobuf:"bytes,6,opt,name=time_range,json=timeRange,proto3,oneof"` 769} 770 771func (*Action_Timestamp) isAction_Time() {} 772 773func (*Action_TimeRange) isAction_Time() {} 774 775// Data describing the type and additional information of an action. 776type ActionDetail struct { 777 state protoimpl.MessageState 778 sizeCache protoimpl.SizeCache 779 unknownFields protoimpl.UnknownFields 780 781 // Data describing the type and additional information of an action. 782 // 783 // Types that are assignable to ActionDetail: 784 // *ActionDetail_Create 785 // *ActionDetail_Edit 786 // *ActionDetail_Move 787 // *ActionDetail_Rename 788 // *ActionDetail_Delete 789 // *ActionDetail_Restore 790 // *ActionDetail_PermissionChange 791 // *ActionDetail_Comment 792 // *ActionDetail_DlpChange 793 // *ActionDetail_Reference 794 // *ActionDetail_SettingsChange 795 ActionDetail isActionDetail_ActionDetail `protobuf_oneof:"action_detail"` 796} 797 798func (x *ActionDetail) Reset() { 799 *x = ActionDetail{} 800 if protoimpl.UnsafeEnabled { 801 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[1] 802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 803 ms.StoreMessageInfo(mi) 804 } 805} 806 807func (x *ActionDetail) String() string { 808 return protoimpl.X.MessageStringOf(x) 809} 810 811func (*ActionDetail) ProtoMessage() {} 812 813func (x *ActionDetail) ProtoReflect() protoreflect.Message { 814 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[1] 815 if protoimpl.UnsafeEnabled && x != nil { 816 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 817 if ms.LoadMessageInfo() == nil { 818 ms.StoreMessageInfo(mi) 819 } 820 return ms 821 } 822 return mi.MessageOf(x) 823} 824 825// Deprecated: Use ActionDetail.ProtoReflect.Descriptor instead. 826func (*ActionDetail) Descriptor() ([]byte, []int) { 827 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{1} 828} 829 830func (m *ActionDetail) GetActionDetail() isActionDetail_ActionDetail { 831 if m != nil { 832 return m.ActionDetail 833 } 834 return nil 835} 836 837func (x *ActionDetail) GetCreate() *Create { 838 if x, ok := x.GetActionDetail().(*ActionDetail_Create); ok { 839 return x.Create 840 } 841 return nil 842} 843 844func (x *ActionDetail) GetEdit() *Edit { 845 if x, ok := x.GetActionDetail().(*ActionDetail_Edit); ok { 846 return x.Edit 847 } 848 return nil 849} 850 851func (x *ActionDetail) GetMove() *Move { 852 if x, ok := x.GetActionDetail().(*ActionDetail_Move); ok { 853 return x.Move 854 } 855 return nil 856} 857 858func (x *ActionDetail) GetRename() *Rename { 859 if x, ok := x.GetActionDetail().(*ActionDetail_Rename); ok { 860 return x.Rename 861 } 862 return nil 863} 864 865func (x *ActionDetail) GetDelete() *Delete { 866 if x, ok := x.GetActionDetail().(*ActionDetail_Delete); ok { 867 return x.Delete 868 } 869 return nil 870} 871 872func (x *ActionDetail) GetRestore() *Restore { 873 if x, ok := x.GetActionDetail().(*ActionDetail_Restore); ok { 874 return x.Restore 875 } 876 return nil 877} 878 879func (x *ActionDetail) GetPermissionChange() *PermissionChange { 880 if x, ok := x.GetActionDetail().(*ActionDetail_PermissionChange); ok { 881 return x.PermissionChange 882 } 883 return nil 884} 885 886func (x *ActionDetail) GetComment() *Comment { 887 if x, ok := x.GetActionDetail().(*ActionDetail_Comment); ok { 888 return x.Comment 889 } 890 return nil 891} 892 893func (x *ActionDetail) GetDlpChange() *DataLeakPreventionChange { 894 if x, ok := x.GetActionDetail().(*ActionDetail_DlpChange); ok { 895 return x.DlpChange 896 } 897 return nil 898} 899 900func (x *ActionDetail) GetReference() *ApplicationReference { 901 if x, ok := x.GetActionDetail().(*ActionDetail_Reference); ok { 902 return x.Reference 903 } 904 return nil 905} 906 907func (x *ActionDetail) GetSettingsChange() *SettingsChange { 908 if x, ok := x.GetActionDetail().(*ActionDetail_SettingsChange); ok { 909 return x.SettingsChange 910 } 911 return nil 912} 913 914type isActionDetail_ActionDetail interface { 915 isActionDetail_ActionDetail() 916} 917 918type ActionDetail_Create struct { 919 // An object was created. 920 Create *Create `protobuf:"bytes,1,opt,name=create,proto3,oneof"` 921} 922 923type ActionDetail_Edit struct { 924 // An object was edited. 925 Edit *Edit `protobuf:"bytes,2,opt,name=edit,proto3,oneof"` 926} 927 928type ActionDetail_Move struct { 929 // An object was moved. 930 Move *Move `protobuf:"bytes,3,opt,name=move,proto3,oneof"` 931} 932 933type ActionDetail_Rename struct { 934 // An object was renamed. 935 Rename *Rename `protobuf:"bytes,4,opt,name=rename,proto3,oneof"` 936} 937 938type ActionDetail_Delete struct { 939 // An object was deleted. 940 Delete *Delete `protobuf:"bytes,5,opt,name=delete,proto3,oneof"` 941} 942 943type ActionDetail_Restore struct { 944 // A deleted object was restored. 945 Restore *Restore `protobuf:"bytes,6,opt,name=restore,proto3,oneof"` 946} 947 948type ActionDetail_PermissionChange struct { 949 // The permission on an object was changed. 950 PermissionChange *PermissionChange `protobuf:"bytes,7,opt,name=permission_change,json=permissionChange,proto3,oneof"` 951} 952 953type ActionDetail_Comment struct { 954 // A change about comments was made. 955 Comment *Comment `protobuf:"bytes,8,opt,name=comment,proto3,oneof"` 956} 957 958type ActionDetail_DlpChange struct { 959 // A change happened in data leak prevention status. 960 DlpChange *DataLeakPreventionChange `protobuf:"bytes,9,opt,name=dlp_change,json=dlpChange,proto3,oneof"` 961} 962 963type ActionDetail_Reference struct { 964 // An object was referenced in an application outside of Drive/Docs. 965 Reference *ApplicationReference `protobuf:"bytes,12,opt,name=reference,proto3,oneof"` 966} 967 968type ActionDetail_SettingsChange struct { 969 // Settings were changed. 970 SettingsChange *SettingsChange `protobuf:"bytes,13,opt,name=settings_change,json=settingsChange,proto3,oneof"` 971} 972 973func (*ActionDetail_Create) isActionDetail_ActionDetail() {} 974 975func (*ActionDetail_Edit) isActionDetail_ActionDetail() {} 976 977func (*ActionDetail_Move) isActionDetail_ActionDetail() {} 978 979func (*ActionDetail_Rename) isActionDetail_ActionDetail() {} 980 981func (*ActionDetail_Delete) isActionDetail_ActionDetail() {} 982 983func (*ActionDetail_Restore) isActionDetail_ActionDetail() {} 984 985func (*ActionDetail_PermissionChange) isActionDetail_ActionDetail() {} 986 987func (*ActionDetail_Comment) isActionDetail_ActionDetail() {} 988 989func (*ActionDetail_DlpChange) isActionDetail_ActionDetail() {} 990 991func (*ActionDetail_Reference) isActionDetail_ActionDetail() {} 992 993func (*ActionDetail_SettingsChange) isActionDetail_ActionDetail() {} 994 995// An object was created. 996type Create struct { 997 state protoimpl.MessageState 998 sizeCache protoimpl.SizeCache 999 unknownFields protoimpl.UnknownFields 1000 1001 // The origin of the new object. 1002 // 1003 // Types that are assignable to Origin: 1004 // *Create_New_ 1005 // *Create_Upload_ 1006 // *Create_Copy_ 1007 Origin isCreate_Origin `protobuf_oneof:"origin"` 1008} 1009 1010func (x *Create) Reset() { 1011 *x = Create{} 1012 if protoimpl.UnsafeEnabled { 1013 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[2] 1014 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1015 ms.StoreMessageInfo(mi) 1016 } 1017} 1018 1019func (x *Create) String() string { 1020 return protoimpl.X.MessageStringOf(x) 1021} 1022 1023func (*Create) ProtoMessage() {} 1024 1025func (x *Create) ProtoReflect() protoreflect.Message { 1026 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[2] 1027 if protoimpl.UnsafeEnabled && x != nil { 1028 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1029 if ms.LoadMessageInfo() == nil { 1030 ms.StoreMessageInfo(mi) 1031 } 1032 return ms 1033 } 1034 return mi.MessageOf(x) 1035} 1036 1037// Deprecated: Use Create.ProtoReflect.Descriptor instead. 1038func (*Create) Descriptor() ([]byte, []int) { 1039 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{2} 1040} 1041 1042func (m *Create) GetOrigin() isCreate_Origin { 1043 if m != nil { 1044 return m.Origin 1045 } 1046 return nil 1047} 1048 1049func (x *Create) GetNew() *Create_New { 1050 if x, ok := x.GetOrigin().(*Create_New_); ok { 1051 return x.New 1052 } 1053 return nil 1054} 1055 1056func (x *Create) GetUpload() *Create_Upload { 1057 if x, ok := x.GetOrigin().(*Create_Upload_); ok { 1058 return x.Upload 1059 } 1060 return nil 1061} 1062 1063func (x *Create) GetCopy() *Create_Copy { 1064 if x, ok := x.GetOrigin().(*Create_Copy_); ok { 1065 return x.Copy 1066 } 1067 return nil 1068} 1069 1070type isCreate_Origin interface { 1071 isCreate_Origin() 1072} 1073 1074type Create_New_ struct { 1075 // If present, indicates the object was newly created (e.g. as a blank 1076 // document), not derived from a Drive object or external object. 1077 New *Create_New `protobuf:"bytes,1,opt,name=new,proto3,oneof"` 1078} 1079 1080type Create_Upload_ struct { 1081 // If present, indicates the object originated externally and was uploaded 1082 // to Drive. 1083 Upload *Create_Upload `protobuf:"bytes,2,opt,name=upload,proto3,oneof"` 1084} 1085 1086type Create_Copy_ struct { 1087 // If present, indicates the object was created by copying an existing Drive 1088 // object. 1089 Copy *Create_Copy `protobuf:"bytes,3,opt,name=copy,proto3,oneof"` 1090} 1091 1092func (*Create_New_) isCreate_Origin() {} 1093 1094func (*Create_Upload_) isCreate_Origin() {} 1095 1096func (*Create_Copy_) isCreate_Origin() {} 1097 1098// An empty message indicating an object was edited. 1099type Edit struct { 1100 state protoimpl.MessageState 1101 sizeCache protoimpl.SizeCache 1102 unknownFields protoimpl.UnknownFields 1103} 1104 1105func (x *Edit) Reset() { 1106 *x = Edit{} 1107 if protoimpl.UnsafeEnabled { 1108 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[3] 1109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1110 ms.StoreMessageInfo(mi) 1111 } 1112} 1113 1114func (x *Edit) String() string { 1115 return protoimpl.X.MessageStringOf(x) 1116} 1117 1118func (*Edit) ProtoMessage() {} 1119 1120func (x *Edit) ProtoReflect() protoreflect.Message { 1121 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[3] 1122 if protoimpl.UnsafeEnabled && x != nil { 1123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1124 if ms.LoadMessageInfo() == nil { 1125 ms.StoreMessageInfo(mi) 1126 } 1127 return ms 1128 } 1129 return mi.MessageOf(x) 1130} 1131 1132// Deprecated: Use Edit.ProtoReflect.Descriptor instead. 1133func (*Edit) Descriptor() ([]byte, []int) { 1134 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{3} 1135} 1136 1137// An object was moved. 1138type Move struct { 1139 state protoimpl.MessageState 1140 sizeCache protoimpl.SizeCache 1141 unknownFields protoimpl.UnknownFields 1142 1143 // The added parent object(s). 1144 AddedParents []*TargetReference `protobuf:"bytes,1,rep,name=added_parents,json=addedParents,proto3" json:"added_parents,omitempty"` 1145 // The removed parent object(s). 1146 RemovedParents []*TargetReference `protobuf:"bytes,2,rep,name=removed_parents,json=removedParents,proto3" json:"removed_parents,omitempty"` 1147} 1148 1149func (x *Move) Reset() { 1150 *x = Move{} 1151 if protoimpl.UnsafeEnabled { 1152 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[4] 1153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1154 ms.StoreMessageInfo(mi) 1155 } 1156} 1157 1158func (x *Move) String() string { 1159 return protoimpl.X.MessageStringOf(x) 1160} 1161 1162func (*Move) ProtoMessage() {} 1163 1164func (x *Move) ProtoReflect() protoreflect.Message { 1165 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[4] 1166 if protoimpl.UnsafeEnabled && x != nil { 1167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1168 if ms.LoadMessageInfo() == nil { 1169 ms.StoreMessageInfo(mi) 1170 } 1171 return ms 1172 } 1173 return mi.MessageOf(x) 1174} 1175 1176// Deprecated: Use Move.ProtoReflect.Descriptor instead. 1177func (*Move) Descriptor() ([]byte, []int) { 1178 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{4} 1179} 1180 1181func (x *Move) GetAddedParents() []*TargetReference { 1182 if x != nil { 1183 return x.AddedParents 1184 } 1185 return nil 1186} 1187 1188func (x *Move) GetRemovedParents() []*TargetReference { 1189 if x != nil { 1190 return x.RemovedParents 1191 } 1192 return nil 1193} 1194 1195// An object was renamed. 1196type Rename struct { 1197 state protoimpl.MessageState 1198 sizeCache protoimpl.SizeCache 1199 unknownFields protoimpl.UnknownFields 1200 1201 // The previous title of the drive object. 1202 OldTitle string `protobuf:"bytes,1,opt,name=old_title,json=oldTitle,proto3" json:"old_title,omitempty"` 1203 // The new title of the drive object. 1204 NewTitle string `protobuf:"bytes,2,opt,name=new_title,json=newTitle,proto3" json:"new_title,omitempty"` 1205} 1206 1207func (x *Rename) Reset() { 1208 *x = Rename{} 1209 if protoimpl.UnsafeEnabled { 1210 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[5] 1211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1212 ms.StoreMessageInfo(mi) 1213 } 1214} 1215 1216func (x *Rename) String() string { 1217 return protoimpl.X.MessageStringOf(x) 1218} 1219 1220func (*Rename) ProtoMessage() {} 1221 1222func (x *Rename) ProtoReflect() protoreflect.Message { 1223 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[5] 1224 if protoimpl.UnsafeEnabled && x != nil { 1225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1226 if ms.LoadMessageInfo() == nil { 1227 ms.StoreMessageInfo(mi) 1228 } 1229 return ms 1230 } 1231 return mi.MessageOf(x) 1232} 1233 1234// Deprecated: Use Rename.ProtoReflect.Descriptor instead. 1235func (*Rename) Descriptor() ([]byte, []int) { 1236 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{5} 1237} 1238 1239func (x *Rename) GetOldTitle() string { 1240 if x != nil { 1241 return x.OldTitle 1242 } 1243 return "" 1244} 1245 1246func (x *Rename) GetNewTitle() string { 1247 if x != nil { 1248 return x.NewTitle 1249 } 1250 return "" 1251} 1252 1253// An object was deleted. 1254type Delete struct { 1255 state protoimpl.MessageState 1256 sizeCache protoimpl.SizeCache 1257 unknownFields protoimpl.UnknownFields 1258 1259 // The type of delete action taken. 1260 Type Delete_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.Delete_Type" json:"type,omitempty"` 1261} 1262 1263func (x *Delete) Reset() { 1264 *x = Delete{} 1265 if protoimpl.UnsafeEnabled { 1266 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[6] 1267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1268 ms.StoreMessageInfo(mi) 1269 } 1270} 1271 1272func (x *Delete) String() string { 1273 return protoimpl.X.MessageStringOf(x) 1274} 1275 1276func (*Delete) ProtoMessage() {} 1277 1278func (x *Delete) ProtoReflect() protoreflect.Message { 1279 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[6] 1280 if protoimpl.UnsafeEnabled && x != nil { 1281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1282 if ms.LoadMessageInfo() == nil { 1283 ms.StoreMessageInfo(mi) 1284 } 1285 return ms 1286 } 1287 return mi.MessageOf(x) 1288} 1289 1290// Deprecated: Use Delete.ProtoReflect.Descriptor instead. 1291func (*Delete) Descriptor() ([]byte, []int) { 1292 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{6} 1293} 1294 1295func (x *Delete) GetType() Delete_Type { 1296 if x != nil { 1297 return x.Type 1298 } 1299 return Delete_TYPE_UNSPECIFIED 1300} 1301 1302// A deleted object was restored. 1303type Restore struct { 1304 state protoimpl.MessageState 1305 sizeCache protoimpl.SizeCache 1306 unknownFields protoimpl.UnknownFields 1307 1308 // The type of restore action taken. 1309 Type Restore_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.Restore_Type" json:"type,omitempty"` 1310} 1311 1312func (x *Restore) Reset() { 1313 *x = Restore{} 1314 if protoimpl.UnsafeEnabled { 1315 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[7] 1316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1317 ms.StoreMessageInfo(mi) 1318 } 1319} 1320 1321func (x *Restore) String() string { 1322 return protoimpl.X.MessageStringOf(x) 1323} 1324 1325func (*Restore) ProtoMessage() {} 1326 1327func (x *Restore) ProtoReflect() protoreflect.Message { 1328 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[7] 1329 if protoimpl.UnsafeEnabled && x != nil { 1330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1331 if ms.LoadMessageInfo() == nil { 1332 ms.StoreMessageInfo(mi) 1333 } 1334 return ms 1335 } 1336 return mi.MessageOf(x) 1337} 1338 1339// Deprecated: Use Restore.ProtoReflect.Descriptor instead. 1340func (*Restore) Descriptor() ([]byte, []int) { 1341 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{7} 1342} 1343 1344func (x *Restore) GetType() Restore_Type { 1345 if x != nil { 1346 return x.Type 1347 } 1348 return Restore_TYPE_UNSPECIFIED 1349} 1350 1351// A change of the permission setting on an item. 1352type PermissionChange struct { 1353 state protoimpl.MessageState 1354 sizeCache protoimpl.SizeCache 1355 unknownFields protoimpl.UnknownFields 1356 1357 // The set of permissions added by this change. 1358 AddedPermissions []*Permission `protobuf:"bytes,1,rep,name=added_permissions,json=addedPermissions,proto3" json:"added_permissions,omitempty"` 1359 // The set of permissions removed by this change. 1360 RemovedPermissions []*Permission `protobuf:"bytes,2,rep,name=removed_permissions,json=removedPermissions,proto3" json:"removed_permissions,omitempty"` 1361} 1362 1363func (x *PermissionChange) Reset() { 1364 *x = PermissionChange{} 1365 if protoimpl.UnsafeEnabled { 1366 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[8] 1367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1368 ms.StoreMessageInfo(mi) 1369 } 1370} 1371 1372func (x *PermissionChange) String() string { 1373 return protoimpl.X.MessageStringOf(x) 1374} 1375 1376func (*PermissionChange) ProtoMessage() {} 1377 1378func (x *PermissionChange) ProtoReflect() protoreflect.Message { 1379 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[8] 1380 if protoimpl.UnsafeEnabled && x != nil { 1381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1382 if ms.LoadMessageInfo() == nil { 1383 ms.StoreMessageInfo(mi) 1384 } 1385 return ms 1386 } 1387 return mi.MessageOf(x) 1388} 1389 1390// Deprecated: Use PermissionChange.ProtoReflect.Descriptor instead. 1391func (*PermissionChange) Descriptor() ([]byte, []int) { 1392 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{8} 1393} 1394 1395func (x *PermissionChange) GetAddedPermissions() []*Permission { 1396 if x != nil { 1397 return x.AddedPermissions 1398 } 1399 return nil 1400} 1401 1402func (x *PermissionChange) GetRemovedPermissions() []*Permission { 1403 if x != nil { 1404 return x.RemovedPermissions 1405 } 1406 return nil 1407} 1408 1409// The permission setting of an object. 1410type Permission struct { 1411 state protoimpl.MessageState 1412 sizeCache protoimpl.SizeCache 1413 unknownFields protoimpl.UnknownFields 1414 1415 // Indicates the 1416 // [Google Drive permissions 1417 // role](https://developers.google.com/drive/web/manage-sharing#roles). The 1418 // role determines a user's ability to read, write, and comment on items. 1419 Role Permission_Role `protobuf:"varint,1,opt,name=role,proto3,enum=google.apps.drive.activity.v2.Permission_Role" json:"role,omitempty"` 1420 // The entity granted the role. 1421 // 1422 // Types that are assignable to Scope: 1423 // *Permission_User 1424 // *Permission_Group 1425 // *Permission_Domain 1426 // *Permission_Anyone_ 1427 Scope isPermission_Scope `protobuf_oneof:"scope"` 1428 // If true, the item can be discovered (e.g. in the user's "Shared with me" 1429 // collection) without needing a link to the item. 1430 AllowDiscovery bool `protobuf:"varint,6,opt,name=allow_discovery,json=allowDiscovery,proto3" json:"allow_discovery,omitempty"` 1431} 1432 1433func (x *Permission) Reset() { 1434 *x = Permission{} 1435 if protoimpl.UnsafeEnabled { 1436 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[9] 1437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1438 ms.StoreMessageInfo(mi) 1439 } 1440} 1441 1442func (x *Permission) String() string { 1443 return protoimpl.X.MessageStringOf(x) 1444} 1445 1446func (*Permission) ProtoMessage() {} 1447 1448func (x *Permission) ProtoReflect() protoreflect.Message { 1449 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[9] 1450 if protoimpl.UnsafeEnabled && x != nil { 1451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1452 if ms.LoadMessageInfo() == nil { 1453 ms.StoreMessageInfo(mi) 1454 } 1455 return ms 1456 } 1457 return mi.MessageOf(x) 1458} 1459 1460// Deprecated: Use Permission.ProtoReflect.Descriptor instead. 1461func (*Permission) Descriptor() ([]byte, []int) { 1462 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{9} 1463} 1464 1465func (x *Permission) GetRole() Permission_Role { 1466 if x != nil { 1467 return x.Role 1468 } 1469 return Permission_ROLE_UNSPECIFIED 1470} 1471 1472func (m *Permission) GetScope() isPermission_Scope { 1473 if m != nil { 1474 return m.Scope 1475 } 1476 return nil 1477} 1478 1479func (x *Permission) GetUser() *User { 1480 if x, ok := x.GetScope().(*Permission_User); ok { 1481 return x.User 1482 } 1483 return nil 1484} 1485 1486func (x *Permission) GetGroup() *Group { 1487 if x, ok := x.GetScope().(*Permission_Group); ok { 1488 return x.Group 1489 } 1490 return nil 1491} 1492 1493func (x *Permission) GetDomain() *Domain { 1494 if x, ok := x.GetScope().(*Permission_Domain); ok { 1495 return x.Domain 1496 } 1497 return nil 1498} 1499 1500func (x *Permission) GetAnyone() *Permission_Anyone { 1501 if x, ok := x.GetScope().(*Permission_Anyone_); ok { 1502 return x.Anyone 1503 } 1504 return nil 1505} 1506 1507func (x *Permission) GetAllowDiscovery() bool { 1508 if x != nil { 1509 return x.AllowDiscovery 1510 } 1511 return false 1512} 1513 1514type isPermission_Scope interface { 1515 isPermission_Scope() 1516} 1517 1518type Permission_User struct { 1519 // The user to whom this permission applies. 1520 User *User `protobuf:"bytes,2,opt,name=user,proto3,oneof"` 1521} 1522 1523type Permission_Group struct { 1524 // The group to whom this permission applies. 1525 Group *Group `protobuf:"bytes,3,opt,name=group,proto3,oneof"` 1526} 1527 1528type Permission_Domain struct { 1529 // The domain to whom this permission applies. 1530 Domain *Domain `protobuf:"bytes,4,opt,name=domain,proto3,oneof"` 1531} 1532 1533type Permission_Anyone_ struct { 1534 // If set, this permission applies to anyone, even logged out users. 1535 Anyone *Permission_Anyone `protobuf:"bytes,5,opt,name=anyone,proto3,oneof"` 1536} 1537 1538func (*Permission_User) isPermission_Scope() {} 1539 1540func (*Permission_Group) isPermission_Scope() {} 1541 1542func (*Permission_Domain) isPermission_Scope() {} 1543 1544func (*Permission_Anyone_) isPermission_Scope() {} 1545 1546// A change about comments on an object. 1547type Comment struct { 1548 state protoimpl.MessageState 1549 sizeCache protoimpl.SizeCache 1550 unknownFields protoimpl.UnknownFields 1551 1552 // The type of changed comment. 1553 // 1554 // Types that are assignable to Type: 1555 // *Comment_Post_ 1556 // *Comment_Assignment_ 1557 // *Comment_Suggestion_ 1558 Type isComment_Type `protobuf_oneof:"type"` 1559 // Users who are mentioned in this comment. 1560 MentionedUsers []*User `protobuf:"bytes,7,rep,name=mentioned_users,json=mentionedUsers,proto3" json:"mentioned_users,omitempty"` 1561} 1562 1563func (x *Comment) Reset() { 1564 *x = Comment{} 1565 if protoimpl.UnsafeEnabled { 1566 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[10] 1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1568 ms.StoreMessageInfo(mi) 1569 } 1570} 1571 1572func (x *Comment) String() string { 1573 return protoimpl.X.MessageStringOf(x) 1574} 1575 1576func (*Comment) ProtoMessage() {} 1577 1578func (x *Comment) ProtoReflect() protoreflect.Message { 1579 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[10] 1580 if protoimpl.UnsafeEnabled && x != nil { 1581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1582 if ms.LoadMessageInfo() == nil { 1583 ms.StoreMessageInfo(mi) 1584 } 1585 return ms 1586 } 1587 return mi.MessageOf(x) 1588} 1589 1590// Deprecated: Use Comment.ProtoReflect.Descriptor instead. 1591func (*Comment) Descriptor() ([]byte, []int) { 1592 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{10} 1593} 1594 1595func (m *Comment) GetType() isComment_Type { 1596 if m != nil { 1597 return m.Type 1598 } 1599 return nil 1600} 1601 1602func (x *Comment) GetPost() *Comment_Post { 1603 if x, ok := x.GetType().(*Comment_Post_); ok { 1604 return x.Post 1605 } 1606 return nil 1607} 1608 1609func (x *Comment) GetAssignment() *Comment_Assignment { 1610 if x, ok := x.GetType().(*Comment_Assignment_); ok { 1611 return x.Assignment 1612 } 1613 return nil 1614} 1615 1616func (x *Comment) GetSuggestion() *Comment_Suggestion { 1617 if x, ok := x.GetType().(*Comment_Suggestion_); ok { 1618 return x.Suggestion 1619 } 1620 return nil 1621} 1622 1623func (x *Comment) GetMentionedUsers() []*User { 1624 if x != nil { 1625 return x.MentionedUsers 1626 } 1627 return nil 1628} 1629 1630type isComment_Type interface { 1631 isComment_Type() 1632} 1633 1634type Comment_Post_ struct { 1635 // A change on a regular posted comment. 1636 Post *Comment_Post `protobuf:"bytes,1,opt,name=post,proto3,oneof"` 1637} 1638 1639type Comment_Assignment_ struct { 1640 // A change on an assignment. 1641 Assignment *Comment_Assignment `protobuf:"bytes,2,opt,name=assignment,proto3,oneof"` 1642} 1643 1644type Comment_Suggestion_ struct { 1645 // A change on a suggestion. 1646 Suggestion *Comment_Suggestion `protobuf:"bytes,3,opt,name=suggestion,proto3,oneof"` 1647} 1648 1649func (*Comment_Post_) isComment_Type() {} 1650 1651func (*Comment_Assignment_) isComment_Type() {} 1652 1653func (*Comment_Suggestion_) isComment_Type() {} 1654 1655// A change in the object's data leak prevention status. 1656type DataLeakPreventionChange struct { 1657 state protoimpl.MessageState 1658 sizeCache protoimpl.SizeCache 1659 unknownFields protoimpl.UnknownFields 1660 1661 // The type of Data Leak Prevention (DLP) change. 1662 Type DataLeakPreventionChange_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.DataLeakPreventionChange_Type" json:"type,omitempty"` 1663} 1664 1665func (x *DataLeakPreventionChange) Reset() { 1666 *x = DataLeakPreventionChange{} 1667 if protoimpl.UnsafeEnabled { 1668 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[11] 1669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1670 ms.StoreMessageInfo(mi) 1671 } 1672} 1673 1674func (x *DataLeakPreventionChange) String() string { 1675 return protoimpl.X.MessageStringOf(x) 1676} 1677 1678func (*DataLeakPreventionChange) ProtoMessage() {} 1679 1680func (x *DataLeakPreventionChange) ProtoReflect() protoreflect.Message { 1681 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[11] 1682 if protoimpl.UnsafeEnabled && x != nil { 1683 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1684 if ms.LoadMessageInfo() == nil { 1685 ms.StoreMessageInfo(mi) 1686 } 1687 return ms 1688 } 1689 return mi.MessageOf(x) 1690} 1691 1692// Deprecated: Use DataLeakPreventionChange.ProtoReflect.Descriptor instead. 1693func (*DataLeakPreventionChange) Descriptor() ([]byte, []int) { 1694 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{11} 1695} 1696 1697func (x *DataLeakPreventionChange) GetType() DataLeakPreventionChange_Type { 1698 if x != nil { 1699 return x.Type 1700 } 1701 return DataLeakPreventionChange_TYPE_UNSPECIFIED 1702} 1703 1704// Activity in applications other than Drive. 1705type ApplicationReference struct { 1706 state protoimpl.MessageState 1707 sizeCache protoimpl.SizeCache 1708 unknownFields protoimpl.UnknownFields 1709 1710 // The reference type corresponding to this event. 1711 Type ApplicationReference_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.ApplicationReference_Type" json:"type,omitempty"` 1712} 1713 1714func (x *ApplicationReference) Reset() { 1715 *x = ApplicationReference{} 1716 if protoimpl.UnsafeEnabled { 1717 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[12] 1718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1719 ms.StoreMessageInfo(mi) 1720 } 1721} 1722 1723func (x *ApplicationReference) String() string { 1724 return protoimpl.X.MessageStringOf(x) 1725} 1726 1727func (*ApplicationReference) ProtoMessage() {} 1728 1729func (x *ApplicationReference) ProtoReflect() protoreflect.Message { 1730 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[12] 1731 if protoimpl.UnsafeEnabled && x != nil { 1732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1733 if ms.LoadMessageInfo() == nil { 1734 ms.StoreMessageInfo(mi) 1735 } 1736 return ms 1737 } 1738 return mi.MessageOf(x) 1739} 1740 1741// Deprecated: Use ApplicationReference.ProtoReflect.Descriptor instead. 1742func (*ApplicationReference) Descriptor() ([]byte, []int) { 1743 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{12} 1744} 1745 1746func (x *ApplicationReference) GetType() ApplicationReference_Type { 1747 if x != nil { 1748 return x.Type 1749 } 1750 return ApplicationReference_UNSPECIFIED_REFERENCE_TYPE 1751} 1752 1753// Information about settings changes. 1754type SettingsChange struct { 1755 state protoimpl.MessageState 1756 sizeCache protoimpl.SizeCache 1757 unknownFields protoimpl.UnknownFields 1758 1759 // The set of changes made to restrictions. 1760 RestrictionChanges []*SettingsChange_RestrictionChange `protobuf:"bytes,1,rep,name=restriction_changes,json=restrictionChanges,proto3" json:"restriction_changes,omitempty"` 1761} 1762 1763func (x *SettingsChange) Reset() { 1764 *x = SettingsChange{} 1765 if protoimpl.UnsafeEnabled { 1766 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[13] 1767 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1768 ms.StoreMessageInfo(mi) 1769 } 1770} 1771 1772func (x *SettingsChange) String() string { 1773 return protoimpl.X.MessageStringOf(x) 1774} 1775 1776func (*SettingsChange) ProtoMessage() {} 1777 1778func (x *SettingsChange) ProtoReflect() protoreflect.Message { 1779 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[13] 1780 if protoimpl.UnsafeEnabled && x != nil { 1781 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1782 if ms.LoadMessageInfo() == nil { 1783 ms.StoreMessageInfo(mi) 1784 } 1785 return ms 1786 } 1787 return mi.MessageOf(x) 1788} 1789 1790// Deprecated: Use SettingsChange.ProtoReflect.Descriptor instead. 1791func (*SettingsChange) Descriptor() ([]byte, []int) { 1792 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{13} 1793} 1794 1795func (x *SettingsChange) GetRestrictionChanges() []*SettingsChange_RestrictionChange { 1796 if x != nil { 1797 return x.RestrictionChanges 1798 } 1799 return nil 1800} 1801 1802// An object was created from scratch. 1803type Create_New struct { 1804 state protoimpl.MessageState 1805 sizeCache protoimpl.SizeCache 1806 unknownFields protoimpl.UnknownFields 1807} 1808 1809func (x *Create_New) Reset() { 1810 *x = Create_New{} 1811 if protoimpl.UnsafeEnabled { 1812 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[14] 1813 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1814 ms.StoreMessageInfo(mi) 1815 } 1816} 1817 1818func (x *Create_New) String() string { 1819 return protoimpl.X.MessageStringOf(x) 1820} 1821 1822func (*Create_New) ProtoMessage() {} 1823 1824func (x *Create_New) ProtoReflect() protoreflect.Message { 1825 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[14] 1826 if protoimpl.UnsafeEnabled && x != nil { 1827 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1828 if ms.LoadMessageInfo() == nil { 1829 ms.StoreMessageInfo(mi) 1830 } 1831 return ms 1832 } 1833 return mi.MessageOf(x) 1834} 1835 1836// Deprecated: Use Create_New.ProtoReflect.Descriptor instead. 1837func (*Create_New) Descriptor() ([]byte, []int) { 1838 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{2, 0} 1839} 1840 1841// An object was uploaded into Drive. 1842type Create_Upload struct { 1843 state protoimpl.MessageState 1844 sizeCache protoimpl.SizeCache 1845 unknownFields protoimpl.UnknownFields 1846} 1847 1848func (x *Create_Upload) Reset() { 1849 *x = Create_Upload{} 1850 if protoimpl.UnsafeEnabled { 1851 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[15] 1852 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1853 ms.StoreMessageInfo(mi) 1854 } 1855} 1856 1857func (x *Create_Upload) String() string { 1858 return protoimpl.X.MessageStringOf(x) 1859} 1860 1861func (*Create_Upload) ProtoMessage() {} 1862 1863func (x *Create_Upload) ProtoReflect() protoreflect.Message { 1864 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[15] 1865 if protoimpl.UnsafeEnabled && x != nil { 1866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1867 if ms.LoadMessageInfo() == nil { 1868 ms.StoreMessageInfo(mi) 1869 } 1870 return ms 1871 } 1872 return mi.MessageOf(x) 1873} 1874 1875// Deprecated: Use Create_Upload.ProtoReflect.Descriptor instead. 1876func (*Create_Upload) Descriptor() ([]byte, []int) { 1877 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{2, 1} 1878} 1879 1880// An object was created by copying an existing object. 1881type Create_Copy struct { 1882 state protoimpl.MessageState 1883 sizeCache protoimpl.SizeCache 1884 unknownFields protoimpl.UnknownFields 1885 1886 // The original object. 1887 OriginalObject *TargetReference `protobuf:"bytes,1,opt,name=original_object,json=originalObject,proto3" json:"original_object,omitempty"` 1888} 1889 1890func (x *Create_Copy) Reset() { 1891 *x = Create_Copy{} 1892 if protoimpl.UnsafeEnabled { 1893 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[16] 1894 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1895 ms.StoreMessageInfo(mi) 1896 } 1897} 1898 1899func (x *Create_Copy) String() string { 1900 return protoimpl.X.MessageStringOf(x) 1901} 1902 1903func (*Create_Copy) ProtoMessage() {} 1904 1905func (x *Create_Copy) ProtoReflect() protoreflect.Message { 1906 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[16] 1907 if protoimpl.UnsafeEnabled && x != nil { 1908 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1909 if ms.LoadMessageInfo() == nil { 1910 ms.StoreMessageInfo(mi) 1911 } 1912 return ms 1913 } 1914 return mi.MessageOf(x) 1915} 1916 1917// Deprecated: Use Create_Copy.ProtoReflect.Descriptor instead. 1918func (*Create_Copy) Descriptor() ([]byte, []int) { 1919 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{2, 2} 1920} 1921 1922func (x *Create_Copy) GetOriginalObject() *TargetReference { 1923 if x != nil { 1924 return x.OriginalObject 1925 } 1926 return nil 1927} 1928 1929// Represents any user (including a logged out user). 1930type Permission_Anyone struct { 1931 state protoimpl.MessageState 1932 sizeCache protoimpl.SizeCache 1933 unknownFields protoimpl.UnknownFields 1934} 1935 1936func (x *Permission_Anyone) Reset() { 1937 *x = Permission_Anyone{} 1938 if protoimpl.UnsafeEnabled { 1939 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[17] 1940 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1941 ms.StoreMessageInfo(mi) 1942 } 1943} 1944 1945func (x *Permission_Anyone) String() string { 1946 return protoimpl.X.MessageStringOf(x) 1947} 1948 1949func (*Permission_Anyone) ProtoMessage() {} 1950 1951func (x *Permission_Anyone) ProtoReflect() protoreflect.Message { 1952 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[17] 1953 if protoimpl.UnsafeEnabled && x != nil { 1954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1955 if ms.LoadMessageInfo() == nil { 1956 ms.StoreMessageInfo(mi) 1957 } 1958 return ms 1959 } 1960 return mi.MessageOf(x) 1961} 1962 1963// Deprecated: Use Permission_Anyone.ProtoReflect.Descriptor instead. 1964func (*Permission_Anyone) Descriptor() ([]byte, []int) { 1965 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{9, 0} 1966} 1967 1968// A regular posted comment. 1969type Comment_Post struct { 1970 state protoimpl.MessageState 1971 sizeCache protoimpl.SizeCache 1972 unknownFields protoimpl.UnknownFields 1973 1974 // The sub-type of this event. 1975 Subtype Comment_Post_Subtype `protobuf:"varint,1,opt,name=subtype,proto3,enum=google.apps.drive.activity.v2.Comment_Post_Subtype" json:"subtype,omitempty"` 1976} 1977 1978func (x *Comment_Post) Reset() { 1979 *x = Comment_Post{} 1980 if protoimpl.UnsafeEnabled { 1981 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[18] 1982 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1983 ms.StoreMessageInfo(mi) 1984 } 1985} 1986 1987func (x *Comment_Post) String() string { 1988 return protoimpl.X.MessageStringOf(x) 1989} 1990 1991func (*Comment_Post) ProtoMessage() {} 1992 1993func (x *Comment_Post) ProtoReflect() protoreflect.Message { 1994 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[18] 1995 if protoimpl.UnsafeEnabled && x != nil { 1996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1997 if ms.LoadMessageInfo() == nil { 1998 ms.StoreMessageInfo(mi) 1999 } 2000 return ms 2001 } 2002 return mi.MessageOf(x) 2003} 2004 2005// Deprecated: Use Comment_Post.ProtoReflect.Descriptor instead. 2006func (*Comment_Post) Descriptor() ([]byte, []int) { 2007 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{10, 0} 2008} 2009 2010func (x *Comment_Post) GetSubtype() Comment_Post_Subtype { 2011 if x != nil { 2012 return x.Subtype 2013 } 2014 return Comment_Post_SUBTYPE_UNSPECIFIED 2015} 2016 2017// A comment with an assignment. 2018type Comment_Assignment struct { 2019 state protoimpl.MessageState 2020 sizeCache protoimpl.SizeCache 2021 unknownFields protoimpl.UnknownFields 2022 2023 // The sub-type of this event. 2024 Subtype Comment_Assignment_Subtype `protobuf:"varint,1,opt,name=subtype,proto3,enum=google.apps.drive.activity.v2.Comment_Assignment_Subtype" json:"subtype,omitempty"` 2025 // The user to whom the comment was assigned. 2026 AssignedUser *User `protobuf:"bytes,7,opt,name=assigned_user,json=assignedUser,proto3" json:"assigned_user,omitempty"` 2027} 2028 2029func (x *Comment_Assignment) Reset() { 2030 *x = Comment_Assignment{} 2031 if protoimpl.UnsafeEnabled { 2032 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[19] 2033 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2034 ms.StoreMessageInfo(mi) 2035 } 2036} 2037 2038func (x *Comment_Assignment) String() string { 2039 return protoimpl.X.MessageStringOf(x) 2040} 2041 2042func (*Comment_Assignment) ProtoMessage() {} 2043 2044func (x *Comment_Assignment) ProtoReflect() protoreflect.Message { 2045 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[19] 2046 if protoimpl.UnsafeEnabled && x != nil { 2047 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2048 if ms.LoadMessageInfo() == nil { 2049 ms.StoreMessageInfo(mi) 2050 } 2051 return ms 2052 } 2053 return mi.MessageOf(x) 2054} 2055 2056// Deprecated: Use Comment_Assignment.ProtoReflect.Descriptor instead. 2057func (*Comment_Assignment) Descriptor() ([]byte, []int) { 2058 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{10, 1} 2059} 2060 2061func (x *Comment_Assignment) GetSubtype() Comment_Assignment_Subtype { 2062 if x != nil { 2063 return x.Subtype 2064 } 2065 return Comment_Assignment_SUBTYPE_UNSPECIFIED 2066} 2067 2068func (x *Comment_Assignment) GetAssignedUser() *User { 2069 if x != nil { 2070 return x.AssignedUser 2071 } 2072 return nil 2073} 2074 2075// A suggestion. 2076type Comment_Suggestion struct { 2077 state protoimpl.MessageState 2078 sizeCache protoimpl.SizeCache 2079 unknownFields protoimpl.UnknownFields 2080 2081 // The sub-type of this event. 2082 Subtype Comment_Suggestion_Subtype `protobuf:"varint,1,opt,name=subtype,proto3,enum=google.apps.drive.activity.v2.Comment_Suggestion_Subtype" json:"subtype,omitempty"` 2083} 2084 2085func (x *Comment_Suggestion) Reset() { 2086 *x = Comment_Suggestion{} 2087 if protoimpl.UnsafeEnabled { 2088 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[20] 2089 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2090 ms.StoreMessageInfo(mi) 2091 } 2092} 2093 2094func (x *Comment_Suggestion) String() string { 2095 return protoimpl.X.MessageStringOf(x) 2096} 2097 2098func (*Comment_Suggestion) ProtoMessage() {} 2099 2100func (x *Comment_Suggestion) ProtoReflect() protoreflect.Message { 2101 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[20] 2102 if protoimpl.UnsafeEnabled && x != nil { 2103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2104 if ms.LoadMessageInfo() == nil { 2105 ms.StoreMessageInfo(mi) 2106 } 2107 return ms 2108 } 2109 return mi.MessageOf(x) 2110} 2111 2112// Deprecated: Use Comment_Suggestion.ProtoReflect.Descriptor instead. 2113func (*Comment_Suggestion) Descriptor() ([]byte, []int) { 2114 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{10, 2} 2115} 2116 2117func (x *Comment_Suggestion) GetSubtype() Comment_Suggestion_Subtype { 2118 if x != nil { 2119 return x.Subtype 2120 } 2121 return Comment_Suggestion_SUBTYPE_UNSPECIFIED 2122} 2123 2124// Information about restriction policy changes to a feature. 2125type SettingsChange_RestrictionChange struct { 2126 state protoimpl.MessageState 2127 sizeCache protoimpl.SizeCache 2128 unknownFields protoimpl.UnknownFields 2129 2130 // The feature which had a change in restriction policy. 2131 Feature SettingsChange_RestrictionChange_Feature `protobuf:"varint,1,opt,name=feature,proto3,enum=google.apps.drive.activity.v2.SettingsChange_RestrictionChange_Feature" json:"feature,omitempty"` 2132 // The restriction in place after the change. 2133 NewRestriction SettingsChange_RestrictionChange_Restriction `protobuf:"varint,2,opt,name=new_restriction,json=newRestriction,proto3,enum=google.apps.drive.activity.v2.SettingsChange_RestrictionChange_Restriction" json:"new_restriction,omitempty"` 2134} 2135 2136func (x *SettingsChange_RestrictionChange) Reset() { 2137 *x = SettingsChange_RestrictionChange{} 2138 if protoimpl.UnsafeEnabled { 2139 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[21] 2140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2141 ms.StoreMessageInfo(mi) 2142 } 2143} 2144 2145func (x *SettingsChange_RestrictionChange) String() string { 2146 return protoimpl.X.MessageStringOf(x) 2147} 2148 2149func (*SettingsChange_RestrictionChange) ProtoMessage() {} 2150 2151func (x *SettingsChange_RestrictionChange) ProtoReflect() protoreflect.Message { 2152 mi := &file_google_apps_drive_activity_v2_action_proto_msgTypes[21] 2153 if protoimpl.UnsafeEnabled && x != nil { 2154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2155 if ms.LoadMessageInfo() == nil { 2156 ms.StoreMessageInfo(mi) 2157 } 2158 return ms 2159 } 2160 return mi.MessageOf(x) 2161} 2162 2163// Deprecated: Use SettingsChange_RestrictionChange.ProtoReflect.Descriptor instead. 2164func (*SettingsChange_RestrictionChange) Descriptor() ([]byte, []int) { 2165 return file_google_apps_drive_activity_v2_action_proto_rawDescGZIP(), []int{13, 0} 2166} 2167 2168func (x *SettingsChange_RestrictionChange) GetFeature() SettingsChange_RestrictionChange_Feature { 2169 if x != nil { 2170 return x.Feature 2171 } 2172 return SettingsChange_RestrictionChange_FEATURE_UNSPECIFIED 2173} 2174 2175func (x *SettingsChange_RestrictionChange) GetNewRestriction() SettingsChange_RestrictionChange_Restriction { 2176 if x != nil { 2177 return x.NewRestriction 2178 } 2179 return SettingsChange_RestrictionChange_RESTRICTION_UNSPECIFIED 2180} 2181 2182var File_google_apps_drive_activity_v2_action_proto protoreflect.FileDescriptor 2183 2184var file_google_apps_drive_activity_v2_action_proto_rawDesc = []byte{ 2185 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 2186 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 2187 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 2188 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 2189 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 2190 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 2191 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x74, 0x6f, 0x72, 2192 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 2193 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 2194 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 2195 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 2196 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 2197 0x32, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 2198 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 2199 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 2200 0xd7, 0x02, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x06, 0x64, 0x65, 2201 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 2202 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 2203 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 2204 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 2205 0x3a, 0x0a, 0x05, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 2206 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 2207 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 2208 0x63, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x06, 0x74, 2209 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 2210 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 2211 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 2212 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x69, 2213 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 2214 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 2215 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x09, 0x74, 0x69, 0x6d, 2216 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x49, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 2217 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 2218 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 2219 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 2220 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 2221 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xc9, 0x06, 0x0a, 0x0c, 0x41, 0x63, 2222 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x3f, 0x0a, 0x06, 0x63, 0x72, 2223 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 2224 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 2225 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 2226 0x65, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x65, 2227 0x64, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 2228 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 2229 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x48, 0x00, 2230 0x52, 0x04, 0x65, 0x64, 0x69, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 2231 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 2232 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 2233 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x6f, 0x76, 2234 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 2235 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 2236 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 2237 0x32, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x6e, 0x61, 2238 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 2239 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 2240 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 2241 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x6c, 2242 0x65, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x06, 2243 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 2244 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 2245 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x48, 0x00, 0x52, 0x07, 2246 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x5e, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x6d, 0x69, 2247 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 2248 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 2249 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 2250 0x76, 0x32, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 2251 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 2252 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x42, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 2253 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2254 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 2255 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 2256 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x58, 0x0a, 0x0a, 0x64, 2257 0x6c, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 2258 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 2259 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 2260 0x44, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x61, 0x6b, 0x50, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 2261 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x6c, 0x70, 0x43, 2262 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x53, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 2263 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2264 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 2265 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 2266 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52, 2267 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x73, 0x65, 2268 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x0d, 0x20, 2269 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 2270 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 2271 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 2272 0x67, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 2273 0x61, 0x6e, 0x67, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 2274 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xcd, 0x02, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 2275 0x12, 0x3d, 0x0a, 0x03, 0x6e, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 2276 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 2277 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 2278 0x65, 0x61, 0x74, 0x65, 0x2e, 0x4e, 0x65, 0x77, 0x48, 0x00, 0x52, 0x03, 0x6e, 0x65, 0x77, 0x12, 2279 0x46, 0x0a, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 2280 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 2281 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 2282 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x48, 0x00, 0x52, 2283 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x40, 0x0a, 0x04, 0x63, 0x6f, 0x70, 0x79, 0x18, 2284 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 2285 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 2286 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x70, 2287 0x79, 0x48, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x70, 0x79, 0x1a, 0x05, 0x0a, 0x03, 0x4e, 0x65, 0x77, 2288 0x1a, 0x08, 0x0a, 0x06, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x5f, 0x0a, 0x04, 0x43, 0x6f, 2289 0x70, 0x79, 0x12, 0x57, 0x0a, 0x0f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 2290 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 2291 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 2292 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 2293 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x6f, 0x72, 0x69, 2294 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x6f, 2295 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x06, 0x0a, 0x04, 0x45, 0x64, 0x69, 0x74, 0x22, 0xb4, 0x01, 2296 0x0a, 0x04, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x53, 0x0a, 0x0d, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 2297 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 2298 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 2299 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 2300 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0c, 0x61, 2301 0x64, 0x64, 0x65, 0x64, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x0f, 0x72, 2302 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 2303 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 2304 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 2305 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 2306 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x50, 0x61, 0x72, 2307 0x65, 0x6e, 0x74, 0x73, 0x22, 0x42, 0x0a, 0x06, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 2308 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 2309 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 2310 0x65, 0x77, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 2311 0x6e, 0x65, 0x77, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x06, 0x44, 0x65, 0x6c, 2312 0x65, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 2313 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 2314 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 2315 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 2316 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 2317 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 2318 0x00, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x52, 0x41, 0x53, 0x48, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 2319 0x50, 0x45, 0x52, 0x4d, 0x41, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 2320 0x10, 0x02, 0x22, 0x75, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x3f, 0x0a, 2321 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 2322 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 2323 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x74, 2324 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x29, 2325 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 2326 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 2327 0x55, 0x4e, 0x54, 0x52, 0x41, 0x53, 0x48, 0x10, 0x01, 0x22, 0xc6, 0x01, 0x0a, 0x10, 0x50, 0x65, 2328 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x56, 2329 0x0a, 0x11, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 2330 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 2331 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 2332 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 2333 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x64, 0x64, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 2334 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 2335 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 2336 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 2337 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 2338 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x12, 2339 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 2340 0x6e, 0x73, 0x22, 0x9c, 0x04, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 2341 0x6e, 0x12, 0x42, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 2342 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 2343 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 2344 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 2345 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 2346 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 2347 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 2348 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 2349 0x12, 0x3c, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 2350 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 2351 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 2352 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3f, 2353 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 2354 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 2355 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 2356 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 2357 0x4a, 0x0a, 0x06, 0x61, 0x6e, 0x79, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 2358 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 2359 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 2360 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x79, 0x6f, 0x6e, 2361 0x65, 0x48, 0x00, 0x52, 0x06, 0x61, 0x6e, 0x79, 0x6f, 0x6e, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 2362 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x18, 0x06, 2363 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x69, 0x73, 0x63, 0x6f, 2364 0x76, 0x65, 0x72, 0x79, 0x1a, 0x08, 0x0a, 0x06, 0x41, 0x6e, 0x79, 0x6f, 0x6e, 0x65, 0x22, 0x87, 2365 0x01, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 2366 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 2367 0x05, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x52, 0x47, 0x41, 2368 0x4e, 0x49, 0x5a, 0x45, 0x52, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 2369 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x45, 0x52, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x45, 2370 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 2371 0x4e, 0x54, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x49, 0x45, 0x57, 0x45, 0x52, 2372 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x5f, 2373 0x56, 0x49, 0x45, 0x57, 0x45, 0x52, 0x10, 0x07, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 2374 0x65, 0x22, 0xe4, 0x08, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 2375 0x04, 0x70, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 2376 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 2377 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 2378 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x70, 0x6f, 0x73, 0x74, 2379 0x12, 0x53, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 2380 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 2381 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 2382 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 2383 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 2384 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 2385 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 2386 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 2387 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 2388 0x74, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 2389 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0f, 0x6d, 0x65, 2390 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 2391 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 2392 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 2393 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0e, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 2394 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x1a, 0xd1, 0x01, 0x0a, 0x04, 0x50, 0x6f, 0x73, 2395 0x74, 0x12, 0x4d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 2396 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 2397 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 2398 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x2e, 2399 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x52, 0x07, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 2400 0x22, 0x7a, 0x0a, 0x07, 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x53, 2401 0x55, 0x42, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 2402 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 2403 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 2404 0x52, 0x45, 0x50, 0x4c, 0x59, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x11, 0x0a, 2405 0x0d, 0x52, 0x45, 0x50, 0x4c, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x04, 2406 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0c, 2407 0x0a, 0x08, 0x52, 0x45, 0x4f, 0x50, 0x45, 0x4e, 0x45, 0x44, 0x10, 0x06, 0x1a, 0xb8, 0x02, 0x0a, 2408 0x0a, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x07, 0x73, 2409 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 2410 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 2411 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 2412 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 2413 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x52, 0x07, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 2414 0x12, 0x48, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 2415 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2416 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 2417 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x61, 0x73, 2418 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x07, 0x53, 2419 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x55, 0x42, 0x54, 0x59, 0x50, 2420 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 2421 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 2422 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x50, 0x4c, 0x59, 2423 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x50, 0x4c, 2424 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x52, 2425 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4f, 2426 0x50, 0x45, 0x4e, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x41, 0x53, 0x53, 2427 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x07, 0x1a, 0x86, 0x02, 0x0a, 0x0a, 0x53, 0x75, 0x67, 0x67, 2428 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 2429 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2430 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 2431 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 2432 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x62, 0x74, 0x79, 2433 0x70, 0x65, 0x52, 0x07, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x07, 2434 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x55, 0x42, 0x54, 0x59, 2435 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 2436 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 2437 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x50, 0x4c, 2438 0x59, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x50, 2439 0x4c, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 2440 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 2441 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x43, 0x45, 2442 0x50, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 2443 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x0a, 2444 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x18, 0x44, 0x61, 0x74, 2445 0x61, 0x4c, 0x65, 0x61, 0x6b, 0x50, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x43, 2446 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 2447 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 2448 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 2449 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x61, 0x6b, 0x50, 0x72, 0x65, 0x76, 2450 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 2451 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x36, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 2452 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 2453 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x41, 0x47, 0x47, 0x45, 0x44, 2454 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x45, 0x44, 0x10, 0x02, 0x22, 2455 0xa3, 0x01, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 2456 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 2457 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 2458 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 2459 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 2460 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 2461 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3d, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 2462 0x0a, 0x1a, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x5f, 0x52, 0x45, 2463 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x08, 2464 0x0a, 0x04, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x49, 0x53, 0x43, 2465 0x55, 0x53, 0x53, 0x10, 0x02, 0x22, 0xc6, 0x04, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 2466 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x70, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x74, 2467 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 2468 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 2469 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 2470 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 2471 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 2472 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 2473 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0xc1, 0x03, 0x0a, 0x11, 0x52, 2474 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 2475 0x12, 0x61, 0x0a, 0x07, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 2476 0x0e, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 2477 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 2478 0x32, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 2479 0x2e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 2480 0x67, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x07, 0x66, 0x65, 0x61, 0x74, 2481 0x75, 0x72, 0x65, 0x12, 0x74, 0x0a, 0x0f, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x72, 2482 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4b, 0x2e, 0x67, 2483 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 2484 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 2485 0x74, 0x69, 0x6e, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x74, 2486 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 2487 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x52, 0x65, 2488 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x07, 0x46, 0x65, 0x61, 2489 0x74, 0x75, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 2490 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 2491 0x16, 0x53, 0x48, 0x41, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x55, 0x54, 0x53, 0x49, 0x44, 0x45, 2492 0x5f, 0x44, 0x4f, 0x4d, 0x41, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x49, 0x52, 2493 0x45, 0x43, 0x54, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x14, 0x0a, 2494 0x10, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 2495 0x4e, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x52, 0x49, 0x56, 0x45, 0x5f, 0x46, 0x49, 0x4c, 2496 0x45, 0x5f, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x04, 0x22, 0x52, 0x0a, 0x0b, 0x52, 0x65, 2497 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, 2498 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 2499 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x52, 0x45, 0x53, 0x54, 2500 0x52, 0x49, 0x43, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x55, 0x4c, 0x4c, 2501 0x59, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x42, 0xc0, 2502 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 2503 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 2504 0x79, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 2505 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 2506 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 2507 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 2508 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 2509 0x32, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x44, 2510 0x41, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, 2511 0x44, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x56, 2512 0x32, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 2513 0x44, 0x72, 0x69, 0x76, 0x65, 0x5c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5c, 0x56, 2514 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 2515} 2516 2517var ( 2518 file_google_apps_drive_activity_v2_action_proto_rawDescOnce sync.Once 2519 file_google_apps_drive_activity_v2_action_proto_rawDescData = file_google_apps_drive_activity_v2_action_proto_rawDesc 2520) 2521 2522func file_google_apps_drive_activity_v2_action_proto_rawDescGZIP() []byte { 2523 file_google_apps_drive_activity_v2_action_proto_rawDescOnce.Do(func() { 2524 file_google_apps_drive_activity_v2_action_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_activity_v2_action_proto_rawDescData) 2525 }) 2526 return file_google_apps_drive_activity_v2_action_proto_rawDescData 2527} 2528 2529var file_google_apps_drive_activity_v2_action_proto_enumTypes = make([]protoimpl.EnumInfo, 10) 2530var file_google_apps_drive_activity_v2_action_proto_msgTypes = make([]protoimpl.MessageInfo, 22) 2531var file_google_apps_drive_activity_v2_action_proto_goTypes = []interface{}{ 2532 (Delete_Type)(0), // 0: google.apps.drive.activity.v2.Delete.Type 2533 (Restore_Type)(0), // 1: google.apps.drive.activity.v2.Restore.Type 2534 (Permission_Role)(0), // 2: google.apps.drive.activity.v2.Permission.Role 2535 (Comment_Post_Subtype)(0), // 3: google.apps.drive.activity.v2.Comment.Post.Subtype 2536 (Comment_Assignment_Subtype)(0), // 4: google.apps.drive.activity.v2.Comment.Assignment.Subtype 2537 (Comment_Suggestion_Subtype)(0), // 5: google.apps.drive.activity.v2.Comment.Suggestion.Subtype 2538 (DataLeakPreventionChange_Type)(0), // 6: google.apps.drive.activity.v2.DataLeakPreventionChange.Type 2539 (ApplicationReference_Type)(0), // 7: google.apps.drive.activity.v2.ApplicationReference.Type 2540 (SettingsChange_RestrictionChange_Feature)(0), // 8: google.apps.drive.activity.v2.SettingsChange.RestrictionChange.Feature 2541 (SettingsChange_RestrictionChange_Restriction)(0), // 9: google.apps.drive.activity.v2.SettingsChange.RestrictionChange.Restriction 2542 (*Action)(nil), // 10: google.apps.drive.activity.v2.Action 2543 (*ActionDetail)(nil), // 11: google.apps.drive.activity.v2.ActionDetail 2544 (*Create)(nil), // 12: google.apps.drive.activity.v2.Create 2545 (*Edit)(nil), // 13: google.apps.drive.activity.v2.Edit 2546 (*Move)(nil), // 14: google.apps.drive.activity.v2.Move 2547 (*Rename)(nil), // 15: google.apps.drive.activity.v2.Rename 2548 (*Delete)(nil), // 16: google.apps.drive.activity.v2.Delete 2549 (*Restore)(nil), // 17: google.apps.drive.activity.v2.Restore 2550 (*PermissionChange)(nil), // 18: google.apps.drive.activity.v2.PermissionChange 2551 (*Permission)(nil), // 19: google.apps.drive.activity.v2.Permission 2552 (*Comment)(nil), // 20: google.apps.drive.activity.v2.Comment 2553 (*DataLeakPreventionChange)(nil), // 21: google.apps.drive.activity.v2.DataLeakPreventionChange 2554 (*ApplicationReference)(nil), // 22: google.apps.drive.activity.v2.ApplicationReference 2555 (*SettingsChange)(nil), // 23: google.apps.drive.activity.v2.SettingsChange 2556 (*Create_New)(nil), // 24: google.apps.drive.activity.v2.Create.New 2557 (*Create_Upload)(nil), // 25: google.apps.drive.activity.v2.Create.Upload 2558 (*Create_Copy)(nil), // 26: google.apps.drive.activity.v2.Create.Copy 2559 (*Permission_Anyone)(nil), // 27: google.apps.drive.activity.v2.Permission.Anyone 2560 (*Comment_Post)(nil), // 28: google.apps.drive.activity.v2.Comment.Post 2561 (*Comment_Assignment)(nil), // 29: google.apps.drive.activity.v2.Comment.Assignment 2562 (*Comment_Suggestion)(nil), // 30: google.apps.drive.activity.v2.Comment.Suggestion 2563 (*SettingsChange_RestrictionChange)(nil), // 31: google.apps.drive.activity.v2.SettingsChange.RestrictionChange 2564 (*Actor)(nil), // 32: google.apps.drive.activity.v2.Actor 2565 (*Target)(nil), // 33: google.apps.drive.activity.v2.Target 2566 (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp 2567 (*TimeRange)(nil), // 35: google.apps.drive.activity.v2.TimeRange 2568 (*TargetReference)(nil), // 36: google.apps.drive.activity.v2.TargetReference 2569 (*User)(nil), // 37: google.apps.drive.activity.v2.User 2570 (*Group)(nil), // 38: google.apps.drive.activity.v2.Group 2571 (*Domain)(nil), // 39: google.apps.drive.activity.v2.Domain 2572} 2573var file_google_apps_drive_activity_v2_action_proto_depIdxs = []int32{ 2574 11, // 0: google.apps.drive.activity.v2.Action.detail:type_name -> google.apps.drive.activity.v2.ActionDetail 2575 32, // 1: google.apps.drive.activity.v2.Action.actor:type_name -> google.apps.drive.activity.v2.Actor 2576 33, // 2: google.apps.drive.activity.v2.Action.target:type_name -> google.apps.drive.activity.v2.Target 2577 34, // 3: google.apps.drive.activity.v2.Action.timestamp:type_name -> google.protobuf.Timestamp 2578 35, // 4: google.apps.drive.activity.v2.Action.time_range:type_name -> google.apps.drive.activity.v2.TimeRange 2579 12, // 5: google.apps.drive.activity.v2.ActionDetail.create:type_name -> google.apps.drive.activity.v2.Create 2580 13, // 6: google.apps.drive.activity.v2.ActionDetail.edit:type_name -> google.apps.drive.activity.v2.Edit 2581 14, // 7: google.apps.drive.activity.v2.ActionDetail.move:type_name -> google.apps.drive.activity.v2.Move 2582 15, // 8: google.apps.drive.activity.v2.ActionDetail.rename:type_name -> google.apps.drive.activity.v2.Rename 2583 16, // 9: google.apps.drive.activity.v2.ActionDetail.delete:type_name -> google.apps.drive.activity.v2.Delete 2584 17, // 10: google.apps.drive.activity.v2.ActionDetail.restore:type_name -> google.apps.drive.activity.v2.Restore 2585 18, // 11: google.apps.drive.activity.v2.ActionDetail.permission_change:type_name -> google.apps.drive.activity.v2.PermissionChange 2586 20, // 12: google.apps.drive.activity.v2.ActionDetail.comment:type_name -> google.apps.drive.activity.v2.Comment 2587 21, // 13: google.apps.drive.activity.v2.ActionDetail.dlp_change:type_name -> google.apps.drive.activity.v2.DataLeakPreventionChange 2588 22, // 14: google.apps.drive.activity.v2.ActionDetail.reference:type_name -> google.apps.drive.activity.v2.ApplicationReference 2589 23, // 15: google.apps.drive.activity.v2.ActionDetail.settings_change:type_name -> google.apps.drive.activity.v2.SettingsChange 2590 24, // 16: google.apps.drive.activity.v2.Create.new:type_name -> google.apps.drive.activity.v2.Create.New 2591 25, // 17: google.apps.drive.activity.v2.Create.upload:type_name -> google.apps.drive.activity.v2.Create.Upload 2592 26, // 18: google.apps.drive.activity.v2.Create.copy:type_name -> google.apps.drive.activity.v2.Create.Copy 2593 36, // 19: google.apps.drive.activity.v2.Move.added_parents:type_name -> google.apps.drive.activity.v2.TargetReference 2594 36, // 20: google.apps.drive.activity.v2.Move.removed_parents:type_name -> google.apps.drive.activity.v2.TargetReference 2595 0, // 21: google.apps.drive.activity.v2.Delete.type:type_name -> google.apps.drive.activity.v2.Delete.Type 2596 1, // 22: google.apps.drive.activity.v2.Restore.type:type_name -> google.apps.drive.activity.v2.Restore.Type 2597 19, // 23: google.apps.drive.activity.v2.PermissionChange.added_permissions:type_name -> google.apps.drive.activity.v2.Permission 2598 19, // 24: google.apps.drive.activity.v2.PermissionChange.removed_permissions:type_name -> google.apps.drive.activity.v2.Permission 2599 2, // 25: google.apps.drive.activity.v2.Permission.role:type_name -> google.apps.drive.activity.v2.Permission.Role 2600 37, // 26: google.apps.drive.activity.v2.Permission.user:type_name -> google.apps.drive.activity.v2.User 2601 38, // 27: google.apps.drive.activity.v2.Permission.group:type_name -> google.apps.drive.activity.v2.Group 2602 39, // 28: google.apps.drive.activity.v2.Permission.domain:type_name -> google.apps.drive.activity.v2.Domain 2603 27, // 29: google.apps.drive.activity.v2.Permission.anyone:type_name -> google.apps.drive.activity.v2.Permission.Anyone 2604 28, // 30: google.apps.drive.activity.v2.Comment.post:type_name -> google.apps.drive.activity.v2.Comment.Post 2605 29, // 31: google.apps.drive.activity.v2.Comment.assignment:type_name -> google.apps.drive.activity.v2.Comment.Assignment 2606 30, // 32: google.apps.drive.activity.v2.Comment.suggestion:type_name -> google.apps.drive.activity.v2.Comment.Suggestion 2607 37, // 33: google.apps.drive.activity.v2.Comment.mentioned_users:type_name -> google.apps.drive.activity.v2.User 2608 6, // 34: google.apps.drive.activity.v2.DataLeakPreventionChange.type:type_name -> google.apps.drive.activity.v2.DataLeakPreventionChange.Type 2609 7, // 35: google.apps.drive.activity.v2.ApplicationReference.type:type_name -> google.apps.drive.activity.v2.ApplicationReference.Type 2610 31, // 36: google.apps.drive.activity.v2.SettingsChange.restriction_changes:type_name -> google.apps.drive.activity.v2.SettingsChange.RestrictionChange 2611 36, // 37: google.apps.drive.activity.v2.Create.Copy.original_object:type_name -> google.apps.drive.activity.v2.TargetReference 2612 3, // 38: google.apps.drive.activity.v2.Comment.Post.subtype:type_name -> google.apps.drive.activity.v2.Comment.Post.Subtype 2613 4, // 39: google.apps.drive.activity.v2.Comment.Assignment.subtype:type_name -> google.apps.drive.activity.v2.Comment.Assignment.Subtype 2614 37, // 40: google.apps.drive.activity.v2.Comment.Assignment.assigned_user:type_name -> google.apps.drive.activity.v2.User 2615 5, // 41: google.apps.drive.activity.v2.Comment.Suggestion.subtype:type_name -> google.apps.drive.activity.v2.Comment.Suggestion.Subtype 2616 8, // 42: google.apps.drive.activity.v2.SettingsChange.RestrictionChange.feature:type_name -> google.apps.drive.activity.v2.SettingsChange.RestrictionChange.Feature 2617 9, // 43: google.apps.drive.activity.v2.SettingsChange.RestrictionChange.new_restriction:type_name -> google.apps.drive.activity.v2.SettingsChange.RestrictionChange.Restriction 2618 44, // [44:44] is the sub-list for method output_type 2619 44, // [44:44] is the sub-list for method input_type 2620 44, // [44:44] is the sub-list for extension type_name 2621 44, // [44:44] is the sub-list for extension extendee 2622 0, // [0:44] is the sub-list for field type_name 2623} 2624 2625func init() { file_google_apps_drive_activity_v2_action_proto_init() } 2626func file_google_apps_drive_activity_v2_action_proto_init() { 2627 if File_google_apps_drive_activity_v2_action_proto != nil { 2628 return 2629 } 2630 file_google_apps_drive_activity_v2_actor_proto_init() 2631 file_google_apps_drive_activity_v2_common_proto_init() 2632 file_google_apps_drive_activity_v2_target_proto_init() 2633 if !protoimpl.UnsafeEnabled { 2634 file_google_apps_drive_activity_v2_action_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2635 switch v := v.(*Action); i { 2636 case 0: 2637 return &v.state 2638 case 1: 2639 return &v.sizeCache 2640 case 2: 2641 return &v.unknownFields 2642 default: 2643 return nil 2644 } 2645 } 2646 file_google_apps_drive_activity_v2_action_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2647 switch v := v.(*ActionDetail); i { 2648 case 0: 2649 return &v.state 2650 case 1: 2651 return &v.sizeCache 2652 case 2: 2653 return &v.unknownFields 2654 default: 2655 return nil 2656 } 2657 } 2658 file_google_apps_drive_activity_v2_action_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2659 switch v := v.(*Create); i { 2660 case 0: 2661 return &v.state 2662 case 1: 2663 return &v.sizeCache 2664 case 2: 2665 return &v.unknownFields 2666 default: 2667 return nil 2668 } 2669 } 2670 file_google_apps_drive_activity_v2_action_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2671 switch v := v.(*Edit); i { 2672 case 0: 2673 return &v.state 2674 case 1: 2675 return &v.sizeCache 2676 case 2: 2677 return &v.unknownFields 2678 default: 2679 return nil 2680 } 2681 } 2682 file_google_apps_drive_activity_v2_action_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2683 switch v := v.(*Move); i { 2684 case 0: 2685 return &v.state 2686 case 1: 2687 return &v.sizeCache 2688 case 2: 2689 return &v.unknownFields 2690 default: 2691 return nil 2692 } 2693 } 2694 file_google_apps_drive_activity_v2_action_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2695 switch v := v.(*Rename); i { 2696 case 0: 2697 return &v.state 2698 case 1: 2699 return &v.sizeCache 2700 case 2: 2701 return &v.unknownFields 2702 default: 2703 return nil 2704 } 2705 } 2706 file_google_apps_drive_activity_v2_action_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2707 switch v := v.(*Delete); i { 2708 case 0: 2709 return &v.state 2710 case 1: 2711 return &v.sizeCache 2712 case 2: 2713 return &v.unknownFields 2714 default: 2715 return nil 2716 } 2717 } 2718 file_google_apps_drive_activity_v2_action_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2719 switch v := v.(*Restore); i { 2720 case 0: 2721 return &v.state 2722 case 1: 2723 return &v.sizeCache 2724 case 2: 2725 return &v.unknownFields 2726 default: 2727 return nil 2728 } 2729 } 2730 file_google_apps_drive_activity_v2_action_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2731 switch v := v.(*PermissionChange); i { 2732 case 0: 2733 return &v.state 2734 case 1: 2735 return &v.sizeCache 2736 case 2: 2737 return &v.unknownFields 2738 default: 2739 return nil 2740 } 2741 } 2742 file_google_apps_drive_activity_v2_action_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2743 switch v := v.(*Permission); i { 2744 case 0: 2745 return &v.state 2746 case 1: 2747 return &v.sizeCache 2748 case 2: 2749 return &v.unknownFields 2750 default: 2751 return nil 2752 } 2753 } 2754 file_google_apps_drive_activity_v2_action_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2755 switch v := v.(*Comment); i { 2756 case 0: 2757 return &v.state 2758 case 1: 2759 return &v.sizeCache 2760 case 2: 2761 return &v.unknownFields 2762 default: 2763 return nil 2764 } 2765 } 2766 file_google_apps_drive_activity_v2_action_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2767 switch v := v.(*DataLeakPreventionChange); i { 2768 case 0: 2769 return &v.state 2770 case 1: 2771 return &v.sizeCache 2772 case 2: 2773 return &v.unknownFields 2774 default: 2775 return nil 2776 } 2777 } 2778 file_google_apps_drive_activity_v2_action_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2779 switch v := v.(*ApplicationReference); i { 2780 case 0: 2781 return &v.state 2782 case 1: 2783 return &v.sizeCache 2784 case 2: 2785 return &v.unknownFields 2786 default: 2787 return nil 2788 } 2789 } 2790 file_google_apps_drive_activity_v2_action_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2791 switch v := v.(*SettingsChange); i { 2792 case 0: 2793 return &v.state 2794 case 1: 2795 return &v.sizeCache 2796 case 2: 2797 return &v.unknownFields 2798 default: 2799 return nil 2800 } 2801 } 2802 file_google_apps_drive_activity_v2_action_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2803 switch v := v.(*Create_New); i { 2804 case 0: 2805 return &v.state 2806 case 1: 2807 return &v.sizeCache 2808 case 2: 2809 return &v.unknownFields 2810 default: 2811 return nil 2812 } 2813 } 2814 file_google_apps_drive_activity_v2_action_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2815 switch v := v.(*Create_Upload); i { 2816 case 0: 2817 return &v.state 2818 case 1: 2819 return &v.sizeCache 2820 case 2: 2821 return &v.unknownFields 2822 default: 2823 return nil 2824 } 2825 } 2826 file_google_apps_drive_activity_v2_action_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2827 switch v := v.(*Create_Copy); i { 2828 case 0: 2829 return &v.state 2830 case 1: 2831 return &v.sizeCache 2832 case 2: 2833 return &v.unknownFields 2834 default: 2835 return nil 2836 } 2837 } 2838 file_google_apps_drive_activity_v2_action_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2839 switch v := v.(*Permission_Anyone); i { 2840 case 0: 2841 return &v.state 2842 case 1: 2843 return &v.sizeCache 2844 case 2: 2845 return &v.unknownFields 2846 default: 2847 return nil 2848 } 2849 } 2850 file_google_apps_drive_activity_v2_action_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2851 switch v := v.(*Comment_Post); i { 2852 case 0: 2853 return &v.state 2854 case 1: 2855 return &v.sizeCache 2856 case 2: 2857 return &v.unknownFields 2858 default: 2859 return nil 2860 } 2861 } 2862 file_google_apps_drive_activity_v2_action_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2863 switch v := v.(*Comment_Assignment); i { 2864 case 0: 2865 return &v.state 2866 case 1: 2867 return &v.sizeCache 2868 case 2: 2869 return &v.unknownFields 2870 default: 2871 return nil 2872 } 2873 } 2874 file_google_apps_drive_activity_v2_action_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2875 switch v := v.(*Comment_Suggestion); i { 2876 case 0: 2877 return &v.state 2878 case 1: 2879 return &v.sizeCache 2880 case 2: 2881 return &v.unknownFields 2882 default: 2883 return nil 2884 } 2885 } 2886 file_google_apps_drive_activity_v2_action_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2887 switch v := v.(*SettingsChange_RestrictionChange); i { 2888 case 0: 2889 return &v.state 2890 case 1: 2891 return &v.sizeCache 2892 case 2: 2893 return &v.unknownFields 2894 default: 2895 return nil 2896 } 2897 } 2898 } 2899 file_google_apps_drive_activity_v2_action_proto_msgTypes[0].OneofWrappers = []interface{}{ 2900 (*Action_Timestamp)(nil), 2901 (*Action_TimeRange)(nil), 2902 } 2903 file_google_apps_drive_activity_v2_action_proto_msgTypes[1].OneofWrappers = []interface{}{ 2904 (*ActionDetail_Create)(nil), 2905 (*ActionDetail_Edit)(nil), 2906 (*ActionDetail_Move)(nil), 2907 (*ActionDetail_Rename)(nil), 2908 (*ActionDetail_Delete)(nil), 2909 (*ActionDetail_Restore)(nil), 2910 (*ActionDetail_PermissionChange)(nil), 2911 (*ActionDetail_Comment)(nil), 2912 (*ActionDetail_DlpChange)(nil), 2913 (*ActionDetail_Reference)(nil), 2914 (*ActionDetail_SettingsChange)(nil), 2915 } 2916 file_google_apps_drive_activity_v2_action_proto_msgTypes[2].OneofWrappers = []interface{}{ 2917 (*Create_New_)(nil), 2918 (*Create_Upload_)(nil), 2919 (*Create_Copy_)(nil), 2920 } 2921 file_google_apps_drive_activity_v2_action_proto_msgTypes[9].OneofWrappers = []interface{}{ 2922 (*Permission_User)(nil), 2923 (*Permission_Group)(nil), 2924 (*Permission_Domain)(nil), 2925 (*Permission_Anyone_)(nil), 2926 } 2927 file_google_apps_drive_activity_v2_action_proto_msgTypes[10].OneofWrappers = []interface{}{ 2928 (*Comment_Post_)(nil), 2929 (*Comment_Assignment_)(nil), 2930 (*Comment_Suggestion_)(nil), 2931 } 2932 type x struct{} 2933 out := protoimpl.TypeBuilder{ 2934 File: protoimpl.DescBuilder{ 2935 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2936 RawDescriptor: file_google_apps_drive_activity_v2_action_proto_rawDesc, 2937 NumEnums: 10, 2938 NumMessages: 22, 2939 NumExtensions: 0, 2940 NumServices: 0, 2941 }, 2942 GoTypes: file_google_apps_drive_activity_v2_action_proto_goTypes, 2943 DependencyIndexes: file_google_apps_drive_activity_v2_action_proto_depIdxs, 2944 EnumInfos: file_google_apps_drive_activity_v2_action_proto_enumTypes, 2945 MessageInfos: file_google_apps_drive_activity_v2_action_proto_msgTypes, 2946 }.Build() 2947 File_google_apps_drive_activity_v2_action_proto = out.File 2948 file_google_apps_drive_activity_v2_action_proto_rawDesc = nil 2949 file_google_apps_drive_activity_v2_action_proto_goTypes = nil 2950 file_google_apps_drive_activity_v2_action_proto_depIdxs = nil 2951} 2952