github.com/matrixorigin/matrixone@v1.2.0/pkg/udf/udf.pb.go (about) 1 // Copyright 2023 Matrix Origin 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.28.1 18 // protoc v3.17.0 19 // source: udf.proto 20 21 package udf 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 type RequestType int32 38 39 const ( 40 RequestType_UnknownRequest RequestType = 0 41 RequestType_DataRequest RequestType = 1 // request with data for function result 42 RequestType_PkgResponse RequestType = 2 // response with package 43 ) 44 45 // Enum value maps for RequestType. 46 var ( 47 RequestType_name = map[int32]string{ 48 0: "UnknownRequest", 49 1: "DataRequest", 50 2: "PkgResponse", 51 } 52 RequestType_value = map[string]int32{ 53 "UnknownRequest": 0, 54 "DataRequest": 1, 55 "PkgResponse": 2, 56 } 57 ) 58 59 func (x RequestType) Enum() *RequestType { 60 p := new(RequestType) 61 *p = x 62 return p 63 } 64 65 func (x RequestType) String() string { 66 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 67 } 68 69 func (RequestType) Descriptor() protoreflect.EnumDescriptor { 70 return file_udf_proto_enumTypes[0].Descriptor() 71 } 72 73 func (RequestType) Type() protoreflect.EnumType { 74 return &file_udf_proto_enumTypes[0] 75 } 76 77 func (x RequestType) Number() protoreflect.EnumNumber { 78 return protoreflect.EnumNumber(x) 79 } 80 81 // Deprecated: Use RequestType.Descriptor instead. 82 func (RequestType) EnumDescriptor() ([]byte, []int) { 83 return file_udf_proto_rawDescGZIP(), []int{0} 84 } 85 86 type ResponseType int32 87 88 const ( 89 ResponseType_UnknownResponse ResponseType = 0 90 ResponseType_DataResponse ResponseType = 1 // response with function result 91 ResponseType_PkgRequest ResponseType = 2 // request for package 92 ) 93 94 // Enum value maps for ResponseType. 95 var ( 96 ResponseType_name = map[int32]string{ 97 0: "UnknownResponse", 98 1: "DataResponse", 99 2: "PkgRequest", 100 } 101 ResponseType_value = map[string]int32{ 102 "UnknownResponse": 0, 103 "DataResponse": 1, 104 "PkgRequest": 2, 105 } 106 ) 107 108 func (x ResponseType) Enum() *ResponseType { 109 p := new(ResponseType) 110 *p = x 111 return p 112 } 113 114 func (x ResponseType) String() string { 115 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 116 } 117 118 func (ResponseType) Descriptor() protoreflect.EnumDescriptor { 119 return file_udf_proto_enumTypes[1].Descriptor() 120 } 121 122 func (ResponseType) Type() protoreflect.EnumType { 123 return &file_udf_proto_enumTypes[1] 124 } 125 126 func (x ResponseType) Number() protoreflect.EnumNumber { 127 return protoreflect.EnumNumber(x) 128 } 129 130 // Deprecated: Use ResponseType.Descriptor instead. 131 func (ResponseType) EnumDescriptor() ([]byte, []int) { 132 return file_udf_proto_rawDescGZIP(), []int{1} 133 } 134 135 type DataType int32 136 137 const ( 138 DataType_UNKNOWN DataType = 0 139 DataType_BOOL DataType = 10 140 DataType_INT8 DataType = 20 141 DataType_INT16 DataType = 21 142 DataType_INT32 DataType = 22 143 DataType_INT64 DataType = 23 144 DataType_UINT8 DataType = 30 145 DataType_UINT16 DataType = 31 146 DataType_UINT32 DataType = 32 147 DataType_UINT64 DataType = 33 148 DataType_FLOAT32 DataType = 40 149 DataType_FLOAT64 DataType = 41 150 DataType_CHAR DataType = 50 151 DataType_VARCHAR DataType = 51 152 DataType_TEXT DataType = 52 153 DataType_JSON DataType = 53 154 DataType_UUID DataType = 54 155 DataType_TIME DataType = 60 156 DataType_DATE DataType = 61 157 DataType_DATETIME DataType = 62 158 DataType_TIMESTAMP DataType = 63 159 DataType_DECIMAL64 DataType = 70 160 DataType_DECIMAL128 DataType = 71 161 DataType_BINARY DataType = 80 162 DataType_VARBINARY DataType = 81 163 DataType_BLOB DataType = 82 164 ) 165 166 // Enum value maps for DataType. 167 var ( 168 DataType_name = map[int32]string{ 169 0: "UNKNOWN", 170 10: "BOOL", 171 20: "INT8", 172 21: "INT16", 173 22: "INT32", 174 23: "INT64", 175 30: "UINT8", 176 31: "UINT16", 177 32: "UINT32", 178 33: "UINT64", 179 40: "FLOAT32", 180 41: "FLOAT64", 181 50: "CHAR", 182 51: "VARCHAR", 183 52: "TEXT", 184 53: "JSON", 185 54: "UUID", 186 60: "TIME", 187 61: "DATE", 188 62: "DATETIME", 189 63: "TIMESTAMP", 190 70: "DECIMAL64", 191 71: "DECIMAL128", 192 80: "BINARY", 193 81: "VARBINARY", 194 82: "BLOB", 195 } 196 DataType_value = map[string]int32{ 197 "UNKNOWN": 0, 198 "BOOL": 10, 199 "INT8": 20, 200 "INT16": 21, 201 "INT32": 22, 202 "INT64": 23, 203 "UINT8": 30, 204 "UINT16": 31, 205 "UINT32": 32, 206 "UINT64": 33, 207 "FLOAT32": 40, 208 "FLOAT64": 41, 209 "CHAR": 50, 210 "VARCHAR": 51, 211 "TEXT": 52, 212 "JSON": 53, 213 "UUID": 54, 214 "TIME": 60, 215 "DATE": 61, 216 "DATETIME": 62, 217 "TIMESTAMP": 63, 218 "DECIMAL64": 70, 219 "DECIMAL128": 71, 220 "BINARY": 80, 221 "VARBINARY": 81, 222 "BLOB": 82, 223 } 224 ) 225 226 func (x DataType) Enum() *DataType { 227 p := new(DataType) 228 *p = x 229 return p 230 } 231 232 func (x DataType) String() string { 233 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 234 } 235 236 func (DataType) Descriptor() protoreflect.EnumDescriptor { 237 return file_udf_proto_enumTypes[2].Descriptor() 238 } 239 240 func (DataType) Type() protoreflect.EnumType { 241 return &file_udf_proto_enumTypes[2] 242 } 243 244 func (x DataType) Number() protoreflect.EnumNumber { 245 return protoreflect.EnumNumber(x) 246 } 247 248 // Deprecated: Use DataType.Descriptor instead. 249 func (DataType) EnumDescriptor() ([]byte, []int) { 250 return file_udf_proto_rawDescGZIP(), []int{2} 251 } 252 253 type Request struct { 254 state protoimpl.MessageState 255 sizeCache protoimpl.SizeCache 256 unknownFields protoimpl.UnknownFields 257 258 Udf *Udf `protobuf:"bytes,1,opt,name=udf,proto3" json:"udf,omitempty"` 259 Vectors []*DataVector `protobuf:"bytes,2,rep,name=vectors,proto3" json:"vectors,omitempty"` 260 Length int64 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` 261 Type RequestType `protobuf:"varint,4,opt,name=type,proto3,enum=udf.RequestType" json:"type,omitempty"` 262 Context map[string]string `protobuf:"bytes,5,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // currently just transfer, not used 263 } 264 265 func (x *Request) Reset() { 266 *x = Request{} 267 if protoimpl.UnsafeEnabled { 268 mi := &file_udf_proto_msgTypes[0] 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 ms.StoreMessageInfo(mi) 271 } 272 } 273 274 func (x *Request) String() string { 275 return protoimpl.X.MessageStringOf(x) 276 } 277 278 func (*Request) ProtoMessage() {} 279 280 func (x *Request) ProtoReflect() protoreflect.Message { 281 mi := &file_udf_proto_msgTypes[0] 282 if protoimpl.UnsafeEnabled && x != nil { 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 if ms.LoadMessageInfo() == nil { 285 ms.StoreMessageInfo(mi) 286 } 287 return ms 288 } 289 return mi.MessageOf(x) 290 } 291 292 // Deprecated: Use Request.ProtoReflect.Descriptor instead. 293 func (*Request) Descriptor() ([]byte, []int) { 294 return file_udf_proto_rawDescGZIP(), []int{0} 295 } 296 297 func (x *Request) GetUdf() *Udf { 298 if x != nil { 299 return x.Udf 300 } 301 return nil 302 } 303 304 func (x *Request) GetVectors() []*DataVector { 305 if x != nil { 306 return x.Vectors 307 } 308 return nil 309 } 310 311 func (x *Request) GetLength() int64 { 312 if x != nil { 313 return x.Length 314 } 315 return 0 316 } 317 318 func (x *Request) GetType() RequestType { 319 if x != nil { 320 return x.Type 321 } 322 return RequestType_UnknownRequest 323 } 324 325 func (x *Request) GetContext() map[string]string { 326 if x != nil { 327 return x.Context 328 } 329 return nil 330 } 331 332 type Response struct { 333 state protoimpl.MessageState 334 sizeCache protoimpl.SizeCache 335 unknownFields protoimpl.UnknownFields 336 337 Vector *DataVector `protobuf:"bytes,1,opt,name=vector,proto3" json:"vector,omitempty"` 338 Type ResponseType `protobuf:"varint,2,opt,name=type,proto3,enum=udf.ResponseType" json:"type,omitempty"` 339 } 340 341 func (x *Response) Reset() { 342 *x = Response{} 343 if protoimpl.UnsafeEnabled { 344 mi := &file_udf_proto_msgTypes[1] 345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 346 ms.StoreMessageInfo(mi) 347 } 348 } 349 350 func (x *Response) String() string { 351 return protoimpl.X.MessageStringOf(x) 352 } 353 354 func (*Response) ProtoMessage() {} 355 356 func (x *Response) ProtoReflect() protoreflect.Message { 357 mi := &file_udf_proto_msgTypes[1] 358 if protoimpl.UnsafeEnabled && x != nil { 359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 360 if ms.LoadMessageInfo() == nil { 361 ms.StoreMessageInfo(mi) 362 } 363 return ms 364 } 365 return mi.MessageOf(x) 366 } 367 368 // Deprecated: Use Response.ProtoReflect.Descriptor instead. 369 func (*Response) Descriptor() ([]byte, []int) { 370 return file_udf_proto_rawDescGZIP(), []int{1} 371 } 372 373 func (x *Response) GetVector() *DataVector { 374 if x != nil { 375 return x.Vector 376 } 377 return nil 378 } 379 380 func (x *Response) GetType() ResponseType { 381 if x != nil { 382 return x.Type 383 } 384 return ResponseType_UnknownResponse 385 } 386 387 type Udf struct { 388 state protoimpl.MessageState 389 sizeCache protoimpl.SizeCache 390 unknownFields protoimpl.UnknownFields 391 392 Handler string `protobuf:"bytes,1,opt,name=handler,proto3" json:"handler,omitempty"` 393 IsImport bool `protobuf:"varint,2,opt,name=isImport,proto3" json:"isImport,omitempty"` 394 Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` 395 ImportPkg *Package `protobuf:"bytes,4,opt,name=importPkg,proto3" json:"importPkg,omitempty"` 396 RetType DataType `protobuf:"varint,5,opt,name=retType,proto3,enum=udf.DataType" json:"retType,omitempty"` 397 Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` 398 ModifiedTime string `protobuf:"bytes,7,opt,name=modifiedTime,proto3" json:"modifiedTime,omitempty"` 399 Db string `protobuf:"bytes,8,opt,name=db,proto3" json:"db,omitempty"` 400 } 401 402 func (x *Udf) Reset() { 403 *x = Udf{} 404 if protoimpl.UnsafeEnabled { 405 mi := &file_udf_proto_msgTypes[2] 406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 407 ms.StoreMessageInfo(mi) 408 } 409 } 410 411 func (x *Udf) String() string { 412 return protoimpl.X.MessageStringOf(x) 413 } 414 415 func (*Udf) ProtoMessage() {} 416 417 func (x *Udf) ProtoReflect() protoreflect.Message { 418 mi := &file_udf_proto_msgTypes[2] 419 if protoimpl.UnsafeEnabled && x != nil { 420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 421 if ms.LoadMessageInfo() == nil { 422 ms.StoreMessageInfo(mi) 423 } 424 return ms 425 } 426 return mi.MessageOf(x) 427 } 428 429 // Deprecated: Use Udf.ProtoReflect.Descriptor instead. 430 func (*Udf) Descriptor() ([]byte, []int) { 431 return file_udf_proto_rawDescGZIP(), []int{2} 432 } 433 434 func (x *Udf) GetHandler() string { 435 if x != nil { 436 return x.Handler 437 } 438 return "" 439 } 440 441 func (x *Udf) GetIsImport() bool { 442 if x != nil { 443 return x.IsImport 444 } 445 return false 446 } 447 448 func (x *Udf) GetBody() string { 449 if x != nil { 450 return x.Body 451 } 452 return "" 453 } 454 455 func (x *Udf) GetImportPkg() *Package { 456 if x != nil { 457 return x.ImportPkg 458 } 459 return nil 460 } 461 462 func (x *Udf) GetRetType() DataType { 463 if x != nil { 464 return x.RetType 465 } 466 return DataType_UNKNOWN 467 } 468 469 func (x *Udf) GetLanguage() string { 470 if x != nil { 471 return x.Language 472 } 473 return "" 474 } 475 476 func (x *Udf) GetModifiedTime() string { 477 if x != nil { 478 return x.ModifiedTime 479 } 480 return "" 481 } 482 483 func (x *Udf) GetDb() string { 484 if x != nil { 485 return x.Db 486 } 487 return "" 488 } 489 490 type Package struct { 491 state protoimpl.MessageState 492 sizeCache protoimpl.SizeCache 493 unknownFields protoimpl.UnknownFields 494 495 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 496 Last bool `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"` 497 } 498 499 func (x *Package) Reset() { 500 *x = Package{} 501 if protoimpl.UnsafeEnabled { 502 mi := &file_udf_proto_msgTypes[3] 503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 504 ms.StoreMessageInfo(mi) 505 } 506 } 507 508 func (x *Package) String() string { 509 return protoimpl.X.MessageStringOf(x) 510 } 511 512 func (*Package) ProtoMessage() {} 513 514 func (x *Package) ProtoReflect() protoreflect.Message { 515 mi := &file_udf_proto_msgTypes[3] 516 if protoimpl.UnsafeEnabled && x != nil { 517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 518 if ms.LoadMessageInfo() == nil { 519 ms.StoreMessageInfo(mi) 520 } 521 return ms 522 } 523 return mi.MessageOf(x) 524 } 525 526 // Deprecated: Use Package.ProtoReflect.Descriptor instead. 527 func (*Package) Descriptor() ([]byte, []int) { 528 return file_udf_proto_rawDescGZIP(), []int{3} 529 } 530 531 func (x *Package) GetData() []byte { 532 if x != nil { 533 return x.Data 534 } 535 return nil 536 } 537 538 func (x *Package) GetLast() bool { 539 if x != nil { 540 return x.Last 541 } 542 return false 543 } 544 545 type DataVector struct { 546 state protoimpl.MessageState 547 sizeCache protoimpl.SizeCache 548 unknownFields protoimpl.UnknownFields 549 550 Data []*Data `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` 551 Const bool `protobuf:"varint,2,opt,name=const,proto3" json:"const,omitempty"` 552 Length int64 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` 553 Type DataType `protobuf:"varint,4,opt,name=type,proto3,enum=udf.DataType" json:"type,omitempty"` 554 Scale int32 `protobuf:"varint,5,opt,name=scale,proto3" json:"scale,omitempty"` 555 } 556 557 func (x *DataVector) Reset() { 558 *x = DataVector{} 559 if protoimpl.UnsafeEnabled { 560 mi := &file_udf_proto_msgTypes[4] 561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 562 ms.StoreMessageInfo(mi) 563 } 564 } 565 566 func (x *DataVector) String() string { 567 return protoimpl.X.MessageStringOf(x) 568 } 569 570 func (*DataVector) ProtoMessage() {} 571 572 func (x *DataVector) ProtoReflect() protoreflect.Message { 573 mi := &file_udf_proto_msgTypes[4] 574 if protoimpl.UnsafeEnabled && x != nil { 575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 576 if ms.LoadMessageInfo() == nil { 577 ms.StoreMessageInfo(mi) 578 } 579 return ms 580 } 581 return mi.MessageOf(x) 582 } 583 584 // Deprecated: Use DataVector.ProtoReflect.Descriptor instead. 585 func (*DataVector) Descriptor() ([]byte, []int) { 586 return file_udf_proto_rawDescGZIP(), []int{4} 587 } 588 589 func (x *DataVector) GetData() []*Data { 590 if x != nil { 591 return x.Data 592 } 593 return nil 594 } 595 596 func (x *DataVector) GetConst() bool { 597 if x != nil { 598 return x.Const 599 } 600 return false 601 } 602 603 func (x *DataVector) GetLength() int64 { 604 if x != nil { 605 return x.Length 606 } 607 return 0 608 } 609 610 func (x *DataVector) GetType() DataType { 611 if x != nil { 612 return x.Type 613 } 614 return DataType_UNKNOWN 615 } 616 617 func (x *DataVector) GetScale() int32 { 618 if x != nil { 619 return x.Scale 620 } 621 return 0 622 } 623 624 type Data struct { 625 state protoimpl.MessageState 626 sizeCache protoimpl.SizeCache 627 unknownFields protoimpl.UnknownFields 628 629 // Types that are assignable to Val: 630 // 631 // *Data_BoolVal 632 // *Data_IntVal 633 // *Data_Int64Val 634 // *Data_UintVal 635 // *Data_Uint64Val 636 // *Data_FloatVal 637 // *Data_DoubleVal 638 // *Data_StringVal 639 // *Data_BytesVal 640 Val isData_Val `protobuf_oneof:"val"` 641 } 642 643 func (x *Data) Reset() { 644 *x = Data{} 645 if protoimpl.UnsafeEnabled { 646 mi := &file_udf_proto_msgTypes[5] 647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 648 ms.StoreMessageInfo(mi) 649 } 650 } 651 652 func (x *Data) String() string { 653 return protoimpl.X.MessageStringOf(x) 654 } 655 656 func (*Data) ProtoMessage() {} 657 658 func (x *Data) ProtoReflect() protoreflect.Message { 659 mi := &file_udf_proto_msgTypes[5] 660 if protoimpl.UnsafeEnabled && x != nil { 661 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 662 if ms.LoadMessageInfo() == nil { 663 ms.StoreMessageInfo(mi) 664 } 665 return ms 666 } 667 return mi.MessageOf(x) 668 } 669 670 // Deprecated: Use Data.ProtoReflect.Descriptor instead. 671 func (*Data) Descriptor() ([]byte, []int) { 672 return file_udf_proto_rawDescGZIP(), []int{5} 673 } 674 675 func (m *Data) GetVal() isData_Val { 676 if m != nil { 677 return m.Val 678 } 679 return nil 680 } 681 682 func (x *Data) GetBoolVal() bool { 683 if x, ok := x.GetVal().(*Data_BoolVal); ok { 684 return x.BoolVal 685 } 686 return false 687 } 688 689 func (x *Data) GetIntVal() int32 { 690 if x, ok := x.GetVal().(*Data_IntVal); ok { 691 return x.IntVal 692 } 693 return 0 694 } 695 696 func (x *Data) GetInt64Val() int64 { 697 if x, ok := x.GetVal().(*Data_Int64Val); ok { 698 return x.Int64Val 699 } 700 return 0 701 } 702 703 func (x *Data) GetUintVal() uint32 { 704 if x, ok := x.GetVal().(*Data_UintVal); ok { 705 return x.UintVal 706 } 707 return 0 708 } 709 710 func (x *Data) GetUint64Val() uint64 { 711 if x, ok := x.GetVal().(*Data_Uint64Val); ok { 712 return x.Uint64Val 713 } 714 return 0 715 } 716 717 func (x *Data) GetFloatVal() float32 { 718 if x, ok := x.GetVal().(*Data_FloatVal); ok { 719 return x.FloatVal 720 } 721 return 0 722 } 723 724 func (x *Data) GetDoubleVal() float64 { 725 if x, ok := x.GetVal().(*Data_DoubleVal); ok { 726 return x.DoubleVal 727 } 728 return 0 729 } 730 731 func (x *Data) GetStringVal() string { 732 if x, ok := x.GetVal().(*Data_StringVal); ok { 733 return x.StringVal 734 } 735 return "" 736 } 737 738 func (x *Data) GetBytesVal() []byte { 739 if x, ok := x.GetVal().(*Data_BytesVal); ok { 740 return x.BytesVal 741 } 742 return nil 743 } 744 745 type isData_Val interface { 746 isData_Val() 747 } 748 749 type Data_BoolVal struct { 750 BoolVal bool `protobuf:"varint,1,opt,name=boolVal,proto3,oneof"` // bool 751 } 752 753 type Data_IntVal struct { 754 IntVal int32 `protobuf:"zigzag32,2,opt,name=intVal,proto3,oneof"` // int8, int16, int32 755 } 756 757 type Data_Int64Val struct { 758 Int64Val int64 `protobuf:"zigzag64,3,opt,name=int64Val,proto3,oneof"` // int64 759 } 760 761 type Data_UintVal struct { 762 UintVal uint32 `protobuf:"varint,4,opt,name=uintVal,proto3,oneof"` // uint8, uint16, uint32 763 } 764 765 type Data_Uint64Val struct { 766 Uint64Val uint64 `protobuf:"varint,5,opt,name=uint64Val,proto3,oneof"` // uint64 767 } 768 769 type Data_FloatVal struct { 770 FloatVal float32 `protobuf:"fixed32,6,opt,name=floatVal,proto3,oneof"` // float32 771 } 772 773 type Data_DoubleVal struct { 774 DoubleVal float64 `protobuf:"fixed64,7,opt,name=doubleVal,proto3,oneof"` // float64 775 } 776 777 type Data_StringVal struct { 778 StringVal string `protobuf:"bytes,8,opt,name=stringVal,proto3,oneof"` // char, varchar, text, json, uuid | time, date, datetime, timestamp | Decimal64, Decimal128 779 } 780 781 type Data_BytesVal struct { 782 BytesVal []byte `protobuf:"bytes,9,opt,name=bytesVal,proto3,oneof"` // binary, varbinary, blob 783 } 784 785 func (*Data_BoolVal) isData_Val() {} 786 787 func (*Data_IntVal) isData_Val() {} 788 789 func (*Data_Int64Val) isData_Val() {} 790 791 func (*Data_UintVal) isData_Val() {} 792 793 func (*Data_Uint64Val) isData_Val() {} 794 795 func (*Data_FloatVal) isData_Val() {} 796 797 func (*Data_DoubleVal) isData_Val() {} 798 799 func (*Data_StringVal) isData_Val() {} 800 801 func (*Data_BytesVal) isData_Val() {} 802 803 var File_udf_proto protoreflect.FileDescriptor 804 805 var file_udf_proto_rawDesc = []byte{ 806 0x0a, 0x09, 0x75, 0x64, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x75, 0x64, 0x66, 807 0x22, 0xff, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x03, 808 0x75, 0x64, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x75, 0x64, 0x66, 0x2e, 809 0x55, 0x64, 0x66, 0x52, 0x03, 0x75, 0x64, 0x66, 0x12, 0x29, 0x0a, 0x07, 0x76, 0x65, 0x63, 0x74, 810 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x75, 0x64, 0x66, 0x2e, 811 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65, 0x63, 0x74, 812 0x6f, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 813 0x01, 0x28, 0x03, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x04, 0x74, 814 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x75, 0x64, 0x66, 0x2e, 815 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 816 0x65, 0x12, 0x33, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x03, 817 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x75, 0x64, 0x66, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 818 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 819 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x3a, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 820 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 821 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 822 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 823 0x38, 0x01, 0x22, 0x5a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 824 0x0a, 0x06, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 825 0x2e, 0x75, 0x64, 0x66, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 826 0x06, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 827 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x75, 0x64, 0x66, 0x2e, 0x52, 0x65, 0x73, 0x70, 828 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xf4, 829 0x01, 0x0a, 0x03, 0x55, 0x64, 0x66, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 830 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 831 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 832 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 833 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 834 0x12, 0x2a, 0x0a, 0x09, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x6b, 0x67, 0x18, 0x04, 0x20, 835 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x75, 0x64, 0x66, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 836 0x65, 0x52, 0x09, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x6b, 0x67, 0x12, 0x27, 0x0a, 0x07, 837 0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 838 0x75, 0x64, 0x66, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x72, 0x65, 839 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 840 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 841 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 842 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 843 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 844 0x09, 0x52, 0x02, 0x64, 0x62, 0x22, 0x31, 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 845 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 846 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 847 0x28, 0x08, 0x52, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x22, 0x92, 0x01, 0x0a, 0x0a, 0x44, 0x61, 0x74, 848 0x61, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 849 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x75, 0x64, 0x66, 0x2e, 0x44, 0x61, 0x74, 0x61, 850 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 851 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 852 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6c, 0x65, 853 0x6e, 0x67, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 854 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x75, 0x64, 0x66, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 855 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 856 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x99, 0x02, 857 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 858 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 859 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 860 0x28, 0x11, 0x48, 0x00, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x08, 861 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x48, 0x00, 862 0x52, 0x08, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x07, 0x75, 0x69, 863 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x07, 0x75, 864 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x09, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 865 0x56, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x09, 0x75, 0x69, 0x6e, 866 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x08, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x56, 867 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x61, 868 0x74, 0x56, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x09, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 869 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x09, 0x64, 0x6f, 0x75, 0x62, 0x6c, 870 0x65, 0x56, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 871 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x74, 0x72, 0x69, 0x6e, 872 0x67, 0x56, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x08, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 873 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56, 874 0x61, 0x6c, 0x42, 0x05, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x2a, 0x43, 0x0a, 0x0b, 0x52, 0x65, 0x71, 875 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x6e, 0x6b, 0x6e, 876 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 877 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0x01, 0x12, 0x0f, 0x0a, 878 0x0b, 0x50, 0x6b, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x10, 0x02, 0x2a, 0x45, 879 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 880 0x0a, 0x0f, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 881 0x65, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 882 0x6e, 0x73, 0x65, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x6b, 0x67, 0x52, 0x65, 0x71, 0x75, 883 0x65, 0x73, 0x74, 0x10, 0x02, 0x2a, 0xbf, 0x02, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 884 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 885 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 886 0x38, 0x10, 0x14, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x15, 0x12, 0x09, 887 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x16, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 888 0x36, 0x34, 0x10, 0x17, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x1e, 0x12, 889 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x55, 890 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x20, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 891 0x34, 0x10, 0x21, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x28, 892 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x29, 0x12, 0x08, 0x0a, 893 0x04, 0x43, 0x48, 0x41, 0x52, 0x10, 0x32, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x41, 0x52, 0x43, 0x48, 894 0x41, 0x52, 0x10, 0x33, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x34, 0x12, 0x08, 895 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x35, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 896 0x10, 0x36, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x3c, 0x12, 0x08, 0x0a, 0x04, 897 0x44, 0x41, 0x54, 0x45, 0x10, 0x3d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 898 0x4d, 0x45, 0x10, 0x3e, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 899 0x50, 0x10, 0x3f, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x36, 0x34, 900 0x10, 0x46, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31, 0x32, 0x38, 901 0x10, 0x47, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x50, 0x12, 0x0d, 902 0x0a, 0x09, 0x56, 0x41, 0x52, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x51, 0x12, 0x08, 0x0a, 903 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x52, 0x32, 0x33, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 904 0x63, 0x65, 0x12, 0x28, 0x0a, 0x03, 0x72, 0x75, 0x6e, 0x12, 0x0c, 0x2e, 0x75, 0x64, 0x66, 0x2e, 905 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x75, 0x64, 0x66, 0x2e, 0x52, 0x65, 906 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x2b, 0x5a, 0x29, 907 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x61, 0x74, 0x72, 0x69, 908 0x78, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x6f, 0x6e, 909 0x65, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x75, 0x64, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 910 0x33, 911 } 912 913 var ( 914 file_udf_proto_rawDescOnce sync.Once 915 file_udf_proto_rawDescData = file_udf_proto_rawDesc 916 ) 917 918 func file_udf_proto_rawDescGZIP() []byte { 919 file_udf_proto_rawDescOnce.Do(func() { 920 file_udf_proto_rawDescData = protoimpl.X.CompressGZIP(file_udf_proto_rawDescData) 921 }) 922 return file_udf_proto_rawDescData 923 } 924 925 var file_udf_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 926 var file_udf_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 927 var file_udf_proto_goTypes = []interface{}{ 928 (RequestType)(0), // 0: udf.RequestType 929 (ResponseType)(0), // 1: udf.ResponseType 930 (DataType)(0), // 2: udf.DataType 931 (*Request)(nil), // 3: udf.Request 932 (*Response)(nil), // 4: udf.Response 933 (*Udf)(nil), // 5: udf.Udf 934 (*Package)(nil), // 6: udf.Package 935 (*DataVector)(nil), // 7: udf.DataVector 936 (*Data)(nil), // 8: udf.Data 937 nil, // 9: udf.Request.ContextEntry 938 } 939 var file_udf_proto_depIdxs = []int32{ 940 5, // 0: udf.Request.udf:type_name -> udf.Udf 941 7, // 1: udf.Request.vectors:type_name -> udf.DataVector 942 0, // 2: udf.Request.type:type_name -> udf.RequestType 943 9, // 3: udf.Request.context:type_name -> udf.Request.ContextEntry 944 7, // 4: udf.Response.vector:type_name -> udf.DataVector 945 1, // 5: udf.Response.type:type_name -> udf.ResponseType 946 6, // 6: udf.Udf.importPkg:type_name -> udf.Package 947 2, // 7: udf.Udf.retType:type_name -> udf.DataType 948 8, // 8: udf.DataVector.data:type_name -> udf.Data 949 2, // 9: udf.DataVector.type:type_name -> udf.DataType 950 3, // 10: udf.Service.run:input_type -> udf.Request 951 4, // 11: udf.Service.run:output_type -> udf.Response 952 11, // [11:12] is the sub-list for method output_type 953 10, // [10:11] is the sub-list for method input_type 954 10, // [10:10] is the sub-list for extension type_name 955 10, // [10:10] is the sub-list for extension extendee 956 0, // [0:10] is the sub-list for field type_name 957 } 958 959 func init() { file_udf_proto_init() } 960 func file_udf_proto_init() { 961 if File_udf_proto != nil { 962 return 963 } 964 if !protoimpl.UnsafeEnabled { 965 file_udf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 966 switch v := v.(*Request); i { 967 case 0: 968 return &v.state 969 case 1: 970 return &v.sizeCache 971 case 2: 972 return &v.unknownFields 973 default: 974 return nil 975 } 976 } 977 file_udf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 978 switch v := v.(*Response); i { 979 case 0: 980 return &v.state 981 case 1: 982 return &v.sizeCache 983 case 2: 984 return &v.unknownFields 985 default: 986 return nil 987 } 988 } 989 file_udf_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 990 switch v := v.(*Udf); i { 991 case 0: 992 return &v.state 993 case 1: 994 return &v.sizeCache 995 case 2: 996 return &v.unknownFields 997 default: 998 return nil 999 } 1000 } 1001 file_udf_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1002 switch v := v.(*Package); i { 1003 case 0: 1004 return &v.state 1005 case 1: 1006 return &v.sizeCache 1007 case 2: 1008 return &v.unknownFields 1009 default: 1010 return nil 1011 } 1012 } 1013 file_udf_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1014 switch v := v.(*DataVector); i { 1015 case 0: 1016 return &v.state 1017 case 1: 1018 return &v.sizeCache 1019 case 2: 1020 return &v.unknownFields 1021 default: 1022 return nil 1023 } 1024 } 1025 file_udf_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1026 switch v := v.(*Data); i { 1027 case 0: 1028 return &v.state 1029 case 1: 1030 return &v.sizeCache 1031 case 2: 1032 return &v.unknownFields 1033 default: 1034 return nil 1035 } 1036 } 1037 } 1038 file_udf_proto_msgTypes[5].OneofWrappers = []interface{}{ 1039 (*Data_BoolVal)(nil), 1040 (*Data_IntVal)(nil), 1041 (*Data_Int64Val)(nil), 1042 (*Data_UintVal)(nil), 1043 (*Data_Uint64Val)(nil), 1044 (*Data_FloatVal)(nil), 1045 (*Data_DoubleVal)(nil), 1046 (*Data_StringVal)(nil), 1047 (*Data_BytesVal)(nil), 1048 } 1049 type x struct{} 1050 out := protoimpl.TypeBuilder{ 1051 File: protoimpl.DescBuilder{ 1052 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1053 RawDescriptor: file_udf_proto_rawDesc, 1054 NumEnums: 3, 1055 NumMessages: 7, 1056 NumExtensions: 0, 1057 NumServices: 1, 1058 }, 1059 GoTypes: file_udf_proto_goTypes, 1060 DependencyIndexes: file_udf_proto_depIdxs, 1061 EnumInfos: file_udf_proto_enumTypes, 1062 MessageInfos: file_udf_proto_msgTypes, 1063 }.Build() 1064 File_udf_proto = out.File 1065 file_udf_proto_rawDesc = nil 1066 file_udf_proto_goTypes = nil 1067 file_udf_proto_depIdxs = nil 1068 }