Sasha Smundak | 7a894a6 | 2020-05-06 21:23:08 -0700 | [diff] [blame^] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: commands.proto |
| 3 | |
| 4 | package android_bundle_proto |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | math "math" |
| 10 | ) |
| 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
| 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 22 | |
| 23 | type DeliveryType int32 |
| 24 | |
| 25 | const ( |
| 26 | DeliveryType_UNKNOWN_DELIVERY_TYPE DeliveryType = 0 |
| 27 | DeliveryType_INSTALL_TIME DeliveryType = 1 |
| 28 | DeliveryType_ON_DEMAND DeliveryType = 2 |
| 29 | DeliveryType_FAST_FOLLOW DeliveryType = 3 |
| 30 | ) |
| 31 | |
| 32 | var DeliveryType_name = map[int32]string{ |
| 33 | 0: "UNKNOWN_DELIVERY_TYPE", |
| 34 | 1: "INSTALL_TIME", |
| 35 | 2: "ON_DEMAND", |
| 36 | 3: "FAST_FOLLOW", |
| 37 | } |
| 38 | |
| 39 | var DeliveryType_value = map[string]int32{ |
| 40 | "UNKNOWN_DELIVERY_TYPE": 0, |
| 41 | "INSTALL_TIME": 1, |
| 42 | "ON_DEMAND": 2, |
| 43 | "FAST_FOLLOW": 3, |
| 44 | } |
| 45 | |
| 46 | func (x DeliveryType) String() string { |
| 47 | return proto.EnumName(DeliveryType_name, int32(x)) |
| 48 | } |
| 49 | |
| 50 | func (DeliveryType) EnumDescriptor() ([]byte, []int) { |
| 51 | return fileDescriptor_0dff099eb2e3dfdb, []int{0} |
| 52 | } |
| 53 | |
| 54 | type SystemApkMetadata_SystemApkType int32 |
| 55 | |
| 56 | const ( |
| 57 | SystemApkMetadata_UNSPECIFIED_VALUE SystemApkMetadata_SystemApkType = 0 |
| 58 | // Uncompressed APK for system image. |
| 59 | SystemApkMetadata_SYSTEM SystemApkMetadata_SystemApkType = 1 |
| 60 | // Stub APK for compressed APK in the system image |
| 61 | // (contains only android manifest). |
| 62 | SystemApkMetadata_SYSTEM_STUB SystemApkMetadata_SystemApkType = 2 |
| 63 | // Compressed APK for system image. |
| 64 | SystemApkMetadata_SYSTEM_COMPRESSED SystemApkMetadata_SystemApkType = 3 |
| 65 | ) |
| 66 | |
| 67 | var SystemApkMetadata_SystemApkType_name = map[int32]string{ |
| 68 | 0: "UNSPECIFIED_VALUE", |
| 69 | 1: "SYSTEM", |
| 70 | 2: "SYSTEM_STUB", |
| 71 | 3: "SYSTEM_COMPRESSED", |
| 72 | } |
| 73 | |
| 74 | var SystemApkMetadata_SystemApkType_value = map[string]int32{ |
| 75 | "UNSPECIFIED_VALUE": 0, |
| 76 | "SYSTEM": 1, |
| 77 | "SYSTEM_STUB": 2, |
| 78 | "SYSTEM_COMPRESSED": 3, |
| 79 | } |
| 80 | |
| 81 | func (x SystemApkMetadata_SystemApkType) String() string { |
| 82 | return proto.EnumName(SystemApkMetadata_SystemApkType_name, int32(x)) |
| 83 | } |
| 84 | |
| 85 | func (SystemApkMetadata_SystemApkType) EnumDescriptor() ([]byte, []int) { |
| 86 | return fileDescriptor_0dff099eb2e3dfdb, []int{10, 0} |
| 87 | } |
| 88 | |
| 89 | // Describes the output of the "build-apks" command. |
| 90 | type BuildApksResult struct { |
| 91 | // The package name of this app. |
| 92 | PackageName string `protobuf:"bytes,4,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` |
| 93 | // List of the created variants. |
| 94 | Variant []*Variant `protobuf:"bytes,1,rep,name=variant,proto3" json:"variant,omitempty"` |
| 95 | // Metadata about BundleTool used to build the APKs. |
| 96 | Bundletool *Bundletool `protobuf:"bytes,2,opt,name=bundletool,proto3" json:"bundletool,omitempty"` |
| 97 | // List of the created asset slices. |
| 98 | AssetSliceSet []*AssetSliceSet `protobuf:"bytes,3,rep,name=asset_slice_set,json=assetSliceSet,proto3" json:"asset_slice_set,omitempty"` |
| 99 | // Information about local testing mode. |
| 100 | LocalTestingInfo *LocalTestingInfo `protobuf:"bytes,5,opt,name=local_testing_info,json=localTestingInfo,proto3" json:"local_testing_info,omitempty"` |
| 101 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 102 | XXX_unrecognized []byte `json:"-"` |
| 103 | XXX_sizecache int32 `json:"-"` |
| 104 | } |
| 105 | |
| 106 | func (m *BuildApksResult) Reset() { *m = BuildApksResult{} } |
| 107 | func (m *BuildApksResult) String() string { return proto.CompactTextString(m) } |
| 108 | func (*BuildApksResult) ProtoMessage() {} |
| 109 | func (*BuildApksResult) Descriptor() ([]byte, []int) { |
| 110 | return fileDescriptor_0dff099eb2e3dfdb, []int{0} |
| 111 | } |
| 112 | |
| 113 | func (m *BuildApksResult) XXX_Unmarshal(b []byte) error { |
| 114 | return xxx_messageInfo_BuildApksResult.Unmarshal(m, b) |
| 115 | } |
| 116 | func (m *BuildApksResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 117 | return xxx_messageInfo_BuildApksResult.Marshal(b, m, deterministic) |
| 118 | } |
| 119 | func (m *BuildApksResult) XXX_Merge(src proto.Message) { |
| 120 | xxx_messageInfo_BuildApksResult.Merge(m, src) |
| 121 | } |
| 122 | func (m *BuildApksResult) XXX_Size() int { |
| 123 | return xxx_messageInfo_BuildApksResult.Size(m) |
| 124 | } |
| 125 | func (m *BuildApksResult) XXX_DiscardUnknown() { |
| 126 | xxx_messageInfo_BuildApksResult.DiscardUnknown(m) |
| 127 | } |
| 128 | |
| 129 | var xxx_messageInfo_BuildApksResult proto.InternalMessageInfo |
| 130 | |
| 131 | func (m *BuildApksResult) GetPackageName() string { |
| 132 | if m != nil { |
| 133 | return m.PackageName |
| 134 | } |
| 135 | return "" |
| 136 | } |
| 137 | |
| 138 | func (m *BuildApksResult) GetVariant() []*Variant { |
| 139 | if m != nil { |
| 140 | return m.Variant |
| 141 | } |
| 142 | return nil |
| 143 | } |
| 144 | |
| 145 | func (m *BuildApksResult) GetBundletool() *Bundletool { |
| 146 | if m != nil { |
| 147 | return m.Bundletool |
| 148 | } |
| 149 | return nil |
| 150 | } |
| 151 | |
| 152 | func (m *BuildApksResult) GetAssetSliceSet() []*AssetSliceSet { |
| 153 | if m != nil { |
| 154 | return m.AssetSliceSet |
| 155 | } |
| 156 | return nil |
| 157 | } |
| 158 | |
| 159 | func (m *BuildApksResult) GetLocalTestingInfo() *LocalTestingInfo { |
| 160 | if m != nil { |
| 161 | return m.LocalTestingInfo |
| 162 | } |
| 163 | return nil |
| 164 | } |
| 165 | |
| 166 | // Variant is a group of APKs that covers a part of the device configuration |
| 167 | // space. APKs from multiple variants are never combined on one device. |
| 168 | type Variant struct { |
| 169 | // Variant-level targeting. |
| 170 | // This targeting is fairly high-level and each APK has its own targeting as |
| 171 | // well. |
| 172 | Targeting *VariantTargeting `protobuf:"bytes,1,opt,name=targeting,proto3" json:"targeting,omitempty"` |
| 173 | // Set of APKs, one set per module. |
| 174 | ApkSet []*ApkSet `protobuf:"bytes,2,rep,name=apk_set,json=apkSet,proto3" json:"apk_set,omitempty"` |
| 175 | // Number of the variant, starting at 0 (unless overridden). |
| 176 | // A device will receive APKs from the first variant that matches the device |
| 177 | // configuration, with higher variant numbers having priority over lower |
| 178 | // variant numbers. |
| 179 | VariantNumber uint32 `protobuf:"varint,3,opt,name=variant_number,json=variantNumber,proto3" json:"variant_number,omitempty"` |
| 180 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 181 | XXX_unrecognized []byte `json:"-"` |
| 182 | XXX_sizecache int32 `json:"-"` |
| 183 | } |
| 184 | |
| 185 | func (m *Variant) Reset() { *m = Variant{} } |
| 186 | func (m *Variant) String() string { return proto.CompactTextString(m) } |
| 187 | func (*Variant) ProtoMessage() {} |
| 188 | func (*Variant) Descriptor() ([]byte, []int) { |
| 189 | return fileDescriptor_0dff099eb2e3dfdb, []int{1} |
| 190 | } |
| 191 | |
| 192 | func (m *Variant) XXX_Unmarshal(b []byte) error { |
| 193 | return xxx_messageInfo_Variant.Unmarshal(m, b) |
| 194 | } |
| 195 | func (m *Variant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 196 | return xxx_messageInfo_Variant.Marshal(b, m, deterministic) |
| 197 | } |
| 198 | func (m *Variant) XXX_Merge(src proto.Message) { |
| 199 | xxx_messageInfo_Variant.Merge(m, src) |
| 200 | } |
| 201 | func (m *Variant) XXX_Size() int { |
| 202 | return xxx_messageInfo_Variant.Size(m) |
| 203 | } |
| 204 | func (m *Variant) XXX_DiscardUnknown() { |
| 205 | xxx_messageInfo_Variant.DiscardUnknown(m) |
| 206 | } |
| 207 | |
| 208 | var xxx_messageInfo_Variant proto.InternalMessageInfo |
| 209 | |
| 210 | func (m *Variant) GetTargeting() *VariantTargeting { |
| 211 | if m != nil { |
| 212 | return m.Targeting |
| 213 | } |
| 214 | return nil |
| 215 | } |
| 216 | |
| 217 | func (m *Variant) GetApkSet() []*ApkSet { |
| 218 | if m != nil { |
| 219 | return m.ApkSet |
| 220 | } |
| 221 | return nil |
| 222 | } |
| 223 | |
| 224 | func (m *Variant) GetVariantNumber() uint32 { |
| 225 | if m != nil { |
| 226 | return m.VariantNumber |
| 227 | } |
| 228 | return 0 |
| 229 | } |
| 230 | |
| 231 | // Represents a module. |
| 232 | // For pre-L devices multiple modules (possibly all) may be merged into one. |
| 233 | type ApkSet struct { |
| 234 | ModuleMetadata *ModuleMetadata `protobuf:"bytes,1,opt,name=module_metadata,json=moduleMetadata,proto3" json:"module_metadata,omitempty"` |
| 235 | // APKs. |
| 236 | ApkDescription []*ApkDescription `protobuf:"bytes,2,rep,name=apk_description,json=apkDescription,proto3" json:"apk_description,omitempty"` |
| 237 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 238 | XXX_unrecognized []byte `json:"-"` |
| 239 | XXX_sizecache int32 `json:"-"` |
| 240 | } |
| 241 | |
| 242 | func (m *ApkSet) Reset() { *m = ApkSet{} } |
| 243 | func (m *ApkSet) String() string { return proto.CompactTextString(m) } |
| 244 | func (*ApkSet) ProtoMessage() {} |
| 245 | func (*ApkSet) Descriptor() ([]byte, []int) { |
| 246 | return fileDescriptor_0dff099eb2e3dfdb, []int{2} |
| 247 | } |
| 248 | |
| 249 | func (m *ApkSet) XXX_Unmarshal(b []byte) error { |
| 250 | return xxx_messageInfo_ApkSet.Unmarshal(m, b) |
| 251 | } |
| 252 | func (m *ApkSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 253 | return xxx_messageInfo_ApkSet.Marshal(b, m, deterministic) |
| 254 | } |
| 255 | func (m *ApkSet) XXX_Merge(src proto.Message) { |
| 256 | xxx_messageInfo_ApkSet.Merge(m, src) |
| 257 | } |
| 258 | func (m *ApkSet) XXX_Size() int { |
| 259 | return xxx_messageInfo_ApkSet.Size(m) |
| 260 | } |
| 261 | func (m *ApkSet) XXX_DiscardUnknown() { |
| 262 | xxx_messageInfo_ApkSet.DiscardUnknown(m) |
| 263 | } |
| 264 | |
| 265 | var xxx_messageInfo_ApkSet proto.InternalMessageInfo |
| 266 | |
| 267 | func (m *ApkSet) GetModuleMetadata() *ModuleMetadata { |
| 268 | if m != nil { |
| 269 | return m.ModuleMetadata |
| 270 | } |
| 271 | return nil |
| 272 | } |
| 273 | |
| 274 | func (m *ApkSet) GetApkDescription() []*ApkDescription { |
| 275 | if m != nil { |
| 276 | return m.ApkDescription |
| 277 | } |
| 278 | return nil |
| 279 | } |
| 280 | |
| 281 | type ModuleMetadata struct { |
| 282 | // Module name. |
| 283 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 284 | // Indicates the delivery type (e.g. on-demand) of the module. |
| 285 | DeliveryType DeliveryType `protobuf:"varint,6,opt,name=delivery_type,json=deliveryType,proto3,enum=android.bundle.DeliveryType" json:"delivery_type,omitempty"` |
| 286 | // Indicates whether this module is marked "instant". |
| 287 | IsInstant bool `protobuf:"varint,3,opt,name=is_instant,json=isInstant,proto3" json:"is_instant,omitempty"` |
| 288 | // Names of the modules that this module directly depends on. |
| 289 | // Each module implicitly depends on the base module. |
| 290 | Dependencies []string `protobuf:"bytes,4,rep,name=dependencies,proto3" json:"dependencies,omitempty"` |
| 291 | // The targeting that makes a conditional module installed. |
| 292 | // Relevant only for Split APKs. |
| 293 | Targeting *ModuleTargeting `protobuf:"bytes,5,opt,name=targeting,proto3" json:"targeting,omitempty"` |
| 294 | // Deprecated. Please use delivery_type. |
| 295 | OnDemandDeprecated bool `protobuf:"varint,2,opt,name=on_demand_deprecated,json=onDemandDeprecated,proto3" json:"on_demand_deprecated,omitempty"` // Deprecated: Do not use. |
| 296 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 297 | XXX_unrecognized []byte `json:"-"` |
| 298 | XXX_sizecache int32 `json:"-"` |
| 299 | } |
| 300 | |
| 301 | func (m *ModuleMetadata) Reset() { *m = ModuleMetadata{} } |
| 302 | func (m *ModuleMetadata) String() string { return proto.CompactTextString(m) } |
| 303 | func (*ModuleMetadata) ProtoMessage() {} |
| 304 | func (*ModuleMetadata) Descriptor() ([]byte, []int) { |
| 305 | return fileDescriptor_0dff099eb2e3dfdb, []int{3} |
| 306 | } |
| 307 | |
| 308 | func (m *ModuleMetadata) XXX_Unmarshal(b []byte) error { |
| 309 | return xxx_messageInfo_ModuleMetadata.Unmarshal(m, b) |
| 310 | } |
| 311 | func (m *ModuleMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 312 | return xxx_messageInfo_ModuleMetadata.Marshal(b, m, deterministic) |
| 313 | } |
| 314 | func (m *ModuleMetadata) XXX_Merge(src proto.Message) { |
| 315 | xxx_messageInfo_ModuleMetadata.Merge(m, src) |
| 316 | } |
| 317 | func (m *ModuleMetadata) XXX_Size() int { |
| 318 | return xxx_messageInfo_ModuleMetadata.Size(m) |
| 319 | } |
| 320 | func (m *ModuleMetadata) XXX_DiscardUnknown() { |
| 321 | xxx_messageInfo_ModuleMetadata.DiscardUnknown(m) |
| 322 | } |
| 323 | |
| 324 | var xxx_messageInfo_ModuleMetadata proto.InternalMessageInfo |
| 325 | |
| 326 | func (m *ModuleMetadata) GetName() string { |
| 327 | if m != nil { |
| 328 | return m.Name |
| 329 | } |
| 330 | return "" |
| 331 | } |
| 332 | |
| 333 | func (m *ModuleMetadata) GetDeliveryType() DeliveryType { |
| 334 | if m != nil { |
| 335 | return m.DeliveryType |
| 336 | } |
| 337 | return DeliveryType_UNKNOWN_DELIVERY_TYPE |
| 338 | } |
| 339 | |
| 340 | func (m *ModuleMetadata) GetIsInstant() bool { |
| 341 | if m != nil { |
| 342 | return m.IsInstant |
| 343 | } |
| 344 | return false |
| 345 | } |
| 346 | |
| 347 | func (m *ModuleMetadata) GetDependencies() []string { |
| 348 | if m != nil { |
| 349 | return m.Dependencies |
| 350 | } |
| 351 | return nil |
| 352 | } |
| 353 | |
| 354 | func (m *ModuleMetadata) GetTargeting() *ModuleTargeting { |
| 355 | if m != nil { |
| 356 | return m.Targeting |
| 357 | } |
| 358 | return nil |
| 359 | } |
| 360 | |
| 361 | // Deprecated: Do not use. |
| 362 | func (m *ModuleMetadata) GetOnDemandDeprecated() bool { |
| 363 | if m != nil { |
| 364 | return m.OnDemandDeprecated |
| 365 | } |
| 366 | return false |
| 367 | } |
| 368 | |
| 369 | // Set of asset slices belonging to a single asset module. |
| 370 | type AssetSliceSet struct { |
| 371 | // Module level metadata. |
| 372 | AssetModuleMetadata *AssetModuleMetadata `protobuf:"bytes,1,opt,name=asset_module_metadata,json=assetModuleMetadata,proto3" json:"asset_module_metadata,omitempty"` |
| 373 | // Asset slices. |
| 374 | ApkDescription []*ApkDescription `protobuf:"bytes,2,rep,name=apk_description,json=apkDescription,proto3" json:"apk_description,omitempty"` |
| 375 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 376 | XXX_unrecognized []byte `json:"-"` |
| 377 | XXX_sizecache int32 `json:"-"` |
| 378 | } |
| 379 | |
| 380 | func (m *AssetSliceSet) Reset() { *m = AssetSliceSet{} } |
| 381 | func (m *AssetSliceSet) String() string { return proto.CompactTextString(m) } |
| 382 | func (*AssetSliceSet) ProtoMessage() {} |
| 383 | func (*AssetSliceSet) Descriptor() ([]byte, []int) { |
| 384 | return fileDescriptor_0dff099eb2e3dfdb, []int{4} |
| 385 | } |
| 386 | |
| 387 | func (m *AssetSliceSet) XXX_Unmarshal(b []byte) error { |
| 388 | return xxx_messageInfo_AssetSliceSet.Unmarshal(m, b) |
| 389 | } |
| 390 | func (m *AssetSliceSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 391 | return xxx_messageInfo_AssetSliceSet.Marshal(b, m, deterministic) |
| 392 | } |
| 393 | func (m *AssetSliceSet) XXX_Merge(src proto.Message) { |
| 394 | xxx_messageInfo_AssetSliceSet.Merge(m, src) |
| 395 | } |
| 396 | func (m *AssetSliceSet) XXX_Size() int { |
| 397 | return xxx_messageInfo_AssetSliceSet.Size(m) |
| 398 | } |
| 399 | func (m *AssetSliceSet) XXX_DiscardUnknown() { |
| 400 | xxx_messageInfo_AssetSliceSet.DiscardUnknown(m) |
| 401 | } |
| 402 | |
| 403 | var xxx_messageInfo_AssetSliceSet proto.InternalMessageInfo |
| 404 | |
| 405 | func (m *AssetSliceSet) GetAssetModuleMetadata() *AssetModuleMetadata { |
| 406 | if m != nil { |
| 407 | return m.AssetModuleMetadata |
| 408 | } |
| 409 | return nil |
| 410 | } |
| 411 | |
| 412 | func (m *AssetSliceSet) GetApkDescription() []*ApkDescription { |
| 413 | if m != nil { |
| 414 | return m.ApkDescription |
| 415 | } |
| 416 | return nil |
| 417 | } |
| 418 | |
| 419 | type AssetModuleMetadata struct { |
| 420 | // Module name. |
| 421 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 422 | // Indicates the delivery type for persistent install. |
| 423 | DeliveryType DeliveryType `protobuf:"varint,4,opt,name=delivery_type,json=deliveryType,proto3,enum=android.bundle.DeliveryType" json:"delivery_type,omitempty"` |
| 424 | // Metadata for instant installs. |
| 425 | InstantMetadata *InstantMetadata `protobuf:"bytes,3,opt,name=instant_metadata,json=instantMetadata,proto3" json:"instant_metadata,omitempty"` |
| 426 | // Deprecated. Use delivery_type. |
| 427 | OnDemandDeprecated bool `protobuf:"varint,2,opt,name=on_demand_deprecated,json=onDemandDeprecated,proto3" json:"on_demand_deprecated,omitempty"` // Deprecated: Do not use. |
| 428 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 429 | XXX_unrecognized []byte `json:"-"` |
| 430 | XXX_sizecache int32 `json:"-"` |
| 431 | } |
| 432 | |
| 433 | func (m *AssetModuleMetadata) Reset() { *m = AssetModuleMetadata{} } |
| 434 | func (m *AssetModuleMetadata) String() string { return proto.CompactTextString(m) } |
| 435 | func (*AssetModuleMetadata) ProtoMessage() {} |
| 436 | func (*AssetModuleMetadata) Descriptor() ([]byte, []int) { |
| 437 | return fileDescriptor_0dff099eb2e3dfdb, []int{5} |
| 438 | } |
| 439 | |
| 440 | func (m *AssetModuleMetadata) XXX_Unmarshal(b []byte) error { |
| 441 | return xxx_messageInfo_AssetModuleMetadata.Unmarshal(m, b) |
| 442 | } |
| 443 | func (m *AssetModuleMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 444 | return xxx_messageInfo_AssetModuleMetadata.Marshal(b, m, deterministic) |
| 445 | } |
| 446 | func (m *AssetModuleMetadata) XXX_Merge(src proto.Message) { |
| 447 | xxx_messageInfo_AssetModuleMetadata.Merge(m, src) |
| 448 | } |
| 449 | func (m *AssetModuleMetadata) XXX_Size() int { |
| 450 | return xxx_messageInfo_AssetModuleMetadata.Size(m) |
| 451 | } |
| 452 | func (m *AssetModuleMetadata) XXX_DiscardUnknown() { |
| 453 | xxx_messageInfo_AssetModuleMetadata.DiscardUnknown(m) |
| 454 | } |
| 455 | |
| 456 | var xxx_messageInfo_AssetModuleMetadata proto.InternalMessageInfo |
| 457 | |
| 458 | func (m *AssetModuleMetadata) GetName() string { |
| 459 | if m != nil { |
| 460 | return m.Name |
| 461 | } |
| 462 | return "" |
| 463 | } |
| 464 | |
| 465 | func (m *AssetModuleMetadata) GetDeliveryType() DeliveryType { |
| 466 | if m != nil { |
| 467 | return m.DeliveryType |
| 468 | } |
| 469 | return DeliveryType_UNKNOWN_DELIVERY_TYPE |
| 470 | } |
| 471 | |
| 472 | func (m *AssetModuleMetadata) GetInstantMetadata() *InstantMetadata { |
| 473 | if m != nil { |
| 474 | return m.InstantMetadata |
| 475 | } |
| 476 | return nil |
| 477 | } |
| 478 | |
| 479 | // Deprecated: Do not use. |
| 480 | func (m *AssetModuleMetadata) GetOnDemandDeprecated() bool { |
| 481 | if m != nil { |
| 482 | return m.OnDemandDeprecated |
| 483 | } |
| 484 | return false |
| 485 | } |
| 486 | |
| 487 | type InstantMetadata struct { |
| 488 | // Indicates whether this module is marked "instant". |
| 489 | IsInstant bool `protobuf:"varint,1,opt,name=is_instant,json=isInstant,proto3" json:"is_instant,omitempty"` |
| 490 | // Indicates the delivery type for instant install. |
| 491 | DeliveryType DeliveryType `protobuf:"varint,3,opt,name=delivery_type,json=deliveryType,proto3,enum=android.bundle.DeliveryType" json:"delivery_type,omitempty"` |
| 492 | // Deprecated. Use delivery_type. |
| 493 | OnDemandDeprecated bool `protobuf:"varint,2,opt,name=on_demand_deprecated,json=onDemandDeprecated,proto3" json:"on_demand_deprecated,omitempty"` // Deprecated: Do not use. |
| 494 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 495 | XXX_unrecognized []byte `json:"-"` |
| 496 | XXX_sizecache int32 `json:"-"` |
| 497 | } |
| 498 | |
| 499 | func (m *InstantMetadata) Reset() { *m = InstantMetadata{} } |
| 500 | func (m *InstantMetadata) String() string { return proto.CompactTextString(m) } |
| 501 | func (*InstantMetadata) ProtoMessage() {} |
| 502 | func (*InstantMetadata) Descriptor() ([]byte, []int) { |
| 503 | return fileDescriptor_0dff099eb2e3dfdb, []int{6} |
| 504 | } |
| 505 | |
| 506 | func (m *InstantMetadata) XXX_Unmarshal(b []byte) error { |
| 507 | return xxx_messageInfo_InstantMetadata.Unmarshal(m, b) |
| 508 | } |
| 509 | func (m *InstantMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 510 | return xxx_messageInfo_InstantMetadata.Marshal(b, m, deterministic) |
| 511 | } |
| 512 | func (m *InstantMetadata) XXX_Merge(src proto.Message) { |
| 513 | xxx_messageInfo_InstantMetadata.Merge(m, src) |
| 514 | } |
| 515 | func (m *InstantMetadata) XXX_Size() int { |
| 516 | return xxx_messageInfo_InstantMetadata.Size(m) |
| 517 | } |
| 518 | func (m *InstantMetadata) XXX_DiscardUnknown() { |
| 519 | xxx_messageInfo_InstantMetadata.DiscardUnknown(m) |
| 520 | } |
| 521 | |
| 522 | var xxx_messageInfo_InstantMetadata proto.InternalMessageInfo |
| 523 | |
| 524 | func (m *InstantMetadata) GetIsInstant() bool { |
| 525 | if m != nil { |
| 526 | return m.IsInstant |
| 527 | } |
| 528 | return false |
| 529 | } |
| 530 | |
| 531 | func (m *InstantMetadata) GetDeliveryType() DeliveryType { |
| 532 | if m != nil { |
| 533 | return m.DeliveryType |
| 534 | } |
| 535 | return DeliveryType_UNKNOWN_DELIVERY_TYPE |
| 536 | } |
| 537 | |
| 538 | // Deprecated: Do not use. |
| 539 | func (m *InstantMetadata) GetOnDemandDeprecated() bool { |
| 540 | if m != nil { |
| 541 | return m.OnDemandDeprecated |
| 542 | } |
| 543 | return false |
| 544 | } |
| 545 | |
| 546 | type ApkDescription struct { |
| 547 | Targeting *ApkTargeting `protobuf:"bytes,1,opt,name=targeting,proto3" json:"targeting,omitempty"` |
| 548 | // Path to the APK file. |
| 549 | // BEGIN-INTERNAL |
| 550 | // The path may be a blobkey if the proto is not constructed by bundletool. |
| 551 | // END-INTERNAL |
| 552 | Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` |
| 553 | // Types that are valid to be assigned to ApkMetadataOneofValue: |
| 554 | // *ApkDescription_SplitApkMetadata |
| 555 | // *ApkDescription_StandaloneApkMetadata |
| 556 | // *ApkDescription_InstantApkMetadata |
| 557 | // *ApkDescription_SystemApkMetadata |
| 558 | // *ApkDescription_AssetSliceMetadata |
| 559 | // *ApkDescription_ApexApkMetadata |
| 560 | ApkMetadataOneofValue isApkDescription_ApkMetadataOneofValue `protobuf_oneof:"apk_metadata_oneof_value"` |
| 561 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 562 | XXX_unrecognized []byte `json:"-"` |
| 563 | XXX_sizecache int32 `json:"-"` |
| 564 | } |
| 565 | |
| 566 | func (m *ApkDescription) Reset() { *m = ApkDescription{} } |
| 567 | func (m *ApkDescription) String() string { return proto.CompactTextString(m) } |
| 568 | func (*ApkDescription) ProtoMessage() {} |
| 569 | func (*ApkDescription) Descriptor() ([]byte, []int) { |
| 570 | return fileDescriptor_0dff099eb2e3dfdb, []int{7} |
| 571 | } |
| 572 | |
| 573 | func (m *ApkDescription) XXX_Unmarshal(b []byte) error { |
| 574 | return xxx_messageInfo_ApkDescription.Unmarshal(m, b) |
| 575 | } |
| 576 | func (m *ApkDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 577 | return xxx_messageInfo_ApkDescription.Marshal(b, m, deterministic) |
| 578 | } |
| 579 | func (m *ApkDescription) XXX_Merge(src proto.Message) { |
| 580 | xxx_messageInfo_ApkDescription.Merge(m, src) |
| 581 | } |
| 582 | func (m *ApkDescription) XXX_Size() int { |
| 583 | return xxx_messageInfo_ApkDescription.Size(m) |
| 584 | } |
| 585 | func (m *ApkDescription) XXX_DiscardUnknown() { |
| 586 | xxx_messageInfo_ApkDescription.DiscardUnknown(m) |
| 587 | } |
| 588 | |
| 589 | var xxx_messageInfo_ApkDescription proto.InternalMessageInfo |
| 590 | |
| 591 | func (m *ApkDescription) GetTargeting() *ApkTargeting { |
| 592 | if m != nil { |
| 593 | return m.Targeting |
| 594 | } |
| 595 | return nil |
| 596 | } |
| 597 | |
| 598 | func (m *ApkDescription) GetPath() string { |
| 599 | if m != nil { |
| 600 | return m.Path |
| 601 | } |
| 602 | return "" |
| 603 | } |
| 604 | |
| 605 | type isApkDescription_ApkMetadataOneofValue interface { |
| 606 | isApkDescription_ApkMetadataOneofValue() |
| 607 | } |
| 608 | |
| 609 | type ApkDescription_SplitApkMetadata struct { |
| 610 | SplitApkMetadata *SplitApkMetadata `protobuf:"bytes,3,opt,name=split_apk_metadata,json=splitApkMetadata,proto3,oneof"` |
| 611 | } |
| 612 | |
| 613 | type ApkDescription_StandaloneApkMetadata struct { |
| 614 | StandaloneApkMetadata *StandaloneApkMetadata `protobuf:"bytes,4,opt,name=standalone_apk_metadata,json=standaloneApkMetadata,proto3,oneof"` |
| 615 | } |
| 616 | |
| 617 | type ApkDescription_InstantApkMetadata struct { |
| 618 | InstantApkMetadata *SplitApkMetadata `protobuf:"bytes,5,opt,name=instant_apk_metadata,json=instantApkMetadata,proto3,oneof"` |
| 619 | } |
| 620 | |
| 621 | type ApkDescription_SystemApkMetadata struct { |
| 622 | SystemApkMetadata *SystemApkMetadata `protobuf:"bytes,6,opt,name=system_apk_metadata,json=systemApkMetadata,proto3,oneof"` |
| 623 | } |
| 624 | |
| 625 | type ApkDescription_AssetSliceMetadata struct { |
| 626 | AssetSliceMetadata *SplitApkMetadata `protobuf:"bytes,7,opt,name=asset_slice_metadata,json=assetSliceMetadata,proto3,oneof"` |
| 627 | } |
| 628 | |
| 629 | type ApkDescription_ApexApkMetadata struct { |
| 630 | ApexApkMetadata *ApexApkMetadata `protobuf:"bytes,8,opt,name=apex_apk_metadata,json=apexApkMetadata,proto3,oneof"` |
| 631 | } |
| 632 | |
| 633 | func (*ApkDescription_SplitApkMetadata) isApkDescription_ApkMetadataOneofValue() {} |
| 634 | |
| 635 | func (*ApkDescription_StandaloneApkMetadata) isApkDescription_ApkMetadataOneofValue() {} |
| 636 | |
| 637 | func (*ApkDescription_InstantApkMetadata) isApkDescription_ApkMetadataOneofValue() {} |
| 638 | |
| 639 | func (*ApkDescription_SystemApkMetadata) isApkDescription_ApkMetadataOneofValue() {} |
| 640 | |
| 641 | func (*ApkDescription_AssetSliceMetadata) isApkDescription_ApkMetadataOneofValue() {} |
| 642 | |
| 643 | func (*ApkDescription_ApexApkMetadata) isApkDescription_ApkMetadataOneofValue() {} |
| 644 | |
| 645 | func (m *ApkDescription) GetApkMetadataOneofValue() isApkDescription_ApkMetadataOneofValue { |
| 646 | if m != nil { |
| 647 | return m.ApkMetadataOneofValue |
| 648 | } |
| 649 | return nil |
| 650 | } |
| 651 | |
| 652 | func (m *ApkDescription) GetSplitApkMetadata() *SplitApkMetadata { |
| 653 | if x, ok := m.GetApkMetadataOneofValue().(*ApkDescription_SplitApkMetadata); ok { |
| 654 | return x.SplitApkMetadata |
| 655 | } |
| 656 | return nil |
| 657 | } |
| 658 | |
| 659 | func (m *ApkDescription) GetStandaloneApkMetadata() *StandaloneApkMetadata { |
| 660 | if x, ok := m.GetApkMetadataOneofValue().(*ApkDescription_StandaloneApkMetadata); ok { |
| 661 | return x.StandaloneApkMetadata |
| 662 | } |
| 663 | return nil |
| 664 | } |
| 665 | |
| 666 | func (m *ApkDescription) GetInstantApkMetadata() *SplitApkMetadata { |
| 667 | if x, ok := m.GetApkMetadataOneofValue().(*ApkDescription_InstantApkMetadata); ok { |
| 668 | return x.InstantApkMetadata |
| 669 | } |
| 670 | return nil |
| 671 | } |
| 672 | |
| 673 | func (m *ApkDescription) GetSystemApkMetadata() *SystemApkMetadata { |
| 674 | if x, ok := m.GetApkMetadataOneofValue().(*ApkDescription_SystemApkMetadata); ok { |
| 675 | return x.SystemApkMetadata |
| 676 | } |
| 677 | return nil |
| 678 | } |
| 679 | |
| 680 | func (m *ApkDescription) GetAssetSliceMetadata() *SplitApkMetadata { |
| 681 | if x, ok := m.GetApkMetadataOneofValue().(*ApkDescription_AssetSliceMetadata); ok { |
| 682 | return x.AssetSliceMetadata |
| 683 | } |
| 684 | return nil |
| 685 | } |
| 686 | |
| 687 | func (m *ApkDescription) GetApexApkMetadata() *ApexApkMetadata { |
| 688 | if x, ok := m.GetApkMetadataOneofValue().(*ApkDescription_ApexApkMetadata); ok { |
| 689 | return x.ApexApkMetadata |
| 690 | } |
| 691 | return nil |
| 692 | } |
| 693 | |
| 694 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 695 | func (*ApkDescription) XXX_OneofWrappers() []interface{} { |
| 696 | return []interface{}{ |
| 697 | (*ApkDescription_SplitApkMetadata)(nil), |
| 698 | (*ApkDescription_StandaloneApkMetadata)(nil), |
| 699 | (*ApkDescription_InstantApkMetadata)(nil), |
| 700 | (*ApkDescription_SystemApkMetadata)(nil), |
| 701 | (*ApkDescription_AssetSliceMetadata)(nil), |
| 702 | (*ApkDescription_ApexApkMetadata)(nil), |
| 703 | } |
| 704 | } |
| 705 | |
| 706 | // Holds data specific to Split APKs. |
| 707 | type SplitApkMetadata struct { |
| 708 | SplitId string `protobuf:"bytes,1,opt,name=split_id,json=splitId,proto3" json:"split_id,omitempty"` |
| 709 | // Indicates whether this APK is the master split of the module. |
| 710 | IsMasterSplit bool `protobuf:"varint,2,opt,name=is_master_split,json=isMasterSplit,proto3" json:"is_master_split,omitempty"` |
| 711 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 712 | XXX_unrecognized []byte `json:"-"` |
| 713 | XXX_sizecache int32 `json:"-"` |
| 714 | } |
| 715 | |
| 716 | func (m *SplitApkMetadata) Reset() { *m = SplitApkMetadata{} } |
| 717 | func (m *SplitApkMetadata) String() string { return proto.CompactTextString(m) } |
| 718 | func (*SplitApkMetadata) ProtoMessage() {} |
| 719 | func (*SplitApkMetadata) Descriptor() ([]byte, []int) { |
| 720 | return fileDescriptor_0dff099eb2e3dfdb, []int{8} |
| 721 | } |
| 722 | |
| 723 | func (m *SplitApkMetadata) XXX_Unmarshal(b []byte) error { |
| 724 | return xxx_messageInfo_SplitApkMetadata.Unmarshal(m, b) |
| 725 | } |
| 726 | func (m *SplitApkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 727 | return xxx_messageInfo_SplitApkMetadata.Marshal(b, m, deterministic) |
| 728 | } |
| 729 | func (m *SplitApkMetadata) XXX_Merge(src proto.Message) { |
| 730 | xxx_messageInfo_SplitApkMetadata.Merge(m, src) |
| 731 | } |
| 732 | func (m *SplitApkMetadata) XXX_Size() int { |
| 733 | return xxx_messageInfo_SplitApkMetadata.Size(m) |
| 734 | } |
| 735 | func (m *SplitApkMetadata) XXX_DiscardUnknown() { |
| 736 | xxx_messageInfo_SplitApkMetadata.DiscardUnknown(m) |
| 737 | } |
| 738 | |
| 739 | var xxx_messageInfo_SplitApkMetadata proto.InternalMessageInfo |
| 740 | |
| 741 | func (m *SplitApkMetadata) GetSplitId() string { |
| 742 | if m != nil { |
| 743 | return m.SplitId |
| 744 | } |
| 745 | return "" |
| 746 | } |
| 747 | |
| 748 | func (m *SplitApkMetadata) GetIsMasterSplit() bool { |
| 749 | if m != nil { |
| 750 | return m.IsMasterSplit |
| 751 | } |
| 752 | return false |
| 753 | } |
| 754 | |
| 755 | // Holds data specific to Standalone APKs. |
| 756 | type StandaloneApkMetadata struct { |
| 757 | // Names of the modules fused in this standalone APK. |
| 758 | FusedModuleName []string `protobuf:"bytes,1,rep,name=fused_module_name,json=fusedModuleName,proto3" json:"fused_module_name,omitempty"` |
| 759 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 760 | XXX_unrecognized []byte `json:"-"` |
| 761 | XXX_sizecache int32 `json:"-"` |
| 762 | } |
| 763 | |
| 764 | func (m *StandaloneApkMetadata) Reset() { *m = StandaloneApkMetadata{} } |
| 765 | func (m *StandaloneApkMetadata) String() string { return proto.CompactTextString(m) } |
| 766 | func (*StandaloneApkMetadata) ProtoMessage() {} |
| 767 | func (*StandaloneApkMetadata) Descriptor() ([]byte, []int) { |
| 768 | return fileDescriptor_0dff099eb2e3dfdb, []int{9} |
| 769 | } |
| 770 | |
| 771 | func (m *StandaloneApkMetadata) XXX_Unmarshal(b []byte) error { |
| 772 | return xxx_messageInfo_StandaloneApkMetadata.Unmarshal(m, b) |
| 773 | } |
| 774 | func (m *StandaloneApkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 775 | return xxx_messageInfo_StandaloneApkMetadata.Marshal(b, m, deterministic) |
| 776 | } |
| 777 | func (m *StandaloneApkMetadata) XXX_Merge(src proto.Message) { |
| 778 | xxx_messageInfo_StandaloneApkMetadata.Merge(m, src) |
| 779 | } |
| 780 | func (m *StandaloneApkMetadata) XXX_Size() int { |
| 781 | return xxx_messageInfo_StandaloneApkMetadata.Size(m) |
| 782 | } |
| 783 | func (m *StandaloneApkMetadata) XXX_DiscardUnknown() { |
| 784 | xxx_messageInfo_StandaloneApkMetadata.DiscardUnknown(m) |
| 785 | } |
| 786 | |
| 787 | var xxx_messageInfo_StandaloneApkMetadata proto.InternalMessageInfo |
| 788 | |
| 789 | func (m *StandaloneApkMetadata) GetFusedModuleName() []string { |
| 790 | if m != nil { |
| 791 | return m.FusedModuleName |
| 792 | } |
| 793 | return nil |
| 794 | } |
| 795 | |
| 796 | // Holds data specific to system APKs. |
| 797 | type SystemApkMetadata struct { |
| 798 | // Names of the modules fused in this system APK. |
| 799 | FusedModuleName []string `protobuf:"bytes,1,rep,name=fused_module_name,json=fusedModuleName,proto3" json:"fused_module_name,omitempty"` |
| 800 | // Indicates whether the APK is uncompressed system APK, stub APK or |
| 801 | // compressed system APK. |
| 802 | SystemApkType SystemApkMetadata_SystemApkType `protobuf:"varint,2,opt,name=system_apk_type,json=systemApkType,proto3,enum=android.bundle.SystemApkMetadata_SystemApkType" json:"system_apk_type,omitempty"` |
| 803 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 804 | XXX_unrecognized []byte `json:"-"` |
| 805 | XXX_sizecache int32 `json:"-"` |
| 806 | } |
| 807 | |
| 808 | func (m *SystemApkMetadata) Reset() { *m = SystemApkMetadata{} } |
| 809 | func (m *SystemApkMetadata) String() string { return proto.CompactTextString(m) } |
| 810 | func (*SystemApkMetadata) ProtoMessage() {} |
| 811 | func (*SystemApkMetadata) Descriptor() ([]byte, []int) { |
| 812 | return fileDescriptor_0dff099eb2e3dfdb, []int{10} |
| 813 | } |
| 814 | |
| 815 | func (m *SystemApkMetadata) XXX_Unmarshal(b []byte) error { |
| 816 | return xxx_messageInfo_SystemApkMetadata.Unmarshal(m, b) |
| 817 | } |
| 818 | func (m *SystemApkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 819 | return xxx_messageInfo_SystemApkMetadata.Marshal(b, m, deterministic) |
| 820 | } |
| 821 | func (m *SystemApkMetadata) XXX_Merge(src proto.Message) { |
| 822 | xxx_messageInfo_SystemApkMetadata.Merge(m, src) |
| 823 | } |
| 824 | func (m *SystemApkMetadata) XXX_Size() int { |
| 825 | return xxx_messageInfo_SystemApkMetadata.Size(m) |
| 826 | } |
| 827 | func (m *SystemApkMetadata) XXX_DiscardUnknown() { |
| 828 | xxx_messageInfo_SystemApkMetadata.DiscardUnknown(m) |
| 829 | } |
| 830 | |
| 831 | var xxx_messageInfo_SystemApkMetadata proto.InternalMessageInfo |
| 832 | |
| 833 | func (m *SystemApkMetadata) GetFusedModuleName() []string { |
| 834 | if m != nil { |
| 835 | return m.FusedModuleName |
| 836 | } |
| 837 | return nil |
| 838 | } |
| 839 | |
| 840 | func (m *SystemApkMetadata) GetSystemApkType() SystemApkMetadata_SystemApkType { |
| 841 | if m != nil { |
| 842 | return m.SystemApkType |
| 843 | } |
| 844 | return SystemApkMetadata_UNSPECIFIED_VALUE |
| 845 | } |
| 846 | |
| 847 | // Holds data specific to APEX APKs. |
| 848 | type ApexApkMetadata struct { |
| 849 | // Configuration for processing of APKs embedded in an APEX image. |
| 850 | ApexEmbeddedApkConfig []*ApexEmbeddedApkConfig `protobuf:"bytes,1,rep,name=apex_embedded_apk_config,json=apexEmbeddedApkConfig,proto3" json:"apex_embedded_apk_config,omitempty"` |
| 851 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 852 | XXX_unrecognized []byte `json:"-"` |
| 853 | XXX_sizecache int32 `json:"-"` |
| 854 | } |
| 855 | |
| 856 | func (m *ApexApkMetadata) Reset() { *m = ApexApkMetadata{} } |
| 857 | func (m *ApexApkMetadata) String() string { return proto.CompactTextString(m) } |
| 858 | func (*ApexApkMetadata) ProtoMessage() {} |
| 859 | func (*ApexApkMetadata) Descriptor() ([]byte, []int) { |
| 860 | return fileDescriptor_0dff099eb2e3dfdb, []int{11} |
| 861 | } |
| 862 | |
| 863 | func (m *ApexApkMetadata) XXX_Unmarshal(b []byte) error { |
| 864 | return xxx_messageInfo_ApexApkMetadata.Unmarshal(m, b) |
| 865 | } |
| 866 | func (m *ApexApkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 867 | return xxx_messageInfo_ApexApkMetadata.Marshal(b, m, deterministic) |
| 868 | } |
| 869 | func (m *ApexApkMetadata) XXX_Merge(src proto.Message) { |
| 870 | xxx_messageInfo_ApexApkMetadata.Merge(m, src) |
| 871 | } |
| 872 | func (m *ApexApkMetadata) XXX_Size() int { |
| 873 | return xxx_messageInfo_ApexApkMetadata.Size(m) |
| 874 | } |
| 875 | func (m *ApexApkMetadata) XXX_DiscardUnknown() { |
| 876 | xxx_messageInfo_ApexApkMetadata.DiscardUnknown(m) |
| 877 | } |
| 878 | |
| 879 | var xxx_messageInfo_ApexApkMetadata proto.InternalMessageInfo |
| 880 | |
| 881 | func (m *ApexApkMetadata) GetApexEmbeddedApkConfig() []*ApexEmbeddedApkConfig { |
| 882 | if m != nil { |
| 883 | return m.ApexEmbeddedApkConfig |
| 884 | } |
| 885 | return nil |
| 886 | } |
| 887 | |
| 888 | type LocalTestingInfo struct { |
| 889 | // Indicates if the bundle is built in local testing mode. |
| 890 | Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` |
| 891 | // The local testing path, as specified in the base manifest. |
| 892 | // This refers to the relative path on the external directory of the app where |
| 893 | // APKs will be pushed for local testing. |
| 894 | // Set only if local testing is enabled. |
| 895 | LocalTestingPath string `protobuf:"bytes,2,opt,name=local_testing_path,json=localTestingPath,proto3" json:"local_testing_path,omitempty"` |
| 896 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 897 | XXX_unrecognized []byte `json:"-"` |
| 898 | XXX_sizecache int32 `json:"-"` |
| 899 | } |
| 900 | |
| 901 | func (m *LocalTestingInfo) Reset() { *m = LocalTestingInfo{} } |
| 902 | func (m *LocalTestingInfo) String() string { return proto.CompactTextString(m) } |
| 903 | func (*LocalTestingInfo) ProtoMessage() {} |
| 904 | func (*LocalTestingInfo) Descriptor() ([]byte, []int) { |
| 905 | return fileDescriptor_0dff099eb2e3dfdb, []int{12} |
| 906 | } |
| 907 | |
| 908 | func (m *LocalTestingInfo) XXX_Unmarshal(b []byte) error { |
| 909 | return xxx_messageInfo_LocalTestingInfo.Unmarshal(m, b) |
| 910 | } |
| 911 | func (m *LocalTestingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 912 | return xxx_messageInfo_LocalTestingInfo.Marshal(b, m, deterministic) |
| 913 | } |
| 914 | func (m *LocalTestingInfo) XXX_Merge(src proto.Message) { |
| 915 | xxx_messageInfo_LocalTestingInfo.Merge(m, src) |
| 916 | } |
| 917 | func (m *LocalTestingInfo) XXX_Size() int { |
| 918 | return xxx_messageInfo_LocalTestingInfo.Size(m) |
| 919 | } |
| 920 | func (m *LocalTestingInfo) XXX_DiscardUnknown() { |
| 921 | xxx_messageInfo_LocalTestingInfo.DiscardUnknown(m) |
| 922 | } |
| 923 | |
| 924 | var xxx_messageInfo_LocalTestingInfo proto.InternalMessageInfo |
| 925 | |
| 926 | func (m *LocalTestingInfo) GetEnabled() bool { |
| 927 | if m != nil { |
| 928 | return m.Enabled |
| 929 | } |
| 930 | return false |
| 931 | } |
| 932 | |
| 933 | func (m *LocalTestingInfo) GetLocalTestingPath() string { |
| 934 | if m != nil { |
| 935 | return m.LocalTestingPath |
| 936 | } |
| 937 | return "" |
| 938 | } |
| 939 | |
| 940 | func init() { |
| 941 | proto.RegisterEnum("android.bundle.DeliveryType", DeliveryType_name, DeliveryType_value) |
| 942 | proto.RegisterEnum("android.bundle.SystemApkMetadata_SystemApkType", SystemApkMetadata_SystemApkType_name, SystemApkMetadata_SystemApkType_value) |
| 943 | proto.RegisterType((*BuildApksResult)(nil), "android.bundle.BuildApksResult") |
| 944 | proto.RegisterType((*Variant)(nil), "android.bundle.Variant") |
| 945 | proto.RegisterType((*ApkSet)(nil), "android.bundle.ApkSet") |
| 946 | proto.RegisterType((*ModuleMetadata)(nil), "android.bundle.ModuleMetadata") |
| 947 | proto.RegisterType((*AssetSliceSet)(nil), "android.bundle.AssetSliceSet") |
| 948 | proto.RegisterType((*AssetModuleMetadata)(nil), "android.bundle.AssetModuleMetadata") |
| 949 | proto.RegisterType((*InstantMetadata)(nil), "android.bundle.InstantMetadata") |
| 950 | proto.RegisterType((*ApkDescription)(nil), "android.bundle.ApkDescription") |
| 951 | proto.RegisterType((*SplitApkMetadata)(nil), "android.bundle.SplitApkMetadata") |
| 952 | proto.RegisterType((*StandaloneApkMetadata)(nil), "android.bundle.StandaloneApkMetadata") |
| 953 | proto.RegisterType((*SystemApkMetadata)(nil), "android.bundle.SystemApkMetadata") |
| 954 | proto.RegisterType((*ApexApkMetadata)(nil), "android.bundle.ApexApkMetadata") |
| 955 | proto.RegisterType((*LocalTestingInfo)(nil), "android.bundle.LocalTestingInfo") |
| 956 | } |
| 957 | |
| 958 | func init() { |
| 959 | proto.RegisterFile("commands.proto", fileDescriptor_0dff099eb2e3dfdb) |
| 960 | } |
| 961 | |
| 962 | var fileDescriptor_0dff099eb2e3dfdb = []byte{ |
| 963 | // 1104 bytes of a gzipped FileDescriptorProto |
| 964 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe2, 0x46, |
| 965 | 0x14, 0x5e, 0x03, 0x0b, 0xe1, 0x05, 0xb0, 0x33, 0x1b, 0xba, 0xde, 0x68, 0x77, 0xcb, 0xba, 0x4a, |
| 966 | 0x85, 0xa2, 0x2a, 0xab, 0xa6, 0x3d, 0xad, 0xd4, 0x4a, 0x10, 0x9c, 0x96, 0x2d, 0x90, 0xc8, 0x26, |
| 967 | 0x89, 0x92, 0x4a, 0x1d, 0x4d, 0x98, 0x49, 0xd6, 0xc2, 0xbf, 0xca, 0x98, 0x28, 0xf9, 0x57, 0x7a, |
| 968 | 0xa9, 0x7a, 0xec, 0xb1, 0xd7, 0xfe, 0x51, 0x3d, 0xf5, 0xde, 0xca, 0x63, 0x03, 0xb6, 0xb1, 0xd4, |
| 969 | 0x64, 0xd5, 0x13, 0x7e, 0x6f, 0xbe, 0xf9, 0xe6, 0xbd, 0xf7, 0xbd, 0x79, 0x0c, 0x34, 0x26, 0x9e, |
| 970 | 0xe3, 0x10, 0x97, 0xf2, 0x7d, 0x7f, 0xe6, 0x05, 0x1e, 0x6a, 0x10, 0x97, 0xce, 0x3c, 0x8b, 0xee, |
| 971 | 0x5f, 0xcd, 0x5d, 0x6a, 0xb3, 0x9d, 0xda, 0xc4, 0x73, 0xaf, 0xad, 0x9b, 0x68, 0x75, 0x47, 0x0e, |
| 972 | 0xc8, 0xec, 0x86, 0x05, 0x96, 0x1b, 0x3b, 0xb4, 0x3f, 0x0b, 0x20, 0x77, 0xe7, 0x96, 0x4d, 0x3b, |
| 973 | 0xfe, 0x94, 0x1b, 0x8c, 0xcf, 0xed, 0x00, 0xbd, 0x81, 0x9a, 0x4f, 0x26, 0x53, 0x72, 0xc3, 0xb0, |
| 974 | 0x4b, 0x1c, 0xa6, 0x96, 0x5a, 0x52, 0xbb, 0x6a, 0x6c, 0xc6, 0xbe, 0x11, 0x71, 0x18, 0xfa, 0x12, |
| 975 | 0x2a, 0xb7, 0x64, 0x66, 0x11, 0x37, 0x50, 0xa5, 0x56, 0xb1, 0xbd, 0x79, 0xf0, 0x7c, 0x3f, 0x7d, |
| 976 | 0xee, 0xfe, 0x59, 0xb4, 0x6c, 0x2c, 0x70, 0xe8, 0x1d, 0x40, 0xb4, 0x14, 0x78, 0x9e, 0xad, 0x16, |
| 977 | 0x5a, 0x52, 0x7b, 0xf3, 0x60, 0x27, 0xbb, 0xab, 0xbb, 0x44, 0x18, 0x09, 0x34, 0xd2, 0x41, 0x26, |
| 978 | 0x9c, 0xb3, 0x00, 0x73, 0xdb, 0x9a, 0x30, 0xcc, 0x59, 0xa0, 0x16, 0xc5, 0xb1, 0xaf, 0xb2, 0x04, |
| 979 | 0x9d, 0x10, 0x66, 0x86, 0x28, 0x93, 0x05, 0x46, 0x9d, 0x24, 0x4d, 0x34, 0x02, 0x64, 0x7b, 0x13, |
| 980 | 0x62, 0xe3, 0x80, 0xf1, 0xb0, 0x06, 0xd8, 0x72, 0xaf, 0x3d, 0xf5, 0xa9, 0x08, 0xa5, 0x95, 0x65, |
| 981 | 0x1a, 0x84, 0xc8, 0x71, 0x04, 0xec, 0xbb, 0xd7, 0x9e, 0xa1, 0xd8, 0x19, 0x8f, 0xf6, 0x9b, 0x04, |
| 982 | 0x95, 0x38, 0x4f, 0xf4, 0x2d, 0x54, 0x97, 0xb5, 0x55, 0xa5, 0x7c, 0xca, 0x18, 0x3b, 0x5e, 0xe0, |
| 983 | 0x8c, 0xd5, 0x16, 0xf4, 0x16, 0x2a, 0xc4, 0x9f, 0x8a, 0xd4, 0x0a, 0x22, 0xb5, 0x4f, 0xd6, 0x52, |
| 984 | 0xf3, 0xa7, 0x61, 0x4e, 0x65, 0x22, 0x7e, 0xd1, 0x2e, 0x34, 0xe2, 0xd2, 0x62, 0x77, 0xee, 0x5c, |
| 985 | 0xb1, 0x99, 0x5a, 0x6c, 0x49, 0xed, 0xba, 0x51, 0x8f, 0xbd, 0x23, 0xe1, 0xd4, 0x7e, 0x91, 0xa0, |
| 986 | 0x1c, 0xed, 0x44, 0xdf, 0x81, 0xec, 0x78, 0x74, 0x6e, 0x33, 0xec, 0xb0, 0x80, 0x50, 0x12, 0x90, |
| 987 | 0x38, 0xd0, 0xd7, 0xd9, 0xa3, 0x86, 0x02, 0x36, 0x8c, 0x51, 0x46, 0xc3, 0x49, 0xd9, 0x21, 0x51, |
| 988 | 0x18, 0x2b, 0x65, 0x7c, 0x32, 0xb3, 0xfc, 0xc0, 0xf2, 0xdc, 0x38, 0xe6, 0xd7, 0x39, 0x31, 0xf7, |
| 989 | 0x56, 0x28, 0xa3, 0x41, 0x52, 0xb6, 0xf6, 0x6b, 0x01, 0x1a, 0xe9, 0xb3, 0x10, 0x82, 0x92, 0x68, |
| 990 | 0x3a, 0x49, 0x34, 0x9d, 0xf8, 0x46, 0x1d, 0xa8, 0x53, 0x66, 0x5b, 0xb7, 0x6c, 0x76, 0x8f, 0x83, |
| 991 | 0x7b, 0x9f, 0xa9, 0xe5, 0x96, 0xd4, 0x6e, 0x1c, 0xbc, 0xcc, 0x9e, 0xd6, 0x8b, 0x41, 0xe3, 0x7b, |
| 992 | 0x9f, 0x19, 0x35, 0x9a, 0xb0, 0xd0, 0x2b, 0x00, 0x8b, 0x63, 0xcb, 0xe5, 0x41, 0xd8, 0xb3, 0x61, |
| 993 | 0xa5, 0x36, 0x8c, 0xaa, 0xc5, 0xfb, 0x91, 0x03, 0x69, 0x50, 0xa3, 0xcc, 0x67, 0x2e, 0x65, 0xee, |
| 994 | 0xc4, 0x62, 0x5c, 0x2d, 0xb5, 0x8a, 0xed, 0xaa, 0x91, 0xf2, 0xa1, 0x6f, 0x92, 0x0a, 0x47, 0x4d, |
| 995 | 0xf3, 0x69, 0x7e, 0xe1, 0x72, 0x05, 0xfe, 0x1a, 0xb6, 0x3d, 0x17, 0x53, 0x16, 0x5e, 0x56, 0x4c, |
| 996 | 0x99, 0x3f, 0x63, 0x13, 0x12, 0x30, 0x2a, 0x6e, 0xc2, 0x46, 0xb7, 0xa0, 0x4a, 0x06, 0xf2, 0xdc, |
| 997 | 0x9e, 0x58, 0xee, 0x2d, 0x57, 0xb5, 0x3f, 0x24, 0xa8, 0xa7, 0x7a, 0x1a, 0x9d, 0x43, 0x33, 0xba, |
| 998 | 0x0b, 0xf9, 0x5a, 0x7e, 0x96, 0x7b, 0x23, 0x32, 0x82, 0x3e, 0x23, 0xeb, 0xce, 0xff, 0x4f, 0xd5, |
| 999 | 0xbf, 0x24, 0x78, 0x96, 0x73, 0xea, 0xc3, 0xa4, 0x2d, 0x3d, 0x5a, 0xda, 0xf7, 0xa0, 0xc4, 0xba, |
| 1000 | 0xae, 0x6a, 0x51, 0xcc, 0x97, 0x27, 0x96, 0x7b, 0x59, 0x07, 0xd9, 0x4a, 0x3b, 0x3e, 0x52, 0xa4, |
| 1001 | 0xdf, 0x25, 0x90, 0x33, 0xd4, 0x99, 0x86, 0x93, 0xb2, 0x0d, 0xb7, 0x96, 0x77, 0xf1, 0xd1, 0x79, |
| 1002 | 0x7f, 0x5c, 0xac, 0xff, 0x94, 0xa0, 0x91, 0xd6, 0x0f, 0xbd, 0x5b, 0x1f, 0x5d, 0x2f, 0x73, 0x24, |
| 1003 | 0xcf, 0xed, 0x6a, 0x04, 0x25, 0x9f, 0x04, 0x1f, 0xc4, 0xa1, 0x55, 0x43, 0x7c, 0xa3, 0x13, 0x40, |
| 1004 | 0xdc, 0xb7, 0xad, 0x00, 0x87, 0xed, 0x94, 0x91, 0x64, 0x6d, 0x26, 0x9a, 0x21, 0xb2, 0xe3, 0x4f, |
| 1005 | 0x17, 0x85, 0xfb, 0xfe, 0x89, 0xa1, 0xf0, 0x8c, 0x0f, 0x61, 0x78, 0x1e, 0x96, 0x8d, 0x12, 0xdb, |
| 1006 | 0x73, 0x59, 0x9a, 0xb6, 0x24, 0x68, 0x77, 0xd7, 0x68, 0x97, 0xf0, 0x34, 0x77, 0x93, 0xe7, 0x2d, |
| 1007 | 0xa0, 0x31, 0x6c, 0x2f, 0x7a, 0x28, 0xc5, 0xfe, 0xf4, 0xc1, 0x41, 0xa3, 0x78, 0x7f, 0x92, 0xd5, |
| 1008 | 0x84, 0x67, 0xfc, 0x9e, 0x07, 0xcc, 0x49, 0x93, 0x96, 0x05, 0xe9, 0x9b, 0x35, 0x52, 0x01, 0x4d, |
| 1009 | 0xb3, 0x6e, 0xf1, 0xac, 0x33, 0x0c, 0x35, 0xf9, 0x5f, 0xb8, 0x64, 0xad, 0x3c, 0x3c, 0xd4, 0xd5, |
| 1010 | 0xbf, 0xe2, 0x92, 0x75, 0x08, 0x5b, 0xc4, 0x67, 0x77, 0xe9, 0x40, 0x37, 0xf2, 0x6f, 0x51, 0xc7, |
| 1011 | 0x67, 0x77, 0x69, 0x46, 0x99, 0xa4, 0x5d, 0xdd, 0x1d, 0x50, 0x93, 0x4c, 0xd8, 0x73, 0x99, 0x77, |
| 1012 | 0x8d, 0x6f, 0x89, 0x3d, 0x67, 0xda, 0x29, 0x28, 0xd9, 0xa0, 0xd0, 0x0b, 0xd8, 0x88, 0x5a, 0xc6, |
| 1013 | 0xa2, 0xf1, 0x78, 0xa8, 0x08, 0xbb, 0x4f, 0xd1, 0xe7, 0x20, 0x5b, 0x1c, 0x3b, 0x84, 0x07, 0x6c, |
| 1014 | 0x86, 0x85, 0x33, 0xea, 0x70, 0xa3, 0x6e, 0xf1, 0xa1, 0xf0, 0x0a, 0x36, 0xad, 0x0f, 0xcd, 0x5c, |
| 1015 | 0xd1, 0xd1, 0x1e, 0x6c, 0x5d, 0xcf, 0x39, 0xa3, 0x8b, 0x81, 0x19, 0xcf, 0xa0, 0x70, 0xc0, 0xcb, |
| 1016 | 0x62, 0x21, 0x1a, 0x53, 0xe1, 0xbb, 0xe6, 0x7d, 0x69, 0xa3, 0xa0, 0x14, 0xb5, 0xbf, 0x25, 0xd8, |
| 1017 | 0x5a, 0x53, 0xe3, 0x31, 0x3c, 0xe8, 0x1c, 0xe4, 0x84, 0xf2, 0xe2, 0x82, 0x17, 0xc4, 0x05, 0x7f, |
| 1018 | 0xfb, 0x9f, 0xaa, 0xaf, 0x3c, 0xe2, 0xce, 0xd7, 0x79, 0xd2, 0xd4, 0x2e, 0xa1, 0x9e, 0x5a, 0x47, |
| 1019 | 0x4d, 0xd8, 0x3a, 0x1d, 0x99, 0x27, 0xfa, 0x61, 0xff, 0xa8, 0xaf, 0xf7, 0xf0, 0x59, 0x67, 0x70, |
| 1020 | 0xaa, 0x2b, 0x4f, 0x10, 0x40, 0xd9, 0xbc, 0x30, 0xc7, 0xfa, 0x50, 0x91, 0x90, 0x0c, 0x9b, 0xd1, |
| 1021 | 0x37, 0x36, 0xc7, 0xa7, 0x5d, 0xa5, 0x10, 0xee, 0x89, 0x1d, 0x87, 0xc7, 0xc3, 0x13, 0x43, 0x37, |
| 1022 | 0x4d, 0xbd, 0xa7, 0x14, 0xb5, 0x9f, 0x41, 0xce, 0x48, 0x8b, 0x7e, 0x0a, 0x75, 0x64, 0x77, 0x98, |
| 1023 | 0x39, 0x57, 0x8c, 0x52, 0x46, 0x45, 0x3a, 0xd1, 0x8b, 0x32, 0x7e, 0xf8, 0xed, 0xe6, 0x75, 0x87, |
| 1024 | 0x1e, 0xc3, 0x3b, 0xfe, 0xf4, 0x50, 0x80, 0x8d, 0x26, 0xc9, 0x73, 0x6b, 0x97, 0xa0, 0x64, 0xdf, |
| 1025 | 0x59, 0x48, 0x85, 0x0a, 0x73, 0xc9, 0x95, 0xcd, 0x68, 0x3c, 0x36, 0x17, 0x26, 0xfa, 0x22, 0xfb, |
| 1026 | 0x7e, 0x4b, 0x8c, 0x9e, 0xd4, 0xeb, 0xec, 0x84, 0x04, 0x1f, 0xf6, 0x7e, 0x84, 0x5a, 0x72, 0x7a, |
| 1027 | 0xa2, 0x17, 0xd0, 0x3c, 0x1d, 0xfd, 0x30, 0x3a, 0x3e, 0x1f, 0xe1, 0x9e, 0x3e, 0xe8, 0x9f, 0xe9, |
| 1028 | 0xc6, 0x05, 0x1e, 0x5f, 0x9c, 0x84, 0xd5, 0x52, 0xa0, 0xd6, 0x1f, 0x99, 0xe3, 0xce, 0x60, 0x80, |
| 1029 | 0xc7, 0xfd, 0xa1, 0xae, 0x48, 0xa8, 0x0e, 0xd5, 0xe3, 0x10, 0x37, 0xec, 0x8c, 0x7a, 0x4a, 0x21, |
| 1030 | 0x2c, 0xe1, 0x51, 0xc7, 0x1c, 0xe3, 0xa3, 0xe3, 0xc1, 0xe0, 0xf8, 0x5c, 0x29, 0x76, 0xf7, 0x00, |
| 1031 | 0x4d, 0x3c, 0x27, 0x93, 0xfb, 0xe5, 0x76, 0x6c, 0xe3, 0xc8, 0xc6, 0xe2, 0x8d, 0x7d, 0x55, 0x16, |
| 1032 | 0x3f, 0x5f, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xb1, 0xe5, 0xcb, 0x87, 0xab, 0x0b, 0x00, 0x00, |
| 1033 | } |