| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: google/apps/drive/activity/v2/actor.proto |
| 20 |
|
| 21 |
package activity |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// The types of system events that may trigger activity. |
| 39 |
type SystemEvent_Type int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// The event type is unspecified. |
| 43 |
SystemEvent_TYPE_UNSPECIFIED SystemEvent_Type = 0 |
| 44 |
// The event is a consequence of a user account being deleted. |
| 45 |
SystemEvent_USER_DELETION SystemEvent_Type = 1 |
| 46 |
// The event is due to the system automatically purging trash. |
| 47 |
SystemEvent_TRASH_AUTO_PURGE SystemEvent_Type = 2 |
| 48 |
) |
| 49 |
|
| 50 |
// Enum value maps for SystemEvent_Type. |
| 51 |
var ( |
| 52 |
SystemEvent_Type_name = map[int32]string{ |
| 53 |
0: "TYPE_UNSPECIFIED", |
| 54 |
1: "USER_DELETION", |
| 55 |
2: "TRASH_AUTO_PURGE", |
| 56 |
} |
| 57 |
SystemEvent_Type_value = map[string]int32{ |
| 58 |
"TYPE_UNSPECIFIED": 0, |
| 59 |
"USER_DELETION": 1, |
| 60 |
"TRASH_AUTO_PURGE": 2, |
| 61 |
} |
| 62 |
) |
| 63 |
|
| 64 |
func (x SystemEvent_Type) Enum() *SystemEvent_Type { |
| 65 |
p := new(SystemEvent_Type) |
| 66 |
*p = x |
| 67 |
return p |
| 68 |
} |
| 69 |
|
| 70 |
func (x SystemEvent_Type) String() string { |
| 71 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 72 |
} |
| 73 |
|
| 74 |
func (SystemEvent_Type) Descriptor() protoreflect.EnumDescriptor { |
| 75 |
return file_google_apps_drive_activity_v2_actor_proto_enumTypes[0].Descriptor() |
| 76 |
} |
| 77 |
|
| 78 |
func (SystemEvent_Type) Type() protoreflect.EnumType { |
| 79 |
return &file_google_apps_drive_activity_v2_actor_proto_enumTypes[0] |
| 80 |
} |
| 81 |
|
| 82 |
func (x SystemEvent_Type) Number() protoreflect.EnumNumber { |
| 83 |
return protoreflect.EnumNumber(x) |
| 84 |
} |
| 85 |
|
| 86 |
// Deprecated: Use SystemEvent_Type.Descriptor instead. |
| 87 |
func (SystemEvent_Type) EnumDescriptor() ([]byte, []int) { |
| 88 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{4, 0} |
| 89 |
} |
| 90 |
|
| 91 |
// The actor of a Drive activity. |
| 92 |
type Actor struct { |
| 93 |
state protoimpl.MessageState |
| 94 |
sizeCache protoimpl.SizeCache |
| 95 |
unknownFields protoimpl.UnknownFields |
| 96 |
|
| 97 |
// The type of actor. |
| 98 |
// |
| 99 |
// Types that are assignable to Type: |
| 100 |
// |
| 101 |
// *Actor_User |
| 102 |
// *Actor_Anonymous |
| 103 |
// *Actor_Impersonation |
| 104 |
// *Actor_System |
| 105 |
// *Actor_Administrator |
| 106 |
Type isActor_Type `protobuf_oneof:"type"` |
| 107 |
} |
| 108 |
|
| 109 |
func (x *Actor) Reset() { |
| 110 |
*x = Actor{} |
| 111 |
if protoimpl.UnsafeEnabled { |
| 112 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[0] |
| 113 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 114 |
ms.StoreMessageInfo(mi) |
| 115 |
} |
| 116 |
} |
| 117 |
|
| 118 |
func (x *Actor) String() string { |
| 119 |
return protoimpl.X.MessageStringOf(x) |
| 120 |
} |
| 121 |
|
| 122 |
func (*Actor) ProtoMessage() {} |
| 123 |
|
| 124 |
func (x *Actor) ProtoReflect() protoreflect.Message { |
| 125 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[0] |
| 126 |
if protoimpl.UnsafeEnabled && x != nil { |
| 127 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 128 |
if ms.LoadMessageInfo() == nil { |
| 129 |
ms.StoreMessageInfo(mi) |
| 130 |
} |
| 131 |
return ms |
| 132 |
} |
| 133 |
return mi.MessageOf(x) |
| 134 |
} |
| 135 |
|
| 136 |
// Deprecated: Use Actor.ProtoReflect.Descriptor instead. |
| 137 |
func (*Actor) Descriptor() ([]byte, []int) { |
| 138 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{0} |
| 139 |
} |
| 140 |
|
| 141 |
func (m *Actor) GetType() isActor_Type { |
| 142 |
if m != nil { |
| 143 |
return m.Type |
| 144 |
} |
| 145 |
return nil |
| 146 |
} |
| 147 |
|
| 148 |
func (x *Actor) GetUser() *User { |
| 149 |
if x, ok := x.GetType().(*Actor_User); ok { |
| 150 |
return x.User |
| 151 |
} |
| 152 |
return nil |
| 153 |
} |
| 154 |
|
| 155 |
func (x *Actor) GetAnonymous() *AnonymousUser { |
| 156 |
if x, ok := x.GetType().(*Actor_Anonymous); ok { |
| 157 |
return x.Anonymous |
| 158 |
} |
| 159 |
return nil |
| 160 |
} |
| 161 |
|
| 162 |
func (x *Actor) GetImpersonation() *Impersonation { |
| 163 |
if x, ok := x.GetType().(*Actor_Impersonation); ok { |
| 164 |
return x.Impersonation |
| 165 |
} |
| 166 |
return nil |
| 167 |
} |
| 168 |
|
| 169 |
func (x *Actor) GetSystem() *SystemEvent { |
| 170 |
if x, ok := x.GetType().(*Actor_System); ok { |
| 171 |
return x.System |
| 172 |
} |
| 173 |
return nil |
| 174 |
} |
| 175 |
|
| 176 |
func (x *Actor) GetAdministrator() *Administrator { |
| 177 |
if x, ok := x.GetType().(*Actor_Administrator); ok { |
| 178 |
return x.Administrator |
| 179 |
} |
| 180 |
return nil |
| 181 |
} |
| 182 |
|
| 183 |
type isActor_Type interface { |
| 184 |
isActor_Type() |
| 185 |
} |
| 186 |
|
| 187 |
type Actor_User struct { |
| 188 |
// An end user. |
| 189 |
User *User `protobuf:"bytes,1,opt,name=user,proto3,oneof"` |
| 190 |
} |
| 191 |
|
| 192 |
type Actor_Anonymous struct { |
| 193 |
// An anonymous user. |
| 194 |
Anonymous *AnonymousUser `protobuf:"bytes,2,opt,name=anonymous,proto3,oneof"` |
| 195 |
} |
| 196 |
|
| 197 |
type Actor_Impersonation struct { |
| 198 |
// An account acting on behalf of another. |
| 199 |
Impersonation *Impersonation `protobuf:"bytes,3,opt,name=impersonation,proto3,oneof"` |
| 200 |
} |
| 201 |
|
| 202 |
type Actor_System struct { |
| 203 |
// A non-user actor (i.e. system triggered). |
| 204 |
System *SystemEvent `protobuf:"bytes,4,opt,name=system,proto3,oneof"` |
| 205 |
} |
| 206 |
|
| 207 |
type Actor_Administrator struct { |
| 208 |
// An administrator. |
| 209 |
Administrator *Administrator `protobuf:"bytes,5,opt,name=administrator,proto3,oneof"` |
| 210 |
} |
| 211 |
|
| 212 |
func (*Actor_User) isActor_Type() {} |
| 213 |
|
| 214 |
func (*Actor_Anonymous) isActor_Type() {} |
| 215 |
|
| 216 |
func (*Actor_Impersonation) isActor_Type() {} |
| 217 |
|
| 218 |
func (*Actor_System) isActor_Type() {} |
| 219 |
|
| 220 |
func (*Actor_Administrator) isActor_Type() {} |
| 221 |
|
| 222 |
// Information about an end user. |
| 223 |
type User struct { |
| 224 |
state protoimpl.MessageState |
| 225 |
sizeCache protoimpl.SizeCache |
| 226 |
unknownFields protoimpl.UnknownFields |
| 227 |
|
| 228 |
// The type of user, such as known, unknown, and deleted. |
| 229 |
// |
| 230 |
// Types that are assignable to Type: |
| 231 |
// |
| 232 |
// *User_KnownUser_ |
| 233 |
// *User_DeletedUser_ |
| 234 |
// *User_UnknownUser_ |
| 235 |
Type isUser_Type `protobuf_oneof:"type"` |
| 236 |
} |
| 237 |
|
| 238 |
func (x *User) Reset() { |
| 239 |
*x = User{} |
| 240 |
if protoimpl.UnsafeEnabled { |
| 241 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[1] |
| 242 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 243 |
ms.StoreMessageInfo(mi) |
| 244 |
} |
| 245 |
} |
| 246 |
|
| 247 |
func (x *User) String() string { |
| 248 |
return protoimpl.X.MessageStringOf(x) |
| 249 |
} |
| 250 |
|
| 251 |
func (*User) ProtoMessage() {} |
| 252 |
|
| 253 |
func (x *User) ProtoReflect() protoreflect.Message { |
| 254 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[1] |
| 255 |
if protoimpl.UnsafeEnabled && x != nil { |
| 256 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 257 |
if ms.LoadMessageInfo() == nil { |
| 258 |
ms.StoreMessageInfo(mi) |
| 259 |
} |
| 260 |
return ms |
| 261 |
} |
| 262 |
return mi.MessageOf(x) |
| 263 |
} |
| 264 |
|
| 265 |
// Deprecated: Use User.ProtoReflect.Descriptor instead. |
| 266 |
func (*User) Descriptor() ([]byte, []int) { |
| 267 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{1} |
| 268 |
} |
| 269 |
|
| 270 |
func (m *User) GetType() isUser_Type { |
| 271 |
if m != nil { |
| 272 |
return m.Type |
| 273 |
} |
| 274 |
return nil |
| 275 |
} |
| 276 |
|
| 277 |
func (x *User) GetKnownUser() *User_KnownUser { |
| 278 |
if x, ok := x.GetType().(*User_KnownUser_); ok { |
| 279 |
return x.KnownUser |
| 280 |
} |
| 281 |
return nil |
| 282 |
} |
| 283 |
|
| 284 |
func (x *User) GetDeletedUser() *User_DeletedUser { |
| 285 |
if x, ok := x.GetType().(*User_DeletedUser_); ok { |
| 286 |
return x.DeletedUser |
| 287 |
} |
| 288 |
return nil |
| 289 |
} |
| 290 |
|
| 291 |
func (x *User) GetUnknownUser() *User_UnknownUser { |
| 292 |
if x, ok := x.GetType().(*User_UnknownUser_); ok { |
| 293 |
return x.UnknownUser |
| 294 |
} |
| 295 |
return nil |
| 296 |
} |
| 297 |
|
| 298 |
type isUser_Type interface { |
| 299 |
isUser_Type() |
| 300 |
} |
| 301 |
|
| 302 |
type User_KnownUser_ struct { |
| 303 |
// A known user. |
| 304 |
KnownUser *User_KnownUser `protobuf:"bytes,2,opt,name=known_user,json=knownUser,proto3,oneof"` |
| 305 |
} |
| 306 |
|
| 307 |
type User_DeletedUser_ struct { |
| 308 |
// A user whose account has since been deleted. |
| 309 |
DeletedUser *User_DeletedUser `protobuf:"bytes,3,opt,name=deleted_user,json=deletedUser,proto3,oneof"` |
| 310 |
} |
| 311 |
|
| 312 |
type User_UnknownUser_ struct { |
| 313 |
// A user about whom nothing is currently known. |
| 314 |
UnknownUser *User_UnknownUser `protobuf:"bytes,4,opt,name=unknown_user,json=unknownUser,proto3,oneof"` |
| 315 |
} |
| 316 |
|
| 317 |
func (*User_KnownUser_) isUser_Type() {} |
| 318 |
|
| 319 |
func (*User_DeletedUser_) isUser_Type() {} |
| 320 |
|
| 321 |
func (*User_UnknownUser_) isUser_Type() {} |
| 322 |
|
| 323 |
// Empty message representing an anonymous user or indicating the authenticated |
| 324 |
// user should be anonymized. |
| 325 |
type AnonymousUser struct { |
| 326 |
state protoimpl.MessageState |
| 327 |
sizeCache protoimpl.SizeCache |
| 328 |
unknownFields protoimpl.UnknownFields |
| 329 |
} |
| 330 |
|
| 331 |
func (x *AnonymousUser) Reset() { |
| 332 |
*x = AnonymousUser{} |
| 333 |
if protoimpl.UnsafeEnabled { |
| 334 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[2] |
| 335 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 336 |
ms.StoreMessageInfo(mi) |
| 337 |
} |
| 338 |
} |
| 339 |
|
| 340 |
func (x *AnonymousUser) String() string { |
| 341 |
return protoimpl.X.MessageStringOf(x) |
| 342 |
} |
| 343 |
|
| 344 |
func (*AnonymousUser) ProtoMessage() {} |
| 345 |
|
| 346 |
func (x *AnonymousUser) ProtoReflect() protoreflect.Message { |
| 347 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[2] |
| 348 |
if protoimpl.UnsafeEnabled && x != nil { |
| 349 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 350 |
if ms.LoadMessageInfo() == nil { |
| 351 |
ms.StoreMessageInfo(mi) |
| 352 |
} |
| 353 |
return ms |
| 354 |
} |
| 355 |
return mi.MessageOf(x) |
| 356 |
} |
| 357 |
|
| 358 |
// Deprecated: Use AnonymousUser.ProtoReflect.Descriptor instead. |
| 359 |
func (*AnonymousUser) Descriptor() ([]byte, []int) { |
| 360 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{2} |
| 361 |
} |
| 362 |
|
| 363 |
// Information about an impersonation, where an admin acts on behalf of an end |
| 364 |
// user. Information about the acting admin is not currently available. |
| 365 |
type Impersonation struct { |
| 366 |
state protoimpl.MessageState |
| 367 |
sizeCache protoimpl.SizeCache |
| 368 |
unknownFields protoimpl.UnknownFields |
| 369 |
|
| 370 |
// The impersonated user. |
| 371 |
ImpersonatedUser *User `protobuf:"bytes,1,opt,name=impersonated_user,json=impersonatedUser,proto3" json:"impersonated_user,omitempty"` |
| 372 |
} |
| 373 |
|
| 374 |
func (x *Impersonation) Reset() { |
| 375 |
*x = Impersonation{} |
| 376 |
if protoimpl.UnsafeEnabled { |
| 377 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[3] |
| 378 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 379 |
ms.StoreMessageInfo(mi) |
| 380 |
} |
| 381 |
} |
| 382 |
|
| 383 |
func (x *Impersonation) String() string { |
| 384 |
return protoimpl.X.MessageStringOf(x) |
| 385 |
} |
| 386 |
|
| 387 |
func (*Impersonation) ProtoMessage() {} |
| 388 |
|
| 389 |
func (x *Impersonation) ProtoReflect() protoreflect.Message { |
| 390 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[3] |
| 391 |
if protoimpl.UnsafeEnabled && x != nil { |
| 392 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 393 |
if ms.LoadMessageInfo() == nil { |
| 394 |
ms.StoreMessageInfo(mi) |
| 395 |
} |
| 396 |
return ms |
| 397 |
} |
| 398 |
return mi.MessageOf(x) |
| 399 |
} |
| 400 |
|
| 401 |
// Deprecated: Use Impersonation.ProtoReflect.Descriptor instead. |
| 402 |
func (*Impersonation) Descriptor() ([]byte, []int) { |
| 403 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{3} |
| 404 |
} |
| 405 |
|
| 406 |
func (x *Impersonation) GetImpersonatedUser() *User { |
| 407 |
if x != nil { |
| 408 |
return x.ImpersonatedUser |
| 409 |
} |
| 410 |
return nil |
| 411 |
} |
| 412 |
|
| 413 |
// Event triggered by system operations instead of end users. |
| 414 |
type SystemEvent struct { |
| 415 |
state protoimpl.MessageState |
| 416 |
sizeCache protoimpl.SizeCache |
| 417 |
unknownFields protoimpl.UnknownFields |
| 418 |
|
| 419 |
// The type of the system event that may triggered activity. |
| 420 |
Type SystemEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.SystemEvent_Type" json:"type,omitempty"` |
| 421 |
} |
| 422 |
|
| 423 |
func (x *SystemEvent) Reset() { |
| 424 |
*x = SystemEvent{} |
| 425 |
if protoimpl.UnsafeEnabled { |
| 426 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[4] |
| 427 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 428 |
ms.StoreMessageInfo(mi) |
| 429 |
} |
| 430 |
} |
| 431 |
|
| 432 |
func (x *SystemEvent) String() string { |
| 433 |
return protoimpl.X.MessageStringOf(x) |
| 434 |
} |
| 435 |
|
| 436 |
func (*SystemEvent) ProtoMessage() {} |
| 437 |
|
| 438 |
func (x *SystemEvent) ProtoReflect() protoreflect.Message { |
| 439 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[4] |
| 440 |
if protoimpl.UnsafeEnabled && x != nil { |
| 441 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 442 |
if ms.LoadMessageInfo() == nil { |
| 443 |
ms.StoreMessageInfo(mi) |
| 444 |
} |
| 445 |
return ms |
| 446 |
} |
| 447 |
return mi.MessageOf(x) |
| 448 |
} |
| 449 |
|
| 450 |
// Deprecated: Use SystemEvent.ProtoReflect.Descriptor instead. |
| 451 |
func (*SystemEvent) Descriptor() ([]byte, []int) { |
| 452 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{4} |
| 453 |
} |
| 454 |
|
| 455 |
func (x *SystemEvent) GetType() SystemEvent_Type { |
| 456 |
if x != nil { |
| 457 |
return x.Type |
| 458 |
} |
| 459 |
return SystemEvent_TYPE_UNSPECIFIED |
| 460 |
} |
| 461 |
|
| 462 |
// Empty message representing an administrator. |
| 463 |
type Administrator struct { |
| 464 |
state protoimpl.MessageState |
| 465 |
sizeCache protoimpl.SizeCache |
| 466 |
unknownFields protoimpl.UnknownFields |
| 467 |
} |
| 468 |
|
| 469 |
func (x *Administrator) Reset() { |
| 470 |
*x = Administrator{} |
| 471 |
if protoimpl.UnsafeEnabled { |
| 472 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[5] |
| 473 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 474 |
ms.StoreMessageInfo(mi) |
| 475 |
} |
| 476 |
} |
| 477 |
|
| 478 |
func (x *Administrator) String() string { |
| 479 |
return protoimpl.X.MessageStringOf(x) |
| 480 |
} |
| 481 |
|
| 482 |
func (*Administrator) ProtoMessage() {} |
| 483 |
|
| 484 |
func (x *Administrator) ProtoReflect() protoreflect.Message { |
| 485 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[5] |
| 486 |
if protoimpl.UnsafeEnabled && x != nil { |
| 487 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 488 |
if ms.LoadMessageInfo() == nil { |
| 489 |
ms.StoreMessageInfo(mi) |
| 490 |
} |
| 491 |
return ms |
| 492 |
} |
| 493 |
return mi.MessageOf(x) |
| 494 |
} |
| 495 |
|
| 496 |
// Deprecated: Use Administrator.ProtoReflect.Descriptor instead. |
| 497 |
func (*Administrator) Descriptor() ([]byte, []int) { |
| 498 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{5} |
| 499 |
} |
| 500 |
|
| 501 |
// A known user. |
| 502 |
type User_KnownUser struct { |
| 503 |
state protoimpl.MessageState |
| 504 |
sizeCache protoimpl.SizeCache |
| 505 |
unknownFields protoimpl.UnknownFields |
| 506 |
|
| 507 |
// The identifier for this user that can be used with the People API to get |
| 508 |
// more information. The format is `people/ACCOUNT_ID`. See |
| 509 |
// https://developers.google.com/people/. |
| 510 |
PersonName string `protobuf:"bytes,1,opt,name=person_name,json=personName,proto3" json:"person_name,omitempty"` |
| 511 |
// True if this is the user making the request. |
| 512 |
IsCurrentUser bool `protobuf:"varint,2,opt,name=is_current_user,json=isCurrentUser,proto3" json:"is_current_user,omitempty"` |
| 513 |
} |
| 514 |
|
| 515 |
func (x *User_KnownUser) Reset() { |
| 516 |
*x = User_KnownUser{} |
| 517 |
if protoimpl.UnsafeEnabled { |
| 518 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[6] |
| 519 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 520 |
ms.StoreMessageInfo(mi) |
| 521 |
} |
| 522 |
} |
| 523 |
|
| 524 |
func (x *User_KnownUser) String() string { |
| 525 |
return protoimpl.X.MessageStringOf(x) |
| 526 |
} |
| 527 |
|
| 528 |
func (*User_KnownUser) ProtoMessage() {} |
| 529 |
|
| 530 |
func (x *User_KnownUser) ProtoReflect() protoreflect.Message { |
| 531 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[6] |
| 532 |
if protoimpl.UnsafeEnabled && x != nil { |
| 533 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 534 |
if ms.LoadMessageInfo() == nil { |
| 535 |
ms.StoreMessageInfo(mi) |
| 536 |
} |
| 537 |
return ms |
| 538 |
} |
| 539 |
return mi.MessageOf(x) |
| 540 |
} |
| 541 |
|
| 542 |
// Deprecated: Use User_KnownUser.ProtoReflect.Descriptor instead. |
| 543 |
func (*User_KnownUser) Descriptor() ([]byte, []int) { |
| 544 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{1, 0} |
| 545 |
} |
| 546 |
|
| 547 |
func (x *User_KnownUser) GetPersonName() string { |
| 548 |
if x != nil { |
| 549 |
return x.PersonName |
| 550 |
} |
| 551 |
return "" |
| 552 |
} |
| 553 |
|
| 554 |
func (x *User_KnownUser) GetIsCurrentUser() bool { |
| 555 |
if x != nil { |
| 556 |
return x.IsCurrentUser |
| 557 |
} |
| 558 |
return false |
| 559 |
} |
| 560 |
|
| 561 |
// A user whose account has since been deleted. |
| 562 |
type User_DeletedUser struct { |
| 563 |
state protoimpl.MessageState |
| 564 |
sizeCache protoimpl.SizeCache |
| 565 |
unknownFields protoimpl.UnknownFields |
| 566 |
} |
| 567 |
|
| 568 |
func (x *User_DeletedUser) Reset() { |
| 569 |
*x = User_DeletedUser{} |
| 570 |
if protoimpl.UnsafeEnabled { |
| 571 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[7] |
| 572 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 573 |
ms.StoreMessageInfo(mi) |
| 574 |
} |
| 575 |
} |
| 576 |
|
| 577 |
func (x *User_DeletedUser) String() string { |
| 578 |
return protoimpl.X.MessageStringOf(x) |
| 579 |
} |
| 580 |
|
| 581 |
func (*User_DeletedUser) ProtoMessage() {} |
| 582 |
|
| 583 |
func (x *User_DeletedUser) ProtoReflect() protoreflect.Message { |
| 584 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[7] |
| 585 |
if protoimpl.UnsafeEnabled && x != nil { |
| 586 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 587 |
if ms.LoadMessageInfo() == nil { |
| 588 |
ms.StoreMessageInfo(mi) |
| 589 |
} |
| 590 |
return ms |
| 591 |
} |
| 592 |
return mi.MessageOf(x) |
| 593 |
} |
| 594 |
|
| 595 |
// Deprecated: Use User_DeletedUser.ProtoReflect.Descriptor instead. |
| 596 |
func (*User_DeletedUser) Descriptor() ([]byte, []int) { |
| 597 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{1, 1} |
| 598 |
} |
| 599 |
|
| 600 |
// A user about whom nothing is currently known. |
| 601 |
type User_UnknownUser struct { |
| 602 |
state protoimpl.MessageState |
| 603 |
sizeCache protoimpl.SizeCache |
| 604 |
unknownFields protoimpl.UnknownFields |
| 605 |
} |
| 606 |
|
| 607 |
func (x *User_UnknownUser) Reset() { |
| 608 |
*x = User_UnknownUser{} |
| 609 |
if protoimpl.UnsafeEnabled { |
| 610 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[8] |
| 611 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 612 |
ms.StoreMessageInfo(mi) |
| 613 |
} |
| 614 |
} |
| 615 |
|
| 616 |
func (x *User_UnknownUser) String() string { |
| 617 |
return protoimpl.X.MessageStringOf(x) |
| 618 |
} |
| 619 |
|
| 620 |
func (*User_UnknownUser) ProtoMessage() {} |
| 621 |
|
| 622 |
func (x *User_UnknownUser) ProtoReflect() protoreflect.Message { |
| 623 |
mi := &file_google_apps_drive_activity_v2_actor_proto_msgTypes[8] |
| 624 |
if protoimpl.UnsafeEnabled && x != nil { |
| 625 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 626 |
if ms.LoadMessageInfo() == nil { |
| 627 |
ms.StoreMessageInfo(mi) |
| 628 |
} |
| 629 |
return ms |
| 630 |
} |
| 631 |
return mi.MessageOf(x) |
| 632 |
} |
| 633 |
|
| 634 |
// Deprecated: Use User_UnknownUser.ProtoReflect.Descriptor instead. |
| 635 |
func (*User_UnknownUser) Descriptor() ([]byte, []int) { |
| 636 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP(), []int{1, 2} |
| 637 |
} |
| 638 |
|
| 639 |
var File_google_apps_drive_activity_v2_actor_proto protoreflect.FileDescriptor |
| 640 |
|
| 641 |
var file_google_apps_drive_activity_v2_actor_proto_rawDesc = []byte{ |
| 642 |
0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, |
| 643 |
0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, |
| 644 |
0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, |
| 645 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, |
| 646 |
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x22, 0x8a, 0x03, 0x0a, 0x05, 0x41, |
| 647 |
0x63, 0x74, 0x6f, 0x72, 0x12, 0x39, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, |
| 648 |
0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 649 |
0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, |
| 650 |
0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, |
| 651 |
0x4c, 0x0a, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, |
| 652 |
0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 653 |
0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, |
| 654 |
0x76, 0x32, 0x2e, 0x41, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x55, 0x73, 0x65, 0x72, |
| 655 |
0x48, 0x00, 0x52, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x12, 0x54, 0x0a, |
| 656 |
0x0d, 0x69, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, |
| 657 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 658 |
0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, |
| 659 |
0x79, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, |
| 660 |
0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x69, 0x6d, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, |
| 661 |
0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, |
| 662 |
0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 663 |
0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, |
| 664 |
0x2e, 0x76, 0x32, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, |
| 665 |
0x00, 0x52, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x54, 0x0a, 0x0d, 0x61, 0x64, 0x6d, |
| 666 |
0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, |
| 667 |
0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, |
| 668 |
0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, |
| 669 |
0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x48, 0x00, |
| 670 |
0x52, 0x0d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x42, |
| 671 |
0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xfe, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, |
| 672 |
0x12, 0x4e, 0x0a, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, |
| 673 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 674 |
0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, |
| 675 |
0x79, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x55, |
| 676 |
0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x55, 0x73, 0x65, 0x72, |
| 677 |
0x12, 0x54, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, |
| 678 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 679 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, |
| 680 |
0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x44, 0x65, 0x6c, 0x65, |
| 681 |
0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, |
| 682 |
0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x0c, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, |
| 683 |
0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, |
| 684 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, |
| 685 |
0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, |
| 686 |
0x72, 0x2e, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, |
| 687 |
0x0b, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x54, 0x0a, 0x09, |
| 688 |
0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x65, 0x72, |
| 689 |
0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, |
| 690 |
0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, |
| 691 |
0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, |
| 692 |
0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, |
| 693 |
0x65, 0x72, 0x1a, 0x0d, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, |
| 694 |
0x72, 0x1a, 0x0d, 0x0a, 0x0b, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x55, 0x73, 0x65, 0x72, |
| 695 |
0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x41, 0x6e, 0x6f, 0x6e, |
| 696 |
0x79, 0x6d, 0x6f, 0x75, 0x73, 0x55, 0x73, 0x65, 0x72, 0x22, 0x61, 0x0a, 0x0d, 0x49, 0x6d, 0x70, |
| 697 |
0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x11, 0x69, 0x6d, |
| 698 |
0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, |
| 699 |
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, |
| 700 |
0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, |
| 701 |
0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x10, 0x69, 0x6d, 0x70, 0x65, |
| 702 |
0x72, 0x73, 0x6f, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, |
| 703 |
0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x04, |
| 704 |
0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, |
| 705 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, |
| 706 |
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, |
| 707 |
0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, |
| 708 |
0x65, 0x22, 0x45, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, |
| 709 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 710 |
0x11, 0x0a, 0x0d, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, |
| 711 |
0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x52, 0x41, 0x53, 0x48, 0x5f, 0x41, 0x55, 0x54, 0x4f, |
| 712 |
0x5f, 0x50, 0x55, 0x52, 0x47, 0x45, 0x10, 0x02, 0x22, 0x0f, 0x0a, 0x0d, 0x41, 0x64, 0x6d, 0x69, |
| 713 |
0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x42, 0xbf, 0x01, 0x0a, 0x21, 0x63, 0x6f, |
| 714 |
0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, |
| 715 |
0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x42, |
| 716 |
0x0a, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, |
| 717 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, |
| 718 |
0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 719 |
0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, |
| 720 |
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x63, 0x74, 0x69, |
| 721 |
0x76, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x44, 0x41, 0xaa, 0x02, 0x1d, 0x47, 0x6f, |
| 722 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x2e, |
| 723 |
0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1d, 0x47, 0x6f, |
| 724 |
0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 0x44, 0x72, 0x69, 0x76, 0x65, 0x5c, |
| 725 |
0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, |
| 726 |
0x74, 0x6f, 0x33, |
| 727 |
} |
| 728 |
|
| 729 |
var ( |
| 730 |
file_google_apps_drive_activity_v2_actor_proto_rawDescOnce sync.Once |
| 731 |
file_google_apps_drive_activity_v2_actor_proto_rawDescData = file_google_apps_drive_activity_v2_actor_proto_rawDesc |
| 732 |
) |
| 733 |
|
| 734 |
func file_google_apps_drive_activity_v2_actor_proto_rawDescGZIP() []byte { |
| 735 |
file_google_apps_drive_activity_v2_actor_proto_rawDescOnce.Do(func() { |
| 736 |
file_google_apps_drive_activity_v2_actor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_activity_v2_actor_proto_rawDescData) |
| 737 |
}) |
| 738 |
return file_google_apps_drive_activity_v2_actor_proto_rawDescData |
| 739 |
} |
| 740 |
|
| 741 |
var file_google_apps_drive_activity_v2_actor_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 742 |
var file_google_apps_drive_activity_v2_actor_proto_msgTypes = make([]protoimpl.MessageInfo, 9) |
| 743 |
var file_google_apps_drive_activity_v2_actor_proto_goTypes = []interface{}{ |
| 744 |
(SystemEvent_Type)(0), // 0: google.apps.drive.activity.v2.SystemEvent.Type |
| 745 |
(*Actor)(nil), // 1: google.apps.drive.activity.v2.Actor |
| 746 |
(*User)(nil), // 2: google.apps.drive.activity.v2.User |
| 747 |
(*AnonymousUser)(nil), // 3: google.apps.drive.activity.v2.AnonymousUser |
| 748 |
(*Impersonation)(nil), // 4: google.apps.drive.activity.v2.Impersonation |
| 749 |
(*SystemEvent)(nil), // 5: google.apps.drive.activity.v2.SystemEvent |
| 750 |
(*Administrator)(nil), // 6: google.apps.drive.activity.v2.Administrator |
| 751 |
(*User_KnownUser)(nil), // 7: google.apps.drive.activity.v2.User.KnownUser |
| 752 |
(*User_DeletedUser)(nil), // 8: google.apps.drive.activity.v2.User.DeletedUser |
| 753 |
(*User_UnknownUser)(nil), // 9: google.apps.drive.activity.v2.User.UnknownUser |
| 754 |
} |
| 755 |
var file_google_apps_drive_activity_v2_actor_proto_depIdxs = []int32{ |
| 756 |
2, // 0: google.apps.drive.activity.v2.Actor.user:type_name -> google.apps.drive.activity.v2.User |
| 757 |
3, // 1: google.apps.drive.activity.v2.Actor.anonymous:type_name -> google.apps.drive.activity.v2.AnonymousUser |
| 758 |
4, // 2: google.apps.drive.activity.v2.Actor.impersonation:type_name -> google.apps.drive.activity.v2.Impersonation |
| 759 |
5, // 3: google.apps.drive.activity.v2.Actor.system:type_name -> google.apps.drive.activity.v2.SystemEvent |
| 760 |
6, // 4: google.apps.drive.activity.v2.Actor.administrator:type_name -> google.apps.drive.activity.v2.Administrator |
| 761 |
7, // 5: google.apps.drive.activity.v2.User.known_user:type_name -> google.apps.drive.activity.v2.User.KnownUser |
| 762 |
8, // 6: google.apps.drive.activity.v2.User.deleted_user:type_name -> google.apps.drive.activity.v2.User.DeletedUser |
| 763 |
9, // 7: google.apps.drive.activity.v2.User.unknown_user:type_name -> google.apps.drive.activity.v2.User.UnknownUser |
| 764 |
2, // 8: google.apps.drive.activity.v2.Impersonation.impersonated_user:type_name -> google.apps.drive.activity.v2.User |
| 765 |
0, // 9: google.apps.drive.activity.v2.SystemEvent.type:type_name -> google.apps.drive.activity.v2.SystemEvent.Type |
| 766 |
10, // [10:10] is the sub-list for method output_type |
| 767 |
10, // [10:10] is the sub-list for method input_type |
| 768 |
10, // [10:10] is the sub-list for extension type_name |
| 769 |
10, // [10:10] is the sub-list for extension extendee |
| 770 |
0, // [0:10] is the sub-list for field type_name |
| 771 |
} |
| 772 |
|
| 773 |
func init() { file_google_apps_drive_activity_v2_actor_proto_init() } |
| 774 |
func file_google_apps_drive_activity_v2_actor_proto_init() { |
| 775 |
if File_google_apps_drive_activity_v2_actor_proto != nil { |
| 776 |
return |
| 777 |
} |
| 778 |
if !protoimpl.UnsafeEnabled { |
| 779 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 780 |
switch v := v.(*Actor); i { |
| 781 |
case 0: |
| 782 |
return &v.state |
| 783 |
case 1: |
| 784 |
return &v.sizeCache |
| 785 |
case 2: |
| 786 |
return &v.unknownFields |
| 787 |
default: |
| 788 |
return nil |
| 789 |
} |
| 790 |
} |
| 791 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 792 |
switch v := v.(*User); i { |
| 793 |
case 0: |
| 794 |
return &v.state |
| 795 |
case 1: |
| 796 |
return &v.sizeCache |
| 797 |
case 2: |
| 798 |
return &v.unknownFields |
| 799 |
default: |
| 800 |
return nil |
| 801 |
} |
| 802 |
} |
| 803 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 804 |
switch v := v.(*AnonymousUser); i { |
| 805 |
case 0: |
| 806 |
return &v.state |
| 807 |
case 1: |
| 808 |
return &v.sizeCache |
| 809 |
case 2: |
| 810 |
return &v.unknownFields |
| 811 |
default: |
| 812 |
return nil |
| 813 |
} |
| 814 |
} |
| 815 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 816 |
switch v := v.(*Impersonation); i { |
| 817 |
case 0: |
| 818 |
return &v.state |
| 819 |
case 1: |
| 820 |
return &v.sizeCache |
| 821 |
case 2: |
| 822 |
return &v.unknownFields |
| 823 |
default: |
| 824 |
return nil |
| 825 |
} |
| 826 |
} |
| 827 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 828 |
switch v := v.(*SystemEvent); i { |
| 829 |
case 0: |
| 830 |
return &v.state |
| 831 |
case 1: |
| 832 |
return &v.sizeCache |
| 833 |
case 2: |
| 834 |
return &v.unknownFields |
| 835 |
default: |
| 836 |
return nil |
| 837 |
} |
| 838 |
} |
| 839 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 840 |
switch v := v.(*Administrator); i { |
| 841 |
case 0: |
| 842 |
return &v.state |
| 843 |
case 1: |
| 844 |
return &v.sizeCache |
| 845 |
case 2: |
| 846 |
return &v.unknownFields |
| 847 |
default: |
| 848 |
return nil |
| 849 |
} |
| 850 |
} |
| 851 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 852 |
switch v := v.(*User_KnownUser); i { |
| 853 |
case 0: |
| 854 |
return &v.state |
| 855 |
case 1: |
| 856 |
return &v.sizeCache |
| 857 |
case 2: |
| 858 |
return &v.unknownFields |
| 859 |
default: |
| 860 |
return nil |
| 861 |
} |
| 862 |
} |
| 863 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 864 |
switch v := v.(*User_DeletedUser); i { |
| 865 |
case 0: |
| 866 |
return &v.state |
| 867 |
case 1: |
| 868 |
return &v.sizeCache |
| 869 |
case 2: |
| 870 |
return &v.unknownFields |
| 871 |
default: |
| 872 |
return nil |
| 873 |
} |
| 874 |
} |
| 875 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 876 |
switch v := v.(*User_UnknownUser); i { |
| 877 |
case 0: |
| 878 |
return &v.state |
| 879 |
case 1: |
| 880 |
return &v.sizeCache |
| 881 |
case 2: |
| 882 |
return &v.unknownFields |
| 883 |
default: |
| 884 |
return nil |
| 885 |
} |
| 886 |
} |
| 887 |
} |
| 888 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 889 |
(*Actor_User)(nil), |
| 890 |
(*Actor_Anonymous)(nil), |
| 891 |
(*Actor_Impersonation)(nil), |
| 892 |
(*Actor_System)(nil), |
| 893 |
(*Actor_Administrator)(nil), |
| 894 |
} |
| 895 |
file_google_apps_drive_activity_v2_actor_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 896 |
(*User_KnownUser_)(nil), |
| 897 |
(*User_DeletedUser_)(nil), |
| 898 |
(*User_UnknownUser_)(nil), |
| 899 |
} |
| 900 |
type x struct{} |
| 901 |
out := protoimpl.TypeBuilder{ |
| 902 |
File: protoimpl.DescBuilder{ |
| 903 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 904 |
RawDescriptor: file_google_apps_drive_activity_v2_actor_proto_rawDesc, |
| 905 |
NumEnums: 1, |
| 906 |
NumMessages: 9, |
| 907 |
NumExtensions: 0, |
| 908 |
NumServices: 0, |
| 909 |
}, |
| 910 |
GoTypes: file_google_apps_drive_activity_v2_actor_proto_goTypes, |
| 911 |
DependencyIndexes: file_google_apps_drive_activity_v2_actor_proto_depIdxs, |
| 912 |
EnumInfos: file_google_apps_drive_activity_v2_actor_proto_enumTypes, |
| 913 |
MessageInfos: file_google_apps_drive_activity_v2_actor_proto_msgTypes, |
| 914 |
}.Build() |
| 915 |
File_google_apps_drive_activity_v2_actor_proto = out.File |
| 916 |
file_google_apps_drive_activity_v2_actor_proto_rawDesc = nil |
| 917 |
file_google_apps_drive_activity_v2_actor_proto_goTypes = nil |
| 918 |
file_google_apps_drive_activity_v2_actor_proto_depIdxs = nil |
| 919 |
} |