1// 2// Copyright (C) 2024 The Android Open-Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.30.0 19// protoc v3.21.12 20// source: build_flags_src.proto 21 22package release_config_proto 23 24import ( 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 reflect "reflect" 28 sync "sync" 29) 30 31const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36) 37 38type ReleaseConfigType int32 39 40const ( 41 // This is treated as `RELEASE_CONFIG`. 42 ReleaseConfigType_CONFIG_TYPE_UNSPECIFIED ReleaseConfigType = 0 43 // This is a normal release config. This is the only ReleaseConfigType with 44 // implicit inheritance. 45 ReleaseConfigType_RELEASE_CONFIG ReleaseConfigType = 1 46 // Same as RELEASE_CONFIG, except no implicit inheritance happens. 47 // This is the "root" release config. 48 ReleaseConfigType_EXPLICIT_INHERITANCE_CONFIG ReleaseConfigType = 2 49 // This is a release config applied based on the TARGET_BUILD_VARIANT 50 // environment variable, if the build flag RELEASE_BUILD_USE_VARIANT_FLAGS is 51 // enabled. 52 ReleaseConfigType_BUILD_VARIANT ReleaseConfigType = 3 53) 54 55// Enum value maps for ReleaseConfigType. 56var ( 57 ReleaseConfigType_name = map[int32]string{ 58 0: "CONFIG_TYPE_UNSPECIFIED", 59 1: "RELEASE_CONFIG", 60 2: "EXPLICIT_INHERITANCE_CONFIG", 61 3: "BUILD_VARIANT", 62 } 63 ReleaseConfigType_value = map[string]int32{ 64 "CONFIG_TYPE_UNSPECIFIED": 0, 65 "RELEASE_CONFIG": 1, 66 "EXPLICIT_INHERITANCE_CONFIG": 2, 67 "BUILD_VARIANT": 3, 68 } 69) 70 71func (x ReleaseConfigType) Enum() *ReleaseConfigType { 72 p := new(ReleaseConfigType) 73 *p = x 74 return p 75} 76 77func (x ReleaseConfigType) String() string { 78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 79} 80 81func (ReleaseConfigType) Descriptor() protoreflect.EnumDescriptor { 82 return file_build_flags_src_proto_enumTypes[0].Descriptor() 83} 84 85func (ReleaseConfigType) Type() protoreflect.EnumType { 86 return &file_build_flags_src_proto_enumTypes[0] 87} 88 89func (x ReleaseConfigType) Number() protoreflect.EnumNumber { 90 return protoreflect.EnumNumber(x) 91} 92 93// Deprecated: Do not use. 94func (x *ReleaseConfigType) UnmarshalJSON(b []byte) error { 95 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 96 if err != nil { 97 return err 98 } 99 *x = ReleaseConfigType(num) 100 return nil 101} 102 103// Deprecated: Use ReleaseConfigType.Descriptor instead. 104func (ReleaseConfigType) EnumDescriptor() ([]byte, []int) { 105 return file_build_flags_src_proto_rawDescGZIP(), []int{0} 106} 107 108type Value struct { 109 state protoimpl.MessageState 110 sizeCache protoimpl.SizeCache 111 unknownFields protoimpl.UnknownFields 112 113 // Types that are assignable to Val: 114 // 115 // *Value_UnspecifiedValue 116 // *Value_StringValue 117 // *Value_BoolValue 118 // *Value_Obsolete 119 Val isValue_Val `protobuf_oneof:"val"` 120} 121 122func (x *Value) Reset() { 123 *x = Value{} 124 if protoimpl.UnsafeEnabled { 125 mi := &file_build_flags_src_proto_msgTypes[0] 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 ms.StoreMessageInfo(mi) 128 } 129} 130 131func (x *Value) String() string { 132 return protoimpl.X.MessageStringOf(x) 133} 134 135func (*Value) ProtoMessage() {} 136 137func (x *Value) ProtoReflect() protoreflect.Message { 138 mi := &file_build_flags_src_proto_msgTypes[0] 139 if protoimpl.UnsafeEnabled && x != nil { 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 if ms.LoadMessageInfo() == nil { 142 ms.StoreMessageInfo(mi) 143 } 144 return ms 145 } 146 return mi.MessageOf(x) 147} 148 149// Deprecated: Use Value.ProtoReflect.Descriptor instead. 150func (*Value) Descriptor() ([]byte, []int) { 151 return file_build_flags_src_proto_rawDescGZIP(), []int{0} 152} 153 154func (m *Value) GetVal() isValue_Val { 155 if m != nil { 156 return m.Val 157 } 158 return nil 159} 160 161func (x *Value) GetUnspecifiedValue() bool { 162 if x, ok := x.GetVal().(*Value_UnspecifiedValue); ok { 163 return x.UnspecifiedValue 164 } 165 return false 166} 167 168func (x *Value) GetStringValue() string { 169 if x, ok := x.GetVal().(*Value_StringValue); ok { 170 return x.StringValue 171 } 172 return "" 173} 174 175func (x *Value) GetBoolValue() bool { 176 if x, ok := x.GetVal().(*Value_BoolValue); ok { 177 return x.BoolValue 178 } 179 return false 180} 181 182func (x *Value) GetObsolete() bool { 183 if x, ok := x.GetVal().(*Value_Obsolete); ok { 184 return x.Obsolete 185 } 186 return false 187} 188 189type isValue_Val interface { 190 isValue_Val() 191} 192 193type Value_UnspecifiedValue struct { 194 UnspecifiedValue bool `protobuf:"varint,200,opt,name=unspecified_value,json=unspecifiedValue,oneof"` 195} 196 197type Value_StringValue struct { 198 StringValue string `protobuf:"bytes,201,opt,name=string_value,json=stringValue,oneof"` 199} 200 201type Value_BoolValue struct { 202 BoolValue bool `protobuf:"varint,202,opt,name=bool_value,json=boolValue,oneof"` 203} 204 205type Value_Obsolete struct { 206 // If true, the flag is obsolete. Assigning it further will be flagged. 207 Obsolete bool `protobuf:"varint,203,opt,name=obsolete,oneof"` 208} 209 210func (*Value_UnspecifiedValue) isValue_Val() {} 211 212func (*Value_StringValue) isValue_Val() {} 213 214func (*Value_BoolValue) isValue_Val() {} 215 216func (*Value_Obsolete) isValue_Val() {} 217 218// The proto used in the source tree. 219type FlagDeclaration struct { 220 state protoimpl.MessageState 221 sizeCache protoimpl.SizeCache 222 unknownFields protoimpl.UnknownFields 223 224 // The name of the flag. 225 // See # name for format detail 226 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 227 // Namespace the flag belongs to (required) 228 // See # namespace for format detail 229 Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` 230 // Text description of the flag's purpose. 231 Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` 232 // The bug number associated with the flag. 233 Bugs []string `protobuf:"bytes,4,rep,name=bugs" json:"bugs,omitempty"` 234 // Value for the flag 235 Value *Value `protobuf:"bytes,201,opt,name=value" json:"value,omitempty"` 236 // Workflow for this flag. 237 Workflow *Workflow `protobuf:"varint,205,opt,name=workflow,enum=android.release_config_proto.Workflow" json:"workflow,omitempty"` 238 // The container for this flag. This overrides any default container given 239 // in the release_config_map message. 240 Containers []string `protobuf:"bytes,206,rep,name=containers" json:"containers,omitempty"` 241} 242 243func (x *FlagDeclaration) Reset() { 244 *x = FlagDeclaration{} 245 if protoimpl.UnsafeEnabled { 246 mi := &file_build_flags_src_proto_msgTypes[1] 247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 248 ms.StoreMessageInfo(mi) 249 } 250} 251 252func (x *FlagDeclaration) String() string { 253 return protoimpl.X.MessageStringOf(x) 254} 255 256func (*FlagDeclaration) ProtoMessage() {} 257 258func (x *FlagDeclaration) ProtoReflect() protoreflect.Message { 259 mi := &file_build_flags_src_proto_msgTypes[1] 260 if protoimpl.UnsafeEnabled && x != nil { 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 if ms.LoadMessageInfo() == nil { 263 ms.StoreMessageInfo(mi) 264 } 265 return ms 266 } 267 return mi.MessageOf(x) 268} 269 270// Deprecated: Use FlagDeclaration.ProtoReflect.Descriptor instead. 271func (*FlagDeclaration) Descriptor() ([]byte, []int) { 272 return file_build_flags_src_proto_rawDescGZIP(), []int{1} 273} 274 275func (x *FlagDeclaration) GetName() string { 276 if x != nil && x.Name != nil { 277 return *x.Name 278 } 279 return "" 280} 281 282func (x *FlagDeclaration) GetNamespace() string { 283 if x != nil && x.Namespace != nil { 284 return *x.Namespace 285 } 286 return "" 287} 288 289func (x *FlagDeclaration) GetDescription() string { 290 if x != nil && x.Description != nil { 291 return *x.Description 292 } 293 return "" 294} 295 296func (x *FlagDeclaration) GetBugs() []string { 297 if x != nil { 298 return x.Bugs 299 } 300 return nil 301} 302 303func (x *FlagDeclaration) GetValue() *Value { 304 if x != nil { 305 return x.Value 306 } 307 return nil 308} 309 310func (x *FlagDeclaration) GetWorkflow() Workflow { 311 if x != nil && x.Workflow != nil { 312 return *x.Workflow 313 } 314 return Workflow_WORKFLOW_UNSPECIFIED 315} 316 317func (x *FlagDeclaration) GetContainers() []string { 318 if x != nil { 319 return x.Containers 320 } 321 return nil 322} 323 324type FlagValue struct { 325 state protoimpl.MessageState 326 sizeCache protoimpl.SizeCache 327 unknownFields protoimpl.UnknownFields 328 329 // Name of the flag. 330 // See # name for format detail 331 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` 332 // Value for the flag 333 Value *Value `protobuf:"bytes,201,opt,name=value" json:"value,omitempty"` 334 // If true, the flag is completely removed from the release config as if 335 // never declared. 336 Redacted *bool `protobuf:"varint,202,opt,name=redacted" json:"redacted,omitempty"` 337} 338 339func (x *FlagValue) Reset() { 340 *x = FlagValue{} 341 if protoimpl.UnsafeEnabled { 342 mi := &file_build_flags_src_proto_msgTypes[2] 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 ms.StoreMessageInfo(mi) 345 } 346} 347 348func (x *FlagValue) String() string { 349 return protoimpl.X.MessageStringOf(x) 350} 351 352func (*FlagValue) ProtoMessage() {} 353 354func (x *FlagValue) ProtoReflect() protoreflect.Message { 355 mi := &file_build_flags_src_proto_msgTypes[2] 356 if protoimpl.UnsafeEnabled && x != nil { 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 if ms.LoadMessageInfo() == nil { 359 ms.StoreMessageInfo(mi) 360 } 361 return ms 362 } 363 return mi.MessageOf(x) 364} 365 366// Deprecated: Use FlagValue.ProtoReflect.Descriptor instead. 367func (*FlagValue) Descriptor() ([]byte, []int) { 368 return file_build_flags_src_proto_rawDescGZIP(), []int{2} 369} 370 371func (x *FlagValue) GetName() string { 372 if x != nil && x.Name != nil { 373 return *x.Name 374 } 375 return "" 376} 377 378func (x *FlagValue) GetValue() *Value { 379 if x != nil { 380 return x.Value 381 } 382 return nil 383} 384 385func (x *FlagValue) GetRedacted() bool { 386 if x != nil && x.Redacted != nil { 387 return *x.Redacted 388 } 389 return false 390} 391 392// This replaces $(call declare-release-config). 393type ReleaseConfig struct { 394 state protoimpl.MessageState 395 sizeCache protoimpl.SizeCache 396 unknownFields protoimpl.UnknownFields 397 398 // The name of the release config. 399 // See # name for format detail 400 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 401 // From which other release configs does this one inherit? 402 Inherits []string `protobuf:"bytes,2,rep,name=inherits" json:"inherits,omitempty"` 403 // List of names of the aconfig_value_set soong module(s) for this 404 // contribution. 405 AconfigValueSets []string `protobuf:"bytes,3,rep,name=aconfig_value_sets,json=aconfigValueSets" json:"aconfig_value_sets,omitempty"` 406 // Only aconfig flags are allowed in this release config. 407 AconfigFlagsOnly *bool `protobuf:"varint,4,opt,name=aconfig_flags_only,json=aconfigFlagsOnly" json:"aconfig_flags_only,omitempty"` 408 // Prior stage(s) for flag advancement (during development). 409 // Once a flag has met criteria in a prior stage, it can advance to this one. 410 PriorStages []string `protobuf:"bytes,5,rep,name=prior_stages,json=priorStages" json:"prior_stages,omitempty"` 411 // The ReleaseConfigType of this release config. 412 ReleaseConfigType *ReleaseConfigType `protobuf:"varint,6,opt,name=release_config_type,json=releaseConfigType,enum=android.release_config_proto.ReleaseConfigType" json:"release_config_type,omitempty"` 413 // Whether to disallow this release config as TARGET_RELEASE. 414 // If true, this release config can only be inherited, it cannot be used 415 // directly in a build. 416 DisallowLunchUse *bool `protobuf:"varint,7,opt,name=disallow_lunch_use,json=disallowLunchUse" json:"disallow_lunch_use,omitempty"` 417} 418 419func (x *ReleaseConfig) Reset() { 420 *x = ReleaseConfig{} 421 if protoimpl.UnsafeEnabled { 422 mi := &file_build_flags_src_proto_msgTypes[3] 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 424 ms.StoreMessageInfo(mi) 425 } 426} 427 428func (x *ReleaseConfig) String() string { 429 return protoimpl.X.MessageStringOf(x) 430} 431 432func (*ReleaseConfig) ProtoMessage() {} 433 434func (x *ReleaseConfig) ProtoReflect() protoreflect.Message { 435 mi := &file_build_flags_src_proto_msgTypes[3] 436 if protoimpl.UnsafeEnabled && x != nil { 437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 438 if ms.LoadMessageInfo() == nil { 439 ms.StoreMessageInfo(mi) 440 } 441 return ms 442 } 443 return mi.MessageOf(x) 444} 445 446// Deprecated: Use ReleaseConfig.ProtoReflect.Descriptor instead. 447func (*ReleaseConfig) Descriptor() ([]byte, []int) { 448 return file_build_flags_src_proto_rawDescGZIP(), []int{3} 449} 450 451func (x *ReleaseConfig) GetName() string { 452 if x != nil && x.Name != nil { 453 return *x.Name 454 } 455 return "" 456} 457 458func (x *ReleaseConfig) GetInherits() []string { 459 if x != nil { 460 return x.Inherits 461 } 462 return nil 463} 464 465func (x *ReleaseConfig) GetAconfigValueSets() []string { 466 if x != nil { 467 return x.AconfigValueSets 468 } 469 return nil 470} 471 472func (x *ReleaseConfig) GetAconfigFlagsOnly() bool { 473 if x != nil && x.AconfigFlagsOnly != nil { 474 return *x.AconfigFlagsOnly 475 } 476 return false 477} 478 479func (x *ReleaseConfig) GetPriorStages() []string { 480 if x != nil { 481 return x.PriorStages 482 } 483 return nil 484} 485 486func (x *ReleaseConfig) GetReleaseConfigType() ReleaseConfigType { 487 if x != nil && x.ReleaseConfigType != nil { 488 return *x.ReleaseConfigType 489 } 490 return ReleaseConfigType_CONFIG_TYPE_UNSPECIFIED 491} 492 493func (x *ReleaseConfig) GetDisallowLunchUse() bool { 494 if x != nil && x.DisallowLunchUse != nil { 495 return *x.DisallowLunchUse 496 } 497 return false 498} 499 500// Any aliases. These are used for continuous integration builder config. 501type ReleaseAlias struct { 502 state protoimpl.MessageState 503 sizeCache protoimpl.SizeCache 504 unknownFields protoimpl.UnknownFields 505 506 // The name of the alias. 507 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 508 // The release that `name` is an alias for. 509 Target *string `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"` 510} 511 512func (x *ReleaseAlias) Reset() { 513 *x = ReleaseAlias{} 514 if protoimpl.UnsafeEnabled { 515 mi := &file_build_flags_src_proto_msgTypes[4] 516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 517 ms.StoreMessageInfo(mi) 518 } 519} 520 521func (x *ReleaseAlias) String() string { 522 return protoimpl.X.MessageStringOf(x) 523} 524 525func (*ReleaseAlias) ProtoMessage() {} 526 527func (x *ReleaseAlias) ProtoReflect() protoreflect.Message { 528 mi := &file_build_flags_src_proto_msgTypes[4] 529 if protoimpl.UnsafeEnabled && x != nil { 530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 531 if ms.LoadMessageInfo() == nil { 532 ms.StoreMessageInfo(mi) 533 } 534 return ms 535 } 536 return mi.MessageOf(x) 537} 538 539// Deprecated: Use ReleaseAlias.ProtoReflect.Descriptor instead. 540func (*ReleaseAlias) Descriptor() ([]byte, []int) { 541 return file_build_flags_src_proto_rawDescGZIP(), []int{4} 542} 543 544func (x *ReleaseAlias) GetName() string { 545 if x != nil && x.Name != nil { 546 return *x.Name 547 } 548 return "" 549} 550 551func (x *ReleaseAlias) GetTarget() string { 552 if x != nil && x.Target != nil { 553 return *x.Target 554 } 555 return "" 556} 557 558// This provides the data from release_config_map.mk 559type ReleaseConfigMap struct { 560 state protoimpl.MessageState 561 sizeCache protoimpl.SizeCache 562 unknownFields protoimpl.UnknownFields 563 564 // Any aliases. 565 Aliases []*ReleaseAlias `protobuf:"bytes,1,rep,name=aliases" json:"aliases,omitempty"` 566 // Description of this map and its intended use. 567 Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` 568 // The default container for flags declared here. 569 DefaultContainers []string `protobuf:"bytes,3,rep,name=default_containers,json=defaultContainers" json:"default_containers,omitempty"` 570} 571 572func (x *ReleaseConfigMap) Reset() { 573 *x = ReleaseConfigMap{} 574 if protoimpl.UnsafeEnabled { 575 mi := &file_build_flags_src_proto_msgTypes[5] 576 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 577 ms.StoreMessageInfo(mi) 578 } 579} 580 581func (x *ReleaseConfigMap) String() string { 582 return protoimpl.X.MessageStringOf(x) 583} 584 585func (*ReleaseConfigMap) ProtoMessage() {} 586 587func (x *ReleaseConfigMap) ProtoReflect() protoreflect.Message { 588 mi := &file_build_flags_src_proto_msgTypes[5] 589 if protoimpl.UnsafeEnabled && x != nil { 590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 591 if ms.LoadMessageInfo() == nil { 592 ms.StoreMessageInfo(mi) 593 } 594 return ms 595 } 596 return mi.MessageOf(x) 597} 598 599// Deprecated: Use ReleaseConfigMap.ProtoReflect.Descriptor instead. 600func (*ReleaseConfigMap) Descriptor() ([]byte, []int) { 601 return file_build_flags_src_proto_rawDescGZIP(), []int{5} 602} 603 604func (x *ReleaseConfigMap) GetAliases() []*ReleaseAlias { 605 if x != nil { 606 return x.Aliases 607 } 608 return nil 609} 610 611func (x *ReleaseConfigMap) GetDescription() string { 612 if x != nil && x.Description != nil { 613 return *x.Description 614 } 615 return "" 616} 617 618func (x *ReleaseConfigMap) GetDefaultContainers() []string { 619 if x != nil { 620 return x.DefaultContainers 621 } 622 return nil 623} 624 625var File_build_flags_src_proto protoreflect.FileDescriptor 626 627var file_build_flags_src_proto_rawDesc = []byte{ 628 0x0a, 0x15, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x73, 0x72, 629 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 630 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 631 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 632 0x67, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 633 0xa5, 0x01, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x11, 0x75, 0x6e, 0x73, 634 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc8, 635 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x10, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 636 0x66, 0x69, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x74, 0x72, 637 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28, 0x09, 638 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 639 0x20, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xca, 0x01, 640 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 641 0x65, 0x12, 0x1d, 0x0a, 0x08, 0x6f, 0x62, 0x73, 0x6f, 0x6c, 0x65, 0x74, 0x65, 0x18, 0xcb, 0x01, 642 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x62, 0x73, 0x6f, 0x6c, 0x65, 0x74, 0x65, 643 0x42, 0x05, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x22, 0xa3, 0x02, 0x0a, 0x0f, 0x46, 0x6c, 0x61, 0x67, 644 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 645 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 646 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 647 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 648 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 649 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 650 0x12, 0x0a, 0x04, 0x62, 0x75, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x62, 651 0x75, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc9, 0x01, 0x20, 652 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 653 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 654 0x74, 0x6f, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 655 0x43, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0xcd, 0x01, 0x20, 0x01, 656 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 657 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 658 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 659 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1f, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 660 0x72, 0x73, 0x18, 0xce, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 661 0x69, 0x6e, 0x65, 0x72, 0x73, 0x4a, 0x06, 0x08, 0xcf, 0x01, 0x10, 0xd0, 0x01, 0x22, 0x78, 0x0a, 662 0x09, 0x46, 0x6c, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 663 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 664 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 665 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 666 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x61, 667 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x72, 0x65, 668 0x64, 0x61, 0x63, 0x74, 0x65, 0x64, 0x18, 0xca, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 669 0x65, 0x64, 0x61, 0x63, 0x74, 0x65, 0x64, 0x22, 0xcd, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x65, 670 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 671 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 672 0x08, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 673 0x08, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x6f, 674 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x73, 0x18, 675 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 676 0x6c, 0x75, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x6f, 0x6e, 0x66, 677 0x69, 0x67, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 678 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x6c, 0x61, 0x67, 679 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x5f, 0x73, 680 0x74, 0x61, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 681 0x6f, 0x72, 0x53, 0x74, 0x61, 0x67, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x13, 0x72, 0x65, 0x6c, 0x65, 682 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 683 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 684 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 685 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 686 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 687 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x69, 0x73, 688 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6c, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x73, 0x65, 0x18, 689 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 690 0x75, 0x6e, 0x63, 0x68, 0x55, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x0c, 0x52, 0x65, 0x6c, 0x65, 0x61, 691 0x73, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 692 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 693 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 694 0x67, 0x65, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 695 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x12, 0x44, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 696 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x61, 0x6e, 0x64, 0x72, 697 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 698 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 699 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x20, 700 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 701 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 702 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 703 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 704 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2a, 705 0x78, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 706 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x54, 707 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 708 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x4c, 0x45, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 709 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49, 710 0x54, 0x5f, 0x49, 0x4e, 0x48, 0x45, 0x52, 0x49, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x43, 0x4f, 711 0x4e, 0x46, 0x49, 0x47, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 712 0x56, 0x41, 0x52, 0x49, 0x41, 0x4e, 0x54, 0x10, 0x03, 0x42, 0x33, 0x5a, 0x31, 0x61, 0x6e, 0x64, 713 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 714 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 715 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 716} 717 718var ( 719 file_build_flags_src_proto_rawDescOnce sync.Once 720 file_build_flags_src_proto_rawDescData = file_build_flags_src_proto_rawDesc 721) 722 723func file_build_flags_src_proto_rawDescGZIP() []byte { 724 file_build_flags_src_proto_rawDescOnce.Do(func() { 725 file_build_flags_src_proto_rawDescData = protoimpl.X.CompressGZIP(file_build_flags_src_proto_rawDescData) 726 }) 727 return file_build_flags_src_proto_rawDescData 728} 729 730var file_build_flags_src_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 731var file_build_flags_src_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 732var file_build_flags_src_proto_goTypes = []interface{}{ 733 (ReleaseConfigType)(0), // 0: android.release_config_proto.ReleaseConfigType 734 (*Value)(nil), // 1: android.release_config_proto.Value 735 (*FlagDeclaration)(nil), // 2: android.release_config_proto.FlagDeclaration 736 (*FlagValue)(nil), // 3: android.release_config_proto.FlagValue 737 (*ReleaseConfig)(nil), // 4: android.release_config_proto.ReleaseConfig 738 (*ReleaseAlias)(nil), // 5: android.release_config_proto.ReleaseAlias 739 (*ReleaseConfigMap)(nil), // 6: android.release_config_proto.ReleaseConfigMap 740 (Workflow)(0), // 7: android.release_config_proto.Workflow 741} 742var file_build_flags_src_proto_depIdxs = []int32{ 743 1, // 0: android.release_config_proto.FlagDeclaration.value:type_name -> android.release_config_proto.Value 744 7, // 1: android.release_config_proto.FlagDeclaration.workflow:type_name -> android.release_config_proto.Workflow 745 1, // 2: android.release_config_proto.FlagValue.value:type_name -> android.release_config_proto.Value 746 0, // 3: android.release_config_proto.ReleaseConfig.release_config_type:type_name -> android.release_config_proto.ReleaseConfigType 747 5, // 4: android.release_config_proto.ReleaseConfigMap.aliases:type_name -> android.release_config_proto.ReleaseAlias 748 5, // [5:5] is the sub-list for method output_type 749 5, // [5:5] is the sub-list for method input_type 750 5, // [5:5] is the sub-list for extension type_name 751 5, // [5:5] is the sub-list for extension extendee 752 0, // [0:5] is the sub-list for field type_name 753} 754 755func init() { file_build_flags_src_proto_init() } 756func file_build_flags_src_proto_init() { 757 if File_build_flags_src_proto != nil { 758 return 759 } 760 file_build_flags_common_proto_init() 761 if !protoimpl.UnsafeEnabled { 762 file_build_flags_src_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 763 switch v := v.(*Value); i { 764 case 0: 765 return &v.state 766 case 1: 767 return &v.sizeCache 768 case 2: 769 return &v.unknownFields 770 default: 771 return nil 772 } 773 } 774 file_build_flags_src_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 775 switch v := v.(*FlagDeclaration); i { 776 case 0: 777 return &v.state 778 case 1: 779 return &v.sizeCache 780 case 2: 781 return &v.unknownFields 782 default: 783 return nil 784 } 785 } 786 file_build_flags_src_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 787 switch v := v.(*FlagValue); i { 788 case 0: 789 return &v.state 790 case 1: 791 return &v.sizeCache 792 case 2: 793 return &v.unknownFields 794 default: 795 return nil 796 } 797 } 798 file_build_flags_src_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 799 switch v := v.(*ReleaseConfig); i { 800 case 0: 801 return &v.state 802 case 1: 803 return &v.sizeCache 804 case 2: 805 return &v.unknownFields 806 default: 807 return nil 808 } 809 } 810 file_build_flags_src_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 811 switch v := v.(*ReleaseAlias); i { 812 case 0: 813 return &v.state 814 case 1: 815 return &v.sizeCache 816 case 2: 817 return &v.unknownFields 818 default: 819 return nil 820 } 821 } 822 file_build_flags_src_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 823 switch v := v.(*ReleaseConfigMap); i { 824 case 0: 825 return &v.state 826 case 1: 827 return &v.sizeCache 828 case 2: 829 return &v.unknownFields 830 default: 831 return nil 832 } 833 } 834 } 835 file_build_flags_src_proto_msgTypes[0].OneofWrappers = []interface{}{ 836 (*Value_UnspecifiedValue)(nil), 837 (*Value_StringValue)(nil), 838 (*Value_BoolValue)(nil), 839 (*Value_Obsolete)(nil), 840 } 841 type x struct{} 842 out := protoimpl.TypeBuilder{ 843 File: protoimpl.DescBuilder{ 844 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 845 RawDescriptor: file_build_flags_src_proto_rawDesc, 846 NumEnums: 1, 847 NumMessages: 6, 848 NumExtensions: 0, 849 NumServices: 0, 850 }, 851 GoTypes: file_build_flags_src_proto_goTypes, 852 DependencyIndexes: file_build_flags_src_proto_depIdxs, 853 EnumInfos: file_build_flags_src_proto_enumTypes, 854 MessageInfos: file_build_flags_src_proto_msgTypes, 855 }.Build() 856 File_build_flags_src_proto = out.File 857 file_build_flags_src_proto_rawDesc = nil 858 file_build_flags_src_proto_goTypes = nil 859 file_build_flags_src_proto_depIdxs = nil 860} 861