1// 2// Copyright (C) 2025 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: release_configs_contributions.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 ReleaseConfigContributionsArtifact struct { 39 state protoimpl.MessageState 40 sizeCache protoimpl.SizeCache 41 unknownFields protoimpl.UnknownFields 42 43 // The name of the release config. 44 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 45 // The release config contribution directories that may contribute to this 46 // release config. 47 ContributingDirectories []string `protobuf:"bytes,2,rep,name=contributing_directories,json=contributingDirectories" json:"contributing_directories,omitempty"` 48} 49 50func (x *ReleaseConfigContributionsArtifact) Reset() { 51 *x = ReleaseConfigContributionsArtifact{} 52 if protoimpl.UnsafeEnabled { 53 mi := &file_release_configs_contributions_proto_msgTypes[0] 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 ms.StoreMessageInfo(mi) 56 } 57} 58 59func (x *ReleaseConfigContributionsArtifact) String() string { 60 return protoimpl.X.MessageStringOf(x) 61} 62 63func (*ReleaseConfigContributionsArtifact) ProtoMessage() {} 64 65func (x *ReleaseConfigContributionsArtifact) ProtoReflect() protoreflect.Message { 66 mi := &file_release_configs_contributions_proto_msgTypes[0] 67 if protoimpl.UnsafeEnabled && x != nil { 68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 69 if ms.LoadMessageInfo() == nil { 70 ms.StoreMessageInfo(mi) 71 } 72 return ms 73 } 74 return mi.MessageOf(x) 75} 76 77// Deprecated: Use ReleaseConfigContributionsArtifact.ProtoReflect.Descriptor instead. 78func (*ReleaseConfigContributionsArtifact) Descriptor() ([]byte, []int) { 79 return file_release_configs_contributions_proto_rawDescGZIP(), []int{0} 80} 81 82func (x *ReleaseConfigContributionsArtifact) GetName() string { 83 if x != nil && x.Name != nil { 84 return *x.Name 85 } 86 return "" 87} 88 89func (x *ReleaseConfigContributionsArtifact) GetContributingDirectories() []string { 90 if x != nil { 91 return x.ContributingDirectories 92 } 93 return nil 94} 95 96type ReleaseConfigContributionsArtifacts struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 // The artifacts 102 ReleaseConfigContributionsArtifactList []*ReleaseConfigContributionsArtifact `protobuf:"bytes,1,rep,name=release_config_contributions_artifact_list,json=releaseConfigContributionsArtifactList" json:"release_config_contributions_artifact_list,omitempty"` 103} 104 105func (x *ReleaseConfigContributionsArtifacts) Reset() { 106 *x = ReleaseConfigContributionsArtifacts{} 107 if protoimpl.UnsafeEnabled { 108 mi := &file_release_configs_contributions_proto_msgTypes[1] 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 110 ms.StoreMessageInfo(mi) 111 } 112} 113 114func (x *ReleaseConfigContributionsArtifacts) String() string { 115 return protoimpl.X.MessageStringOf(x) 116} 117 118func (*ReleaseConfigContributionsArtifacts) ProtoMessage() {} 119 120func (x *ReleaseConfigContributionsArtifacts) ProtoReflect() protoreflect.Message { 121 mi := &file_release_configs_contributions_proto_msgTypes[1] 122 if protoimpl.UnsafeEnabled && x != nil { 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 if ms.LoadMessageInfo() == nil { 125 ms.StoreMessageInfo(mi) 126 } 127 return ms 128 } 129 return mi.MessageOf(x) 130} 131 132// Deprecated: Use ReleaseConfigContributionsArtifacts.ProtoReflect.Descriptor instead. 133func (*ReleaseConfigContributionsArtifacts) Descriptor() ([]byte, []int) { 134 return file_release_configs_contributions_proto_rawDescGZIP(), []int{1} 135} 136 137func (x *ReleaseConfigContributionsArtifacts) GetReleaseConfigContributionsArtifactList() []*ReleaseConfigContributionsArtifact { 138 if x != nil { 139 return x.ReleaseConfigContributionsArtifactList 140 } 141 return nil 142} 143 144var File_release_configs_contributions_proto protoreflect.FileDescriptor 145 146var file_release_configs_contributions_proto_rawDesc = []byte{ 147 0x0a, 0x23, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 148 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 149 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 150 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 151 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x22, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 152 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 153 0x73, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 154 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 155 0x18, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 156 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 157 0x17, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 158 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x23, 0x52, 0x65, 0x6c, 159 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 160 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 161 0x12, 0x9c, 0x01, 0x0a, 0x2a, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 162 0x66, 0x69, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 163 0x73, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 164 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 165 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 166 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 167 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 168 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x26, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 169 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 170 0x6f, 0x6e, 0x73, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x42, 171 0x33, 0x5a, 0x31, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 172 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 173 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 174 0x72, 0x6f, 0x74, 0x6f, 175} 176 177var ( 178 file_release_configs_contributions_proto_rawDescOnce sync.Once 179 file_release_configs_contributions_proto_rawDescData = file_release_configs_contributions_proto_rawDesc 180) 181 182func file_release_configs_contributions_proto_rawDescGZIP() []byte { 183 file_release_configs_contributions_proto_rawDescOnce.Do(func() { 184 file_release_configs_contributions_proto_rawDescData = protoimpl.X.CompressGZIP(file_release_configs_contributions_proto_rawDescData) 185 }) 186 return file_release_configs_contributions_proto_rawDescData 187} 188 189var file_release_configs_contributions_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 190var file_release_configs_contributions_proto_goTypes = []interface{}{ 191 (*ReleaseConfigContributionsArtifact)(nil), // 0: android.release_config_proto.ReleaseConfigContributionsArtifact 192 (*ReleaseConfigContributionsArtifacts)(nil), // 1: android.release_config_proto.ReleaseConfigContributionsArtifacts 193} 194var file_release_configs_contributions_proto_depIdxs = []int32{ 195 0, // 0: android.release_config_proto.ReleaseConfigContributionsArtifacts.release_config_contributions_artifact_list:type_name -> android.release_config_proto.ReleaseConfigContributionsArtifact 196 1, // [1:1] is the sub-list for method output_type 197 1, // [1:1] is the sub-list for method input_type 198 1, // [1:1] is the sub-list for extension type_name 199 1, // [1:1] is the sub-list for extension extendee 200 0, // [0:1] is the sub-list for field type_name 201} 202 203func init() { file_release_configs_contributions_proto_init() } 204func file_release_configs_contributions_proto_init() { 205 if File_release_configs_contributions_proto != nil { 206 return 207 } 208 if !protoimpl.UnsafeEnabled { 209 file_release_configs_contributions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 210 switch v := v.(*ReleaseConfigContributionsArtifact); i { 211 case 0: 212 return &v.state 213 case 1: 214 return &v.sizeCache 215 case 2: 216 return &v.unknownFields 217 default: 218 return nil 219 } 220 } 221 file_release_configs_contributions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 222 switch v := v.(*ReleaseConfigContributionsArtifacts); i { 223 case 0: 224 return &v.state 225 case 1: 226 return &v.sizeCache 227 case 2: 228 return &v.unknownFields 229 default: 230 return nil 231 } 232 } 233 } 234 type x struct{} 235 out := protoimpl.TypeBuilder{ 236 File: protoimpl.DescBuilder{ 237 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 238 RawDescriptor: file_release_configs_contributions_proto_rawDesc, 239 NumEnums: 0, 240 NumMessages: 2, 241 NumExtensions: 0, 242 NumServices: 0, 243 }, 244 GoTypes: file_release_configs_contributions_proto_goTypes, 245 DependencyIndexes: file_release_configs_contributions_proto_depIdxs, 246 MessageInfos: file_release_configs_contributions_proto_msgTypes, 247 }.Build() 248 File_release_configs_contributions_proto = out.File 249 file_release_configs_contributions_proto_rawDesc = nil 250 file_release_configs_contributions_proto_goTypes = nil 251 file_release_configs_contributions_proto_depIdxs = nil 252} 253