go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/tools/cmd/bqschemaupdater/testdata/event.pb.go (about) 1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.26.0 8 // protoc v3.17.0 9 // source: go.chromium.org/luci/tools/cmd/bqschemaupdater/testdata/event.proto 10 11 package testdata 12 13 import ( 14 _ "go.chromium.org/luci/common/bq/pb" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 durationpb "google.golang.org/protobuf/types/known/durationpb" 18 emptypb "google.golang.org/protobuf/types/known/emptypb" 19 structpb "google.golang.org/protobuf/types/known/structpb" 20 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 21 reflect "reflect" 22 sync "sync" 23 ) 24 25 const ( 26 // Verify that this generated code is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 28 // Verify that runtime/protoimpl is sufficiently up-to-date. 29 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 30 ) 31 32 type Status int32 33 34 const ( 35 Status_SUCCESS Status = 0 36 Status_FAILURE Status = 1 37 Status_ERROR Status = 2 38 ) 39 40 // Enum value maps for Status. 41 var ( 42 Status_name = map[int32]string{ 43 0: "SUCCESS", 44 1: "FAILURE", 45 2: "ERROR", 46 } 47 Status_value = map[string]int32{ 48 "SUCCESS": 0, 49 "FAILURE": 1, 50 "ERROR": 2, 51 } 52 ) 53 54 func (x Status) Enum() *Status { 55 p := new(Status) 56 *p = x 57 return p 58 } 59 60 func (x Status) String() string { 61 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 62 } 63 64 func (Status) Descriptor() protoreflect.EnumDescriptor { 65 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_enumTypes[0].Descriptor() 66 } 67 68 func (Status) Type() protoreflect.EnumType { 69 return &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_enumTypes[0] 70 } 71 72 func (x Status) Number() protoreflect.EnumNumber { 73 return protoreflect.EnumNumber(x) 74 } 75 76 // Deprecated: Use Status.Descriptor instead. 77 func (Status) EnumDescriptor() ([]byte, []int) { 78 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescGZIP(), []int{0} 79 } 80 81 type Property struct { 82 state protoimpl.MessageState 83 sizeCache protoimpl.SizeCache 84 unknownFields protoimpl.UnknownFields 85 86 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 87 ValueJson string `protobuf:"bytes,2,opt,name=value_json,json=valueJson,proto3" json:"value_json,omitempty"` 88 } 89 90 func (x *Property) Reset() { 91 *x = Property{} 92 if protoimpl.UnsafeEnabled { 93 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[0] 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 ms.StoreMessageInfo(mi) 96 } 97 } 98 99 func (x *Property) String() string { 100 return protoimpl.X.MessageStringOf(x) 101 } 102 103 func (*Property) ProtoMessage() {} 104 105 func (x *Property) ProtoReflect() protoreflect.Message { 106 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[0] 107 if protoimpl.UnsafeEnabled && x != nil { 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 if ms.LoadMessageInfo() == nil { 110 ms.StoreMessageInfo(mi) 111 } 112 return ms 113 } 114 return mi.MessageOf(x) 115 } 116 117 // Deprecated: Use Property.ProtoReflect.Descriptor instead. 118 func (*Property) Descriptor() ([]byte, []int) { 119 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescGZIP(), []int{0} 120 } 121 122 func (x *Property) GetName() string { 123 if x != nil { 124 return x.Name 125 } 126 return "" 127 } 128 129 func (x *Property) GetValueJson() string { 130 if x != nil { 131 return x.ValueJson 132 } 133 return "" 134 } 135 136 type Input struct { 137 state protoimpl.MessageState 138 sizeCache protoimpl.SizeCache 139 unknownFields protoimpl.UnknownFields 140 141 Properties []*Property `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty"` 142 } 143 144 func (x *Input) Reset() { 145 *x = Input{} 146 if protoimpl.UnsafeEnabled { 147 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[1] 148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 149 ms.StoreMessageInfo(mi) 150 } 151 } 152 153 func (x *Input) String() string { 154 return protoimpl.X.MessageStringOf(x) 155 } 156 157 func (*Input) ProtoMessage() {} 158 159 func (x *Input) ProtoReflect() protoreflect.Message { 160 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[1] 161 if protoimpl.UnsafeEnabled && x != nil { 162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 163 if ms.LoadMessageInfo() == nil { 164 ms.StoreMessageInfo(mi) 165 } 166 return ms 167 } 168 return mi.MessageOf(x) 169 } 170 171 // Deprecated: Use Input.ProtoReflect.Descriptor instead. 172 func (*Input) Descriptor() ([]byte, []int) { 173 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescGZIP(), []int{1} 174 } 175 176 func (x *Input) GetProperties() []*Property { 177 if x != nil { 178 return x.Properties 179 } 180 return nil 181 } 182 183 type Output struct { 184 state protoimpl.MessageState 185 sizeCache protoimpl.SizeCache 186 unknownFields protoimpl.UnknownFields 187 188 Properties []*Property `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty"` 189 } 190 191 func (x *Output) Reset() { 192 *x = Output{} 193 if protoimpl.UnsafeEnabled { 194 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[2] 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 ms.StoreMessageInfo(mi) 197 } 198 } 199 200 func (x *Output) String() string { 201 return protoimpl.X.MessageStringOf(x) 202 } 203 204 func (*Output) ProtoMessage() {} 205 206 func (x *Output) ProtoReflect() protoreflect.Message { 207 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[2] 208 if protoimpl.UnsafeEnabled && x != nil { 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 if ms.LoadMessageInfo() == nil { 211 ms.StoreMessageInfo(mi) 212 } 213 return ms 214 } 215 return mi.MessageOf(x) 216 } 217 218 // Deprecated: Use Output.ProtoReflect.Descriptor instead. 219 func (*Output) Descriptor() ([]byte, []int) { 220 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescGZIP(), []int{2} 221 } 222 223 func (x *Output) GetProperties() []*Property { 224 if x != nil { 225 return x.Properties 226 } 227 return nil 228 } 229 230 // This entire message will be ignored. 231 type EmptyContainer struct { 232 state protoimpl.MessageState 233 sizeCache protoimpl.SizeCache 234 unknownFields protoimpl.UnknownFields 235 236 Empty *emptypb.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"` 237 } 238 239 func (x *EmptyContainer) Reset() { 240 *x = EmptyContainer{} 241 if protoimpl.UnsafeEnabled { 242 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[3] 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 ms.StoreMessageInfo(mi) 245 } 246 } 247 248 func (x *EmptyContainer) String() string { 249 return protoimpl.X.MessageStringOf(x) 250 } 251 252 func (*EmptyContainer) ProtoMessage() {} 253 254 func (x *EmptyContainer) ProtoReflect() protoreflect.Message { 255 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[3] 256 if protoimpl.UnsafeEnabled && x != nil { 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 if ms.LoadMessageInfo() == nil { 259 ms.StoreMessageInfo(mi) 260 } 261 return ms 262 } 263 return mi.MessageOf(x) 264 } 265 266 // Deprecated: Use EmptyContainer.ProtoReflect.Descriptor instead. 267 func (*EmptyContainer) Descriptor() ([]byte, []int) { 268 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescGZIP(), []int{3} 269 } 270 271 func (x *EmptyContainer) GetEmpty() *emptypb.Empty { 272 if x != nil { 273 return x.Empty 274 } 275 return nil 276 } 277 278 // Build events. 279 // 280 // Line after blank line. 281 type BuildEvent struct { 282 state protoimpl.MessageState 283 sizeCache protoimpl.SizeCache 284 unknownFields protoimpl.UnknownFields 285 286 // Universal build id. 287 BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` 288 // Builder name. 289 Builder string `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"` 290 Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=testdata.Status" json:"status,omitempty"` 291 Input *Input `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` 292 Output *Output `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"` 293 Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 294 Struct *structpb.Struct `protobuf:"bytes,7,opt,name=struct,proto3" json:"struct,omitempty"` 295 Empty *emptypb.Empty `protobuf:"bytes,8,opt,name=empty,proto3" json:"empty,omitempty"` // will be ignored 296 EmptyContainer *EmptyContainer `protobuf:"bytes,9,opt,name=empty_container,json=emptyContainer,proto3" json:"empty_container,omitempty"` // will be ignored 297 Duration *durationpb.Duration `protobuf:"bytes,10,opt,name=duration,proto3" json:"duration,omitempty"` 298 BqTypeOverride int64 `protobuf:"varint,11,opt,name=bq_type_override,json=bqTypeOverride,proto3" json:"bq_type_override,omitempty"` 299 } 300 301 func (x *BuildEvent) Reset() { 302 *x = BuildEvent{} 303 if protoimpl.UnsafeEnabled { 304 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[4] 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 ms.StoreMessageInfo(mi) 307 } 308 } 309 310 func (x *BuildEvent) String() string { 311 return protoimpl.X.MessageStringOf(x) 312 } 313 314 func (*BuildEvent) ProtoMessage() {} 315 316 func (x *BuildEvent) ProtoReflect() protoreflect.Message { 317 mi := &file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[4] 318 if protoimpl.UnsafeEnabled && x != nil { 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 320 if ms.LoadMessageInfo() == nil { 321 ms.StoreMessageInfo(mi) 322 } 323 return ms 324 } 325 return mi.MessageOf(x) 326 } 327 328 // Deprecated: Use BuildEvent.ProtoReflect.Descriptor instead. 329 func (*BuildEvent) Descriptor() ([]byte, []int) { 330 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescGZIP(), []int{4} 331 } 332 333 func (x *BuildEvent) GetBuildId() string { 334 if x != nil { 335 return x.BuildId 336 } 337 return "" 338 } 339 340 func (x *BuildEvent) GetBuilder() string { 341 if x != nil { 342 return x.Builder 343 } 344 return "" 345 } 346 347 func (x *BuildEvent) GetStatus() Status { 348 if x != nil { 349 return x.Status 350 } 351 return Status_SUCCESS 352 } 353 354 func (x *BuildEvent) GetInput() *Input { 355 if x != nil { 356 return x.Input 357 } 358 return nil 359 } 360 361 func (x *BuildEvent) GetOutput() *Output { 362 if x != nil { 363 return x.Output 364 } 365 return nil 366 } 367 368 func (x *BuildEvent) GetTimestamp() *timestamppb.Timestamp { 369 if x != nil { 370 return x.Timestamp 371 } 372 return nil 373 } 374 375 func (x *BuildEvent) GetStruct() *structpb.Struct { 376 if x != nil { 377 return x.Struct 378 } 379 return nil 380 } 381 382 func (x *BuildEvent) GetEmpty() *emptypb.Empty { 383 if x != nil { 384 return x.Empty 385 } 386 return nil 387 } 388 389 func (x *BuildEvent) GetEmptyContainer() *EmptyContainer { 390 if x != nil { 391 return x.EmptyContainer 392 } 393 return nil 394 } 395 396 func (x *BuildEvent) GetDuration() *durationpb.Duration { 397 if x != nil { 398 return x.Duration 399 } 400 return nil 401 } 402 403 func (x *BuildEvent) GetBqTypeOverride() int64 { 404 if x != nil { 405 return x.BqTypeOverride 406 } 407 return 0 408 } 409 410 var File_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto protoreflect.FileDescriptor 411 412 var file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDesc = []byte{ 413 0x0a, 0x43, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 414 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6d, 0x64, 415 0x2f, 0x62, 0x71, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 416 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 417 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x1a, 418 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 419 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 420 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 421 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 422 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 423 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 424 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 425 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x2e, 426 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 427 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x62, 0x71, 0x2f, 0x70, 0x62, 0x2f, 0x6f, 428 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x08, 429 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 430 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 431 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 432 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x3b, 0x0a, 0x05, 0x49, 433 0x6e, 0x70, 0x75, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 434 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 435 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, 436 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 437 0x75, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 438 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 439 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 440 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3e, 0x0a, 0x0e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x43, 441 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x05, 0x65, 0x6d, 0x70, 0x74, 442 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 443 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 444 0x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x8a, 0x04, 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, 445 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 446 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 447 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 448 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x06, 0x73, 0x74, 449 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x74, 0x65, 0x73, 450 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 451 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20, 452 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 453 0x6e, 0x70, 0x75, 0x74, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x6f, 454 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x65, 455 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x06, 0x6f, 456 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 457 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 458 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 459 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 460 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 461 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 462 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 463 0x12, 0x2c, 0x0a, 0x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 464 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 465 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x41, 466 0x0a, 0x0f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 467 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 468 0x74, 0x61, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 469 0x72, 0x52, 0x0e, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 470 0x72, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 471 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 472 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 473 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x10, 0x62, 0x71, 0x5f, 0x74, 474 0x79, 0x70, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 475 0x28, 0x03, 0x42, 0x0f, 0xe2, 0xbc, 0x24, 0x0b, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 476 0x41, 0x4d, 0x50, 0x52, 0x0e, 0x62, 0x71, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 477 0x69, 0x64, 0x65, 0x2a, 0x2d, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 478 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x41, 479 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 480 0x10, 0x02, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 481 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 482 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x62, 0x71, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x75, 0x70, 0x64, 483 0x61, 0x74, 0x65, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 484 0x72, 0x6f, 0x74, 0x6f, 0x33, 485 } 486 487 var ( 488 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescOnce sync.Once 489 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescData = file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDesc 490 ) 491 492 func file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescGZIP() []byte { 493 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescOnce.Do(func() { 494 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescData) 495 }) 496 return file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDescData 497 } 498 499 var file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 500 var file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 501 var file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_goTypes = []interface{}{ 502 (Status)(0), // 0: testdata.Status 503 (*Property)(nil), // 1: testdata.Property 504 (*Input)(nil), // 2: testdata.Input 505 (*Output)(nil), // 3: testdata.Output 506 (*EmptyContainer)(nil), // 4: testdata.EmptyContainer 507 (*BuildEvent)(nil), // 5: testdata.BuildEvent 508 (*emptypb.Empty)(nil), // 6: google.protobuf.Empty 509 (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp 510 (*structpb.Struct)(nil), // 8: google.protobuf.Struct 511 (*durationpb.Duration)(nil), // 9: google.protobuf.Duration 512 } 513 var file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_depIdxs = []int32{ 514 1, // 0: testdata.Input.properties:type_name -> testdata.Property 515 1, // 1: testdata.Output.properties:type_name -> testdata.Property 516 6, // 2: testdata.EmptyContainer.empty:type_name -> google.protobuf.Empty 517 0, // 3: testdata.BuildEvent.status:type_name -> testdata.Status 518 2, // 4: testdata.BuildEvent.input:type_name -> testdata.Input 519 3, // 5: testdata.BuildEvent.output:type_name -> testdata.Output 520 7, // 6: testdata.BuildEvent.timestamp:type_name -> google.protobuf.Timestamp 521 8, // 7: testdata.BuildEvent.struct:type_name -> google.protobuf.Struct 522 6, // 8: testdata.BuildEvent.empty:type_name -> google.protobuf.Empty 523 4, // 9: testdata.BuildEvent.empty_container:type_name -> testdata.EmptyContainer 524 9, // 10: testdata.BuildEvent.duration:type_name -> google.protobuf.Duration 525 11, // [11:11] is the sub-list for method output_type 526 11, // [11:11] is the sub-list for method input_type 527 11, // [11:11] is the sub-list for extension type_name 528 11, // [11:11] is the sub-list for extension extendee 529 0, // [0:11] is the sub-list for field type_name 530 } 531 532 func init() { file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_init() } 533 func file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_init() { 534 if File_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto != nil { 535 return 536 } 537 if !protoimpl.UnsafeEnabled { 538 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 539 switch v := v.(*Property); i { 540 case 0: 541 return &v.state 542 case 1: 543 return &v.sizeCache 544 case 2: 545 return &v.unknownFields 546 default: 547 return nil 548 } 549 } 550 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 551 switch v := v.(*Input); i { 552 case 0: 553 return &v.state 554 case 1: 555 return &v.sizeCache 556 case 2: 557 return &v.unknownFields 558 default: 559 return nil 560 } 561 } 562 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 563 switch v := v.(*Output); i { 564 case 0: 565 return &v.state 566 case 1: 567 return &v.sizeCache 568 case 2: 569 return &v.unknownFields 570 default: 571 return nil 572 } 573 } 574 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 575 switch v := v.(*EmptyContainer); i { 576 case 0: 577 return &v.state 578 case 1: 579 return &v.sizeCache 580 case 2: 581 return &v.unknownFields 582 default: 583 return nil 584 } 585 } 586 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 587 switch v := v.(*BuildEvent); i { 588 case 0: 589 return &v.state 590 case 1: 591 return &v.sizeCache 592 case 2: 593 return &v.unknownFields 594 default: 595 return nil 596 } 597 } 598 } 599 type x struct{} 600 out := protoimpl.TypeBuilder{ 601 File: protoimpl.DescBuilder{ 602 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 603 RawDescriptor: file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDesc, 604 NumEnums: 1, 605 NumMessages: 5, 606 NumExtensions: 0, 607 NumServices: 0, 608 }, 609 GoTypes: file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_goTypes, 610 DependencyIndexes: file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_depIdxs, 611 EnumInfos: file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_enumTypes, 612 MessageInfos: file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_msgTypes, 613 }.Build() 614 File_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto = out.File 615 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_rawDesc = nil 616 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_goTypes = nil 617 file_go_chromium_org_luci_tools_cmd_bqschemaupdater_testdata_event_proto_depIdxs = nil 618 }