...

Source file src/google.golang.org/genproto/googleapis/apps/drive/activity/v2/query_drive_activity_request.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/query_drive_activity_request.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 request message for querying Drive activity.
    39  type QueryDriveActivityRequest struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The primary criteria in the query. The default is
    45  	// ancestorName = `items/root`, if no key is specified.
    46  	//
    47  	// Types that are assignable to Key:
    48  	//
    49  	//	*QueryDriveActivityRequest_ItemName
    50  	//	*QueryDriveActivityRequest_AncestorName
    51  	Key isQueryDriveActivityRequest_Key `protobuf_oneof:"key"`
    52  	// Details on how to consolidate related actions that make up the activity. If
    53  	// not set, then related actions aren't consolidated.
    54  	ConsolidationStrategy *ConsolidationStrategy `protobuf:"bytes,5,opt,name=consolidation_strategy,json=consolidationStrategy,proto3" json:"consolidation_strategy,omitempty"`
    55  	// The minimum number of activities desired in the response; the server
    56  	// attempts to return at least this quantity. The server may also return fewer
    57  	// activities if it has a partial response ready before the request times out.
    58  	// If not set, a default value is used.
    59  	PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    60  	// The token identifies which page of results to return. Set this to the
    61  	// next_page_token value returned from a previous query to obtain the
    62  	// following page of results. If not set, the first page of results is
    63  	// returned.
    64  	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    65  	// The filtering for items returned from this query request. The format of the
    66  	// filter string is a sequence of expressions, joined by an optional "AND",
    67  	// where each expression is of the form "field operator value".
    68  	//
    69  	// Supported fields:
    70  	//
    71  	//   - `time`: Uses numerical operators on date values either in
    72  	//     terms of milliseconds since Jan 1, 1970 or in <a
    73  	//     href="https://www.rfc-editor.org/rfc/rfc3339" target="_blank">RFC
    74  	//     3339</a> format. Examples:
    75  	//
    76  	//   - `time > 1452409200000 AND time <= 1492812924310`
    77  	//
    78  	//   - `time >= "2016-01-10T01:02:03-05:00"`
    79  	//
    80  	//   - `detail.action_detail_case`: Uses the "has" operator (:) and
    81  	//     either a singular value or a list of allowed action types enclosed in
    82  	//     parentheses, separated by a space. To exclude a result from the
    83  	//     response, prepend a hyphen (`-`) to the beginning of the filter string.
    84  	//     Examples:
    85  	//
    86  	//   - `detail.action_detail_case:RENAME`
    87  	//
    88  	//   - `detail.action_detail_case:(CREATE RESTORE)`
    89  	//
    90  	//   - `-detail.action_detail_case:MOVE`
    91  	Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"`
    92  }
    93  
    94  func (x *QueryDriveActivityRequest) Reset() {
    95  	*x = QueryDriveActivityRequest{}
    96  	if protoimpl.UnsafeEnabled {
    97  		mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0]
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		ms.StoreMessageInfo(mi)
   100  	}
   101  }
   102  
   103  func (x *QueryDriveActivityRequest) String() string {
   104  	return protoimpl.X.MessageStringOf(x)
   105  }
   106  
   107  func (*QueryDriveActivityRequest) ProtoMessage() {}
   108  
   109  func (x *QueryDriveActivityRequest) ProtoReflect() protoreflect.Message {
   110  	mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0]
   111  	if protoimpl.UnsafeEnabled && x != nil {
   112  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   113  		if ms.LoadMessageInfo() == nil {
   114  			ms.StoreMessageInfo(mi)
   115  		}
   116  		return ms
   117  	}
   118  	return mi.MessageOf(x)
   119  }
   120  
   121  // Deprecated: Use QueryDriveActivityRequest.ProtoReflect.Descriptor instead.
   122  func (*QueryDriveActivityRequest) Descriptor() ([]byte, []int) {
   123  	return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{0}
   124  }
   125  
   126  func (m *QueryDriveActivityRequest) GetKey() isQueryDriveActivityRequest_Key {
   127  	if m != nil {
   128  		return m.Key
   129  	}
   130  	return nil
   131  }
   132  
   133  func (x *QueryDriveActivityRequest) GetItemName() string {
   134  	if x, ok := x.GetKey().(*QueryDriveActivityRequest_ItemName); ok {
   135  		return x.ItemName
   136  	}
   137  	return ""
   138  }
   139  
   140  func (x *QueryDriveActivityRequest) GetAncestorName() string {
   141  	if x, ok := x.GetKey().(*QueryDriveActivityRequest_AncestorName); ok {
   142  		return x.AncestorName
   143  	}
   144  	return ""
   145  }
   146  
   147  func (x *QueryDriveActivityRequest) GetConsolidationStrategy() *ConsolidationStrategy {
   148  	if x != nil {
   149  		return x.ConsolidationStrategy
   150  	}
   151  	return nil
   152  }
   153  
   154  func (x *QueryDriveActivityRequest) GetPageSize() int32 {
   155  	if x != nil {
   156  		return x.PageSize
   157  	}
   158  	return 0
   159  }
   160  
   161  func (x *QueryDriveActivityRequest) GetPageToken() string {
   162  	if x != nil {
   163  		return x.PageToken
   164  	}
   165  	return ""
   166  }
   167  
   168  func (x *QueryDriveActivityRequest) GetFilter() string {
   169  	if x != nil {
   170  		return x.Filter
   171  	}
   172  	return ""
   173  }
   174  
   175  type isQueryDriveActivityRequest_Key interface {
   176  	isQueryDriveActivityRequest_Key()
   177  }
   178  
   179  type QueryDriveActivityRequest_ItemName struct {
   180  	// Return activities for this Drive item. The format is
   181  	// `items/ITEM_ID`.
   182  	ItemName string `protobuf:"bytes,1,opt,name=item_name,json=itemName,proto3,oneof"`
   183  }
   184  
   185  type QueryDriveActivityRequest_AncestorName struct {
   186  	// Return activities for this Drive folder, plus all children and
   187  	// descendants. The format is `items/ITEM_ID`.
   188  	AncestorName string `protobuf:"bytes,2,opt,name=ancestor_name,json=ancestorName,proto3,oneof"`
   189  }
   190  
   191  func (*QueryDriveActivityRequest_ItemName) isQueryDriveActivityRequest_Key() {}
   192  
   193  func (*QueryDriveActivityRequest_AncestorName) isQueryDriveActivityRequest_Key() {}
   194  
   195  // How the individual activities are consolidated. If a set of activities is
   196  // related they can be consolidated into one combined activity, such as one
   197  // actor performing the same action on multiple targets, or multiple actors
   198  // performing the same action on a single target. The strategy defines the rules
   199  // for which activities are related.
   200  type ConsolidationStrategy struct {
   201  	state         protoimpl.MessageState
   202  	sizeCache     protoimpl.SizeCache
   203  	unknownFields protoimpl.UnknownFields
   204  
   205  	// How the individual activities are consolidated.
   206  	//
   207  	// Types that are assignable to Strategy:
   208  	//
   209  	//	*ConsolidationStrategy_None
   210  	//	*ConsolidationStrategy_Legacy_
   211  	Strategy isConsolidationStrategy_Strategy `protobuf_oneof:"strategy"`
   212  }
   213  
   214  func (x *ConsolidationStrategy) Reset() {
   215  	*x = ConsolidationStrategy{}
   216  	if protoimpl.UnsafeEnabled {
   217  		mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1]
   218  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   219  		ms.StoreMessageInfo(mi)
   220  	}
   221  }
   222  
   223  func (x *ConsolidationStrategy) String() string {
   224  	return protoimpl.X.MessageStringOf(x)
   225  }
   226  
   227  func (*ConsolidationStrategy) ProtoMessage() {}
   228  
   229  func (x *ConsolidationStrategy) ProtoReflect() protoreflect.Message {
   230  	mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1]
   231  	if protoimpl.UnsafeEnabled && x != nil {
   232  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   233  		if ms.LoadMessageInfo() == nil {
   234  			ms.StoreMessageInfo(mi)
   235  		}
   236  		return ms
   237  	}
   238  	return mi.MessageOf(x)
   239  }
   240  
   241  // Deprecated: Use ConsolidationStrategy.ProtoReflect.Descriptor instead.
   242  func (*ConsolidationStrategy) Descriptor() ([]byte, []int) {
   243  	return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{1}
   244  }
   245  
   246  func (m *ConsolidationStrategy) GetStrategy() isConsolidationStrategy_Strategy {
   247  	if m != nil {
   248  		return m.Strategy
   249  	}
   250  	return nil
   251  }
   252  
   253  func (x *ConsolidationStrategy) GetNone() *ConsolidationStrategy_NoConsolidation {
   254  	if x, ok := x.GetStrategy().(*ConsolidationStrategy_None); ok {
   255  		return x.None
   256  	}
   257  	return nil
   258  }
   259  
   260  func (x *ConsolidationStrategy) GetLegacy() *ConsolidationStrategy_Legacy {
   261  	if x, ok := x.GetStrategy().(*ConsolidationStrategy_Legacy_); ok {
   262  		return x.Legacy
   263  	}
   264  	return nil
   265  }
   266  
   267  type isConsolidationStrategy_Strategy interface {
   268  	isConsolidationStrategy_Strategy()
   269  }
   270  
   271  type ConsolidationStrategy_None struct {
   272  	// The individual activities are not consolidated.
   273  	None *ConsolidationStrategy_NoConsolidation `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
   274  }
   275  
   276  type ConsolidationStrategy_Legacy_ struct {
   277  	// The individual activities are consolidated using the legacy strategy.
   278  	Legacy *ConsolidationStrategy_Legacy `protobuf:"bytes,2,opt,name=legacy,proto3,oneof"`
   279  }
   280  
   281  func (*ConsolidationStrategy_None) isConsolidationStrategy_Strategy() {}
   282  
   283  func (*ConsolidationStrategy_Legacy_) isConsolidationStrategy_Strategy() {}
   284  
   285  // A strategy that does no consolidation of individual activities.
   286  type ConsolidationStrategy_NoConsolidation struct {
   287  	state         protoimpl.MessageState
   288  	sizeCache     protoimpl.SizeCache
   289  	unknownFields protoimpl.UnknownFields
   290  }
   291  
   292  func (x *ConsolidationStrategy_NoConsolidation) Reset() {
   293  	*x = ConsolidationStrategy_NoConsolidation{}
   294  	if protoimpl.UnsafeEnabled {
   295  		mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[2]
   296  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   297  		ms.StoreMessageInfo(mi)
   298  	}
   299  }
   300  
   301  func (x *ConsolidationStrategy_NoConsolidation) String() string {
   302  	return protoimpl.X.MessageStringOf(x)
   303  }
   304  
   305  func (*ConsolidationStrategy_NoConsolidation) ProtoMessage() {}
   306  
   307  func (x *ConsolidationStrategy_NoConsolidation) ProtoReflect() protoreflect.Message {
   308  	mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[2]
   309  	if protoimpl.UnsafeEnabled && x != nil {
   310  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   311  		if ms.LoadMessageInfo() == nil {
   312  			ms.StoreMessageInfo(mi)
   313  		}
   314  		return ms
   315  	}
   316  	return mi.MessageOf(x)
   317  }
   318  
   319  // Deprecated: Use ConsolidationStrategy_NoConsolidation.ProtoReflect.Descriptor instead.
   320  func (*ConsolidationStrategy_NoConsolidation) Descriptor() ([]byte, []int) {
   321  	return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{1, 0}
   322  }
   323  
   324  // A strategy that consolidates activities using the grouping rules from the
   325  // legacy V1 Activity API. Similar actions occurring within a window of time
   326  // can be grouped across multiple targets (such as moving a set of files at
   327  // once) or multiple actors (such as several users editing the same item).
   328  // Grouping rules for this strategy are specific to each type of action.
   329  type ConsolidationStrategy_Legacy struct {
   330  	state         protoimpl.MessageState
   331  	sizeCache     protoimpl.SizeCache
   332  	unknownFields protoimpl.UnknownFields
   333  }
   334  
   335  func (x *ConsolidationStrategy_Legacy) Reset() {
   336  	*x = ConsolidationStrategy_Legacy{}
   337  	if protoimpl.UnsafeEnabled {
   338  		mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[3]
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		ms.StoreMessageInfo(mi)
   341  	}
   342  }
   343  
   344  func (x *ConsolidationStrategy_Legacy) String() string {
   345  	return protoimpl.X.MessageStringOf(x)
   346  }
   347  
   348  func (*ConsolidationStrategy_Legacy) ProtoMessage() {}
   349  
   350  func (x *ConsolidationStrategy_Legacy) ProtoReflect() protoreflect.Message {
   351  	mi := &file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[3]
   352  	if protoimpl.UnsafeEnabled && x != nil {
   353  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   354  		if ms.LoadMessageInfo() == nil {
   355  			ms.StoreMessageInfo(mi)
   356  		}
   357  		return ms
   358  	}
   359  	return mi.MessageOf(x)
   360  }
   361  
   362  // Deprecated: Use ConsolidationStrategy_Legacy.ProtoReflect.Descriptor instead.
   363  func (*ConsolidationStrategy_Legacy) Descriptor() ([]byte, []int) {
   364  	return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP(), []int{1, 1}
   365  }
   366  
   367  var File_google_apps_drive_activity_v2_query_drive_activity_request_proto protoreflect.FileDescriptor
   368  
   369  var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc = []byte{
   370  	0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
   371  	0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f,
   372  	0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69,
   373  	0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f,
   374  	0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
   375  	0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76,
   376  	0x32, 0x22, 0xa9, 0x02, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x72, 0x69, 0x76, 0x65,
   377  	0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
   378  	0x1d, 0x0a, 0x09, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   379  	0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x69, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25,
   380  	0x0a, 0x0d, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   381  	0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f,
   382  	0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x6b, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69,
   383  	0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18,
   384  	0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
   385  	0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
   386  	0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74,
   387  	0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x15, 0x63, 0x6f, 0x6e,
   388  	0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
   389  	0x67, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
   390  	0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
   391  	0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20,
   392  	0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16,
   393  	0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
   394  	0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x05, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x22, 0xf3, 0x01,
   395  	0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
   396  	0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x5a, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x18,
   397  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
   398  	0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
   399  	0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74,
   400  	0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x4e, 0x6f, 0x43, 0x6f,
   401  	0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6e,
   402  	0x6f, 0x6e, 0x65, 0x12, 0x55, 0x0a, 0x06, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x18, 0x02, 0x20,
   403  	0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70,
   404  	0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
   405  	0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f,
   406  	0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79,
   407  	0x48, 0x00, 0x52, 0x06, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x1a, 0x11, 0x0a, 0x0f, 0x4e, 0x6f,
   408  	0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x08, 0x0a,
   409  	0x06, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74,
   410  	0x65, 0x67, 0x79, 0x42, 0xd3, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   411  	0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63,
   412  	0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79,
   413  	0x44, 0x72, 0x69, 0x76, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
   414  	0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f,
   415  	0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
   416  	0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
   417  	0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63,
   418  	0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
   419  	0x74, 0x79, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x44, 0x41, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67,
   420  	0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x63,
   421  	0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67,
   422  	0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 0x44, 0x72, 0x69, 0x76, 0x65, 0x5c, 0x41, 0x63,
   423  	0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   424  	0x33,
   425  }
   426  
   427  var (
   428  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescOnce sync.Once
   429  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData = file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc
   430  )
   431  
   432  func file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescGZIP() []byte {
   433  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescOnce.Do(func() {
   434  		file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData)
   435  	})
   436  	return file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDescData
   437  }
   438  
   439  var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   440  var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_goTypes = []interface{}{
   441  	(*QueryDriveActivityRequest)(nil),             // 0: google.apps.drive.activity.v2.QueryDriveActivityRequest
   442  	(*ConsolidationStrategy)(nil),                 // 1: google.apps.drive.activity.v2.ConsolidationStrategy
   443  	(*ConsolidationStrategy_NoConsolidation)(nil), // 2: google.apps.drive.activity.v2.ConsolidationStrategy.NoConsolidation
   444  	(*ConsolidationStrategy_Legacy)(nil),          // 3: google.apps.drive.activity.v2.ConsolidationStrategy.Legacy
   445  }
   446  var file_google_apps_drive_activity_v2_query_drive_activity_request_proto_depIdxs = []int32{
   447  	1, // 0: google.apps.drive.activity.v2.QueryDriveActivityRequest.consolidation_strategy:type_name -> google.apps.drive.activity.v2.ConsolidationStrategy
   448  	2, // 1: google.apps.drive.activity.v2.ConsolidationStrategy.none:type_name -> google.apps.drive.activity.v2.ConsolidationStrategy.NoConsolidation
   449  	3, // 2: google.apps.drive.activity.v2.ConsolidationStrategy.legacy:type_name -> google.apps.drive.activity.v2.ConsolidationStrategy.Legacy
   450  	3, // [3:3] is the sub-list for method output_type
   451  	3, // [3:3] is the sub-list for method input_type
   452  	3, // [3:3] is the sub-list for extension type_name
   453  	3, // [3:3] is the sub-list for extension extendee
   454  	0, // [0:3] is the sub-list for field type_name
   455  }
   456  
   457  func init() { file_google_apps_drive_activity_v2_query_drive_activity_request_proto_init() }
   458  func file_google_apps_drive_activity_v2_query_drive_activity_request_proto_init() {
   459  	if File_google_apps_drive_activity_v2_query_drive_activity_request_proto != nil {
   460  		return
   461  	}
   462  	if !protoimpl.UnsafeEnabled {
   463  		file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   464  			switch v := v.(*QueryDriveActivityRequest); i {
   465  			case 0:
   466  				return &v.state
   467  			case 1:
   468  				return &v.sizeCache
   469  			case 2:
   470  				return &v.unknownFields
   471  			default:
   472  				return nil
   473  			}
   474  		}
   475  		file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   476  			switch v := v.(*ConsolidationStrategy); i {
   477  			case 0:
   478  				return &v.state
   479  			case 1:
   480  				return &v.sizeCache
   481  			case 2:
   482  				return &v.unknownFields
   483  			default:
   484  				return nil
   485  			}
   486  		}
   487  		file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   488  			switch v := v.(*ConsolidationStrategy_NoConsolidation); i {
   489  			case 0:
   490  				return &v.state
   491  			case 1:
   492  				return &v.sizeCache
   493  			case 2:
   494  				return &v.unknownFields
   495  			default:
   496  				return nil
   497  			}
   498  		}
   499  		file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   500  			switch v := v.(*ConsolidationStrategy_Legacy); i {
   501  			case 0:
   502  				return &v.state
   503  			case 1:
   504  				return &v.sizeCache
   505  			case 2:
   506  				return &v.unknownFields
   507  			default:
   508  				return nil
   509  			}
   510  		}
   511  	}
   512  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[0].OneofWrappers = []interface{}{
   513  		(*QueryDriveActivityRequest_ItemName)(nil),
   514  		(*QueryDriveActivityRequest_AncestorName)(nil),
   515  	}
   516  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes[1].OneofWrappers = []interface{}{
   517  		(*ConsolidationStrategy_None)(nil),
   518  		(*ConsolidationStrategy_Legacy_)(nil),
   519  	}
   520  	type x struct{}
   521  	out := protoimpl.TypeBuilder{
   522  		File: protoimpl.DescBuilder{
   523  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   524  			RawDescriptor: file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc,
   525  			NumEnums:      0,
   526  			NumMessages:   4,
   527  			NumExtensions: 0,
   528  			NumServices:   0,
   529  		},
   530  		GoTypes:           file_google_apps_drive_activity_v2_query_drive_activity_request_proto_goTypes,
   531  		DependencyIndexes: file_google_apps_drive_activity_v2_query_drive_activity_request_proto_depIdxs,
   532  		MessageInfos:      file_google_apps_drive_activity_v2_query_drive_activity_request_proto_msgTypes,
   533  	}.Build()
   534  	File_google_apps_drive_activity_v2_query_drive_activity_request_proto = out.File
   535  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_rawDesc = nil
   536  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_goTypes = nil
   537  	file_google_apps_drive_activity_v2_query_drive_activity_request_proto_depIdxs = nil
   538  }
   539  

View as plain text