...

Source file src/google.golang.org/genproto/googleapis/apps/drive/activity/v2/target.pb.go

Documentation: google.golang.org/genproto/googleapis/apps/drive/activity/v2

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

View as plain text