1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package testing
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 )
35
36 const (
37
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43
44
45 type ApkDetail struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 ApkManifest *ApkManifest `protobuf:"bytes,1,opt,name=apk_manifest,json=apkManifest,proto3" json:"apk_manifest,omitempty"`
51 }
52
53 func (x *ApkDetail) Reset() {
54 *x = ApkDetail{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *ApkDetail) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*ApkDetail) ProtoMessage() {}
67
68 func (x *ApkDetail) ProtoReflect() protoreflect.Message {
69 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[0]
70 if protoimpl.UnsafeEnabled && x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80
81 func (*ApkDetail) Descriptor() ([]byte, []int) {
82 return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *ApkDetail) GetApkManifest() *ApkManifest {
86 if x != nil {
87 return x.ApkManifest
88 }
89 return nil
90 }
91
92
93
94 type ApkManifest struct {
95 state protoimpl.MessageState
96 sizeCache protoimpl.SizeCache
97 unknownFields protoimpl.UnknownFields
98
99
100
101 PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
102
103 MinSdkVersion int32 `protobuf:"varint,2,opt,name=min_sdk_version,json=minSdkVersion,proto3" json:"min_sdk_version,omitempty"`
104
105 MaxSdkVersion int32 `protobuf:"varint,3,opt,name=max_sdk_version,json=maxSdkVersion,proto3" json:"max_sdk_version,omitempty"`
106
107 TargetSdkVersion int32 `protobuf:"varint,6,opt,name=target_sdk_version,json=targetSdkVersion,proto3" json:"target_sdk_version,omitempty"`
108
109 ApplicationLabel string `protobuf:"bytes,4,opt,name=application_label,json=applicationLabel,proto3" json:"application_label,omitempty"`
110 IntentFilters []*IntentFilter `protobuf:"bytes,5,rep,name=intent_filters,json=intentFilters,proto3" json:"intent_filters,omitempty"`
111
112 UsesPermission []string `protobuf:"bytes,7,rep,name=uses_permission,json=usesPermission,proto3" json:"uses_permission,omitempty"`
113
114 VersionCode int64 `protobuf:"varint,8,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
115
116 VersionName string `protobuf:"bytes,9,opt,name=version_name,json=versionName,proto3" json:"version_name,omitempty"`
117
118 Metadata []*Metadata `protobuf:"bytes,10,rep,name=metadata,proto3" json:"metadata,omitempty"`
119
120 UsesFeature []*UsesFeature `protobuf:"bytes,11,rep,name=uses_feature,json=usesFeature,proto3" json:"uses_feature,omitempty"`
121 }
122
123 func (x *ApkManifest) Reset() {
124 *x = ApkManifest{}
125 if protoimpl.UnsafeEnabled {
126 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[1]
127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128 ms.StoreMessageInfo(mi)
129 }
130 }
131
132 func (x *ApkManifest) String() string {
133 return protoimpl.X.MessageStringOf(x)
134 }
135
136 func (*ApkManifest) ProtoMessage() {}
137
138 func (x *ApkManifest) ProtoReflect() protoreflect.Message {
139 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[1]
140 if protoimpl.UnsafeEnabled && x != nil {
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 if ms.LoadMessageInfo() == nil {
143 ms.StoreMessageInfo(mi)
144 }
145 return ms
146 }
147 return mi.MessageOf(x)
148 }
149
150
151 func (*ApkManifest) Descriptor() ([]byte, []int) {
152 return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{1}
153 }
154
155 func (x *ApkManifest) GetPackageName() string {
156 if x != nil {
157 return x.PackageName
158 }
159 return ""
160 }
161
162 func (x *ApkManifest) GetMinSdkVersion() int32 {
163 if x != nil {
164 return x.MinSdkVersion
165 }
166 return 0
167 }
168
169 func (x *ApkManifest) GetMaxSdkVersion() int32 {
170 if x != nil {
171 return x.MaxSdkVersion
172 }
173 return 0
174 }
175
176 func (x *ApkManifest) GetTargetSdkVersion() int32 {
177 if x != nil {
178 return x.TargetSdkVersion
179 }
180 return 0
181 }
182
183 func (x *ApkManifest) GetApplicationLabel() string {
184 if x != nil {
185 return x.ApplicationLabel
186 }
187 return ""
188 }
189
190 func (x *ApkManifest) GetIntentFilters() []*IntentFilter {
191 if x != nil {
192 return x.IntentFilters
193 }
194 return nil
195 }
196
197 func (x *ApkManifest) GetUsesPermission() []string {
198 if x != nil {
199 return x.UsesPermission
200 }
201 return nil
202 }
203
204 func (x *ApkManifest) GetVersionCode() int64 {
205 if x != nil {
206 return x.VersionCode
207 }
208 return 0
209 }
210
211 func (x *ApkManifest) GetVersionName() string {
212 if x != nil {
213 return x.VersionName
214 }
215 return ""
216 }
217
218 func (x *ApkManifest) GetMetadata() []*Metadata {
219 if x != nil {
220 return x.Metadata
221 }
222 return nil
223 }
224
225 func (x *ApkManifest) GetUsesFeature() []*UsesFeature {
226 if x != nil {
227 return x.UsesFeature
228 }
229 return nil
230 }
231
232
233
234 type IntentFilter struct {
235 state protoimpl.MessageState
236 sizeCache protoimpl.SizeCache
237 unknownFields protoimpl.UnknownFields
238
239
240 ActionNames []string `protobuf:"bytes,1,rep,name=action_names,json=actionNames,proto3" json:"action_names,omitempty"`
241
242 CategoryNames []string `protobuf:"bytes,2,rep,name=category_names,json=categoryNames,proto3" json:"category_names,omitempty"`
243
244 MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
245 }
246
247 func (x *IntentFilter) Reset() {
248 *x = IntentFilter{}
249 if protoimpl.UnsafeEnabled {
250 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[2]
251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252 ms.StoreMessageInfo(mi)
253 }
254 }
255
256 func (x *IntentFilter) String() string {
257 return protoimpl.X.MessageStringOf(x)
258 }
259
260 func (*IntentFilter) ProtoMessage() {}
261
262 func (x *IntentFilter) ProtoReflect() protoreflect.Message {
263 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[2]
264 if protoimpl.UnsafeEnabled && x != nil {
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 if ms.LoadMessageInfo() == nil {
267 ms.StoreMessageInfo(mi)
268 }
269 return ms
270 }
271 return mi.MessageOf(x)
272 }
273
274
275 func (*IntentFilter) Descriptor() ([]byte, []int) {
276 return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{2}
277 }
278
279 func (x *IntentFilter) GetActionNames() []string {
280 if x != nil {
281 return x.ActionNames
282 }
283 return nil
284 }
285
286 func (x *IntentFilter) GetCategoryNames() []string {
287 if x != nil {
288 return x.CategoryNames
289 }
290 return nil
291 }
292
293 func (x *IntentFilter) GetMimeType() string {
294 if x != nil {
295 return x.MimeType
296 }
297 return ""
298 }
299
300
301
302 type Metadata struct {
303 state protoimpl.MessageState
304 sizeCache protoimpl.SizeCache
305 unknownFields protoimpl.UnknownFields
306
307
308 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
309
310 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
311 }
312
313 func (x *Metadata) Reset() {
314 *x = Metadata{}
315 if protoimpl.UnsafeEnabled {
316 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[3]
317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
318 ms.StoreMessageInfo(mi)
319 }
320 }
321
322 func (x *Metadata) String() string {
323 return protoimpl.X.MessageStringOf(x)
324 }
325
326 func (*Metadata) ProtoMessage() {}
327
328 func (x *Metadata) ProtoReflect() protoreflect.Message {
329 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[3]
330 if protoimpl.UnsafeEnabled && x != nil {
331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
332 if ms.LoadMessageInfo() == nil {
333 ms.StoreMessageInfo(mi)
334 }
335 return ms
336 }
337 return mi.MessageOf(x)
338 }
339
340
341 func (*Metadata) Descriptor() ([]byte, []int) {
342 return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{3}
343 }
344
345 func (x *Metadata) GetName() string {
346 if x != nil {
347 return x.Name
348 }
349 return ""
350 }
351
352 func (x *Metadata) GetValue() string {
353 if x != nil {
354 return x.Value
355 }
356 return ""
357 }
358
359
360
361 type UsesFeature struct {
362 state protoimpl.MessageState
363 sizeCache protoimpl.SizeCache
364 unknownFields protoimpl.UnknownFields
365
366
367 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
368
369 IsRequired bool `protobuf:"varint,2,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
370 }
371
372 func (x *UsesFeature) Reset() {
373 *x = UsesFeature{}
374 if protoimpl.UnsafeEnabled {
375 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[4]
376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377 ms.StoreMessageInfo(mi)
378 }
379 }
380
381 func (x *UsesFeature) String() string {
382 return protoimpl.X.MessageStringOf(x)
383 }
384
385 func (*UsesFeature) ProtoMessage() {}
386
387 func (x *UsesFeature) ProtoReflect() protoreflect.Message {
388 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[4]
389 if protoimpl.UnsafeEnabled && x != nil {
390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
391 if ms.LoadMessageInfo() == nil {
392 ms.StoreMessageInfo(mi)
393 }
394 return ms
395 }
396 return mi.MessageOf(x)
397 }
398
399
400 func (*UsesFeature) Descriptor() ([]byte, []int) {
401 return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{4}
402 }
403
404 func (x *UsesFeature) GetName() string {
405 if x != nil {
406 return x.Name
407 }
408 return ""
409 }
410
411 func (x *UsesFeature) GetIsRequired() bool {
412 if x != nil {
413 return x.IsRequired
414 }
415 return false
416 }
417
418
419 type GetApkDetailsRequest struct {
420 state protoimpl.MessageState
421 sizeCache protoimpl.SizeCache
422 unknownFields protoimpl.UnknownFields
423
424
425 Location *FileReference `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
426 }
427
428 func (x *GetApkDetailsRequest) Reset() {
429 *x = GetApkDetailsRequest{}
430 if protoimpl.UnsafeEnabled {
431 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[5]
432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
433 ms.StoreMessageInfo(mi)
434 }
435 }
436
437 func (x *GetApkDetailsRequest) String() string {
438 return protoimpl.X.MessageStringOf(x)
439 }
440
441 func (*GetApkDetailsRequest) ProtoMessage() {}
442
443 func (x *GetApkDetailsRequest) ProtoReflect() protoreflect.Message {
444 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[5]
445 if protoimpl.UnsafeEnabled && x != nil {
446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
447 if ms.LoadMessageInfo() == nil {
448 ms.StoreMessageInfo(mi)
449 }
450 return ms
451 }
452 return mi.MessageOf(x)
453 }
454
455
456 func (*GetApkDetailsRequest) Descriptor() ([]byte, []int) {
457 return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{5}
458 }
459
460 func (x *GetApkDetailsRequest) GetLocation() *FileReference {
461 if x != nil {
462 return x.Location
463 }
464 return nil
465 }
466
467
468 type GetApkDetailsResponse struct {
469 state protoimpl.MessageState
470 sizeCache protoimpl.SizeCache
471 unknownFields protoimpl.UnknownFields
472
473
474 ApkDetail *ApkDetail `protobuf:"bytes,1,opt,name=apk_detail,json=apkDetail,proto3" json:"apk_detail,omitempty"`
475 }
476
477 func (x *GetApkDetailsResponse) Reset() {
478 *x = GetApkDetailsResponse{}
479 if protoimpl.UnsafeEnabled {
480 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[6]
481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
482 ms.StoreMessageInfo(mi)
483 }
484 }
485
486 func (x *GetApkDetailsResponse) String() string {
487 return protoimpl.X.MessageStringOf(x)
488 }
489
490 func (*GetApkDetailsResponse) ProtoMessage() {}
491
492 func (x *GetApkDetailsResponse) ProtoReflect() protoreflect.Message {
493 mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[6]
494 if protoimpl.UnsafeEnabled && x != nil {
495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
496 if ms.LoadMessageInfo() == nil {
497 ms.StoreMessageInfo(mi)
498 }
499 return ms
500 }
501 return mi.MessageOf(x)
502 }
503
504
505 func (*GetApkDetailsResponse) Descriptor() ([]byte, []int) {
506 return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{6}
507 }
508
509 func (x *GetApkDetailsResponse) GetApkDetail() *ApkDetail {
510 if x != nil {
511 return x.ApkDetail
512 }
513 return nil
514 }
515
516 var File_google_devtools_testing_v1_application_details_proto protoreflect.FileDescriptor
517
518 var file_google_devtools_testing_v1_application_details_proto_rawDesc = []byte{
519 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
520 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x70,
521 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
522 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
523 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e,
524 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
525 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
526 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69,
527 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
528 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69,
529 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75,
530 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x09, 0x41, 0x70,
531 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x70, 0x6b, 0x5f, 0x6d,
532 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
533 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
534 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x6b, 0x4d, 0x61,
535 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x0b, 0x61, 0x70, 0x6b, 0x4d, 0x61, 0x6e, 0x69, 0x66,
536 0x65, 0x73, 0x74, 0x22, 0xa9, 0x04, 0x0a, 0x0b, 0x41, 0x70, 0x6b, 0x4d, 0x61, 0x6e, 0x69, 0x66,
537 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e,
538 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61,
539 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x64,
540 0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
541 0x0d, 0x6d, 0x69, 0x6e, 0x53, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26,
542 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x64, 0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
543 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x64, 0x6b, 0x56,
544 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
545 0x5f, 0x73, 0x64, 0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
546 0x28, 0x05, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x64, 0x6b, 0x56, 0x65, 0x72,
547 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
548 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
549 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65,
550 0x6c, 0x12, 0x4f, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74,
551 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
552 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74,
553 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c,
554 0x74, 0x65, 0x72, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65,
555 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69,
556 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x73, 0x65,
557 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x76,
558 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
559 0x03, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x21,
560 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09,
561 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d,
562 0x65, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20,
563 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
564 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
565 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
566 0x61, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x73, 0x5f, 0x66, 0x65, 0x61, 0x74,
567 0x75, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
568 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74,
569 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75,
570 0x72, 0x65, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22,
571 0x75, 0x0a, 0x0c, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12,
572 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18,
573 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d,
574 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6e,
575 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61, 0x74, 0x65,
576 0x67, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d,
577 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69,
578 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x34, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
579 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
580 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
581 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x42, 0x0a, 0x0b,
582 0x55, 0x73, 0x65, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
583 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
584 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02,
585 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
586 0x22, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
587 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61,
588 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f,
589 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73,
590 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65,
591 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
592 0x5d, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
593 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x61, 0x70, 0x6b, 0x5f,
594 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
595 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74,
596 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74,
597 0x61, 0x69, 0x6c, 0x52, 0x09, 0x61, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x32, 0x9b,
598 0x02, 0x0a, 0x18, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
599 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb2, 0x01, 0x0a, 0x0d,
600 0x47, 0x65, 0x74, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x2e,
601 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
602 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70,
603 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
604 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
605 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
606 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
607 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x22, 0x2a, 0x2f, 0x76, 0x31, 0x2f,
608 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69,
609 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x74, 0x41, 0x70, 0x6b, 0x44,
610 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x3a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
611 0x1a, 0x4a, 0xca, 0x41, 0x16, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f,
612 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74,
613 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
614 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c,
615 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x7d, 0x0a, 0x1e,
616 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
617 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x16,
618 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69,
619 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
620 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
621 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
622 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67,
623 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f,
624 0x74, 0x6f, 0x33,
625 }
626
627 var (
628 file_google_devtools_testing_v1_application_details_proto_rawDescOnce sync.Once
629 file_google_devtools_testing_v1_application_details_proto_rawDescData = file_google_devtools_testing_v1_application_details_proto_rawDesc
630 )
631
632 func file_google_devtools_testing_v1_application_details_proto_rawDescGZIP() []byte {
633 file_google_devtools_testing_v1_application_details_proto_rawDescOnce.Do(func() {
634 file_google_devtools_testing_v1_application_details_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_testing_v1_application_details_proto_rawDescData)
635 })
636 return file_google_devtools_testing_v1_application_details_proto_rawDescData
637 }
638
639 var file_google_devtools_testing_v1_application_details_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
640 var file_google_devtools_testing_v1_application_details_proto_goTypes = []interface{}{
641 (*ApkDetail)(nil),
642 (*ApkManifest)(nil),
643 (*IntentFilter)(nil),
644 (*Metadata)(nil),
645 (*UsesFeature)(nil),
646 (*GetApkDetailsRequest)(nil),
647 (*GetApkDetailsResponse)(nil),
648 (*FileReference)(nil),
649 }
650 var file_google_devtools_testing_v1_application_details_proto_depIdxs = []int32{
651 1,
652 2,
653 3,
654 4,
655 7,
656 0,
657 5,
658 6,
659 7,
660 6,
661 6,
662 6,
663 0,
664 }
665
666 func init() { file_google_devtools_testing_v1_application_details_proto_init() }
667 func file_google_devtools_testing_v1_application_details_proto_init() {
668 if File_google_devtools_testing_v1_application_details_proto != nil {
669 return
670 }
671 file_google_devtools_testing_v1_test_execution_proto_init()
672 if !protoimpl.UnsafeEnabled {
673 file_google_devtools_testing_v1_application_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
674 switch v := v.(*ApkDetail); i {
675 case 0:
676 return &v.state
677 case 1:
678 return &v.sizeCache
679 case 2:
680 return &v.unknownFields
681 default:
682 return nil
683 }
684 }
685 file_google_devtools_testing_v1_application_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
686 switch v := v.(*ApkManifest); i {
687 case 0:
688 return &v.state
689 case 1:
690 return &v.sizeCache
691 case 2:
692 return &v.unknownFields
693 default:
694 return nil
695 }
696 }
697 file_google_devtools_testing_v1_application_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
698 switch v := v.(*IntentFilter); i {
699 case 0:
700 return &v.state
701 case 1:
702 return &v.sizeCache
703 case 2:
704 return &v.unknownFields
705 default:
706 return nil
707 }
708 }
709 file_google_devtools_testing_v1_application_details_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
710 switch v := v.(*Metadata); i {
711 case 0:
712 return &v.state
713 case 1:
714 return &v.sizeCache
715 case 2:
716 return &v.unknownFields
717 default:
718 return nil
719 }
720 }
721 file_google_devtools_testing_v1_application_details_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
722 switch v := v.(*UsesFeature); i {
723 case 0:
724 return &v.state
725 case 1:
726 return &v.sizeCache
727 case 2:
728 return &v.unknownFields
729 default:
730 return nil
731 }
732 }
733 file_google_devtools_testing_v1_application_details_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
734 switch v := v.(*GetApkDetailsRequest); i {
735 case 0:
736 return &v.state
737 case 1:
738 return &v.sizeCache
739 case 2:
740 return &v.unknownFields
741 default:
742 return nil
743 }
744 }
745 file_google_devtools_testing_v1_application_details_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
746 switch v := v.(*GetApkDetailsResponse); i {
747 case 0:
748 return &v.state
749 case 1:
750 return &v.sizeCache
751 case 2:
752 return &v.unknownFields
753 default:
754 return nil
755 }
756 }
757 }
758 type x struct{}
759 out := protoimpl.TypeBuilder{
760 File: protoimpl.DescBuilder{
761 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
762 RawDescriptor: file_google_devtools_testing_v1_application_details_proto_rawDesc,
763 NumEnums: 0,
764 NumMessages: 7,
765 NumExtensions: 0,
766 NumServices: 1,
767 },
768 GoTypes: file_google_devtools_testing_v1_application_details_proto_goTypes,
769 DependencyIndexes: file_google_devtools_testing_v1_application_details_proto_depIdxs,
770 MessageInfos: file_google_devtools_testing_v1_application_details_proto_msgTypes,
771 }.Build()
772 File_google_devtools_testing_v1_application_details_proto = out.File
773 file_google_devtools_testing_v1_application_details_proto_rawDesc = nil
774 file_google_devtools_testing_v1_application_details_proto_goTypes = nil
775 file_google_devtools_testing_v1_application_details_proto_depIdxs = nil
776 }
777
778
779 var _ context.Context
780 var _ grpc.ClientConnInterface
781
782
783
784 const _ = grpc.SupportPackageIsVersion6
785
786
787
788
789 type ApplicationDetailServiceClient interface {
790
791 GetApkDetails(ctx context.Context, in *GetApkDetailsRequest, opts ...grpc.CallOption) (*GetApkDetailsResponse, error)
792 }
793
794 type applicationDetailServiceClient struct {
795 cc grpc.ClientConnInterface
796 }
797
798 func NewApplicationDetailServiceClient(cc grpc.ClientConnInterface) ApplicationDetailServiceClient {
799 return &applicationDetailServiceClient{cc}
800 }
801
802 func (c *applicationDetailServiceClient) GetApkDetails(ctx context.Context, in *GetApkDetailsRequest, opts ...grpc.CallOption) (*GetApkDetailsResponse, error) {
803 out := new(GetApkDetailsResponse)
804 err := c.cc.Invoke(ctx, "/google.devtools.testing.v1.ApplicationDetailService/GetApkDetails", in, out, opts...)
805 if err != nil {
806 return nil, err
807 }
808 return out, nil
809 }
810
811
812 type ApplicationDetailServiceServer interface {
813
814 GetApkDetails(context.Context, *GetApkDetailsRequest) (*GetApkDetailsResponse, error)
815 }
816
817
818 type UnimplementedApplicationDetailServiceServer struct {
819 }
820
821 func (*UnimplementedApplicationDetailServiceServer) GetApkDetails(context.Context, *GetApkDetailsRequest) (*GetApkDetailsResponse, error) {
822 return nil, status.Errorf(codes.Unimplemented, "method GetApkDetails not implemented")
823 }
824
825 func RegisterApplicationDetailServiceServer(s *grpc.Server, srv ApplicationDetailServiceServer) {
826 s.RegisterService(&_ApplicationDetailService_serviceDesc, srv)
827 }
828
829 func _ApplicationDetailService_GetApkDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
830 in := new(GetApkDetailsRequest)
831 if err := dec(in); err != nil {
832 return nil, err
833 }
834 if interceptor == nil {
835 return srv.(ApplicationDetailServiceServer).GetApkDetails(ctx, in)
836 }
837 info := &grpc.UnaryServerInfo{
838 Server: srv,
839 FullMethod: "/google.devtools.testing.v1.ApplicationDetailService/GetApkDetails",
840 }
841 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
842 return srv.(ApplicationDetailServiceServer).GetApkDetails(ctx, req.(*GetApkDetailsRequest))
843 }
844 return interceptor(ctx, in, info, handler)
845 }
846
847 var _ApplicationDetailService_serviceDesc = grpc.ServiceDesc{
848 ServiceName: "google.devtools.testing.v1.ApplicationDetailService",
849 HandlerType: (*ApplicationDetailServiceServer)(nil),
850 Methods: []grpc.MethodDesc{
851 {
852 MethodName: "GetApkDetails",
853 Handler: _ApplicationDetailService_GetApkDetails_Handler,
854 },
855 },
856 Streams: []grpc.StreamDesc{},
857 Metadata: "google/devtools/testing/v1/application_details.proto",
858 }
859
View as plain text