Ronald Braunstein | 73b08ff | 2023-12-19 10:24:47 -0800 | [diff] [blame^] | 1 | // you may not use this file except in compliance with the License. |
| 2 | // You may obtain a copy of the License at |
| 3 | // |
| 4 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 5 | // |
| 6 | // Unless required by applicable law or agreed to in writing, software |
| 7 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 8 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 9 | // See the License for the specific language governing permissions and |
| 10 | // limitations under the License. |
| 11 | |
| 12 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 13 | // versions: |
| 14 | // protoc-gen-go v1.30.0 |
| 15 | // protoc v3.21.12 |
| 16 | // source: team.proto |
| 17 | |
| 18 | package team_proto |
| 19 | |
| 20 | import ( |
| 21 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 22 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 23 | reflect "reflect" |
| 24 | sync "sync" |
| 25 | ) |
| 26 | |
| 27 | const ( |
| 28 | // Verify that this generated code is sufficiently up-to-date. |
| 29 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 30 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 31 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 32 | ) |
| 33 | |
| 34 | type Team struct { |
| 35 | state protoimpl.MessageState |
| 36 | sizeCache protoimpl.SizeCache |
| 37 | unknownFields protoimpl.UnknownFields |
| 38 | |
| 39 | // REQUIRED: Name of the build target |
| 40 | TargetName *string `protobuf:"bytes,1,opt,name=target_name,json=targetName" json:"target_name,omitempty"` |
| 41 | // REQUIRED: Code location of the target. |
| 42 | // To be used to support legacy/backup systems that use OWNERS file and is |
| 43 | // also required for our dashboard to support per code location basis UI |
| 44 | Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` |
| 45 | // REQUIRED: Team ID of the team that owns this target. |
| 46 | TrendyTeamId *string `protobuf:"bytes,3,opt,name=trendy_team_id,json=trendyTeamId" json:"trendy_team_id,omitempty"` |
| 47 | // OPTIONAL: Files directly owned by this module. |
| 48 | File []string `protobuf:"bytes,4,rep,name=file" json:"file,omitempty"` |
| 49 | } |
| 50 | |
| 51 | func (x *Team) Reset() { |
| 52 | *x = Team{} |
| 53 | if protoimpl.UnsafeEnabled { |
| 54 | mi := &file_team_proto_msgTypes[0] |
| 55 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 56 | ms.StoreMessageInfo(mi) |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | func (x *Team) String() string { |
| 61 | return protoimpl.X.MessageStringOf(x) |
| 62 | } |
| 63 | |
| 64 | func (*Team) ProtoMessage() {} |
| 65 | |
| 66 | func (x *Team) ProtoReflect() protoreflect.Message { |
| 67 | mi := &file_team_proto_msgTypes[0] |
| 68 | if protoimpl.UnsafeEnabled && x != nil { |
| 69 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 70 | if ms.LoadMessageInfo() == nil { |
| 71 | ms.StoreMessageInfo(mi) |
| 72 | } |
| 73 | return ms |
| 74 | } |
| 75 | return mi.MessageOf(x) |
| 76 | } |
| 77 | |
| 78 | // Deprecated: Use Team.ProtoReflect.Descriptor instead. |
| 79 | func (*Team) Descriptor() ([]byte, []int) { |
| 80 | return file_team_proto_rawDescGZIP(), []int{0} |
| 81 | } |
| 82 | |
| 83 | func (x *Team) GetTargetName() string { |
| 84 | if x != nil && x.TargetName != nil { |
| 85 | return *x.TargetName |
| 86 | } |
| 87 | return "" |
| 88 | } |
| 89 | |
| 90 | func (x *Team) GetPath() string { |
| 91 | if x != nil && x.Path != nil { |
| 92 | return *x.Path |
| 93 | } |
| 94 | return "" |
| 95 | } |
| 96 | |
| 97 | func (x *Team) GetTrendyTeamId() string { |
| 98 | if x != nil && x.TrendyTeamId != nil { |
| 99 | return *x.TrendyTeamId |
| 100 | } |
| 101 | return "" |
| 102 | } |
| 103 | |
| 104 | func (x *Team) GetFile() []string { |
| 105 | if x != nil { |
| 106 | return x.File |
| 107 | } |
| 108 | return nil |
| 109 | } |
| 110 | |
| 111 | type AllTeams struct { |
| 112 | state protoimpl.MessageState |
| 113 | sizeCache protoimpl.SizeCache |
| 114 | unknownFields protoimpl.UnknownFields |
| 115 | |
| 116 | Teams []*Team `protobuf:"bytes,1,rep,name=teams" json:"teams,omitempty"` |
| 117 | } |
| 118 | |
| 119 | func (x *AllTeams) Reset() { |
| 120 | *x = AllTeams{} |
| 121 | if protoimpl.UnsafeEnabled { |
| 122 | mi := &file_team_proto_msgTypes[1] |
| 123 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 124 | ms.StoreMessageInfo(mi) |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | func (x *AllTeams) String() string { |
| 129 | return protoimpl.X.MessageStringOf(x) |
| 130 | } |
| 131 | |
| 132 | func (*AllTeams) ProtoMessage() {} |
| 133 | |
| 134 | func (x *AllTeams) ProtoReflect() protoreflect.Message { |
| 135 | mi := &file_team_proto_msgTypes[1] |
| 136 | if protoimpl.UnsafeEnabled && x != nil { |
| 137 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 138 | if ms.LoadMessageInfo() == nil { |
| 139 | ms.StoreMessageInfo(mi) |
| 140 | } |
| 141 | return ms |
| 142 | } |
| 143 | return mi.MessageOf(x) |
| 144 | } |
| 145 | |
| 146 | // Deprecated: Use AllTeams.ProtoReflect.Descriptor instead. |
| 147 | func (*AllTeams) Descriptor() ([]byte, []int) { |
| 148 | return file_team_proto_rawDescGZIP(), []int{1} |
| 149 | } |
| 150 | |
| 151 | func (x *AllTeams) GetTeams() []*Team { |
| 152 | if x != nil { |
| 153 | return x.Teams |
| 154 | } |
| 155 | return nil |
| 156 | } |
| 157 | |
| 158 | var File_team_proto protoreflect.FileDescriptor |
| 159 | |
| 160 | var file_team_proto_rawDesc = []byte{ |
| 161 | 0x0a, 0x0a, 0x74, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65, |
| 162 | 0x61, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x04, 0x54, 0x65, 0x61, 0x6d, |
| 163 | 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 164 | 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, |
| 165 | 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 166 | 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x79, 0x5f, |
| 167 | 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, |
| 168 | 0x72, 0x65, 0x6e, 0x64, 0x79, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, |
| 169 | 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x22, |
| 170 | 0x32, 0x0a, 0x08, 0x41, 0x6c, 0x6c, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x74, |
| 171 | 0x65, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x65, 0x61, |
| 172 | 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x05, 0x74, 0x65, |
| 173 | 0x61, 0x6d, 0x73, 0x42, 0x22, 0x5a, 0x20, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, |
| 174 | 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x74, 0x65, 0x61, |
| 175 | 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 176 | } |
| 177 | |
| 178 | var ( |
| 179 | file_team_proto_rawDescOnce sync.Once |
| 180 | file_team_proto_rawDescData = file_team_proto_rawDesc |
| 181 | ) |
| 182 | |
| 183 | func file_team_proto_rawDescGZIP() []byte { |
| 184 | file_team_proto_rawDescOnce.Do(func() { |
| 185 | file_team_proto_rawDescData = protoimpl.X.CompressGZIP(file_team_proto_rawDescData) |
| 186 | }) |
| 187 | return file_team_proto_rawDescData |
| 188 | } |
| 189 | |
| 190 | var file_team_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 191 | var file_team_proto_goTypes = []interface{}{ |
| 192 | (*Team)(nil), // 0: team_proto.Team |
| 193 | (*AllTeams)(nil), // 1: team_proto.AllTeams |
| 194 | } |
| 195 | var file_team_proto_depIdxs = []int32{ |
| 196 | 0, // 0: team_proto.AllTeams.teams:type_name -> team_proto.Team |
| 197 | 1, // [1:1] is the sub-list for method output_type |
| 198 | 1, // [1:1] is the sub-list for method input_type |
| 199 | 1, // [1:1] is the sub-list for extension type_name |
| 200 | 1, // [1:1] is the sub-list for extension extendee |
| 201 | 0, // [0:1] is the sub-list for field type_name |
| 202 | } |
| 203 | |
| 204 | func init() { file_team_proto_init() } |
| 205 | func file_team_proto_init() { |
| 206 | if File_team_proto != nil { |
| 207 | return |
| 208 | } |
| 209 | if !protoimpl.UnsafeEnabled { |
| 210 | file_team_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 211 | switch v := v.(*Team); i { |
| 212 | case 0: |
| 213 | return &v.state |
| 214 | case 1: |
| 215 | return &v.sizeCache |
| 216 | case 2: |
| 217 | return &v.unknownFields |
| 218 | default: |
| 219 | return nil |
| 220 | } |
| 221 | } |
| 222 | file_team_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 223 | switch v := v.(*AllTeams); i { |
| 224 | case 0: |
| 225 | return &v.state |
| 226 | case 1: |
| 227 | return &v.sizeCache |
| 228 | case 2: |
| 229 | return &v.unknownFields |
| 230 | default: |
| 231 | return nil |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | type x struct{} |
| 236 | out := protoimpl.TypeBuilder{ |
| 237 | File: protoimpl.DescBuilder{ |
| 238 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 239 | RawDescriptor: file_team_proto_rawDesc, |
| 240 | NumEnums: 0, |
| 241 | NumMessages: 2, |
| 242 | NumExtensions: 0, |
| 243 | NumServices: 0, |
| 244 | }, |
| 245 | GoTypes: file_team_proto_goTypes, |
| 246 | DependencyIndexes: file_team_proto_depIdxs, |
| 247 | MessageInfos: file_team_proto_msgTypes, |
| 248 | }.Build() |
| 249 | File_team_proto = out.File |
| 250 | file_team_proto_rawDesc = nil |
| 251 | file_team_proto_goTypes = nil |
| 252 | file_team_proto_depIdxs = nil |
| 253 | } |