From 6a7d2c4b0358b2ffb443f69b5ba43ad669b70802 Mon Sep 17 00:00:00 2001 From: Michael McGuinness Date: Fri, 10 Jan 2025 13:45:07 +0000 Subject: [PATCH] Merged in bugfix/interfacessubmodule (pull request #12) Remove Submodule * removesubmodule --- .gitignore | 8 - api/serviceInterfaces | 1 - api/serviceInterfaces/main.pb.go | 889 ++++++++++++++++++++++++++ api/serviceInterfaces/main_grpc.pb.go | 549 ++++++++++++++++ 4 files changed, 1438 insertions(+), 9 deletions(-) delete mode 160000 api/serviceInterfaces create mode 100644 api/serviceInterfaces/main.pb.go create mode 100644 api/serviceInterfaces/main_grpc.pb.go diff --git a/.gitignore b/.gitignore index dfd31e9a..759b9784 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,6 @@ -# These are some examples of commonly ignored file patterns. -# You should customize this list as applicable to your project. -# Learn more about .gitignore: -# https://www.atlassian.com/git/tutorials/saving-changes/gitignore - # Ignore the binary files generated by `go build` /main -# Dependency directories (uncomment if using vendoring) -# vendor/ - # Ignore Go workspace files *.swp *.swo diff --git a/api/serviceInterfaces b/api/serviceInterfaces deleted file mode 160000 index 6da8d1c2..00000000 --- a/api/serviceInterfaces +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6da8d1c276b875f3e4a1bc2fe3efeb5c764e8e06 diff --git a/api/serviceInterfaces/main.pb.go b/api/serviceInterfaces/main.pb.go new file mode 100644 index 00000000..1fb815dc --- /dev/null +++ b/api/serviceInterfaces/main.pb.go @@ -0,0 +1,889 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.1 +// protoc v5.28.3 +// source: main.proto + +package serviceinterfaces + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QueryType int32 + +const ( + QueryType_QUERY_TYPE_UNSPECIFIED QueryType = 0 + QueryType_QUERY_TYPE_JSON_EXTRACTOR QueryType = 1 + QueryType_QUERY_TYPE_CONTEXT_FULL QueryType = 2 +) + +// Enum value maps for QueryType. +var ( + QueryType_name = map[int32]string{ + 0: "QUERY_TYPE_UNSPECIFIED", + 1: "QUERY_TYPE_JSON_EXTRACTOR", + 2: "QUERY_TYPE_CONTEXT_FULL", + } + QueryType_value = map[string]int32{ + "QUERY_TYPE_UNSPECIFIED": 0, + "QUERY_TYPE_JSON_EXTRACTOR": 1, + "QUERY_TYPE_CONTEXT_FULL": 2, + } +) + +func (x QueryType) Enum() *QueryType { + p := new(QueryType) + *p = x + return p +} + +func (x QueryType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QueryType) Descriptor() protoreflect.EnumDescriptor { + return file_main_proto_enumTypes[0].Descriptor() +} + +func (QueryType) Type() protoreflect.EnumType { + return &file_main_proto_enumTypes[0] +} + +func (x QueryType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use QueryType.Descriptor instead. +func (QueryType) EnumDescriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{0} +} + +type QueryTestRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + QueryId string `protobuf:"bytes,1,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` + QueryVersion int32 `protobuf:"varint,3,opt,name=query_version,json=queryVersion,proto3" json:"query_version,omitempty"` +} + +func (x *QueryTestRequest) Reset() { + *x = QueryTestRequest{} + mi := &file_main_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryTestRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryTestRequest) ProtoMessage() {} + +func (x *QueryTestRequest) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryTestRequest.ProtoReflect.Descriptor instead. +func (*QueryTestRequest) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{0} +} + +func (x *QueryTestRequest) GetQueryId() string { + if x != nil { + return x.QueryId + } + return "" +} + +func (x *QueryTestRequest) GetDocumentId() string { + if x != nil { + return x.DocumentId + } + return "" +} + +func (x *QueryTestRequest) GetQueryVersion() int32 { + if x != nil { + return x.QueryVersion + } + return 0 +} + +type QueryTestResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *QueryTestResponse) Reset() { + *x = QueryTestResponse{} + mi := &file_main_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryTestResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryTestResponse) ProtoMessage() {} + +func (x *QueryTestResponse) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryTestResponse.ProtoReflect.Descriptor instead. +func (*QueryTestResponse) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{1} +} + +func (x *QueryTestResponse) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type Query struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Type QueryType `protobuf:"varint,2,opt,name=type,proto3,enum=queryorchestration.QueryType" json:"type,omitempty"` + ActiveVersion int32 `protobuf:"varint,3,opt,name=active_version,json=activeVersion,proto3" json:"active_version,omitempty"` + LatestVersion int32 `protobuf:"varint,4,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"` + Config *string `protobuf:"bytes,5,opt,name=config,proto3,oneof" json:"config,omitempty"` + RequiredQueries []string `protobuf:"bytes,6,rep,name=required_queries,json=requiredQueries,proto3" json:"required_queries,omitempty"` +} + +func (x *Query) Reset() { + *x = Query{} + mi := &file_main_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Query) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Query) ProtoMessage() {} + +func (x *Query) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Query.ProtoReflect.Descriptor instead. +func (*Query) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{2} +} + +func (x *Query) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *Query) GetType() QueryType { + if x != nil { + return x.Type + } + return QueryType_QUERY_TYPE_UNSPECIFIED +} + +func (x *Query) GetActiveVersion() int32 { + if x != nil { + return x.ActiveVersion + } + return 0 +} + +func (x *Query) GetLatestVersion() int32 { + if x != nil { + return x.LatestVersion + } + return 0 +} + +func (x *Query) GetConfig() string { + if x != nil && x.Config != nil { + return *x.Config + } + return "" +} + +func (x *Query) GetRequiredQueries() []string { + if x != nil { + return x.RequiredQueries + } + return nil +} + +type QueryFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Types []QueryType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=queryorchestration.QueryType" json:"types,omitempty"` +} + +func (x *QueryFilter) Reset() { + *x = QueryFilter{} + mi := &file_main_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryFilter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryFilter) ProtoMessage() {} + +func (x *QueryFilter) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryFilter.ProtoReflect.Descriptor instead. +func (*QueryFilter) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{3} +} + +func (x *QueryFilter) GetTypes() []QueryType { + if x != nil { + return x.Types + } + return nil +} + +type QueryCreate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type QueryType `protobuf:"varint,1,opt,name=type,proto3,enum=queryorchestration.QueryType" json:"type,omitempty"` + Config *string `protobuf:"bytes,2,opt,name=config,proto3,oneof" json:"config,omitempty"` + RequiredQueries []string `protobuf:"bytes,3,rep,name=required_queries,json=requiredQueries,proto3" json:"required_queries,omitempty"` +} + +func (x *QueryCreate) Reset() { + *x = QueryCreate{} + mi := &file_main_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryCreate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryCreate) ProtoMessage() {} + +func (x *QueryCreate) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryCreate.ProtoReflect.Descriptor instead. +func (*QueryCreate) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{4} +} + +func (x *QueryCreate) GetType() QueryType { + if x != nil { + return x.Type + } + return QueryType_QUERY_TYPE_UNSPECIFIED +} + +func (x *QueryCreate) GetConfig() string { + if x != nil && x.Config != nil { + return *x.Config + } + return "" +} + +func (x *QueryCreate) GetRequiredQueries() []string { + if x != nil { + return x.RequiredQueries + } + return nil +} + +type QueryUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Config *string `protobuf:"bytes,2,opt,name=config,proto3,oneof" json:"config,omitempty"` + ActiveVersion *int32 `protobuf:"varint,3,opt,name=active_version,json=activeVersion,proto3,oneof" json:"active_version,omitempty"` + RequiredQueries []string `protobuf:"bytes,4,rep,name=required_queries,json=requiredQueries,proto3" json:"required_queries,omitempty"` +} + +func (x *QueryUpdate) Reset() { + *x = QueryUpdate{} + mi := &file_main_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *QueryUpdate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryUpdate) ProtoMessage() {} + +func (x *QueryUpdate) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QueryUpdate.ProtoReflect.Descriptor instead. +func (*QueryUpdate) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{5} +} + +func (x *QueryUpdate) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *QueryUpdate) GetConfig() string { + if x != nil && x.Config != nil { + return *x.Config + } + return "" +} + +func (x *QueryUpdate) GetActiveVersion() int32 { + if x != nil && x.ActiveVersion != nil { + return *x.ActiveVersion + } + return 0 +} + +func (x *QueryUpdate) GetRequiredQueries() []string { + if x != nil { + return x.RequiredQueries + } + return nil +} + +type Queries struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Queries []*Query `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` +} + +func (x *Queries) Reset() { + *x = Queries{} + mi := &file_main_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Queries) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Queries) ProtoMessage() {} + +func (x *Queries) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Queries.ProtoReflect.Descriptor instead. +func (*Queries) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{6} +} + +func (x *Queries) GetQueries() []*Query { + if x != nil { + return x.Queries + } + return nil +} + +type JobCollector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *JobCollector) Reset() { + *x = JobCollector{} + mi := &file_main_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *JobCollector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JobCollector) ProtoMessage() {} + +func (x *JobCollector) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use JobCollector.ProtoReflect.Descriptor instead. +func (*JobCollector) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{7} +} + +type JobCollectorCreate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *JobCollectorCreate) Reset() { + *x = JobCollectorCreate{} + mi := &file_main_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *JobCollectorCreate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JobCollectorCreate) ProtoMessage() {} + +func (x *JobCollectorCreate) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use JobCollectorCreate.ProtoReflect.Descriptor instead. +func (*JobCollectorCreate) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{8} +} + +type JobCollectorUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *JobCollectorUpdate) Reset() { + *x = JobCollectorUpdate{} + mi := &file_main_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *JobCollectorUpdate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*JobCollectorUpdate) ProtoMessage() {} + +func (x *JobCollectorUpdate) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use JobCollectorUpdate.ProtoReflect.Descriptor instead. +func (*JobCollectorUpdate) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{9} +} + +type ExportTrigger struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ExportTrigger) Reset() { + *x = ExportTrigger{} + mi := &file_main_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ExportTrigger) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExportTrigger) ProtoMessage() {} + +func (x *ExportTrigger) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExportTrigger.ProtoReflect.Descriptor instead. +func (*ExportTrigger) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{10} +} + +type IdMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *IdMessage) Reset() { + *x = IdMessage{} + mi := &file_main_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *IdMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IdMessage) ProtoMessage() {} + +func (x *IdMessage) ProtoReflect() protoreflect.Message { + mi := &file_main_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IdMessage.ProtoReflect.Descriptor instead. +func (*IdMessage) Descriptor() ([]byte, []int) { + return file_main_proto_rawDescGZIP(), []int{11} +} + +func (x *IdMessage) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +var File_main_proto protoreflect.FileDescriptor + +var file_main_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, + 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, + 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, + 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xeb, 0x01, + 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, + 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x88, 0x01, 0x01, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x42, 0x0a, 0x0b, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, + 0x93, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, + 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xaf, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, + 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x0d, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x29, + 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, + 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x0a, 0x07, 0x51, 0x75, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, + 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x4a, 0x6f, 0x62, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x14, 0x0a, 0x12, 0x4a, 0x6f, 0x62, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x22, 0x14, 0x0a, + 0x12, 0x4a, 0x6f, 0x62, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x22, 0x1b, 0x0a, 0x09, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x2a, 0x63, 0x0a, 0x09, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, + 0x0a, 0x16, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x51, 0x55, + 0x45, 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x45, 0x58, + 0x54, 0x52, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x51, 0x55, 0x45, + 0x52, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x5f, + 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xbb, 0x03, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x1f, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x1a, 0x1b, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x3f, 0x0a, + 0x03, 0x47, 0x65, 0x74, 0x12, 0x1d, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, + 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x48, + 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x1d, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, + 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x09, 0x44, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x64, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, + 0x53, 0x0a, 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, + 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf8, 0x01, 0x0a, 0x13, 0x4a, 0x6f, 0x62, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x06, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, + 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x6f, 0x62, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x1d, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x48, 0x0a, + 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, + 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x6f, 0x62, + 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x46, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x1d, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x20, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x4a, 0x6f, 0x62, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x32, + 0x5c, 0x0a, 0x0d, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x4b, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x1a, 0x1d, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x15, 0x5a, + 0x13, 0x2e, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_main_proto_rawDescOnce sync.Once + file_main_proto_rawDescData = file_main_proto_rawDesc +) + +func file_main_proto_rawDescGZIP() []byte { + file_main_proto_rawDescOnce.Do(func() { + file_main_proto_rawDescData = protoimpl.X.CompressGZIP(file_main_proto_rawDescData) + }) + return file_main_proto_rawDescData +} + +var file_main_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_main_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_main_proto_goTypes = []any{ + (QueryType)(0), // 0: queryorchestration.QueryType + (*QueryTestRequest)(nil), // 1: queryorchestration.QueryTestRequest + (*QueryTestResponse)(nil), // 2: queryorchestration.QueryTestResponse + (*Query)(nil), // 3: queryorchestration.Query + (*QueryFilter)(nil), // 4: queryorchestration.QueryFilter + (*QueryCreate)(nil), // 5: queryorchestration.QueryCreate + (*QueryUpdate)(nil), // 6: queryorchestration.QueryUpdate + (*Queries)(nil), // 7: queryorchestration.Queries + (*JobCollector)(nil), // 8: queryorchestration.JobCollector + (*JobCollectorCreate)(nil), // 9: queryorchestration.JobCollectorCreate + (*JobCollectorUpdate)(nil), // 10: queryorchestration.JobCollectorUpdate + (*ExportTrigger)(nil), // 11: queryorchestration.ExportTrigger + (*IdMessage)(nil), // 12: queryorchestration.IdMessage + (*emptypb.Empty)(nil), // 13: google.protobuf.Empty +} +var file_main_proto_depIdxs = []int32{ + 0, // 0: queryorchestration.Query.type:type_name -> queryorchestration.QueryType + 0, // 1: queryorchestration.QueryFilter.types:type_name -> queryorchestration.QueryType + 0, // 2: queryorchestration.QueryCreate.type:type_name -> queryorchestration.QueryType + 3, // 3: queryorchestration.Queries.queries:type_name -> queryorchestration.Query + 4, // 4: queryorchestration.QueryService.List:input_type -> queryorchestration.QueryFilter + 12, // 5: queryorchestration.QueryService.Get:input_type -> queryorchestration.IdMessage + 5, // 6: queryorchestration.QueryService.Create:input_type -> queryorchestration.QueryCreate + 6, // 7: queryorchestration.QueryService.Update:input_type -> queryorchestration.QueryUpdate + 12, // 8: queryorchestration.QueryService.Deprecate:input_type -> queryorchestration.IdMessage + 1, // 9: queryorchestration.QueryService.Test:input_type -> queryorchestration.QueryTestRequest + 9, // 10: queryorchestration.JobCollectorService.Create:input_type -> queryorchestration.JobCollectorCreate + 10, // 11: queryorchestration.JobCollectorService.Update:input_type -> queryorchestration.JobCollectorUpdate + 12, // 12: queryorchestration.JobCollectorService.Get:input_type -> queryorchestration.IdMessage + 11, // 13: queryorchestration.ExportService.Trigger:input_type -> queryorchestration.ExportTrigger + 7, // 14: queryorchestration.QueryService.List:output_type -> queryorchestration.Queries + 3, // 15: queryorchestration.QueryService.Get:output_type -> queryorchestration.Query + 12, // 16: queryorchestration.QueryService.Create:output_type -> queryorchestration.IdMessage + 13, // 17: queryorchestration.QueryService.Update:output_type -> google.protobuf.Empty + 13, // 18: queryorchestration.QueryService.Deprecate:output_type -> google.protobuf.Empty + 2, // 19: queryorchestration.QueryService.Test:output_type -> queryorchestration.QueryTestResponse + 12, // 20: queryorchestration.JobCollectorService.Create:output_type -> queryorchestration.IdMessage + 13, // 21: queryorchestration.JobCollectorService.Update:output_type -> google.protobuf.Empty + 8, // 22: queryorchestration.JobCollectorService.Get:output_type -> queryorchestration.JobCollector + 12, // 23: queryorchestration.ExportService.Trigger:output_type -> queryorchestration.IdMessage + 14, // [14:24] is the sub-list for method output_type + 4, // [4:14] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_main_proto_init() } +func file_main_proto_init() { + if File_main_proto != nil { + return + } + file_main_proto_msgTypes[2].OneofWrappers = []any{} + file_main_proto_msgTypes[4].OneofWrappers = []any{} + file_main_proto_msgTypes[5].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_main_proto_rawDesc, + NumEnums: 1, + NumMessages: 12, + NumExtensions: 0, + NumServices: 3, + }, + GoTypes: file_main_proto_goTypes, + DependencyIndexes: file_main_proto_depIdxs, + EnumInfos: file_main_proto_enumTypes, + MessageInfos: file_main_proto_msgTypes, + }.Build() + File_main_proto = out.File + file_main_proto_rawDesc = nil + file_main_proto_goTypes = nil + file_main_proto_depIdxs = nil +} diff --git a/api/serviceInterfaces/main_grpc.pb.go b/api/serviceInterfaces/main_grpc.pb.go new file mode 100644 index 00000000..6a41ebd3 --- /dev/null +++ b/api/serviceInterfaces/main_grpc.pb.go @@ -0,0 +1,549 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc v5.28.3 +// source: main.proto + +package serviceinterfaces + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + emptypb "google.golang.org/protobuf/types/known/emptypb" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + QueryService_List_FullMethodName = "/queryorchestration.QueryService/List" + QueryService_Get_FullMethodName = "/queryorchestration.QueryService/Get" + QueryService_Create_FullMethodName = "/queryorchestration.QueryService/Create" + QueryService_Update_FullMethodName = "/queryorchestration.QueryService/Update" + QueryService_Deprecate_FullMethodName = "/queryorchestration.QueryService/Deprecate" + QueryService_Test_FullMethodName = "/queryorchestration.QueryService/Test" +) + +// QueryServiceClient is the client API for QueryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type QueryServiceClient interface { + List(ctx context.Context, in *QueryFilter, opts ...grpc.CallOption) (*Queries, error) + Get(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*Query, error) + Create(ctx context.Context, in *QueryCreate, opts ...grpc.CallOption) (*IdMessage, error) + Update(ctx context.Context, in *QueryUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) + Deprecate(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*emptypb.Empty, error) + Test(ctx context.Context, in *QueryTestRequest, opts ...grpc.CallOption) (*QueryTestResponse, error) +} + +type queryServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewQueryServiceClient(cc grpc.ClientConnInterface) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) List(ctx context.Context, in *QueryFilter, opts ...grpc.CallOption) (*Queries, error) { + out := new(Queries) + err := c.cc.Invoke(ctx, QueryService_List_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) Get(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*Query, error) { + out := new(Query) + err := c.cc.Invoke(ctx, QueryService_Get_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) Create(ctx context.Context, in *QueryCreate, opts ...grpc.CallOption) (*IdMessage, error) { + out := new(IdMessage) + err := c.cc.Invoke(ctx, QueryService_Create_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) Update(ctx context.Context, in *QueryUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) + err := c.cc.Invoke(ctx, QueryService_Update_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) Deprecate(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) + err := c.cc.Invoke(ctx, QueryService_Deprecate_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) Test(ctx context.Context, in *QueryTestRequest, opts ...grpc.CallOption) (*QueryTestResponse, error) { + out := new(QueryTestResponse) + err := c.cc.Invoke(ctx, QueryService_Test_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// QueryServiceServer is the server API for QueryService service. +// All implementations must embed UnimplementedQueryServiceServer +// for forward compatibility +type QueryServiceServer interface { + List(context.Context, *QueryFilter) (*Queries, error) + Get(context.Context, *IdMessage) (*Query, error) + Create(context.Context, *QueryCreate) (*IdMessage, error) + Update(context.Context, *QueryUpdate) (*emptypb.Empty, error) + Deprecate(context.Context, *IdMessage) (*emptypb.Empty, error) + Test(context.Context, *QueryTestRequest) (*QueryTestResponse, error) + mustEmbedUnimplementedQueryServiceServer() +} + +// UnimplementedQueryServiceServer must be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (UnimplementedQueryServiceServer) List(context.Context, *QueryFilter) (*Queries, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (UnimplementedQueryServiceServer) Get(context.Context, *IdMessage) (*Query, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (UnimplementedQueryServiceServer) Create(context.Context, *QueryCreate) (*IdMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (UnimplementedQueryServiceServer) Update(context.Context, *QueryUpdate) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (UnimplementedQueryServiceServer) Deprecate(context.Context, *IdMessage) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Deprecate not implemented") +} +func (UnimplementedQueryServiceServer) Test(context.Context, *QueryTestRequest) (*QueryTestResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Test not implemented") +} +func (UnimplementedQueryServiceServer) mustEmbedUnimplementedQueryServiceServer() {} + +// UnsafeQueryServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to QueryServiceServer will +// result in compilation errors. +type UnsafeQueryServiceServer interface { + mustEmbedUnimplementedQueryServiceServer() +} + +func RegisterQueryServiceServer(s grpc.ServiceRegistrar, srv QueryServiceServer) { + s.RegisterService(&QueryService_ServiceDesc, srv) +} + +func _QueryService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryFilter) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_List_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).List(ctx, req.(*QueryFilter)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IdMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_Get_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).Get(ctx, req.(*IdMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryCreate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_Create_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).Create(ctx, req.(*QueryCreate)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryUpdate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_Update_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).Update(ctx, req.(*QueryUpdate)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_Deprecate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IdMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).Deprecate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_Deprecate_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).Deprecate(ctx, req.(*IdMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_Test_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryTestRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).Test(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_Test_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).Test(ctx, req.(*QueryTestRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// QueryService_ServiceDesc is the grpc.ServiceDesc for QueryService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var QueryService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "queryorchestration.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "List", + Handler: _QueryService_List_Handler, + }, + { + MethodName: "Get", + Handler: _QueryService_Get_Handler, + }, + { + MethodName: "Create", + Handler: _QueryService_Create_Handler, + }, + { + MethodName: "Update", + Handler: _QueryService_Update_Handler, + }, + { + MethodName: "Deprecate", + Handler: _QueryService_Deprecate_Handler, + }, + { + MethodName: "Test", + Handler: _QueryService_Test_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "main.proto", +} + +const ( + JobCollectorService_Create_FullMethodName = "/queryorchestration.JobCollectorService/Create" + JobCollectorService_Update_FullMethodName = "/queryorchestration.JobCollectorService/Update" + JobCollectorService_Get_FullMethodName = "/queryorchestration.JobCollectorService/Get" +) + +// JobCollectorServiceClient is the client API for JobCollectorService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type JobCollectorServiceClient interface { + Create(ctx context.Context, in *JobCollectorCreate, opts ...grpc.CallOption) (*IdMessage, error) + Update(ctx context.Context, in *JobCollectorUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) + Get(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*JobCollector, error) +} + +type jobCollectorServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewJobCollectorServiceClient(cc grpc.ClientConnInterface) JobCollectorServiceClient { + return &jobCollectorServiceClient{cc} +} + +func (c *jobCollectorServiceClient) Create(ctx context.Context, in *JobCollectorCreate, opts ...grpc.CallOption) (*IdMessage, error) { + out := new(IdMessage) + err := c.cc.Invoke(ctx, JobCollectorService_Create_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *jobCollectorServiceClient) Update(ctx context.Context, in *JobCollectorUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) + err := c.cc.Invoke(ctx, JobCollectorService_Update_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *jobCollectorServiceClient) Get(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*JobCollector, error) { + out := new(JobCollector) + err := c.cc.Invoke(ctx, JobCollectorService_Get_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// JobCollectorServiceServer is the server API for JobCollectorService service. +// All implementations must embed UnimplementedJobCollectorServiceServer +// for forward compatibility +type JobCollectorServiceServer interface { + Create(context.Context, *JobCollectorCreate) (*IdMessage, error) + Update(context.Context, *JobCollectorUpdate) (*emptypb.Empty, error) + Get(context.Context, *IdMessage) (*JobCollector, error) + mustEmbedUnimplementedJobCollectorServiceServer() +} + +// UnimplementedJobCollectorServiceServer must be embedded to have forward compatible implementations. +type UnimplementedJobCollectorServiceServer struct { +} + +func (UnimplementedJobCollectorServiceServer) Create(context.Context, *JobCollectorCreate) (*IdMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (UnimplementedJobCollectorServiceServer) Update(context.Context, *JobCollectorUpdate) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (UnimplementedJobCollectorServiceServer) Get(context.Context, *IdMessage) (*JobCollector, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (UnimplementedJobCollectorServiceServer) mustEmbedUnimplementedJobCollectorServiceServer() {} + +// UnsafeJobCollectorServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to JobCollectorServiceServer will +// result in compilation errors. +type UnsafeJobCollectorServiceServer interface { + mustEmbedUnimplementedJobCollectorServiceServer() +} + +func RegisterJobCollectorServiceServer(s grpc.ServiceRegistrar, srv JobCollectorServiceServer) { + s.RegisterService(&JobCollectorService_ServiceDesc, srv) +} + +func _JobCollectorService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(JobCollectorCreate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(JobCollectorServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: JobCollectorService_Create_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(JobCollectorServiceServer).Create(ctx, req.(*JobCollectorCreate)) + } + return interceptor(ctx, in, info, handler) +} + +func _JobCollectorService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(JobCollectorUpdate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(JobCollectorServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: JobCollectorService_Update_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(JobCollectorServiceServer).Update(ctx, req.(*JobCollectorUpdate)) + } + return interceptor(ctx, in, info, handler) +} + +func _JobCollectorService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IdMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(JobCollectorServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: JobCollectorService_Get_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(JobCollectorServiceServer).Get(ctx, req.(*IdMessage)) + } + return interceptor(ctx, in, info, handler) +} + +// JobCollectorService_ServiceDesc is the grpc.ServiceDesc for JobCollectorService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var JobCollectorService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "queryorchestration.JobCollectorService", + HandlerType: (*JobCollectorServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Create", + Handler: _JobCollectorService_Create_Handler, + }, + { + MethodName: "Update", + Handler: _JobCollectorService_Update_Handler, + }, + { + MethodName: "Get", + Handler: _JobCollectorService_Get_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "main.proto", +} + +const ( + ExportService_Trigger_FullMethodName = "/queryorchestration.ExportService/Trigger" +) + +// ExportServiceClient is the client API for ExportService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ExportServiceClient interface { + Trigger(ctx context.Context, in *ExportTrigger, opts ...grpc.CallOption) (*IdMessage, error) +} + +type exportServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewExportServiceClient(cc grpc.ClientConnInterface) ExportServiceClient { + return &exportServiceClient{cc} +} + +func (c *exportServiceClient) Trigger(ctx context.Context, in *ExportTrigger, opts ...grpc.CallOption) (*IdMessage, error) { + out := new(IdMessage) + err := c.cc.Invoke(ctx, ExportService_Trigger_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ExportServiceServer is the server API for ExportService service. +// All implementations must embed UnimplementedExportServiceServer +// for forward compatibility +type ExportServiceServer interface { + Trigger(context.Context, *ExportTrigger) (*IdMessage, error) + mustEmbedUnimplementedExportServiceServer() +} + +// UnimplementedExportServiceServer must be embedded to have forward compatible implementations. +type UnimplementedExportServiceServer struct { +} + +func (UnimplementedExportServiceServer) Trigger(context.Context, *ExportTrigger) (*IdMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method Trigger not implemented") +} +func (UnimplementedExportServiceServer) mustEmbedUnimplementedExportServiceServer() {} + +// UnsafeExportServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ExportServiceServer will +// result in compilation errors. +type UnsafeExportServiceServer interface { + mustEmbedUnimplementedExportServiceServer() +} + +func RegisterExportServiceServer(s grpc.ServiceRegistrar, srv ExportServiceServer) { + s.RegisterService(&ExportService_ServiceDesc, srv) +} + +func _ExportService_Trigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ExportTrigger) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ExportServiceServer).Trigger(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ExportService_Trigger_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ExportServiceServer).Trigger(ctx, req.(*ExportTrigger)) + } + return interceptor(ctx, in, info, handler) +} + +// ExportService_ServiceDesc is the grpc.ServiceDesc for ExportService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ExportService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "queryorchestration.ExportService", + HandlerType: (*ExportServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Trigger", + Handler: _ExportService_Trigger_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "main.proto", +}