1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package activity
22
23 import (
24 context "context"
25 reflect "reflect"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 grpc "google.golang.org/grpc"
29 codes "google.golang.org/grpc/codes"
30 status "google.golang.org/grpc/status"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 )
34
35 const (
36
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 var File_google_apps_drive_activity_v2_drive_activity_service_proto protoreflect.FileDescriptor
43
44 var file_google_apps_drive_activity_v2_drive_activity_service_proto_rawDesc = []byte{
45 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72,
46 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f,
47 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x73,
48 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f,
49 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e,
50 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
51 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
52 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
53 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f,
54 0x74, 0x6f, 0x1a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f,
55 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76,
56 0x32, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63,
57 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70,
58 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70,
59 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
60 0x2f, 0x76, 0x32, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f,
61 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
62 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xcc, 0x02, 0x0a, 0x14, 0x44, 0x72, 0x69, 0x76,
63 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
64 0x12, 0xa8, 0x01, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x72, 0x69, 0x76, 0x65, 0x41,
65 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
66 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
67 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x72, 0x69,
68 0x76, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
69 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e,
70 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76,
71 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x72, 0x69, 0x76, 0x65, 0x41, 0x63, 0x74, 0x69,
72 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3,
73 0xe4, 0x93, 0x02, 0x17, 0x22, 0x12, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
74 0x74, 0x79, 0x3a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x3a, 0x01, 0x2a, 0x1a, 0x88, 0x01, 0xca, 0x41,
75 0x1c, 0x64, 0x72, 0x69, 0x76, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x67,
76 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x66,
77 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
78 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f,
79 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2c, 0x68,
80 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
81 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64,
82 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x72, 0x65,
83 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0xce, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
84 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65,
85 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x19, 0x44, 0x72,
86 0x69, 0x76, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69,
87 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
88 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
89 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
90 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69,
91 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
92 0xa2, 0x02, 0x04, 0x47, 0x41, 0x44, 0x41, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
93 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69,
94 0x76, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
95 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 0x44, 0x72, 0x69, 0x76, 0x65, 0x5c, 0x41, 0x63, 0x74, 0x69,
96 0x76, 0x69, 0x74, 0x79, 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
97 }
98
99 var file_google_apps_drive_activity_v2_drive_activity_service_proto_goTypes = []interface{}{
100 (*QueryDriveActivityRequest)(nil),
101 (*QueryDriveActivityResponse)(nil),
102 }
103 var file_google_apps_drive_activity_v2_drive_activity_service_proto_depIdxs = []int32{
104 0,
105 1,
106 1,
107 0,
108 0,
109 0,
110 0,
111 }
112
113 func init() { file_google_apps_drive_activity_v2_drive_activity_service_proto_init() }
114 func file_google_apps_drive_activity_v2_drive_activity_service_proto_init() {
115 if File_google_apps_drive_activity_v2_drive_activity_service_proto != nil {
116 return
117 }
118 file_google_apps_drive_activity_v2_query_drive_activity_request_proto_init()
119 file_google_apps_drive_activity_v2_query_drive_activity_response_proto_init()
120 type x struct{}
121 out := protoimpl.TypeBuilder{
122 File: protoimpl.DescBuilder{
123 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
124 RawDescriptor: file_google_apps_drive_activity_v2_drive_activity_service_proto_rawDesc,
125 NumEnums: 0,
126 NumMessages: 0,
127 NumExtensions: 0,
128 NumServices: 1,
129 },
130 GoTypes: file_google_apps_drive_activity_v2_drive_activity_service_proto_goTypes,
131 DependencyIndexes: file_google_apps_drive_activity_v2_drive_activity_service_proto_depIdxs,
132 }.Build()
133 File_google_apps_drive_activity_v2_drive_activity_service_proto = out.File
134 file_google_apps_drive_activity_v2_drive_activity_service_proto_rawDesc = nil
135 file_google_apps_drive_activity_v2_drive_activity_service_proto_goTypes = nil
136 file_google_apps_drive_activity_v2_drive_activity_service_proto_depIdxs = nil
137 }
138
139
140 var _ context.Context
141 var _ grpc.ClientConnInterface
142
143
144
145 const _ = grpc.SupportPackageIsVersion6
146
147
148
149
150 type DriveActivityServiceClient interface {
151
152 QueryDriveActivity(ctx context.Context, in *QueryDriveActivityRequest, opts ...grpc.CallOption) (*QueryDriveActivityResponse, error)
153 }
154
155 type driveActivityServiceClient struct {
156 cc grpc.ClientConnInterface
157 }
158
159 func NewDriveActivityServiceClient(cc grpc.ClientConnInterface) DriveActivityServiceClient {
160 return &driveActivityServiceClient{cc}
161 }
162
163 func (c *driveActivityServiceClient) QueryDriveActivity(ctx context.Context, in *QueryDriveActivityRequest, opts ...grpc.CallOption) (*QueryDriveActivityResponse, error) {
164 out := new(QueryDriveActivityResponse)
165 err := c.cc.Invoke(ctx, "/google.apps.drive.activity.v2.DriveActivityService/QueryDriveActivity", in, out, opts...)
166 if err != nil {
167 return nil, err
168 }
169 return out, nil
170 }
171
172
173 type DriveActivityServiceServer interface {
174
175 QueryDriveActivity(context.Context, *QueryDriveActivityRequest) (*QueryDriveActivityResponse, error)
176 }
177
178
179 type UnimplementedDriveActivityServiceServer struct {
180 }
181
182 func (*UnimplementedDriveActivityServiceServer) QueryDriveActivity(context.Context, *QueryDriveActivityRequest) (*QueryDriveActivityResponse, error) {
183 return nil, status.Errorf(codes.Unimplemented, "method QueryDriveActivity not implemented")
184 }
185
186 func RegisterDriveActivityServiceServer(s *grpc.Server, srv DriveActivityServiceServer) {
187 s.RegisterService(&_DriveActivityService_serviceDesc, srv)
188 }
189
190 func _DriveActivityService_QueryDriveActivity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
191 in := new(QueryDriveActivityRequest)
192 if err := dec(in); err != nil {
193 return nil, err
194 }
195 if interceptor == nil {
196 return srv.(DriveActivityServiceServer).QueryDriveActivity(ctx, in)
197 }
198 info := &grpc.UnaryServerInfo{
199 Server: srv,
200 FullMethod: "/google.apps.drive.activity.v2.DriveActivityService/QueryDriveActivity",
201 }
202 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
203 return srv.(DriveActivityServiceServer).QueryDriveActivity(ctx, req.(*QueryDriveActivityRequest))
204 }
205 return interceptor(ctx, in, info, handler)
206 }
207
208 var _DriveActivityService_serviceDesc = grpc.ServiceDesc{
209 ServiceName: "google.apps.drive.activity.v2.DriveActivityService",
210 HandlerType: (*DriveActivityServiceServer)(nil),
211 Methods: []grpc.MethodDesc{
212 {
213 MethodName: "QueryDriveActivity",
214 Handler: _DriveActivityService_QueryDriveActivity_Handler,
215 },
216 },
217 Streams: []grpc.StreamDesc{},
218 Metadata: "google/apps/drive/activity/v2/drive_activity_service.proto",
219 }
220
View as plain text