xref: /aosp_15_r20/build/soong/cmd/release_config/release_config_proto/build_flags_declarations.pb.go (revision 333d2b3687b3a337dbcca9d65000bca186795e39)
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_declarations.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 FlagDeclarationArtifact struct {
39	state         protoimpl.MessageState
40	sizeCache     protoimpl.SizeCache
41	unknownFields protoimpl.UnknownFields
42
43	// The name of the flag.
44	// See # name for format detail
45	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
46	// Namespace the flag belongs to (required)
47	// See # namespace for format detail
48	Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
49	// Text description of the flag's purpose.
50	Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
51	// The bug number associated with the flag.
52	Bugs []string `protobuf:"bytes,4,rep,name=bugs" json:"bugs,omitempty"`
53	// Where the flag was declared.
54	DeclarationPath *string `protobuf:"bytes,5,opt,name=declaration_path,json=declarationPath" json:"declaration_path,omitempty"`
55	// Workflow for this flag.
56	Workflow *Workflow `protobuf:"varint,205,opt,name=workflow,enum=android.release_config_proto.Workflow" json:"workflow,omitempty"`
57	// The container for this flag.  This overrides any default container given
58	// in the release_config_map message.
59	Containers []string `protobuf:"bytes,206,rep,name=containers" json:"containers,omitempty"`
60}
61
62func (x *FlagDeclarationArtifact) Reset() {
63	*x = FlagDeclarationArtifact{}
64	if protoimpl.UnsafeEnabled {
65		mi := &file_build_flags_declarations_proto_msgTypes[0]
66		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67		ms.StoreMessageInfo(mi)
68	}
69}
70
71func (x *FlagDeclarationArtifact) String() string {
72	return protoimpl.X.MessageStringOf(x)
73}
74
75func (*FlagDeclarationArtifact) ProtoMessage() {}
76
77func (x *FlagDeclarationArtifact) ProtoReflect() protoreflect.Message {
78	mi := &file_build_flags_declarations_proto_msgTypes[0]
79	if protoimpl.UnsafeEnabled && x != nil {
80		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81		if ms.LoadMessageInfo() == nil {
82			ms.StoreMessageInfo(mi)
83		}
84		return ms
85	}
86	return mi.MessageOf(x)
87}
88
89// Deprecated: Use FlagDeclarationArtifact.ProtoReflect.Descriptor instead.
90func (*FlagDeclarationArtifact) Descriptor() ([]byte, []int) {
91	return file_build_flags_declarations_proto_rawDescGZIP(), []int{0}
92}
93
94func (x *FlagDeclarationArtifact) GetName() string {
95	if x != nil && x.Name != nil {
96		return *x.Name
97	}
98	return ""
99}
100
101func (x *FlagDeclarationArtifact) GetNamespace() string {
102	if x != nil && x.Namespace != nil {
103		return *x.Namespace
104	}
105	return ""
106}
107
108func (x *FlagDeclarationArtifact) GetDescription() string {
109	if x != nil && x.Description != nil {
110		return *x.Description
111	}
112	return ""
113}
114
115func (x *FlagDeclarationArtifact) GetBugs() []string {
116	if x != nil {
117		return x.Bugs
118	}
119	return nil
120}
121
122func (x *FlagDeclarationArtifact) GetDeclarationPath() string {
123	if x != nil && x.DeclarationPath != nil {
124		return *x.DeclarationPath
125	}
126	return ""
127}
128
129func (x *FlagDeclarationArtifact) GetWorkflow() Workflow {
130	if x != nil && x.Workflow != nil {
131		return *x.Workflow
132	}
133	return Workflow_WORKFLOW_UNSPECIFIED
134}
135
136func (x *FlagDeclarationArtifact) GetContainers() []string {
137	if x != nil {
138		return x.Containers
139	}
140	return nil
141}
142
143type FlagDeclarationArtifacts struct {
144	state         protoimpl.MessageState
145	sizeCache     protoimpl.SizeCache
146	unknownFields protoimpl.UnknownFields
147
148	// The artifacts
149	FlagDeclarationArtifactList []*FlagDeclarationArtifact `protobuf:"bytes,1,rep,name=flag_declaration_artifact_list,json=flagDeclarationArtifactList" json:"flag_declaration_artifact_list,omitempty"`
150}
151
152func (x *FlagDeclarationArtifacts) Reset() {
153	*x = FlagDeclarationArtifacts{}
154	if protoimpl.UnsafeEnabled {
155		mi := &file_build_flags_declarations_proto_msgTypes[1]
156		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157		ms.StoreMessageInfo(mi)
158	}
159}
160
161func (x *FlagDeclarationArtifacts) String() string {
162	return protoimpl.X.MessageStringOf(x)
163}
164
165func (*FlagDeclarationArtifacts) ProtoMessage() {}
166
167func (x *FlagDeclarationArtifacts) ProtoReflect() protoreflect.Message {
168	mi := &file_build_flags_declarations_proto_msgTypes[1]
169	if protoimpl.UnsafeEnabled && x != nil {
170		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171		if ms.LoadMessageInfo() == nil {
172			ms.StoreMessageInfo(mi)
173		}
174		return ms
175	}
176	return mi.MessageOf(x)
177}
178
179// Deprecated: Use FlagDeclarationArtifacts.ProtoReflect.Descriptor instead.
180func (*FlagDeclarationArtifacts) Descriptor() ([]byte, []int) {
181	return file_build_flags_declarations_proto_rawDescGZIP(), []int{1}
182}
183
184func (x *FlagDeclarationArtifacts) GetFlagDeclarationArtifactList() []*FlagDeclarationArtifact {
185	if x != nil {
186		return x.FlagDeclarationArtifactList
187	}
188	return nil
189}
190
191var File_build_flags_declarations_proto protoreflect.FileDescriptor
192
193var file_build_flags_declarations_proto_rawDesc = []byte{
194	0x0a, 0x1e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x64, 0x65,
195	0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
196	0x12, 0x1c, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,
197	0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18,
198	0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d,
199	0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x02, 0x0a, 0x17, 0x46, 0x6c, 0x61,
200	0x67, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69,
201	0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
202	0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65,
203	0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d,
204	0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
205	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
206	0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x75, 0x67, 0x73,
207	0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x62, 0x75, 0x67, 0x73, 0x12, 0x29, 0x0a, 0x10,
208	0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68,
209	0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74,
210	0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x43, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66,
211	0x6c, 0x6f, 0x77, 0x18, 0xcd, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x61, 0x6e, 0x64,
212	0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
213	0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c,
214	0x6f, 0x77, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1f, 0x0a, 0x0a,
215	0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0xce, 0x01, 0x20, 0x03, 0x28,
216	0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x4a, 0x06, 0x08,
217	0xcf, 0x01, 0x10, 0xd0, 0x01, 0x22, 0x96, 0x01, 0x0a, 0x18, 0x46, 0x6c, 0x61, 0x67, 0x44, 0x65,
218	0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
219	0x74, 0x73, 0x12, 0x7a, 0x0a, 0x1e, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x61,
220	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f,
221	0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x61, 0x6e, 0x64,
222	0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
223	0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x6c, 0x61, 0x67, 0x44, 0x65,
224	0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
225	0x74, 0x52, 0x1b, 0x66, 0x6c, 0x61, 0x67, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69,
226	0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x33,
227	0x5a, 0x31, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f,
228	0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72,
229	0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72,
230	0x6f, 0x74, 0x6f,
231}
232
233var (
234	file_build_flags_declarations_proto_rawDescOnce sync.Once
235	file_build_flags_declarations_proto_rawDescData = file_build_flags_declarations_proto_rawDesc
236)
237
238func file_build_flags_declarations_proto_rawDescGZIP() []byte {
239	file_build_flags_declarations_proto_rawDescOnce.Do(func() {
240		file_build_flags_declarations_proto_rawDescData = protoimpl.X.CompressGZIP(file_build_flags_declarations_proto_rawDescData)
241	})
242	return file_build_flags_declarations_proto_rawDescData
243}
244
245var file_build_flags_declarations_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
246var file_build_flags_declarations_proto_goTypes = []interface{}{
247	(*FlagDeclarationArtifact)(nil),  // 0: android.release_config_proto.FlagDeclarationArtifact
248	(*FlagDeclarationArtifacts)(nil), // 1: android.release_config_proto.FlagDeclarationArtifacts
249	(Workflow)(0),                    // 2: android.release_config_proto.Workflow
250}
251var file_build_flags_declarations_proto_depIdxs = []int32{
252	2, // 0: android.release_config_proto.FlagDeclarationArtifact.workflow:type_name -> android.release_config_proto.Workflow
253	0, // 1: android.release_config_proto.FlagDeclarationArtifacts.flag_declaration_artifact_list:type_name -> android.release_config_proto.FlagDeclarationArtifact
254	2, // [2:2] is the sub-list for method output_type
255	2, // [2:2] is the sub-list for method input_type
256	2, // [2:2] is the sub-list for extension type_name
257	2, // [2:2] is the sub-list for extension extendee
258	0, // [0:2] is the sub-list for field type_name
259}
260
261func init() { file_build_flags_declarations_proto_init() }
262func file_build_flags_declarations_proto_init() {
263	if File_build_flags_declarations_proto != nil {
264		return
265	}
266	file_build_flags_common_proto_init()
267	if !protoimpl.UnsafeEnabled {
268		file_build_flags_declarations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
269			switch v := v.(*FlagDeclarationArtifact); i {
270			case 0:
271				return &v.state
272			case 1:
273				return &v.sizeCache
274			case 2:
275				return &v.unknownFields
276			default:
277				return nil
278			}
279		}
280		file_build_flags_declarations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
281			switch v := v.(*FlagDeclarationArtifacts); i {
282			case 0:
283				return &v.state
284			case 1:
285				return &v.sizeCache
286			case 2:
287				return &v.unknownFields
288			default:
289				return nil
290			}
291		}
292	}
293	type x struct{}
294	out := protoimpl.TypeBuilder{
295		File: protoimpl.DescBuilder{
296			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
297			RawDescriptor: file_build_flags_declarations_proto_rawDesc,
298			NumEnums:      0,
299			NumMessages:   2,
300			NumExtensions: 0,
301			NumServices:   0,
302		},
303		GoTypes:           file_build_flags_declarations_proto_goTypes,
304		DependencyIndexes: file_build_flags_declarations_proto_depIdxs,
305		MessageInfos:      file_build_flags_declarations_proto_msgTypes,
306	}.Build()
307	File_build_flags_declarations_proto = out.File
308	file_build_flags_declarations_proto_rawDesc = nil
309	file_build_flags_declarations_proto_goTypes = nil
310	file_build_flags_declarations_proto_depIdxs = nil
311}
312