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.33.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} 414 415func (x *ReleaseConfig) Reset() { 416 *x = ReleaseConfig{} 417 if protoimpl.UnsafeEnabled { 418 mi := &file_build_flags_src_proto_msgTypes[3] 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 420 ms.StoreMessageInfo(mi) 421 } 422} 423 424func (x *ReleaseConfig) String() string { 425 return protoimpl.X.MessageStringOf(x) 426} 427 428func (*ReleaseConfig) ProtoMessage() {} 429 430func (x *ReleaseConfig) ProtoReflect() protoreflect.Message { 431 mi := &file_build_flags_src_proto_msgTypes[3] 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 ReleaseConfig.ProtoReflect.Descriptor instead. 443func (*ReleaseConfig) Descriptor() ([]byte, []int) { 444 return file_build_flags_src_proto_rawDescGZIP(), []int{3} 445} 446 447func (x *ReleaseConfig) GetName() string { 448 if x != nil && x.Name != nil { 449 return *x.Name 450 } 451 return "" 452} 453 454func (x *ReleaseConfig) GetInherits() []string { 455 if x != nil { 456 return x.Inherits 457 } 458 return nil 459} 460 461func (x *ReleaseConfig) GetAconfigValueSets() []string { 462 if x != nil { 463 return x.AconfigValueSets 464 } 465 return nil 466} 467 468func (x *ReleaseConfig) GetAconfigFlagsOnly() bool { 469 if x != nil && x.AconfigFlagsOnly != nil { 470 return *x.AconfigFlagsOnly 471 } 472 return false 473} 474 475func (x *ReleaseConfig) GetPriorStages() []string { 476 if x != nil { 477 return x.PriorStages 478 } 479 return nil 480} 481 482func (x *ReleaseConfig) GetReleaseConfigType() ReleaseConfigType { 483 if x != nil && x.ReleaseConfigType != nil { 484 return *x.ReleaseConfigType 485 } 486 return ReleaseConfigType_CONFIG_TYPE_UNSPECIFIED 487} 488 489// Any aliases. These are used for continuous integration builder config. 490type ReleaseAlias struct { 491 state protoimpl.MessageState 492 sizeCache protoimpl.SizeCache 493 unknownFields protoimpl.UnknownFields 494 495 // The name of the alias. 496 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 497 // The release that `name` is an alias for. 498 Target *string `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"` 499} 500 501func (x *ReleaseAlias) Reset() { 502 *x = ReleaseAlias{} 503 if protoimpl.UnsafeEnabled { 504 mi := &file_build_flags_src_proto_msgTypes[4] 505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 506 ms.StoreMessageInfo(mi) 507 } 508} 509 510func (x *ReleaseAlias) String() string { 511 return protoimpl.X.MessageStringOf(x) 512} 513 514func (*ReleaseAlias) ProtoMessage() {} 515 516func (x *ReleaseAlias) ProtoReflect() protoreflect.Message { 517 mi := &file_build_flags_src_proto_msgTypes[4] 518 if protoimpl.UnsafeEnabled && x != nil { 519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 520 if ms.LoadMessageInfo() == nil { 521 ms.StoreMessageInfo(mi) 522 } 523 return ms 524 } 525 return mi.MessageOf(x) 526} 527 528// Deprecated: Use ReleaseAlias.ProtoReflect.Descriptor instead. 529func (*ReleaseAlias) Descriptor() ([]byte, []int) { 530 return file_build_flags_src_proto_rawDescGZIP(), []int{4} 531} 532 533func (x *ReleaseAlias) GetName() string { 534 if x != nil && x.Name != nil { 535 return *x.Name 536 } 537 return "" 538} 539 540func (x *ReleaseAlias) GetTarget() string { 541 if x != nil && x.Target != nil { 542 return *x.Target 543 } 544 return "" 545} 546 547// This provides the data from release_config_map.mk 548type ReleaseConfigMap struct { 549 state protoimpl.MessageState 550 sizeCache protoimpl.SizeCache 551 unknownFields protoimpl.UnknownFields 552 553 // Any aliases. 554 Aliases []*ReleaseAlias `protobuf:"bytes,1,rep,name=aliases" json:"aliases,omitempty"` 555 // Description of this map and its intended use. 556 Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` 557 // The default container for flags declared here. 558 DefaultContainers []string `protobuf:"bytes,3,rep,name=default_containers,json=defaultContainers" json:"default_containers,omitempty"` 559} 560 561func (x *ReleaseConfigMap) Reset() { 562 *x = ReleaseConfigMap{} 563 if protoimpl.UnsafeEnabled { 564 mi := &file_build_flags_src_proto_msgTypes[5] 565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 566 ms.StoreMessageInfo(mi) 567 } 568} 569 570func (x *ReleaseConfigMap) String() string { 571 return protoimpl.X.MessageStringOf(x) 572} 573 574func (*ReleaseConfigMap) ProtoMessage() {} 575 576func (x *ReleaseConfigMap) ProtoReflect() protoreflect.Message { 577 mi := &file_build_flags_src_proto_msgTypes[5] 578 if protoimpl.UnsafeEnabled && x != nil { 579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 580 if ms.LoadMessageInfo() == nil { 581 ms.StoreMessageInfo(mi) 582 } 583 return ms 584 } 585 return mi.MessageOf(x) 586} 587 588// Deprecated: Use ReleaseConfigMap.ProtoReflect.Descriptor instead. 589func (*ReleaseConfigMap) Descriptor() ([]byte, []int) { 590 return file_build_flags_src_proto_rawDescGZIP(), []int{5} 591} 592 593func (x *ReleaseConfigMap) GetAliases() []*ReleaseAlias { 594 if x != nil { 595 return x.Aliases 596 } 597 return nil 598} 599 600func (x *ReleaseConfigMap) GetDescription() string { 601 if x != nil && x.Description != nil { 602 return *x.Description 603 } 604 return "" 605} 606 607func (x *ReleaseConfigMap) GetDefaultContainers() []string { 608 if x != nil { 609 return x.DefaultContainers 610 } 611 return nil 612} 613 614var File_build_flags_src_proto protoreflect.FileDescriptor 615 616var file_build_flags_src_proto_rawDesc = []byte{ 617 0x0a, 0x15, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x73, 0x72, 618 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 619 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 620 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 621 0x67, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 622 0xa5, 0x01, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x11, 0x75, 0x6e, 0x73, 623 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc8, 624 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x10, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 625 0x66, 0x69, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x74, 0x72, 626 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28, 0x09, 627 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 628 0x20, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xca, 0x01, 629 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 630 0x65, 0x12, 0x1d, 0x0a, 0x08, 0x6f, 0x62, 0x73, 0x6f, 0x6c, 0x65, 0x74, 0x65, 0x18, 0xcb, 0x01, 631 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x62, 0x73, 0x6f, 0x6c, 0x65, 0x74, 0x65, 632 0x42, 0x05, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x22, 0xa3, 0x02, 0x0a, 0x0f, 0x46, 0x6c, 0x61, 0x67, 633 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 634 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 635 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 636 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 637 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 638 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 639 0x12, 0x0a, 0x04, 0x62, 0x75, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x62, 640 0x75, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc9, 0x01, 0x20, 641 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 642 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 643 0x74, 0x6f, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 644 0x43, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0xcd, 0x01, 0x20, 0x01, 645 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 646 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 647 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 648 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1f, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 649 0x72, 0x73, 0x18, 0xce, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 650 0x69, 0x6e, 0x65, 0x72, 0x73, 0x4a, 0x06, 0x08, 0xcf, 0x01, 0x10, 0xd0, 0x01, 0x22, 0x78, 0x0a, 651 0x09, 0x46, 0x6c, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 652 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 653 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 654 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 655 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x56, 0x61, 656 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x72, 0x65, 657 0x64, 0x61, 0x63, 0x74, 0x65, 0x64, 0x18, 0xca, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 658 0x65, 0x64, 0x61, 0x63, 0x74, 0x65, 0x64, 0x22, 0x9f, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x65, 659 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 660 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 661 0x08, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 662 0x08, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x6f, 663 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x73, 0x18, 664 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 665 0x6c, 0x75, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x6f, 0x6e, 0x66, 666 0x69, 0x67, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 667 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x6c, 0x61, 0x67, 668 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x5f, 0x73, 669 0x74, 0x61, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 670 0x6f, 0x72, 0x53, 0x74, 0x61, 0x67, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x13, 0x72, 0x65, 0x6c, 0x65, 671 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 672 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 673 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 674 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 675 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 676 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x0a, 0x0c, 0x52, 0x65, 0x6c, 677 0x65, 0x61, 0x73, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 678 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 679 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 680 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 681 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x12, 0x44, 0x0a, 0x07, 0x61, 0x6c, 682 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x61, 0x6e, 683 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 684 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 685 0x73, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 686 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 687 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 688 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 689 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 690 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 691 0x73, 0x2a, 0x78, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 692 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 693 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 694 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x4c, 0x45, 0x41, 0x53, 0x45, 0x5f, 0x43, 695 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x58, 0x50, 0x4c, 0x49, 696 0x43, 0x49, 0x54, 0x5f, 0x49, 0x4e, 0x48, 0x45, 0x52, 0x49, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 697 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x55, 0x49, 0x4c, 698 0x44, 0x5f, 0x56, 0x41, 0x52, 0x49, 0x41, 0x4e, 0x54, 0x10, 0x03, 0x42, 0x33, 0x5a, 0x31, 0x61, 699 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x6c, 700 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65, 701 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 702} 703 704var ( 705 file_build_flags_src_proto_rawDescOnce sync.Once 706 file_build_flags_src_proto_rawDescData = file_build_flags_src_proto_rawDesc 707) 708 709func file_build_flags_src_proto_rawDescGZIP() []byte { 710 file_build_flags_src_proto_rawDescOnce.Do(func() { 711 file_build_flags_src_proto_rawDescData = protoimpl.X.CompressGZIP(file_build_flags_src_proto_rawDescData) 712 }) 713 return file_build_flags_src_proto_rawDescData 714} 715 716var file_build_flags_src_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 717var file_build_flags_src_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 718var file_build_flags_src_proto_goTypes = []interface{}{ 719 (ReleaseConfigType)(0), // 0: android.release_config_proto.ReleaseConfigType 720 (*Value)(nil), // 1: android.release_config_proto.Value 721 (*FlagDeclaration)(nil), // 2: android.release_config_proto.FlagDeclaration 722 (*FlagValue)(nil), // 3: android.release_config_proto.FlagValue 723 (*ReleaseConfig)(nil), // 4: android.release_config_proto.ReleaseConfig 724 (*ReleaseAlias)(nil), // 5: android.release_config_proto.ReleaseAlias 725 (*ReleaseConfigMap)(nil), // 6: android.release_config_proto.ReleaseConfigMap 726 (Workflow)(0), // 7: android.release_config_proto.Workflow 727} 728var file_build_flags_src_proto_depIdxs = []int32{ 729 1, // 0: android.release_config_proto.FlagDeclaration.value:type_name -> android.release_config_proto.Value 730 7, // 1: android.release_config_proto.FlagDeclaration.workflow:type_name -> android.release_config_proto.Workflow 731 1, // 2: android.release_config_proto.FlagValue.value:type_name -> android.release_config_proto.Value 732 0, // 3: android.release_config_proto.ReleaseConfig.release_config_type:type_name -> android.release_config_proto.ReleaseConfigType 733 5, // 4: android.release_config_proto.ReleaseConfigMap.aliases:type_name -> android.release_config_proto.ReleaseAlias 734 5, // [5:5] is the sub-list for method output_type 735 5, // [5:5] is the sub-list for method input_type 736 5, // [5:5] is the sub-list for extension type_name 737 5, // [5:5] is the sub-list for extension extendee 738 0, // [0:5] is the sub-list for field type_name 739} 740 741func init() { file_build_flags_src_proto_init() } 742func file_build_flags_src_proto_init() { 743 if File_build_flags_src_proto != nil { 744 return 745 } 746 file_build_flags_common_proto_init() 747 if !protoimpl.UnsafeEnabled { 748 file_build_flags_src_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 749 switch v := v.(*Value); i { 750 case 0: 751 return &v.state 752 case 1: 753 return &v.sizeCache 754 case 2: 755 return &v.unknownFields 756 default: 757 return nil 758 } 759 } 760 file_build_flags_src_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 761 switch v := v.(*FlagDeclaration); i { 762 case 0: 763 return &v.state 764 case 1: 765 return &v.sizeCache 766 case 2: 767 return &v.unknownFields 768 default: 769 return nil 770 } 771 } 772 file_build_flags_src_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 773 switch v := v.(*FlagValue); i { 774 case 0: 775 return &v.state 776 case 1: 777 return &v.sizeCache 778 case 2: 779 return &v.unknownFields 780 default: 781 return nil 782 } 783 } 784 file_build_flags_src_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 785 switch v := v.(*ReleaseConfig); i { 786 case 0: 787 return &v.state 788 case 1: 789 return &v.sizeCache 790 case 2: 791 return &v.unknownFields 792 default: 793 return nil 794 } 795 } 796 file_build_flags_src_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 797 switch v := v.(*ReleaseAlias); i { 798 case 0: 799 return &v.state 800 case 1: 801 return &v.sizeCache 802 case 2: 803 return &v.unknownFields 804 default: 805 return nil 806 } 807 } 808 file_build_flags_src_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 809 switch v := v.(*ReleaseConfigMap); i { 810 case 0: 811 return &v.state 812 case 1: 813 return &v.sizeCache 814 case 2: 815 return &v.unknownFields 816 default: 817 return nil 818 } 819 } 820 } 821 file_build_flags_src_proto_msgTypes[0].OneofWrappers = []interface{}{ 822 (*Value_UnspecifiedValue)(nil), 823 (*Value_StringValue)(nil), 824 (*Value_BoolValue)(nil), 825 (*Value_Obsolete)(nil), 826 } 827 type x struct{} 828 out := protoimpl.TypeBuilder{ 829 File: protoimpl.DescBuilder{ 830 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 831 RawDescriptor: file_build_flags_src_proto_rawDesc, 832 NumEnums: 1, 833 NumMessages: 6, 834 NumExtensions: 0, 835 NumServices: 0, 836 }, 837 GoTypes: file_build_flags_src_proto_goTypes, 838 DependencyIndexes: file_build_flags_src_proto_depIdxs, 839 EnumInfos: file_build_flags_src_proto_enumTypes, 840 MessageInfos: file_build_flags_src_proto_msgTypes, 841 }.Build() 842 File_build_flags_src_proto = out.File 843 file_build_flags_src_proto_rawDesc = nil 844 file_build_flags_src_proto_goTypes = nil 845 file_build_flags_src_proto_depIdxs = nil 846} 847