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_common.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 Workflow int32 39 40const ( 41 Workflow_Workflow_Unspecified Workflow = 0 42 // Boolean value flags that progress from false to true. 43 Workflow_LAUNCH Workflow = 1 44 // String value flags that get updated with new version strings to control 45 // prebuilt inclusion. 46 Workflow_PREBUILT Workflow = 2 47 // Manually managed outside flags. These are likely to be found in a 48 // different directory than flags with other workflows. 49 Workflow_MANUAL Workflow = 3 50) 51 52// Enum value maps for Workflow. 53var ( 54 Workflow_name = map[int32]string{ 55 0: "Workflow_Unspecified", 56 1: "LAUNCH", 57 2: "PREBUILT", 58 3: "MANUAL", 59 } 60 Workflow_value = map[string]int32{ 61 "Workflow_Unspecified": 0, 62 "LAUNCH": 1, 63 "PREBUILT": 2, 64 "MANUAL": 3, 65 } 66) 67 68func (x Workflow) Enum() *Workflow { 69 p := new(Workflow) 70 *p = x 71 return p 72} 73 74func (x Workflow) String() string { 75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 76} 77 78func (Workflow) Descriptor() protoreflect.EnumDescriptor { 79 return file_build_flags_common_proto_enumTypes[0].Descriptor() 80} 81 82func (Workflow) Type() protoreflect.EnumType { 83 return &file_build_flags_common_proto_enumTypes[0] 84} 85 86func (x Workflow) Number() protoreflect.EnumNumber { 87 return protoreflect.EnumNumber(x) 88} 89 90// Deprecated: Do not use. 91func (x *Workflow) UnmarshalJSON(b []byte) error { 92 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 93 if err != nil { 94 return err 95 } 96 *x = Workflow(num) 97 return nil 98} 99 100// Deprecated: Use Workflow.Descriptor instead. 101func (Workflow) EnumDescriptor() ([]byte, []int) { 102 return file_build_flags_common_proto_rawDescGZIP(), []int{0} 103} 104 105var File_build_flags_common_proto protoreflect.FileDescriptor 106 107var file_build_flags_common_proto_rawDesc = []byte{ 108 0x0a, 0x18, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x63, 0x6f, 109 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x61, 0x6e, 0x64, 0x72, 110 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 111 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x4a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 112 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 113 0x5f, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0a, 114 0x0a, 0x06, 0x4c, 0x41, 0x55, 0x4e, 0x43, 0x48, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 115 0x45, 0x42, 0x55, 0x49, 0x4c, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x4e, 0x55, 116 0x41, 0x4c, 0x10, 0x03, 0x42, 0x33, 0x5a, 0x31, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 117 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 118 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 119 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 120} 121 122var ( 123 file_build_flags_common_proto_rawDescOnce sync.Once 124 file_build_flags_common_proto_rawDescData = file_build_flags_common_proto_rawDesc 125) 126 127func file_build_flags_common_proto_rawDescGZIP() []byte { 128 file_build_flags_common_proto_rawDescOnce.Do(func() { 129 file_build_flags_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_build_flags_common_proto_rawDescData) 130 }) 131 return file_build_flags_common_proto_rawDescData 132} 133 134var file_build_flags_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 135var file_build_flags_common_proto_goTypes = []interface{}{ 136 (Workflow)(0), // 0: android.release_config_proto.workflow 137} 138var file_build_flags_common_proto_depIdxs = []int32{ 139 0, // [0:0] is the sub-list for method output_type 140 0, // [0:0] is the sub-list for method input_type 141 0, // [0:0] is the sub-list for extension type_name 142 0, // [0:0] is the sub-list for extension extendee 143 0, // [0:0] is the sub-list for field type_name 144} 145 146func init() { file_build_flags_common_proto_init() } 147func file_build_flags_common_proto_init() { 148 if File_build_flags_common_proto != nil { 149 return 150 } 151 type x struct{} 152 out := protoimpl.TypeBuilder{ 153 File: protoimpl.DescBuilder{ 154 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 155 RawDescriptor: file_build_flags_common_proto_rawDesc, 156 NumEnums: 1, 157 NumMessages: 0, 158 NumExtensions: 0, 159 NumServices: 0, 160 }, 161 GoTypes: file_build_flags_common_proto_goTypes, 162 DependencyIndexes: file_build_flags_common_proto_depIdxs, 163 EnumInfos: file_build_flags_common_proto_enumTypes, 164 }.Build() 165 File_build_flags_common_proto = out.File 166 file_build_flags_common_proto_rawDesc = nil 167 file_build_flags_common_proto_goTypes = nil 168 file_build_flags_common_proto_depIdxs = nil 169} 170