1// Copyright 2021 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        v3.12.2
19// source: google/devtools/testing/v1/application_details.proto
20
21package testing
22
23import (
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
36const (
37	// Verify that this generated code is sufficiently up-to-date.
38	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39	// Verify that runtime/protoimpl is sufficiently up-to-date.
40	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41)
42
43// Android application details based on application manifest and apk archive
44// contents.
45type 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
53func (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
62func (x *ApkDetail) String() string {
63	return protoimpl.X.MessageStringOf(x)
64}
65
66func (*ApkDetail) ProtoMessage() {}
67
68func (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// Deprecated: Use ApkDetail.ProtoReflect.Descriptor instead.
81func (*ApkDetail) Descriptor() ([]byte, []int) {
82	return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{0}
83}
84
85func (x *ApkDetail) GetApkManifest() *ApkManifest {
86	if x != nil {
87		return x.ApkManifest
88	}
89	return nil
90}
91
92// An Android app manifest. See
93// http://developer.android.com/guide/topics/manifest/manifest-intro.html
94type ApkManifest struct {
95	state         protoimpl.MessageState
96	sizeCache     protoimpl.SizeCache
97	unknownFields protoimpl.UnknownFields
98
99	// Full Java-style package name for this application, e.g.
100	// "com.example.foo".
101	PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
102	// Minimum API level required for the application to run.
103	MinSdkVersion int32 `protobuf:"varint,2,opt,name=min_sdk_version,json=minSdkVersion,proto3" json:"min_sdk_version,omitempty"`
104	// Maximum API level on which the application is designed to run.
105	MaxSdkVersion int32 `protobuf:"varint,3,opt,name=max_sdk_version,json=maxSdkVersion,proto3" json:"max_sdk_version,omitempty"`
106	// Specifies the API Level on which the application is designed to run.
107	TargetSdkVersion int32 `protobuf:"varint,6,opt,name=target_sdk_version,json=targetSdkVersion,proto3" json:"target_sdk_version,omitempty"`
108	// User-readable name for the application.
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	// Permissions declared to be used by the application
112	UsesPermission []string `protobuf:"bytes,7,rep,name=uses_permission,json=usesPermission,proto3" json:"uses_permission,omitempty"`
113}
114
115func (x *ApkManifest) Reset() {
116	*x = ApkManifest{}
117	if protoimpl.UnsafeEnabled {
118		mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[1]
119		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
120		ms.StoreMessageInfo(mi)
121	}
122}
123
124func (x *ApkManifest) String() string {
125	return protoimpl.X.MessageStringOf(x)
126}
127
128func (*ApkManifest) ProtoMessage() {}
129
130func (x *ApkManifest) ProtoReflect() protoreflect.Message {
131	mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[1]
132	if protoimpl.UnsafeEnabled && x != nil {
133		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134		if ms.LoadMessageInfo() == nil {
135			ms.StoreMessageInfo(mi)
136		}
137		return ms
138	}
139	return mi.MessageOf(x)
140}
141
142// Deprecated: Use ApkManifest.ProtoReflect.Descriptor instead.
143func (*ApkManifest) Descriptor() ([]byte, []int) {
144	return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{1}
145}
146
147func (x *ApkManifest) GetPackageName() string {
148	if x != nil {
149		return x.PackageName
150	}
151	return ""
152}
153
154func (x *ApkManifest) GetMinSdkVersion() int32 {
155	if x != nil {
156		return x.MinSdkVersion
157	}
158	return 0
159}
160
161func (x *ApkManifest) GetMaxSdkVersion() int32 {
162	if x != nil {
163		return x.MaxSdkVersion
164	}
165	return 0
166}
167
168func (x *ApkManifest) GetTargetSdkVersion() int32 {
169	if x != nil {
170		return x.TargetSdkVersion
171	}
172	return 0
173}
174
175func (x *ApkManifest) GetApplicationLabel() string {
176	if x != nil {
177		return x.ApplicationLabel
178	}
179	return ""
180}
181
182func (x *ApkManifest) GetIntentFilters() []*IntentFilter {
183	if x != nil {
184		return x.IntentFilters
185	}
186	return nil
187}
188
189func (x *ApkManifest) GetUsesPermission() []string {
190	if x != nil {
191		return x.UsesPermission
192	}
193	return nil
194}
195
196// The <intent-filter> section of an <activity> tag.
197// https://developer.android.com/guide/topics/manifest/intent-filter-element.html
198type IntentFilter struct {
199	state         protoimpl.MessageState
200	sizeCache     protoimpl.SizeCache
201	unknownFields protoimpl.UnknownFields
202
203	// The android:name value of the <action> tag.
204	ActionNames []string `protobuf:"bytes,1,rep,name=action_names,json=actionNames,proto3" json:"action_names,omitempty"`
205	// The android:name value of the <category> tag.
206	CategoryNames []string `protobuf:"bytes,2,rep,name=category_names,json=categoryNames,proto3" json:"category_names,omitempty"`
207	// The android:mimeType value of the <data> tag.
208	MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
209}
210
211func (x *IntentFilter) Reset() {
212	*x = IntentFilter{}
213	if protoimpl.UnsafeEnabled {
214		mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[2]
215		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
216		ms.StoreMessageInfo(mi)
217	}
218}
219
220func (x *IntentFilter) String() string {
221	return protoimpl.X.MessageStringOf(x)
222}
223
224func (*IntentFilter) ProtoMessage() {}
225
226func (x *IntentFilter) ProtoReflect() protoreflect.Message {
227	mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[2]
228	if protoimpl.UnsafeEnabled && x != nil {
229		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
230		if ms.LoadMessageInfo() == nil {
231			ms.StoreMessageInfo(mi)
232		}
233		return ms
234	}
235	return mi.MessageOf(x)
236}
237
238// Deprecated: Use IntentFilter.ProtoReflect.Descriptor instead.
239func (*IntentFilter) Descriptor() ([]byte, []int) {
240	return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{2}
241}
242
243func (x *IntentFilter) GetActionNames() []string {
244	if x != nil {
245		return x.ActionNames
246	}
247	return nil
248}
249
250func (x *IntentFilter) GetCategoryNames() []string {
251	if x != nil {
252		return x.CategoryNames
253	}
254	return nil
255}
256
257func (x *IntentFilter) GetMimeType() string {
258	if x != nil {
259		return x.MimeType
260	}
261	return ""
262}
263
264// A request to get the details of an Android application APK.
265type GetApkDetailsRequest struct {
266	state         protoimpl.MessageState
267	sizeCache     protoimpl.SizeCache
268	unknownFields protoimpl.UnknownFields
269
270	// The APK to be parsed for details.
271	Location *FileReference `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
272}
273
274func (x *GetApkDetailsRequest) Reset() {
275	*x = GetApkDetailsRequest{}
276	if protoimpl.UnsafeEnabled {
277		mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[3]
278		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279		ms.StoreMessageInfo(mi)
280	}
281}
282
283func (x *GetApkDetailsRequest) String() string {
284	return protoimpl.X.MessageStringOf(x)
285}
286
287func (*GetApkDetailsRequest) ProtoMessage() {}
288
289func (x *GetApkDetailsRequest) ProtoReflect() protoreflect.Message {
290	mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[3]
291	if protoimpl.UnsafeEnabled && x != nil {
292		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
293		if ms.LoadMessageInfo() == nil {
294			ms.StoreMessageInfo(mi)
295		}
296		return ms
297	}
298	return mi.MessageOf(x)
299}
300
301// Deprecated: Use GetApkDetailsRequest.ProtoReflect.Descriptor instead.
302func (*GetApkDetailsRequest) Descriptor() ([]byte, []int) {
303	return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{3}
304}
305
306func (x *GetApkDetailsRequest) GetLocation() *FileReference {
307	if x != nil {
308		return x.Location
309	}
310	return nil
311}
312
313// Response containing the details of the specified Android application APK.
314type GetApkDetailsResponse struct {
315	state         protoimpl.MessageState
316	sizeCache     protoimpl.SizeCache
317	unknownFields protoimpl.UnknownFields
318
319	// Details of the Android APK.
320	ApkDetail *ApkDetail `protobuf:"bytes,1,opt,name=apk_detail,json=apkDetail,proto3" json:"apk_detail,omitempty"`
321}
322
323func (x *GetApkDetailsResponse) Reset() {
324	*x = GetApkDetailsResponse{}
325	if protoimpl.UnsafeEnabled {
326		mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[4]
327		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
328		ms.StoreMessageInfo(mi)
329	}
330}
331
332func (x *GetApkDetailsResponse) String() string {
333	return protoimpl.X.MessageStringOf(x)
334}
335
336func (*GetApkDetailsResponse) ProtoMessage() {}
337
338func (x *GetApkDetailsResponse) ProtoReflect() protoreflect.Message {
339	mi := &file_google_devtools_testing_v1_application_details_proto_msgTypes[4]
340	if protoimpl.UnsafeEnabled && x != nil {
341		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
342		if ms.LoadMessageInfo() == nil {
343			ms.StoreMessageInfo(mi)
344		}
345		return ms
346	}
347	return mi.MessageOf(x)
348}
349
350// Deprecated: Use GetApkDetailsResponse.ProtoReflect.Descriptor instead.
351func (*GetApkDetailsResponse) Descriptor() ([]byte, []int) {
352	return file_google_devtools_testing_v1_application_details_proto_rawDescGZIP(), []int{4}
353}
354
355func (x *GetApkDetailsResponse) GetApkDetail() *ApkDetail {
356	if x != nil {
357		return x.ApkDetail
358	}
359	return nil
360}
361
362var File_google_devtools_testing_v1_application_details_proto protoreflect.FileDescriptor
363
364var file_google_devtools_testing_v1_application_details_proto_rawDesc = []byte{
365	0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
366	0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x70,
367	0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
368	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
369	0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e,
370	0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
371	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
372	0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
373	0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x73,
374	0x74, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
375	0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
376	0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x09, 0x41, 0x70,
377	0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x70, 0x6b, 0x5f, 0x6d,
378	0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
379	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
380	0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x6b, 0x4d, 0x61,
381	0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x0b, 0x61, 0x70, 0x6b, 0x4d, 0x61, 0x6e, 0x69, 0x66,
382	0x65, 0x73, 0x74, 0x22, 0xd5, 0x02, 0x0a, 0x0b, 0x41, 0x70, 0x6b, 0x4d, 0x61, 0x6e, 0x69, 0x66,
383	0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e,
384	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61,
385	0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x64,
386	0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
387	0x0d, 0x6d, 0x69, 0x6e, 0x53, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26,
388	0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x64, 0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
389	0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x64, 0x6b, 0x56,
390	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
391	0x5f, 0x73, 0x64, 0x6b, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
392	0x28, 0x05, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x64, 0x6b, 0x56, 0x65, 0x72,
393	0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
394	0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
395	0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65,
396	0x6c, 0x12, 0x4f, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74,
397	0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
398	0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74,
399	0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c,
400	0x74, 0x65, 0x72, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65,
401	0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69,
402	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x73, 0x65,
403	0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x0c, 0x49,
404	0x6e, 0x74, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x61,
405	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
406	0x09, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x25,
407	0x0a, 0x0e, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
408	0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
409	0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79,
410	0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79,
411	0x70, 0x65, 0x22, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61,
412	0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x6c, 0x6f,
413	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67,
414	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74,
415	0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65,
416	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
417	0x6e, 0x22, 0x5d, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69,
418	0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x61, 0x70,
419	0x6b, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
420	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
421	0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x6b, 0x44,
422	0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x09, 0x61, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
423	0x32, 0x9b, 0x02, 0x0a, 0x18, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
424	0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb2, 0x01,
425	0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12,
426	0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
427	0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
428	0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
429	0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
430	0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47,
431	0x65, 0x74, 0x41, 0x70, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70,
432	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x22, 0x2a, 0x2f, 0x76,
433	0x31, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74,
434	0x61, 0x69, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x74, 0x41, 0x70,
435	0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x3a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
436	0x6f, 0x6e, 0x1a, 0x4a, 0xca, 0x41, 0x16, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x67,
437	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e,
438	0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
439	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f,
440	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x7d,
441	0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
442	0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
443	0x42, 0x16, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74,
444	0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67,
445	0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
446	0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
447	0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69,
448	0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70,
449	0x72, 0x6f, 0x74, 0x6f, 0x33,
450}
451
452var (
453	file_google_devtools_testing_v1_application_details_proto_rawDescOnce sync.Once
454	file_google_devtools_testing_v1_application_details_proto_rawDescData = file_google_devtools_testing_v1_application_details_proto_rawDesc
455)
456
457func file_google_devtools_testing_v1_application_details_proto_rawDescGZIP() []byte {
458	file_google_devtools_testing_v1_application_details_proto_rawDescOnce.Do(func() {
459		file_google_devtools_testing_v1_application_details_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_testing_v1_application_details_proto_rawDescData)
460	})
461	return file_google_devtools_testing_v1_application_details_proto_rawDescData
462}
463
464var file_google_devtools_testing_v1_application_details_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
465var file_google_devtools_testing_v1_application_details_proto_goTypes = []interface{}{
466	(*ApkDetail)(nil),             // 0: google.devtools.testing.v1.ApkDetail
467	(*ApkManifest)(nil),           // 1: google.devtools.testing.v1.ApkManifest
468	(*IntentFilter)(nil),          // 2: google.devtools.testing.v1.IntentFilter
469	(*GetApkDetailsRequest)(nil),  // 3: google.devtools.testing.v1.GetApkDetailsRequest
470	(*GetApkDetailsResponse)(nil), // 4: google.devtools.testing.v1.GetApkDetailsResponse
471	(*FileReference)(nil),         // 5: google.devtools.testing.v1.FileReference
472}
473var file_google_devtools_testing_v1_application_details_proto_depIdxs = []int32{
474	1, // 0: google.devtools.testing.v1.ApkDetail.apk_manifest:type_name -> google.devtools.testing.v1.ApkManifest
475	2, // 1: google.devtools.testing.v1.ApkManifest.intent_filters:type_name -> google.devtools.testing.v1.IntentFilter
476	5, // 2: google.devtools.testing.v1.GetApkDetailsRequest.location:type_name -> google.devtools.testing.v1.FileReference
477	0, // 3: google.devtools.testing.v1.GetApkDetailsResponse.apk_detail:type_name -> google.devtools.testing.v1.ApkDetail
478	3, // 4: google.devtools.testing.v1.ApplicationDetailService.GetApkDetails:input_type -> google.devtools.testing.v1.GetApkDetailsRequest
479	4, // 5: google.devtools.testing.v1.ApplicationDetailService.GetApkDetails:output_type -> google.devtools.testing.v1.GetApkDetailsResponse
480	5, // [5:6] is the sub-list for method output_type
481	4, // [4:5] is the sub-list for method input_type
482	4, // [4:4] is the sub-list for extension type_name
483	4, // [4:4] is the sub-list for extension extendee
484	0, // [0:4] is the sub-list for field type_name
485}
486
487func init() { file_google_devtools_testing_v1_application_details_proto_init() }
488func file_google_devtools_testing_v1_application_details_proto_init() {
489	if File_google_devtools_testing_v1_application_details_proto != nil {
490		return
491	}
492	file_google_devtools_testing_v1_test_execution_proto_init()
493	if !protoimpl.UnsafeEnabled {
494		file_google_devtools_testing_v1_application_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
495			switch v := v.(*ApkDetail); i {
496			case 0:
497				return &v.state
498			case 1:
499				return &v.sizeCache
500			case 2:
501				return &v.unknownFields
502			default:
503				return nil
504			}
505		}
506		file_google_devtools_testing_v1_application_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
507			switch v := v.(*ApkManifest); i {
508			case 0:
509				return &v.state
510			case 1:
511				return &v.sizeCache
512			case 2:
513				return &v.unknownFields
514			default:
515				return nil
516			}
517		}
518		file_google_devtools_testing_v1_application_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
519			switch v := v.(*IntentFilter); i {
520			case 0:
521				return &v.state
522			case 1:
523				return &v.sizeCache
524			case 2:
525				return &v.unknownFields
526			default:
527				return nil
528			}
529		}
530		file_google_devtools_testing_v1_application_details_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
531			switch v := v.(*GetApkDetailsRequest); i {
532			case 0:
533				return &v.state
534			case 1:
535				return &v.sizeCache
536			case 2:
537				return &v.unknownFields
538			default:
539				return nil
540			}
541		}
542		file_google_devtools_testing_v1_application_details_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
543			switch v := v.(*GetApkDetailsResponse); i {
544			case 0:
545				return &v.state
546			case 1:
547				return &v.sizeCache
548			case 2:
549				return &v.unknownFields
550			default:
551				return nil
552			}
553		}
554	}
555	type x struct{}
556	out := protoimpl.TypeBuilder{
557		File: protoimpl.DescBuilder{
558			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
559			RawDescriptor: file_google_devtools_testing_v1_application_details_proto_rawDesc,
560			NumEnums:      0,
561			NumMessages:   5,
562			NumExtensions: 0,
563			NumServices:   1,
564		},
565		GoTypes:           file_google_devtools_testing_v1_application_details_proto_goTypes,
566		DependencyIndexes: file_google_devtools_testing_v1_application_details_proto_depIdxs,
567		MessageInfos:      file_google_devtools_testing_v1_application_details_proto_msgTypes,
568	}.Build()
569	File_google_devtools_testing_v1_application_details_proto = out.File
570	file_google_devtools_testing_v1_application_details_proto_rawDesc = nil
571	file_google_devtools_testing_v1_application_details_proto_goTypes = nil
572	file_google_devtools_testing_v1_application_details_proto_depIdxs = nil
573}
574
575// Reference imports to suppress errors if they are not otherwise used.
576var _ context.Context
577var _ grpc.ClientConnInterface
578
579// This is a compile-time assertion to ensure that this generated file
580// is compatible with the grpc package it is being compiled against.
581const _ = grpc.SupportPackageIsVersion6
582
583// ApplicationDetailServiceClient is the client API for ApplicationDetailService service.
584//
585// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
586type ApplicationDetailServiceClient interface {
587	// Gets the details of an Android application APK.
588	GetApkDetails(ctx context.Context, in *GetApkDetailsRequest, opts ...grpc.CallOption) (*GetApkDetailsResponse, error)
589}
590
591type applicationDetailServiceClient struct {
592	cc grpc.ClientConnInterface
593}
594
595func NewApplicationDetailServiceClient(cc grpc.ClientConnInterface) ApplicationDetailServiceClient {
596	return &applicationDetailServiceClient{cc}
597}
598
599func (c *applicationDetailServiceClient) GetApkDetails(ctx context.Context, in *GetApkDetailsRequest, opts ...grpc.CallOption) (*GetApkDetailsResponse, error) {
600	out := new(GetApkDetailsResponse)
601	err := c.cc.Invoke(ctx, "/google.devtools.testing.v1.ApplicationDetailService/GetApkDetails", in, out, opts...)
602	if err != nil {
603		return nil, err
604	}
605	return out, nil
606}
607
608// ApplicationDetailServiceServer is the server API for ApplicationDetailService service.
609type ApplicationDetailServiceServer interface {
610	// Gets the details of an Android application APK.
611	GetApkDetails(context.Context, *GetApkDetailsRequest) (*GetApkDetailsResponse, error)
612}
613
614// UnimplementedApplicationDetailServiceServer can be embedded to have forward compatible implementations.
615type UnimplementedApplicationDetailServiceServer struct {
616}
617
618func (*UnimplementedApplicationDetailServiceServer) GetApkDetails(context.Context, *GetApkDetailsRequest) (*GetApkDetailsResponse, error) {
619	return nil, status.Errorf(codes.Unimplemented, "method GetApkDetails not implemented")
620}
621
622func RegisterApplicationDetailServiceServer(s *grpc.Server, srv ApplicationDetailServiceServer) {
623	s.RegisterService(&_ApplicationDetailService_serviceDesc, srv)
624}
625
626func _ApplicationDetailService_GetApkDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
627	in := new(GetApkDetailsRequest)
628	if err := dec(in); err != nil {
629		return nil, err
630	}
631	if interceptor == nil {
632		return srv.(ApplicationDetailServiceServer).GetApkDetails(ctx, in)
633	}
634	info := &grpc.UnaryServerInfo{
635		Server:     srv,
636		FullMethod: "/google.devtools.testing.v1.ApplicationDetailService/GetApkDetails",
637	}
638	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
639		return srv.(ApplicationDetailServiceServer).GetApkDetails(ctx, req.(*GetApkDetailsRequest))
640	}
641	return interceptor(ctx, in, info, handler)
642}
643
644var _ApplicationDetailService_serviceDesc = grpc.ServiceDesc{
645	ServiceName: "google.devtools.testing.v1.ApplicationDetailService",
646	HandlerType: (*ApplicationDetailServiceServer)(nil),
647	Methods: []grpc.MethodDesc{
648		{
649			MethodName: "GetApkDetails",
650			Handler:    _ApplicationDetailService_GetApkDetails_Handler,
651		},
652	},
653	Streams:  []grpc.StreamDesc{},
654	Metadata: "google/devtools/testing/v1/application_details.proto",
655}
656