blob: e358c4b98ad975cbc551fe20799c6223fcb8a31c [file] [log] [blame]
Dan Willemsen4591b642021-05-24 14:24:12 -07001// Messages describing APK Set's table of contents (toc.pb entry).
2// Please be advised that the ultimate source is at
3// https://github.com/google/bundletool/tree/master/src/main/proto
4// so you have been warned.
5
Sasha Smundak7a894a62020-05-06 21:23:08 -07006// Code generated by protoc-gen-go. DO NOT EDIT.
Dan Willemsen4591b642021-05-24 14:24:12 -07007// versions:
8// protoc-gen-go v1.26.0
9// protoc v3.9.1
Sasha Smundak7a894a62020-05-06 21:23:08 -070010// source: config.proto
11
Dan Willemsen4591b642021-05-24 14:24:12 -070012package bundle_proto
Sasha Smundak7a894a62020-05-06 21:23:08 -070013
14import (
Dan Willemsen4591b642021-05-24 14:24:12 -070015 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17 reflect "reflect"
18 sync "sync"
Sasha Smundak7a894a62020-05-06 21:23:08 -070019)
20
Dan Willemsen4591b642021-05-24 14:24:12 -070021const (
22 // Verify that this generated code is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24 // Verify that runtime/protoimpl is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26)
Sasha Smundak7a894a62020-05-06 21:23:08 -070027
28type BundleConfig_BundleType int32
29
30const (
31 BundleConfig_REGULAR BundleConfig_BundleType = 0
32 BundleConfig_APEX BundleConfig_BundleType = 1
33 BundleConfig_ASSET_ONLY BundleConfig_BundleType = 2
34)
35
Dan Willemsen4591b642021-05-24 14:24:12 -070036// Enum value maps for BundleConfig_BundleType.
37var (
38 BundleConfig_BundleType_name = map[int32]string{
39 0: "REGULAR",
40 1: "APEX",
41 2: "ASSET_ONLY",
42 }
43 BundleConfig_BundleType_value = map[string]int32{
44 "REGULAR": 0,
45 "APEX": 1,
46 "ASSET_ONLY": 2,
47 }
48)
Sasha Smundak7a894a62020-05-06 21:23:08 -070049
Dan Willemsen4591b642021-05-24 14:24:12 -070050func (x BundleConfig_BundleType) Enum() *BundleConfig_BundleType {
51 p := new(BundleConfig_BundleType)
52 *p = x
53 return p
Sasha Smundak7a894a62020-05-06 21:23:08 -070054}
55
56func (x BundleConfig_BundleType) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -070057 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Sasha Smundak7a894a62020-05-06 21:23:08 -070058}
59
Dan Willemsen4591b642021-05-24 14:24:12 -070060func (BundleConfig_BundleType) Descriptor() protoreflect.EnumDescriptor {
61 return file_config_proto_enumTypes[0].Descriptor()
62}
63
64func (BundleConfig_BundleType) Type() protoreflect.EnumType {
65 return &file_config_proto_enumTypes[0]
66}
67
68func (x BundleConfig_BundleType) Number() protoreflect.EnumNumber {
69 return protoreflect.EnumNumber(x)
70}
71
72// Deprecated: Use BundleConfig_BundleType.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -070073func (BundleConfig_BundleType) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -070074 return file_config_proto_rawDescGZIP(), []int{0, 0}
Sasha Smundak7a894a62020-05-06 21:23:08 -070075}
76
77type SplitDimension_Value int32
78
79const (
80 SplitDimension_UNSPECIFIED_VALUE SplitDimension_Value = 0
81 SplitDimension_ABI SplitDimension_Value = 1
82 SplitDimension_SCREEN_DENSITY SplitDimension_Value = 2
83 SplitDimension_LANGUAGE SplitDimension_Value = 3
84 SplitDimension_TEXTURE_COMPRESSION_FORMAT SplitDimension_Value = 4
85 // BEGIN-INTERNAL
Dan Willemsen4591b642021-05-24 14:24:12 -070086 SplitDimension_GRAPHICS_API SplitDimension_Value = 5 // END-INTERNAL
Sasha Smundak7a894a62020-05-06 21:23:08 -070087)
88
Dan Willemsen4591b642021-05-24 14:24:12 -070089// Enum value maps for SplitDimension_Value.
90var (
91 SplitDimension_Value_name = map[int32]string{
92 0: "UNSPECIFIED_VALUE",
93 1: "ABI",
94 2: "SCREEN_DENSITY",
95 3: "LANGUAGE",
96 4: "TEXTURE_COMPRESSION_FORMAT",
97 5: "GRAPHICS_API",
98 }
99 SplitDimension_Value_value = map[string]int32{
100 "UNSPECIFIED_VALUE": 0,
101 "ABI": 1,
102 "SCREEN_DENSITY": 2,
103 "LANGUAGE": 3,
104 "TEXTURE_COMPRESSION_FORMAT": 4,
105 "GRAPHICS_API": 5,
106 }
107)
Sasha Smundak7a894a62020-05-06 21:23:08 -0700108
Dan Willemsen4591b642021-05-24 14:24:12 -0700109func (x SplitDimension_Value) Enum() *SplitDimension_Value {
110 p := new(SplitDimension_Value)
111 *p = x
112 return p
Sasha Smundak7a894a62020-05-06 21:23:08 -0700113}
114
115func (x SplitDimension_Value) String() string {
Dan Willemsen4591b642021-05-24 14:24:12 -0700116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Sasha Smundak7a894a62020-05-06 21:23:08 -0700117}
118
Dan Willemsen4591b642021-05-24 14:24:12 -0700119func (SplitDimension_Value) Descriptor() protoreflect.EnumDescriptor {
120 return file_config_proto_enumTypes[1].Descriptor()
121}
122
123func (SplitDimension_Value) Type() protoreflect.EnumType {
124 return &file_config_proto_enumTypes[1]
125}
126
127func (x SplitDimension_Value) Number() protoreflect.EnumNumber {
128 return protoreflect.EnumNumber(x)
129}
130
131// Deprecated: Use SplitDimension_Value.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700132func (SplitDimension_Value) EnumDescriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700133 return file_config_proto_rawDescGZIP(), []int{9, 0}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700134}
135
136type BundleConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700137 state protoimpl.MessageState
138 sizeCache protoimpl.SizeCache
139 unknownFields protoimpl.UnknownFields
140
Sasha Smundak7a894a62020-05-06 21:23:08 -0700141 Bundletool *Bundletool `protobuf:"bytes,1,opt,name=bundletool,proto3" json:"bundletool,omitempty"`
142 Optimizations *Optimizations `protobuf:"bytes,2,opt,name=optimizations,proto3" json:"optimizations,omitempty"`
143 Compression *Compression `protobuf:"bytes,3,opt,name=compression,proto3" json:"compression,omitempty"`
144 // Resources to be always kept in the master split.
145 MasterResources *MasterResources `protobuf:"bytes,4,opt,name=master_resources,json=masterResources,proto3" json:"master_resources,omitempty"`
146 ApexConfig *ApexConfig `protobuf:"bytes,5,opt,name=apex_config,json=apexConfig,proto3" json:"apex_config,omitempty"`
147 // APKs to be signed with the same key as generated APKs.
148 UnsignedEmbeddedApkConfig []*UnsignedEmbeddedApkConfig `protobuf:"bytes,6,rep,name=unsigned_embedded_apk_config,json=unsignedEmbeddedApkConfig,proto3" json:"unsigned_embedded_apk_config,omitempty"`
149 AssetModulesConfig *AssetModulesConfig `protobuf:"bytes,7,opt,name=asset_modules_config,json=assetModulesConfig,proto3" json:"asset_modules_config,omitempty"`
150 Type BundleConfig_BundleType `protobuf:"varint,8,opt,name=type,proto3,enum=android.bundle.BundleConfig_BundleType" json:"type,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700151}
152
Dan Willemsen4591b642021-05-24 14:24:12 -0700153func (x *BundleConfig) Reset() {
154 *x = BundleConfig{}
155 if protoimpl.UnsafeEnabled {
156 mi := &file_config_proto_msgTypes[0]
157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158 ms.StoreMessageInfo(mi)
159 }
160}
161
162func (x *BundleConfig) String() string {
163 return protoimpl.X.MessageStringOf(x)
164}
165
166func (*BundleConfig) ProtoMessage() {}
167
168func (x *BundleConfig) ProtoReflect() protoreflect.Message {
169 mi := &file_config_proto_msgTypes[0]
170 if protoimpl.UnsafeEnabled && x != nil {
171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
172 if ms.LoadMessageInfo() == nil {
173 ms.StoreMessageInfo(mi)
174 }
175 return ms
176 }
177 return mi.MessageOf(x)
178}
179
180// Deprecated: Use BundleConfig.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700181func (*BundleConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700182 return file_config_proto_rawDescGZIP(), []int{0}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700183}
184
Dan Willemsen4591b642021-05-24 14:24:12 -0700185func (x *BundleConfig) GetBundletool() *Bundletool {
186 if x != nil {
187 return x.Bundletool
Sasha Smundak7a894a62020-05-06 21:23:08 -0700188 }
189 return nil
190}
191
Dan Willemsen4591b642021-05-24 14:24:12 -0700192func (x *BundleConfig) GetOptimizations() *Optimizations {
193 if x != nil {
194 return x.Optimizations
Sasha Smundak7a894a62020-05-06 21:23:08 -0700195 }
196 return nil
197}
198
Dan Willemsen4591b642021-05-24 14:24:12 -0700199func (x *BundleConfig) GetCompression() *Compression {
200 if x != nil {
201 return x.Compression
Sasha Smundak7a894a62020-05-06 21:23:08 -0700202 }
203 return nil
204}
205
Dan Willemsen4591b642021-05-24 14:24:12 -0700206func (x *BundleConfig) GetMasterResources() *MasterResources {
207 if x != nil {
208 return x.MasterResources
Sasha Smundak7a894a62020-05-06 21:23:08 -0700209 }
210 return nil
211}
212
Dan Willemsen4591b642021-05-24 14:24:12 -0700213func (x *BundleConfig) GetApexConfig() *ApexConfig {
214 if x != nil {
215 return x.ApexConfig
Sasha Smundak7a894a62020-05-06 21:23:08 -0700216 }
217 return nil
218}
219
Dan Willemsen4591b642021-05-24 14:24:12 -0700220func (x *BundleConfig) GetUnsignedEmbeddedApkConfig() []*UnsignedEmbeddedApkConfig {
221 if x != nil {
222 return x.UnsignedEmbeddedApkConfig
Sasha Smundak7a894a62020-05-06 21:23:08 -0700223 }
224 return nil
225}
226
Dan Willemsen4591b642021-05-24 14:24:12 -0700227func (x *BundleConfig) GetAssetModulesConfig() *AssetModulesConfig {
228 if x != nil {
229 return x.AssetModulesConfig
Sasha Smundak7a894a62020-05-06 21:23:08 -0700230 }
231 return nil
232}
233
Dan Willemsen4591b642021-05-24 14:24:12 -0700234func (x *BundleConfig) GetType() BundleConfig_BundleType {
235 if x != nil {
236 return x.Type
Sasha Smundak7a894a62020-05-06 21:23:08 -0700237 }
238 return BundleConfig_REGULAR
239}
240
241type Bundletool struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700242 state protoimpl.MessageState
243 sizeCache protoimpl.SizeCache
244 unknownFields protoimpl.UnknownFields
245
Sasha Smundak7a894a62020-05-06 21:23:08 -0700246 // Version of BundleTool used to build the Bundle.
Dan Willemsen4591b642021-05-24 14:24:12 -0700247 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700248}
249
Dan Willemsen4591b642021-05-24 14:24:12 -0700250func (x *Bundletool) Reset() {
251 *x = Bundletool{}
252 if protoimpl.UnsafeEnabled {
253 mi := &file_config_proto_msgTypes[1]
254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
255 ms.StoreMessageInfo(mi)
256 }
257}
258
259func (x *Bundletool) String() string {
260 return protoimpl.X.MessageStringOf(x)
261}
262
263func (*Bundletool) ProtoMessage() {}
264
265func (x *Bundletool) ProtoReflect() protoreflect.Message {
266 mi := &file_config_proto_msgTypes[1]
267 if protoimpl.UnsafeEnabled && x != nil {
268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
269 if ms.LoadMessageInfo() == nil {
270 ms.StoreMessageInfo(mi)
271 }
272 return ms
273 }
274 return mi.MessageOf(x)
275}
276
277// Deprecated: Use Bundletool.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700278func (*Bundletool) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700279 return file_config_proto_rawDescGZIP(), []int{1}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700280}
281
Dan Willemsen4591b642021-05-24 14:24:12 -0700282func (x *Bundletool) GetVersion() string {
283 if x != nil {
284 return x.Version
Sasha Smundak7a894a62020-05-06 21:23:08 -0700285 }
286 return ""
287}
288
289type Compression struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700290 state protoimpl.MessageState
291 sizeCache protoimpl.SizeCache
292 unknownFields protoimpl.UnknownFields
293
Sasha Smundak7a894a62020-05-06 21:23:08 -0700294 // Glob matching the list of files to leave uncompressed in the APKs.
295 // The matching is done against the path of files in the APK, thus excluding
296 // the name of the modules, and using forward slash ("/") as a name separator.
297 // Examples: "res/raw/**", "assets/**/*.uncompressed", etc.
Dan Willemsen4591b642021-05-24 14:24:12 -0700298 UncompressedGlob []string `protobuf:"bytes,1,rep,name=uncompressed_glob,json=uncompressedGlob,proto3" json:"uncompressed_glob,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700299}
300
Dan Willemsen4591b642021-05-24 14:24:12 -0700301func (x *Compression) Reset() {
302 *x = Compression{}
303 if protoimpl.UnsafeEnabled {
304 mi := &file_config_proto_msgTypes[2]
305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
306 ms.StoreMessageInfo(mi)
307 }
308}
309
310func (x *Compression) String() string {
311 return protoimpl.X.MessageStringOf(x)
312}
313
314func (*Compression) ProtoMessage() {}
315
316func (x *Compression) ProtoReflect() protoreflect.Message {
317 mi := &file_config_proto_msgTypes[2]
318 if protoimpl.UnsafeEnabled && x != nil {
319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
320 if ms.LoadMessageInfo() == nil {
321 ms.StoreMessageInfo(mi)
322 }
323 return ms
324 }
325 return mi.MessageOf(x)
326}
327
328// Deprecated: Use Compression.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700329func (*Compression) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700330 return file_config_proto_rawDescGZIP(), []int{2}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700331}
332
Dan Willemsen4591b642021-05-24 14:24:12 -0700333func (x *Compression) GetUncompressedGlob() []string {
334 if x != nil {
335 return x.UncompressedGlob
Sasha Smundak7a894a62020-05-06 21:23:08 -0700336 }
337 return nil
338}
339
340// Resources to keep in the master split.
341type MasterResources struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700342 state protoimpl.MessageState
343 sizeCache protoimpl.SizeCache
344 unknownFields protoimpl.UnknownFields
345
Sasha Smundak7a894a62020-05-06 21:23:08 -0700346 // Resource IDs to be kept in master split.
347 ResourceIds []int32 `protobuf:"varint,1,rep,packed,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
348 // Resource names to be kept in master split.
Dan Willemsen4591b642021-05-24 14:24:12 -0700349 ResourceNames []string `protobuf:"bytes,2,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700350}
351
Dan Willemsen4591b642021-05-24 14:24:12 -0700352func (x *MasterResources) Reset() {
353 *x = MasterResources{}
354 if protoimpl.UnsafeEnabled {
355 mi := &file_config_proto_msgTypes[3]
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 ms.StoreMessageInfo(mi)
358 }
359}
360
361func (x *MasterResources) String() string {
362 return protoimpl.X.MessageStringOf(x)
363}
364
365func (*MasterResources) ProtoMessage() {}
366
367func (x *MasterResources) ProtoReflect() protoreflect.Message {
368 mi := &file_config_proto_msgTypes[3]
369 if protoimpl.UnsafeEnabled && x != nil {
370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371 if ms.LoadMessageInfo() == nil {
372 ms.StoreMessageInfo(mi)
373 }
374 return ms
375 }
376 return mi.MessageOf(x)
377}
378
379// Deprecated: Use MasterResources.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700380func (*MasterResources) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700381 return file_config_proto_rawDescGZIP(), []int{3}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700382}
383
Dan Willemsen4591b642021-05-24 14:24:12 -0700384func (x *MasterResources) GetResourceIds() []int32 {
385 if x != nil {
386 return x.ResourceIds
Sasha Smundak7a894a62020-05-06 21:23:08 -0700387 }
388 return nil
389}
390
Dan Willemsen4591b642021-05-24 14:24:12 -0700391func (x *MasterResources) GetResourceNames() []string {
392 if x != nil {
393 return x.ResourceNames
Sasha Smundak7a894a62020-05-06 21:23:08 -0700394 }
395 return nil
396}
397
398type Optimizations struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700399 state protoimpl.MessageState
400 sizeCache protoimpl.SizeCache
401 unknownFields protoimpl.UnknownFields
402
Sasha Smundak7a894a62020-05-06 21:23:08 -0700403 SplitsConfig *SplitsConfig `protobuf:"bytes,1,opt,name=splits_config,json=splitsConfig,proto3" json:"splits_config,omitempty"`
404 // This is for uncompressing native libraries on M+ devices (L+ devices on
405 // instant apps).
406 UncompressNativeLibraries *UncompressNativeLibraries `protobuf:"bytes,2,opt,name=uncompress_native_libraries,json=uncompressNativeLibraries,proto3" json:"uncompress_native_libraries,omitempty"`
407 // This is for uncompressing dex files on P+ devices.
408 UncompressDexFiles *UncompressDexFiles `protobuf:"bytes,3,opt,name=uncompress_dex_files,json=uncompressDexFiles,proto3" json:"uncompress_dex_files,omitempty"`
409 // Configuration for the generation of standalone APKs.
410 // If no StandaloneConfig is set, the configuration is inherited from
411 // splits_config.
Dan Willemsen4591b642021-05-24 14:24:12 -0700412 StandaloneConfig *StandaloneConfig `protobuf:"bytes,4,opt,name=standalone_config,json=standaloneConfig,proto3" json:"standalone_config,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700413}
414
Dan Willemsen4591b642021-05-24 14:24:12 -0700415func (x *Optimizations) Reset() {
416 *x = Optimizations{}
417 if protoimpl.UnsafeEnabled {
418 mi := &file_config_proto_msgTypes[4]
419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
420 ms.StoreMessageInfo(mi)
421 }
422}
423
424func (x *Optimizations) String() string {
425 return protoimpl.X.MessageStringOf(x)
426}
427
428func (*Optimizations) ProtoMessage() {}
429
430func (x *Optimizations) ProtoReflect() protoreflect.Message {
431 mi := &file_config_proto_msgTypes[4]
432 if protoimpl.UnsafeEnabled && x != nil {
433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
434 if ms.LoadMessageInfo() == nil {
435 ms.StoreMessageInfo(mi)
436 }
437 return ms
438 }
439 return mi.MessageOf(x)
440}
441
442// Deprecated: Use Optimizations.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700443func (*Optimizations) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700444 return file_config_proto_rawDescGZIP(), []int{4}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700445}
446
Dan Willemsen4591b642021-05-24 14:24:12 -0700447func (x *Optimizations) GetSplitsConfig() *SplitsConfig {
448 if x != nil {
449 return x.SplitsConfig
Sasha Smundak7a894a62020-05-06 21:23:08 -0700450 }
451 return nil
452}
453
Dan Willemsen4591b642021-05-24 14:24:12 -0700454func (x *Optimizations) GetUncompressNativeLibraries() *UncompressNativeLibraries {
455 if x != nil {
456 return x.UncompressNativeLibraries
Sasha Smundak7a894a62020-05-06 21:23:08 -0700457 }
458 return nil
459}
460
Dan Willemsen4591b642021-05-24 14:24:12 -0700461func (x *Optimizations) GetUncompressDexFiles() *UncompressDexFiles {
462 if x != nil {
463 return x.UncompressDexFiles
Sasha Smundak7a894a62020-05-06 21:23:08 -0700464 }
465 return nil
466}
467
Dan Willemsen4591b642021-05-24 14:24:12 -0700468func (x *Optimizations) GetStandaloneConfig() *StandaloneConfig {
469 if x != nil {
470 return x.StandaloneConfig
Sasha Smundak7a894a62020-05-06 21:23:08 -0700471 }
472 return nil
473}
474
475type UncompressNativeLibraries struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700476 state protoimpl.MessageState
477 sizeCache protoimpl.SizeCache
478 unknownFields protoimpl.UnknownFields
479
480 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700481}
482
Dan Willemsen4591b642021-05-24 14:24:12 -0700483func (x *UncompressNativeLibraries) Reset() {
484 *x = UncompressNativeLibraries{}
485 if protoimpl.UnsafeEnabled {
486 mi := &file_config_proto_msgTypes[5]
487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
488 ms.StoreMessageInfo(mi)
489 }
490}
491
492func (x *UncompressNativeLibraries) String() string {
493 return protoimpl.X.MessageStringOf(x)
494}
495
496func (*UncompressNativeLibraries) ProtoMessage() {}
497
498func (x *UncompressNativeLibraries) ProtoReflect() protoreflect.Message {
499 mi := &file_config_proto_msgTypes[5]
500 if protoimpl.UnsafeEnabled && x != nil {
501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
502 if ms.LoadMessageInfo() == nil {
503 ms.StoreMessageInfo(mi)
504 }
505 return ms
506 }
507 return mi.MessageOf(x)
508}
509
510// Deprecated: Use UncompressNativeLibraries.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700511func (*UncompressNativeLibraries) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700512 return file_config_proto_rawDescGZIP(), []int{5}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700513}
514
Dan Willemsen4591b642021-05-24 14:24:12 -0700515func (x *UncompressNativeLibraries) GetEnabled() bool {
516 if x != nil {
517 return x.Enabled
Sasha Smundak7a894a62020-05-06 21:23:08 -0700518 }
519 return false
520}
521
522type UncompressDexFiles struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700523 state protoimpl.MessageState
524 sizeCache protoimpl.SizeCache
525 unknownFields protoimpl.UnknownFields
526
527 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700528}
529
Dan Willemsen4591b642021-05-24 14:24:12 -0700530func (x *UncompressDexFiles) Reset() {
531 *x = UncompressDexFiles{}
532 if protoimpl.UnsafeEnabled {
533 mi := &file_config_proto_msgTypes[6]
534 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
535 ms.StoreMessageInfo(mi)
536 }
537}
538
539func (x *UncompressDexFiles) String() string {
540 return protoimpl.X.MessageStringOf(x)
541}
542
543func (*UncompressDexFiles) ProtoMessage() {}
544
545func (x *UncompressDexFiles) ProtoReflect() protoreflect.Message {
546 mi := &file_config_proto_msgTypes[6]
547 if protoimpl.UnsafeEnabled && x != nil {
548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
549 if ms.LoadMessageInfo() == nil {
550 ms.StoreMessageInfo(mi)
551 }
552 return ms
553 }
554 return mi.MessageOf(x)
555}
556
557// Deprecated: Use UncompressDexFiles.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700558func (*UncompressDexFiles) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700559 return file_config_proto_rawDescGZIP(), []int{6}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700560}
561
Dan Willemsen4591b642021-05-24 14:24:12 -0700562func (x *UncompressDexFiles) GetEnabled() bool {
563 if x != nil {
564 return x.Enabled
Sasha Smundak7a894a62020-05-06 21:23:08 -0700565 }
566 return false
567}
568
569// Optimization configuration used to generate Split APKs.
570type SplitsConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700571 state protoimpl.MessageState
572 sizeCache protoimpl.SizeCache
573 unknownFields protoimpl.UnknownFields
574
575 SplitDimension []*SplitDimension `protobuf:"bytes,1,rep,name=split_dimension,json=splitDimension,proto3" json:"split_dimension,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700576}
577
Dan Willemsen4591b642021-05-24 14:24:12 -0700578func (x *SplitsConfig) Reset() {
579 *x = SplitsConfig{}
580 if protoimpl.UnsafeEnabled {
581 mi := &file_config_proto_msgTypes[7]
582 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
583 ms.StoreMessageInfo(mi)
584 }
585}
586
587func (x *SplitsConfig) String() string {
588 return protoimpl.X.MessageStringOf(x)
589}
590
591func (*SplitsConfig) ProtoMessage() {}
592
593func (x *SplitsConfig) ProtoReflect() protoreflect.Message {
594 mi := &file_config_proto_msgTypes[7]
595 if protoimpl.UnsafeEnabled && x != nil {
596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
597 if ms.LoadMessageInfo() == nil {
598 ms.StoreMessageInfo(mi)
599 }
600 return ms
601 }
602 return mi.MessageOf(x)
603}
604
605// Deprecated: Use SplitsConfig.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700606func (*SplitsConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700607 return file_config_proto_rawDescGZIP(), []int{7}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700608}
609
Dan Willemsen4591b642021-05-24 14:24:12 -0700610func (x *SplitsConfig) GetSplitDimension() []*SplitDimension {
611 if x != nil {
612 return x.SplitDimension
Sasha Smundak7a894a62020-05-06 21:23:08 -0700613 }
614 return nil
615}
616
617// Optimization configuration used to generate Standalone APKs.
618type StandaloneConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700619 state protoimpl.MessageState
620 sizeCache protoimpl.SizeCache
621 unknownFields protoimpl.UnknownFields
622
Sasha Smundak7a894a62020-05-06 21:23:08 -0700623 // Device targeting dimensions to shard.
624 SplitDimension []*SplitDimension `protobuf:"bytes,1,rep,name=split_dimension,json=splitDimension,proto3" json:"split_dimension,omitempty"`
625 // Whether 64 bit libraries should be stripped from Standalone APKs.
Dan Willemsen4591b642021-05-24 14:24:12 -0700626 Strip_64BitLibraries bool `protobuf:"varint,2,opt,name=strip_64_bit_libraries,json=strip64BitLibraries,proto3" json:"strip_64_bit_libraries,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700627}
628
Dan Willemsen4591b642021-05-24 14:24:12 -0700629func (x *StandaloneConfig) Reset() {
630 *x = StandaloneConfig{}
631 if protoimpl.UnsafeEnabled {
632 mi := &file_config_proto_msgTypes[8]
633 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
634 ms.StoreMessageInfo(mi)
635 }
636}
637
638func (x *StandaloneConfig) String() string {
639 return protoimpl.X.MessageStringOf(x)
640}
641
642func (*StandaloneConfig) ProtoMessage() {}
643
644func (x *StandaloneConfig) ProtoReflect() protoreflect.Message {
645 mi := &file_config_proto_msgTypes[8]
646 if protoimpl.UnsafeEnabled && x != nil {
647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
648 if ms.LoadMessageInfo() == nil {
649 ms.StoreMessageInfo(mi)
650 }
651 return ms
652 }
653 return mi.MessageOf(x)
654}
655
656// Deprecated: Use StandaloneConfig.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700657func (*StandaloneConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700658 return file_config_proto_rawDescGZIP(), []int{8}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700659}
660
Dan Willemsen4591b642021-05-24 14:24:12 -0700661func (x *StandaloneConfig) GetSplitDimension() []*SplitDimension {
662 if x != nil {
663 return x.SplitDimension
Sasha Smundak7a894a62020-05-06 21:23:08 -0700664 }
665 return nil
666}
667
Dan Willemsen4591b642021-05-24 14:24:12 -0700668func (x *StandaloneConfig) GetStrip_64BitLibraries() bool {
669 if x != nil {
670 return x.Strip_64BitLibraries
Sasha Smundak7a894a62020-05-06 21:23:08 -0700671 }
672 return false
673}
674
675type SplitDimension struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700676 state protoimpl.MessageState
677 sizeCache protoimpl.SizeCache
678 unknownFields protoimpl.UnknownFields
679
Sasha Smundak7a894a62020-05-06 21:23:08 -0700680 Value SplitDimension_Value `protobuf:"varint,1,opt,name=value,proto3,enum=android.bundle.SplitDimension_Value" json:"value,omitempty"`
681 // If set to 'true', indicates that APKs should *not* be split by this
682 // dimension.
683 Negate bool `protobuf:"varint,2,opt,name=negate,proto3" json:"negate,omitempty"`
684 // Optional transformation to be applied to asset directories where
685 // the targeting is encoded in the directory name (e.g: assets/foo#tcf_etc1)
Dan Willemsen4591b642021-05-24 14:24:12 -0700686 SuffixStripping *SuffixStripping `protobuf:"bytes,3,opt,name=suffix_stripping,json=suffixStripping,proto3" json:"suffix_stripping,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700687}
688
Dan Willemsen4591b642021-05-24 14:24:12 -0700689func (x *SplitDimension) Reset() {
690 *x = SplitDimension{}
691 if protoimpl.UnsafeEnabled {
692 mi := &file_config_proto_msgTypes[9]
693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
694 ms.StoreMessageInfo(mi)
695 }
696}
697
698func (x *SplitDimension) String() string {
699 return protoimpl.X.MessageStringOf(x)
700}
701
702func (*SplitDimension) ProtoMessage() {}
703
704func (x *SplitDimension) ProtoReflect() protoreflect.Message {
705 mi := &file_config_proto_msgTypes[9]
706 if protoimpl.UnsafeEnabled && x != nil {
707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
708 if ms.LoadMessageInfo() == nil {
709 ms.StoreMessageInfo(mi)
710 }
711 return ms
712 }
713 return mi.MessageOf(x)
714}
715
716// Deprecated: Use SplitDimension.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700717func (*SplitDimension) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700718 return file_config_proto_rawDescGZIP(), []int{9}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700719}
720
Dan Willemsen4591b642021-05-24 14:24:12 -0700721func (x *SplitDimension) GetValue() SplitDimension_Value {
722 if x != nil {
723 return x.Value
Sasha Smundak7a894a62020-05-06 21:23:08 -0700724 }
725 return SplitDimension_UNSPECIFIED_VALUE
726}
727
Dan Willemsen4591b642021-05-24 14:24:12 -0700728func (x *SplitDimension) GetNegate() bool {
729 if x != nil {
730 return x.Negate
Sasha Smundak7a894a62020-05-06 21:23:08 -0700731 }
732 return false
733}
734
Dan Willemsen4591b642021-05-24 14:24:12 -0700735func (x *SplitDimension) GetSuffixStripping() *SuffixStripping {
736 if x != nil {
737 return x.SuffixStripping
Sasha Smundak7a894a62020-05-06 21:23:08 -0700738 }
739 return nil
740}
741
742type SuffixStripping struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700743 state protoimpl.MessageState
744 sizeCache protoimpl.SizeCache
745 unknownFields protoimpl.UnknownFields
746
Sasha Smundak7a894a62020-05-06 21:23:08 -0700747 // If set to 'true', indicates that the targeting suffix should be removed
748 // from assets paths for this dimension when splits (or asset slices) are
749 // generated.
750 // This only applies to assets.
751 // For example a folder with path "assets/level1_textures#tcf_etc1"
752 // would be outputted to "assets/level1_textures". File contents are
753 // unchanged.
754 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
755 // The default suffix to be used for the cases where separate slices can't
756 // be generated for this dimension. In the case of standalone/universal APKs
757 // generation, stripping the suffix can lead to file name collisions. This
758 // default suffix defines the directories to retain. The others are
759 // discarded: standalone/universal APKs will contain only directories
760 // targeted at this value for the dimension.
761 //
762 // If not set or empty, the fallback directory in each directory group will be
763 // used (for example, if both "assets/level1_textures#tcf_etc1" and
764 // "assets/level1_textures" are present and the default suffix is empty,
765 // then only "assets/level1_textures" will be used).
Dan Willemsen4591b642021-05-24 14:24:12 -0700766 DefaultSuffix string `protobuf:"bytes,2,opt,name=default_suffix,json=defaultSuffix,proto3" json:"default_suffix,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700767}
768
Dan Willemsen4591b642021-05-24 14:24:12 -0700769func (x *SuffixStripping) Reset() {
770 *x = SuffixStripping{}
771 if protoimpl.UnsafeEnabled {
772 mi := &file_config_proto_msgTypes[10]
773 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
774 ms.StoreMessageInfo(mi)
775 }
776}
777
778func (x *SuffixStripping) String() string {
779 return protoimpl.X.MessageStringOf(x)
780}
781
782func (*SuffixStripping) ProtoMessage() {}
783
784func (x *SuffixStripping) ProtoReflect() protoreflect.Message {
785 mi := &file_config_proto_msgTypes[10]
786 if protoimpl.UnsafeEnabled && x != nil {
787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
788 if ms.LoadMessageInfo() == nil {
789 ms.StoreMessageInfo(mi)
790 }
791 return ms
792 }
793 return mi.MessageOf(x)
794}
795
796// Deprecated: Use SuffixStripping.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700797func (*SuffixStripping) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700798 return file_config_proto_rawDescGZIP(), []int{10}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700799}
800
Dan Willemsen4591b642021-05-24 14:24:12 -0700801func (x *SuffixStripping) GetEnabled() bool {
802 if x != nil {
803 return x.Enabled
Sasha Smundak7a894a62020-05-06 21:23:08 -0700804 }
805 return false
806}
807
Dan Willemsen4591b642021-05-24 14:24:12 -0700808func (x *SuffixStripping) GetDefaultSuffix() string {
809 if x != nil {
810 return x.DefaultSuffix
Sasha Smundak7a894a62020-05-06 21:23:08 -0700811 }
812 return ""
813}
814
815// Configuration for processing APEX bundles.
816// https://source.android.com/devices/tech/ota/apex
817type ApexConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700818 state protoimpl.MessageState
819 sizeCache protoimpl.SizeCache
820 unknownFields protoimpl.UnknownFields
821
Sasha Smundak7a894a62020-05-06 21:23:08 -0700822 // Configuration for processing of APKs embedded in an APEX image.
823 ApexEmbeddedApkConfig []*ApexEmbeddedApkConfig `protobuf:"bytes,1,rep,name=apex_embedded_apk_config,json=apexEmbeddedApkConfig,proto3" json:"apex_embedded_apk_config,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700824}
825
Dan Willemsen4591b642021-05-24 14:24:12 -0700826func (x *ApexConfig) Reset() {
827 *x = ApexConfig{}
828 if protoimpl.UnsafeEnabled {
829 mi := &file_config_proto_msgTypes[11]
830 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
831 ms.StoreMessageInfo(mi)
832 }
833}
834
835func (x *ApexConfig) String() string {
836 return protoimpl.X.MessageStringOf(x)
837}
838
839func (*ApexConfig) ProtoMessage() {}
840
841func (x *ApexConfig) ProtoReflect() protoreflect.Message {
842 mi := &file_config_proto_msgTypes[11]
843 if protoimpl.UnsafeEnabled && x != nil {
844 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
845 if ms.LoadMessageInfo() == nil {
846 ms.StoreMessageInfo(mi)
847 }
848 return ms
849 }
850 return mi.MessageOf(x)
851}
852
853// Deprecated: Use ApexConfig.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700854func (*ApexConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700855 return file_config_proto_rawDescGZIP(), []int{11}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700856}
857
Dan Willemsen4591b642021-05-24 14:24:12 -0700858func (x *ApexConfig) GetApexEmbeddedApkConfig() []*ApexEmbeddedApkConfig {
859 if x != nil {
860 return x.ApexEmbeddedApkConfig
Sasha Smundak7a894a62020-05-06 21:23:08 -0700861 }
862 return nil
863}
864
865type ApexEmbeddedApkConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700866 state protoimpl.MessageState
867 sizeCache protoimpl.SizeCache
868 unknownFields protoimpl.UnknownFields
869
Sasha Smundak7a894a62020-05-06 21:23:08 -0700870 // Android package name of the APK.
871 PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
872 // Path to the APK within the APEX system image.
Dan Willemsen4591b642021-05-24 14:24:12 -0700873 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700874}
875
Dan Willemsen4591b642021-05-24 14:24:12 -0700876func (x *ApexEmbeddedApkConfig) Reset() {
877 *x = ApexEmbeddedApkConfig{}
878 if protoimpl.UnsafeEnabled {
879 mi := &file_config_proto_msgTypes[12]
880 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
881 ms.StoreMessageInfo(mi)
882 }
883}
884
885func (x *ApexEmbeddedApkConfig) String() string {
886 return protoimpl.X.MessageStringOf(x)
887}
888
889func (*ApexEmbeddedApkConfig) ProtoMessage() {}
890
891func (x *ApexEmbeddedApkConfig) ProtoReflect() protoreflect.Message {
892 mi := &file_config_proto_msgTypes[12]
893 if protoimpl.UnsafeEnabled && x != nil {
894 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
895 if ms.LoadMessageInfo() == nil {
896 ms.StoreMessageInfo(mi)
897 }
898 return ms
899 }
900 return mi.MessageOf(x)
901}
902
903// Deprecated: Use ApexEmbeddedApkConfig.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700904func (*ApexEmbeddedApkConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700905 return file_config_proto_rawDescGZIP(), []int{12}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700906}
907
Dan Willemsen4591b642021-05-24 14:24:12 -0700908func (x *ApexEmbeddedApkConfig) GetPackageName() string {
909 if x != nil {
910 return x.PackageName
Sasha Smundak7a894a62020-05-06 21:23:08 -0700911 }
912 return ""
913}
914
Dan Willemsen4591b642021-05-24 14:24:12 -0700915func (x *ApexEmbeddedApkConfig) GetPath() string {
916 if x != nil {
917 return x.Path
Sasha Smundak7a894a62020-05-06 21:23:08 -0700918 }
919 return ""
920}
921
922type UnsignedEmbeddedApkConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700923 state protoimpl.MessageState
924 sizeCache protoimpl.SizeCache
925 unknownFields protoimpl.UnknownFields
926
Sasha Smundak7a894a62020-05-06 21:23:08 -0700927 // Path to the APK inside the module (e.g. if the path inside the bundle
928 // is split/assets/example.apk, this will be assets/example.apk).
Dan Willemsen4591b642021-05-24 14:24:12 -0700929 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700930}
931
Dan Willemsen4591b642021-05-24 14:24:12 -0700932func (x *UnsignedEmbeddedApkConfig) Reset() {
933 *x = UnsignedEmbeddedApkConfig{}
934 if protoimpl.UnsafeEnabled {
935 mi := &file_config_proto_msgTypes[13]
936 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
937 ms.StoreMessageInfo(mi)
938 }
939}
940
941func (x *UnsignedEmbeddedApkConfig) String() string {
942 return protoimpl.X.MessageStringOf(x)
943}
944
945func (*UnsignedEmbeddedApkConfig) ProtoMessage() {}
946
947func (x *UnsignedEmbeddedApkConfig) ProtoReflect() protoreflect.Message {
948 mi := &file_config_proto_msgTypes[13]
949 if protoimpl.UnsafeEnabled && x != nil {
950 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
951 if ms.LoadMessageInfo() == nil {
952 ms.StoreMessageInfo(mi)
953 }
954 return ms
955 }
956 return mi.MessageOf(x)
957}
958
959// Deprecated: Use UnsignedEmbeddedApkConfig.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -0700960func (*UnsignedEmbeddedApkConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -0700961 return file_config_proto_rawDescGZIP(), []int{13}
Sasha Smundak7a894a62020-05-06 21:23:08 -0700962}
963
Dan Willemsen4591b642021-05-24 14:24:12 -0700964func (x *UnsignedEmbeddedApkConfig) GetPath() string {
965 if x != nil {
966 return x.Path
Sasha Smundak7a894a62020-05-06 21:23:08 -0700967 }
968 return ""
969}
970
971type AssetModulesConfig struct {
Dan Willemsen4591b642021-05-24 14:24:12 -0700972 state protoimpl.MessageState
973 sizeCache protoimpl.SizeCache
974 unknownFields protoimpl.UnknownFields
975
Sasha Smundak7a894a62020-05-06 21:23:08 -0700976 // App versionCodes that will be updated with these asset modules.
977 // Only relevant for asset-only bundles.
978 AppVersion []int64 `protobuf:"varint,1,rep,packed,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
979 // Version tag for the asset upload.
980 // Only relevant for asset-only bundles.
Dan Willemsen4591b642021-05-24 14:24:12 -0700981 AssetVersionTag string `protobuf:"bytes,2,opt,name=asset_version_tag,json=assetVersionTag,proto3" json:"asset_version_tag,omitempty"`
Sasha Smundak7a894a62020-05-06 21:23:08 -0700982}
983
Dan Willemsen4591b642021-05-24 14:24:12 -0700984func (x *AssetModulesConfig) Reset() {
985 *x = AssetModulesConfig{}
986 if protoimpl.UnsafeEnabled {
987 mi := &file_config_proto_msgTypes[14]
988 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
989 ms.StoreMessageInfo(mi)
990 }
991}
992
993func (x *AssetModulesConfig) String() string {
994 return protoimpl.X.MessageStringOf(x)
995}
996
997func (*AssetModulesConfig) ProtoMessage() {}
998
999func (x *AssetModulesConfig) ProtoReflect() protoreflect.Message {
1000 mi := &file_config_proto_msgTypes[14]
1001 if protoimpl.UnsafeEnabled && x != nil {
1002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1003 if ms.LoadMessageInfo() == nil {
1004 ms.StoreMessageInfo(mi)
1005 }
1006 return ms
1007 }
1008 return mi.MessageOf(x)
1009}
1010
1011// Deprecated: Use AssetModulesConfig.ProtoReflect.Descriptor instead.
Sasha Smundak7a894a62020-05-06 21:23:08 -07001012func (*AssetModulesConfig) Descriptor() ([]byte, []int) {
Dan Willemsen4591b642021-05-24 14:24:12 -07001013 return file_config_proto_rawDescGZIP(), []int{14}
Sasha Smundak7a894a62020-05-06 21:23:08 -07001014}
1015
Dan Willemsen4591b642021-05-24 14:24:12 -07001016func (x *AssetModulesConfig) GetAppVersion() []int64 {
1017 if x != nil {
1018 return x.AppVersion
Sasha Smundak7a894a62020-05-06 21:23:08 -07001019 }
1020 return nil
1021}
1022
Dan Willemsen4591b642021-05-24 14:24:12 -07001023func (x *AssetModulesConfig) GetAssetVersionTag() string {
1024 if x != nil {
1025 return x.AssetVersionTag
Sasha Smundak7a894a62020-05-06 21:23:08 -07001026 }
1027 return ""
1028}
1029
Dan Willemsen4591b642021-05-24 14:24:12 -07001030var File_config_proto protoreflect.FileDescriptor
1031
1032var file_config_proto_rawDesc = []byte{
1033 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e,
1034 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x8b,
1035 0x05, 0x0a, 0x0c, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
1036 0x3a, 0x0a, 0x0a, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x74, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20,
1037 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75,
1038 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x74, 0x6f, 0x6f, 0x6c, 0x52,
1039 0x0a, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x74, 0x6f, 0x6f, 0x6c, 0x12, 0x43, 0x0a, 0x0d, 0x6f,
1040 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01,
1041 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e,
1042 0x64, 0x6c, 0x65, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1043 0x73, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1044 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18,
1045 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e,
1046 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,
1047 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
1048 0x4a, 0x0a, 0x10, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1049 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x6e, 0x64, 0x72,
1050 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x74, 0x65,
1051 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x0f, 0x6d, 0x61, 0x73, 0x74,
1052 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x61,
1053 0x70, 0x65, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
1054 0x32, 0x1a, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c,
1055 0x65, 0x2e, 0x41, 0x70, 0x65, 0x78, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x61, 0x70,
1056 0x65, 0x78, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x6a, 0x0a, 0x1c, 0x75, 0x6e, 0x73, 0x69,
1057 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x70,
1058 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
1059 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e,
1060 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64,
1061 0x41, 0x70, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x19, 0x75, 0x6e, 0x73, 0x69, 0x67,
1062 0x6e, 0x65, 0x64, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x41, 0x70, 0x6b, 0x43, 0x6f,
1063 0x6e, 0x66, 0x69, 0x67, 0x12, 0x54, 0x0a, 0x14, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6d, 0x6f,
1064 0x64, 0x75, 0x6c, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01,
1065 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e,
1066 0x64, 0x6c, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73,
1067 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4d, 0x6f, 0x64,
1068 0x75, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79,
1069 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f,
1070 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65,
1071 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x54, 0x79, 0x70,
1072 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x33, 0x0a, 0x0a, 0x42, 0x75, 0x6e, 0x64, 0x6c,
1073 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x47, 0x55, 0x4c, 0x41, 0x52,
1074 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x50, 0x45, 0x58, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a,
1075 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x22, 0x2c, 0x0a, 0x0a,
1076 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x74, 0x6f, 0x6f, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65,
1077 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72,
1078 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x3a, 0x0a, 0x0b, 0x43, 0x6f,
1079 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x63,
1080 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x18, 0x01,
1081 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73,
1082 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x22, 0x5b, 0x0a, 0x0f, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72,
1083 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73,
1084 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52,
1085 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e,
1086 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02,
1087 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61,
1088 0x6d, 0x65, 0x73, 0x22, 0xe2, 0x02, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61,
1089 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0d, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x73, 0x5f,
1090 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61,
1091 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x53, 0x70,
1092 0x6c, 0x69, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x73, 0x70, 0x6c, 0x69,
1093 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x69, 0x0a, 0x1b, 0x75, 0x6e, 0x63, 0x6f,
1094 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6c, 0x69,
1095 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
1096 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x55,
1097 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c,
1098 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x52, 0x19, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x70,
1099 0x72, 0x65, 0x73, 0x73, 0x4e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72,
1100 0x69, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x14, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73,
1101 0x73, 0x5f, 0x64, 0x65, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
1102 0x0b, 0x32, 0x22, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64,
1103 0x6c, 0x65, 0x2e, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x78,
1104 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x12, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73,
1105 0x73, 0x44, 0x65, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x11, 0x73, 0x74, 0x61,
1106 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04,
1107 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62,
1108 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65,
1109 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x6c, 0x6f,
1110 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x35, 0x0a, 0x19, 0x55, 0x6e, 0x63, 0x6f,
1111 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x4e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x62, 0x72,
1112 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
1113 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22,
1114 0x2e, 0x0a, 0x12, 0x55, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x78,
1115 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
1116 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22,
1117 0x57, 0x0a, 0x0c, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
1118 0x47, 0x0a, 0x0f, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69,
1119 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f,
1120 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x44,
1121 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x44,
1122 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61,
1123 0x6e, 0x64, 0x61, 0x6c, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a,
1124 0x0f, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x5f, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
1125 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64,
1126 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x44, 0x69, 0x6d,
1127 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x44, 0x69, 0x6d,
1128 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x16, 0x73, 0x74, 0x72, 0x69, 0x70, 0x5f,
1129 0x36, 0x34, 0x5f, 0x62, 0x69, 0x74, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73,
1130 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x73, 0x74, 0x72, 0x69, 0x70, 0x36, 0x34, 0x42,
1131 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x22, 0xad, 0x02, 0x0a, 0x0e,
1132 0x53, 0x70, 0x6c, 0x69, 0x74, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a,
1133 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,
1134 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x53,
1135 0x70, 0x6c, 0x69, 0x74, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61,
1136 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65,
1137 0x67, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x65, 0x67, 0x61,
1138 0x74, 0x65, 0x12, 0x4a, 0x0a, 0x10, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x5f, 0x73, 0x74, 0x72,
1139 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61,
1140 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2e, 0x53, 0x75,
1141 0x66, 0x66, 0x69, 0x78, 0x53, 0x74, 0x72, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x0f, 0x73,
1142 0x75, 0x66, 0x66, 0x69, 0x78, 0x53, 0x74, 0x72, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x22, 0x7b,
1143 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x53, 0x50, 0x45,
1144 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x12, 0x07,
1145 0x0a, 0x03, 0x41, 0x42, 0x49, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x43, 0x52, 0x45, 0x45,
1146 0x4e, 0x5f, 0x44, 0x45, 0x4e, 0x53, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4c,
1147 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x45, 0x58,
1148 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e,
1149 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x52, 0x41,
1150 0x50, 0x48, 0x49, 0x43, 0x53, 0x5f, 0x41, 0x50, 0x49, 0x10, 0x05, 0x22, 0x52, 0x0a, 0x0f, 0x53,
1151 0x75, 0x66, 0x66, 0x69, 0x78, 0x53, 0x74, 0x72, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x18,
1152 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
1153 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61,
1154 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1155 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22,
1156 0x6c, 0x0a, 0x0a, 0x41, 0x70, 0x65, 0x78, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5e, 0x0a,
1157 0x18, 0x61, 0x70, 0x65, 0x78, 0x5f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x61,
1158 0x70, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
1159 0x25, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65,
1160 0x2e, 0x41, 0x70, 0x65, 0x78, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x41, 0x70, 0x6b,
1161 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x15, 0x61, 0x70, 0x65, 0x78, 0x45, 0x6d, 0x62, 0x65,
1162 0x64, 0x64, 0x65, 0x64, 0x41, 0x70, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4e, 0x0a,
1163 0x15, 0x41, 0x70, 0x65, 0x78, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x41, 0x70, 0x6b,
1164 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67,
1165 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61,
1166 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74,
1167 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x2f, 0x0a,
1168 0x19, 0x55, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65,
1169 0x64, 0x41, 0x70, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
1170 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x61,
1171 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x43, 0x6f,
1172 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73,
1173 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x56, 0x65,
1174 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x76,
1175 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1176 0x52, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x61,
1177 0x67, 0x42, 0x41, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64,
1178 0x2e, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5a, 0x2b, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64,
1179 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x65, 0x78, 0x74, 0x72, 0x61,
1180 0x63, 0x74, 0x5f, 0x61, 0x70, 0x6b, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x70,
1181 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
Sasha Smundak7a894a62020-05-06 21:23:08 -07001182}
1183
Dan Willemsen4591b642021-05-24 14:24:12 -07001184var (
1185 file_config_proto_rawDescOnce sync.Once
1186 file_config_proto_rawDescData = file_config_proto_rawDesc
1187)
1188
1189func file_config_proto_rawDescGZIP() []byte {
1190 file_config_proto_rawDescOnce.Do(func() {
1191 file_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_proto_rawDescData)
1192 })
1193 return file_config_proto_rawDescData
Sasha Smundak7a894a62020-05-06 21:23:08 -07001194}
1195
Dan Willemsen4591b642021-05-24 14:24:12 -07001196var file_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1197var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
1198var file_config_proto_goTypes = []interface{}{
1199 (BundleConfig_BundleType)(0), // 0: android.bundle.BundleConfig.BundleType
1200 (SplitDimension_Value)(0), // 1: android.bundle.SplitDimension.Value
1201 (*BundleConfig)(nil), // 2: android.bundle.BundleConfig
1202 (*Bundletool)(nil), // 3: android.bundle.Bundletool
1203 (*Compression)(nil), // 4: android.bundle.Compression
1204 (*MasterResources)(nil), // 5: android.bundle.MasterResources
1205 (*Optimizations)(nil), // 6: android.bundle.Optimizations
1206 (*UncompressNativeLibraries)(nil), // 7: android.bundle.UncompressNativeLibraries
1207 (*UncompressDexFiles)(nil), // 8: android.bundle.UncompressDexFiles
1208 (*SplitsConfig)(nil), // 9: android.bundle.SplitsConfig
1209 (*StandaloneConfig)(nil), // 10: android.bundle.StandaloneConfig
1210 (*SplitDimension)(nil), // 11: android.bundle.SplitDimension
1211 (*SuffixStripping)(nil), // 12: android.bundle.SuffixStripping
1212 (*ApexConfig)(nil), // 13: android.bundle.ApexConfig
1213 (*ApexEmbeddedApkConfig)(nil), // 14: android.bundle.ApexEmbeddedApkConfig
1214 (*UnsignedEmbeddedApkConfig)(nil), // 15: android.bundle.UnsignedEmbeddedApkConfig
1215 (*AssetModulesConfig)(nil), // 16: android.bundle.AssetModulesConfig
1216}
1217var file_config_proto_depIdxs = []int32{
1218 3, // 0: android.bundle.BundleConfig.bundletool:type_name -> android.bundle.Bundletool
1219 6, // 1: android.bundle.BundleConfig.optimizations:type_name -> android.bundle.Optimizations
1220 4, // 2: android.bundle.BundleConfig.compression:type_name -> android.bundle.Compression
1221 5, // 3: android.bundle.BundleConfig.master_resources:type_name -> android.bundle.MasterResources
1222 13, // 4: android.bundle.BundleConfig.apex_config:type_name -> android.bundle.ApexConfig
1223 15, // 5: android.bundle.BundleConfig.unsigned_embedded_apk_config:type_name -> android.bundle.UnsignedEmbeddedApkConfig
1224 16, // 6: android.bundle.BundleConfig.asset_modules_config:type_name -> android.bundle.AssetModulesConfig
1225 0, // 7: android.bundle.BundleConfig.type:type_name -> android.bundle.BundleConfig.BundleType
1226 9, // 8: android.bundle.Optimizations.splits_config:type_name -> android.bundle.SplitsConfig
1227 7, // 9: android.bundle.Optimizations.uncompress_native_libraries:type_name -> android.bundle.UncompressNativeLibraries
1228 8, // 10: android.bundle.Optimizations.uncompress_dex_files:type_name -> android.bundle.UncompressDexFiles
1229 10, // 11: android.bundle.Optimizations.standalone_config:type_name -> android.bundle.StandaloneConfig
1230 11, // 12: android.bundle.SplitsConfig.split_dimension:type_name -> android.bundle.SplitDimension
1231 11, // 13: android.bundle.StandaloneConfig.split_dimension:type_name -> android.bundle.SplitDimension
1232 1, // 14: android.bundle.SplitDimension.value:type_name -> android.bundle.SplitDimension.Value
1233 12, // 15: android.bundle.SplitDimension.suffix_stripping:type_name -> android.bundle.SuffixStripping
1234 14, // 16: android.bundle.ApexConfig.apex_embedded_apk_config:type_name -> android.bundle.ApexEmbeddedApkConfig
1235 17, // [17:17] is the sub-list for method output_type
1236 17, // [17:17] is the sub-list for method input_type
1237 17, // [17:17] is the sub-list for extension type_name
1238 17, // [17:17] is the sub-list for extension extendee
1239 0, // [0:17] is the sub-list for field type_name
1240}
1241
1242func init() { file_config_proto_init() }
1243func file_config_proto_init() {
1244 if File_config_proto != nil {
1245 return
1246 }
1247 if !protoimpl.UnsafeEnabled {
1248 file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1249 switch v := v.(*BundleConfig); i {
1250 case 0:
1251 return &v.state
1252 case 1:
1253 return &v.sizeCache
1254 case 2:
1255 return &v.unknownFields
1256 default:
1257 return nil
1258 }
1259 }
1260 file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1261 switch v := v.(*Bundletool); i {
1262 case 0:
1263 return &v.state
1264 case 1:
1265 return &v.sizeCache
1266 case 2:
1267 return &v.unknownFields
1268 default:
1269 return nil
1270 }
1271 }
1272 file_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1273 switch v := v.(*Compression); i {
1274 case 0:
1275 return &v.state
1276 case 1:
1277 return &v.sizeCache
1278 case 2:
1279 return &v.unknownFields
1280 default:
1281 return nil
1282 }
1283 }
1284 file_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1285 switch v := v.(*MasterResources); i {
1286 case 0:
1287 return &v.state
1288 case 1:
1289 return &v.sizeCache
1290 case 2:
1291 return &v.unknownFields
1292 default:
1293 return nil
1294 }
1295 }
1296 file_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1297 switch v := v.(*Optimizations); i {
1298 case 0:
1299 return &v.state
1300 case 1:
1301 return &v.sizeCache
1302 case 2:
1303 return &v.unknownFields
1304 default:
1305 return nil
1306 }
1307 }
1308 file_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1309 switch v := v.(*UncompressNativeLibraries); i {
1310 case 0:
1311 return &v.state
1312 case 1:
1313 return &v.sizeCache
1314 case 2:
1315 return &v.unknownFields
1316 default:
1317 return nil
1318 }
1319 }
1320 file_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1321 switch v := v.(*UncompressDexFiles); i {
1322 case 0:
1323 return &v.state
1324 case 1:
1325 return &v.sizeCache
1326 case 2:
1327 return &v.unknownFields
1328 default:
1329 return nil
1330 }
1331 }
1332 file_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1333 switch v := v.(*SplitsConfig); i {
1334 case 0:
1335 return &v.state
1336 case 1:
1337 return &v.sizeCache
1338 case 2:
1339 return &v.unknownFields
1340 default:
1341 return nil
1342 }
1343 }
1344 file_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1345 switch v := v.(*StandaloneConfig); i {
1346 case 0:
1347 return &v.state
1348 case 1:
1349 return &v.sizeCache
1350 case 2:
1351 return &v.unknownFields
1352 default:
1353 return nil
1354 }
1355 }
1356 file_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1357 switch v := v.(*SplitDimension); i {
1358 case 0:
1359 return &v.state
1360 case 1:
1361 return &v.sizeCache
1362 case 2:
1363 return &v.unknownFields
1364 default:
1365 return nil
1366 }
1367 }
1368 file_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1369 switch v := v.(*SuffixStripping); i {
1370 case 0:
1371 return &v.state
1372 case 1:
1373 return &v.sizeCache
1374 case 2:
1375 return &v.unknownFields
1376 default:
1377 return nil
1378 }
1379 }
1380 file_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1381 switch v := v.(*ApexConfig); i {
1382 case 0:
1383 return &v.state
1384 case 1:
1385 return &v.sizeCache
1386 case 2:
1387 return &v.unknownFields
1388 default:
1389 return nil
1390 }
1391 }
1392 file_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1393 switch v := v.(*ApexEmbeddedApkConfig); i {
1394 case 0:
1395 return &v.state
1396 case 1:
1397 return &v.sizeCache
1398 case 2:
1399 return &v.unknownFields
1400 default:
1401 return nil
1402 }
1403 }
1404 file_config_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1405 switch v := v.(*UnsignedEmbeddedApkConfig); i {
1406 case 0:
1407 return &v.state
1408 case 1:
1409 return &v.sizeCache
1410 case 2:
1411 return &v.unknownFields
1412 default:
1413 return nil
1414 }
1415 }
1416 file_config_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1417 switch v := v.(*AssetModulesConfig); i {
1418 case 0:
1419 return &v.state
1420 case 1:
1421 return &v.sizeCache
1422 case 2:
1423 return &v.unknownFields
1424 default:
1425 return nil
1426 }
1427 }
1428 }
1429 type x struct{}
1430 out := protoimpl.TypeBuilder{
1431 File: protoimpl.DescBuilder{
1432 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1433 RawDescriptor: file_config_proto_rawDesc,
1434 NumEnums: 2,
1435 NumMessages: 15,
1436 NumExtensions: 0,
1437 NumServices: 0,
1438 },
1439 GoTypes: file_config_proto_goTypes,
1440 DependencyIndexes: file_config_proto_depIdxs,
1441 EnumInfos: file_config_proto_enumTypes,
1442 MessageInfos: file_config_proto_msgTypes,
1443 }.Build()
1444 File_config_proto = out.File
1445 file_config_proto_rawDesc = nil
1446 file_config_proto_goTypes = nil
1447 file_config_proto_depIdxs = nil
Sasha Smundak7a894a62020-05-06 21:23:08 -07001448}