diff --git a/CHANGELOG.md b/CHANGELOG.md index 40939673..1f000d5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -430,4 +430,13 @@ Bug fixing: ## Release 1.11.3 Bug fixing: -* adding validation for `env` field. \ No newline at end of file +* adding validation for `env` field. + +## Release 1.11.4 +New Features: +#### resource/coralogix_dashboards_folder +* Adding support for `coralogix_dashboards_folder` [resource](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/resources/dashboards_folder.md) and [data-source](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/data-sources/dashboards_folder.md). +#### resource/coralogix_dashboard +* Adding support for `folder`, `annotations` fields. +* Adding support for `data_prime` for `bar_chart`, `data_table` and `pie_chart` widgets. +* adding validation for `env` field. diff --git a/coralogix/clientset/clientset.go b/coralogix/clientset/clientset.go index f864f03a..431996df 100644 --- a/coralogix/clientset/clientset.go +++ b/coralogix/clientset/clientset.go @@ -19,6 +19,7 @@ type ClientSet struct { alertsSchedulers *AlertsSchedulersClient teams *TeamsClient slos *SLOsClient + dahboardsFolders *DashboardsFoldersClient } func (c *ClientSet) RuleGroups() *RuleGroupsClient { @@ -93,6 +94,10 @@ func (c *ClientSet) SLOs() *SLOsClient { return c.slos } +func (c *ClientSet) DashboardsFolders() *DashboardsFoldersClient { + return c.dahboardsFolders +} + func NewClientSet(targetUrl, apiKey, orgKey string) *ClientSet { apikeyCPC := NewCallPropertiesCreator(targetUrl, apiKey) teamsCPC := NewCallPropertiesCreator(targetUrl, orgKey) @@ -116,5 +121,6 @@ func NewClientSet(targetUrl, apiKey, orgKey string) *ClientSet { alertsSchedulers: NewAlertsSchedulersClient(apikeyCPC), teams: NewTeamsClient(teamsCPC), slos: NewSLOsClient(apikeyCPC), + dahboardsFolders: NewDashboardsFoldersClient(apikeyCPC), } } diff --git a/coralogix/clientset/dashboard-folders-client.go b/coralogix/clientset/dashboard-folders-client.go new file mode 100644 index 00000000..3c8bf4f8 --- /dev/null +++ b/coralogix/clientset/dashboard-folders-client.go @@ -0,0 +1,67 @@ +package clientset + +import ( + "context" + + dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" +) + +type DashboardsFoldersClient struct { + callPropertiesCreator *CallPropertiesCreator +} + +func (c DashboardsFoldersClient) CreateDashboardsFolder(ctx context.Context, req *dashboards.CreateDashboardFolderRequest) (*dashboards.CreateDashboardFolderResponse, error) { + callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) + if err != nil { + return nil, err + } + + conn := callProperties.Connection + defer conn.Close() + client := dashboards.NewDashboardFoldersServiceClient(conn) + + return client.CreateDashboardFolder(callProperties.Ctx, req, callProperties.CallOptions...) +} + +func (c DashboardsFoldersClient) GetDashboardsFolders(ctx context.Context, req *dashboards.ListDashboardFoldersRequest) (*dashboards.ListDashboardFoldersResponse, error) { + callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) + if err != nil { + return nil, err + } + + conn := callProperties.Connection + defer conn.Close() + client := dashboards.NewDashboardFoldersServiceClient(conn) + + return client.ListDashboardFolders(callProperties.Ctx, req, callProperties.CallOptions...) +} + +func (c DashboardsFoldersClient) UpdateDashboardsFolder(ctx context.Context, req *dashboards.ReplaceDashboardFolderRequest) (*dashboards.ReplaceDashboardFolderResponse, error) { + callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) + if err != nil { + return nil, err + } + + conn := callProperties.Connection + defer conn.Close() + client := dashboards.NewDashboardFoldersServiceClient(conn) + + return client.ReplaceDashboardFolder(callProperties.Ctx, req, callProperties.CallOptions...) +} + +func (c DashboardsFoldersClient) DeleteDashboardsFolder(ctx context.Context, req *dashboards.DeleteDashboardFolderRequest) (*dashboards.DeleteDashboardFolderResponse, error) { + callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) + if err != nil { + return nil, err + } + + conn := callProperties.Connection + defer conn.Close() + client := dashboards.NewDashboardFoldersServiceClient(conn) + + return client.DeleteDashboardFolder(callProperties.Ctx, req, callProperties.CallOptions...) +} + +func NewDashboardsFoldersClient(c *CallPropertiesCreator) *DashboardsFoldersClient { + return &DashboardsFoldersClient{callPropertiesCreator: c} +} diff --git a/coralogix/clientset/dashboards-client.go b/coralogix/clientset/dashboards-client.go index 5f60b29b..e20afc67 100644 --- a/coralogix/clientset/dashboards-client.go +++ b/coralogix/clientset/dashboards-client.go @@ -3,7 +3,7 @@ package clientset import ( "context" - dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/coralogix-dashboards/v1" + dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" ) type DashboardsClient struct { diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard.pb.go b/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard.pb.go deleted file mode 100644 index 09bc7291..00000000 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard.pb.go +++ /dev/null @@ -1,312 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogixapis/dashboards/v1/ast/dashboard.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - 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) -) - -// Dashboard represents the structure and configuration of a Coralogix Custom Dashboard. -type Dashboard struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Unique identifier for the dashboard. - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Display name of the dashboard. - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // Brief description or summary of the dashboard's purpose or content. - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Layout configuration for the dashboard's visual elements. - Layout *Layout `protobuf:"bytes,4,opt,name=layout,proto3" json:"layout,omitempty"` - // List of variables that can be used within the dashboard for dynamic content. - Variables []*Variable `protobuf:"bytes,5,rep,name=variables,proto3" json:"variables,omitempty"` - // List of filters that can be applied to the dashboard's data. - Filters []*Filter `protobuf:"bytes,6,rep,name=filters,proto3" json:"filters,omitempty"` - // Specifies the time frame for the dashboard's data. Can be either absolute or relative. - // - // Types that are assignable to TimeFrame: - // *Dashboard_AbsoluteTimeFrame - // *Dashboard_RelativeTimeFrame - TimeFrame isDashboard_TimeFrame `protobuf_oneof:"time_frame"` -} - -func (x *Dashboard) Reset() { - *x = Dashboard{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Dashboard) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Dashboard) ProtoMessage() {} - -func (x *Dashboard) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Dashboard.ProtoReflect.Descriptor instead. -func (*Dashboard) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0} -} - -func (x *Dashboard) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Dashboard) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Dashboard) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Dashboard) GetLayout() *Layout { - if x != nil { - return x.Layout - } - return nil -} - -func (x *Dashboard) GetVariables() []*Variable { - if x != nil { - return x.Variables - } - return nil -} - -func (x *Dashboard) GetFilters() []*Filter { - if x != nil { - return x.Filters - } - return nil -} - -func (m *Dashboard) GetTimeFrame() isDashboard_TimeFrame { - if m != nil { - return m.TimeFrame - } - return nil -} - -func (x *Dashboard) GetAbsoluteTimeFrame() *TimeFrame { - if x, ok := x.GetTimeFrame().(*Dashboard_AbsoluteTimeFrame); ok { - return x.AbsoluteTimeFrame - } - return nil -} - -func (x *Dashboard) GetRelativeTimeFrame() *durationpb.Duration { - if x, ok := x.GetTimeFrame().(*Dashboard_RelativeTimeFrame); ok { - return x.RelativeTimeFrame - } - return nil -} - -type isDashboard_TimeFrame interface { - isDashboard_TimeFrame() -} - -type Dashboard_AbsoluteTimeFrame struct { - // Absolute time frame specifying a fixed start and end time. - AbsoluteTimeFrame *TimeFrame `protobuf:"bytes,7,opt,name=absolute_time_frame,json=absoluteTimeFrame,proto3,oneof"` -} - -type Dashboard_RelativeTimeFrame struct { - // Relative time frame specifying a duration from the current time. - RelativeTimeFrame *durationpb.Duration `protobuf:"bytes,8,opt,name=relative_time_frame,json=relativeTimeFrame,proto3,oneof"` -} - -func (*Dashboard_AbsoluteTimeFrame) isDashboard_TimeFrame() {} - -func (*Dashboard_RelativeTimeFrame) isDashboard_TimeFrame() {} - -var File_com_coralogixapis_dashboards_v1_ast_dashboard_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, - 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x1a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, - 0x74, 0x2f, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, - 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x61, 0x73, 0x74, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, - 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x04, 0x0a, 0x09, - 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61, 0x79, - 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, - 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x4b, - 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x07, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, - 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x63, 0x0a, 0x13, 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x48, 0x00, 0x52, 0x11, 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x54, 0x69, - 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x13, 0x72, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, - 0x00, 0x52, 0x11, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, - 0x6d, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes = []interface{}{ - (*Dashboard)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Dashboard - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*Layout)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Layout - (*Variable)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Variable - (*Filter)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Filter - (*TimeFrame)(nil), // 5: com.coralogixapis.dashboards.v1.common.TimeFrame - (*durationpb.Duration)(nil), // 6: google.protobuf.Duration -} -var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.ast.Dashboard.id:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.dashboards.v1.ast.Dashboard.name:type_name -> google.protobuf.StringValue - 1, // 2: com.coralogixapis.dashboards.v1.ast.Dashboard.description:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogixapis.dashboards.v1.ast.Dashboard.layout:type_name -> com.coralogixapis.dashboards.v1.ast.Layout - 3, // 4: com.coralogixapis.dashboards.v1.ast.Dashboard.variables:type_name -> com.coralogixapis.dashboards.v1.ast.Variable - 4, // 5: com.coralogixapis.dashboards.v1.ast.Dashboard.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter - 5, // 6: com.coralogixapis.dashboards.v1.ast.Dashboard.absolute_time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 6, // 7: com.coralogixapis.dashboards.v1.ast.Dashboard.relative_time_frame:type_name -> google.protobuf.Duration - 8, // [8:8] is the sub-list for method output_type - 8, // [8:8] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_dashboard_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() - file_com_coralogixapis_dashboards_v1_ast_layout_proto_init() - file_com_coralogixapis_dashboards_v1_ast_variable_proto_init() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Dashboard); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*Dashboard_AbsoluteTimeFrame)(nil), - (*Dashboard_RelativeTimeFrame)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_dashboard_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/queries.pb.go b/coralogix/clientset/grpc/coralogix-dashboards/v1/queries.pb.go deleted file mode 100644 index e0788bf2..00000000 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/queries.pb.go +++ /dev/null @@ -1,219 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/queries.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" - 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 PromQlQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *PromQlQuery) Reset() { - *x = PromQlQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PromQlQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PromQlQuery) ProtoMessage() {} - -func (x *PromQlQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PromQlQuery.ProtoReflect.Descriptor instead. -func (*PromQlQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescGZIP(), []int{0} -} - -func (x *PromQlQuery) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type LuceneQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *LuceneQuery) Reset() { - *x = LuceneQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LuceneQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LuceneQuery) ProtoMessage() {} - -func (x *LuceneQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LuceneQuery.ProtoReflect.Descriptor instead. -func (*LuceneQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescGZIP(), []int{1} -} - -func (x *LuceneQuery) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDesc = []byte{ - 0x0a, 0x40, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, - 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x32, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, 0x0a, 0x0b, 0x4c, 0x75, 0x63, - 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, - 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_goTypes = []interface{}{ - (*PromQlQuery)(nil), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*LuceneQuery)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery.value:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery.value:type_name -> google.protobuf.StringValue - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PromQlQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LuceneQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/annotation.pb.go b/coralogix/clientset/grpc/dashboards/annotation.pb.go new file mode 100644 index 00000000..3eb39b5f --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/annotation.pb.go @@ -0,0 +1,543 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/ast/annotation.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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 Annotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` + Source *Annotation_Source `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` +} + +func (x *Annotation) Reset() { + *x = Annotation{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation) ProtoMessage() {} + +func (x *Annotation) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation.ProtoReflect.Descriptor instead. +func (*Annotation) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0} +} + +func (x *Annotation) GetId() *wrapperspb.StringValue { + if x != nil { + return x.Id + } + return nil +} + +func (x *Annotation) GetName() *wrapperspb.StringValue { + if x != nil { + return x.Name + } + return nil +} + +func (x *Annotation) GetEnabled() *wrapperspb.BoolValue { + if x != nil { + return x.Enabled + } + return nil +} + +func (x *Annotation) GetSource() *Annotation_Source { + if x != nil { + return x.Source + } + return nil +} + +type Annotation_Source struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // *Annotation_Source_Metrics + Value isAnnotation_Source_Value `protobuf_oneof:"value"` +} + +func (x *Annotation_Source) Reset() { + *x = Annotation_Source{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_Source) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_Source) ProtoMessage() {} + +func (x *Annotation_Source) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_Source.ProtoReflect.Descriptor instead. +func (*Annotation_Source) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 0} +} + +func (m *Annotation_Source) GetValue() isAnnotation_Source_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *Annotation_Source) GetMetrics() *Annotation_MetricsSource { + if x, ok := x.GetValue().(*Annotation_Source_Metrics); ok { + return x.Metrics + } + return nil +} + +type isAnnotation_Source_Value interface { + isAnnotation_Source_Value() +} + +type Annotation_Source_Metrics struct { + Metrics *Annotation_MetricsSource `protobuf:"bytes,1,opt,name=metrics,proto3,oneof"` +} + +func (*Annotation_Source_Metrics) isAnnotation_Source_Value() {} + +type Annotation_MetricsSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PromqlQuery *PromQlQuery `protobuf:"bytes,1,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + Strategy *Annotation_MetricsSource_Strategy `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"` + MessageTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=message_template,json=messageTemplate,proto3" json:"message_template,omitempty"` + Labels []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` +} + +func (x *Annotation_MetricsSource) Reset() { + *x = Annotation_MetricsSource{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_MetricsSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_MetricsSource) ProtoMessage() {} + +func (x *Annotation_MetricsSource) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_MetricsSource.ProtoReflect.Descriptor instead. +func (*Annotation_MetricsSource) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *Annotation_MetricsSource) GetPromqlQuery() *PromQlQuery { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *Annotation_MetricsSource) GetStrategy() *Annotation_MetricsSource_Strategy { + if x != nil { + return x.Strategy + } + return nil +} + +func (x *Annotation_MetricsSource) GetMessageTemplate() *wrapperspb.StringValue { + if x != nil { + return x.MessageTemplate + } + return nil +} + +func (x *Annotation_MetricsSource) GetLabels() []*wrapperspb.StringValue { + if x != nil { + return x.Labels + } + return nil +} + +// Strategy for turning metrics data into annotations +type Annotation_MetricsSource_Strategy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // *Annotation_MetricsSource_Strategy_StartTimeMetric + Value isAnnotation_MetricsSource_Strategy_Value `protobuf_oneof:"value"` +} + +func (x *Annotation_MetricsSource_Strategy) Reset() { + *x = Annotation_MetricsSource_Strategy{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_MetricsSource_Strategy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_MetricsSource_Strategy) ProtoMessage() {} + +func (x *Annotation_MetricsSource_Strategy) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_MetricsSource_Strategy.ProtoReflect.Descriptor instead. +func (*Annotation_MetricsSource_Strategy) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1, 0} +} + +func (m *Annotation_MetricsSource_Strategy) GetValue() isAnnotation_MetricsSource_Strategy_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *Annotation_MetricsSource_Strategy) GetStartTimeMetric() *Annotation_MetricsSource_StartTimeMetric { + if x, ok := x.GetValue().(*Annotation_MetricsSource_Strategy_StartTimeMetric); ok { + return x.StartTimeMetric + } + return nil +} + +type isAnnotation_MetricsSource_Strategy_Value interface { + isAnnotation_MetricsSource_Strategy_Value() +} + +type Annotation_MetricsSource_Strategy_StartTimeMetric struct { + // Take first data point and use its value as annotation timestamp (instead of point own timestamp) + StartTimeMetric *Annotation_MetricsSource_StartTimeMetric `protobuf:"bytes,1,opt,name=start_time_metric,json=startTimeMetric,proto3,oneof"` +} + +func (*Annotation_MetricsSource_Strategy_StartTimeMetric) isAnnotation_MetricsSource_Strategy_Value() { +} + +type Annotation_MetricsSource_StartTimeMetric struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Annotation_MetricsSource_StartTimeMetric) Reset() { + *x = Annotation_MetricsSource_StartTimeMetric{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_MetricsSource_StartTimeMetric) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_MetricsSource_StartTimeMetric) ProtoMessage() {} + +func (x *Annotation_MetricsSource_StartTimeMetric) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_MetricsSource_StartTimeMetric.ProtoReflect.Descriptor instead. +func (*Annotation_MetricsSource_StartTimeMetric) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1, 1} +} + +var File_com_coralogixapis_dashboards_v1_ast_annotation_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDesc = []byte{ + 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x1a, 0x32, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xd3, 0x06, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, + 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x12, 0x4e, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x1a, 0x6c, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x59, + 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, + 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0xf0, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x08, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, + 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, + 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, + 0x90, 0x01, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x7b, 0x0a, 0x11, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x1a, 0x11, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_goTypes = []interface{}{ + (*Annotation)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Annotation + (*Annotation_Source)(nil), // 1: com.coralogixapis.dashboards.v1.ast.Annotation.Source + (*Annotation_MetricsSource)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource + (*Annotation_MetricsSource_Strategy)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy + (*Annotation_MetricsSource_StartTimeMetric)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric + (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue + (*wrapperspb.BoolValue)(nil), // 6: google.protobuf.BoolValue + (*PromQlQuery)(nil), // 7: com.coralogixapis.dashboards.v1.common.PromQlQuery +} +var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_depIdxs = []int32{ + 5, // 0: com.coralogixapis.dashboards.v1.ast.Annotation.id:type_name -> google.protobuf.StringValue + 5, // 1: com.coralogixapis.dashboards.v1.ast.Annotation.name:type_name -> google.protobuf.StringValue + 6, // 2: com.coralogixapis.dashboards.v1.ast.Annotation.enabled:type_name -> google.protobuf.BoolValue + 1, // 3: com.coralogixapis.dashboards.v1.ast.Annotation.source:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.Source + 2, // 4: com.coralogixapis.dashboards.v1.ast.Annotation.Source.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource + 7, // 5: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.promql_query:type_name -> com.coralogixapis.dashboards.v1.common.PromQlQuery + 3, // 6: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy + 5, // 7: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.message_template:type_name -> google.protobuf.StringValue + 5, // 8: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.labels:type_name -> google.protobuf.StringValue + 4, // 9: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy.start_time_metric:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() } +func file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() { + if File_com_coralogixapis_dashboards_v1_ast_annotation_proto != nil { + return + } + file_com_coralogixapis_dashboards_v1_common_query_proto_init() + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_Source); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_MetricsSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_MetricsSource_Strategy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_MetricsSource_StartTimeMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*Annotation_Source_Metrics)(nil), + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*Annotation_MetricsSource_Strategy_StartTimeMetric)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_ast_annotation_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_annotation_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_ast_annotation_proto = out.File + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/annotation_event.pb.go b/coralogix/clientset/grpc/dashboards/annotation_event.pb.go new file mode 100644 index 00000000..85f9904c --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/annotation_event.pb.go @@ -0,0 +1,382 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/common/annotation_event.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + 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 AnnotationEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // *AnnotationEvent_Instant_ + // *AnnotationEvent_Range_ + Value isAnnotationEvent_Value `protobuf_oneof:"value"` +} + +func (x *AnnotationEvent) Reset() { + *x = AnnotationEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnnotationEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnnotationEvent) ProtoMessage() {} + +func (x *AnnotationEvent) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnnotationEvent.ProtoReflect.Descriptor instead. +func (*AnnotationEvent) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescGZIP(), []int{0} +} + +func (m *AnnotationEvent) GetValue() isAnnotationEvent_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *AnnotationEvent) GetInstant() *AnnotationEvent_Instant { + if x, ok := x.GetValue().(*AnnotationEvent_Instant_); ok { + return x.Instant + } + return nil +} + +func (x *AnnotationEvent) GetRange() *AnnotationEvent_Range { + if x, ok := x.GetValue().(*AnnotationEvent_Range_); ok { + return x.Range + } + return nil +} + +type isAnnotationEvent_Value interface { + isAnnotationEvent_Value() +} + +type AnnotationEvent_Instant_ struct { + Instant *AnnotationEvent_Instant `protobuf:"bytes,1,opt,name=instant,proto3,oneof"` +} + +type AnnotationEvent_Range_ struct { + Range *AnnotationEvent_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"` +} + +func (*AnnotationEvent_Instant_) isAnnotationEvent_Value() {} + +func (*AnnotationEvent_Range_) isAnnotationEvent_Value() {} + +type AnnotationEvent_Instant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *AnnotationEvent_Instant) Reset() { + *x = AnnotationEvent_Instant{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnnotationEvent_Instant) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnnotationEvent_Instant) ProtoMessage() {} + +func (x *AnnotationEvent_Instant) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnnotationEvent_Instant.ProtoReflect.Descriptor instead. +func (*AnnotationEvent_Instant) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *AnnotationEvent_Instant) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +func (x *AnnotationEvent_Instant) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +type AnnotationEvent_Range struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *AnnotationEvent_Range) Reset() { + *x = AnnotationEvent_Range{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnnotationEvent_Range) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnnotationEvent_Range) ProtoMessage() {} + +func (x *AnnotationEvent_Range) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AnnotationEvent_Range.ProtoReflect.Descriptor instead. +func (*AnnotationEvent_Range) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *AnnotationEvent_Range) GetStart() *timestamppb.Timestamp { + if x != nil { + return x.Start + } + return nil +} + +func (x *AnnotationEvent_Range) GetEnd() *timestamppb.Timestamp { + if x != nil { + return x.End + } + return nil +} + +func (x *AnnotationEvent_Range) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_common_annotation_event_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDesc = []byte{ + 0x0a, 0x3d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x05, 0x0a, 0x0f, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x07, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x05, 0x72, 0x61, 0x6e, + 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x1a, 0xe3, 0x01, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x63, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x85, 0x02, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x6e, 0x64, + 0x12, 0x61, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x2e, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_goTypes = []interface{}{ + (*AnnotationEvent)(nil), // 0: com.coralogixapis.dashboards.v1.common.AnnotationEvent + (*AnnotationEvent_Instant)(nil), // 1: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant + (*AnnotationEvent_Range)(nil), // 2: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range + nil, // 3: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.LabelsEntry + nil, // 4: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.LabelsEntry + (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp +} +var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_depIdxs = []int32{ + 1, // 0: com.coralogixapis.dashboards.v1.common.AnnotationEvent.instant:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant + 2, // 1: com.coralogixapis.dashboards.v1.common.AnnotationEvent.range:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range + 5, // 2: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.timestamp:type_name -> google.protobuf.Timestamp + 3, // 3: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.labels:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.LabelsEntry + 5, // 4: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.start:type_name -> google.protobuf.Timestamp + 5, // 5: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.end:type_name -> google.protobuf.Timestamp + 4, // 6: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.labels:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.LabelsEntry + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_init() } +func file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_init() { + if File_com_coralogixapis_dashboards_v1_common_annotation_event_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnnotationEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnnotationEvent_Instant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnnotationEvent_Range); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AnnotationEvent_Instant_)(nil), + (*AnnotationEvent_Range_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_common_annotation_event_proto = out.File + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service.pb.go new file mode 100644 index 00000000..c5af1070 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service.pb.go @@ -0,0 +1,1931 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/archive_logs_data_source_service.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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 SearchArchiveLogsTimeSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=limit,proto3" json:"limit,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,10,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,11,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + AggregationKeys []*wrapperspb.StringValue `protobuf:"bytes,12,rep,name=aggregation_keys,json=aggregationKeys,proto3" json:"aggregation_keys,omitempty"` +} + +func (x *SearchArchiveLogsTimeSeriesRequest) Reset() { + *x = SearchArchiveLogsTimeSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsTimeSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsTimeSeriesRequest) ProtoMessage() {} + +func (x *SearchArchiveLogsTimeSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsTimeSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsTimeSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{0} +} + +func (x *SearchArchiveLogsTimeSeriesRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveLogsTimeSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveLogsTimeSeriesRequest) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +func (x *SearchArchiveLogsTimeSeriesRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveLogsTimeSeriesRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveLogsTimeSeriesRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveLogsTimeSeriesRequest) GetAggregationKeys() []*wrapperspb.StringValue { + if x != nil { + return x.AggregationKeys + } + return nil +} + +type SearchArchiveLogsTimeSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + Total *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=total,proto3" json:"total,omitempty"` +} + +func (x *SearchArchiveLogsTimeSeriesResponse) Reset() { + *x = SearchArchiveLogsTimeSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsTimeSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsTimeSeriesResponse) ProtoMessage() {} + +func (x *SearchArchiveLogsTimeSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsTimeSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsTimeSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{1} +} + +func (x *SearchArchiveLogsTimeSeriesResponse) GetTimeSeries() []*TimeSeries { + if x != nil { + return x.TimeSeries + } + return nil +} + +func (x *SearchArchiveLogsTimeSeriesResponse) GetTotal() *wrapperspb.Int64Value { + if x != nil { + return x.Total + } + return nil +} + +type SearchArchiveLogsEventsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Pagination *Pagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,8,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,9,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` +} + +func (x *SearchArchiveLogsEventsRequest) Reset() { + *x = SearchArchiveLogsEventsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsEventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsEventsRequest) ProtoMessage() {} + +func (x *SearchArchiveLogsEventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsEventsRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsEventsRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{2} +} + +func (x *SearchArchiveLogsEventsRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveLogsEventsRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveLogsEventsRequest) GetPagination() *Pagination { + if x != nil { + return x.Pagination + } + return nil +} + +func (x *SearchArchiveLogsEventsRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveLogsEventsRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveLogsEventsRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +type SearchArchiveLogsEventsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*ArchiveLogsEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + TotalFetched *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=total_fetched,json=totalFetched,proto3" json:"total_fetched,omitempty"` // How many events were fetched before pagination applied. +} + +func (x *SearchArchiveLogsEventsResponse) Reset() { + *x = SearchArchiveLogsEventsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsEventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsEventsResponse) ProtoMessage() {} + +func (x *SearchArchiveLogsEventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsEventsResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsEventsResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{3} +} + +func (x *SearchArchiveLogsEventsResponse) GetEvents() []*ArchiveLogsEvent { + if x != nil { + return x.Events + } + return nil +} + +func (x *SearchArchiveLogsEventsResponse) GetTotalFetched() *wrapperspb.Int32Value { + if x != nil { + return x.TotalFetched + } + return nil +} + +type SearchArchiveLogsEventsCountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` +} + +func (x *SearchArchiveLogsEventsCountRequest) Reset() { + *x = SearchArchiveLogsEventsCountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsEventsCountRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsEventsCountRequest) ProtoMessage() {} + +func (x *SearchArchiveLogsEventsCountRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsEventsCountRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsEventsCountRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{4} +} + +func (x *SearchArchiveLogsEventsCountRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveLogsEventsCountRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveLogsEventsCountRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveLogsEventsCountRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveLogsEventsCountRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +type SearchArchiveLogsEventsCountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *SearchArchiveLogsEventsCountResponse) Reset() { + *x = SearchArchiveLogsEventsCountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsEventsCountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsEventsCountResponse) ProtoMessage() {} + +func (x *SearchArchiveLogsEventsCountResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsEventsCountResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsEventsCountResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{5} +} + +func (x *SearchArchiveLogsEventsCountResponse) GetCount() *wrapperspb.Int64Value { + if x != nil { + return x.Count + } + return nil +} + +type ArchiveLogsEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + UserData *structpb.Struct `protobuf:"bytes,4,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"` +} + +func (x *ArchiveLogsEvent) Reset() { + *x = ArchiveLogsEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArchiveLogsEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArchiveLogsEvent) ProtoMessage() {} + +func (x *ArchiveLogsEvent) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArchiveLogsEvent.ProtoReflect.Descriptor instead. +func (*ArchiveLogsEvent) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{6} +} + +func (x *ArchiveLogsEvent) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +func (x *ArchiveLogsEvent) GetMetadata() map[string]string { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ArchiveLogsEvent) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +func (x *ArchiveLogsEvent) GetUserData() *structpb.Struct { + if x != nil { + return x.UserData + } + return nil +} + +type SearchArchiveLogsEventGroupsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + GroupByKeys []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=group_by_keys,json=groupByKeys,proto3" json:"group_by_keys,omitempty"` + AggregationKeys []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=aggregation_keys,json=aggregationKeys,proto3" json:"aggregation_keys,omitempty"` + Pagination *Pagination `protobuf:"bytes,8,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *SearchArchiveLogsEventGroupsRequest) Reset() { + *x = SearchArchiveLogsEventGroupsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsEventGroupsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsEventGroupsRequest) ProtoMessage() {} + +func (x *SearchArchiveLogsEventGroupsRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsEventGroupsRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsEventGroupsRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{7} +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetGroupByKeys() []*wrapperspb.StringValue { + if x != nil { + return x.GroupByKeys + } + return nil +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetAggregationKeys() []*wrapperspb.StringValue { + if x != nil { + return x.AggregationKeys + } + return nil +} + +func (x *SearchArchiveLogsEventGroupsRequest) GetPagination() *Pagination { + if x != nil { + return x.Pagination + } + return nil +} + +type SearchArchiveLogsEventGroupsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Groups []*MultiGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` +} + +func (x *SearchArchiveLogsEventGroupsResponse) Reset() { + *x = SearchArchiveLogsEventGroupsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsEventGroupsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsEventGroupsResponse) ProtoMessage() {} + +func (x *SearchArchiveLogsEventGroupsResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsEventGroupsResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsEventGroupsResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{8} +} + +func (x *SearchArchiveLogsEventGroupsResponse) GetGroups() []*MultiGroup { + if x != nil { + return x.Groups + } + return nil +} + +type SearchArchiveGroupedLogsSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + GroupByKeys []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=group_by_keys,json=groupByKeys,proto3" json:"group_by_keys,omitempty"` // Have to be ordered for correctly structured results. + AggregationKey *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` + Limits []*GroupLimit `protobuf:"bytes,8,rep,name=limits,proto3" json:"limits,omitempty"` +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) Reset() { + *x = SearchArchiveGroupedLogsSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedLogsSeriesRequest) ProtoMessage() {} + +func (x *SearchArchiveGroupedLogsSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedLogsSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedLogsSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{9} +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetGroupByKeys() []*wrapperspb.StringValue { + if x != nil { + return x.GroupByKeys + } + return nil +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetAggregationKey() *wrapperspb.StringValue { + if x != nil { + return x.AggregationKey + } + return nil +} + +func (x *SearchArchiveGroupedLogsSeriesRequest) GetLimits() []*GroupLimit { + if x != nil { + return x.Limits + } + return nil +} + +type SearchArchiveGroupedLogsSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` +} + +func (x *SearchArchiveGroupedLogsSeriesResponse) Reset() { + *x = SearchArchiveGroupedLogsSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedLogsSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedLogsSeriesResponse) ProtoMessage() {} + +func (x *SearchArchiveGroupedLogsSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedLogsSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedLogsSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{10} +} + +func (x *SearchArchiveGroupedLogsSeriesResponse) GetSeries() []*GroupedSeries { + if x != nil { + return x.Series + } + return nil +} + +// Assumes timestamp is aliased to `timestamp` in the results. +type SearchArchiveGroupedLogsTimeSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + GroupByKeys []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=group_by_keys,json=groupByKeys,proto3" json:"group_by_keys,omitempty"` // Expects up to 1 element for now, without `timestamp`. + AggregationKey *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` + Limits []*GroupLimit `protobuf:"bytes,8,rep,name=limits,proto3" json:"limits,omitempty"` +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) Reset() { + *x = SearchArchiveGroupedLogsTimeSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedLogsTimeSeriesRequest) ProtoMessage() {} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedLogsTimeSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedLogsTimeSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{11} +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetGroupByKeys() []*wrapperspb.StringValue { + if x != nil { + return x.GroupByKeys + } + return nil +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetAggregationKey() *wrapperspb.StringValue { + if x != nil { + return x.AggregationKey + } + return nil +} + +func (x *SearchArchiveGroupedLogsTimeSeriesRequest) GetLimits() []*GroupLimit { + if x != nil { + return x.Limits + } + return nil +} + +type SearchArchiveGroupedLogsTimeSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Series *GroupedSeries `protobuf:"bytes,1,opt,name=series,proto3" json:"series,omitempty"` +} + +func (x *SearchArchiveGroupedLogsTimeSeriesResponse) Reset() { + *x = SearchArchiveGroupedLogsTimeSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedLogsTimeSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedLogsTimeSeriesResponse) ProtoMessage() {} + +func (x *SearchArchiveGroupedLogsTimeSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedLogsTimeSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedLogsTimeSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{12} +} + +func (x *SearchArchiveGroupedLogsTimeSeriesResponse) GetSeries() *GroupedSeries { + if x != nil { + return x.Series + } + return nil +} + +type SearchArchiveLogsTimeValueRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + AggregationKey *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` +} + +func (x *SearchArchiveLogsTimeValueRequest) Reset() { + *x = SearchArchiveLogsTimeValueRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsTimeValueRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsTimeValueRequest) ProtoMessage() {} + +func (x *SearchArchiveLogsTimeValueRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsTimeValueRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsTimeValueRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{13} +} + +func (x *SearchArchiveLogsTimeValueRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveLogsTimeValueRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveLogsTimeValueRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveLogsTimeValueRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveLogsTimeValueRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveLogsTimeValueRequest) GetAggregationKey() *wrapperspb.StringValue { + if x != nil { + return x.AggregationKey + } + return nil +} + +type SearchArchiveLogsTimeValueResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *SearchArchiveLogsTimeValueResponse) Reset() { + *x = SearchArchiveLogsTimeValueResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveLogsTimeValueResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveLogsTimeValueResponse) ProtoMessage() {} + +func (x *SearchArchiveLogsTimeValueResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveLogsTimeValueResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveLogsTimeValueResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{14} +} + +func (x *SearchArchiveLogsTimeValueResponse) GetValue() *wrapperspb.DoubleValue { + if x != nil { + return x.Value + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDesc = []byte{ + 0x0a, 0x4f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, + 0x76, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x2f, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, + 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, + 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x38, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x63, 0x6f, 0x6d, 0x2f, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, + 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x63, + 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, 0x04, 0x0a, 0x22, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, + 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, + 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, + 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, + 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x4c, 0x0a, + 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, + 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, 0x47, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, + 0x73, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, + 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, + 0xad, 0x01, 0x0a, 0x23, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x05, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, + 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, + 0xa0, 0x04, 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, + 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, + 0x52, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x4a, 0x04, + 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, + 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x4a, 0x04, 0x08, 0x0c, + 0x10, 0x0d, 0x22, 0xb7, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, + 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x64, 0x22, 0xad, 0x03, 0x0a, + 0x23, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, + 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, + 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, + 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, + 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x22, 0x59, 0x0a, 0x24, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, + 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc0, 0x03, 0x0a, 0x10, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x64, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5e, 0x0a, 0x06, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, + 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x09, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, + 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8c, 0x05, 0x0a, 0x23, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, + 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, + 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, + 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, 0x40, 0x0a, 0x0d, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x47, 0x0a, 0x10, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x0a, 0x24, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x84, 0x05, + 0x0a, 0x25, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, + 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, + 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, + 0x40, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4b, 0x65, 0x79, + 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x73, 0x22, 0x77, 0x0a, 0x26, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, + 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, + 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, + 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0x88, 0x05, + 0x0a, 0x29, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, + 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, + 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, + 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x61, 0x77, 0x12, 0x40, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, + 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x61, 0x67, + 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x06, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x7b, 0x0a, 0x2a, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, + 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x06, 0x73, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xf2, 0x03, 0x0a, 0x21, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, + 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, + 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x61, 0x77, 0x12, 0x45, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x22, 0x58, 0x0a, 0x22, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x54, + 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x32, 0xfc, 0x0c, 0x0a, 0x1c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x4c, 0x6f, 0x67, 0x73, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe1, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x4c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, + 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x4d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x25, 0xba, 0xb8, 0x02, 0x21, 0x0a, 0x1f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x74, 0x69, + 0x6d, 0x65, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xd0, 0x01, 0x0a, 0x17, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, + 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0xba, 0xb8, 0x02, 0x1c, + 0x0a, 0x1a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xe5, 0x01, 0x0a, + 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, + 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4d, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4e, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, + 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xba, 0xb8, + 0x02, 0x22, 0x0a, 0x20, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, + 0x76, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0xe5, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x4d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, + 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, + 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xba, 0xb8, 0x02, 0x22, 0x0a, 0x20, 0x73, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xed, 0x01, 0x0a, + 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, + 0x4f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, + 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x50, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, + 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x28, 0xba, 0xb8, 0x02, 0x24, 0x0a, 0x22, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, + 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xfe, 0x01, 0x0a, + 0x22, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x12, 0x53, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x54, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, + 0xba, 0xb8, 0x02, 0x29, 0x0a, 0x27, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, + 0x68, 0x69, 0x76, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x6c, 0x6f, 0x67, + 0x73, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xe3, 0x01, + 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, + 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4b, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, + 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, + 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0xba, 0xb8, 0x02, 0x26, 0x0a, 0x24, 0x73, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x20, 0x6c, 0x6f, + 0x67, 0x73, 0x20, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x20, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_goTypes = []interface{}{ + (*SearchArchiveLogsTimeSeriesRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest + (*SearchArchiveLogsTimeSeriesResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesResponse + (*SearchArchiveLogsEventsRequest)(nil), // 2: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest + (*SearchArchiveLogsEventsResponse)(nil), // 3: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsResponse + (*SearchArchiveLogsEventsCountRequest)(nil), // 4: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest + (*SearchArchiveLogsEventsCountResponse)(nil), // 5: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountResponse + (*ArchiveLogsEvent)(nil), // 6: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent + (*SearchArchiveLogsEventGroupsRequest)(nil), // 7: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest + (*SearchArchiveLogsEventGroupsResponse)(nil), // 8: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsResponse + (*SearchArchiveGroupedLogsSeriesRequest)(nil), // 9: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest + (*SearchArchiveGroupedLogsSeriesResponse)(nil), // 10: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse + (*SearchArchiveGroupedLogsTimeSeriesRequest)(nil), // 11: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest + (*SearchArchiveGroupedLogsTimeSeriesResponse)(nil), // 12: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse + (*SearchArchiveLogsTimeValueRequest)(nil), // 13: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest + (*SearchArchiveLogsTimeValueResponse)(nil), // 14: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueResponse + nil, // 15: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.MetadataEntry + nil, // 16: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.LabelsEntry + (*wrapperspb.StringValue)(nil), // 17: google.protobuf.StringValue + (*TimeFrame)(nil), // 18: com.coralogixapis.dashboards.v1.common.TimeFrame + (*wrapperspb.Int32Value)(nil), // 19: google.protobuf.Int32Value + (*SerializedDataprimeQuery)(nil), // 20: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + (*DataprimeQuery)(nil), // 21: com.coralogixapis.dashboards.v1.common.DataprimeQuery + (*TimeSeries)(nil), // 22: com.coralogixapis.dashboards.v1.common.TimeSeries + (*wrapperspb.Int64Value)(nil), // 23: google.protobuf.Int64Value + (*Pagination)(nil), // 24: com.coralogixapis.dashboards.v1.common.Pagination + (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 26: google.protobuf.Struct + (*MultiGroup)(nil), // 27: com.coralogixapis.dashboards.v1.common.MultiGroup + (*GroupLimit)(nil), // 28: com.coralogixapis.dashboards.v1.common.GroupLimit + (*GroupedSeries)(nil), // 29: com.coralogixapis.dashboards.v1.common.GroupedSeries + (*wrapperspb.DoubleValue)(nil), // 30: google.protobuf.DoubleValue +} +var file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_depIdxs = []int32{ + 17, // 0: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue + 18, // 1: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 19, // 2: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value + 17, // 3: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue + 20, // 4: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 21, // 5: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 17, // 6: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.aggregation_keys:type_name -> google.protobuf.StringValue + 22, // 7: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries + 23, // 8: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value + 17, // 9: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.widget_id:type_name -> google.protobuf.StringValue + 18, // 10: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 24, // 11: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination + 17, // 12: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.request_params_hash:type_name -> google.protobuf.StringValue + 20, // 13: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 21, // 14: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 6, // 15: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsResponse.events:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent + 19, // 16: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsResponse.total_fetched:type_name -> google.protobuf.Int32Value + 17, // 17: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.widget_id:type_name -> google.protobuf.StringValue + 18, // 18: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 17, // 19: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.request_params_hash:type_name -> google.protobuf.StringValue + 20, // 20: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 21, // 21: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 23, // 22: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountResponse.count:type_name -> google.protobuf.Int64Value + 25, // 23: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.timestamp:type_name -> google.protobuf.Timestamp + 15, // 24: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.metadata:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.MetadataEntry + 16, // 25: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.labels:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.LabelsEntry + 26, // 26: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.user_data:type_name -> google.protobuf.Struct + 17, // 27: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.widget_id:type_name -> google.protobuf.StringValue + 18, // 28: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 17, // 29: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.request_params_hash:type_name -> google.protobuf.StringValue + 20, // 30: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 21, // 31: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 17, // 32: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.group_by_keys:type_name -> google.protobuf.StringValue + 17, // 33: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.aggregation_keys:type_name -> google.protobuf.StringValue + 24, // 34: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination + 27, // 35: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup + 17, // 36: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.widget_id:type_name -> google.protobuf.StringValue + 18, // 37: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 17, // 38: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue + 20, // 39: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 21, // 40: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 17, // 41: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue + 17, // 42: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue + 28, // 43: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit + 29, // 44: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 17, // 45: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue + 18, // 46: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 17, // 47: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue + 20, // 48: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 21, // 49: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 17, // 50: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue + 17, // 51: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue + 28, // 52: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit + 29, // 53: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 17, // 54: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.widget_id:type_name -> google.protobuf.StringValue + 18, // 55: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 17, // 56: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.request_params_hash:type_name -> google.protobuf.StringValue + 20, // 57: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 21, // 58: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 17, // 59: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.aggregation_key:type_name -> google.protobuf.StringValue + 30, // 60: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueResponse.value:type_name -> google.protobuf.DoubleValue + 0, // 61: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest + 2, // 62: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest + 4, // 63: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventsCount:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest + 7, // 64: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventGroups:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest + 9, // 65: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest + 11, // 66: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest + 13, // 67: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeValue:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest + 1, // 68: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesResponse + 3, // 69: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsResponse + 5, // 70: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventsCount:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountResponse + 8, // 71: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventGroups:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsResponse + 10, // 72: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse + 12, // 73: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse + 14, // 74: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeValue:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueResponse + 68, // [68:75] is the sub-list for method output_type + 61, // [61:68] is the sub-list for method input_type + 61, // [61:61] is the sub-list for extension type_name + 61, // [61:61] is the sub-list for extension extendee + 0, // [0:61] is the sub-list for field type_name +} + +func init() { + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_init() +} +func file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_init() { + if File_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto != nil { + return + } + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_group_proto_init() + file_com_coralogixapis_dashboards_v1_common_group_limit_proto_init() + file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_init() + file_com_coralogixapis_dashboards_v1_common_pagination_proto_init() + file_com_coralogixapis_dashboards_v1_common_query_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_series_proto_init() + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsTimeSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsTimeSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsEventsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsEventsCountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsEventsCountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArchiveLogsEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsEventGroupsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsEventGroupsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedLogsSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedLogsSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedLogsTimeSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedLogsTimeSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsTimeValueRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveLogsTimeValueResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 17, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto = out.File + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service_grpc.pb.go new file mode 100644 index 00000000..fb3bec97 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service_grpc.pb.go @@ -0,0 +1,322 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/archive_logs_data_source_service.proto + +package __ + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// 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 + +// ArchiveLogsDataSourceServiceClient is the client API for ArchiveLogsDataSourceService 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 ArchiveLogsDataSourceServiceClient interface { + SearchArchiveLogsTimeSeries(ctx context.Context, in *SearchArchiveLogsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveLogsTimeSeriesResponse, error) + SearchArchiveLogsEvents(ctx context.Context, in *SearchArchiveLogsEventsRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventsResponse, error) + SearchArchiveLogsEventsCount(ctx context.Context, in *SearchArchiveLogsEventsCountRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventsCountResponse, error) + SearchArchiveLogsEventGroups(ctx context.Context, in *SearchArchiveLogsEventGroupsRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventGroupsResponse, error) + SearchArchiveGroupedLogsSeries(ctx context.Context, in *SearchArchiveGroupedLogsSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedLogsSeriesResponse, error) + SearchArchiveGroupedLogsTimeSeries(ctx context.Context, in *SearchArchiveGroupedLogsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedLogsTimeSeriesResponse, error) + SearchArchiveLogsTimeValue(ctx context.Context, in *SearchArchiveLogsTimeValueRequest, opts ...grpc.CallOption) (*SearchArchiveLogsTimeValueResponse, error) +} + +type archiveLogsDataSourceServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewArchiveLogsDataSourceServiceClient(cc grpc.ClientConnInterface) ArchiveLogsDataSourceServiceClient { + return &archiveLogsDataSourceServiceClient{cc} +} + +func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsTimeSeries(ctx context.Context, in *SearchArchiveLogsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveLogsTimeSeriesResponse, error) { + out := new(SearchArchiveLogsTimeSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsTimeSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsEvents(ctx context.Context, in *SearchArchiveLogsEventsRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventsResponse, error) { + out := new(SearchArchiveLogsEventsResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEvents", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsEventsCount(ctx context.Context, in *SearchArchiveLogsEventsCountRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventsCountResponse, error) { + out := new(SearchArchiveLogsEventsCountResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEventsCount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsEventGroups(ctx context.Context, in *SearchArchiveLogsEventGroupsRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventGroupsResponse, error) { + out := new(SearchArchiveLogsEventGroupsResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEventGroups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveLogsDataSourceServiceClient) SearchArchiveGroupedLogsSeries(ctx context.Context, in *SearchArchiveGroupedLogsSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedLogsSeriesResponse, error) { + out := new(SearchArchiveGroupedLogsSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveGroupedLogsSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveLogsDataSourceServiceClient) SearchArchiveGroupedLogsTimeSeries(ctx context.Context, in *SearchArchiveGroupedLogsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedLogsTimeSeriesResponse, error) { + out := new(SearchArchiveGroupedLogsTimeSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveGroupedLogsTimeSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsTimeValue(ctx context.Context, in *SearchArchiveLogsTimeValueRequest, opts ...grpc.CallOption) (*SearchArchiveLogsTimeValueResponse, error) { + out := new(SearchArchiveLogsTimeValueResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsTimeValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ArchiveLogsDataSourceServiceServer is the server API for ArchiveLogsDataSourceService service. +// All implementations must embed UnimplementedArchiveLogsDataSourceServiceServer +// for forward compatibility +type ArchiveLogsDataSourceServiceServer interface { + SearchArchiveLogsTimeSeries(context.Context, *SearchArchiveLogsTimeSeriesRequest) (*SearchArchiveLogsTimeSeriesResponse, error) + SearchArchiveLogsEvents(context.Context, *SearchArchiveLogsEventsRequest) (*SearchArchiveLogsEventsResponse, error) + SearchArchiveLogsEventsCount(context.Context, *SearchArchiveLogsEventsCountRequest) (*SearchArchiveLogsEventsCountResponse, error) + SearchArchiveLogsEventGroups(context.Context, *SearchArchiveLogsEventGroupsRequest) (*SearchArchiveLogsEventGroupsResponse, error) + SearchArchiveGroupedLogsSeries(context.Context, *SearchArchiveGroupedLogsSeriesRequest) (*SearchArchiveGroupedLogsSeriesResponse, error) + SearchArchiveGroupedLogsTimeSeries(context.Context, *SearchArchiveGroupedLogsTimeSeriesRequest) (*SearchArchiveGroupedLogsTimeSeriesResponse, error) + SearchArchiveLogsTimeValue(context.Context, *SearchArchiveLogsTimeValueRequest) (*SearchArchiveLogsTimeValueResponse, error) + mustEmbedUnimplementedArchiveLogsDataSourceServiceServer() +} + +// UnimplementedArchiveLogsDataSourceServiceServer must be embedded to have forward compatible implementations. +type UnimplementedArchiveLogsDataSourceServiceServer struct { +} + +func (UnimplementedArchiveLogsDataSourceServiceServer) SearchArchiveLogsTimeSeries(context.Context, *SearchArchiveLogsTimeSeriesRequest) (*SearchArchiveLogsTimeSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveLogsTimeSeries not implemented") +} +func (UnimplementedArchiveLogsDataSourceServiceServer) SearchArchiveLogsEvents(context.Context, *SearchArchiveLogsEventsRequest) (*SearchArchiveLogsEventsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveLogsEvents not implemented") +} +func (UnimplementedArchiveLogsDataSourceServiceServer) SearchArchiveLogsEventsCount(context.Context, *SearchArchiveLogsEventsCountRequest) (*SearchArchiveLogsEventsCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveLogsEventsCount not implemented") +} +func (UnimplementedArchiveLogsDataSourceServiceServer) SearchArchiveLogsEventGroups(context.Context, *SearchArchiveLogsEventGroupsRequest) (*SearchArchiveLogsEventGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveLogsEventGroups not implemented") +} +func (UnimplementedArchiveLogsDataSourceServiceServer) SearchArchiveGroupedLogsSeries(context.Context, *SearchArchiveGroupedLogsSeriesRequest) (*SearchArchiveGroupedLogsSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveGroupedLogsSeries not implemented") +} +func (UnimplementedArchiveLogsDataSourceServiceServer) SearchArchiveGroupedLogsTimeSeries(context.Context, *SearchArchiveGroupedLogsTimeSeriesRequest) (*SearchArchiveGroupedLogsTimeSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveGroupedLogsTimeSeries not implemented") +} +func (UnimplementedArchiveLogsDataSourceServiceServer) SearchArchiveLogsTimeValue(context.Context, *SearchArchiveLogsTimeValueRequest) (*SearchArchiveLogsTimeValueResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveLogsTimeValue not implemented") +} +func (UnimplementedArchiveLogsDataSourceServiceServer) mustEmbedUnimplementedArchiveLogsDataSourceServiceServer() { +} + +// UnsafeArchiveLogsDataSourceServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ArchiveLogsDataSourceServiceServer will +// result in compilation errors. +type UnsafeArchiveLogsDataSourceServiceServer interface { + mustEmbedUnimplementedArchiveLogsDataSourceServiceServer() +} + +func RegisterArchiveLogsDataSourceServiceServer(s grpc.ServiceRegistrar, srv ArchiveLogsDataSourceServiceServer) { + s.RegisterService(&ArchiveLogsDataSourceService_ServiceDesc, srv) +} + +func _ArchiveLogsDataSourceService_SearchArchiveLogsTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveLogsTimeSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsTimeSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsTimeSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsTimeSeries(ctx, req.(*SearchArchiveLogsTimeSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveLogsDataSourceService_SearchArchiveLogsEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveLogsEventsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsEvents(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEvents", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsEvents(ctx, req.(*SearchArchiveLogsEventsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveLogsDataSourceService_SearchArchiveLogsEventsCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveLogsEventsCountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsEventsCount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEventsCount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsEventsCount(ctx, req.(*SearchArchiveLogsEventsCountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveLogsDataSourceService_SearchArchiveLogsEventGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveLogsEventGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsEventGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEventGroups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsEventGroups(ctx, req.(*SearchArchiveLogsEventGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveLogsDataSourceService_SearchArchiveGroupedLogsSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveGroupedLogsSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveGroupedLogsSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveGroupedLogsSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveGroupedLogsSeries(ctx, req.(*SearchArchiveGroupedLogsSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveLogsDataSourceService_SearchArchiveGroupedLogsTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveGroupedLogsTimeSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveGroupedLogsTimeSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveGroupedLogsTimeSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveGroupedLogsTimeSeries(ctx, req.(*SearchArchiveGroupedLogsTimeSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveLogsDataSourceService_SearchArchiveLogsTimeValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveLogsTimeValueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsTimeValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsTimeValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsTimeValue(ctx, req.(*SearchArchiveLogsTimeValueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ArchiveLogsDataSourceService_ServiceDesc is the grpc.ServiceDesc for ArchiveLogsDataSourceService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ArchiveLogsDataSourceService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService", + HandlerType: (*ArchiveLogsDataSourceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SearchArchiveLogsTimeSeries", + Handler: _ArchiveLogsDataSourceService_SearchArchiveLogsTimeSeries_Handler, + }, + { + MethodName: "SearchArchiveLogsEvents", + Handler: _ArchiveLogsDataSourceService_SearchArchiveLogsEvents_Handler, + }, + { + MethodName: "SearchArchiveLogsEventsCount", + Handler: _ArchiveLogsDataSourceService_SearchArchiveLogsEventsCount_Handler, + }, + { + MethodName: "SearchArchiveLogsEventGroups", + Handler: _ArchiveLogsDataSourceService_SearchArchiveLogsEventGroups_Handler, + }, + { + MethodName: "SearchArchiveGroupedLogsSeries", + Handler: _ArchiveLogsDataSourceService_SearchArchiveGroupedLogsSeries_Handler, + }, + { + MethodName: "SearchArchiveGroupedLogsTimeSeries", + Handler: _ArchiveLogsDataSourceService_SearchArchiveGroupedLogsTimeSeries_Handler, + }, + { + MethodName: "SearchArchiveLogsTimeValue", + Handler: _ArchiveLogsDataSourceService_SearchArchiveLogsTimeValue_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "com/coralogixapis/dashboards/v1/services/archive_logs_data_source_service.proto", +} diff --git a/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service.pb.go new file mode 100644 index 00000000..6dd79f11 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service.pb.go @@ -0,0 +1,2259 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/archive_spans_data_source_service.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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 SearchArchiveSpansTimeSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,6,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + AggregationKeys []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=aggregation_keys,json=aggregationKeys,proto3" json:"aggregation_keys,omitempty"` +} + +func (x *SearchArchiveSpansTimeSeriesRequest) Reset() { + *x = SearchArchiveSpansTimeSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansTimeSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansTimeSeriesRequest) ProtoMessage() {} + +func (x *SearchArchiveSpansTimeSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansTimeSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansTimeSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{0} +} + +func (x *SearchArchiveSpansTimeSeriesRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveSpansTimeSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveSpansTimeSeriesRequest) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +func (x *SearchArchiveSpansTimeSeriesRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveSpansTimeSeriesRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveSpansTimeSeriesRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveSpansTimeSeriesRequest) GetAggregationKeys() []*wrapperspb.StringValue { + if x != nil { + return x.AggregationKeys + } + return nil +} + +type SearchArchiveSpansTimeSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + Total *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=total,proto3" json:"total,omitempty"` +} + +func (x *SearchArchiveSpansTimeSeriesResponse) Reset() { + *x = SearchArchiveSpansTimeSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansTimeSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansTimeSeriesResponse) ProtoMessage() {} + +func (x *SearchArchiveSpansTimeSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansTimeSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansTimeSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{1} +} + +func (x *SearchArchiveSpansTimeSeriesResponse) GetTimeSeries() []*TimeSeries { + if x != nil { + return x.TimeSeries + } + return nil +} + +func (x *SearchArchiveSpansTimeSeriesResponse) GetTotal() *wrapperspb.Int64Value { + if x != nil { + return x.Total + } + return nil +} + +type SearchArchiveSpansEventsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Pagination *Pagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,8,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,9,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` +} + +func (x *SearchArchiveSpansEventsRequest) Reset() { + *x = SearchArchiveSpansEventsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansEventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansEventsRequest) ProtoMessage() {} + +func (x *SearchArchiveSpansEventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansEventsRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansEventsRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{2} +} + +func (x *SearchArchiveSpansEventsRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveSpansEventsRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveSpansEventsRequest) GetPagination() *Pagination { + if x != nil { + return x.Pagination + } + return nil +} + +func (x *SearchArchiveSpansEventsRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveSpansEventsRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveSpansEventsRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +type SearchArchiveSpansEventsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*ArchiveSpansEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + TotalFetched *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=total_fetched,json=totalFetched,proto3" json:"total_fetched,omitempty"` // How many events were fetched before pagination applied. +} + +func (x *SearchArchiveSpansEventsResponse) Reset() { + *x = SearchArchiveSpansEventsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansEventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansEventsResponse) ProtoMessage() {} + +func (x *SearchArchiveSpansEventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansEventsResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansEventsResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{3} +} + +func (x *SearchArchiveSpansEventsResponse) GetEvents() []*ArchiveSpansEvent { + if x != nil { + return x.Events + } + return nil +} + +func (x *SearchArchiveSpansEventsResponse) GetTotalFetched() *wrapperspb.Int32Value { + if x != nil { + return x.TotalFetched + } + return nil +} + +type SearchArchiveSpansEventsCountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` +} + +func (x *SearchArchiveSpansEventsCountRequest) Reset() { + *x = SearchArchiveSpansEventsCountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansEventsCountRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansEventsCountRequest) ProtoMessage() {} + +func (x *SearchArchiveSpansEventsCountRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansEventsCountRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansEventsCountRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{4} +} + +func (x *SearchArchiveSpansEventsCountRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveSpansEventsCountRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveSpansEventsCountRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveSpansEventsCountRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveSpansEventsCountRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +type SearchArchiveSpansEventsCountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *SearchArchiveSpansEventsCountResponse) Reset() { + *x = SearchArchiveSpansEventsCountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansEventsCountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansEventsCountResponse) ProtoMessage() {} + +func (x *SearchArchiveSpansEventsCountResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansEventsCountResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansEventsCountResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{5} +} + +func (x *SearchArchiveSpansEventsCountResponse) GetCount() *wrapperspb.Int64Value { + if x != nil { + return x.Count + } + return nil +} + +type ArchiveSpansEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpanId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` + TraceId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` + ParentSpanId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` + Metadata *ArchiveSpansEvent_Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` + Tags []*ArchiveSpansEvent_Tag `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` + ProcessTags []*ArchiveSpansEvent_Tag `protobuf:"bytes,8,rep,name=process_tags,json=processTags,proto3" json:"process_tags,omitempty"` + Logs []*ArchiveSpansEvent_Log `protobuf:"bytes,9,rep,name=logs,proto3" json:"logs,omitempty"` +} + +func (x *ArchiveSpansEvent) Reset() { + *x = ArchiveSpansEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArchiveSpansEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArchiveSpansEvent) ProtoMessage() {} + +func (x *ArchiveSpansEvent) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArchiveSpansEvent.ProtoReflect.Descriptor instead. +func (*ArchiveSpansEvent) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{6} +} + +func (x *ArchiveSpansEvent) GetSpanId() *wrapperspb.StringValue { + if x != nil { + return x.SpanId + } + return nil +} + +func (x *ArchiveSpansEvent) GetTraceId() *wrapperspb.StringValue { + if x != nil { + return x.TraceId + } + return nil +} + +func (x *ArchiveSpansEvent) GetParentSpanId() *wrapperspb.StringValue { + if x != nil { + return x.ParentSpanId + } + return nil +} + +func (x *ArchiveSpansEvent) GetMetadata() *ArchiveSpansEvent_Metadata { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ArchiveSpansEvent) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime + } + return nil +} + +func (x *ArchiveSpansEvent) GetDuration() *durationpb.Duration { + if x != nil { + return x.Duration + } + return nil +} + +func (x *ArchiveSpansEvent) GetTags() []*ArchiveSpansEvent_Tag { + if x != nil { + return x.Tags + } + return nil +} + +func (x *ArchiveSpansEvent) GetProcessTags() []*ArchiveSpansEvent_Tag { + if x != nil { + return x.ProcessTags + } + return nil +} + +func (x *ArchiveSpansEvent) GetLogs() []*ArchiveSpansEvent_Log { + if x != nil { + return x.Logs + } + return nil +} + +type SearchArchiveSpansEventGroupsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + GroupByKeys []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=group_by_keys,json=groupByKeys,proto3" json:"group_by_keys,omitempty"` + AggregationKeys []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=aggregation_keys,json=aggregationKeys,proto3" json:"aggregation_keys,omitempty"` + Pagination *Pagination `protobuf:"bytes,8,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *SearchArchiveSpansEventGroupsRequest) Reset() { + *x = SearchArchiveSpansEventGroupsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansEventGroupsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansEventGroupsRequest) ProtoMessage() {} + +func (x *SearchArchiveSpansEventGroupsRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansEventGroupsRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansEventGroupsRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{7} +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetGroupByKeys() []*wrapperspb.StringValue { + if x != nil { + return x.GroupByKeys + } + return nil +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetAggregationKeys() []*wrapperspb.StringValue { + if x != nil { + return x.AggregationKeys + } + return nil +} + +func (x *SearchArchiveSpansEventGroupsRequest) GetPagination() *Pagination { + if x != nil { + return x.Pagination + } + return nil +} + +type SearchArchiveSpansEventGroupsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Groups []*MultiGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` +} + +func (x *SearchArchiveSpansEventGroupsResponse) Reset() { + *x = SearchArchiveSpansEventGroupsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansEventGroupsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansEventGroupsResponse) ProtoMessage() {} + +func (x *SearchArchiveSpansEventGroupsResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansEventGroupsResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansEventGroupsResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{8} +} + +func (x *SearchArchiveSpansEventGroupsResponse) GetGroups() []*MultiGroup { + if x != nil { + return x.Groups + } + return nil +} + +type SearchArchiveGroupedSpansSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + GroupByKeys []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=group_by_keys,json=groupByKeys,proto3" json:"group_by_keys,omitempty"` // Have to be ordered for correctly structured results. + AggregationKey *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` + Limits []*GroupLimit `protobuf:"bytes,8,rep,name=limits,proto3" json:"limits,omitempty"` +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) Reset() { + *x = SearchArchiveGroupedSpansSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedSpansSeriesRequest) ProtoMessage() {} + +func (x *SearchArchiveGroupedSpansSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedSpansSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedSpansSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{9} +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetGroupByKeys() []*wrapperspb.StringValue { + if x != nil { + return x.GroupByKeys + } + return nil +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetAggregationKey() *wrapperspb.StringValue { + if x != nil { + return x.AggregationKey + } + return nil +} + +func (x *SearchArchiveGroupedSpansSeriesRequest) GetLimits() []*GroupLimit { + if x != nil { + return x.Limits + } + return nil +} + +type SearchArchiveGroupedSpansSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` +} + +func (x *SearchArchiveGroupedSpansSeriesResponse) Reset() { + *x = SearchArchiveGroupedSpansSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedSpansSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedSpansSeriesResponse) ProtoMessage() {} + +func (x *SearchArchiveGroupedSpansSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedSpansSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedSpansSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{10} +} + +func (x *SearchArchiveGroupedSpansSeriesResponse) GetSeries() []*GroupedSeries { + if x != nil { + return x.Series + } + return nil +} + +// Assumes timestamp is aliased to `timestamp` in the results. +type SearchArchiveGroupedSpansTimeSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + GroupByKeys []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=group_by_keys,json=groupByKeys,proto3" json:"group_by_keys,omitempty"` // Expects up to 1 element for now, without `timestamp`. + AggregationKey *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` + Limits []*GroupLimit `protobuf:"bytes,8,rep,name=limits,proto3" json:"limits,omitempty"` +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) Reset() { + *x = SearchArchiveGroupedSpansTimeSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedSpansTimeSeriesRequest) ProtoMessage() {} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedSpansTimeSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedSpansTimeSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{11} +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetGroupByKeys() []*wrapperspb.StringValue { + if x != nil { + return x.GroupByKeys + } + return nil +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetAggregationKey() *wrapperspb.StringValue { + if x != nil { + return x.AggregationKey + } + return nil +} + +func (x *SearchArchiveGroupedSpansTimeSeriesRequest) GetLimits() []*GroupLimit { + if x != nil { + return x.Limits + } + return nil +} + +type SearchArchiveGroupedSpansTimeSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Series *GroupedSeries `protobuf:"bytes,1,opt,name=series,proto3" json:"series,omitempty"` +} + +func (x *SearchArchiveGroupedSpansTimeSeriesResponse) Reset() { + *x = SearchArchiveGroupedSpansTimeSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveGroupedSpansTimeSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveGroupedSpansTimeSeriesResponse) ProtoMessage() {} + +func (x *SearchArchiveGroupedSpansTimeSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveGroupedSpansTimeSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveGroupedSpansTimeSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{12} +} + +func (x *SearchArchiveGroupedSpansTimeSeriesResponse) GetSeries() *GroupedSeries { + if x != nil { + return x.Series + } + return nil +} + +type SearchArchiveSpansTimeValueRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WidgetId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + RequestParamsHash *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=request_params_hash,json=requestParamsHash,proto3" json:"request_params_hash,omitempty"` + Query *SerializedDataprimeQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + QueryRaw *DataprimeQuery `protobuf:"bytes,5,opt,name=query_raw,json=queryRaw,proto3" json:"query_raw,omitempty"` + AggregationKey *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` +} + +func (x *SearchArchiveSpansTimeValueRequest) Reset() { + *x = SearchArchiveSpansTimeValueRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansTimeValueRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansTimeValueRequest) ProtoMessage() {} + +func (x *SearchArchiveSpansTimeValueRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansTimeValueRequest.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansTimeValueRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{13} +} + +func (x *SearchArchiveSpansTimeValueRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +func (x *SearchArchiveSpansTimeValueRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchArchiveSpansTimeValueRequest) GetRequestParamsHash() *wrapperspb.StringValue { + if x != nil { + return x.RequestParamsHash + } + return nil +} + +func (x *SearchArchiveSpansTimeValueRequest) GetQuery() *SerializedDataprimeQuery { + if x != nil { + return x.Query + } + return nil +} + +func (x *SearchArchiveSpansTimeValueRequest) GetQueryRaw() *DataprimeQuery { + if x != nil { + return x.QueryRaw + } + return nil +} + +func (x *SearchArchiveSpansTimeValueRequest) GetAggregationKey() *wrapperspb.StringValue { + if x != nil { + return x.AggregationKey + } + return nil +} + +type SearchArchiveSpansTimeValueResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *SearchArchiveSpansTimeValueResponse) Reset() { + *x = SearchArchiveSpansTimeValueResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchArchiveSpansTimeValueResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchArchiveSpansTimeValueResponse) ProtoMessage() {} + +func (x *SearchArchiveSpansTimeValueResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchArchiveSpansTimeValueResponse.ProtoReflect.Descriptor instead. +func (*SearchArchiveSpansTimeValueResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{14} +} + +func (x *SearchArchiveSpansTimeValueResponse) GetValue() *wrapperspb.DoubleValue { + if x != nil { + return x.Value + } + return nil +} + +type ArchiveSpansEvent_Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApplicationName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` + SubsystemName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=subsystem_name,json=subsystemName,proto3" json:"subsystem_name,omitempty"` + ServiceName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + OperationName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` +} + +func (x *ArchiveSpansEvent_Metadata) Reset() { + *x = ArchiveSpansEvent_Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArchiveSpansEvent_Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArchiveSpansEvent_Metadata) ProtoMessage() {} + +func (x *ArchiveSpansEvent_Metadata) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArchiveSpansEvent_Metadata.ProtoReflect.Descriptor instead. +func (*ArchiveSpansEvent_Metadata) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *ArchiveSpansEvent_Metadata) GetApplicationName() *wrapperspb.StringValue { + if x != nil { + return x.ApplicationName + } + return nil +} + +func (x *ArchiveSpansEvent_Metadata) GetSubsystemName() *wrapperspb.StringValue { + if x != nil { + return x.SubsystemName + } + return nil +} + +func (x *ArchiveSpansEvent_Metadata) GetServiceName() *wrapperspb.StringValue { + if x != nil { + return x.ServiceName + } + return nil +} + +func (x *ArchiveSpansEvent_Metadata) GetOperationName() *wrapperspb.StringValue { + if x != nil { + return x.OperationName + } + return nil +} + +type ArchiveSpansEvent_Tag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *ArchiveSpansEvent_Tag) Reset() { + *x = ArchiveSpansEvent_Tag{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArchiveSpansEvent_Tag) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArchiveSpansEvent_Tag) ProtoMessage() {} + +func (x *ArchiveSpansEvent_Tag) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArchiveSpansEvent_Tag.ProtoReflect.Descriptor instead. +func (*ArchiveSpansEvent_Tag) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{6, 1} +} + +func (x *ArchiveSpansEvent_Tag) GetKey() *wrapperspb.StringValue { + if x != nil { + return x.Key + } + return nil +} + +func (x *ArchiveSpansEvent_Tag) GetValue() *wrapperspb.StringValue { + if x != nil { + return x.Value + } + return nil +} + +type ArchiveSpansEvent_Log struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Fields map[string]*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ArchiveSpansEvent_Log) Reset() { + *x = ArchiveSpansEvent_Log{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArchiveSpansEvent_Log) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArchiveSpansEvent_Log) ProtoMessage() {} + +func (x *ArchiveSpansEvent_Log) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArchiveSpansEvent_Log.ProtoReflect.Descriptor instead. +func (*ArchiveSpansEvent_Log) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{6, 2} +} + +func (x *ArchiveSpansEvent_Log) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +func (x *ArchiveSpansEvent_Log) GetFields() map[string]*wrapperspb.StringValue { + if x != nil { + return x.Fields + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDesc = []byte{ + 0x0a, 0x50, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, + 0x76, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x2f, 0x63, 0x6f, + 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, + 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, + 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x38, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, + 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, + 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, + 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x04, 0x0a, 0x23, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x31, + 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, + 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, + 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x5f, 0x72, 0x61, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, 0x47, 0x0a, 0x10, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x22, 0xae, 0x01, 0x0a, 0x24, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, + 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x8f, 0x04, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, + 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, + 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x13, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, + 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, + 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x4a, 0x04, 0x08, 0x0b, + 0x10, 0x0c, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x22, 0xb9, 0x01, 0x0a, 0x20, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x65, 0x74, 0x63, + 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, + 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x65, 0x64, 0x22, 0xae, 0x03, 0x0a, 0x24, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, + 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, + 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, + 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, + 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x61, 0x77, 0x22, 0x5a, 0x0a, 0x25, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, + 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x22, 0xb5, 0x0a, 0x0a, 0x11, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, + 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x37, + 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, + 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x60, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x53, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x12, 0x62, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, + 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x0b, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x54, 0x61, 0x67, 0x73, 0x12, 0x53, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x1a, 0x9e, 0x02, + 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x69, + 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x2e, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xfd, 0x01, 0x0a, 0x03, 0x4c, 0x6f, + 0x67, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x63, 0x0a, 0x06, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, + 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x2e, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, + 0x1a, 0x57, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8d, 0x05, 0x0a, 0x24, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, + 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, + 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, + 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, + 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, 0x40, 0x0a, 0x0d, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x47, 0x0a, 0x10, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x73, 0x0a, 0x25, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x85, + 0x05, 0x0a, 0x26, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, + 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, + 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, + 0x77, 0x12, 0x40, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x6b, 0x65, + 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4b, + 0x65, 0x79, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x06, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x06, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x78, 0x0a, 0x27, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, + 0x61, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x22, 0x89, 0x05, 0x0a, 0x2a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, + 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, + 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x13, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x68, + 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, + 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x08, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, 0x40, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x62, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, + 0x12, 0x4a, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x7c, 0x0a, 0x2b, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x73, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xf3, 0x03, 0x0a, 0x22, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, + 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x0a, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4c, + 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x56, 0x0a, 0x05, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, + 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, + 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, 0x45, 0x0a, 0x0f, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, + 0x22, 0x59, 0x0a, 0x23, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0x93, 0x0d, 0x0a, 0x1d, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe5, 0x01, + 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, + 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x4d, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4e, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xba, + 0xb8, 0x02, 0x22, 0x0a, 0x20, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x73, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xd4, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x12, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4a, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0xba, 0xb8, 0x02, 0x1d, 0x0a, + 0x1b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x20, + 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xe9, 0x01, 0x0a, + 0x1d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, + 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4e, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4f, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x27, 0xba, 0xb8, 0x02, 0x23, 0x0a, 0x21, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, + 0x63, 0x68, 0x69, 0x76, 0x65, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x20, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0xe9, 0x01, 0x0a, 0x1d, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x4e, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4f, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0xba, 0xb8, 0x02, + 0x23, 0x0a, 0x21, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x20, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x73, 0x12, 0xf1, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, 0x61, + 0x6e, 0x73, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x50, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x51, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0xba, + 0xb8, 0x02, 0x25, 0x0a, 0x23, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x73, 0x70, 0x61, 0x6e, + 0x73, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x82, 0x02, 0x0a, 0x23, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, + 0x64, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x12, 0x54, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, + 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x55, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0xba, + 0xb8, 0x02, 0x2a, 0x0a, 0x28, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x73, 0x70, 0x61, 0x6e, + 0x73, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xe1, 0x01, + 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, + 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4c, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4d, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, + 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0xba, 0xb8, 0x02, 0x21, + 0x0a, 0x1f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_goTypes = []interface{}{ + (*SearchArchiveSpansTimeSeriesRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest + (*SearchArchiveSpansTimeSeriesResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesResponse + (*SearchArchiveSpansEventsRequest)(nil), // 2: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest + (*SearchArchiveSpansEventsResponse)(nil), // 3: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsResponse + (*SearchArchiveSpansEventsCountRequest)(nil), // 4: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest + (*SearchArchiveSpansEventsCountResponse)(nil), // 5: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountResponse + (*ArchiveSpansEvent)(nil), // 6: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent + (*SearchArchiveSpansEventGroupsRequest)(nil), // 7: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest + (*SearchArchiveSpansEventGroupsResponse)(nil), // 8: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsResponse + (*SearchArchiveGroupedSpansSeriesRequest)(nil), // 9: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest + (*SearchArchiveGroupedSpansSeriesResponse)(nil), // 10: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse + (*SearchArchiveGroupedSpansTimeSeriesRequest)(nil), // 11: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest + (*SearchArchiveGroupedSpansTimeSeriesResponse)(nil), // 12: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse + (*SearchArchiveSpansTimeValueRequest)(nil), // 13: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest + (*SearchArchiveSpansTimeValueResponse)(nil), // 14: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueResponse + (*ArchiveSpansEvent_Metadata)(nil), // 15: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata + (*ArchiveSpansEvent_Tag)(nil), // 16: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag + (*ArchiveSpansEvent_Log)(nil), // 17: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log + nil, // 18: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.FieldsEntry + (*wrapperspb.StringValue)(nil), // 19: google.protobuf.StringValue + (*TimeFrame)(nil), // 20: com.coralogixapis.dashboards.v1.common.TimeFrame + (*wrapperspb.Int32Value)(nil), // 21: google.protobuf.Int32Value + (*SerializedDataprimeQuery)(nil), // 22: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + (*DataprimeQuery)(nil), // 23: com.coralogixapis.dashboards.v1.common.DataprimeQuery + (*TimeSeries)(nil), // 24: com.coralogixapis.dashboards.v1.common.TimeSeries + (*wrapperspb.Int64Value)(nil), // 25: google.protobuf.Int64Value + (*Pagination)(nil), // 26: com.coralogixapis.dashboards.v1.common.Pagination + (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 28: google.protobuf.Duration + (*MultiGroup)(nil), // 29: com.coralogixapis.dashboards.v1.common.MultiGroup + (*GroupLimit)(nil), // 30: com.coralogixapis.dashboards.v1.common.GroupLimit + (*GroupedSeries)(nil), // 31: com.coralogixapis.dashboards.v1.common.GroupedSeries + (*wrapperspb.DoubleValue)(nil), // 32: google.protobuf.DoubleValue +} +var file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_depIdxs = []int32{ + 19, // 0: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue + 20, // 1: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 21, // 2: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value + 19, // 3: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue + 22, // 4: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 23, // 5: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 19, // 6: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.aggregation_keys:type_name -> google.protobuf.StringValue + 24, // 7: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries + 25, // 8: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value + 19, // 9: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.widget_id:type_name -> google.protobuf.StringValue + 20, // 10: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 26, // 11: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination + 19, // 12: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.request_params_hash:type_name -> google.protobuf.StringValue + 22, // 13: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 23, // 14: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 6, // 15: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsResponse.events:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent + 21, // 16: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsResponse.total_fetched:type_name -> google.protobuf.Int32Value + 19, // 17: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.widget_id:type_name -> google.protobuf.StringValue + 20, // 18: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 19, // 19: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.request_params_hash:type_name -> google.protobuf.StringValue + 22, // 20: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 23, // 21: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 25, // 22: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountResponse.count:type_name -> google.protobuf.Int64Value + 19, // 23: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.span_id:type_name -> google.protobuf.StringValue + 19, // 24: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.trace_id:type_name -> google.protobuf.StringValue + 19, // 25: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.parent_span_id:type_name -> google.protobuf.StringValue + 15, // 26: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.metadata:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata + 27, // 27: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.start_time:type_name -> google.protobuf.Timestamp + 28, // 28: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.duration:type_name -> google.protobuf.Duration + 16, // 29: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.tags:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag + 16, // 30: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.process_tags:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag + 17, // 31: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.logs:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log + 19, // 32: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.widget_id:type_name -> google.protobuf.StringValue + 20, // 33: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 19, // 34: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.request_params_hash:type_name -> google.protobuf.StringValue + 22, // 35: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 23, // 36: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 19, // 37: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.group_by_keys:type_name -> google.protobuf.StringValue + 19, // 38: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.aggregation_keys:type_name -> google.protobuf.StringValue + 26, // 39: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination + 29, // 40: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup + 19, // 41: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.widget_id:type_name -> google.protobuf.StringValue + 20, // 42: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 19, // 43: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue + 22, // 44: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 23, // 45: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 19, // 46: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue + 19, // 47: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue + 30, // 48: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit + 31, // 49: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 19, // 50: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue + 20, // 51: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 19, // 52: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue + 22, // 53: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 23, // 54: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 19, // 55: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue + 19, // 56: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue + 30, // 57: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit + 31, // 58: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 19, // 59: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.widget_id:type_name -> google.protobuf.StringValue + 20, // 60: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 19, // 61: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.request_params_hash:type_name -> google.protobuf.StringValue + 22, // 62: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 23, // 63: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 19, // 64: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.aggregation_key:type_name -> google.protobuf.StringValue + 32, // 65: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueResponse.value:type_name -> google.protobuf.DoubleValue + 19, // 66: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.application_name:type_name -> google.protobuf.StringValue + 19, // 67: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.subsystem_name:type_name -> google.protobuf.StringValue + 19, // 68: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.service_name:type_name -> google.protobuf.StringValue + 19, // 69: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.operation_name:type_name -> google.protobuf.StringValue + 19, // 70: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag.key:type_name -> google.protobuf.StringValue + 19, // 71: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag.value:type_name -> google.protobuf.StringValue + 27, // 72: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.timestamp:type_name -> google.protobuf.Timestamp + 18, // 73: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.fields:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.FieldsEntry + 19, // 74: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.FieldsEntry.value:type_name -> google.protobuf.StringValue + 0, // 75: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest + 2, // 76: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest + 4, // 77: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventsCount:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest + 7, // 78: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventGroups:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest + 9, // 79: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest + 11, // 80: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest + 13, // 81: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeValue:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest + 1, // 82: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesResponse + 3, // 83: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsResponse + 5, // 84: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventsCount:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountResponse + 8, // 85: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventGroups:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsResponse + 10, // 86: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse + 12, // 87: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse + 14, // 88: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeValue:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueResponse + 82, // [82:89] is the sub-list for method output_type + 75, // [75:82] is the sub-list for method input_type + 75, // [75:75] is the sub-list for extension type_name + 75, // [75:75] is the sub-list for extension extendee + 0, // [0:75] is the sub-list for field type_name +} + +func init() { + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_init() +} +func file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_init() { + if File_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto != nil { + return + } + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_group_proto_init() + file_com_coralogixapis_dashboards_v1_common_group_limit_proto_init() + file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_init() + file_com_coralogixapis_dashboards_v1_common_pagination_proto_init() + file_com_coralogixapis_dashboards_v1_common_query_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_series_proto_init() + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansTimeSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansTimeSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansEventsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansEventsCountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansEventsCountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArchiveSpansEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansEventGroupsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansEventGroupsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedSpansSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedSpansSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedSpansTimeSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveGroupedSpansTimeSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansTimeValueRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchArchiveSpansTimeValueResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArchiveSpansEvent_Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArchiveSpansEvent_Tag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArchiveSpansEvent_Log); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 19, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto = out.File + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service_grpc.pb.go new file mode 100644 index 00000000..c4e7a0c8 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service_grpc.pb.go @@ -0,0 +1,322 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/archive_spans_data_source_service.proto + +package __ + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// 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 + +// ArchiveSpansDataSourceServiceClient is the client API for ArchiveSpansDataSourceService 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 ArchiveSpansDataSourceServiceClient interface { + SearchArchiveSpansTimeSeries(ctx context.Context, in *SearchArchiveSpansTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveSpansTimeSeriesResponse, error) + SearchArchiveSpansEvents(ctx context.Context, in *SearchArchiveSpansEventsRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventsResponse, error) + SearchArchiveSpansEventsCount(ctx context.Context, in *SearchArchiveSpansEventsCountRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventsCountResponse, error) + SearchArchiveSpansEventGroups(ctx context.Context, in *SearchArchiveSpansEventGroupsRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventGroupsResponse, error) + SearchArchiveGroupedSpansSeries(ctx context.Context, in *SearchArchiveGroupedSpansSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedSpansSeriesResponse, error) + SearchArchiveGroupedSpansTimeSeries(ctx context.Context, in *SearchArchiveGroupedSpansTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedSpansTimeSeriesResponse, error) + SearchArchiveSpansTimeValue(ctx context.Context, in *SearchArchiveSpansTimeValueRequest, opts ...grpc.CallOption) (*SearchArchiveSpansTimeValueResponse, error) +} + +type archiveSpansDataSourceServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewArchiveSpansDataSourceServiceClient(cc grpc.ClientConnInterface) ArchiveSpansDataSourceServiceClient { + return &archiveSpansDataSourceServiceClient{cc} +} + +func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansTimeSeries(ctx context.Context, in *SearchArchiveSpansTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveSpansTimeSeriesResponse, error) { + out := new(SearchArchiveSpansTimeSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansTimeSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansEvents(ctx context.Context, in *SearchArchiveSpansEventsRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventsResponse, error) { + out := new(SearchArchiveSpansEventsResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEvents", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansEventsCount(ctx context.Context, in *SearchArchiveSpansEventsCountRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventsCountResponse, error) { + out := new(SearchArchiveSpansEventsCountResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEventsCount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansEventGroups(ctx context.Context, in *SearchArchiveSpansEventGroupsRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventGroupsResponse, error) { + out := new(SearchArchiveSpansEventGroupsResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEventGroups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveSpansDataSourceServiceClient) SearchArchiveGroupedSpansSeries(ctx context.Context, in *SearchArchiveGroupedSpansSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedSpansSeriesResponse, error) { + out := new(SearchArchiveGroupedSpansSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveGroupedSpansSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveSpansDataSourceServiceClient) SearchArchiveGroupedSpansTimeSeries(ctx context.Context, in *SearchArchiveGroupedSpansTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedSpansTimeSeriesResponse, error) { + out := new(SearchArchiveGroupedSpansTimeSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveGroupedSpansTimeSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansTimeValue(ctx context.Context, in *SearchArchiveSpansTimeValueRequest, opts ...grpc.CallOption) (*SearchArchiveSpansTimeValueResponse, error) { + out := new(SearchArchiveSpansTimeValueResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansTimeValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ArchiveSpansDataSourceServiceServer is the server API for ArchiveSpansDataSourceService service. +// All implementations must embed UnimplementedArchiveSpansDataSourceServiceServer +// for forward compatibility +type ArchiveSpansDataSourceServiceServer interface { + SearchArchiveSpansTimeSeries(context.Context, *SearchArchiveSpansTimeSeriesRequest) (*SearchArchiveSpansTimeSeriesResponse, error) + SearchArchiveSpansEvents(context.Context, *SearchArchiveSpansEventsRequest) (*SearchArchiveSpansEventsResponse, error) + SearchArchiveSpansEventsCount(context.Context, *SearchArchiveSpansEventsCountRequest) (*SearchArchiveSpansEventsCountResponse, error) + SearchArchiveSpansEventGroups(context.Context, *SearchArchiveSpansEventGroupsRequest) (*SearchArchiveSpansEventGroupsResponse, error) + SearchArchiveGroupedSpansSeries(context.Context, *SearchArchiveGroupedSpansSeriesRequest) (*SearchArchiveGroupedSpansSeriesResponse, error) + SearchArchiveGroupedSpansTimeSeries(context.Context, *SearchArchiveGroupedSpansTimeSeriesRequest) (*SearchArchiveGroupedSpansTimeSeriesResponse, error) + SearchArchiveSpansTimeValue(context.Context, *SearchArchiveSpansTimeValueRequest) (*SearchArchiveSpansTimeValueResponse, error) + mustEmbedUnimplementedArchiveSpansDataSourceServiceServer() +} + +// UnimplementedArchiveSpansDataSourceServiceServer must be embedded to have forward compatible implementations. +type UnimplementedArchiveSpansDataSourceServiceServer struct { +} + +func (UnimplementedArchiveSpansDataSourceServiceServer) SearchArchiveSpansTimeSeries(context.Context, *SearchArchiveSpansTimeSeriesRequest) (*SearchArchiveSpansTimeSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveSpansTimeSeries not implemented") +} +func (UnimplementedArchiveSpansDataSourceServiceServer) SearchArchiveSpansEvents(context.Context, *SearchArchiveSpansEventsRequest) (*SearchArchiveSpansEventsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveSpansEvents not implemented") +} +func (UnimplementedArchiveSpansDataSourceServiceServer) SearchArchiveSpansEventsCount(context.Context, *SearchArchiveSpansEventsCountRequest) (*SearchArchiveSpansEventsCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveSpansEventsCount not implemented") +} +func (UnimplementedArchiveSpansDataSourceServiceServer) SearchArchiveSpansEventGroups(context.Context, *SearchArchiveSpansEventGroupsRequest) (*SearchArchiveSpansEventGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveSpansEventGroups not implemented") +} +func (UnimplementedArchiveSpansDataSourceServiceServer) SearchArchiveGroupedSpansSeries(context.Context, *SearchArchiveGroupedSpansSeriesRequest) (*SearchArchiveGroupedSpansSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveGroupedSpansSeries not implemented") +} +func (UnimplementedArchiveSpansDataSourceServiceServer) SearchArchiveGroupedSpansTimeSeries(context.Context, *SearchArchiveGroupedSpansTimeSeriesRequest) (*SearchArchiveGroupedSpansTimeSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveGroupedSpansTimeSeries not implemented") +} +func (UnimplementedArchiveSpansDataSourceServiceServer) SearchArchiveSpansTimeValue(context.Context, *SearchArchiveSpansTimeValueRequest) (*SearchArchiveSpansTimeValueResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveSpansTimeValue not implemented") +} +func (UnimplementedArchiveSpansDataSourceServiceServer) mustEmbedUnimplementedArchiveSpansDataSourceServiceServer() { +} + +// UnsafeArchiveSpansDataSourceServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ArchiveSpansDataSourceServiceServer will +// result in compilation errors. +type UnsafeArchiveSpansDataSourceServiceServer interface { + mustEmbedUnimplementedArchiveSpansDataSourceServiceServer() +} + +func RegisterArchiveSpansDataSourceServiceServer(s grpc.ServiceRegistrar, srv ArchiveSpansDataSourceServiceServer) { + s.RegisterService(&ArchiveSpansDataSourceService_ServiceDesc, srv) +} + +func _ArchiveSpansDataSourceService_SearchArchiveSpansTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveSpansTimeSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansTimeSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansTimeSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansTimeSeries(ctx, req.(*SearchArchiveSpansTimeSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveSpansDataSourceService_SearchArchiveSpansEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveSpansEventsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansEvents(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEvents", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansEvents(ctx, req.(*SearchArchiveSpansEventsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveSpansDataSourceService_SearchArchiveSpansEventsCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveSpansEventsCountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansEventsCount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEventsCount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansEventsCount(ctx, req.(*SearchArchiveSpansEventsCountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveSpansDataSourceService_SearchArchiveSpansEventGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveSpansEventGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansEventGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEventGroups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansEventGroups(ctx, req.(*SearchArchiveSpansEventGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveSpansDataSourceService_SearchArchiveGroupedSpansSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveGroupedSpansSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveGroupedSpansSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveGroupedSpansSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveGroupedSpansSeries(ctx, req.(*SearchArchiveGroupedSpansSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveSpansDataSourceService_SearchArchiveGroupedSpansTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveGroupedSpansTimeSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveGroupedSpansTimeSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveGroupedSpansTimeSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveGroupedSpansTimeSeries(ctx, req.(*SearchArchiveGroupedSpansTimeSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArchiveSpansDataSourceService_SearchArchiveSpansTimeValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArchiveSpansTimeValueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansTimeValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansTimeValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansTimeValue(ctx, req.(*SearchArchiveSpansTimeValueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ArchiveSpansDataSourceService_ServiceDesc is the grpc.ServiceDesc for ArchiveSpansDataSourceService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ArchiveSpansDataSourceService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService", + HandlerType: (*ArchiveSpansDataSourceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SearchArchiveSpansTimeSeries", + Handler: _ArchiveSpansDataSourceService_SearchArchiveSpansTimeSeries_Handler, + }, + { + MethodName: "SearchArchiveSpansEvents", + Handler: _ArchiveSpansDataSourceService_SearchArchiveSpansEvents_Handler, + }, + { + MethodName: "SearchArchiveSpansEventsCount", + Handler: _ArchiveSpansDataSourceService_SearchArchiveSpansEventsCount_Handler, + }, + { + MethodName: "SearchArchiveSpansEventGroups", + Handler: _ArchiveSpansDataSourceService_SearchArchiveSpansEventGroups_Handler, + }, + { + MethodName: "SearchArchiveGroupedSpansSeries", + Handler: _ArchiveSpansDataSourceService_SearchArchiveGroupedSpansSeries_Handler, + }, + { + MethodName: "SearchArchiveGroupedSpansTimeSeries", + Handler: _ArchiveSpansDataSourceService_SearchArchiveGroupedSpansTimeSeries_Handler, + }, + { + MethodName: "SearchArchiveSpansTimeValue", + Handler: _ArchiveSpansDataSourceService_SearchArchiveSpansTimeValue_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "com/coralogixapis/dashboards/v1/services/archive_spans_data_source_service.proto", +} diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/audit_log.pb.go b/coralogix/clientset/grpc/dashboards/audit_log.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/audit_log.pb.go rename to coralogix/clientset/grpc/dashboards/audit_log.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/bar_chart.pb.go b/coralogix/clientset/grpc/dashboards/bar_chart.pb.go similarity index 62% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/bar_chart.pb.go rename to coralogix/clientset/grpc/dashboards/bar_chart.pb.go index eb869699..9a88ca22 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/bar_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/bar_chart.pb.go @@ -158,6 +158,7 @@ type BarChart_Query struct { // *BarChart_Query_Logs // *BarChart_Query_Spans // *BarChart_Query_Metrics + // *BarChart_Query_Dataprime Value isBarChart_Query_Value `protobuf_oneof:"value"` } @@ -221,6 +222,13 @@ func (x *BarChart_Query) GetMetrics() *BarChart_MetricsQuery { return nil } +func (x *BarChart_Query) GetDataprime() *BarChart_DataprimeQuery { + if x, ok := x.GetValue().(*BarChart_Query_Dataprime); ok { + return x.Dataprime + } + return nil +} + type isBarChart_Query_Value interface { isBarChart_Query_Value() } @@ -237,12 +245,18 @@ type BarChart_Query_Metrics struct { Metrics *BarChart_MetricsQuery `protobuf:"bytes,3,opt,name=metrics,proto3,oneof"` } +type BarChart_Query_Dataprime struct { + Dataprime *BarChart_DataprimeQuery `protobuf:"bytes,4,opt,name=dataprime,proto3,oneof"` +} + func (*BarChart_Query_Logs) isBarChart_Query_Value() {} func (*BarChart_Query_Spans) isBarChart_Query_Value() {} func (*BarChart_Query_Metrics) isBarChart_Query_Value() {} +func (*BarChart_Query_Dataprime) isBarChart_Query_Value() {} + type BarChart_StackDefinition struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -623,6 +637,77 @@ func (x *BarChart_MetricsQuery) GetStackedGroupName() *wrapperspb.StringValue { return nil } +type BarChart_DataprimeQuery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DataprimeQuery *DataprimeQuery `protobuf:"bytes,1,opt,name=dataprime_query,json=dataprimeQuery,proto3" json:"dataprime_query,omitempty"` + Filters []*Filter_Source `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + GroupNames []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` + StackedGroupName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` +} + +func (x *BarChart_DataprimeQuery) Reset() { + *x = BarChart_DataprimeQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BarChart_DataprimeQuery) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BarChart_DataprimeQuery) ProtoMessage() {} + +func (x *BarChart_DataprimeQuery) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BarChart_DataprimeQuery.ProtoReflect.Descriptor instead. +func (*BarChart_DataprimeQuery) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 6} +} + +func (x *BarChart_DataprimeQuery) GetDataprimeQuery() *DataprimeQuery { + if x != nil { + return x.DataprimeQuery + } + return nil +} + +func (x *BarChart_DataprimeQuery) GetFilters() []*Filter_Source { + if x != nil { + return x.Filters + } + return nil +} + +func (x *BarChart_DataprimeQuery) GetGroupNames() []*wrapperspb.StringValue { + if x != nil { + return x.GroupNames + } + return nil +} + +func (x *BarChart_DataprimeQuery) GetStackedGroupName() *wrapperspb.StringValue { + if x != nil { + return x.StackedGroupName + } + return nil +} + type BarChart_XAxis_XAxisByValue struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -632,7 +717,7 @@ type BarChart_XAxis_XAxisByValue struct { func (x *BarChart_XAxis_XAxisByValue) Reset() { *x = BarChart_XAxis_XAxisByValue{} if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[7] + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -645,7 +730,7 @@ func (x *BarChart_XAxis_XAxisByValue) String() string { func (*BarChart_XAxis_XAxisByValue) ProtoMessage() {} func (x *BarChart_XAxis_XAxisByValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[7] + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -673,7 +758,7 @@ type BarChart_XAxis_XAxisByTime struct { func (x *BarChart_XAxis_XAxisByTime) Reset() { *x = BarChart_XAxis_XAxisByTime{} if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[8] + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -686,7 +771,7 @@ func (x *BarChart_XAxis_XAxisByTime) String() string { func (*BarChart_XAxis_XAxisByTime) ProtoMessage() {} func (x *BarChart_XAxis_XAxisByTime) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[8] + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -761,223 +846,254 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDesc = [ 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, + 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x70, - 0x61, 0x6e, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x19, 0x0a, 0x08, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, - 0x72, 0x74, 0x12, 0x51, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, - 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x48, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x72, - 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, - 0x6d, 0x61, 0x78, 0x42, 0x61, 0x72, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, - 0x4c, 0x0a, 0x13, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x70, 0x0a, - 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, + 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x1c, 0x0a, 0x08, 0x42, 0x61, + 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x51, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, + 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x48, 0x0a, 0x12, 0x6d, 0x61, 0x78, + 0x5f, 0x62, 0x61, 0x72, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x72, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, + 0x61, 0x72, 0x74, 0x12, 0x4c, 0x0a, 0x13, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x12, 0x70, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, + 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, + 0x72, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x0a, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, - 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x53, - 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, - 0x73, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x5c, 0x0a, 0x0a, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x09, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x59, 0x0a, - 0x09, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x61, + 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x59, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x5f, 0x62, 0x79, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, + 0x42, 0x79, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x12, 0x52, 0x0a, 0x06, + 0x78, 0x5f, 0x61, 0x78, 0x69, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, + 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, + 0x61, 0x72, 0x74, 0x2e, 0x58, 0x41, 0x78, 0x69, 0x73, 0x52, 0x05, 0x78, 0x41, 0x78, 0x69, 0x73, + 0x12, 0x4c, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x57, + 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x3f, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6f, 0x72, + 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6c, + 0x6f, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x52, 0x08, - 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x12, 0x52, 0x0a, 0x06, 0x78, 0x5f, 0x61, 0x78, - 0x69, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x1a, 0x87, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x04, 0x6c, 0x6f, + 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, - 0x58, 0x41, 0x78, 0x69, 0x73, 0x52, 0x05, 0x78, 0x41, 0x78, 0x69, 0x73, 0x12, 0x4c, 0x0a, 0x04, - 0x75, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, - 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, - 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x55, 0x6e, 0x69, 0x74, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x57, 0x0a, 0x07, 0x73, 0x6f, - 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, - 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x72, - 0x74, 0x42, 0x79, 0x12, 0x3f, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, - 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, - 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, - 0x64, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xa1, 0x02, 0x0a, - 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, - 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x73, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x58, 0x0a, - 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, + 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, + 0x73, 0x12, 0x58, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, + 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x5e, 0x0a, 0x07, 0x6d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, - 0x61, 0x72, 0x74, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, - 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x5e, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x61, 0x72, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x64, 0x0a, 0x09, 0x64, + 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, + 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, + 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xa9, 0x01, 0x0a, 0x0f, 0x53, + 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, + 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, + 0x5f, 0x62, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, + 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x53, 0x6c, 0x69, 0x63, + 0x65, 0x73, 0x50, 0x65, 0x72, 0x42, 0x61, 0x72, 0x12, 0x4c, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x63, + 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x11, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0xf1, 0x02, 0x0a, 0x05, 0x58, 0x41, 0x78, 0x69, 0x73, + 0x12, 0x60, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, + 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x58, 0x41, 0x78, 0x69, 0x73, 0x2e, 0x58, 0x41, 0x78, + 0x69, 0x73, 0x42, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, + 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x58, 0x41, 0x78, 0x69, 0x73, 0x2e, 0x58, 0x41, + 0x78, 0x69, 0x73, 0x42, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x1a, 0x0e, 0x0a, 0x0c, 0x58, 0x41, 0x78, 0x69, 0x73, 0x42, 0x79, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x1a, 0x8e, 0x01, 0x0a, 0x0b, 0x58, 0x41, 0x78, 0x69, 0x73, 0x42, 0x79, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x48, 0x0a, 0x11, 0x62, 0x75, 0x63, 0x6b, + 0x65, 0x74, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x10, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, + 0x65, 0x64, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x82, 0x05, 0x0a, 0x09, 0x4c, + 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, + 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x59, 0x0a, 0x0b, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, + 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, - 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x07, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x1a, 0xa9, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x6c, 0x69, 0x63, - 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6d, - 0x61, 0x78, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x50, 0x65, 0x72, 0x42, 0x61, 0x72, 0x12, 0x4c, - 0x0a, 0x13, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x73, 0x74, 0x61, 0x63, 0x6b, - 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0xf1, 0x02, 0x0a, - 0x05, 0x58, 0x41, 0x78, 0x69, 0x73, 0x12, 0x60, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, - 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x58, 0x41, 0x78, - 0x69, 0x73, 0x2e, 0x58, 0x41, 0x78, 0x69, 0x73, 0x42, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, - 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, - 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, - 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x58, 0x41, - 0x78, 0x69, 0x73, 0x2e, 0x58, 0x41, 0x78, 0x69, 0x73, 0x42, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x48, - 0x00, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x0e, 0x0a, 0x0c, 0x58, 0x41, 0x78, 0x69, 0x73, - 0x42, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x8e, 0x01, 0x0a, 0x0b, 0x58, 0x41, 0x78, 0x69, - 0x73, 0x42, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x48, - 0x0a, 0x11, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, - 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, - 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x50, - 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x1a, 0x82, 0x05, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, + 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x12, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x71, 0x0a, 0x18, + 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x15, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, + 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, + 0xd4, 0x03, 0x0a, 0x0a, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, - 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x73, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x4a, - 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, - 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x12, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, + 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x70, 0x61, + 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x52, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x52, 0x10, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x12, 0x71, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, - 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x15, - 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xd4, 0x03, 0x0a, 0x0a, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, - 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, - 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x75, 0x63, - 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, + 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, + 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xd2, 0x02, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, + 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, + 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, + 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x07, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, - 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x73, - 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, + 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, + 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, + 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, + 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xca, 0x02, 0x0a, 0x0e, + 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5f, + 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, - 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xd2, 0x02, 0x0a, - 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, - 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, - 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, - 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x0e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, + 0x4c, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, + 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x12, + 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -992,7 +1108,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZI return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescData } -var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_goTypes = []interface{}{ (*BarChart)(nil), // 0: com.coralogixapis.dashboards.v1.ast.widgets.BarChart (*BarChart_Query)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query @@ -1001,68 +1117,76 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_goTypes = [ (*BarChart_LogsQuery)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery (*BarChart_SpansQuery)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery (*BarChart_MetricsQuery)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery - (*BarChart_XAxis_XAxisByValue)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByValue - (*BarChart_XAxis_XAxisByTime)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime - (*wrapperspb.Int32Value)(nil), // 9: google.protobuf.Int32Value - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (ScaleType)(0), // 11: com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType - (*ColorsBy)(nil), // 12: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy - (Unit)(0), // 13: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - (SortByType)(0), // 14: com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType - (DataModeType)(0), // 15: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*LuceneQuery)(nil), // 16: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*LogsAggregation)(nil), // 17: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*Filter_LogsFilter)(nil), // 18: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*ObservationField)(nil), // 19: com.coralogixapis.dashboards.v1.common.ObservationField - (*SpansAggregation)(nil), // 20: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 21: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*SpanField)(nil), // 22: com.coralogixapis.dashboards.v1.common.SpanField - (*PromQlQuery)(nil), // 23: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 24: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (*durationpb.Duration)(nil), // 25: google.protobuf.Duration + (*BarChart_DataprimeQuery)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery + (*BarChart_XAxis_XAxisByValue)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByValue + (*BarChart_XAxis_XAxisByTime)(nil), // 9: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime + (*wrapperspb.Int32Value)(nil), // 10: google.protobuf.Int32Value + (*wrapperspb.StringValue)(nil), // 11: google.protobuf.StringValue + (ScaleType)(0), // 12: com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType + (*ColorsBy)(nil), // 13: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy + (Unit)(0), // 14: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit + (SortByType)(0), // 15: com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType + (DataModeType)(0), // 16: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType + (*LuceneQuery)(nil), // 17: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery + (*LogsAggregation)(nil), // 18: com.coralogixapis.dashboards.v1.common.LogsAggregation + (*Filter_LogsFilter)(nil), // 19: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter + (*ObservationField)(nil), // 20: com.coralogixapis.dashboards.v1.common.ObservationField + (*SpansAggregation)(nil), // 21: com.coralogixapis.dashboards.v1.common.SpansAggregation + (*Filter_SpansFilter)(nil), // 22: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter + (*SpanField)(nil), // 23: com.coralogixapis.dashboards.v1.common.SpanField + (*PromQlQuery)(nil), // 24: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery + (*Filter_MetricsFilter)(nil), // 25: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + (*DataprimeQuery)(nil), // 26: com.coralogixapis.dashboards.v1.common.DataprimeQuery + (*Filter_Source)(nil), // 27: com.coralogixapis.dashboards.v1.ast.Filter.Source + (*durationpb.Duration)(nil), // 28: google.protobuf.Duration } var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_depIdxs = []int32{ 1, // 0: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query - 9, // 1: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.max_bars_per_chart:type_name -> google.protobuf.Int32Value - 10, // 2: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.group_name_template:type_name -> google.protobuf.StringValue + 10, // 1: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.max_bars_per_chart:type_name -> google.protobuf.Int32Value + 11, // 2: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.group_name_template:type_name -> google.protobuf.StringValue 2, // 3: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.stack_definition:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition - 11, // 4: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.scale_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType - 12, // 5: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.colors_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy + 12, // 4: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.scale_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType + 13, // 5: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.colors_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy 3, // 6: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.x_axis:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis - 13, // 7: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - 14, // 8: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.sort_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType - 10, // 9: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.color_scheme:type_name -> google.protobuf.StringValue - 15, // 10: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType + 14, // 7: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit + 15, // 8: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.sort_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType + 11, // 9: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.color_scheme:type_name -> google.protobuf.StringValue + 16, // 10: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType 4, // 11: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery 5, // 12: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery 6, // 13: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery - 9, // 14: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition.max_slices_per_bar:type_name -> google.protobuf.Int32Value - 10, // 15: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition.stack_name_template:type_name -> google.protobuf.StringValue - 7, // 16: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.value:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByValue - 8, // 17: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.time:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime - 16, // 18: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 17, // 19: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 18, // 20: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 10, // 21: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.group_names:type_name -> google.protobuf.StringValue - 10, // 22: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 19, // 23: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.group_names_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 24: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.stacked_group_name_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 16, // 25: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 20, // 26: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 21, // 27: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 22, // 28: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.group_names:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 22, // 29: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.stacked_group_name:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 23, // 30: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 24, // 31: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 10, // 32: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.group_names:type_name -> google.protobuf.StringValue - 10, // 33: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 25, // 34: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime.interval:type_name -> google.protobuf.Duration - 9, // 35: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime.buckets_presented:type_name -> google.protobuf.Int32Value - 36, // [36:36] is the sub-list for method output_type - 36, // [36:36] is the sub-list for method input_type - 36, // [36:36] is the sub-list for extension type_name - 36, // [36:36] is the sub-list for extension extendee - 0, // [0:36] is the sub-list for field type_name + 7, // 14: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery + 10, // 15: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition.max_slices_per_bar:type_name -> google.protobuf.Int32Value + 11, // 16: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition.stack_name_template:type_name -> google.protobuf.StringValue + 8, // 17: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.value:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByValue + 9, // 18: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.time:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime + 17, // 19: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery + 18, // 20: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation + 19, // 21: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter + 11, // 22: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.group_names:type_name -> google.protobuf.StringValue + 11, // 23: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.stacked_group_name:type_name -> google.protobuf.StringValue + 20, // 24: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.group_names_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 20, // 25: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.stacked_group_name_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 17, // 26: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery + 21, // 27: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation + 22, // 28: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter + 23, // 29: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.group_names:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 23, // 30: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.stacked_group_name:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 24, // 31: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery + 25, // 32: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 11, // 33: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.group_names:type_name -> google.protobuf.StringValue + 11, // 34: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.stacked_group_name:type_name -> google.protobuf.StringValue + 26, // 35: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 27, // 36: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source + 11, // 37: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.group_names:type_name -> google.protobuf.StringValue + 11, // 38: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.stacked_group_name:type_name -> google.protobuf.StringValue + 28, // 39: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime.interval:type_name -> google.protobuf.Duration + 10, // 40: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime.buckets_presented:type_name -> google.protobuf.Int32Value + 41, // [41:41] is the sub-list for method output_type + 41, // [41:41] is the sub-list for method input_type + 41, // [41:41] is the sub-list for extension type_name + 41, // [41:41] is the sub-list for extension extendee + 0, // [0:41] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() } @@ -1073,12 +1197,13 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() { file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() + //file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_init() file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() + file_com_coralogixapis_dashboards_v1_common_query_proto_init() file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_init() if !protoimpl.UnsafeEnabled { @@ -1167,7 +1292,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() { } } file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BarChart_XAxis_XAxisByValue); i { + switch v := v.(*BarChart_DataprimeQuery); i { case 0: return &v.state case 1: @@ -1179,6 +1304,18 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() { } } file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BarChart_XAxis_XAxisByValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BarChart_XAxis_XAxisByTime); i { case 0: return &v.state @@ -1195,6 +1332,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() { (*BarChart_Query_Logs)(nil), (*BarChart_Query_Spans)(nil), (*BarChart_Query_Metrics)(nil), + (*BarChart_Query_Dataprime)(nil), } file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[3].OneofWrappers = []interface{}{ (*BarChart_XAxis_Value)(nil), @@ -1206,7 +1344,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDesc, NumEnums: 0, - NumMessages: 9, + NumMessages: 10, NumExtensions: 0, NumServices: 0, }, diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/colors_by.pb.go b/coralogix/clientset/grpc/dashboards/colors_by.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/colors_by.pb.go rename to coralogix/clientset/grpc/dashboards/colors_by.pb.go diff --git a/coralogix/clientset/grpc/dashboards/dashboard.pb.go b/coralogix/clientset/grpc/dashboards/dashboard.pb.go new file mode 100644 index 00000000..bea6b7be --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/dashboard.pb.go @@ -0,0 +1,399 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/ast/dashboard.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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) +) + +// Dashboard represents the structure and configuration of a Coralogix Custom Dashboard. +type Dashboard struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Unique identifier for the dashboard. + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // Display name of the dashboard. + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Brief description or summary of the dashboard's purpose or content. + Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // Layout configuration for the dashboard's visual elements. + Layout *Layout `protobuf:"bytes,4,opt,name=layout,proto3" json:"layout,omitempty"` + // List of variables that can be used within the dashboard for dynamic content. + Variables []*Variable `protobuf:"bytes,5,rep,name=variables,proto3" json:"variables,omitempty"` + // List of filters that can be applied to the dashboard's data. + Filters []*Filter `protobuf:"bytes,6,rep,name=filters,proto3" json:"filters,omitempty"` + // Specifies the time frame for the dashboard's data. Can be either absolute or relative. + // + // Types that are assignable to TimeFrame: + // *Dashboard_AbsoluteTimeFrame + // *Dashboard_RelativeTimeFrame + TimeFrame isDashboard_TimeFrame `protobuf_oneof:"time_frame"` + // polymorphic field for the dashboard's folder. We accept either a folder ID or a folder path + // + // Types that are assignable to Folder: + // *Dashboard_FolderId + // *Dashboard_FolderPath + Folder isDashboard_Folder `protobuf_oneof:"folder"` + Annotations []*Annotation `protobuf:"bytes,11,rep,name=annotations,proto3" json:"annotations,omitempty"` +} + +func (x *Dashboard) Reset() { + *x = Dashboard{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Dashboard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Dashboard) ProtoMessage() {} + +func (x *Dashboard) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Dashboard.ProtoReflect.Descriptor instead. +func (*Dashboard) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0} +} + +func (x *Dashboard) GetId() *wrapperspb.StringValue { + if x != nil { + return x.Id + } + return nil +} + +func (x *Dashboard) GetName() *wrapperspb.StringValue { + if x != nil { + return x.Name + } + return nil +} + +func (x *Dashboard) GetDescription() *wrapperspb.StringValue { + if x != nil { + return x.Description + } + return nil +} + +func (x *Dashboard) GetLayout() *Layout { + if x != nil { + return x.Layout + } + return nil +} + +func (x *Dashboard) GetVariables() []*Variable { + if x != nil { + return x.Variables + } + return nil +} + +func (x *Dashboard) GetFilters() []*Filter { + if x != nil { + return x.Filters + } + return nil +} + +func (m *Dashboard) GetTimeFrame() isDashboard_TimeFrame { + if m != nil { + return m.TimeFrame + } + return nil +} + +func (x *Dashboard) GetAbsoluteTimeFrame() *TimeFrame { + if x, ok := x.GetTimeFrame().(*Dashboard_AbsoluteTimeFrame); ok { + return x.AbsoluteTimeFrame + } + return nil +} + +func (x *Dashboard) GetRelativeTimeFrame() *durationpb.Duration { + if x, ok := x.GetTimeFrame().(*Dashboard_RelativeTimeFrame); ok { + return x.RelativeTimeFrame + } + return nil +} + +func (m *Dashboard) GetFolder() isDashboard_Folder { + if m != nil { + return m.Folder + } + return nil +} + +func (x *Dashboard) GetFolderId() *UUID { + if x, ok := x.GetFolder().(*Dashboard_FolderId); ok { + return x.FolderId + } + return nil +} + +func (x *Dashboard) GetFolderPath() *FolderPath { + if x, ok := x.GetFolder().(*Dashboard_FolderPath); ok { + return x.FolderPath + } + return nil +} + +func (x *Dashboard) GetAnnotations() []*Annotation { + if x != nil { + return x.Annotations + } + return nil +} + +type isDashboard_TimeFrame interface { + isDashboard_TimeFrame() +} + +type Dashboard_AbsoluteTimeFrame struct { + // Absolute time frame specifying a fixed start and end time. + AbsoluteTimeFrame *TimeFrame `protobuf:"bytes,7,opt,name=absolute_time_frame,json=absoluteTimeFrame,proto3,oneof"` +} + +type Dashboard_RelativeTimeFrame struct { + // Relative time frame specifying a duration from the current time. + RelativeTimeFrame *durationpb.Duration `protobuf:"bytes,8,opt,name=relative_time_frame,json=relativeTimeFrame,proto3,oneof"` +} + +func (*Dashboard_AbsoluteTimeFrame) isDashboard_TimeFrame() {} + +func (*Dashboard_RelativeTimeFrame) isDashboard_TimeFrame() {} + +type isDashboard_Folder interface { + isDashboard_Folder() +} + +type Dashboard_FolderId struct { + FolderId *UUID `protobuf:"bytes,9,opt,name=folder_id,json=folderId,proto3,oneof"` +} + +type Dashboard_FolderPath struct { + FolderPath *FolderPath `protobuf:"bytes,10,opt,name=folder_path,json=folderPath,proto3,oneof"` +} + +func (*Dashboard_FolderId) isDashboard_Folder() {} + +func (*Dashboard_FolderPath) isDashboard_Folder() {} + +var File_com_coralogixapis_dashboards_v1_ast_dashboard_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc = []byte{ + 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x1a, 0x34, 0x63, 0x6f, 0x6d, 0x2f, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x35, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x70, + 0x61, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x6c, + 0x61, 0x79, 0x6f, 0x75, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x74, + 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, + 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x06, 0x0a, 0x09, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, + 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, + 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x63, 0x0a, 0x13, + 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, + 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x11, + 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x12, 0x4b, 0x0a, 0x13, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x6c, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x44, + 0x0a, 0x09, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x55, 0x49, 0x44, 0x48, 0x01, 0x52, 0x08, 0x66, 0x6f, 0x6c, 0x64, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x52, 0x0a, 0x0b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, + 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x48, 0x01, 0x52, 0x0a, 0x66, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x51, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x6f, 0x6c, + 0x64, 0x65, 0x72, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes = []interface{}{ + (*Dashboard)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Dashboard + (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue + (*Layout)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Layout + (*Variable)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Variable + (*Filter)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Filter + (*TimeFrame)(nil), // 5: com.coralogixapis.dashboards.v1.common.TimeFrame + (*durationpb.Duration)(nil), // 6: google.protobuf.Duration + (*UUID)(nil), // 7: com.coralogixapis.dashboards.v1.UUID + (*FolderPath)(nil), // 8: com.coralogixapis.dashboards.v1.ast.FolderPath + (*Annotation)(nil), // 9: com.coralogixapis.dashboards.v1.ast.Annotation +} +var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs = []int32{ + 1, // 0: com.coralogixapis.dashboards.v1.ast.Dashboard.id:type_name -> google.protobuf.StringValue + 1, // 1: com.coralogixapis.dashboards.v1.ast.Dashboard.name:type_name -> google.protobuf.StringValue + 1, // 2: com.coralogixapis.dashboards.v1.ast.Dashboard.description:type_name -> google.protobuf.StringValue + 2, // 3: com.coralogixapis.dashboards.v1.ast.Dashboard.layout:type_name -> com.coralogixapis.dashboards.v1.ast.Layout + 3, // 4: com.coralogixapis.dashboards.v1.ast.Dashboard.variables:type_name -> com.coralogixapis.dashboards.v1.ast.Variable + 4, // 5: com.coralogixapis.dashboards.v1.ast.Dashboard.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter + 5, // 6: com.coralogixapis.dashboards.v1.ast.Dashboard.absolute_time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 6, // 7: com.coralogixapis.dashboards.v1.ast.Dashboard.relative_time_frame:type_name -> google.protobuf.Duration + 7, // 8: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_id:type_name -> com.coralogixapis.dashboards.v1.UUID + 8, // 9: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_path:type_name -> com.coralogixapis.dashboards.v1.ast.FolderPath + 9, // 10: com.coralogixapis.dashboards.v1.ast.Dashboard.annotations:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation + 11, // [11:11] is the sub-list for method output_type + 11, // [11:11] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() } +func file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() { + if File_com_coralogixapis_dashboards_v1_ast_dashboard_proto != nil { + return + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() + file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_init() + file_com_coralogixapis_dashboards_v1_ast_layout_proto_init() + file_com_coralogixapis_dashboards_v1_ast_variable_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() + file_com_coralogixapis_dashboards_v1_types_proto_init() + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Dashboard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Dashboard_AbsoluteTimeFrame)(nil), + (*Dashboard_RelativeTimeFrame)(nil), + (*Dashboard_FolderId)(nil), + (*Dashboard_FolderPath)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_ast_dashboard_proto = out.File + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard_catalog_service.pb.go b/coralogix/clientset/grpc/dashboards/dashboard_catalog_service.pb.go similarity index 61% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard_catalog_service.pb.go rename to coralogix/clientset/grpc/dashboards/dashboard_catalog_service.pb.go index 24ffcd5f..d959320d 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard_catalog_service.pb.go +++ b/coralogix/clientset/grpc/dashboards/dashboard_catalog_service.pb.go @@ -7,13 +7,12 @@ package __ import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -120,6 +119,7 @@ type DashboardCatalogItem struct { IsPinned *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=is_pinned,json=isPinned,proto3" json:"is_pinned,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + Folder *DashboardFolder `protobuf:"bytes,8,opt,name=folder,proto3" json:"folder,omitempty"` } func (x *DashboardCatalogItem) Reset() { @@ -203,6 +203,13 @@ func (x *DashboardCatalogItem) GetUpdateTime() *timestamppb.Timestamp { return nil } +func (x *DashboardCatalogItem) GetFolder() *DashboardFolder { + if x != nil { + return x.Folder + } + return nil +} + var File_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto protoreflect.FileDescriptor var file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDesc = []byte{ @@ -216,64 +223,70 @@ var file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_prot 0x69, 0x63, 0x65, 0x73, 0x1a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x73, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, - 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xa4, 0x03, 0x0a, 0x14, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x49, 0x74, - 0x65, 0x6d, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x37, 0x0a, - 0x09, 0x69, 0x73, 0x5f, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x66, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, + 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x73, 0x0a, 0x1b, 0x47, 0x65, 0x74, + 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xf5, + 0x03, 0x0a, 0x14, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, + 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x08, 0x69, 0x73, 0x50, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x69, 0x73, - 0x50, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x32, 0xdb, 0x01, 0x0a, 0x17, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, - 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xbf, 0x01, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, - 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x63, 0x6f, 0x6d, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x06, + 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x32, 0xdb, 0x01, 0x0a, 0x17, 0x44, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0xbf, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x1b, 0xba, 0xb8, 0x02, 0x17, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x20, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x20, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x42, 0x2a, - 0x5a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, - 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xba, 0xb8, 0x02, 0x17, 0x0a, 0x15, 0x67, + 0x65, 0x74, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x20, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -296,23 +309,25 @@ var file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_prot (*wrapperspb.StringValue)(nil), // 3: google.protobuf.StringValue (*wrapperspb.BoolValue)(nil), // 4: google.protobuf.BoolValue (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*DashboardFolder)(nil), // 6: com.coralogixapis.dashboards.v1.common.DashboardFolder } var file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.services.GetDashboardCatalogResponse.items:type_name -> com.coralogixapis.dashboards.v1.services.DashboardCatalogItem - 3, // 1: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.id:type_name -> google.protobuf.StringValue - 3, // 2: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.name:type_name -> google.protobuf.StringValue - 3, // 3: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.description:type_name -> google.protobuf.StringValue - 4, // 4: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.is_default:type_name -> google.protobuf.BoolValue - 4, // 5: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.is_pinned:type_name -> google.protobuf.BoolValue - 5, // 6: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.create_time:type_name -> google.protobuf.Timestamp - 5, // 7: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.update_time:type_name -> google.protobuf.Timestamp - 0, // 8: com.coralogixapis.dashboards.v1.services.DashboardCatalogService.GetDashboardCatalog:input_type -> com.coralogixapis.dashboards.v1.services.GetDashboardCatalogRequest - 1, // 9: com.coralogixapis.dashboards.v1.services.DashboardCatalogService.GetDashboardCatalog:output_type -> com.coralogixapis.dashboards.v1.services.GetDashboardCatalogResponse - 9, // [9:10] is the sub-list for method output_type - 8, // [8:9] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name + 2, // 0: com.coralogixapis.dashboards.v1.services.GetDashboardCatalogResponse.items:type_name -> com.coralogixapis.dashboards.v1.services.DashboardCatalogItem + 3, // 1: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.id:type_name -> google.protobuf.StringValue + 3, // 2: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.name:type_name -> google.protobuf.StringValue + 3, // 3: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.description:type_name -> google.protobuf.StringValue + 4, // 4: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.is_default:type_name -> google.protobuf.BoolValue + 4, // 5: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.is_pinned:type_name -> google.protobuf.BoolValue + 5, // 6: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.create_time:type_name -> google.protobuf.Timestamp + 5, // 7: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.update_time:type_name -> google.protobuf.Timestamp + 6, // 8: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder + 0, // 9: com.coralogixapis.dashboards.v1.services.DashboardCatalogService.GetDashboardCatalog:input_type -> com.coralogixapis.dashboards.v1.services.GetDashboardCatalogRequest + 1, // 10: com.coralogixapis.dashboards.v1.services.DashboardCatalogService.GetDashboardCatalog:output_type -> com.coralogixapis.dashboards.v1.services.GetDashboardCatalogResponse + 10, // [10:11] is the sub-list for method output_type + 9, // [9:10] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_init() } @@ -320,6 +335,8 @@ func file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_pro if File_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto != nil { return } + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_folder_proto_init() if !protoimpl.UnsafeEnabled { file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetDashboardCatalogRequest); i { diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard_catalog_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/dashboard_catalog_service_grpc.pb.go similarity index 99% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard_catalog_service_grpc.pb.go rename to coralogix/clientset/grpc/dashboards/dashboard_catalog_service_grpc.pb.go index 54fb5f32..dc76e671 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboard_catalog_service_grpc.pb.go +++ b/coralogix/clientset/grpc/dashboards/dashboard_catalog_service_grpc.pb.go @@ -8,7 +8,6 @@ package __ import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/coralogix/clientset/grpc/dashboards/dashboard_folders_service.pb.go b/coralogix/clientset/grpc/dashboards/dashboard_folders_service.pb.go new file mode 100644 index 00000000..98425c2b --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/dashboard_folders_service.pb.go @@ -0,0 +1,683 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/dashboard_folders_service.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + _ "google.golang.org/protobuf/types/descriptorpb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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 CreateDashboardFolderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Folder *DashboardFolder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"` +} + +func (x *CreateDashboardFolderRequest) Reset() { + *x = CreateDashboardFolderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateDashboardFolderRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateDashboardFolderRequest) ProtoMessage() {} + +func (x *CreateDashboardFolderRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateDashboardFolderRequest.ProtoReflect.Descriptor instead. +func (*CreateDashboardFolderRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateDashboardFolderRequest) GetRequestId() *wrapperspb.StringValue { + if x != nil { + return x.RequestId + } + return nil +} + +func (x *CreateDashboardFolderRequest) GetFolder() *DashboardFolder { + if x != nil { + return x.Folder + } + return nil +} + +type CreateDashboardFolderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateDashboardFolderResponse) Reset() { + *x = CreateDashboardFolderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateDashboardFolderResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateDashboardFolderResponse) ProtoMessage() {} + +func (x *CreateDashboardFolderResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateDashboardFolderResponse.ProtoReflect.Descriptor instead. +func (*CreateDashboardFolderResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{1} +} + +type ReplaceDashboardFolderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Folder *DashboardFolder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"` +} + +func (x *ReplaceDashboardFolderRequest) Reset() { + *x = ReplaceDashboardFolderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplaceDashboardFolderRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplaceDashboardFolderRequest) ProtoMessage() {} + +func (x *ReplaceDashboardFolderRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplaceDashboardFolderRequest.ProtoReflect.Descriptor instead. +func (*ReplaceDashboardFolderRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{2} +} + +func (x *ReplaceDashboardFolderRequest) GetRequestId() *wrapperspb.StringValue { + if x != nil { + return x.RequestId + } + return nil +} + +func (x *ReplaceDashboardFolderRequest) GetFolder() *DashboardFolder { + if x != nil { + return x.Folder + } + return nil +} + +type ReplaceDashboardFolderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReplaceDashboardFolderResponse) Reset() { + *x = ReplaceDashboardFolderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplaceDashboardFolderResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplaceDashboardFolderResponse) ProtoMessage() {} + +func (x *ReplaceDashboardFolderResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplaceDashboardFolderResponse.ProtoReflect.Descriptor instead. +func (*ReplaceDashboardFolderResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{3} +} + +type DeleteDashboardFolderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + FolderId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` +} + +func (x *DeleteDashboardFolderRequest) Reset() { + *x = DeleteDashboardFolderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteDashboardFolderRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteDashboardFolderRequest) ProtoMessage() {} + +func (x *DeleteDashboardFolderRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteDashboardFolderRequest.ProtoReflect.Descriptor instead. +func (*DeleteDashboardFolderRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{4} +} + +func (x *DeleteDashboardFolderRequest) GetRequestId() *wrapperspb.StringValue { + if x != nil { + return x.RequestId + } + return nil +} + +func (x *DeleteDashboardFolderRequest) GetFolderId() *wrapperspb.StringValue { + if x != nil { + return x.FolderId + } + return nil +} + +type DeleteDashboardFolderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteDashboardFolderResponse) Reset() { + *x = DeleteDashboardFolderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteDashboardFolderResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteDashboardFolderResponse) ProtoMessage() {} + +func (x *DeleteDashboardFolderResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteDashboardFolderResponse.ProtoReflect.Descriptor instead. +func (*DeleteDashboardFolderResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{5} +} + +type ListDashboardFoldersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ListDashboardFoldersRequest) Reset() { + *x = ListDashboardFoldersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListDashboardFoldersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListDashboardFoldersRequest) ProtoMessage() {} + +func (x *ListDashboardFoldersRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListDashboardFoldersRequest.ProtoReflect.Descriptor instead. +func (*ListDashboardFoldersRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{6} +} + +type ListDashboardFoldersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Folder []*DashboardFolder `protobuf:"bytes,1,rep,name=folder,proto3" json:"folder,omitempty"` +} + +func (x *ListDashboardFoldersResponse) Reset() { + *x = ListDashboardFoldersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListDashboardFoldersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListDashboardFoldersResponse) ProtoMessage() {} + +func (x *ListDashboardFoldersResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListDashboardFoldersResponse.ProtoReflect.Descriptor instead. +func (*ListDashboardFoldersResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{7} +} + +func (x *ListDashboardFoldersResponse) GetFolder() []*DashboardFolder { + if x != nil { + return x.Folder + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDesc = []byte{ + 0x0a, 0x48, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x1a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x66, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, + 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, + 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, + 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x4f, 0x0a, 0x06, 0x66, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, + 0x64, 0x65, 0x72, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x1f, 0x0a, 0x1d, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xad, 0x01, 0x0a, + 0x1d, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x4f, 0x0a, 0x06, 0x66, + 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x1e, + 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, + 0x01, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3b, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, + 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x66, + 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, + 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6f, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, + 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x32, 0xc1, 0x06, 0x0a, 0x17, 0x44, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0xc3, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x45, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, + 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0xba, 0xb8, + 0x02, 0x18, 0x0a, 0x16, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x20, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0xc7, 0x01, 0x0a, 0x15, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x12, 0x46, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, + 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0xba, 0xb8, 0x02, 0x19, 0x0a, 0x17, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x20, 0x66, 0x6f, + 0x6c, 0x64, 0x65, 0x72, 0x12, 0xcb, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, + 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x1e, 0xba, 0xb8, 0x02, 0x1a, 0x0a, 0x18, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x20, 0x66, 0x6f, 0x6c, 0x64, + 0x65, 0x72, 0x12, 0xc7, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x46, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, + 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0xba, + 0xb8, 0x02, 0x19, 0x0a, 0x17, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x20, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x03, 0x5a, 0x01, + 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_goTypes = []interface{}{ + (*CreateDashboardFolderRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.CreateDashboardFolderRequest + (*CreateDashboardFolderResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.CreateDashboardFolderResponse + (*ReplaceDashboardFolderRequest)(nil), // 2: com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderRequest + (*ReplaceDashboardFolderResponse)(nil), // 3: com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderResponse + (*DeleteDashboardFolderRequest)(nil), // 4: com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderRequest + (*DeleteDashboardFolderResponse)(nil), // 5: com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderResponse + (*ListDashboardFoldersRequest)(nil), // 6: com.coralogixapis.dashboards.v1.services.ListDashboardFoldersRequest + (*ListDashboardFoldersResponse)(nil), // 7: com.coralogixapis.dashboards.v1.services.ListDashboardFoldersResponse + (*wrapperspb.StringValue)(nil), // 8: google.protobuf.StringValue + (*DashboardFolder)(nil), // 9: com.coralogixapis.dashboards.v1.common.DashboardFolder +} +var file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_depIdxs = []int32{ + 8, // 0: com.coralogixapis.dashboards.v1.services.CreateDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue + 9, // 1: com.coralogixapis.dashboards.v1.services.CreateDashboardFolderRequest.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder + 8, // 2: com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue + 9, // 3: com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderRequest.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder + 8, // 4: com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue + 8, // 5: com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderRequest.folder_id:type_name -> google.protobuf.StringValue + 9, // 6: com.coralogixapis.dashboards.v1.services.ListDashboardFoldersResponse.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder + 6, // 7: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ListDashboardFolders:input_type -> com.coralogixapis.dashboards.v1.services.ListDashboardFoldersRequest + 0, // 8: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.CreateDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardFolderRequest + 2, // 9: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ReplaceDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderRequest + 4, // 10: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.DeleteDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderRequest + 7, // 11: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ListDashboardFolders:output_type -> com.coralogixapis.dashboards.v1.services.ListDashboardFoldersResponse + 1, // 12: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.CreateDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardFolderResponse + 3, // 13: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ReplaceDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderResponse + 5, // 14: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.DeleteDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderResponse + 11, // [11:15] is the sub-list for method output_type + 7, // [7:11] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_init() } +func file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_init() { + if File_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto != nil { + return + } + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_folder_proto_init() + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDashboardFolderRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDashboardFolderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplaceDashboardFolderRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplaceDashboardFolderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDashboardFolderRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDashboardFolderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDashboardFoldersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDashboardFoldersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto = out.File + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/dashboard_folders_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/dashboard_folders_service_grpc.pb.go new file mode 100644 index 00000000..85191ffd --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/dashboard_folders_service_grpc.pb.go @@ -0,0 +1,214 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/dashboard_folders_service.proto + +package __ + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// 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 + +// DashboardFoldersServiceClient is the client API for DashboardFoldersService 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 DashboardFoldersServiceClient interface { + ListDashboardFolders(ctx context.Context, in *ListDashboardFoldersRequest, opts ...grpc.CallOption) (*ListDashboardFoldersResponse, error) + CreateDashboardFolder(ctx context.Context, in *CreateDashboardFolderRequest, opts ...grpc.CallOption) (*CreateDashboardFolderResponse, error) + ReplaceDashboardFolder(ctx context.Context, in *ReplaceDashboardFolderRequest, opts ...grpc.CallOption) (*ReplaceDashboardFolderResponse, error) + DeleteDashboardFolder(ctx context.Context, in *DeleteDashboardFolderRequest, opts ...grpc.CallOption) (*DeleteDashboardFolderResponse, error) +} + +type dashboardFoldersServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDashboardFoldersServiceClient(cc grpc.ClientConnInterface) DashboardFoldersServiceClient { + return &dashboardFoldersServiceClient{cc} +} + +func (c *dashboardFoldersServiceClient) ListDashboardFolders(ctx context.Context, in *ListDashboardFoldersRequest, opts ...grpc.CallOption) (*ListDashboardFoldersResponse, error) { + out := new(ListDashboardFoldersResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ListDashboardFolders", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dashboardFoldersServiceClient) CreateDashboardFolder(ctx context.Context, in *CreateDashboardFolderRequest, opts ...grpc.CallOption) (*CreateDashboardFolderResponse, error) { + out := new(CreateDashboardFolderResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/CreateDashboardFolder", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dashboardFoldersServiceClient) ReplaceDashboardFolder(ctx context.Context, in *ReplaceDashboardFolderRequest, opts ...grpc.CallOption) (*ReplaceDashboardFolderResponse, error) { + out := new(ReplaceDashboardFolderResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ReplaceDashboardFolder", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dashboardFoldersServiceClient) DeleteDashboardFolder(ctx context.Context, in *DeleteDashboardFolderRequest, opts ...grpc.CallOption) (*DeleteDashboardFolderResponse, error) { + out := new(DeleteDashboardFolderResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/DeleteDashboardFolder", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DashboardFoldersServiceServer is the server API for DashboardFoldersService service. +// All implementations must embed UnimplementedDashboardFoldersServiceServer +// for forward compatibility +type DashboardFoldersServiceServer interface { + ListDashboardFolders(context.Context, *ListDashboardFoldersRequest) (*ListDashboardFoldersResponse, error) + CreateDashboardFolder(context.Context, *CreateDashboardFolderRequest) (*CreateDashboardFolderResponse, error) + ReplaceDashboardFolder(context.Context, *ReplaceDashboardFolderRequest) (*ReplaceDashboardFolderResponse, error) + DeleteDashboardFolder(context.Context, *DeleteDashboardFolderRequest) (*DeleteDashboardFolderResponse, error) + mustEmbedUnimplementedDashboardFoldersServiceServer() +} + +// UnimplementedDashboardFoldersServiceServer must be embedded to have forward compatible implementations. +type UnimplementedDashboardFoldersServiceServer struct { +} + +func (UnimplementedDashboardFoldersServiceServer) ListDashboardFolders(context.Context, *ListDashboardFoldersRequest) (*ListDashboardFoldersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListDashboardFolders not implemented") +} +func (UnimplementedDashboardFoldersServiceServer) CreateDashboardFolder(context.Context, *CreateDashboardFolderRequest) (*CreateDashboardFolderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateDashboardFolder not implemented") +} +func (UnimplementedDashboardFoldersServiceServer) ReplaceDashboardFolder(context.Context, *ReplaceDashboardFolderRequest) (*ReplaceDashboardFolderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReplaceDashboardFolder not implemented") +} +func (UnimplementedDashboardFoldersServiceServer) DeleteDashboardFolder(context.Context, *DeleteDashboardFolderRequest) (*DeleteDashboardFolderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteDashboardFolder not implemented") +} +func (UnimplementedDashboardFoldersServiceServer) mustEmbedUnimplementedDashboardFoldersServiceServer() { +} + +// UnsafeDashboardFoldersServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to DashboardFoldersServiceServer will +// result in compilation errors. +type UnsafeDashboardFoldersServiceServer interface { + mustEmbedUnimplementedDashboardFoldersServiceServer() +} + +func RegisterDashboardFoldersServiceServer(s grpc.ServiceRegistrar, srv DashboardFoldersServiceServer) { + s.RegisterService(&DashboardFoldersService_ServiceDesc, srv) +} + +func _DashboardFoldersService_ListDashboardFolders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListDashboardFoldersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DashboardFoldersServiceServer).ListDashboardFolders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ListDashboardFolders", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DashboardFoldersServiceServer).ListDashboardFolders(ctx, req.(*ListDashboardFoldersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DashboardFoldersService_CreateDashboardFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateDashboardFolderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DashboardFoldersServiceServer).CreateDashboardFolder(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/CreateDashboardFolder", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DashboardFoldersServiceServer).CreateDashboardFolder(ctx, req.(*CreateDashboardFolderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DashboardFoldersService_ReplaceDashboardFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ReplaceDashboardFolderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DashboardFoldersServiceServer).ReplaceDashboardFolder(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ReplaceDashboardFolder", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DashboardFoldersServiceServer).ReplaceDashboardFolder(ctx, req.(*ReplaceDashboardFolderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DashboardFoldersService_DeleteDashboardFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteDashboardFolderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DashboardFoldersServiceServer).DeleteDashboardFolder(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/DeleteDashboardFolder", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DashboardFoldersServiceServer).DeleteDashboardFolder(ctx, req.(*DeleteDashboardFolderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// DashboardFoldersService_ServiceDesc is the grpc.ServiceDesc for DashboardFoldersService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var DashboardFoldersService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "com.coralogixapis.dashboards.v1.services.DashboardFoldersService", + HandlerType: (*DashboardFoldersServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ListDashboardFolders", + Handler: _DashboardFoldersService_ListDashboardFolders_Handler, + }, + { + MethodName: "CreateDashboardFolder", + Handler: _DashboardFoldersService_CreateDashboardFolder_Handler, + }, + { + MethodName: "ReplaceDashboardFolder", + Handler: _DashboardFoldersService_ReplaceDashboardFolder_Handler, + }, + { + MethodName: "DeleteDashboardFolder", + Handler: _DashboardFoldersService_DeleteDashboardFolder_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "com/coralogixapis/dashboards/v1/services/dashboard_folders_service.proto", +} diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboards_service.pb.go b/coralogix/clientset/grpc/dashboards/dashboards_service.pb.go similarity index 72% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/dashboards_service.pb.go rename to coralogix/clientset/grpc/dashboards/dashboards_service.pb.go index 30d08edb..78327c37 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboards_service.pb.go +++ b/coralogix/clientset/grpc/dashboards/dashboards_service.pb.go @@ -7,13 +7,12 @@ package __ import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/descriptorpb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -29,7 +28,7 @@ type CreateDashboardRequest struct { unknownFields protoimpl.UnknownFields RequestId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"` + Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"` } func (x *CreateDashboardRequest) Reset() { @@ -122,7 +121,7 @@ type ReplaceDashboardRequest struct { unknownFields protoimpl.UnknownFields RequestId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"` + Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"` } func (x *ReplaceDashboardRequest) Reset() { @@ -675,6 +674,107 @@ func (*ReplaceDefaultDashboardResponse) Descriptor() ([]byte, []int) { return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{13} } +type AssignDashboardFolderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RequestId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + DashboardId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=dashboard_id,json=dashboardId,proto3" json:"dashboard_id,omitempty"` + FolderId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // could be null to assign the dashboard to root +} + +func (x *AssignDashboardFolderRequest) Reset() { + *x = AssignDashboardFolderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AssignDashboardFolderRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AssignDashboardFolderRequest) ProtoMessage() {} + +func (x *AssignDashboardFolderRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AssignDashboardFolderRequest.ProtoReflect.Descriptor instead. +func (*AssignDashboardFolderRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{14} +} + +func (x *AssignDashboardFolderRequest) GetRequestId() *wrapperspb.StringValue { + if x != nil { + return x.RequestId + } + return nil +} + +func (x *AssignDashboardFolderRequest) GetDashboardId() *wrapperspb.StringValue { + if x != nil { + return x.DashboardId + } + return nil +} + +func (x *AssignDashboardFolderRequest) GetFolderId() *wrapperspb.StringValue { + if x != nil { + return x.FolderId + } + return nil +} + +type AssignDashboardFolderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AssignDashboardFolderResponse) Reset() { + *x = AssignDashboardFolderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AssignDashboardFolderResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AssignDashboardFolderResponse) ProtoMessage() {} + +func (x *AssignDashboardFolderResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AssignDashboardFolderResponse.ProtoReflect.Descriptor instead. +func (*AssignDashboardFolderResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{15} +} + var File_com_coralogixapis_dashboards_v1_services_dashboards_service_proto protoreflect.FileDescriptor var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDesc = []byte{ @@ -776,90 +876,116 @@ var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDe 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x21, 0x0a, 0x1f, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, - 0xf3, 0x09, 0x0a, 0x11, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xae, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0xd7, 0x01, 0x0a, 0x1c, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x3b, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x3f, 0x0a, + 0x0c, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x0b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x39, + 0x0a, 0x09, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x41, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc4, 0x0b, 0x0a, 0x11, 0x44, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0xae, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x12, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0xba, 0xb8, 0x02, 0x12, 0x0a, + 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x12, 0xb2, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, - 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, - 0xba, 0xb8, 0x02, 0x12, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xb2, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x41, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x17, 0xba, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xae, 0x01, 0x0a, 0x0f, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, - 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0xba, 0xb8, 0x02, 0x12, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xa2, 0x01, 0x0a, - 0x0c, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x3d, 0x2e, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0xba, + 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x20, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xae, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x40, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x16, 0xba, 0xb8, 0x02, 0x12, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xa2, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x44, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0xba, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, 0x67, + 0x65, 0x74, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xa2, 0x01, 0x0a, + 0x0c, 0x50, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0xba, 0xb8, - 0x02, 0x0f, 0x0a, 0x0d, 0x67, 0x65, 0x74, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, - 0x64, 0x12, 0xa2, 0x01, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x12, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x69, - 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x50, 0x69, 0x6e, - 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x13, 0xba, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, 0x70, 0x69, 0x6e, 0x20, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xaa, 0x01, 0x0a, 0x0e, 0x55, 0x6e, 0x70, 0x69, 0x6e, - 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x55, 0x6e, 0x70, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x63, 0x6f, 0x6d, + 0x02, 0x0f, 0x0a, 0x0d, 0x70, 0x69, 0x6e, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x12, 0xaa, 0x01, 0x0a, 0x0e, 0x55, 0x6e, 0x70, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x12, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x55, 0x6e, 0x70, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x55, 0x6e, 0x70, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0xba, 0xb8, 0x02, 0x11, 0x0a, 0x0f, 0x75, + 0x6e, 0x70, 0x69, 0x6e, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0xcf, + 0x01, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x55, 0x6e, 0x70, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, - 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0xba, 0xb8, - 0x02, 0x11, 0x0a, 0x0f, 0x75, 0x6e, 0x70, 0x69, 0x6e, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x12, 0xcf, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, - 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xba, 0xb8, 0x02, 0x1b, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x20, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x20, 0x64, 0x61, 0x73, 0x68, - 0x62, 0x6f, 0x61, 0x72, 0x64, 0x42, 0x2a, 0x5a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, - 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1f, 0xba, 0xb8, 0x02, 0x1b, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x20, 0x64, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x20, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x12, 0xce, 0x01, 0x0a, 0x15, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x46, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x44, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0xba, 0xb8, 0x02, + 0x20, 0x0a, 0x1e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x20, 0x61, 0x20, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x20, 0x66, 0x6f, 0x6c, 0x64, 0x65, + 0x72, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -874,7 +1000,7 @@ func file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawD return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescData } -var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes = make([]protoimpl.MessageInfo, 16) var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_goTypes = []interface{}{ (*CreateDashboardRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.CreateDashboardRequest (*CreateDashboardResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.CreateDashboardResponse @@ -890,43 +1016,50 @@ var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_goTyp (*UnpinDashboardResponse)(nil), // 11: com.coralogixapis.dashboards.v1.services.UnpinDashboardResponse (*ReplaceDefaultDashboardRequest)(nil), // 12: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest (*ReplaceDefaultDashboardResponse)(nil), // 13: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardResponse - (*wrapperspb.StringValue)(nil), // 14: google.protobuf.StringValue - (*Dashboard)(nil), // 15: com.coralogixapis.dashboards.v1.Dashboard + (*AssignDashboardFolderRequest)(nil), // 14: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest + (*AssignDashboardFolderResponse)(nil), // 15: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderResponse + (*wrapperspb.StringValue)(nil), // 16: google.protobuf.StringValue + (*Dashboard)(nil), // 17: com.coralogixapis.dashboards.v1.ast.Dashboard } var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_depIdxs = []int32{ - 14, // 0: com.coralogixapis.dashboards.v1.services.CreateDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 15, // 1: com.coralogixapis.dashboards.v1.services.CreateDashboardRequest.dashboard:type_name -> com.coralogixapis.dashboards.v1.Dashboard - 14, // 2: com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 15, // 3: com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest.dashboard:type_name -> com.coralogixapis.dashboards.v1.Dashboard - 14, // 4: com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 14, // 5: com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 14, // 6: com.coralogixapis.dashboards.v1.services.GetDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 15, // 7: com.coralogixapis.dashboards.v1.services.GetDashboardResponse.dashboard:type_name -> com.coralogixapis.dashboards.v1.Dashboard - 14, // 8: com.coralogixapis.dashboards.v1.services.PinDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 14, // 9: com.coralogixapis.dashboards.v1.services.PinDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 14, // 10: com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 14, // 11: com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 14, // 12: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 14, // 13: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 0, // 14: com.coralogixapis.dashboards.v1.services.DashboardsService.CreateDashboard:input_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardRequest - 2, // 15: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDashboard:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest - 4, // 16: com.coralogixapis.dashboards.v1.services.DashboardsService.DeleteDashboard:input_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest - 6, // 17: com.coralogixapis.dashboards.v1.services.DashboardsService.GetDashboard:input_type -> com.coralogixapis.dashboards.v1.services.GetDashboardRequest - 8, // 18: com.coralogixapis.dashboards.v1.services.DashboardsService.PinDashboard:input_type -> com.coralogixapis.dashboards.v1.services.PinDashboardRequest - 10, // 19: com.coralogixapis.dashboards.v1.services.DashboardsService.UnpinDashboard:input_type -> com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest - 12, // 20: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDefaultDashboard:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest - 1, // 21: com.coralogixapis.dashboards.v1.services.DashboardsService.CreateDashboard:output_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardResponse - 3, // 22: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDashboard:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardResponse - 5, // 23: com.coralogixapis.dashboards.v1.services.DashboardsService.DeleteDashboard:output_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardResponse - 7, // 24: com.coralogixapis.dashboards.v1.services.DashboardsService.GetDashboard:output_type -> com.coralogixapis.dashboards.v1.services.GetDashboardResponse - 9, // 25: com.coralogixapis.dashboards.v1.services.DashboardsService.PinDashboard:output_type -> com.coralogixapis.dashboards.v1.services.PinDashboardResponse - 11, // 26: com.coralogixapis.dashboards.v1.services.DashboardsService.UnpinDashboard:output_type -> com.coralogixapis.dashboards.v1.services.UnpinDashboardResponse - 13, // 27: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDefaultDashboard:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardResponse - 21, // [21:28] is the sub-list for method output_type - 14, // [14:21] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name + 16, // 0: com.coralogixapis.dashboards.v1.services.CreateDashboardRequest.request_id:type_name -> google.protobuf.StringValue + 17, // 1: com.coralogixapis.dashboards.v1.services.CreateDashboardRequest.dashboard:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard + 16, // 2: com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest.request_id:type_name -> google.protobuf.StringValue + 17, // 3: com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest.dashboard:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard + 16, // 4: com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest.request_id:type_name -> google.protobuf.StringValue + 16, // 5: com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue + 16, // 6: com.coralogixapis.dashboards.v1.services.GetDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue + 17, // 7: com.coralogixapis.dashboards.v1.services.GetDashboardResponse.dashboard:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard + 16, // 8: com.coralogixapis.dashboards.v1.services.PinDashboardRequest.request_id:type_name -> google.protobuf.StringValue + 16, // 9: com.coralogixapis.dashboards.v1.services.PinDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue + 16, // 10: com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest.request_id:type_name -> google.protobuf.StringValue + 16, // 11: com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue + 16, // 12: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest.request_id:type_name -> google.protobuf.StringValue + 16, // 13: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue + 16, // 14: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue + 16, // 15: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest.dashboard_id:type_name -> google.protobuf.StringValue + 16, // 16: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest.folder_id:type_name -> google.protobuf.StringValue + 0, // 17: com.coralogixapis.dashboards.v1.services.DashboardsService.CreateDashboard:input_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardRequest + 2, // 18: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDashboard:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest + 4, // 19: com.coralogixapis.dashboards.v1.services.DashboardsService.DeleteDashboard:input_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest + 6, // 20: com.coralogixapis.dashboards.v1.services.DashboardsService.GetDashboard:input_type -> com.coralogixapis.dashboards.v1.services.GetDashboardRequest + 8, // 21: com.coralogixapis.dashboards.v1.services.DashboardsService.PinDashboard:input_type -> com.coralogixapis.dashboards.v1.services.PinDashboardRequest + 10, // 22: com.coralogixapis.dashboards.v1.services.DashboardsService.UnpinDashboard:input_type -> com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest + 12, // 23: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDefaultDashboard:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest + 14, // 24: com.coralogixapis.dashboards.v1.services.DashboardsService.AssignDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest + 1, // 25: com.coralogixapis.dashboards.v1.services.DashboardsService.CreateDashboard:output_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardResponse + 3, // 26: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDashboard:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardResponse + 5, // 27: com.coralogixapis.dashboards.v1.services.DashboardsService.DeleteDashboard:output_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardResponse + 7, // 28: com.coralogixapis.dashboards.v1.services.DashboardsService.GetDashboard:output_type -> com.coralogixapis.dashboards.v1.services.GetDashboardResponse + 9, // 29: com.coralogixapis.dashboards.v1.services.DashboardsService.PinDashboard:output_type -> com.coralogixapis.dashboards.v1.services.PinDashboardResponse + 11, // 30: com.coralogixapis.dashboards.v1.services.DashboardsService.UnpinDashboard:output_type -> com.coralogixapis.dashboards.v1.services.UnpinDashboardResponse + 13, // 31: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDefaultDashboard:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardResponse + 15, // 32: com.coralogixapis.dashboards.v1.services.DashboardsService.AssignDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.AssignDashboardFolderResponse + 25, // [25:33] is the sub-list for method output_type + 17, // [17:25] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_init() } @@ -934,6 +1067,8 @@ func file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_init if File_com_coralogixapis_dashboards_v1_services_dashboards_service_proto != nil { return } + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() if !protoimpl.UnsafeEnabled { file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateDashboardRequest); i { @@ -1103,6 +1238,30 @@ func file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_init return nil } } + file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssignDashboardFolderRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssignDashboardFolderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1110,7 +1269,7 @@ func file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_init GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDesc, NumEnums: 0, - NumMessages: 14, + NumMessages: 16, NumExtensions: 0, NumServices: 1, }, diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboards_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/dashboards_service_grpc.pb.go similarity index 88% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/dashboards_service_grpc.pb.go rename to coralogix/clientset/grpc/dashboards/dashboards_service_grpc.pb.go index d935b4b3..80161999 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/dashboards_service_grpc.pb.go +++ b/coralogix/clientset/grpc/dashboards/dashboards_service_grpc.pb.go @@ -8,7 +8,6 @@ package __ import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -30,6 +29,7 @@ type DashboardsServiceClient interface { PinDashboard(ctx context.Context, in *PinDashboardRequest, opts ...grpc.CallOption) (*PinDashboardResponse, error) UnpinDashboard(ctx context.Context, in *UnpinDashboardRequest, opts ...grpc.CallOption) (*UnpinDashboardResponse, error) ReplaceDefaultDashboard(ctx context.Context, in *ReplaceDefaultDashboardRequest, opts ...grpc.CallOption) (*ReplaceDefaultDashboardResponse, error) + AssignDashboardFolder(ctx context.Context, in *AssignDashboardFolderRequest, opts ...grpc.CallOption) (*AssignDashboardFolderResponse, error) } type dashboardsServiceClient struct { @@ -103,6 +103,15 @@ func (c *dashboardsServiceClient) ReplaceDefaultDashboard(ctx context.Context, i return out, nil } +func (c *dashboardsServiceClient) AssignDashboardFolder(ctx context.Context, in *AssignDashboardFolderRequest, opts ...grpc.CallOption) (*AssignDashboardFolderResponse, error) { + out := new(AssignDashboardFolderResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.DashboardsService/AssignDashboardFolder", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DashboardsServiceServer is the server API for DashboardsService service. // All implementations must embed UnimplementedDashboardsServiceServer // for forward compatibility @@ -114,6 +123,7 @@ type DashboardsServiceServer interface { PinDashboard(context.Context, *PinDashboardRequest) (*PinDashboardResponse, error) UnpinDashboard(context.Context, *UnpinDashboardRequest) (*UnpinDashboardResponse, error) ReplaceDefaultDashboard(context.Context, *ReplaceDefaultDashboardRequest) (*ReplaceDefaultDashboardResponse, error) + AssignDashboardFolder(context.Context, *AssignDashboardFolderRequest) (*AssignDashboardFolderResponse, error) mustEmbedUnimplementedDashboardsServiceServer() } @@ -142,6 +152,9 @@ func (UnimplementedDashboardsServiceServer) UnpinDashboard(context.Context, *Unp func (UnimplementedDashboardsServiceServer) ReplaceDefaultDashboard(context.Context, *ReplaceDefaultDashboardRequest) (*ReplaceDefaultDashboardResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReplaceDefaultDashboard not implemented") } +func (UnimplementedDashboardsServiceServer) AssignDashboardFolder(context.Context, *AssignDashboardFolderRequest) (*AssignDashboardFolderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AssignDashboardFolder not implemented") +} func (UnimplementedDashboardsServiceServer) mustEmbedUnimplementedDashboardsServiceServer() {} // UnsafeDashboardsServiceServer may be embedded to opt out of forward compatibility for this service. @@ -281,6 +294,24 @@ func _DashboardsService_ReplaceDefaultDashboard_Handler(srv interface{}, ctx con return interceptor(ctx, in, info, handler) } +func _DashboardsService_AssignDashboardFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AssignDashboardFolderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DashboardsServiceServer).AssignDashboardFolder(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.DashboardsService/AssignDashboardFolder", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DashboardsServiceServer).AssignDashboardFolder(ctx, req.(*AssignDashboardFolderRequest)) + } + return interceptor(ctx, in, info, handler) +} + // DashboardsService_ServiceDesc is the grpc.ServiceDesc for DashboardsService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -316,6 +347,10 @@ var DashboardsService_ServiceDesc = grpc.ServiceDesc{ MethodName: "ReplaceDefaultDashboard", Handler: _DashboardsService_ReplaceDefaultDashboard_Handler, }, + { + MethodName: "AssignDashboardFolder", + Handler: _DashboardsService_AssignDashboardFolder_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/coralogixapis/dashboards/v1/services/dashboards_service.proto", diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/data_mode_type.pb.go b/coralogix/clientset/grpc/dashboards/data_mode_type.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/data_mode_type.pb.go rename to coralogix/clientset/grpc/dashboards/data_mode_type.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/data_table.pb.go b/coralogix/clientset/grpc/dashboards/data_table.pb.go similarity index 99% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/data_table.pb.go rename to coralogix/clientset/grpc/dashboards/data_table.pb.go index ad86c9f0..4d722def 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/data_table.pb.go +++ b/coralogix/clientset/grpc/dashboards/data_table.pb.go @@ -1168,7 +1168,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_init() { } file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() + //file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_init() diff --git a/coralogix/clientset/grpc/dashboards/dataprime_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/dataprime_data_source_service.pb.go new file mode 100644 index 00000000..dd69dfd3 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/dataprime_data_source_service.pb.go @@ -0,0 +1,513 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/dataprime_data_source_service.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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 SearchDataprimeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DataprimeQuery *SerializedDataprimeQuery `protobuf:"bytes,1,opt,name=dataprime_query,json=dataprimeQuery,proto3" json:"dataprime_query,omitempty"` + DataprimeQueryRaw *DataprimeQuery `protobuf:"bytes,2,opt,name=dataprime_query_raw,json=dataprimeQueryRaw,proto3" json:"dataprime_query_raw,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,3,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *SearchDataprimeRequest) Reset() { + *x = SearchDataprimeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchDataprimeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchDataprimeRequest) ProtoMessage() {} + +func (x *SearchDataprimeRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchDataprimeRequest.ProtoReflect.Descriptor instead. +func (*SearchDataprimeRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescGZIP(), []int{0} +} + +func (x *SearchDataprimeRequest) GetDataprimeQuery() *SerializedDataprimeQuery { + if x != nil { + return x.DataprimeQuery + } + return nil +} + +func (x *SearchDataprimeRequest) GetDataprimeQueryRaw() *DataprimeQuery { + if x != nil { + return x.DataprimeQueryRaw + } + return nil +} + +func (x *SearchDataprimeRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchDataprimeRequest) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +type SearchDataprimeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []*DataprimeResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` +} + +func (x *SearchDataprimeResponse) Reset() { + *x = SearchDataprimeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchDataprimeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchDataprimeResponse) ProtoMessage() {} + +func (x *SearchDataprimeResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchDataprimeResponse.ProtoReflect.Descriptor instead. +func (*SearchDataprimeResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescGZIP(), []int{1} +} + +func (x *SearchDataprimeResponse) GetResults() []*DataprimeResult { + if x != nil { + return x.Results + } + return nil +} + +type SearchDataprimeArchiveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DataprimeQuery *SerializedDataprimeQuery `protobuf:"bytes,1,opt,name=dataprime_query,json=dataprimeQuery,proto3" json:"dataprime_query,omitempty"` + DataprimeQueryRaw *DataprimeQuery `protobuf:"bytes,2,opt,name=dataprime_query_raw,json=dataprimeQueryRaw,proto3" json:"dataprime_query_raw,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,3,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=limit,proto3" json:"limit,omitempty"` + WidgetId *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=widget_id,json=widgetId,proto3" json:"widget_id,omitempty"` +} + +func (x *SearchDataprimeArchiveRequest) Reset() { + *x = SearchDataprimeArchiveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchDataprimeArchiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchDataprimeArchiveRequest) ProtoMessage() {} + +func (x *SearchDataprimeArchiveRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchDataprimeArchiveRequest.ProtoReflect.Descriptor instead. +func (*SearchDataprimeArchiveRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescGZIP(), []int{2} +} + +func (x *SearchDataprimeArchiveRequest) GetDataprimeQuery() *SerializedDataprimeQuery { + if x != nil { + return x.DataprimeQuery + } + return nil +} + +func (x *SearchDataprimeArchiveRequest) GetDataprimeQueryRaw() *DataprimeQuery { + if x != nil { + return x.DataprimeQueryRaw + } + return nil +} + +func (x *SearchDataprimeArchiveRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchDataprimeArchiveRequest) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +func (x *SearchDataprimeArchiveRequest) GetWidgetId() *wrapperspb.StringValue { + if x != nil { + return x.WidgetId + } + return nil +} + +type SearchDataprimeArchiveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []*DataprimeResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` +} + +func (x *SearchDataprimeArchiveResponse) Reset() { + *x = SearchDataprimeArchiveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchDataprimeArchiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchDataprimeArchiveResponse) ProtoMessage() {} + +func (x *SearchDataprimeArchiveResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchDataprimeArchiveResponse.ProtoReflect.Descriptor instead. +func (*SearchDataprimeArchiveResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescGZIP(), []int{3} +} + +func (x *SearchDataprimeArchiveResponse) GetResults() []*DataprimeResult { + if x != nil { + return x.Results + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDesc = []byte{ + 0x0a, 0x4c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, + 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, + 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x02, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x69, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, + 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0e, 0x64, 0x61, 0x74, + 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x66, 0x0a, 0x13, 0x64, + 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, + 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x61, 0x77, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x6c, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, + 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xb2, 0x03, 0x0a, 0x1d, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x69, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, + 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, + 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x66, 0x0a, 0x13, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, + 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, + 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, + 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x61, 0x77, 0x12, 0x50, 0x0a, 0x0a, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, + 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, + 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, + 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x39, 0x0a, 0x09, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x08, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x1e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x41, 0x72, + 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, + 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, + 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, + 0x32, 0x9b, 0x03, 0x0a, 0x1a, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0xae, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, + 0x69, 0x6d, 0x65, 0x12, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0xba, 0xb8, 0x02, 0x12, 0x0a, 0x10, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, + 0x12, 0xcb, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x47, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, + 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, + 0xba, 0xb8, 0x02, 0x1a, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x44, 0x61, 0x74, + 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x42, 0x03, + 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_goTypes = []interface{}{ + (*SearchDataprimeRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest + (*SearchDataprimeResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.SearchDataprimeResponse + (*SearchDataprimeArchiveRequest)(nil), // 2: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest + (*SearchDataprimeArchiveResponse)(nil), // 3: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse + (*SerializedDataprimeQuery)(nil), // 4: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + (*DataprimeQuery)(nil), // 5: com.coralogixapis.dashboards.v1.common.DataprimeQuery + (*TimeFrame)(nil), // 6: com.coralogixapis.dashboards.v1.common.TimeFrame + (*wrapperspb.Int32Value)(nil), // 7: google.protobuf.Int32Value + (*DataprimeResult)(nil), // 8: com.coralogixapis.dashboards.v1.common.DataprimeResult + (*wrapperspb.StringValue)(nil), // 9: google.protobuf.StringValue +} +var file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_depIdxs = []int32{ + 4, // 0: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 5, // 1: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.dataprime_query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 6, // 2: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 7, // 3: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.limit:type_name -> google.protobuf.Int32Value + 8, // 4: com.coralogixapis.dashboards.v1.services.SearchDataprimeResponse.results:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeResult + 4, // 5: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 5, // 6: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.dataprime_query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 6, // 7: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 7, // 8: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.limit:type_name -> google.protobuf.Int32Value + 9, // 9: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.widget_id:type_name -> google.protobuf.StringValue + 8, // 10: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse.results:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeResult + 0, // 11: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprime:input_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest + 2, // 12: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprimeArchive:input_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest + 1, // 13: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprime:output_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeResponse + 3, // 14: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprimeArchive:output_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse + 13, // [13:15] is the sub-list for method output_type + 11, // [11:13] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_init() } +func file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_init() { + if File_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto != nil { + return + } + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_init() + file_com_coralogixapis_dashboards_v1_common_query_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchDataprimeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchDataprimeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchDataprimeArchiveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchDataprimeArchiveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto = out.File + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/dataprime_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/dataprime_data_source_service_grpc.pb.go new file mode 100644 index 00000000..ee3f5407 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/dataprime_data_source_service_grpc.pb.go @@ -0,0 +1,142 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/dataprime_data_source_service.proto + +package __ + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// 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 + +// DataprimeDataSourceServiceClient is the client API for DataprimeDataSourceService 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 DataprimeDataSourceServiceClient interface { + SearchDataprime(ctx context.Context, in *SearchDataprimeRequest, opts ...grpc.CallOption) (*SearchDataprimeResponse, error) + SearchDataprimeArchive(ctx context.Context, in *SearchDataprimeArchiveRequest, opts ...grpc.CallOption) (*SearchDataprimeArchiveResponse, error) +} + +type dataprimeDataSourceServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDataprimeDataSourceServiceClient(cc grpc.ClientConnInterface) DataprimeDataSourceServiceClient { + return &dataprimeDataSourceServiceClient{cc} +} + +func (c *dataprimeDataSourceServiceClient) SearchDataprime(ctx context.Context, in *SearchDataprimeRequest, opts ...grpc.CallOption) (*SearchDataprimeResponse, error) { + out := new(SearchDataprimeResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService/SearchDataprime", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataprimeDataSourceServiceClient) SearchDataprimeArchive(ctx context.Context, in *SearchDataprimeArchiveRequest, opts ...grpc.CallOption) (*SearchDataprimeArchiveResponse, error) { + out := new(SearchDataprimeArchiveResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService/SearchDataprimeArchive", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DataprimeDataSourceServiceServer is the server API for DataprimeDataSourceService service. +// All implementations must embed UnimplementedDataprimeDataSourceServiceServer +// for forward compatibility +type DataprimeDataSourceServiceServer interface { + SearchDataprime(context.Context, *SearchDataprimeRequest) (*SearchDataprimeResponse, error) + SearchDataprimeArchive(context.Context, *SearchDataprimeArchiveRequest) (*SearchDataprimeArchiveResponse, error) + mustEmbedUnimplementedDataprimeDataSourceServiceServer() +} + +// UnimplementedDataprimeDataSourceServiceServer must be embedded to have forward compatible implementations. +type UnimplementedDataprimeDataSourceServiceServer struct { +} + +func (UnimplementedDataprimeDataSourceServiceServer) SearchDataprime(context.Context, *SearchDataprimeRequest) (*SearchDataprimeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchDataprime not implemented") +} +func (UnimplementedDataprimeDataSourceServiceServer) SearchDataprimeArchive(context.Context, *SearchDataprimeArchiveRequest) (*SearchDataprimeArchiveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchDataprimeArchive not implemented") +} +func (UnimplementedDataprimeDataSourceServiceServer) mustEmbedUnimplementedDataprimeDataSourceServiceServer() { +} + +// UnsafeDataprimeDataSourceServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to DataprimeDataSourceServiceServer will +// result in compilation errors. +type UnsafeDataprimeDataSourceServiceServer interface { + mustEmbedUnimplementedDataprimeDataSourceServiceServer() +} + +func RegisterDataprimeDataSourceServiceServer(s grpc.ServiceRegistrar, srv DataprimeDataSourceServiceServer) { + s.RegisterService(&DataprimeDataSourceService_ServiceDesc, srv) +} + +func _DataprimeDataSourceService_SearchDataprime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchDataprimeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataprimeDataSourceServiceServer).SearchDataprime(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService/SearchDataprime", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataprimeDataSourceServiceServer).SearchDataprime(ctx, req.(*SearchDataprimeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataprimeDataSourceService_SearchDataprimeArchive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchDataprimeArchiveRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataprimeDataSourceServiceServer).SearchDataprimeArchive(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService/SearchDataprimeArchive", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataprimeDataSourceServiceServer).SearchDataprimeArchive(ctx, req.(*SearchDataprimeArchiveRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// DataprimeDataSourceService_ServiceDesc is the grpc.ServiceDesc for DataprimeDataSourceService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var DataprimeDataSourceService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService", + HandlerType: (*DataprimeDataSourceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SearchDataprime", + Handler: _DataprimeDataSourceService_SearchDataprime_Handler, + }, + { + MethodName: "SearchDataprimeArchive", + Handler: _DataprimeDataSourceService_SearchDataprimeArchive_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "com/coralogixapis/dashboards/v1/services/dataprime_data_source_service.proto", +} diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/dataprime_result.pb.go b/coralogix/clientset/grpc/dashboards/dataprime_result.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/dataprime_result.pb.go rename to coralogix/clientset/grpc/dashboards/dataprime_result.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/filter.pb.go b/coralogix/clientset/grpc/dashboards/filter.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/filter.pb.go rename to coralogix/clientset/grpc/dashboards/filter.pb.go diff --git a/coralogix/clientset/grpc/dashboards/folder.pb.go b/coralogix/clientset/grpc/dashboards/folder.pb.go new file mode 100644 index 00000000..411f40fa --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/folder.pb.go @@ -0,0 +1,164 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/common/folder.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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 DashboardFolder struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *DashboardFolder) Reset() { + *x = DashboardFolder{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_common_folder_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DashboardFolder) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DashboardFolder) ProtoMessage() {} + +func (x *DashboardFolder) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_common_folder_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DashboardFolder.ProtoReflect.Descriptor instead. +func (*DashboardFolder) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescGZIP(), []int{0} +} + +func (x *DashboardFolder) GetId() *wrapperspb.StringValue { + if x != nil { + return x.Id + } + return nil +} + +func (x *DashboardFolder) GetName() *wrapperspb.StringValue { + if x != nil { + return x.Name + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_common_folder_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDesc = []byte{ + 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, + 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, + 0x0f, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, + 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_common_folder_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_com_coralogixapis_dashboards_v1_common_folder_proto_goTypes = []interface{}{ + (*DashboardFolder)(nil), // 0: com.coralogixapis.dashboards.v1.common.DashboardFolder + (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue +} +var file_com_coralogixapis_dashboards_v1_common_folder_proto_depIdxs = []int32{ + 1, // 0: com.coralogixapis.dashboards.v1.common.DashboardFolder.id:type_name -> google.protobuf.StringValue + 1, // 1: com.coralogixapis.dashboards.v1.common.DashboardFolder.name:type_name -> google.protobuf.StringValue + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_common_folder_proto_init() } +func file_com_coralogixapis_dashboards_v1_common_folder_proto_init() { + if File_com_coralogixapis_dashboards_v1_common_folder_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_common_folder_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DashboardFolder); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_common_folder_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_folder_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_common_folder_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_common_folder_proto = out.File + file_com_coralogixapis_dashboards_v1_common_folder_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_common_folder_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_common_folder_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/folder_path.pb.go b/coralogix/clientset/grpc/dashboards/folder_path.pb.go new file mode 100644 index 00000000..e23e4396 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/folder_path.pb.go @@ -0,0 +1,146 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/ast/folder_path.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + 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 FolderPath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Segments []string `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` +} + +func (x *FolderPath) Reset() { + *x = FolderPath{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FolderPath) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FolderPath) ProtoMessage() {} + +func (x *FolderPath) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FolderPath.ProtoReflect.Descriptor instead. +func (*FolderPath) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescGZIP(), []int{0} +} + +func (x *FolderPath) GetSegments() []string { + if x != nil { + return x.Segments + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_ast_folder_path_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDesc = []byte{ + 0x0a, 0x35, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x22, 0x28, 0x0a, 0x0a, + 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_goTypes = []interface{}{ + (*FolderPath)(nil), // 0: com.coralogixapis.dashboards.v1.ast.FolderPath +} +var file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_init() } +func file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_init() { + if File_com_coralogixapis_dashboards_v1_ast_folder_path_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FolderPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_depIdxs, + MessageInfos: file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_ast_folder_path_proto = out.File + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/gauge.pb.go b/coralogix/clientset/grpc/dashboards/gauge.pb.go similarity index 99% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/gauge.pb.go rename to coralogix/clientset/grpc/dashboards/gauge.pb.go index cea1c177..a4d8f0f2 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/gauge.pb.go +++ b/coralogix/clientset/grpc/dashboards/gauge.pb.go @@ -1067,7 +1067,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_init() { } file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() + //file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() file_com_coralogixapis_dashboards_v1_common_query_proto_init() file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_init() diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/group.pb.go b/coralogix/clientset/grpc/dashboards/group.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/group.pb.go rename to coralogix/clientset/grpc/dashboards/group.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/group_limit.pb.go b/coralogix/clientset/grpc/dashboards/group_limit.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/group_limit.pb.go rename to coralogix/clientset/grpc/dashboards/group_limit.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/grouped_series.pb.go b/coralogix/clientset/grpc/dashboards/grouped_series.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/grouped_series.pb.go rename to coralogix/clientset/grpc/dashboards/grouped_series.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/horizontal_bar_chart.pb.go b/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go similarity index 99% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/horizontal_bar_chart.pb.go rename to coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go index 7ab58341..73d9e768 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/horizontal_bar_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go @@ -1067,7 +1067,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() + //file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_init() diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/labelled_value.pb.go b/coralogix/clientset/grpc/dashboards/labelled_value.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/labelled_value.pb.go rename to coralogix/clientset/grpc/dashboards/labelled_value.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/layout.pb.go b/coralogix/clientset/grpc/dashboards/layout.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/layout.pb.go rename to coralogix/clientset/grpc/dashboards/layout.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/legend.pb.go b/coralogix/clientset/grpc/dashboards/legend.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/legend.pb.go rename to coralogix/clientset/grpc/dashboards/legend.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/line_chart.pb.go b/coralogix/clientset/grpc/dashboards/line_chart.pb.go similarity index 99% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/line_chart.pb.go rename to coralogix/clientset/grpc/dashboards/line_chart.pb.go index e747b229..2242c24a 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/line_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/line_chart.pb.go @@ -1095,7 +1095,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_init() { file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() + //file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_init() file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/log_severity_level.pb.go b/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/log_severity_level.pb.go rename to coralogix/clientset/grpc/dashboards/log_severity_level.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/logs_aggregation.pb.go b/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/logs_aggregation.pb.go rename to coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/logs_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/logs_data_source_service.pb.go similarity index 94% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/logs_data_source_service.pb.go rename to coralogix/clientset/grpc/dashboards/logs_data_source_service.pb.go index 164ba61f..f81d536a 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/logs_data_source_service.pb.go +++ b/coralogix/clientset/grpc/dashboards/logs_data_source_service.pb.go @@ -7,15 +7,14 @@ package __ import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -30,11 +29,11 @@ type SearchLogsTimeSeriesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` + Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` GroupBy []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Aggregations []*LogsAggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"` + Aggregations []*LogsAggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"` Limit *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=limit,proto3" json:"limit,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` } @@ -125,7 +124,7 @@ type SearchLogsTimeSeriesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` Total *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=total,proto3" json:"total,omitempty"` } @@ -180,10 +179,10 @@ type SearchLogsEventsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - OrderBy []*OrderingField `protobuf:"bytes,5,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` + OrderBy []*OrderingField `protobuf:"bytes,5,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Pagination *SearchLogsEventsRequest_Pagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -314,13 +313,13 @@ type SearchLogsEventGroupsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` GroupBy []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Aggregations []*LogsAggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"` + Aggregations []*LogsAggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"` OrderBy []*SearchLogsEventGroupsRequest_OrderBy `protobuf:"bytes,6,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - Pagination *Pagination `protobuf:"bytes,7,opt,name=pagination,proto3" json:"pagination,omitempty"` + Pagination *Pagination `protobuf:"bytes,7,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (x *SearchLogsEventGroupsRequest) Reset() { @@ -456,10 +455,10 @@ type SearchGroupedLogsSeriesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` GroupByFields []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` - Aggregation *LogsAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` + Aggregation *LogsAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` Limits []*SearchGroupedLogsSeriesRequest_Limit `protobuf:"bytes,6,rep,name=limits,proto3" json:"limits,omitempty"` } @@ -590,10 +589,10 @@ type SearchLogsGroupedTimeSeriesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - Aggregation *LogsAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` + Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` + Aggregation *LogsAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` GroupBy []*SearchLogsGroupedTimeSeriesRequest_GroupBy `protobuf:"bytes,6,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` } @@ -727,8 +726,8 @@ type LogsEvent struct { LogId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Text *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` - Json *structpb.Struct `protobuf:"bytes,5,opt,name=json,proto3" json:"json,omitempty"` - LogsMetadata *LogsMetadata `protobuf:"bytes,6,opt,name=logs_metadata,json=logsMetadata,proto3" json:"logs_metadata,omitempty"` + Json *structpb.Struct `protobuf:"bytes,5,opt,name=json,proto3" json:"json,omitempty"` + LogsMetadata *LogsMetadata `protobuf:"bytes,6,opt,name=logs_metadata,json=logsMetadata,proto3" json:"logs_metadata,omitempty"` } func (x *LogsEvent) Reset() { @@ -805,7 +804,7 @@ type LogsMetadata struct { ApplicationName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"` SubsystemName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=subsystem_name,json=subsystemName,proto3" json:"subsystem_name,omitempty"` - Severity LogSeverityLevel `protobuf:"varint,3,opt,name=severity,proto3,enum=com.coralogixapis.dashboards.v1.LogSeverityLevel" json:"severity,omitempty"` + Severity LogSeverityLevel `protobuf:"varint,3,opt,name=severity,proto3,enum=com.coralogixapis.dashboards.v1.common.LogSeverityLevel" json:"severity,omitempty"` } func (x *LogsMetadata) Reset() { @@ -858,7 +857,7 @@ func (x *LogsMetadata) GetSeverity() LogSeverityLevel { if x != nil { return x.Severity } - return LogSeverityLevel(0) + return LogSeverityLevel_LOG_SEVERITY_LEVEL_UNSPECIFIED } type SearchLogsTimeValueRequest struct { @@ -866,10 +865,10 @@ type SearchLogsTimeValueRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *LogsAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + Aggregation *LogsAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` } func (x *SearchLogsTimeValueRequest) Reset() { @@ -1043,7 +1042,7 @@ type SearchLogsEventGroupsRequest_OrderBy struct { // *SearchLogsEventGroupsRequest_OrderBy_Grouping // *SearchLogsEventGroupsRequest_OrderBy_Aggregation Field isSearchLogsEventGroupsRequest_OrderBy_Field `protobuf_oneof:"field"` - OrderDirection OrderDirection `protobuf:"varint,3,opt,name=order_direction,json=orderDirection,proto3,enum=com.coralogixapis.dashboards.v1.OrderDirection" json:"order_direction,omitempty"` + OrderDirection OrderDirection `protobuf:"varint,3,opt,name=order_direction,json=orderDirection,proto3,enum=com.coralogixapis.dashboards.v1.common.OrderDirection" json:"order_direction,omitempty"` } func (x *SearchLogsEventGroupsRequest_OrderBy) Reset() { @@ -1103,7 +1102,7 @@ func (x *SearchLogsEventGroupsRequest_OrderBy) GetOrderDirection() OrderDirectio if x != nil { return x.OrderDirection } - return OrderDirection(0) + return OrderDirection_ORDER_DIRECTION_UNSPECIFIED } type isSearchLogsEventGroupsRequest_OrderBy_Field interface { @@ -1701,11 +1700,8 @@ var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0xba, 0xb8, 0x02, 0x1e, 0x0a, 0x1c, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x61, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x2a, - 0x5a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, - 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, + 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1740,63 +1736,63 @@ var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto (*SearchLogsEventGroupsRequest_OrderBy)(nil), // 15: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy (*SearchGroupedLogsSeriesRequest_Limit)(nil), // 16: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit (*SearchLogsGroupedTimeSeriesRequest_GroupBy)(nil), // 17: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.GroupBy - (*TimeFrame)(nil), // 18: com.coralogixapis.dashboards.v1.TimeFrame + (*TimeFrame)(nil), // 18: com.coralogixapis.dashboards.v1.common.TimeFrame (*durationpb.Duration)(nil), // 19: google.protobuf.Duration - (*Filter_LogsFilter)(nil), // 20: com.coralogixapis.dashboards.v1.Filter.LogsFilter + (*Filter_LogsFilter)(nil), // 20: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter (*wrapperspb.StringValue)(nil), // 21: google.protobuf.StringValue - (*LogsAggregation)(nil), // 22: com.coralogixapis.dashboards.v1.LogsAggregation + (*LogsAggregation)(nil), // 22: com.coralogixapis.dashboards.v1.common.LogsAggregation (*wrapperspb.Int32Value)(nil), // 23: google.protobuf.Int32Value - (*TimeSeries)(nil), // 24: com.coralogixapis.dashboards.v1.TimeSeries + (*TimeSeries)(nil), // 24: com.coralogixapis.dashboards.v1.common.TimeSeries (*wrapperspb.Int64Value)(nil), // 25: google.protobuf.Int64Value - (*OrderingField)(nil), // 26: com.coralogixapis.dashboards.v1.OrderingField - (*Pagination)(nil), // 27: com.coralogixapis.dashboards.v1.Pagination - (*MultiGroup)(nil), // 28: com.coralogixapis.dashboards.v1.MultiGroup - (*GroupedSeries)(nil), // 29: com.coralogixapis.dashboards.v1.GroupedSeries + (*OrderingField)(nil), // 26: com.coralogixapis.dashboards.v1.common.OrderingField + (*Pagination)(nil), // 27: com.coralogixapis.dashboards.v1.common.Pagination + (*MultiGroup)(nil), // 28: com.coralogixapis.dashboards.v1.common.MultiGroup + (*GroupedSeries)(nil), // 29: com.coralogixapis.dashboards.v1.common.GroupedSeries (*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp (*structpb.Struct)(nil), // 31: google.protobuf.Struct - (LogSeverityLevel)(0), // 32: com.coralogixapis.dashboards.v1.LogSeverityLevel + (LogSeverityLevel)(0), // 32: com.coralogixapis.dashboards.v1.common.LogSeverityLevel (*wrapperspb.DoubleValue)(nil), // 33: google.protobuf.DoubleValue - (OrderDirection)(0), // 34: com.coralogixapis.dashboards.v1.OrderDirection + (OrderDirection)(0), // 34: com.coralogixapis.dashboards.v1.common.OrderDirection } var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_depIdxs = []int32{ - 18, // 0: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame + 18, // 0: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame 19, // 1: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 20, // 2: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.LogsFilter + 20, // 2: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter 21, // 3: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.group_by:type_name -> google.protobuf.StringValue - 22, // 4: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.LogsAggregation + 22, // 4: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation 23, // 5: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value 21, // 6: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 24, // 7: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.TimeSeries + 24, // 7: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries 25, // 8: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value - 18, // 9: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 20, // 10: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.LogsFilter + 18, // 9: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 10: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter 21, // 11: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.lucene_query:type_name -> google.protobuf.StringValue - 26, // 12: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.order_by:type_name -> com.coralogixapis.dashboards.v1.OrderingField + 26, // 12: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.order_by:type_name -> com.coralogixapis.dashboards.v1.common.OrderingField 14, // 13: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.Pagination 25, // 14: com.coralogixapis.dashboards.v1.services.SearchLogsEventsResponse.total:type_name -> google.protobuf.Int64Value 10, // 15: com.coralogixapis.dashboards.v1.services.SearchLogsEventsResponse.events:type_name -> com.coralogixapis.dashboards.v1.services.LogsEvent - 18, // 16: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 20, // 17: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.LogsFilter + 18, // 16: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 17: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter 21, // 18: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.lucene_query:type_name -> google.protobuf.StringValue 21, // 19: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.group_by:type_name -> google.protobuf.StringValue - 22, // 20: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.LogsAggregation + 22, // 20: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation 15, // 21: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.order_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy - 27, // 22: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.Pagination - 28, // 23: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.MultiGroup - 18, // 24: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 20, // 25: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.LogsFilter + 27, // 22: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination + 28, // 23: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup + 18, // 24: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 25: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter 21, // 26: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.group_by_fields:type_name -> google.protobuf.StringValue - 22, // 27: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.LogsAggregation + 22, // 27: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation 21, // 28: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue 16, // 29: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit - 29, // 30: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.GroupedSeries - 18, // 31: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame + 29, // 30: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 18, // 31: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame 19, // 32: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 20, // 33: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.LogsFilter - 22, // 34: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.LogsAggregation + 20, // 33: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter + 22, // 34: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation 21, // 35: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue 17, // 36: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.GroupBy - 29, // 37: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.GroupedSeries + 29, // 37: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries 21, // 38: com.coralogixapis.dashboards.v1.services.LogsEvent.log_id:type_name -> google.protobuf.StringValue 30, // 39: com.coralogixapis.dashboards.v1.services.LogsEvent.timestamp:type_name -> google.protobuf.Timestamp 21, // 40: com.coralogixapis.dashboards.v1.services.LogsEvent.text:type_name -> google.protobuf.StringValue @@ -1804,17 +1800,17 @@ var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto 11, // 42: com.coralogixapis.dashboards.v1.services.LogsEvent.logs_metadata:type_name -> com.coralogixapis.dashboards.v1.services.LogsMetadata 21, // 43: com.coralogixapis.dashboards.v1.services.LogsMetadata.application_name:type_name -> google.protobuf.StringValue 21, // 44: com.coralogixapis.dashboards.v1.services.LogsMetadata.subsystem_name:type_name -> google.protobuf.StringValue - 32, // 45: com.coralogixapis.dashboards.v1.services.LogsMetadata.severity:type_name -> com.coralogixapis.dashboards.v1.LogSeverityLevel - 18, // 46: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 20, // 47: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.LogsFilter + 32, // 45: com.coralogixapis.dashboards.v1.services.LogsMetadata.severity:type_name -> com.coralogixapis.dashboards.v1.common.LogSeverityLevel + 18, // 46: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 47: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter 21, // 48: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.lucene_query:type_name -> google.protobuf.StringValue - 22, // 49: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.LogsAggregation + 22, // 49: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation 33, // 50: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueResponse.value:type_name -> google.protobuf.DoubleValue 23, // 51: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.Pagination.offset:type_name -> google.protobuf.Int32Value 23, // 52: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.Pagination.limit:type_name -> google.protobuf.Int32Value 21, // 53: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.grouping:type_name -> google.protobuf.StringValue - 22, // 54: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.aggregation:type_name -> com.coralogixapis.dashboards.v1.LogsAggregation - 34, // 55: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.order_direction:type_name -> com.coralogixapis.dashboards.v1.OrderDirection + 22, // 54: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation + 34, // 55: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.order_direction:type_name -> com.coralogixapis.dashboards.v1.common.OrderDirection 21, // 56: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit.group_by_fields:type_name -> google.protobuf.StringValue 23, // 57: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit.limit:type_name -> google.protobuf.Int32Value 23, // 58: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit.min_percentage:type_name -> google.protobuf.Int32Value @@ -1845,6 +1841,17 @@ func file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_prot if File_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto != nil { return } + file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_group_proto_init() + file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_init() + file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_init() + file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() + file_com_coralogixapis_dashboards_v1_common_order_direction_proto_init() + file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_init() + file_com_coralogixapis_dashboards_v1_common_pagination_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_series_proto_init() if !protoimpl.UnsafeEnabled { file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchLogsTimeSeriesRequest); i { diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/logs_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/logs_data_source_service_grpc.pb.go similarity index 99% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/logs_data_source_service_grpc.pb.go rename to coralogix/clientset/grpc/dashboards/logs_data_source_service_grpc.pb.go index 9c624007..9d51c996 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/logs_data_source_service_grpc.pb.go +++ b/coralogix/clientset/grpc/dashboards/logs_data_source_service_grpc.pb.go @@ -8,7 +8,6 @@ package __ import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/markdown.pb.go b/coralogix/clientset/grpc/dashboards/markdown.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/markdown.pb.go rename to coralogix/clientset/grpc/dashboards/markdown.pb.go diff --git a/coralogix/clientset/grpc/dashboards/metrics_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/metrics_data_source_service.pb.go new file mode 100644 index 00000000..299bac78 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/metrics_data_source_service.pb.go @@ -0,0 +1,2096 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/metrics_data_source_service.proto + +package __ + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + 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 MetricsEvent_AggregationType int32 + +const ( + MetricsEvent_AGGREGATION_TYPE_UNSPECIFIED MetricsEvent_AggregationType = 0 + MetricsEvent_AGGREGATION_TYPE_LAST MetricsEvent_AggregationType = 1 + MetricsEvent_AGGREGATION_TYPE_MIN MetricsEvent_AggregationType = 2 + MetricsEvent_AGGREGATION_TYPE_MAX MetricsEvent_AggregationType = 3 + MetricsEvent_AGGREGATION_TYPE_AVG MetricsEvent_AggregationType = 4 + MetricsEvent_AGGREGATION_TYPE_SUM MetricsEvent_AggregationType = 5 +) + +// Enum value maps for MetricsEvent_AggregationType. +var ( + MetricsEvent_AggregationType_name = map[int32]string{ + 0: "AGGREGATION_TYPE_UNSPECIFIED", + 1: "AGGREGATION_TYPE_LAST", + 2: "AGGREGATION_TYPE_MIN", + 3: "AGGREGATION_TYPE_MAX", + 4: "AGGREGATION_TYPE_AVG", + 5: "AGGREGATION_TYPE_SUM", + } + MetricsEvent_AggregationType_value = map[string]int32{ + "AGGREGATION_TYPE_UNSPECIFIED": 0, + "AGGREGATION_TYPE_LAST": 1, + "AGGREGATION_TYPE_MIN": 2, + "AGGREGATION_TYPE_MAX": 3, + "AGGREGATION_TYPE_AVG": 4, + "AGGREGATION_TYPE_SUM": 5, + } +) + +func (x MetricsEvent_AggregationType) Enum() *MetricsEvent_AggregationType { + p := new(MetricsEvent_AggregationType) + *p = x + return p +} + +func (x MetricsEvent_AggregationType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MetricsEvent_AggregationType) Descriptor() protoreflect.EnumDescriptor { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_enumTypes[0].Descriptor() +} + +func (MetricsEvent_AggregationType) Type() protoreflect.EnumType { + return &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_enumTypes[0] +} + +func (x MetricsEvent_AggregationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MetricsEvent_AggregationType.Descriptor instead. +func (MetricsEvent_AggregationType) EnumDescriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{10, 0} +} + +type SearchMetricsTimeSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` + PromqlQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=limit,proto3" json:"limit,omitempty"` + Filters []*Filter_MetricsFilter `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty"` +} + +func (x *SearchMetricsTimeSeriesRequest) Reset() { + *x = SearchMetricsTimeSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsTimeSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsTimeSeriesRequest) ProtoMessage() {} + +func (x *SearchMetricsTimeSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsTimeSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchMetricsTimeSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{0} +} + +func (x *SearchMetricsTimeSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchMetricsTimeSeriesRequest) GetInterval() *durationpb.Duration { + if x != nil { + return x.Interval + } + return nil +} + +func (x *SearchMetricsTimeSeriesRequest) GetPromqlQuery() *wrapperspb.StringValue { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *SearchMetricsTimeSeriesRequest) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +func (x *SearchMetricsTimeSeriesRequest) GetFilters() []*Filter_MetricsFilter { + if x != nil { + return x.Filters + } + return nil +} + +type SearchMetricsTimeSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + IsLimitExceeded bool `protobuf:"varint,2,opt,name=is_limit_exceeded,json=isLimitExceeded,proto3" json:"is_limit_exceeded,omitempty"` + Total *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=total,proto3" json:"total,omitempty"` +} + +func (x *SearchMetricsTimeSeriesResponse) Reset() { + *x = SearchMetricsTimeSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsTimeSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsTimeSeriesResponse) ProtoMessage() {} + +func (x *SearchMetricsTimeSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsTimeSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchMetricsTimeSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{1} +} + +func (x *SearchMetricsTimeSeriesResponse) GetTimeSeries() []*TimeSeries { + if x != nil { + return x.TimeSeries + } + return nil +} + +func (x *SearchMetricsTimeSeriesResponse) GetIsLimitExceeded() bool { + if x != nil { + return x.IsLimitExceeded + } + return false +} + +func (x *SearchMetricsTimeSeriesResponse) GetTotal() *wrapperspb.Int64Value { + if x != nil { + return x.Total + } + return nil +} + +type SearchMetricsTimeValuesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + PromqlQuery *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"` + Filters []*Filter_MetricsFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` +} + +func (x *SearchMetricsTimeValuesRequest) Reset() { + *x = SearchMetricsTimeValuesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsTimeValuesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsTimeValuesRequest) ProtoMessage() {} + +func (x *SearchMetricsTimeValuesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsTimeValuesRequest.ProtoReflect.Descriptor instead. +func (*SearchMetricsTimeValuesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{2} +} + +func (x *SearchMetricsTimeValuesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchMetricsTimeValuesRequest) GetPromqlQuery() *wrapperspb.StringValue { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *SearchMetricsTimeValuesRequest) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +func (x *SearchMetricsTimeValuesRequest) GetFilters() []*Filter_MetricsFilter { + if x != nil { + return x.Filters + } + return nil +} + +type SearchMetricsTimeValuesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Values []*LabelledValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + IsLimitExceeded bool `protobuf:"varint,2,opt,name=is_limit_exceeded,json=isLimitExceeded,proto3" json:"is_limit_exceeded,omitempty"` + Total *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=total,proto3" json:"total,omitempty"` +} + +func (x *SearchMetricsTimeValuesResponse) Reset() { + *x = SearchMetricsTimeValuesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsTimeValuesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsTimeValuesResponse) ProtoMessage() {} + +func (x *SearchMetricsTimeValuesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsTimeValuesResponse.ProtoReflect.Descriptor instead. +func (*SearchMetricsTimeValuesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{3} +} + +func (x *SearchMetricsTimeValuesResponse) GetValues() []*LabelledValue { + if x != nil { + return x.Values + } + return nil +} + +func (x *SearchMetricsTimeValuesResponse) GetIsLimitExceeded() bool { + if x != nil { + return x.IsLimitExceeded + } + return false +} + +func (x *SearchMetricsTimeValuesResponse) GetTotal() *wrapperspb.Int64Value { + if x != nil { + return x.Total + } + return nil +} + +type SearchMetricsGroupedSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + PromqlQuery *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + GroupBy []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + Limits []*SearchMetricsGroupedSeriesRequest_Limit `protobuf:"bytes,4,rep,name=limits,proto3" json:"limits,omitempty"` + Filters []*Filter_MetricsFilter `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty"` +} + +func (x *SearchMetricsGroupedSeriesRequest) Reset() { + *x = SearchMetricsGroupedSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsGroupedSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsGroupedSeriesRequest) ProtoMessage() {} + +func (x *SearchMetricsGroupedSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsGroupedSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchMetricsGroupedSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{4} +} + +func (x *SearchMetricsGroupedSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchMetricsGroupedSeriesRequest) GetPromqlQuery() *wrapperspb.StringValue { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *SearchMetricsGroupedSeriesRequest) GetGroupBy() []*wrapperspb.StringValue { + if x != nil { + return x.GroupBy + } + return nil +} + +func (x *SearchMetricsGroupedSeriesRequest) GetLimits() []*SearchMetricsGroupedSeriesRequest_Limit { + if x != nil { + return x.Limits + } + return nil +} + +func (x *SearchMetricsGroupedSeriesRequest) GetFilters() []*Filter_MetricsFilter { + if x != nil { + return x.Filters + } + return nil +} + +type SearchMetricsGroupedSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` +} + +func (x *SearchMetricsGroupedSeriesResponse) Reset() { + *x = SearchMetricsGroupedSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsGroupedSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsGroupedSeriesResponse) ProtoMessage() {} + +func (x *SearchMetricsGroupedSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsGroupedSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchMetricsGroupedSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{5} +} + +func (x *SearchMetricsGroupedSeriesResponse) GetSeries() []*GroupedSeries { + if x != nil { + return x.Series + } + return nil +} + +type SearchMetricsGroupedTimeSeriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` + PromqlQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + GroupBy []*SearchMetricsGroupedTimeSeriesRequest_GroupBy `protobuf:"bytes,4,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + Filters []*Filter_MetricsFilter `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty"` +} + +func (x *SearchMetricsGroupedTimeSeriesRequest) Reset() { + *x = SearchMetricsGroupedTimeSeriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsGroupedTimeSeriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsGroupedTimeSeriesRequest) ProtoMessage() {} + +func (x *SearchMetricsGroupedTimeSeriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsGroupedTimeSeriesRequest.ProtoReflect.Descriptor instead. +func (*SearchMetricsGroupedTimeSeriesRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{6} +} + +func (x *SearchMetricsGroupedTimeSeriesRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchMetricsGroupedTimeSeriesRequest) GetInterval() *durationpb.Duration { + if x != nil { + return x.Interval + } + return nil +} + +func (x *SearchMetricsGroupedTimeSeriesRequest) GetPromqlQuery() *wrapperspb.StringValue { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *SearchMetricsGroupedTimeSeriesRequest) GetGroupBy() []*SearchMetricsGroupedTimeSeriesRequest_GroupBy { + if x != nil { + return x.GroupBy + } + return nil +} + +func (x *SearchMetricsGroupedTimeSeriesRequest) GetFilters() []*Filter_MetricsFilter { + if x != nil { + return x.Filters + } + return nil +} + +type SearchMetricsGroupedTimeSeriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` +} + +func (x *SearchMetricsGroupedTimeSeriesResponse) Reset() { + *x = SearchMetricsGroupedTimeSeriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsGroupedTimeSeriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsGroupedTimeSeriesResponse) ProtoMessage() {} + +func (x *SearchMetricsGroupedTimeSeriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsGroupedTimeSeriesResponse.ProtoReflect.Descriptor instead. +func (*SearchMetricsGroupedTimeSeriesResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{7} +} + +func (x *SearchMetricsGroupedTimeSeriesResponse) GetSeries() []*GroupedSeries { + if x != nil { + return x.Series + } + return nil +} + +type SearchMetricsEventsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + TimeSeriesInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=time_series_interval,json=timeSeriesInterval,proto3" json:"time_series_interval,omitempty"` + PromqlQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + Pagination *SearchMetricsEventsRequest_Pagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` + Filters []*Filter_MetricsFilter `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty"` + OrderBy *SearchMetricsEventsRequest_OrderBy `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` +} + +func (x *SearchMetricsEventsRequest) Reset() { + *x = SearchMetricsEventsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsEventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsEventsRequest) ProtoMessage() {} + +func (x *SearchMetricsEventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsEventsRequest.ProtoReflect.Descriptor instead. +func (*SearchMetricsEventsRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{8} +} + +func (x *SearchMetricsEventsRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchMetricsEventsRequest) GetTimeSeriesInterval() *durationpb.Duration { + if x != nil { + return x.TimeSeriesInterval + } + return nil +} + +func (x *SearchMetricsEventsRequest) GetPromqlQuery() *wrapperspb.StringValue { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *SearchMetricsEventsRequest) GetPagination() *SearchMetricsEventsRequest_Pagination { + if x != nil { + return x.Pagination + } + return nil +} + +func (x *SearchMetricsEventsRequest) GetFilters() []*Filter_MetricsFilter { + if x != nil { + return x.Filters + } + return nil +} + +func (x *SearchMetricsEventsRequest) GetOrderBy() *SearchMetricsEventsRequest_OrderBy { + if x != nil { + return x.OrderBy + } + return nil +} + +type SearchMetricsEventsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Labels []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + MetricsEvents []*MetricsEvent `protobuf:"bytes,2,rep,name=metrics_events,json=metricsEvents,proto3" json:"metrics_events,omitempty"` + Total *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=total,proto3" json:"total,omitempty"` +} + +func (x *SearchMetricsEventsResponse) Reset() { + *x = SearchMetricsEventsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsEventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsEventsResponse) ProtoMessage() {} + +func (x *SearchMetricsEventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsEventsResponse.ProtoReflect.Descriptor instead. +func (*SearchMetricsEventsResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{9} +} + +func (x *SearchMetricsEventsResponse) GetLabels() []*wrapperspb.StringValue { + if x != nil { + return x.Labels + } + return nil +} + +func (x *SearchMetricsEventsResponse) GetMetricsEvents() []*MetricsEvent { + if x != nil { + return x.MetricsEvents + } + return nil +} + +func (x *SearchMetricsEventsResponse) GetTotal() *wrapperspb.Int64Value { + if x != nil { + return x.Total + } + return nil +} + +type MetricsEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Aggregations []*MetricsEvent_Aggregation `protobuf:"bytes,1,rep,name=aggregations,proto3" json:"aggregations,omitempty"` + TimeSeries *TimeSeries `protobuf:"bytes,2,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` +} + +func (x *MetricsEvent) Reset() { + *x = MetricsEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsEvent) ProtoMessage() {} + +func (x *MetricsEvent) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsEvent.ProtoReflect.Descriptor instead. +func (*MetricsEvent) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{10} +} + +func (x *MetricsEvent) GetAggregations() []*MetricsEvent_Aggregation { + if x != nil { + return x.Aggregations + } + return nil +} + +func (x *MetricsEvent) GetTimeSeries() *TimeSeries { + if x != nil { + return x.TimeSeries + } + return nil +} + +type SearchMetricsAnnotationEventsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` + Filters []*Filter_MetricsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` + PromqlQuery *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + Strategy *Annotation_MetricsSource_Strategy `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *SearchMetricsAnnotationEventsRequest) Reset() { + *x = SearchMetricsAnnotationEventsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsAnnotationEventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsAnnotationEventsRequest) ProtoMessage() {} + +func (x *SearchMetricsAnnotationEventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsAnnotationEventsRequest.ProtoReflect.Descriptor instead. +func (*SearchMetricsAnnotationEventsRequest) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{11} +} + +func (x *SearchMetricsAnnotationEventsRequest) GetTimeFrame() *TimeFrame { + if x != nil { + return x.TimeFrame + } + return nil +} + +func (x *SearchMetricsAnnotationEventsRequest) GetInterval() *durationpb.Duration { + if x != nil { + return x.Interval + } + return nil +} + +func (x *SearchMetricsAnnotationEventsRequest) GetFilters() []*Filter_MetricsFilter { + if x != nil { + return x.Filters + } + return nil +} + +func (x *SearchMetricsAnnotationEventsRequest) GetPromqlQuery() *wrapperspb.StringValue { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *SearchMetricsAnnotationEventsRequest) GetStrategy() *Annotation_MetricsSource_Strategy { + if x != nil { + return x.Strategy + } + return nil +} + +func (x *SearchMetricsAnnotationEventsRequest) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +type SearchMetricsAnnotationEventsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AnnotationEvents []*AnnotationEvent `protobuf:"bytes,1,rep,name=annotation_events,json=annotationEvents,proto3" json:"annotation_events,omitempty"` +} + +func (x *SearchMetricsAnnotationEventsResponse) Reset() { + *x = SearchMetricsAnnotationEventsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsAnnotationEventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsAnnotationEventsResponse) ProtoMessage() {} + +func (x *SearchMetricsAnnotationEventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsAnnotationEventsResponse.ProtoReflect.Descriptor instead. +func (*SearchMetricsAnnotationEventsResponse) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{12} +} + +func (x *SearchMetricsAnnotationEventsResponse) GetAnnotationEvents() []*AnnotationEvent { + if x != nil { + return x.AnnotationEvents + } + return nil +} + +type SearchMetricsGroupedSeriesRequest_Limit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupBy []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` + MinPercentage *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=min_percentage,json=minPercentage,proto3" json:"min_percentage,omitempty"` +} + +func (x *SearchMetricsGroupedSeriesRequest_Limit) Reset() { + *x = SearchMetricsGroupedSeriesRequest_Limit{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsGroupedSeriesRequest_Limit) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsGroupedSeriesRequest_Limit) ProtoMessage() {} + +func (x *SearchMetricsGroupedSeriesRequest_Limit) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsGroupedSeriesRequest_Limit.ProtoReflect.Descriptor instead. +func (*SearchMetricsGroupedSeriesRequest_Limit) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *SearchMetricsGroupedSeriesRequest_Limit) GetGroupBy() []*wrapperspb.StringValue { + if x != nil { + return x.GroupBy + } + return nil +} + +func (x *SearchMetricsGroupedSeriesRequest_Limit) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +func (x *SearchMetricsGroupedSeriesRequest_Limit) GetMinPercentage() *wrapperspb.Int32Value { + if x != nil { + return x.MinPercentage + } + return nil +} + +type SearchMetricsGroupedTimeSeriesRequest_GroupBy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Labels []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` + MinPercentage *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=min_percentage,json=minPercentage,proto3" json:"min_percentage,omitempty"` +} + +func (x *SearchMetricsGroupedTimeSeriesRequest_GroupBy) Reset() { + *x = SearchMetricsGroupedTimeSeriesRequest_GroupBy{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsGroupedTimeSeriesRequest_GroupBy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsGroupedTimeSeriesRequest_GroupBy) ProtoMessage() {} + +func (x *SearchMetricsGroupedTimeSeriesRequest_GroupBy) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsGroupedTimeSeriesRequest_GroupBy.ProtoReflect.Descriptor instead. +func (*SearchMetricsGroupedTimeSeriesRequest_GroupBy) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *SearchMetricsGroupedTimeSeriesRequest_GroupBy) GetLabels() []*wrapperspb.StringValue { + if x != nil { + return x.Labels + } + return nil +} + +func (x *SearchMetricsGroupedTimeSeriesRequest_GroupBy) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +func (x *SearchMetricsGroupedTimeSeriesRequest_GroupBy) GetMinPercentage() *wrapperspb.Int32Value { + if x != nil { + return x.MinPercentage + } + return nil +} + +type SearchMetricsEventsRequest_OrderBy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Direction OrderDirection `protobuf:"varint,1,opt,name=direction,proto3,enum=com.coralogixapis.dashboards.v1.common.OrderDirection" json:"direction,omitempty"` + // Types that are assignable to Value: + // *SearchMetricsEventsRequest_OrderBy_Label + // *SearchMetricsEventsRequest_OrderBy_AggType + Value isSearchMetricsEventsRequest_OrderBy_Value `protobuf_oneof:"value"` +} + +func (x *SearchMetricsEventsRequest_OrderBy) Reset() { + *x = SearchMetricsEventsRequest_OrderBy{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsEventsRequest_OrderBy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsEventsRequest_OrderBy) ProtoMessage() {} + +func (x *SearchMetricsEventsRequest_OrderBy) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsEventsRequest_OrderBy.ProtoReflect.Descriptor instead. +func (*SearchMetricsEventsRequest_OrderBy) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{8, 0} +} + +func (x *SearchMetricsEventsRequest_OrderBy) GetDirection() OrderDirection { + if x != nil { + return x.Direction + } + return OrderDirection_ORDER_DIRECTION_UNSPECIFIED +} + +func (m *SearchMetricsEventsRequest_OrderBy) GetValue() isSearchMetricsEventsRequest_OrderBy_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *SearchMetricsEventsRequest_OrderBy) GetLabel() *wrapperspb.StringValue { + if x, ok := x.GetValue().(*SearchMetricsEventsRequest_OrderBy_Label); ok { + return x.Label + } + return nil +} + +func (x *SearchMetricsEventsRequest_OrderBy) GetAggType() MetricsEvent_AggregationType { + if x, ok := x.GetValue().(*SearchMetricsEventsRequest_OrderBy_AggType); ok { + return x.AggType + } + return MetricsEvent_AGGREGATION_TYPE_UNSPECIFIED +} + +type isSearchMetricsEventsRequest_OrderBy_Value interface { + isSearchMetricsEventsRequest_OrderBy_Value() +} + +type SearchMetricsEventsRequest_OrderBy_Label struct { + Label *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=label,proto3,oneof"` +} + +type SearchMetricsEventsRequest_OrderBy_AggType struct { + AggType MetricsEvent_AggregationType `protobuf:"varint,3,opt,name=agg_type,json=aggType,proto3,enum=com.coralogixapis.dashboards.v1.services.MetricsEvent_AggregationType,oneof"` +} + +func (*SearchMetricsEventsRequest_OrderBy_Label) isSearchMetricsEventsRequest_OrderBy_Value() {} + +func (*SearchMetricsEventsRequest_OrderBy_AggType) isSearchMetricsEventsRequest_OrderBy_Value() {} + +type SearchMetricsEventsRequest_Pagination struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Offset *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *SearchMetricsEventsRequest_Pagination) Reset() { + *x = SearchMetricsEventsRequest_Pagination{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchMetricsEventsRequest_Pagination) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchMetricsEventsRequest_Pagination) ProtoMessage() {} + +func (x *SearchMetricsEventsRequest_Pagination) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchMetricsEventsRequest_Pagination.ProtoReflect.Descriptor instead. +func (*SearchMetricsEventsRequest_Pagination) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{8, 1} +} + +func (x *SearchMetricsEventsRequest_Pagination) GetOffset() *wrapperspb.Int32Value { + if x != nil { + return x.Offset + } + return nil +} + +func (x *SearchMetricsEventsRequest_Pagination) GetLimit() *wrapperspb.Int32Value { + if x != nil { + return x.Limit + } + return nil +} + +type MetricsEvent_Aggregation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AggregationType MetricsEvent_AggregationType `protobuf:"varint,1,opt,name=aggregation_type,json=aggregationType,proto3,enum=com.coralogixapis.dashboards.v1.services.MetricsEvent_AggregationType" json:"aggregation_type,omitempty"` + Value *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *MetricsEvent_Aggregation) Reset() { + *x = MetricsEvent_Aggregation{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsEvent_Aggregation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsEvent_Aggregation) ProtoMessage() {} + +func (x *MetricsEvent_Aggregation) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsEvent_Aggregation.ProtoReflect.Descriptor instead. +func (*MetricsEvent_Aggregation) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{10, 0} +} + +func (x *MetricsEvent_Aggregation) GetAggregationType() MetricsEvent_AggregationType { + if x != nil { + return x.AggregationType + } + return MetricsEvent_AGGREGATION_TYPE_UNSPECIFIED +} + +func (x *MetricsEvent_Aggregation) GetValue() *wrapperspb.DoubleValue { + if x != nil { + return x.Value + } + return nil +} + +var File_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto protoreflect.FileDescriptor + +var file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDesc = []byte{ + 0x0a, 0x4a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x34, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x63, 0x6f, + 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, + 0x74, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x3d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x5f, 0x73, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x38, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, + 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x02, 0x0a, 0x1e, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x0a, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x35, + 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, + 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, + 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0xd5, + 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x0a, 0x74, 0x69, 0x6d, + 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x78, 0x63, 0x65, 0x65, + 0x64, 0x65, 0x64, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xbb, 0x02, 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, + 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x70, + 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x05, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, + 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x22, 0xcf, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x78, 0x63, 0x65, 0x65, + 0x64, 0x65, 0x64, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xe9, 0x04, 0x0a, 0x21, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x0a, + 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x3f, + 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, + 0x37, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x69, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x51, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, + 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, 0xb7, 0x01, 0x0a, 0x05, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, + 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x42, + 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, + 0x67, 0x65, 0x22, 0x73, 0x0a, 0x22, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, + 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xf3, 0x04, 0x0a, 0x25, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x0c, 0x70, 0x72, + 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, + 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x72, 0x0a, 0x08, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x57, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, + 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x1a, 0xb6, 0x01, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, + 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x42, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, + 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, + 0x6d, 0x69, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0x77, 0x0a, + 0x26, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x06, + 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xa7, 0x07, 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, + 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6f, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x67, 0x0a, 0x08, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x52, 0x07, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x42, 0x79, 0x1a, 0x83, 0x02, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, + 0x12, 0x54, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x63, 0x0a, 0x08, + 0x61, 0x67, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x46, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x07, 0x61, 0x67, 0x67, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x74, 0x0a, 0x0a, 0x50, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x31, 0x0a, + 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, + 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x22, 0xe5, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xbb, 0x04, 0x0a, 0x0c, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x66, 0x0a, 0x0c, 0x61, 0x67, 0x67, + 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x1a, 0xb4, 0x01, 0x0a, 0x0b, 0x41, 0x67, 0x67, 0x72, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x71, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x46, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, + 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb6, 0x01, + 0x0a, 0x0f, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x01, 0x12, 0x18, + 0x0a, 0x14, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x47, 0x47, 0x52, + 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x58, + 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, + 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x05, 0x22, 0xdc, 0x03, 0x0a, 0x24, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x50, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3f, 0x0a, + 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, + 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x46, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x67, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x25, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x64, 0x0a, 0x11, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0xa2, 0x0a, 0x0a, 0x18, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0xc8, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x48, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x18, 0xba, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xcb, 0x01, + 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x54, + 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x54, 0x69, 0x6d, 0x65, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, + 0xba, 0xb8, 0x02, 0x17, 0x0a, 0x15, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0xd4, 0x01, 0x0a, 0x1a, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x4b, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xba, 0xb8, 0x02, 0x17, 0x0a, 0x15, 0x73, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x73, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x12, 0xe5, 0x01, 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, + 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x4f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x50, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0xba, 0xb8, 0x02, 0x1c, 0x0a, 0x1a, + 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x74, + 0x69, 0x6d, 0x65, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xc2, 0x01, 0x0a, 0x13, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x12, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1e, 0xba, 0xb8, 0x02, 0x1a, 0x0a, 0x18, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x6d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x20, 0x61, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0xe8, 0x01, 0x0a, 0x1d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x12, 0x4e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x4f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x26, 0xba, 0xb8, 0x02, 0x22, 0x0a, 0x20, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x20, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x20, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescOnce sync.Once + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDesc +) + +func file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP() []byte { + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescOnce.Do(func() { + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescData) + }) + return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescData +} + +var file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_goTypes = []interface{}{ + (MetricsEvent_AggregationType)(0), // 0: com.coralogixapis.dashboards.v1.services.MetricsEvent.AggregationType + (*SearchMetricsTimeSeriesRequest)(nil), // 1: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest + (*SearchMetricsTimeSeriesResponse)(nil), // 2: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesResponse + (*SearchMetricsTimeValuesRequest)(nil), // 3: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest + (*SearchMetricsTimeValuesResponse)(nil), // 4: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesResponse + (*SearchMetricsGroupedSeriesRequest)(nil), // 5: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest + (*SearchMetricsGroupedSeriesResponse)(nil), // 6: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesResponse + (*SearchMetricsGroupedTimeSeriesRequest)(nil), // 7: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest + (*SearchMetricsGroupedTimeSeriesResponse)(nil), // 8: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesResponse + (*SearchMetricsEventsRequest)(nil), // 9: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest + (*SearchMetricsEventsResponse)(nil), // 10: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsResponse + (*MetricsEvent)(nil), // 11: com.coralogixapis.dashboards.v1.services.MetricsEvent + (*SearchMetricsAnnotationEventsRequest)(nil), // 12: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest + (*SearchMetricsAnnotationEventsResponse)(nil), // 13: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsResponse + (*SearchMetricsGroupedSeriesRequest_Limit)(nil), // 14: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit + (*SearchMetricsGroupedTimeSeriesRequest_GroupBy)(nil), // 15: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy + (*SearchMetricsEventsRequest_OrderBy)(nil), // 16: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy + (*SearchMetricsEventsRequest_Pagination)(nil), // 17: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination + (*MetricsEvent_Aggregation)(nil), // 18: com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation + (*TimeFrame)(nil), // 19: com.coralogixapis.dashboards.v1.common.TimeFrame + (*durationpb.Duration)(nil), // 20: google.protobuf.Duration + (*wrapperspb.StringValue)(nil), // 21: google.protobuf.StringValue + (*wrapperspb.Int32Value)(nil), // 22: google.protobuf.Int32Value + (*Filter_MetricsFilter)(nil), // 23: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + (*TimeSeries)(nil), // 24: com.coralogixapis.dashboards.v1.common.TimeSeries + (*wrapperspb.Int64Value)(nil), // 25: google.protobuf.Int64Value + (*LabelledValue)(nil), // 26: com.coralogixapis.dashboards.v1.common.LabelledValue + (*GroupedSeries)(nil), // 27: com.coralogixapis.dashboards.v1.common.GroupedSeries + (*Annotation_MetricsSource_Strategy)(nil), // 28: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy + (*AnnotationEvent)(nil), // 29: com.coralogixapis.dashboards.v1.common.AnnotationEvent + (OrderDirection)(0), // 30: com.coralogixapis.dashboards.v1.common.OrderDirection + (*wrapperspb.DoubleValue)(nil), // 31: google.protobuf.DoubleValue +} +var file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_depIdxs = []int32{ + 19, // 0: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 1: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.interval:type_name -> google.protobuf.Duration + 21, // 2: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.promql_query:type_name -> google.protobuf.StringValue + 22, // 3: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value + 23, // 4: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 24, // 5: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries + 25, // 6: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value + 19, // 7: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 21, // 8: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.promql_query:type_name -> google.protobuf.StringValue + 22, // 9: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.limit:type_name -> google.protobuf.Int32Value + 23, // 10: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 26, // 11: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesResponse.values:type_name -> com.coralogixapis.dashboards.v1.common.LabelledValue + 25, // 12: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesResponse.total:type_name -> google.protobuf.Int64Value + 19, // 13: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 21, // 14: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.promql_query:type_name -> google.protobuf.StringValue + 21, // 15: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.group_by:type_name -> google.protobuf.StringValue + 14, // 16: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit + 23, // 17: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 27, // 18: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 19, // 19: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 20: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.interval:type_name -> google.protobuf.Duration + 21, // 21: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.promql_query:type_name -> google.protobuf.StringValue + 15, // 22: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy + 23, // 23: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 27, // 24: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 19, // 25: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 26: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.time_series_interval:type_name -> google.protobuf.Duration + 21, // 27: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.promql_query:type_name -> google.protobuf.StringValue + 17, // 28: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination + 23, // 29: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 16, // 30: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.order_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy + 21, // 31: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsResponse.labels:type_name -> google.protobuf.StringValue + 11, // 32: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsResponse.metrics_events:type_name -> com.coralogixapis.dashboards.v1.services.MetricsEvent + 25, // 33: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsResponse.total:type_name -> google.protobuf.Int64Value + 18, // 34: com.coralogixapis.dashboards.v1.services.MetricsEvent.aggregations:type_name -> com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation + 24, // 35: com.coralogixapis.dashboards.v1.services.MetricsEvent.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries + 19, // 36: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 20, // 37: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.interval:type_name -> google.protobuf.Duration + 23, // 38: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 21, // 39: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.promql_query:type_name -> google.protobuf.StringValue + 28, // 40: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy + 22, // 41: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.limit:type_name -> google.protobuf.Int32Value + 29, // 42: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsResponse.annotation_events:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent + 21, // 43: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit.group_by:type_name -> google.protobuf.StringValue + 22, // 44: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit.limit:type_name -> google.protobuf.Int32Value + 22, // 45: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit.min_percentage:type_name -> google.protobuf.Int32Value + 21, // 46: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy.labels:type_name -> google.protobuf.StringValue + 22, // 47: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy.limit:type_name -> google.protobuf.Int32Value + 22, // 48: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy.min_percentage:type_name -> google.protobuf.Int32Value + 30, // 49: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy.direction:type_name -> com.coralogixapis.dashboards.v1.common.OrderDirection + 21, // 50: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy.label:type_name -> google.protobuf.StringValue + 0, // 51: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy.agg_type:type_name -> com.coralogixapis.dashboards.v1.services.MetricsEvent.AggregationType + 22, // 52: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination.offset:type_name -> google.protobuf.Int32Value + 22, // 53: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination.limit:type_name -> google.protobuf.Int32Value + 0, // 54: com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation.aggregation_type:type_name -> com.coralogixapis.dashboards.v1.services.MetricsEvent.AggregationType + 31, // 55: com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation.value:type_name -> google.protobuf.DoubleValue + 1, // 56: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest + 3, // 57: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeValues:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest + 5, // 58: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest + 7, // 59: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest + 9, // 60: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest + 12, // 61: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsAnnotationEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest + 2, // 62: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesResponse + 4, // 63: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeValues:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesResponse + 6, // 64: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesResponse + 8, // 65: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesResponse + 10, // 66: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsResponse + 13, // 67: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsAnnotationEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsResponse + 62, // [62:68] is the sub-list for method output_type + 56, // [56:62] is the sub-list for method input_type + 56, // [56:56] is the sub-list for extension type_name + 56, // [56:56] is the sub-list for extension extendee + 0, // [0:56] is the sub-list for field type_name +} + +func init() { file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_init() } +func file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_init() { + if File_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto != nil { + return + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() + file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_init() + file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_init() + file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_init() + file_com_coralogixapis_dashboards_v1_common_order_direction_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_series_proto_init() + if !protoimpl.UnsafeEnabled { + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsTimeSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsTimeSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsTimeValuesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsTimeValuesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsGroupedSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsGroupedSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsGroupedTimeSeriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsGroupedTimeSeriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsEventsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsAnnotationEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsAnnotationEventsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsGroupedSeriesRequest_Limit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsGroupedTimeSeriesRequest_GroupBy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsEventsRequest_OrderBy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchMetricsEventsRequest_Pagination); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsEvent_Aggregation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes[15].OneofWrappers = []interface{}{ + (*SearchMetricsEventsRequest_OrderBy_Label)(nil), + (*SearchMetricsEventsRequest_OrderBy_AggType)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDesc, + NumEnums: 1, + NumMessages: 18, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_goTypes, + DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_depIdxs, + EnumInfos: file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_enumTypes, + MessageInfos: file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_msgTypes, + }.Build() + File_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto = out.File + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDesc = nil + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_goTypes = nil + file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_depIdxs = nil +} diff --git a/coralogix/clientset/grpc/dashboards/metrics_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/metrics_data_source_service_grpc.pb.go new file mode 100644 index 00000000..a6985a33 --- /dev/null +++ b/coralogix/clientset/grpc/dashboards/metrics_data_source_service_grpc.pb.go @@ -0,0 +1,286 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.8 +// source: com/coralogixapis/dashboards/v1/services/metrics_data_source_service.proto + +package __ + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// 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 + +// MetricsDataSourceServiceClient is the client API for MetricsDataSourceService 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 MetricsDataSourceServiceClient interface { + SearchMetricsTimeSeries(ctx context.Context, in *SearchMetricsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsTimeSeriesResponse, error) + SearchMetricsTimeValues(ctx context.Context, in *SearchMetricsTimeValuesRequest, opts ...grpc.CallOption) (*SearchMetricsTimeValuesResponse, error) + SearchMetricsGroupedSeries(ctx context.Context, in *SearchMetricsGroupedSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedSeriesResponse, error) + SearchMetricsGroupedTimeSeries(ctx context.Context, in *SearchMetricsGroupedTimeSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedTimeSeriesResponse, error) + SearchMetricsEvents(ctx context.Context, in *SearchMetricsEventsRequest, opts ...grpc.CallOption) (*SearchMetricsEventsResponse, error) + SearchMetricsAnnotationEvents(ctx context.Context, in *SearchMetricsAnnotationEventsRequest, opts ...grpc.CallOption) (*SearchMetricsAnnotationEventsResponse, error) +} + +type metricsDataSourceServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewMetricsDataSourceServiceClient(cc grpc.ClientConnInterface) MetricsDataSourceServiceClient { + return &metricsDataSourceServiceClient{cc} +} + +func (c *metricsDataSourceServiceClient) SearchMetricsTimeSeries(ctx context.Context, in *SearchMetricsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsTimeSeriesResponse, error) { + out := new(SearchMetricsTimeSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsTimeSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metricsDataSourceServiceClient) SearchMetricsTimeValues(ctx context.Context, in *SearchMetricsTimeValuesRequest, opts ...grpc.CallOption) (*SearchMetricsTimeValuesResponse, error) { + out := new(SearchMetricsTimeValuesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsTimeValues", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metricsDataSourceServiceClient) SearchMetricsGroupedSeries(ctx context.Context, in *SearchMetricsGroupedSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedSeriesResponse, error) { + out := new(SearchMetricsGroupedSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsGroupedSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metricsDataSourceServiceClient) SearchMetricsGroupedTimeSeries(ctx context.Context, in *SearchMetricsGroupedTimeSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedTimeSeriesResponse, error) { + out := new(SearchMetricsGroupedTimeSeriesResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsGroupedTimeSeries", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metricsDataSourceServiceClient) SearchMetricsEvents(ctx context.Context, in *SearchMetricsEventsRequest, opts ...grpc.CallOption) (*SearchMetricsEventsResponse, error) { + out := new(SearchMetricsEventsResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsEvents", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metricsDataSourceServiceClient) SearchMetricsAnnotationEvents(ctx context.Context, in *SearchMetricsAnnotationEventsRequest, opts ...grpc.CallOption) (*SearchMetricsAnnotationEventsResponse, error) { + out := new(SearchMetricsAnnotationEventsResponse) + err := c.cc.Invoke(ctx, "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsAnnotationEvents", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MetricsDataSourceServiceServer is the server API for MetricsDataSourceService service. +// All implementations must embed UnimplementedMetricsDataSourceServiceServer +// for forward compatibility +type MetricsDataSourceServiceServer interface { + SearchMetricsTimeSeries(context.Context, *SearchMetricsTimeSeriesRequest) (*SearchMetricsTimeSeriesResponse, error) + SearchMetricsTimeValues(context.Context, *SearchMetricsTimeValuesRequest) (*SearchMetricsTimeValuesResponse, error) + SearchMetricsGroupedSeries(context.Context, *SearchMetricsGroupedSeriesRequest) (*SearchMetricsGroupedSeriesResponse, error) + SearchMetricsGroupedTimeSeries(context.Context, *SearchMetricsGroupedTimeSeriesRequest) (*SearchMetricsGroupedTimeSeriesResponse, error) + SearchMetricsEvents(context.Context, *SearchMetricsEventsRequest) (*SearchMetricsEventsResponse, error) + SearchMetricsAnnotationEvents(context.Context, *SearchMetricsAnnotationEventsRequest) (*SearchMetricsAnnotationEventsResponse, error) + mustEmbedUnimplementedMetricsDataSourceServiceServer() +} + +// UnimplementedMetricsDataSourceServiceServer must be embedded to have forward compatible implementations. +type UnimplementedMetricsDataSourceServiceServer struct { +} + +func (UnimplementedMetricsDataSourceServiceServer) SearchMetricsTimeSeries(context.Context, *SearchMetricsTimeSeriesRequest) (*SearchMetricsTimeSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchMetricsTimeSeries not implemented") +} +func (UnimplementedMetricsDataSourceServiceServer) SearchMetricsTimeValues(context.Context, *SearchMetricsTimeValuesRequest) (*SearchMetricsTimeValuesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchMetricsTimeValues not implemented") +} +func (UnimplementedMetricsDataSourceServiceServer) SearchMetricsGroupedSeries(context.Context, *SearchMetricsGroupedSeriesRequest) (*SearchMetricsGroupedSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchMetricsGroupedSeries not implemented") +} +func (UnimplementedMetricsDataSourceServiceServer) SearchMetricsGroupedTimeSeries(context.Context, *SearchMetricsGroupedTimeSeriesRequest) (*SearchMetricsGroupedTimeSeriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchMetricsGroupedTimeSeries not implemented") +} +func (UnimplementedMetricsDataSourceServiceServer) SearchMetricsEvents(context.Context, *SearchMetricsEventsRequest) (*SearchMetricsEventsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchMetricsEvents not implemented") +} +func (UnimplementedMetricsDataSourceServiceServer) SearchMetricsAnnotationEvents(context.Context, *SearchMetricsAnnotationEventsRequest) (*SearchMetricsAnnotationEventsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchMetricsAnnotationEvents not implemented") +} +func (UnimplementedMetricsDataSourceServiceServer) mustEmbedUnimplementedMetricsDataSourceServiceServer() { +} + +// UnsafeMetricsDataSourceServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MetricsDataSourceServiceServer will +// result in compilation errors. +type UnsafeMetricsDataSourceServiceServer interface { + mustEmbedUnimplementedMetricsDataSourceServiceServer() +} + +func RegisterMetricsDataSourceServiceServer(s grpc.ServiceRegistrar, srv MetricsDataSourceServiceServer) { + s.RegisterService(&MetricsDataSourceService_ServiceDesc, srv) +} + +func _MetricsDataSourceService_SearchMetricsTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchMetricsTimeSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsDataSourceServiceServer).SearchMetricsTimeSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsTimeSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsDataSourceServiceServer).SearchMetricsTimeSeries(ctx, req.(*SearchMetricsTimeSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetricsDataSourceService_SearchMetricsTimeValues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchMetricsTimeValuesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsDataSourceServiceServer).SearchMetricsTimeValues(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsTimeValues", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsDataSourceServiceServer).SearchMetricsTimeValues(ctx, req.(*SearchMetricsTimeValuesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetricsDataSourceService_SearchMetricsGroupedSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchMetricsGroupedSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsDataSourceServiceServer).SearchMetricsGroupedSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsGroupedSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsDataSourceServiceServer).SearchMetricsGroupedSeries(ctx, req.(*SearchMetricsGroupedSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetricsDataSourceService_SearchMetricsGroupedTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchMetricsGroupedTimeSeriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsDataSourceServiceServer).SearchMetricsGroupedTimeSeries(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsGroupedTimeSeries", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsDataSourceServiceServer).SearchMetricsGroupedTimeSeries(ctx, req.(*SearchMetricsGroupedTimeSeriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetricsDataSourceService_SearchMetricsEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchMetricsEventsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsDataSourceServiceServer).SearchMetricsEvents(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsEvents", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsDataSourceServiceServer).SearchMetricsEvents(ctx, req.(*SearchMetricsEventsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetricsDataSourceService_SearchMetricsAnnotationEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchMetricsAnnotationEventsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetricsDataSourceServiceServer).SearchMetricsAnnotationEvents(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsAnnotationEvents", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetricsDataSourceServiceServer).SearchMetricsAnnotationEvents(ctx, req.(*SearchMetricsAnnotationEventsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// MetricsDataSourceService_ServiceDesc is the grpc.ServiceDesc for MetricsDataSourceService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var MetricsDataSourceService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "com.coralogixapis.dashboards.v1.services.MetricsDataSourceService", + HandlerType: (*MetricsDataSourceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SearchMetricsTimeSeries", + Handler: _MetricsDataSourceService_SearchMetricsTimeSeries_Handler, + }, + { + MethodName: "SearchMetricsTimeValues", + Handler: _MetricsDataSourceService_SearchMetricsTimeValues_Handler, + }, + { + MethodName: "SearchMetricsGroupedSeries", + Handler: _MetricsDataSourceService_SearchMetricsGroupedSeries_Handler, + }, + { + MethodName: "SearchMetricsGroupedTimeSeries", + Handler: _MetricsDataSourceService_SearchMetricsGroupedTimeSeries_Handler, + }, + { + MethodName: "SearchMetricsEvents", + Handler: _MetricsDataSourceService_SearchMetricsEvents_Handler, + }, + { + MethodName: "SearchMetricsAnnotationEvents", + Handler: _MetricsDataSourceService_SearchMetricsAnnotationEvents_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "com/coralogixapis/dashboards/v1/services/metrics_data_source_service.proto", +} diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/observation_field.pb.go b/coralogix/clientset/grpc/dashboards/observation_field.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/observation_field.pb.go rename to coralogix/clientset/grpc/dashboards/observation_field.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/order_direction.pb.go b/coralogix/clientset/grpc/dashboards/order_direction.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/order_direction.pb.go rename to coralogix/clientset/grpc/dashboards/order_direction.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/ordering_field.pb.go b/coralogix/clientset/grpc/dashboards/ordering_field.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/ordering_field.pb.go rename to coralogix/clientset/grpc/dashboards/ordering_field.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/pagination.pb.go b/coralogix/clientset/grpc/dashboards/pagination.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/pagination.pb.go rename to coralogix/clientset/grpc/dashboards/pagination.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/pie_chart.pb.go b/coralogix/clientset/grpc/dashboards/pie_chart.pb.go similarity index 60% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/pie_chart.pb.go rename to coralogix/clientset/grpc/dashboards/pie_chart.pb.go index c0ed7766..ec7037ce 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/pie_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/pie_chart.pb.go @@ -198,6 +198,7 @@ type PieChart_Query struct { // *PieChart_Query_Logs // *PieChart_Query_Spans // *PieChart_Query_Metrics + // *PieChart_Query_Dataprime Value isPieChart_Query_Value `protobuf_oneof:"value"` } @@ -261,6 +262,13 @@ func (x *PieChart_Query) GetMetrics() *PieChart_MetricsQuery { return nil } +func (x *PieChart_Query) GetDataprime() *PieChart_DataprimeQuery { + if x, ok := x.GetValue().(*PieChart_Query_Dataprime); ok { + return x.Dataprime + } + return nil +} + type isPieChart_Query_Value interface { isPieChart_Query_Value() } @@ -277,12 +285,18 @@ type PieChart_Query_Metrics struct { Metrics *PieChart_MetricsQuery `protobuf:"bytes,3,opt,name=metrics,proto3,oneof"` } +type PieChart_Query_Dataprime struct { + Dataprime *PieChart_DataprimeQuery `protobuf:"bytes,4,opt,name=dataprime,proto3,oneof"` +} + func (*PieChart_Query_Logs) isPieChart_Query_Value() {} func (*PieChart_Query_Spans) isPieChart_Query_Value() {} func (*PieChart_Query_Metrics) isPieChart_Query_Value() {} +func (*PieChart_Query_Dataprime) isPieChart_Query_Value() {} + type PieChart_StackDefinition struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -662,6 +676,77 @@ func (x *PieChart_MetricsQuery) GetStackedGroupName() *wrapperspb.StringValue { return nil } +type PieChart_DataprimeQuery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DataprimeQuery *DataprimeQuery `protobuf:"bytes,1,opt,name=dataprime_query,json=dataprimeQuery,proto3" json:"dataprime_query,omitempty"` + Filters []*Filter_Source `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + GroupNames []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` + StackedGroupName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` +} + +func (x *PieChart_DataprimeQuery) Reset() { + *x = PieChart_DataprimeQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PieChart_DataprimeQuery) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PieChart_DataprimeQuery) ProtoMessage() {} + +func (x *PieChart_DataprimeQuery) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PieChart_DataprimeQuery.ProtoReflect.Descriptor instead. +func (*PieChart_DataprimeQuery) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 6} +} + +func (x *PieChart_DataprimeQuery) GetDataprimeQuery() *DataprimeQuery { + if x != nil { + return x.DataprimeQuery + } + return nil +} + +func (x *PieChart_DataprimeQuery) GetFilters() []*Filter_Source { + if x != nil { + return x.Filters + } + return nil +} + +func (x *PieChart_DataprimeQuery) GetGroupNames() []*wrapperspb.StringValue { + if x != nil { + return x.GroupNames + } + return nil +} + +func (x *PieChart_DataprimeQuery) GetStackedGroupName() *wrapperspb.StringValue { + if x != nil { + return x.StackedGroupName + } + return nil +} + var File_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto protoreflect.FileDescriptor var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDesc = []byte{ @@ -695,220 +780,251 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDesc = [ 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, - 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x3e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, - 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x61, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xb0, 0x19, 0x0a, 0x08, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x51, 0x0a, 0x05, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, - 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, - 0x72, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, - 0x4c, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x70, 0x65, - 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x53, - 0x6c, 0x69, 0x63, 0x65, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x4d, 0x0a, - 0x14, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, - 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x53, 0x6c, 0x69, - 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x70, 0x0a, 0x10, - 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x70, 0x61, 0x6e, + 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x1c, 0x0a, 0x08, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, + 0x12, 0x51, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, + 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x4c, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, + 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, + 0x6d, 0x61, 0x78, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, 0x61, 0x72, + 0x74, 0x12, 0x4d, 0x0a, 0x14, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x5f, 0x70, + 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x6d, 0x69, + 0x6e, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x12, 0x70, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, + 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, + 0x74, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x70, 0x0a, 0x10, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, + 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, + 0x61, 0x72, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6c, 0x65, 0x67, + 0x65, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x65, 0x67, 0x65, 0x6e, + 0x64, 0x12, 0x4c, 0x0a, 0x13, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, + 0x4c, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x3f, 0x0a, + 0x0c, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x66, + 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, - 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x53, 0x74, - 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x73, - 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x70, - 0x0a, 0x10, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, - 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x12, 0x4c, 0x0a, - 0x13, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, - 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, 0x04, 0x75, - 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, - 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, - 0x6e, 0x69, 0x74, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x3f, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, - 0x6f, 0x72, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x63, - 0x6f, 0x6c, 0x6f, 0x72, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x0e, 0x64, 0x61, - 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, + 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x6f, + 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x87, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x12, 0x55, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, + 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, + 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, + 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x58, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, + 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x53, 0x70, + 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, + 0x73, 0x12, 0x5e, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x1a, 0xa1, 0x02, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x04, - 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x12, 0x64, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, + 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, + 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, + 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x1a, 0xad, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x6c, 0x69, 0x63, + 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x11, 0x6d, 0x61, 0x78, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x63, 0x6b, 0x12, 0x4c, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x73, + 0x74, 0x61, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x1a, 0xeb, 0x02, 0x0a, 0x0f, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x0c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, - 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x04, 0x6c, - 0x6f, 0x67, 0x73, 0x12, 0x58, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, - 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x5e, 0x0a, - 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, - 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x07, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xad, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x63, 0x6b, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x14, 0x6d, 0x61, - 0x78, 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x73, - 0x50, 0x65, 0x72, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x4c, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x63, - 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x11, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0xeb, 0x02, 0x0a, 0x0f, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x0c, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, - 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x52, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x09, 0x69, 0x73, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x73, - 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0b, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, + 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x43, 0x0a, 0x0f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, - 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x69, 0x73, 0x56, 0x69, + 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, - 0x74, 0x61, 0x67, 0x65, 0x1a, 0x82, 0x05, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, + 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, + 0x73, 0x68, 0x6f, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x68, 0x6f, + 0x77, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, + 0x73, 0x68, 0x6f, 0x77, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x1a, 0x82, + 0x05, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, + 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, + 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x07, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, + 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, + 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x12, + 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x12, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, + 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, + 0x12, 0x71, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, + 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x15, 0x73, 0x74, + 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x1a, 0xd4, 0x03, 0x0a, 0x0a, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, - 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, + 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x50, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, - 0x4c, 0x6f, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, - 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x66, - 0x0a, 0x12, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x71, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, - 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x52, 0x15, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x4e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xd4, 0x03, 0x0a, 0x0a, 0x53, 0x70, - 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, - 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x0b, - 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0a, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x73, 0x74, 0x61, + 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, + 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, + 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xd2, 0x02, 0x0a, 0x0c, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x70, + 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, - 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x0b, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, + 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, - 0x5f, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, + 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x1a, + 0xca, 0x02, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, - 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, - 0x1a, 0xd2, 0x02, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, - 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, - 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, - 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, - 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, - 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x5b, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x53, 0x4f, - 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x55, 0x52, - 0x43, 0x45, 0x5f, 0x49, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, - 0x42, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, - 0x10, 0x02, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x12, 0x4c, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, + 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x5b, 0x0a, 0x0b, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x4c, + 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x42, + 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x4e, 0x4e, 0x45, 0x52, 0x10, + 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, + 0x45, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -924,7 +1040,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZI } var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_goTypes = []interface{}{ (PieChart_LabelSource)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelSource (*PieChart)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.PieChart @@ -934,63 +1050,71 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_goTypes = [ (*PieChart_LogsQuery)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery (*PieChart_SpansQuery)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery (*PieChart_MetricsQuery)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery - (*wrapperspb.Int32Value)(nil), // 8: google.protobuf.Int32Value - (*wrapperspb.BoolValue)(nil), // 9: google.protobuf.BoolValue - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (Unit)(0), // 11: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - (DataModeType)(0), // 12: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*LuceneQuery)(nil), // 13: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*LogsAggregation)(nil), // 14: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*Filter_LogsFilter)(nil), // 15: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*ObservationField)(nil), // 16: com.coralogixapis.dashboards.v1.common.ObservationField - (*SpansAggregation)(nil), // 17: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 18: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*SpanField)(nil), // 19: com.coralogixapis.dashboards.v1.common.SpanField - (*PromQlQuery)(nil), // 20: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 21: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + (*PieChart_DataprimeQuery)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery + (*wrapperspb.Int32Value)(nil), // 9: google.protobuf.Int32Value + (*wrapperspb.BoolValue)(nil), // 10: google.protobuf.BoolValue + (*wrapperspb.StringValue)(nil), // 11: google.protobuf.StringValue + (Unit)(0), // 12: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit + (DataModeType)(0), // 13: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType + (*LuceneQuery)(nil), // 14: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery + (*LogsAggregation)(nil), // 15: com.coralogixapis.dashboards.v1.common.LogsAggregation + (*Filter_LogsFilter)(nil), // 16: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter + (*ObservationField)(nil), // 17: com.coralogixapis.dashboards.v1.common.ObservationField + (*SpansAggregation)(nil), // 18: com.coralogixapis.dashboards.v1.common.SpansAggregation + (*Filter_SpansFilter)(nil), // 19: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter + (*SpanField)(nil), // 20: com.coralogixapis.dashboards.v1.common.SpanField + (*PromQlQuery)(nil), // 21: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery + (*Filter_MetricsFilter)(nil), // 22: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + (*DataprimeQuery)(nil), // 23: com.coralogixapis.dashboards.v1.common.DataprimeQuery + (*Filter_Source)(nil), // 24: com.coralogixapis.dashboards.v1.ast.Filter.Source } var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_depIdxs = []int32{ 2, // 0: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query - 8, // 1: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.max_slices_per_chart:type_name -> google.protobuf.Int32Value - 8, // 2: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.min_slice_percentage:type_name -> google.protobuf.Int32Value + 9, // 1: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.max_slices_per_chart:type_name -> google.protobuf.Int32Value + 9, // 2: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.min_slice_percentage:type_name -> google.protobuf.Int32Value 3, // 3: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.stack_definition:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition 4, // 4: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.label_definition:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition - 9, // 5: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.show_legend:type_name -> google.protobuf.BoolValue - 10, // 6: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.group_name_template:type_name -> google.protobuf.StringValue - 11, // 7: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - 10, // 8: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.color_scheme:type_name -> google.protobuf.StringValue - 12, // 9: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType + 10, // 5: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.show_legend:type_name -> google.protobuf.BoolValue + 11, // 6: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.group_name_template:type_name -> google.protobuf.StringValue + 12, // 7: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit + 11, // 8: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.color_scheme:type_name -> google.protobuf.StringValue + 13, // 9: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType 5, // 10: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery 6, // 11: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery 7, // 12: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery - 8, // 13: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition.max_slices_per_stack:type_name -> google.protobuf.Int32Value - 10, // 14: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition.stack_name_template:type_name -> google.protobuf.StringValue - 0, // 15: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.label_source:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelSource - 9, // 16: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.is_visible:type_name -> google.protobuf.BoolValue - 9, // 17: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_name:type_name -> google.protobuf.BoolValue - 9, // 18: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_value:type_name -> google.protobuf.BoolValue - 9, // 19: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_percentage:type_name -> google.protobuf.BoolValue - 13, // 20: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 14, // 21: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 15, // 22: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 10, // 23: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.group_names:type_name -> google.protobuf.StringValue - 10, // 24: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 16, // 25: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.group_names_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 16, // 26: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.stacked_group_name_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 13, // 27: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 17, // 28: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 18, // 29: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 19, // 30: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.group_names:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 19, // 31: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.stacked_group_name:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 20, // 32: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 21, // 33: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 10, // 34: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.group_names:type_name -> google.protobuf.StringValue - 10, // 35: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 36, // [36:36] is the sub-list for method output_type - 36, // [36:36] is the sub-list for method input_type - 36, // [36:36] is the sub-list for extension type_name - 36, // [36:36] is the sub-list for extension extendee - 0, // [0:36] is the sub-list for field type_name + 8, // 13: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery + 9, // 14: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition.max_slices_per_stack:type_name -> google.protobuf.Int32Value + 11, // 15: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition.stack_name_template:type_name -> google.protobuf.StringValue + 0, // 16: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.label_source:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelSource + 10, // 17: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.is_visible:type_name -> google.protobuf.BoolValue + 10, // 18: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_name:type_name -> google.protobuf.BoolValue + 10, // 19: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_value:type_name -> google.protobuf.BoolValue + 10, // 20: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_percentage:type_name -> google.protobuf.BoolValue + 14, // 21: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery + 15, // 22: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation + 16, // 23: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter + 11, // 24: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.group_names:type_name -> google.protobuf.StringValue + 11, // 25: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.stacked_group_name:type_name -> google.protobuf.StringValue + 17, // 26: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.group_names_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 17, // 27: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.stacked_group_name_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 14, // 28: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery + 18, // 29: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation + 19, // 30: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter + 20, // 31: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.group_names:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 20, // 32: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.stacked_group_name:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 21, // 33: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery + 22, // 34: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter + 11, // 35: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.group_names:type_name -> google.protobuf.StringValue + 11, // 36: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.stacked_group_name:type_name -> google.protobuf.StringValue + 23, // 37: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 24, // 38: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source + 11, // 39: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.group_names:type_name -> google.protobuf.StringValue + 11, // 40: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.stacked_group_name:type_name -> google.protobuf.StringValue + 41, // [41:41] is the sub-list for method output_type + 41, // [41:41] is the sub-list for method input_type + 41, // [41:41] is the sub-list for extension type_name + 41, // [41:41] is the sub-list for extension extendee + 0, // [0:41] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_init() } @@ -1000,10 +1124,11 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_init() { } file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() + //file_com_coralogixapis_dashboards_v1_ast_widgets_common_queries_proto_init() file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_init() file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() + file_com_coralogixapis_dashboards_v1_common_query_proto_init() file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_init() if !protoimpl.UnsafeEnabled { @@ -1091,11 +1216,24 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_init() { return nil } } + file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PieChart_DataprimeQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[1].OneofWrappers = []interface{}{ (*PieChart_Query_Logs)(nil), (*PieChart_Query_Spans)(nil), (*PieChart_Query_Metrics)(nil), + (*PieChart_Query_Dataprime)(nil), } type x struct{} out := protoimpl.TypeBuilder{ @@ -1103,7 +1241,7 @@ func file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDesc, NumEnums: 1, - NumMessages: 7, + NumMessages: 8, NumExtensions: 0, NumServices: 0, }, diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/query.pb.go b/coralogix/clientset/grpc/dashboards/query.pb.go similarity index 58% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/query.pb.go rename to coralogix/clientset/grpc/dashboards/query.pb.go index 5dd8ea18..336f306f 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/query.pb.go +++ b/coralogix/clientset/grpc/dashboards/query.pb.go @@ -9,6 +9,7 @@ package __ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" sync "sync" ) @@ -114,6 +115,100 @@ func (x *SerializedDataprimeQuery) GetData() []byte { return nil } +type PromQlQuery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *PromQlQuery) Reset() { + *x = PromQlQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PromQlQuery) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PromQlQuery) ProtoMessage() {} + +func (x *PromQlQuery) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PromQlQuery.ProtoReflect.Descriptor instead. +func (*PromQlQuery) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{2} +} + +func (x *PromQlQuery) GetValue() *wrapperspb.StringValue { + if x != nil { + return x.Value + } + return nil +} + +type LuceneQuery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *LuceneQuery) Reset() { + *x = LuceneQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LuceneQuery) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LuceneQuery) ProtoMessage() {} + +func (x *LuceneQuery) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LuceneQuery.ProtoReflect.Descriptor instead. +func (*LuceneQuery) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{3} +} + +func (x *LuceneQuery) GetValue() *wrapperspb.StringValue { + if x != nil { + return x.Value + } + return nil +} + var File_com_coralogixapis_dashboards_v1_common_query_proto protoreflect.FileDescriptor var file_com_coralogixapis_dashboards_v1_common_query_proto_rawDesc = []byte{ @@ -122,13 +217,24 @@ var file_com_coralogixapis_dashboards_v1_common_query_proto_rawDesc = []byte{ 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x24, 0x0a, 0x0e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, + 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x24, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x2e, 0x0a, 0x18, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x61, 0x22, 0x41, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, 0x0a, 0x0b, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -143,17 +249,22 @@ func file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP() []byt return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescData } -var file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_com_coralogixapis_dashboards_v1_common_query_proto_goTypes = []interface{}{ (*DataprimeQuery)(nil), // 0: com.coralogixapis.dashboards.v1.common.DataprimeQuery (*SerializedDataprimeQuery)(nil), // 1: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + (*PromQlQuery)(nil), // 2: com.coralogixapis.dashboards.v1.common.PromQlQuery + (*LuceneQuery)(nil), // 3: com.coralogixapis.dashboards.v1.common.LuceneQuery + (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue } var file_com_coralogixapis_dashboards_v1_common_query_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name + 4, // 0: com.coralogixapis.dashboards.v1.common.PromQlQuery.value:type_name -> google.protobuf.StringValue + 4, // 1: com.coralogixapis.dashboards.v1.common.LuceneQuery.value:type_name -> google.protobuf.StringValue + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_common_query_proto_init() } @@ -186,6 +297,30 @@ func file_com_coralogixapis_dashboards_v1_common_query_proto_init() { return nil } } + file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PromQlQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LuceneQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -193,7 +328,7 @@ func file_com_coralogixapis_dashboards_v1_common_query_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_com_coralogixapis_dashboards_v1_common_query_proto_rawDesc, NumEnums: 0, - NumMessages: 2, + NumMessages: 4, NumExtensions: 0, NumServices: 0, }, diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/scale.pb.go b/coralogix/clientset/grpc/dashboards/scale.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/scale.pb.go rename to coralogix/clientset/grpc/dashboards/scale.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/sort_by.pb.go b/coralogix/clientset/grpc/dashboards/sort_by.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/sort_by.pb.go rename to coralogix/clientset/grpc/dashboards/sort_by.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/span_field.pb.go b/coralogix/clientset/grpc/dashboards/span_field.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/span_field.pb.go rename to coralogix/clientset/grpc/dashboards/span_field.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/spans_aggregation.pb.go b/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/spans_aggregation.pb.go rename to coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/spans_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/spans_data_source_service.pb.go similarity index 94% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/spans_data_source_service.pb.go rename to coralogix/clientset/grpc/dashboards/spans_data_source_service.pb.go index ac07e84b..b002cf73 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/spans_data_source_service.pb.go +++ b/coralogix/clientset/grpc/dashboards/spans_data_source_service.pb.go @@ -7,14 +7,13 @@ package __ import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + sync "sync" ) const ( @@ -29,13 +28,13 @@ type SearchSpansTimeSeriesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - GroupBy []*SpanField `protobuf:"bytes,5,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Aggregations []*SpansAggregation `protobuf:"bytes,6,rep,name=aggregations,proto3" json:"aggregations,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=limit,proto3" json:"limit,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` + Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` + LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + GroupBy []*SpanField `protobuf:"bytes,5,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + Aggregations []*SpansAggregation `protobuf:"bytes,6,rep,name=aggregations,proto3" json:"aggregations,omitempty"` + Limit *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=limit,proto3" json:"limit,omitempty"` } func (x *SearchSpansTimeSeriesRequest) Reset() { @@ -124,7 +123,7 @@ type SearchSpansTimeSeriesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` + TimeSeries []*TimeSeries `protobuf:"bytes,1,rep,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"` Total *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=total,proto3" json:"total,omitempty"` } @@ -179,8 +178,8 @@ type SearchSpansEventsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` Pagination *SearchSpansEventsRequest_Pagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -305,12 +304,12 @@ type SearchSpansEventGroupsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - GroupByFields []*SpanField `protobuf:"bytes,4,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` - Aggregations []*SpansAggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"` - Pagination *Pagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + GroupByFields []*SpanField `protobuf:"bytes,4,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` + Aggregations []*SpansAggregation `protobuf:"bytes,5,rep,name=aggregations,proto3" json:"aggregations,omitempty"` + Pagination *Pagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (x *SearchSpansEventGroupsRequest) Reset() { @@ -439,10 +438,10 @@ type SearchGroupedSpansSeriesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - GroupByFields []*SpanField `protobuf:"bytes,3,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + GroupByFields []*SpanField `protobuf:"bytes,3,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` + Aggregation *SpansAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` Limits []*SearchGroupedSpansSeriesRequest_Limit `protobuf:"bytes,6,rep,name=limits,proto3" json:"limits,omitempty"` } @@ -573,10 +572,10 @@ type SearchSpansGroupedTimeSeriesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` + Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` + Aggregation *SpansAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` GroupBy []*SearchSpansGroupedTimeSeriesRequest_GroupBy `protobuf:"bytes,6,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` } @@ -818,10 +817,10 @@ type SearchSpansTimeValueRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` + TimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` + Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` + LuceneQuery *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + Aggregation *SpansAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` } func (x *SearchSpansTimeValueRequest) Reset() { @@ -991,7 +990,7 @@ type SearchGroupedSpansSeriesRequest_Limit struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GroupByFields []*SpanField `protobuf:"bytes,1,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` + GroupByFields []*SpanField `protobuf:"bytes,1,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` MinPercentage *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=min_percentage,json=minPercentage,proto3" json:"min_percentage,omitempty"` } @@ -1054,7 +1053,7 @@ type SearchSpansGroupedTimeSeriesRequest_GroupBy struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Fields []*SpanField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` + Fields []*SpanField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` MinPercentage *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=min_percentage,json=minPercentage,proto3" json:"min_percentage,omitempty"` } @@ -1763,10 +1762,8 @@ var file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_prot 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0xba, 0xb8, 0x02, 0x1f, 0x0a, 0x1d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x61, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x2a, 0x5a, 0x28, - 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, + 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1803,58 +1800,58 @@ var file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_prot (*SpansEvent_Tag)(nil), // 17: com.coralogixapis.dashboards.v1.services.SpansEvent.Tag (*SpansEvent_Log)(nil), // 18: com.coralogixapis.dashboards.v1.services.SpansEvent.Log nil, // 19: com.coralogixapis.dashboards.v1.services.SpansEvent.Log.FieldsEntry - (*TimeFrame)(nil), // 20: com.coralogixapis.dashboards.v1.TimeFrame + (*TimeFrame)(nil), // 20: com.coralogixapis.dashboards.v1.common.TimeFrame (*durationpb.Duration)(nil), // 21: google.protobuf.Duration - (*Filter_SpansFilter)(nil), // 22: com.coralogixapis.dashboards.v1.Filter.SpansFilter + (*Filter_SpansFilter)(nil), // 22: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter (*wrapperspb.StringValue)(nil), // 23: google.protobuf.StringValue - (*SpanField)(nil), // 24: com.coralogixapis.dashboards.v1.SpanField - (*SpansAggregation)(nil), // 25: com.coralogixapis.dashboards.v1.SpansAggregation + (*SpanField)(nil), // 24: com.coralogixapis.dashboards.v1.common.SpanField + (*SpansAggregation)(nil), // 25: com.coralogixapis.dashboards.v1.common.SpansAggregation (*wrapperspb.Int32Value)(nil), // 26: google.protobuf.Int32Value - (*TimeSeries)(nil), // 27: com.coralogixapis.dashboards.v1.TimeSeries + (*TimeSeries)(nil), // 27: com.coralogixapis.dashboards.v1.common.TimeSeries (*wrapperspb.Int64Value)(nil), // 28: google.protobuf.Int64Value - (*Pagination)(nil), // 29: com.coralogixapis.dashboards.v1.Pagination - (*MultiGroup)(nil), // 30: com.coralogixapis.dashboards.v1.MultiGroup - (*GroupedSeries)(nil), // 31: com.coralogixapis.dashboards.v1.GroupedSeries + (*Pagination)(nil), // 29: com.coralogixapis.dashboards.v1.common.Pagination + (*MultiGroup)(nil), // 30: com.coralogixapis.dashboards.v1.common.MultiGroup + (*GroupedSeries)(nil), // 31: com.coralogixapis.dashboards.v1.common.GroupedSeries (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp (*wrapperspb.DoubleValue)(nil), // 33: google.protobuf.DoubleValue } var file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_depIdxs = []int32{ - 20, // 0: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame + 20, // 0: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame 21, // 1: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 22, // 2: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.SpansFilter + 22, // 2: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter 23, // 3: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 24, // 4: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.SpanField - 25, // 5: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.SpansAggregation + 24, // 4: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 25, // 5: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation 26, // 6: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value - 27, // 7: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.TimeSeries + 27, // 7: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries 28, // 8: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value - 20, // 9: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 22, // 10: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.SpansFilter + 20, // 9: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 22, // 10: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter 23, // 11: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.lucene_query:type_name -> google.protobuf.StringValue 13, // 12: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.Pagination 28, // 13: com.coralogixapis.dashboards.v1.services.SearchSpansEventsResponse.total:type_name -> google.protobuf.Int64Value 10, // 14: com.coralogixapis.dashboards.v1.services.SearchSpansEventsResponse.spans_events:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent - 20, // 15: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 22, // 16: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.SpansFilter + 20, // 15: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 22, // 16: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter 23, // 17: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.lucene_query:type_name -> google.protobuf.StringValue - 24, // 18: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.SpanField - 25, // 19: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.SpansAggregation - 29, // 20: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.Pagination - 30, // 21: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.MultiGroup - 20, // 22: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 22, // 23: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.SpansFilter - 24, // 24: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.SpanField - 25, // 25: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.SpansAggregation + 24, // 18: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 25, // 19: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation + 29, // 20: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination + 30, // 21: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup + 20, // 22: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 22, // 23: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter + 24, // 24: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 25, // 25: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation 23, // 26: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue 14, // 27: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit - 31, // 28: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.GroupedSeries - 20, // 29: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame + 31, // 28: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries + 20, // 29: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame 21, // 30: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 22, // 31: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.SpansFilter - 25, // 32: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.SpansAggregation + 22, // 31: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter + 25, // 32: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation 23, // 33: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue 15, // 34: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy - 31, // 35: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.GroupedSeries + 31, // 35: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries 23, // 36: com.coralogixapis.dashboards.v1.services.SpansEvent.span_id:type_name -> google.protobuf.StringValue 23, // 37: com.coralogixapis.dashboards.v1.services.SpansEvent.trace_id:type_name -> google.protobuf.StringValue 23, // 38: com.coralogixapis.dashboards.v1.services.SpansEvent.parent_span_id:type_name -> google.protobuf.StringValue @@ -1864,17 +1861,17 @@ var file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_prot 17, // 42: com.coralogixapis.dashboards.v1.services.SpansEvent.tags:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Tag 17, // 43: com.coralogixapis.dashboards.v1.services.SpansEvent.process_tags:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Tag 18, // 44: com.coralogixapis.dashboards.v1.services.SpansEvent.logs:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Log - 20, // 45: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.TimeFrame - 22, // 46: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.filters:type_name -> com.coralogixapis.dashboards.v1.Filter.SpansFilter + 20, // 45: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 22, // 46: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter 23, // 47: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.lucene_query:type_name -> google.protobuf.StringValue - 25, // 48: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.SpansAggregation + 25, // 48: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation 33, // 49: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueResponse.value:type_name -> google.protobuf.DoubleValue 26, // 50: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.Pagination.offset:type_name -> google.protobuf.Int32Value 26, // 51: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.Pagination.limit:type_name -> google.protobuf.Int32Value - 24, // 52: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.SpanField + 24, // 52: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField 26, // 53: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit.limit:type_name -> google.protobuf.Int32Value 26, // 54: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit.min_percentage:type_name -> google.protobuf.Int32Value - 24, // 55: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy.fields:type_name -> com.coralogixapis.dashboards.v1.SpanField + 24, // 55: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy.fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField 26, // 56: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy.limit:type_name -> google.protobuf.Int32Value 26, // 57: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy.min_percentage:type_name -> google.protobuf.Int32Value 23, // 58: com.coralogixapis.dashboards.v1.services.SpansEvent.Metadata.application_name:type_name -> google.protobuf.StringValue @@ -1910,6 +1907,15 @@ func file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_pro if File_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto != nil { return } + file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() + file_com_coralogixapis_dashboards_v1_audit_log_proto_init() + file_com_coralogixapis_dashboards_v1_common_group_proto_init() + file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_init() + file_com_coralogixapis_dashboards_v1_common_pagination_proto_init() + file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() + file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() + file_com_coralogixapis_dashboards_v1_common_time_series_proto_init() if !protoimpl.UnsafeEnabled { file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchSpansTimeSeriesRequest); i { diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/spans_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/spans_data_source_service_grpc.pb.go similarity index 99% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/spans_data_source_service_grpc.pb.go rename to coralogix/clientset/grpc/dashboards/spans_data_source_service_grpc.pb.go index 980a0d22..c0642e6f 100644 --- a/coralogix/clientset/grpc/coralogix-dashboards/v1/spans_data_source_service_grpc.pb.go +++ b/coralogix/clientset/grpc/dashboards/spans_data_source_service_grpc.pb.go @@ -8,7 +8,6 @@ package __ import ( context "context" - grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/time_frame.pb.go b/coralogix/clientset/grpc/dashboards/time_frame.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/time_frame.pb.go rename to coralogix/clientset/grpc/dashboards/time_frame.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/time_series.pb.go b/coralogix/clientset/grpc/dashboards/time_series.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/time_series.pb.go rename to coralogix/clientset/grpc/dashboards/time_series.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/types.pb.go b/coralogix/clientset/grpc/dashboards/types.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/types.pb.go rename to coralogix/clientset/grpc/dashboards/types.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/units.pb.go b/coralogix/clientset/grpc/dashboards/units.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/units.pb.go rename to coralogix/clientset/grpc/dashboards/units.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/variable.pb.go b/coralogix/clientset/grpc/dashboards/variable.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/variable.pb.go rename to coralogix/clientset/grpc/dashboards/variable.pb.go diff --git a/coralogix/clientset/grpc/coralogix-dashboards/v1/widget.pb.go b/coralogix/clientset/grpc/dashboards/widget.pb.go similarity index 100% rename from coralogix/clientset/grpc/coralogix-dashboards/v1/widget.pb.go rename to coralogix/clientset/grpc/dashboards/widget.pb.go diff --git a/coralogix/data_source_coralogix_dashboard.go b/coralogix/data_source_coralogix_dashboard.go index 7dc74761..73342245 100644 --- a/coralogix/data_source_coralogix_dashboard.go +++ b/coralogix/data_source_coralogix_dashboard.go @@ -6,7 +6,7 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/coralogix-dashboards/v1" + dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" "google.golang.org/protobuf/encoding/protojson" diff --git a/coralogix/data_source_coralogix_dashboards_folder.go b/coralogix/data_source_coralogix_dashboards_folder.go new file mode 100644 index 00000000..ef6511b6 --- /dev/null +++ b/coralogix/data_source_coralogix_dashboards_folder.go @@ -0,0 +1,94 @@ +package coralogix + +import ( + "context" + "fmt" + "log" + + dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" + + "google.golang.org/protobuf/encoding/protojson" + + "terraform-provider-coralogix/coralogix/clientset" + + "github.com/hashicorp/terraform-plugin-framework/datasource" + "github.com/hashicorp/terraform-plugin-framework/resource" +) + +var _ datasource.DataSourceWithConfigure = &DashboardsFolderDataSource{} + +func NewDashboardsFoldersDataSource() datasource.DataSource { + return &DashboardsFolderDataSource{} +} + +type DashboardsFolderDataSource struct { + client *clientset.DashboardsFoldersClient +} + +func (d *DashboardsFolderDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { + resp.TypeName = req.ProviderTypeName + "_dashboards_folder" +} + +func (d *DashboardsFolderDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse) { + if req.ProviderData == nil { + return + } + + clientSet, ok := req.ProviderData.(*clientset.ClientSet) + if !ok { + resp.Diagnostics.AddError( + "Unexpected Resource Configure Type", + fmt.Sprintf("Expected *clientset.ClientSet, got: %T. Please report this issue to the provider developers.", req.ProviderData), + ) + return + } + + d.client = clientSet.DashboardsFolders() +} + +func (d *DashboardsFolderDataSource) Schema(ctx context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse) { + var r DashboardsFolderResource + var resourceResp resource.SchemaResponse + r.Schema(ctx, resource.SchemaRequest{}, &resourceResp) + + resp.Schema = frameworkDatasourceSchemaFromFrameworkResourceSchema(resourceResp.Schema) +} + +func (d *DashboardsFolderDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) { + var data *DashboardsFolderResourceModel + resp.Diagnostics.Append(req.Config.Get(ctx, &data)...) + if resp.Diagnostics.HasError() { + return + } + + //Get refreshed dashboards-folder value from Coralogix + log.Print("[INFO] Reading dashboards-folders") + getDashboardsFolders, err := d.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + resp.Diagnostics.AddError( + "Error listing dashboards-folders", + formatRpcErrors(err, getDashboardURL, protojson.Format(&dashboards.ListDashboardFoldersRequest{})), + ) + + return + } + log.Printf("[INFO] Received dashboards-folders: %s", protojson.Format(getDashboardsFolders)) + var dashboardsFolder *dashboards.DashboardFolder + for _, folder := range getDashboardsFolders.GetFolder() { + if folder.GetId().GetValue() == data.ID.ValueString() { + dashboardsFolder = folder + break + } + } + if dashboardsFolder == nil { + log.Printf("[ERROR] Could not find created folder with id: %s", data.ID.ValueString()) + resp.Diagnostics.AddError( + "Error reading dashboards-folders", + fmt.Sprintf("Could not find created folder with id: %s", data.ID.ValueString()), + ) + } + + // Save data into Terraform state + resp.Diagnostics.Append(resp.State.Set(ctx, &data)...) +} diff --git a/coralogix/data_source_coralogix_dashboards_folder_test.go b/coralogix/data_source_coralogix_dashboards_folder_test.go new file mode 100644 index 00000000..f88891b9 --- /dev/null +++ b/coralogix/data_source_coralogix_dashboards_folder_test.go @@ -0,0 +1,32 @@ +package coralogix + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +var dashboardsFolderDataSourceName = "data." + dashboardsFolderResourceName + +func TestAccCoralogixDataSourceDashboardsFolder_basic(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceDashboardsFolder() + + testAccCoralogixDataSourceDashboardsFolder_read(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttrSet(dashboardsFolderDataSourceName, "id"), + ), + }, + }, + }) +} + +func testAccCoralogixDataSourceDashboardsFolder_read() string { + return `data "coralogix_dashboards_folder" "test" { + id = coralogix_dashboards_folder.test.id + } +` +} diff --git a/coralogix/provider.go b/coralogix/provider.go index 0b4107d3..3236331b 100644 --- a/coralogix/provider.go +++ b/coralogix/provider.go @@ -334,6 +334,7 @@ func (p *coralogixProvider) DataSources(context.Context) []func() datasource.Dat NewArchiveLogsDataSource, NewAlertsSchedulerDataSource, NewSLODataSource, + NewDashboardsFoldersDataSource, } } @@ -354,5 +355,6 @@ func (p *coralogixProvider) Resources(context.Context) []func() resource.Resourc NewTeamResource, NewMovingQuotaResource, NewSLOResource, + NewDashboardsFolderResource, } } diff --git a/coralogix/resource_coralogix_dashboard.go b/coralogix/resource_coralogix_dashboard.go index 288d7b84..1192fce6 100644 --- a/coralogix/resource_coralogix_dashboard.go +++ b/coralogix/resource_coralogix_dashboard.go @@ -8,15 +8,9 @@ import ( "strings" "time" + "github.com/google/uuid" "github.com/hashicorp/terraform-plugin-framework-validators/float64validator" "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/float64default" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/int64default" - "golang.org/x/exp/slices" - - "terraform-provider-coralogix/coralogix/clientset" - dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/coralogix-dashboards/v1" - "github.com/hashicorp/terraform-plugin-framework-validators/listvalidator" "github.com/hashicorp/terraform-plugin-framework-validators/objectvalidator" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" @@ -26,18 +20,23 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/float64default" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/int64default" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringdefault" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "golang.org/x/exp/slices" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/types/known/durationpb" "google.golang.org/protobuf/types/known/timestamppb" "google.golang.org/protobuf/types/known/wrapperspb" + "terraform-provider-coralogix/coralogix/clientset" + dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" ) var ( @@ -61,9 +60,9 @@ var ( dashboardLegendColumnProtoToSchema = ReverseMap(dashboardLegendColumnSchemaToProto) dashboardValidLegendColumns = GetKeys(dashboardLegendColumnSchemaToProto) dashboardOrderDirectionSchemaToProto = map[string]dashboards.OrderDirection{ - "unspecified": dashboards.OrderDirection_ORDER_DIRECTION_UNSPECIFIED, - "asc": dashboards.OrderDirection_ORDER_DIRECTION_ASC, - "desc": dashboards.OrderDirection_ORDER_DIRECTION_DESC, + //"unspecified": dashboards.OrderDirection_ORDER_DIRECTION_UNSPECIFIED, + "asc": dashboards.OrderDirection_ORDER_DIRECTION_ASC, + "desc": dashboards.OrderDirection_ORDER_DIRECTION_DESC, } dashboardOrderDirectionProtoToSchema = ReverseMap(dashboardOrderDirectionSchemaToProto) dashboardValidOrderDirections = GetKeys(dashboardOrderDirectionSchemaToProto) @@ -208,10 +207,10 @@ var ( dashboardValidSpanFieldTypes = []string{"metadata", "tag", "process_tag"} dashboardValidSpanAggregationTypes = []string{"metric", "dimension"} dashboardValidColorSchemes = []string{"classic", "severity", "cold", "negative", "green", "red", "blue"} - createDashboardURL = "com.coralogixapis.dashboards.v1.services.DashboardsService/CreateDashboard" - getDashboardURL = "com.coralogixapis.dashboards.v1.services.DashboardsService/GetDashboard" - updateDashboardURL = "com.coralogixapis.dashboards.v1.services.DashboardsService/ReplaceDashboard" - deleteDashboardURL = "com.coralogixapis.dashboards.v1.services.DashboardsService/DeleteDashboard" + createDashboardURL = "com.coralogixapis.dashboards.dashboards.services.DashboardsService/CreateDashboard" + getDashboardURL = "com.coralogixapis.dashboards.dashboards.services.DashboardsService/GetDashboard" + updateDashboardURL = "com.coralogixapis.dashboards.dashboards.services.DashboardsService/ReplaceDashboard" + deleteDashboardURL = "com.coralogixapis.dashboards.dashboards.services.DashboardsService/DeleteDashboard" ) var ( @@ -221,14 +220,16 @@ var ( ) type DashboardResourceModel struct { - ID types.String `tfsdk:"id"` - Name types.String `tfsdk:"name"` - Description types.String `tfsdk:"description"` - Layout *DashboardLayoutModel `tfsdk:"layout"` - Variables types.List `tfsdk:"variables"` //DashboardVariableModel - Filters types.List `tfsdk:"filters"` //DashboardFilterModel - TimeFrame *DashboardTimeFrameModel `tfsdk:"time_frame"` - ContentJson types.String `tfsdk:"content_json"` + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + Description types.String `tfsdk:"description"` + Layout types.Object `tfsdk:"layout"` //DashboardLayoutModel + Variables types.List `tfsdk:"variables"` //DashboardVariableModel + Filters types.List `tfsdk:"filters"` //DashboardFilterModel + TimeFrame types.Object `tfsdk:"time_frame"` //DashboardTimeFrameModel + Folder types.Object `tfsdk:"folder"` //DashboardFolderModel + Annotations types.List `tfsdk:"annotations"` //DashboardAnnotationModel + ContentJson types.String `tfsdk:"content_json"` } type DashboardLayoutModel struct { @@ -497,9 +498,10 @@ type PieChartStackDefinitionModel struct { } type PieChartQueryModel struct { - Logs *PieChartQueryLogsModel `tfsdk:"logs"` - Metrics *PieChartQueryMetricsModel `tfsdk:"metrics"` - Spans *PieChartQuerySpansModel `tfsdk:"spans"` + Logs *PieChartQueryLogsModel `tfsdk:"logs"` + Metrics *PieChartQueryMetricsModel `tfsdk:"metrics"` + Spans *PieChartQuerySpansModel `tfsdk:"spans"` + DataPrime *PieChartQueryDataPrimeModel `tfsdk:"data_prime"` } type PieChartQueryLogsModel struct { @@ -527,6 +529,13 @@ type PieChartQuerySpansModel struct { StackedGroupName *SpansFieldModel `tfsdk:"stacked_group_name"` } +type PieChartQueryDataPrimeModel struct { + Query types.String `tfsdk:"query"` + Filters types.List `tfsdk:"filters"` //DashboardFilterSourceModel + GroupNames types.List `tfsdk:"group_names"` //types.String + StackedGroupName types.String `tfsdk:"stacked_group_name"` +} + type LabelDefinitionModel struct { LabelSource types.String `tfsdk:"label_source"` IsVisible types.Bool `tfsdk:"is_visible"` @@ -550,9 +559,10 @@ type BarChartModel struct { } type BarChartQueryModel struct { - Logs *BarChartQueryLogsModel `tfsdk:"logs"` - Metrics *BarChartQueryMetricsModel `tfsdk:"metrics"` - Spans *BarChartQuerySpansModel `tfsdk:"spans"` + Logs types.Object `tfsdk:"logs"` //BarChartQueryLogsModel + Metrics types.Object `tfsdk:"metrics"` //BarChartQueryMetricsModel + Spans types.Object `tfsdk:"spans"` //BarChartQuerySpansModel + DataPrime types.Object `tfsdk:"data_prime"` //BarChartQueryDataPrimeModel } type BarChartQueryLogsModel struct { @@ -585,6 +595,13 @@ type BarChartQuerySpansModel struct { StackedGroupName *SpansFieldModel `tfsdk:"stacked_group_name"` } +type BarChartQueryDataPrimeModel struct { + Query types.String `tfsdk:"query"` + Filters types.List `tfsdk:"filters"` //DashboardFilterSourceModel + GroupNames types.List `tfsdk:"group_names"` //types.String + StackedGroupName types.String `tfsdk:"stacked_group_name"` +} + type DataTableSpansAggregationModel struct { ID types.String `json:"id"` Name types.String `json:"name"` @@ -622,7 +639,7 @@ type MetricMultiSelectSourceModel struct { } type HorizontalBarChartModel struct { - Query *BarChartQueryModel `tfsdk:"query"` + Query *HorizontalBarChartQueryModel `tfsdk:"query"` MaxBarsPerChart types.Int64 `tfsdk:"max_bars_per_chart"` GroupNameTemplate types.String `tfsdk:"group_name_template"` StackDefinition *BarChartStackDefinitionModel `tfsdk:"stack_definition"` @@ -636,6 +653,12 @@ type HorizontalBarChartModel struct { DataModeType types.String `tfsdk:"data_mode_type"` } +type HorizontalBarChartQueryModel struct { + Logs types.Object `tfsdk:"logs"` //BarChartQueryLogsModel + Metrics types.Object `tfsdk:"metrics"` //BarChartQueryMetricsModel + Spans types.Object `tfsdk:"spans"` //BarChartQuerySpansModel +} + type MarkdownModel struct { MarkdownText types.String `tfsdk:"markdown_text"` TooltipText types.String `tfsdk:"tooltip_text"` @@ -702,6 +725,36 @@ type DashboardTimeFrameRelativeModel struct { Duration types.String `tfsdk:"duration"` } +type DashboardFolderModel struct { + ID types.String `tfsdk:"id"` + Path types.String `tfsdk:"path"` +} + +type DashboardAnnotationModel struct { + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + Enabled types.Bool `tfsdk:"enabled"` + Source types.Object `tfsdk:"source"` //DashboardAnnotationSourceModel +} + +type DashboardAnnotationSourceModel struct { + Metric types.Object `tfsdk:"metric"` //DashboardAnnotationMetricSourceModel +} + +type DashboardAnnotationMetricSourceModel struct { + PromqlQuery types.String `tfsdk:"promql_query"` + Strategy types.Object `tfsdk:"strategy"` //DashboardAnnotationMetricStrategyModel + MessageTemplate types.String `tfsdk:"message_template"` + Labels types.List `tfsdk:"labels"` //types.String +} + +type DashboardAnnotationMetricStrategyModel struct { + StartTime types.Object `tfsdk:"start_time"` //MetricStrategyStartTimeModel +} + +type MetricStrategyStartTimeModel struct { +} + func NewDashboardResource() resource.Resource { return &DashboardResource{} } @@ -738,7 +791,7 @@ func (i intervalValidator) ValidateString(ctx context.Context, req validator.Str } } -func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { +func (r *DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { resp.Schema = schema.Schema{ Version: 1, Attributes: map[string]schema.Attribute{ @@ -1409,6 +1462,7 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, objectvalidator.ExactlyOneOf( path.MatchRelative().AtParent().AtName("spans"), path.MatchRelative().AtParent().AtName("metrics"), + path.MatchRelative().AtParent().AtName("data_prime"), ), }, }, @@ -1427,6 +1481,7 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, objectvalidator.ExactlyOneOf( path.MatchRelative().AtParent().AtName("logs"), path.MatchRelative().AtParent().AtName("metrics"), + path.MatchRelative().AtParent().AtName("data_prime"), ), }, }, @@ -1449,6 +1504,35 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, objectvalidator.ExactlyOneOf( path.MatchRelative().AtParent().AtName("logs"), path.MatchRelative().AtParent().AtName("spans"), + path.MatchRelative().AtParent().AtName("data_prime"), + ), + }, + }, + "data_prime": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "query": schema.StringAttribute{ + Required: true, + }, + "filters": schema.ListNestedAttribute{ + NestedObject: schema.NestedAttributeObject{ + Attributes: filtersSourceAttribute(), + }, + Optional: true, + }, + "group_names": schema.ListAttribute{ + ElementType: types.StringType, + Optional: true, + }, + "stacked_group_name": schema.StringAttribute{ + Optional: true, + }, + }, + Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("logs"), + path.MatchRelative().AtParent().AtName("spans"), + path.MatchRelative().AtParent().AtName("metrics"), ), }, }, @@ -1577,6 +1661,13 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, }, }, Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("metrics"), + path.MatchRelative().AtParent().AtName("spans"), + path.MatchRelative().AtParent().AtName("data_prime"), + ), + }, }, "metrics": schema.SingleNestedAttribute{ Attributes: map[string]schema.Attribute{ @@ -1593,6 +1684,13 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, }, }, Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("logs"), + path.MatchRelative().AtParent().AtName("spans"), + path.MatchRelative().AtParent().AtName("data_prime"), + ), + }, }, "spans": schema.SingleNestedAttribute{ Attributes: map[string]schema.Attribute{ @@ -1605,6 +1703,41 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, "stacked_group_name": spansFieldSchema(), }, Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("logs"), + path.MatchRelative().AtParent().AtName("metrics"), + path.MatchRelative().AtParent().AtName("data_prime"), + ), + }, + }, + "data_prime": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "query": schema.StringAttribute{ + Required: true, + }, + "filters": schema.ListNestedAttribute{ + NestedObject: schema.NestedAttributeObject{ + Attributes: filtersSourceAttribute(), + }, + Optional: true, + }, + "group_names": schema.ListAttribute{ + ElementType: types.StringType, + Optional: true, + }, + "stacked_group_name": schema.StringAttribute{ + Optional: true, + }, + }, + Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("logs"), + path.MatchRelative().AtParent().AtName("metrics"), + path.MatchRelative().AtParent().AtName("spans"), + ), + }, }, }, Optional: true, @@ -1952,9 +2085,7 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, Optional: true, }, "values_order_direction": schema.StringAttribute{ - Optional: true, - Computed: true, - Default: stringdefault.StaticString("unspecified"), + Required: true, Validators: []validator.String{ stringvalidator.OneOf(dashboardValidOrderDirections...), }, @@ -2025,7 +2156,7 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, }, }, "display_name": schema.StringAttribute{ - Optional: true, + Required: true, }, }, }, @@ -2092,6 +2223,80 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, }, MarkdownDescription: "Specifies the time frame for the dashboard's data. Can be either absolute or relative.", }, + "folder": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("path"), + ), + }, + }, + "path": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("id"), + ), + }, + }, + }, + Optional: true, + }, + "annotations": schema.ListNestedAttribute{ + Optional: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + Optional: true, + Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + }, + "name": schema.StringAttribute{ + Required: true, + }, + "enabled": schema.BoolAttribute{ + Optional: true, + Computed: true, + Default: booldefault.StaticBool(true), + }, + "source": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "metric": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "promql_query": schema.StringAttribute{ + Optional: true, + }, + "strategy": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "start_time": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{}, + Required: true, + }, + }, + Required: true, + }, + "message_template": schema.StringAttribute{ + Optional: true, + }, + "labels": schema.ListAttribute{ + ElementType: types.StringType, + Optional: true, + }, + }, + Required: true, + }, + }, + Required: true, + }, + }, + }, + }, "content_json": schema.StringAttribute{ Optional: true, Validators: []validator.String{ @@ -2103,6 +2308,8 @@ func (r DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, path.MatchRelative().AtParent().AtName("variables"), path.MatchRelative().AtParent().AtName("filters"), path.MatchRelative().AtParent().AtName("time_frame"), + path.MatchRelative().AtParent().AtName("folder"), + path.MatchRelative().AtParent().AtName("annotations"), ), ContentJsonValidator{}, }, @@ -2527,11 +2734,11 @@ func spansAggregationAttributes() map[string]schema.Attribute { }, "aggregation_type": schema.StringAttribute{ Required: true, - MarkdownDescription: fmt.Sprintf("The type of the aggregation. When the aggregation type is `metrics`, can be one of %q. When When the aggregation type is `dimension`, can be one of %q.", dashboardValidSpansAggregationMetricAggregationTypes, dashboardValidSpansAggregationDimensionAggregationTypes), + MarkdownDescription: fmt.Sprintf("The type of the aggregation. When the aggregation type is `metrics`, can be one of %q. When the aggregation type is `dimension`, can be one of %q.", dashboardValidSpansAggregationMetricAggregationTypes, dashboardValidSpansAggregationDimensionAggregationTypes), }, "field": schema.StringAttribute{ Required: true, - MarkdownDescription: fmt.Sprintf("The field to aggregate on. When the aggregation type is `metrics`, can be one of %q. When When the aggregation type is `dimension`, can be one of %q.", dashboardValidSpansAggregationMetricFields, dashboardValidSpansAggregationDimensionFields), + MarkdownDescription: fmt.Sprintf("The field to aggregate on. When the aggregation type is `metrics`, can be one of %q. When the aggregation type is `dimension`, can be one of %q.", dashboardValidSpansAggregationMetricFields, dashboardValidSpansAggregationDimensionFields), }, } } @@ -2633,8 +2840,12 @@ func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*dashbo return nil, diags } - id := wrapperspb.String(expandDashboardUUID(plan.ID).GetValue()) + annotations, diags := expandDashboardAnnotations(ctx, plan.Annotations) + if diags.HasError() { + return nil, diags + } + id := wrapperspb.String(expand21LengthUUID(plan.ID).GetValue()) dashboard := &dashboards.Dashboard{ Id: id, Name: typeStringToWrapperspbString(plan.Name), @@ -2642,37 +2853,153 @@ func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*dashbo Layout: layout, Variables: variables, Filters: filters, + Annotations: annotations, } - dashboard, dgs := expandDashboardTimeFrame(ctx, dashboard, plan.TimeFrame) - if dgs.HasError() { - return nil, dgs + dashboard, diags = expandDashboardTimeFrame(ctx, dashboard, plan.TimeFrame) + if diags.HasError() { + return nil, diags + } + + dashboard, diags = expandDashboardFolder(dashboard, plan.Folder) + if diags.HasError() { + return nil, diags } return dashboard, nil } -func expandDashboardTimeFrame(ctx context.Context, dashboard *dashboards.Dashboard, timeFrame *DashboardTimeFrameModel) (*dashboards.Dashboard, diag.Diagnostics) { - if timeFrame == nil { +func expandDashboardAnnotations(ctx context.Context, annotations types.List) ([]*dashboards.Annotation, diag.Diagnostics) { + var annotationsObjects []types.Object + var expandedAnnotations []*dashboards.Annotation + diags := annotations.ElementsAs(ctx, &annotationsObjects, true) + if diags.HasError() { + return nil, diags + } + + for _, ao := range annotationsObjects { + var annotation DashboardAnnotationModel + if dg := ao.As(ctx, &annotation, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + expandedAnnotation, expandDiags := expandAnnotation(ctx, annotation) + if expandDiags.HasError() { + diags.Append(expandDiags...) + continue + } + expandedAnnotations = append(expandedAnnotations, expandedAnnotation) + } + + return expandedAnnotations, diags +} + +func expandAnnotation(ctx context.Context, annotation DashboardAnnotationModel) (*dashboards.Annotation, diag.Diagnostics) { + source, diags := expandAnnotationSource(ctx, annotation.Source) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation{ + Id: expandDashboardIDs(annotation.ID), + Name: typeStringToWrapperspbString(annotation.Name), + Enabled: typeBoolToWrapperspbBool(annotation.Enabled), + Source: source, + }, nil + +} + +func expandAnnotationSource(ctx context.Context, source types.Object) (*dashboards.Annotation_Source, diag.Diagnostics) { + if source.IsNull() || source.IsUnknown() { + return nil, nil + } + var sourceObject DashboardAnnotationSourceModel + diags := source.As(ctx, &sourceObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + metricSource, diags := expandMetricSource(ctx, sourceObject.Metric) + if diags.HasError() { + return nil, diags + } + return &dashboards.Annotation_Source{ + Value: metricSource, + }, nil +} + +func expandMetricSource(ctx context.Context, metric types.Object) (*dashboards.Annotation_Source_Metrics, diag.Diagnostics) { + if metric.IsNull() || metric.IsUnknown() { + return nil, nil + } + var metricObject DashboardAnnotationMetricSourceModel + diags := metric.As(ctx, &metricObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + strategy, diags := expandMetricSourceStrategy(ctx, metricObject.Strategy) + if diags.HasError() { + return nil, diags + } + + labels, diags := typeStringSliceToWrappedStringSlice(ctx, metricObject.Labels.Elements()) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_Source_Metrics{ + Metrics: &dashboards.Annotation_MetricsSource{ + PromqlQuery: expandPromqlQuery(metricObject.PromqlQuery), + Strategy: strategy, + MessageTemplate: typeStringToWrapperspbString(metricObject.MessageTemplate), + Labels: labels, + }, + }, nil +} + +func expandMetricSourceStrategy(ctx context.Context, strategy types.Object) (*dashboards.Annotation_MetricsSource_Strategy, diag.Diagnostics) { + var strategyObject DashboardAnnotationMetricStrategyModel + diags := strategy.As(ctx, &strategyObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_MetricsSource_Strategy{ + Value: &dashboards.Annotation_MetricsSource_Strategy_StartTimeMetric{ + StartTimeMetric: &dashboards.Annotation_MetricsSource_StartTimeMetric{}, + }, + }, nil +} + +func expandDashboardTimeFrame(ctx context.Context, dashboard *dashboards.Dashboard, timeFrame types.Object) (*dashboards.Dashboard, diag.Diagnostics) { + if timeFrame.IsNull() || timeFrame.IsUnknown() { return dashboard, nil } - var dg diag.Diagnostics + var timeFrameObject DashboardTimeFrameModel + diags := timeFrame.As(ctx, &timeFrameObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } switch { - case !(timeFrame.Relative.IsNull() || timeFrame.Relative.IsUnknown()): - dashboard.TimeFrame, dg = expandRelativeDashboardTimeFrame(ctx, timeFrame.Relative) - case !(timeFrame.Absolute.IsNull() || timeFrame.Absolute.IsUnknown()): - dashboard.TimeFrame, dg = expandAbsoluteDashboardTimeFrame(ctx, timeFrame.Absolute) + case !(timeFrameObject.Relative.IsNull() || timeFrameObject.Relative.IsUnknown()): + dashboard.TimeFrame, diags = expandRelativeDashboardTimeFrame(ctx, timeFrameObject.Relative) + case !(timeFrameObject.Absolute.IsNull() || timeFrameObject.Absolute.IsUnknown()): + dashboard.TimeFrame, diags = expandAbsoluteDashboardTimeFrame(ctx, timeFrameObject.Absolute) default: - dg = diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Time Frame", "Dashboard TimeFrame must be either Relative or Absolute")} + diags = diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Time Frame", "Dashboard TimeFrame must be either Relative or Absolute")} } - return dashboard, dg + return dashboard, diags } -func expandDashboardLayout(ctx context.Context, layout *DashboardLayoutModel) (*dashboards.Layout, diag.Diagnostics) { - if layout == nil { +func expandDashboardLayout(ctx context.Context, layout types.Object) (*dashboards.Layout, diag.Diagnostics) { + if layout.IsNull() || layout.IsUnknown() { return nil, nil } - sections, diags := expandDashboardSections(ctx, layout.Sections) + var layoutObject DashboardLayoutModel + if diags := layout.As(ctx, &layoutObject, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + sections, diags := expandDashboardSections(ctx, layoutObject.Sections) if diags.HasError() { return nil, diags } @@ -2682,11 +3009,12 @@ func expandDashboardLayout(ctx context.Context, layout *DashboardLayoutModel) (* } func expandDashboardSections(ctx context.Context, sections types.List) ([]*dashboards.Section, diag.Diagnostics) { - var diags diag.Diagnostics var sectionsObjects []types.Object var expandedSections []*dashboards.Section - sections.ElementsAs(ctx, §ionsObjects, true) - + diags := sections.ElementsAs(ctx, §ionsObjects, true) + if diags.HasError() { + return nil, diags + } for _, so := range sectionsObjects { var section SectionModel if dg := so.As(ctx, §ion, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -2718,11 +3046,12 @@ func expandSection(ctx context.Context, section SectionModel) (*dashboards.Secti } func expandDashboardRows(ctx context.Context, rows types.List) ([]*dashboards.Row, diag.Diagnostics) { - var diags diag.Diagnostics var rowsObjects []types.Object var expandedRows []*dashboards.Row - rows.ElementsAs(ctx, &rowsObjects, true) - + diags := rows.ElementsAs(ctx, &rowsObjects, true) + if diags.HasError() { + return nil, diags + } for _, ro := range rowsObjects { var row RowModel if dg := ro.As(ctx, &row, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -2758,11 +3087,12 @@ func expandRow(ctx context.Context, row RowModel) (*dashboards.Row, diag.Diagnos } func expandDashboardWidgets(ctx context.Context, widgets types.List) ([]*dashboards.Widget, diag.Diagnostics) { - var diags diag.Diagnostics var widgetsObjects []types.Object var expandedWidgets []*dashboards.Widget - widgets.ElementsAs(ctx, &widgetsObjects, true) - + diags := widgets.ElementsAs(ctx, &widgetsObjects, true) + if diags.HasError() { + return nil, diags + } for _, wo := range widgetsObjects { var widget WidgetModel if dg := wo.As(ctx, &widget, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -2884,7 +3214,7 @@ func expandYAxisViewBy(yAxisViewBy types.String) *dashboards.HorizontalBarChart_ func expandPieChart(ctx context.Context, pieChart *PieChartModel) (*dashboards.Widget_Definition, diag.Diagnostics) { var diags diag.Diagnostics - query, diags := expandDashboardQuery(ctx, pieChart.Query) + query, diags := expandPieChartQuery(ctx, pieChart.Query) if diags.HasError() { return nil, diags } @@ -2985,11 +3315,12 @@ func expandGauge(ctx context.Context, gauge *GaugeModel) (*dashboards.Widget_Def } func expandGaugeThresholds(ctx context.Context, gaugeThresholds types.List) ([]*dashboards.Gauge_Threshold, diag.Diagnostics) { - var diags diag.Diagnostics var gaugeThresholdsObjects []types.Object var expandedGaugeThresholds []*dashboards.Gauge_Threshold - gaugeThresholds.ElementsAs(ctx, &gaugeThresholdsObjects, true) - + diags := gaugeThresholds.ElementsAs(ctx, &gaugeThresholdsObjects, true) + if diags.HasError() { + return nil, diags + } for _, gto := range gaugeThresholdsObjects { var gaugeThreshold GaugeThresholdModel if dg := gto.As(ctx, &gaugeThreshold, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -3072,11 +3403,12 @@ func expandGaugeQuerySpans(ctx context.Context, gaugeQuerySpans *GaugeQuerySpans } func expandSpansAggregations(ctx context.Context, aggregations types.List) ([]*dashboards.SpansAggregation, diag.Diagnostics) { - var diags diag.Diagnostics var aggregationsObjects []types.Object var expandedAggregations []*dashboards.SpansAggregation - aggregations.ElementsAs(ctx, &aggregationsObjects, true) - + diags := aggregations.ElementsAs(ctx, &aggregationsObjects, true) + if diags.HasError() { + return nil, diags + } for _, ao := range aggregationsObjects { var aggregation SpansAggregationModel if dg := ao.As(ctx, &aggregation, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -3124,11 +3456,12 @@ func expandSpansAggregation(spansAggregation *SpansAggregationModel) (*dashboard } func expandSpansFilters(ctx context.Context, spansFilters types.List) ([]*dashboards.Filter_SpansFilter, diag.Diagnostics) { - var diags diag.Diagnostics var spansFiltersObjects []types.Object var expandedSpansFilters []*dashboards.Filter_SpansFilter - spansFilters.ElementsAs(ctx, &spansFiltersObjects, true) - + diags := spansFilters.ElementsAs(ctx, &spansFiltersObjects, true) + if diags.HasError() { + return nil, diags + } for _, sfo := range spansFiltersObjects { var spansFilter SpansFilterModel if dg := sfo.As(ctx, &spansFilter, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -3206,11 +3539,12 @@ func expandGaugeQueryMetrics(ctx context.Context, gaugeQueryMetrics *GaugeQueryM } func expandMetricsFilters(ctx context.Context, metricFilters types.List) ([]*dashboards.Filter_MetricsFilter, diag.Diagnostics) { - var diags diag.Diagnostics var metricFiltersObjects []types.Object var expandedMetricFilters []*dashboards.Filter_MetricsFilter - metricFilters.ElementsAs(ctx, &metricFiltersObjects, true) - + diags := metricFilters.ElementsAs(ctx, &metricFiltersObjects, true) + if diags.HasError() { + return nil, diags + } for _, mfo := range metricFiltersObjects { var metricsFilter MetricsFilterModel if dg := mfo.As(ctx, &metricsFilter, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -3332,11 +3666,12 @@ func expandLuceneQuery(luceneQuery types.String) *dashboards.LuceneQuery { } func expandLogsAggregations(ctx context.Context, logsAggregations types.List) ([]*dashboards.LogsAggregation, diag.Diagnostics) { - var diags diag.Diagnostics var logsAggregationsObjects []types.Object var expandedLogsAggregations []*dashboards.LogsAggregation - logsAggregations.ElementsAs(ctx, &logsAggregationsObjects, true) - + diags := logsAggregations.ElementsAs(ctx, &logsAggregationsObjects, true) + if diags.HasError() { + return nil, diags + } for _, qdo := range logsAggregationsObjects { var aggregation LogsAggregationModel if dg := qdo.As(ctx, &aggregation, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -3450,10 +3785,12 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation } func expandLogsFilters(ctx context.Context, logsFilters types.List) ([]*dashboards.Filter_LogsFilter, diag.Diagnostics) { - var diags diag.Diagnostics var filtersObjects []types.Object var expandedFilters []*dashboards.Filter_LogsFilter - logsFilters.ElementsAs(ctx, &filtersObjects, true) + diags := logsFilters.ElementsAs(ctx, &filtersObjects, true) + if diags.HasError() { + return nil, diags + } for _, fo := range filtersObjects { var filter LogsFilterModel @@ -3581,7 +3918,7 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb return nil, nil } switch { - case query.Logs != nil: + case !(query.Logs.IsNull() || query.Logs.IsUnknown()): logsQuery, diags := expandBarChartLogsQuery(ctx, query.Logs) if diags.HasError() { return nil, diags @@ -3591,7 +3928,7 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb Logs: logsQuery, }, }, nil - case query.Metrics != nil: + case !(query.Metrics.IsNull() || query.Metrics.IsUnknown()): metricsQuery, diags := expandBarChartMetricsQuery(ctx, query.Metrics) if diags.HasError() { return nil, diags @@ -3601,7 +3938,7 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb Metrics: metricsQuery, }, }, nil - case query.Spans != nil: + case !(query.Spans.IsNull() || query.Spans.IsUnknown()): spansQuery, diags := expandBarChartSpansQuery(ctx, query.Spans) if diags.HasError() { return nil, diags @@ -3611,17 +3948,27 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb Spans: spansQuery, }, }, nil + case !(query.DataPrime.IsNull() || query.DataPrime.IsUnknown()): + dataPrimeQuery, diags := expandBarChartDataPrimeQuery(ctx, query.DataPrime) + if diags.HasError() { + return nil, diags + } + return &dashboards.BarChart_Query{ + Value: &dashboards.BarChart_Query_Dataprime{ + Dataprime: dataPrimeQuery, + }, + }, nil default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error expand bar chart query", "unknown bar chart query type")} } } -func expandHorizontalBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashboards.HorizontalBarChart_Query, diag.Diagnostics) { +func expandHorizontalBarChartQuery(ctx context.Context, query *HorizontalBarChartQueryModel) (*dashboards.HorizontalBarChart_Query, diag.Diagnostics) { if query == nil { return nil, nil } switch { - case query.Logs != nil: + case !(query.Logs.IsNull() || query.Logs.IsUnknown()): logsQuery, diags := expandHorizontalBarChartLogsQuery(ctx, query.Logs) if diags.HasError() { return nil, diags @@ -3631,7 +3978,7 @@ func expandHorizontalBarChartQuery(ctx context.Context, query *BarChartQueryMode Logs: logsQuery, }, }, nil - case query.Metrics != nil: + case !(query.Metrics.IsNull() || query.Metrics.IsUnknown()): metricsQuery, diags := expandHorizontalBarChartMetricsQuery(ctx, query.Metrics) if diags.HasError() { return nil, diags @@ -3641,7 +3988,7 @@ func expandHorizontalBarChartQuery(ctx context.Context, query *BarChartQueryMode Metrics: metricsQuery, }, }, nil - case query.Spans != nil: + case !(query.Spans.IsNull() || query.Spans.IsUnknown()): spansQuery, diags := expandHorizontalBarChartSpansQuery(ctx, query.Spans) if diags.HasError() { return nil, diags @@ -3656,85 +4003,103 @@ func expandHorizontalBarChartQuery(ctx context.Context, query *BarChartQueryMode } } -func expandHorizontalBarChartLogsQuery(ctx context.Context, logs *BarChartQueryLogsModel) (*dashboards.HorizontalBarChart_LogsQuery, diag.Diagnostics) { - if logs == nil { +func expandHorizontalBarChartLogsQuery(ctx context.Context, logs types.Object) (*dashboards.HorizontalBarChart_LogsQuery, diag.Diagnostics) { + if logs.IsNull() || logs.IsUnknown() { return nil, nil } - aggregation, diags := expandLogsAggregation(ctx, logs.Aggregation) + var logsObject BarChartQueryLogsModel + diags := logs.As(ctx, &logsObject, basetypes.ObjectAsOptions{}) if diags.HasError() { return nil, diags } - filters, diags := expandLogsFilters(ctx, logs.Filters) + aggregation, diags := expandLogsAggregation(ctx, logsObject.Aggregation) + if diags.HasError() { + return nil, diags + } + + filters, diags := expandLogsFilters(ctx, logsObject.Filters) if diags.HasError() { return nil, diags } - groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, logs.GroupNames.Elements()) + groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, logsObject.GroupNames.Elements()) if diags.HasError() { return nil, diags } return &dashboards.HorizontalBarChart_LogsQuery{ - LuceneQuery: expandLuceneQuery(logs.LuceneQuery), + LuceneQuery: expandLuceneQuery(logsObject.LuceneQuery), Aggregation: aggregation, Filters: filters, GroupNames: groupNames, - StackedGroupName: typeStringToWrapperspbString(logs.StackedGroupName), + StackedGroupName: typeStringToWrapperspbString(logsObject.StackedGroupName), }, nil } -func expandHorizontalBarChartMetricsQuery(ctx context.Context, metrics *BarChartQueryMetricsModel) (*dashboards.HorizontalBarChart_MetricsQuery, diag.Diagnostics) { - if metrics == nil { +func expandHorizontalBarChartMetricsQuery(ctx context.Context, metrics types.Object) (*dashboards.HorizontalBarChart_MetricsQuery, diag.Diagnostics) { + if metrics.IsNull() || metrics.IsUnknown() { return nil, nil } - filters, diags := expandMetricsFilters(ctx, metrics.Filters) + var metricsObject BarChartQueryMetricsModel + diags := metrics.As(ctx, &metricsObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + filters, diags := expandMetricsFilters(ctx, metricsObject.Filters) if diags.HasError() { return nil, diags } - groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, metrics.GroupNames.Elements()) + groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, metricsObject.GroupNames.Elements()) if diags.HasError() { return nil, diags } return &dashboards.HorizontalBarChart_MetricsQuery{ - PromqlQuery: expandPromqlQuery(metrics.PromqlQuery), + PromqlQuery: expandPromqlQuery(metricsObject.PromqlQuery), Filters: filters, GroupNames: groupNames, - StackedGroupName: typeStringToWrapperspbString(metrics.StackedGroupName), + StackedGroupName: typeStringToWrapperspbString(metricsObject.StackedGroupName), }, nil } -func expandHorizontalBarChartSpansQuery(ctx context.Context, spans *BarChartQuerySpansModel) (*dashboards.HorizontalBarChart_SpansQuery, diag.Diagnostics) { - if spans == nil { +func expandHorizontalBarChartSpansQuery(ctx context.Context, spans types.Object) (*dashboards.HorizontalBarChart_SpansQuery, diag.Diagnostics) { + if spans.IsNull() || spans.IsUnknown() { return nil, nil } - aggregation, dg := expandSpansAggregation(spans.Aggregation) + var spansObject BarChartQuerySpansModel + diags := spans.As(ctx, &spansObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + aggregation, dg := expandSpansAggregation(spansObject.Aggregation) if dg != nil { return nil, diag.Diagnostics{dg} } - filters, diags := expandSpansFilters(ctx, spans.Filters) + filters, diags := expandSpansFilters(ctx, spansObject.Filters) if diags.HasError() { return nil, diags } - groupNames, diags := expandSpansFields(ctx, spans.GroupNames) + groupNames, diags := expandSpansFields(ctx, spansObject.GroupNames) if diags.HasError() { return nil, diags } - expandedFilter, dg := expandSpansField(spans.StackedGroupName) + expandedFilter, dg := expandSpansField(spansObject.StackedGroupName) if dg != nil { return nil, diag.Diagnostics{dg} } return &dashboards.HorizontalBarChart_SpansQuery{ - LuceneQuery: expandLuceneQuery(spans.LuceneQuery), + LuceneQuery: expandLuceneQuery(spansObject.LuceneQuery), Aggregation: aggregation, Filters: filters, GroupNames: groupNames, @@ -3742,53 +4107,60 @@ func expandHorizontalBarChartSpansQuery(ctx context.Context, spans *BarChartQuer }, nil } -func expandBarChartLogsQuery(ctx context.Context, barChartQueryLogs *BarChartQueryLogsModel) (*dashboards.BarChart_LogsQuery, diag.Diagnostics) { - if barChartQueryLogs == nil { +func expandBarChartLogsQuery(ctx context.Context, barChartQueryLogs types.Object) (*dashboards.BarChart_LogsQuery, diag.Diagnostics) { + if barChartQueryLogs.IsNull() || barChartQueryLogs.IsUnknown() { return nil, nil } - aggregation, diags := expandLogsAggregation(ctx, barChartQueryLogs.Aggregation) + var barChartQueryLogsObject BarChartQueryLogsModel + diags := barChartQueryLogs.As(ctx, &barChartQueryLogsObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + aggregation, diags := expandLogsAggregation(ctx, barChartQueryLogsObject.Aggregation) if diags.HasError() { return nil, diags } - filters, diags := expandLogsFilters(ctx, barChartQueryLogs.Filters) + filters, diags := expandLogsFilters(ctx, barChartQueryLogsObject.Filters) if diags.HasError() { return nil, diags } - groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, barChartQueryLogs.GroupNames.Elements()) + groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, barChartQueryLogsObject.GroupNames.Elements()) if diags.HasError() { return nil, diags } - groupNamesFields, diags := expandObservationFields(ctx, barChartQueryLogs.GroupNamesFields) + groupNamesFields, diags := expandObservationFields(ctx, barChartQueryLogsObject.GroupNamesFields) if diags.HasError() { return nil, diags } - stackedGroupNameField, diags := expandObservationFieldObject(ctx, barChartQueryLogs.StackedGroupNameField) + stackedGroupNameField, diags := expandObservationFieldObject(ctx, barChartQueryLogsObject.StackedGroupNameField) if diags.HasError() { return nil, diags } return &dashboards.BarChart_LogsQuery{ - LuceneQuery: expandLuceneQuery(barChartQueryLogs.LuceneQuery), + LuceneQuery: expandLuceneQuery(barChartQueryLogsObject.LuceneQuery), Aggregation: aggregation, Filters: filters, GroupNames: groupNames, - StackedGroupName: typeStringToWrapperspbString(barChartQueryLogs.StackedGroupName), + StackedGroupName: typeStringToWrapperspbString(barChartQueryLogsObject.StackedGroupName), GroupNamesFields: groupNamesFields, StackedGroupNameField: stackedGroupNameField, }, nil } func expandObservationFields(ctx context.Context, namesFields types.List) ([]*dashboards.ObservationField, diag.Diagnostics) { - var diags diag.Diagnostics var namesFieldsObjects []types.Object var expandedNamesFields []*dashboards.ObservationField - namesFields.ElementsAs(ctx, &namesFieldsObjects, true) - + diags := namesFields.ElementsAs(ctx, &namesFieldsObjects, true) + if diags.HasError() { + return nil, diags + } for _, nfo := range namesFieldsObjects { var namesField ObservationFieldModel if dg := nfo.As(ctx, &namesField, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -3833,56 +4205,68 @@ func expandObservationField(ctx context.Context, observationField ObservationFie }, nil } -func expandBarChartMetricsQuery(ctx context.Context, barChartQueryMetrics *BarChartQueryMetricsModel) (*dashboards.BarChart_MetricsQuery, diag.Diagnostics) { - if barChartQueryMetrics == nil { +func expandBarChartMetricsQuery(ctx context.Context, barChartQueryMetrics types.Object) (*dashboards.BarChart_MetricsQuery, diag.Diagnostics) { + if barChartQueryMetrics.IsNull() || barChartQueryMetrics.IsUnknown() { return nil, nil } - filters, diags := expandMetricsFilters(ctx, barChartQueryMetrics.Filters) + var barChartQueryMetricsObject BarChartQueryMetricsModel + diags := barChartQueryMetrics.As(ctx, &barChartQueryMetricsObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + filters, diags := expandMetricsFilters(ctx, barChartQueryMetricsObject.Filters) if diags.HasError() { return nil, diags } - groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, barChartQueryMetrics.GroupNames.Elements()) + groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, barChartQueryMetricsObject.GroupNames.Elements()) if diags.HasError() { return nil, diags } return &dashboards.BarChart_MetricsQuery{ - PromqlQuery: expandPromqlQuery(barChartQueryMetrics.PromqlQuery), + PromqlQuery: expandPromqlQuery(barChartQueryMetricsObject.PromqlQuery), Filters: filters, GroupNames: groupNames, - StackedGroupName: typeStringToWrapperspbString(barChartQueryMetrics.StackedGroupName), + StackedGroupName: typeStringToWrapperspbString(barChartQueryMetricsObject.StackedGroupName), }, nil } -func expandBarChartSpansQuery(ctx context.Context, barChartQuerySpans *BarChartQuerySpansModel) (*dashboards.BarChart_SpansQuery, diag.Diagnostics) { - if barChartQuerySpans == nil { +func expandBarChartSpansQuery(ctx context.Context, barChartQuerySpans types.Object) (*dashboards.BarChart_SpansQuery, diag.Diagnostics) { + if barChartQuerySpans.IsNull() || barChartQuerySpans.IsUnknown() { return nil, nil } - aggregation, dg := expandSpansAggregation(barChartQuerySpans.Aggregation) + var barChartQuerySpansObject BarChartQuerySpansModel + diags := barChartQuerySpans.As(ctx, &barChartQuerySpansObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + aggregation, dg := expandSpansAggregation(barChartQuerySpansObject.Aggregation) if dg != nil { return nil, diag.Diagnostics{dg} } - filters, diags := expandSpansFilters(ctx, barChartQuerySpans.Filters) + filters, diags := expandSpansFilters(ctx, barChartQuerySpansObject.Filters) if diags.HasError() { return nil, diags } - groupNames, diags := expandSpansFields(ctx, barChartQuerySpans.GroupNames) + groupNames, diags := expandSpansFields(ctx, barChartQuerySpansObject.GroupNames) if diags.HasError() { return nil, diags } - expandedFilter, dg := expandSpansField(barChartQuerySpans.StackedGroupName) + expandedFilter, dg := expandSpansField(barChartQuerySpansObject.StackedGroupName) if dg != nil { return nil, diag.Diagnostics{dg} } return &dashboards.BarChart_SpansQuery{ - LuceneQuery: expandLuceneQuery(barChartQuerySpans.LuceneQuery), + LuceneQuery: expandLuceneQuery(barChartQuerySpansObject.LuceneQuery), Aggregation: aggregation, Filters: filters, GroupNames: groupNames, @@ -3891,11 +4275,12 @@ func expandBarChartSpansQuery(ctx context.Context, barChartQuerySpans *BarChartQ } func expandSpansFields(ctx context.Context, spanFields types.List) ([]*dashboards.SpanField, diag.Diagnostics) { - var diags diag.Diagnostics var spanFieldsObjects []types.Object var expandedSpanFields []*dashboards.SpanField - spanFields.ElementsAs(ctx, &spanFieldsObjects, true) - + diags := spanFields.ElementsAs(ctx, &spanFieldsObjects, true) + if diags.HasError() { + return nil, diags + } for _, sfo := range spanFieldsObjects { var spansField SpansFieldModel if dg := sfo.As(ctx, &spansField, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -3913,6 +4298,38 @@ func expandSpansFields(ctx context.Context, spanFields types.List) ([]*dashboard return expandedSpanFields, diags } +func expandBarChartDataPrimeQuery(ctx context.Context, dataPrime types.Object) (*dashboards.BarChart_DataprimeQuery, diag.Diagnostics) { + if dataPrime.IsNull() || dataPrime.IsUnknown() { + return nil, nil + } + + var dataPrimeObject BarChartQueryDataPrimeModel + diags := dataPrime.As(ctx, &dataPrimeObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + filters, diags := expandDashboardFiltersSources(ctx, dataPrimeObject.Filters) + if diags.HasError() { + return nil, diags + } + + groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, dataPrimeObject.GroupNames.Elements()) + if diags.HasError() { + return nil, diags + } + + dataPrimeQuery := &dashboards.DataprimeQuery{ + Text: dataPrimeObject.Query.ValueString(), + } + return &dashboards.BarChart_DataprimeQuery{ + Filters: filters, + DataprimeQuery: dataPrimeQuery, + GroupNames: groupNames, + StackedGroupName: typeStringToWrapperspbString(dataPrimeObject.StackedGroupName), + }, nil +} + func expandDataTable(ctx context.Context, table *DataTableModel) (*dashboards.Widget_Definition, diag.Diagnostics) { query, diags := expandDataTableQuery(ctx, table.Query) if diags.HasError() { @@ -4005,11 +4422,12 @@ func expandDataTableDataPrimeQuery(ctx context.Context, dataPrime *DataPrimeMode } func expandDashboardFiltersSources(ctx context.Context, filters types.List) ([]*dashboards.Filter_Source, diag.Diagnostics) { - var diags diag.Diagnostics var filtersObjects []types.Object var expandedFiltersSources []*dashboards.Filter_Source - filters.ElementsAs(ctx, &filtersObjects, true) - + diags := filters.ElementsAs(ctx, &filtersObjects, true) + if diags.HasError() { + return nil, diags + } for _, fo := range filtersObjects { var filterSource DashboardFilterSourceModel if dg := fo.As(ctx, &filterSource, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -4098,11 +4516,12 @@ func expandDataTableLogsGrouping(ctx context.Context, grouping *DataTableLogsQue } func expandDataTableLogsAggregations(ctx context.Context, aggregations types.List) ([]*dashboards.DataTable_LogsQuery_Aggregation, diag.Diagnostics) { - var diags diag.Diagnostics var aggregationsObjects []types.Object var expandedAggregations []*dashboards.DataTable_LogsQuery_Aggregation - aggregations.ElementsAs(ctx, &aggregationsObjects, true) - + diags := aggregations.ElementsAs(ctx, &aggregationsObjects, true) + if diags.HasError() { + return nil, diags + } for _, ao := range aggregationsObjects { var aggregation DataTableLogsAggregationModel if dg := ao.As(ctx, &aggregation, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -4184,11 +4603,12 @@ func expandDataTableSpansGrouping(ctx context.Context, grouping *DataTableSpansQ } func expandDataTableSpansAggregations(ctx context.Context, spansAggregations types.List) ([]*dashboards.DataTable_SpansQuery_Aggregation, diag.Diagnostics) { - var diags diag.Diagnostics var spansAggregationsObjects []types.Object var expandedSpansAggregations []*dashboards.DataTable_SpansQuery_Aggregation - spansAggregations.ElementsAs(ctx, &spansAggregationsObjects, true) - + diags := spansAggregations.ElementsAs(ctx, &spansAggregationsObjects, true) + if diags.HasError() { + return nil, diags + } for _, sfo := range spansAggregationsObjects { var aggregation DataTableSpansAggregationModel if dg := sfo.As(ctx, &aggregation, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -4225,11 +4645,12 @@ func expandDataTableSpansAggregation(aggregation *DataTableSpansAggregationModel } func expandDataTableColumns(ctx context.Context, columns types.List) ([]*dashboards.DataTable_Column, diag.Diagnostics) { - var diags diag.Diagnostics var columnsObjects []types.Object var expandedColumns []*dashboards.DataTable_Column - columns.ElementsAs(ctx, &columnsObjects, true) - + diags := columns.ElementsAs(ctx, &columnsObjects, true) + if diags.HasError() { + return nil, diags + } for _, co := range columnsObjects { var column DataTableColumnModel if dg := co.As(ctx, &column, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -4336,11 +4757,12 @@ func expandLineChartTooltip(tooltip *TooltipModel) *dashboards.LineChart_Tooltip } func expandLineChartQueryDefinitions(ctx context.Context, queryDefinitions types.List) ([]*dashboards.LineChart_QueryDefinition, diag.Diagnostics) { - var diags diag.Diagnostics var queryDefinitionsObjects []types.Object var expandedQueryDefinitions []*dashboards.LineChart_QueryDefinition - queryDefinitions.ElementsAs(ctx, &queryDefinitionsObjects, true) - + diags := queryDefinitions.ElementsAs(ctx, &queryDefinitionsObjects, true) + if diags.HasError() { + return nil, diags + } for _, qdo := range queryDefinitionsObjects { var queryDefinition LineChartQueryDefinitionModel if dg := qdo.As(ctx, &queryDefinition, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -4526,7 +4948,7 @@ func expandLineChartSpansQuery(ctx context.Context, spans *LineChartQuerySpansMo }, nil } -func expandDashboardQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) (*dashboards.PieChart_Query, diag.Diagnostics) { +func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) (*dashboards.PieChart_Query, diag.Diagnostics) { if pieChartQuery == nil { return nil, nil } @@ -4556,6 +4978,14 @@ func expandDashboardQuery(ctx context.Context, pieChartQuery *PieChartQueryModel return &dashboards.PieChart_Query{ Value: spans, }, nil + case pieChartQuery.DataPrime != nil: + dataPrime, diags := expandPieChartDataPrimeQuery(ctx, pieChartQuery.DataPrime) + if diags.HasError() { + return nil, diags + } + return &dashboards.PieChart_Query{ + Value: dataPrime, + }, nil default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand PieChart Query", "Unknown PieChart Query type")} } @@ -4665,12 +5095,40 @@ func expandPieChartSpansQuery(ctx context.Context, pieChartQuerySpans *PieChartQ }, nil } +func expandPieChartDataPrimeQuery(ctx context.Context, dataPrime *PieChartQueryDataPrimeModel) (*dashboards.PieChart_Query_Dataprime, diag.Diagnostics) { + if dataPrime == nil { + return nil, nil + } + + filters, diags := expandDashboardFiltersSources(ctx, dataPrime.Filters) + if diags.HasError() { + return nil, diags + } + + groupNames, diags := typeStringSliceToWrappedStringSlice(ctx, dataPrime.GroupNames.Elements()) + if diags.HasError() { + return nil, diags + } + + return &dashboards.PieChart_Query_Dataprime{ + Dataprime: &dashboards.PieChart_DataprimeQuery{ + DataprimeQuery: &dashboards.DataprimeQuery{ + Text: dataPrime.Query.ValueString(), + }, + Filters: filters, + GroupNames: groupNames, + StackedGroupName: typeStringToWrapperspbString(dataPrime.StackedGroupName), + }, + }, nil +} + func expandDashboardVariables(ctx context.Context, variables types.List) ([]*dashboards.Variable, diag.Diagnostics) { - var diags diag.Diagnostics var variablesObjects []types.Object var expandedVariables []*dashboards.Variable - variables.ElementsAs(ctx, &variablesObjects, true) - + diags := variables.ElementsAs(ctx, &variablesObjects, true) + if diags.HasError() { + return nil, diags + } for _, vo := range variablesObjects { var variable DashboardVariableModel if dg := vo.As(ctx, &variable, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -4822,11 +5280,12 @@ func expandMultiSelectSource(ctx context.Context, source *VariableMultiSelectSou } func expandDashboardFilters(ctx context.Context, filters types.List) ([]*dashboards.Filter, diag.Diagnostics) { - var diags diag.Diagnostics var filtersObjects []types.Object var expandedFilters []*dashboards.Filter - filters.ElementsAs(ctx, &filtersObjects, true) - + diags := filters.ElementsAs(ctx, &filtersObjects, true) + if diags.HasError() { + return nil, diags + } for _, fo := range filtersObjects { var filter DashboardFilterModel if dg := fo.As(ctx, &filter, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -4950,6 +5409,32 @@ func expandFilterSourceSpans(ctx context.Context, spans *FilterSourceSpansModel) }, nil } +func expandDashboardFolder(dashboard *dashboards.Dashboard, folder types.Object) (*dashboards.Dashboard, diag.Diagnostics) { + if folder.IsNull() || folder.IsUnknown() { + return dashboard, nil + } + var folderModel DashboardFolderModel + dgs := folder.As(context.Background(), &folderModel, basetypes.ObjectAsOptions{}) + if dgs.HasError() { + return nil, dgs + } + + if !(folderModel.Path.IsNull() || folderModel.Path.IsUnknown()) { + segments := strings.Split(folderModel.Path.ValueString(), "/") + dashboard.Folder = &dashboards.Dashboard_FolderPath{ + FolderPath: &dashboards.FolderPath{ + Segments: segments, + }, + } + } else if !(folderModel.ID.IsNull() || folderModel.ID.IsUnknown()) { + dashboard.Folder = &dashboards.Dashboard_FolderId{ + FolderId: expandDashboardUUID(folderModel.ID), + } + } + + return dashboard, nil +} + func expandAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame types.Object) (*dashboards.Dashboard_AbsoluteTimeFrame, diag.Diagnostics) { timeFrameModel := &DashboardTimeFrameAbsoluteModel{} dgs := timeFrame.As(ctx, timeFrameModel, basetypes.ObjectAsOptions{}) @@ -5014,16 +5499,23 @@ func expandRelativeDashboardTimeFrame(ctx context.Context, timeFrame types.Objec }, nil } -func expandDashboardUUID(id types.String) *dashboards.UUID { +func expand21LengthUUID(id types.String) *dashboards.UUID { if id.IsNull() || id.IsUnknown() { return &dashboards.UUID{Value: RandStringBytes(21)} } return &dashboards.UUID{Value: id.ValueString()} } +func expandDashboardUUID(id types.String) *dashboards.UUID { + if id.IsNull() || id.IsUnknown() { + return &dashboards.UUID{Value: uuid.NewString()} + } + return &dashboards.UUID{Value: id.ValueString()} +} + func expandDashboardIDs(id types.String) *wrapperspb.StringValue { if id.IsNull() || id.IsUnknown() { - return &wrapperspb.StringValue{Value: RandStringBytes(21)} + return &wrapperspb.StringValue{Value: uuid.NewString()} } return &wrapperspb.StringValue{Value: id.ValueString()} } @@ -5043,8 +5535,12 @@ func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboar ID: types.StringValue(dashboard.GetId().GetValue()), Name: types.StringNull(), Description: types.StringNull(), + Layout: types.ObjectNull(layoutModelAttr()), Variables: types.ListNull(types.ObjectType{AttrTypes: dashboardsVariablesModelAttr()}), Filters: types.ListNull(types.ObjectType{AttrTypes: dashboardsFiltersModelAttr()}), + TimeFrame: types.ObjectNull(dashboardTimeFrameModelAttr()), + Folder: types.ObjectNull(dashboardFolderModelAttr()), + Annotations: types.ListNull(types.ObjectType{AttrTypes: dashboardsAnnotationsModelAttr()}), }, nil } @@ -5069,6 +5565,16 @@ func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboar return nil, diags } + folder, diags := flattenDashboardFolder(ctx, plan.Folder, dashboard) + if diags.HasError() { + return nil, diags + } + + annotations, diags := flattenDashboardAnnotations(ctx, dashboard.GetAnnotations()) + if diags.HasError() { + return nil, diags + } + return &DashboardResourceModel{ ID: types.StringValue(dashboard.GetId().GetValue()), Name: wrapperspbStringToTypeString(dashboard.GetName()), @@ -5077,19 +5583,21 @@ func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboar Variables: variables, Filters: filters, TimeFrame: timeFrame, + Folder: folder, + Annotations: annotations, ContentJson: types.StringNull(), }, nil } -func flattenDashboardLayout(ctx context.Context, layout *dashboards.Layout) (*DashboardLayoutModel, diag.Diagnostics) { +func flattenDashboardLayout(ctx context.Context, layout *dashboards.Layout) (types.Object, diag.Diagnostics) { sections, diags := flattenDashboardSections(ctx, layout.GetSections()) if diags.HasError() { - return nil, diags + return types.ObjectNull(layoutModelAttr()), diags } - - return &DashboardLayoutModel{ + flattenedLayout := &DashboardLayoutModel{ Sections: sections, - }, nil + } + return types.ObjectValueFrom(ctx, layoutModelAttr(), flattenedLayout) } func flattenDashboardSections(ctx context.Context, sections []*dashboards.Section) (types.List, diag.Diagnostics) { @@ -5467,6 +5975,20 @@ func widgetModelAttr() map[string]attr.Type { }, }, }, + "data_prime": types.ObjectType{ + AttrTypes: map[string]attr.Type{ + "query": types.StringType, + "filters": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: filterSourceModelAttr(), + }, + }, + "group_names": types.ListType{ + ElemType: types.StringType, + }, + "stacked_group_name": types.StringType, + }, + }, }, }, "max_slices_per_chart": types.Int64Type, @@ -5494,97 +6016,53 @@ func widgetModelAttr() map[string]attr.Type { }, }, "bar_chart": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "query": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "logs": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "lucene_query": types.StringType, - "aggregation": types.ObjectType{ - AttrTypes: aggregationModelAttr(), - }, - "filters": types.ListType{ - ElemType: types.ObjectType{ - AttrTypes: logsFilterModelAttr(), - }, - }, - "group_names": types.ListType{ - ElemType: types.StringType, - }, - "stacked_group_name": types.StringType, - "group_names_fields": types.ListType{ - ElemType: observationFieldsObject(), - }, - "stacked_group_name_field": observationFieldsObject(), - }, - }, - "metrics": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "promql_query": types.StringType, - "filters": types.ListType{ - ElemType: types.ObjectType{ - AttrTypes: metricsFilterModelAttr(), - }, - }, - "group_names": types.ListType{ - ElemType: types.StringType, - }, - "stacked_group_name": types.StringType, - }, - }, - "spans": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "lucene_query": types.StringType, - "aggregation": types.ObjectType{ - AttrTypes: spansAggregationModelAttr(), - }, - "filters": types.ListType{ - ElemType: types.ObjectType{ - AttrTypes: spansFilterModelAttr(), - }, - }, - "group_names": types.ListType{ - ElemType: types.ObjectType{ - AttrTypes: spansFieldModelAttr(), - }, - }, - "stacked_group_name": types.ObjectType{ - AttrTypes: spansFieldModelAttr(), - }, - }, - }, - }, - }, - "max_bars_per_chart": types.Int64Type, - "group_name_template": types.StringType, - "stack_definition": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "stack_name_template": types.StringType, - "max_slices_per_bar": types.Int64Type, - }, - }, - "scale_type": types.StringType, - "colors_by": types.StringType, - "xaxis": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "time": types.ObjectType{ - AttrTypes: map[string]attr.Type{ - "interval": types.StringType, - "buckets_presented": types.Int64Type, - }, - }, - "value": types.ObjectType{ - AttrTypes: map[string]attr.Type{}, - }, - }, - }, - "unit": types.StringType, - "sort_by": types.StringType, - "color_scheme": types.StringType, - "data_mode_type": types.StringType, - }, - }, - "horizontal_bar_chart": types.ObjectType{ + AttrTypes: map[string]attr.Type{ + "query": types.ObjectType{ + AttrTypes: map[string]attr.Type{ + "logs": types.ObjectType{ + AttrTypes: barChartLogsQueryAttr(), + }, + "metrics": types.ObjectType{ + AttrTypes: barChartMetricsQueryAttr(), + }, + "spans": types.ObjectType{ + AttrTypes: barChartSpansQueryAttr(), + }, + "data_prime": types.ObjectType{ + AttrTypes: barChartDataPrimeQueryAttr(), + }, + }, + }, + "max_bars_per_chart": types.Int64Type, + "group_name_template": types.StringType, + "stack_definition": types.ObjectType{ + AttrTypes: map[string]attr.Type{ + "stack_name_template": types.StringType, + "max_slices_per_bar": types.Int64Type, + }, + }, + "scale_type": types.StringType, + "colors_by": types.StringType, + "xaxis": types.ObjectType{ + AttrTypes: map[string]attr.Type{ + "time": types.ObjectType{ + AttrTypes: map[string]attr.Type{ + "interval": types.StringType, + "buckets_presented": types.Int64Type, + }, + }, + "value": types.ObjectType{ + AttrTypes: map[string]attr.Type{}, + }, + }, + }, + "unit": types.StringType, + "sort_by": types.StringType, + "color_scheme": types.StringType, + "data_mode_type": types.StringType, + }, + }, + "horizontal_bar_chart": types.ObjectType{ AttrTypes: map[string]attr.Type{ "query": types.ObjectType{ AttrTypes: map[string]attr.Type{ @@ -5676,6 +6154,120 @@ func widgetModelAttr() map[string]attr.Type { } } +func barChartLogsQueryAttr() map[string]attr.Type { + return map[string]attr.Type{ + "lucene_query": types.StringType, + "aggregation": types.ObjectType{ + AttrTypes: aggregationModelAttr(), + }, + "filters": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: logsFilterModelAttr(), + }, + }, + "group_names": types.ListType{ + ElemType: types.StringType, + }, + "stacked_group_name": types.StringType, + "group_names_fields": types.ListType{ + ElemType: observationFieldsObject(), + }, + "stacked_group_name_field": observationFieldsObject(), + } +} + +func barChartMetricsQueryAttr() map[string]attr.Type { + return map[string]attr.Type{ + "promql_query": types.StringType, + "filters": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: metricsFilterModelAttr(), + }, + }, + "group_names": types.ListType{ + ElemType: types.StringType, + }, + "stacked_group_name": types.StringType, + } +} + +func barChartSpansQueryAttr() map[string]attr.Type { + return map[string]attr.Type{ + "lucene_query": types.StringType, + "aggregation": types.ObjectType{ + AttrTypes: spansAggregationModelAttr(), + }, + "filters": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: spansFilterModelAttr(), + }, + }, + "group_names": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: spansFieldModelAttr(), + }, + }, + "stacked_group_name": types.ObjectType{ + AttrTypes: spansFieldModelAttr(), + }, + } +} + +func barChartDataPrimeQueryAttr() map[string]attr.Type { + return map[string]attr.Type{ + "query": types.StringType, + "filters": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: filterSourceModelAttr(), + }, + }, + "group_names": types.ListType{ + ElemType: types.StringType, + }, + "stacked_group_name": types.StringType, + } +} + +func dashboardsAnnotationsModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "id": types.StringType, + "name": types.StringType, + "enabled": types.BoolType, + "source": types.ObjectType{ + AttrTypes: annotationSourceModelAttr(), + }, + } +} + +func annotationSourceModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "metric": types.ObjectType{ + AttrTypes: dashboardsAnnotationsMetricSourceModelAttr(), + }, + } +} + +func dashboardsAnnotationsMetricSourceModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "promql_query": types.StringType, + "strategy": types.ObjectType{ + AttrTypes: metricStrategyModelAttr(), + }, + "message_template": types.StringType, + "labels": types.ListType{ + ElemType: types.StringType, + }, + } +} + +func metricStrategyModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "start_time": types.ObjectType{ + AttrTypes: map[string]attr.Type{}, + }, + } +} + func observationFieldsObject() types.ObjectType { return types.ObjectType{ AttrTypes: observationFieldAttributes(), @@ -5923,6 +6515,23 @@ func filterSourceMetricsModelAttr() map[string]attr.Type { } } +func layoutModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "sections": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: sectionModelAttr(), + }, + }, + } +} + +func dashboardFolderModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "id": types.StringType, + "path": types.StringType, + } +} + func flattenDashboardSection(ctx context.Context, section *dashboards.Section) (*SectionModel, diag.Diagnostics) { if section == nil { return nil, nil @@ -6100,7 +6709,7 @@ func flattenYAxisViewBy(yAxisViewBy *dashboards.HorizontalBarChart_YAxisViewBy) } } -func flattenHorizontalBarChartQueryDefinitions(ctx context.Context, query *dashboards.HorizontalBarChart_Query) (*BarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQueryDefinitions(ctx context.Context, query *dashboards.HorizontalBarChart_Query) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if query == nil { return nil, nil } @@ -6117,7 +6726,7 @@ func flattenHorizontalBarChartQueryDefinitions(ctx context.Context, query *dashb } } -func flattenHorizontalBarChartQueryLogs(ctx context.Context, logs *dashboards.HorizontalBarChart_LogsQuery) (*BarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQueryLogs(ctx context.Context, logs *dashboards.HorizontalBarChart_LogsQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -6142,20 +6751,29 @@ func flattenHorizontalBarChartQueryLogs(ctx context.Context, logs *dashboards.Ho return nil, diags } - return &BarChartQueryModel{ - Logs: &BarChartQueryLogsModel{ - LuceneQuery: wrapperspbStringToTypeString(logs.GetLuceneQuery().GetValue()), - Aggregation: aggregation, - Filters: filters, - GroupNames: wrappedStringSliceToTypeStringList(logs.GetGroupNames()), - StackedGroupName: wrapperspbStringToTypeString(logs.GetStackedGroupName()), - GroupNamesFields: groupNamesFields, - StackedGroupNameField: stackedGroupNameField, - }, + logsModel := &BarChartQueryLogsModel{ + LuceneQuery: wrapperspbStringToTypeString(logs.GetLuceneQuery().GetValue()), + Aggregation: aggregation, + Filters: filters, + GroupNames: wrappedStringSliceToTypeStringList(logs.GetGroupNames()), + StackedGroupName: wrapperspbStringToTypeString(logs.GetStackedGroupName()), + GroupNamesFields: groupNamesFields, + StackedGroupNameField: stackedGroupNameField, + } + + logsObject, diags := types.ObjectValueFrom(ctx, barChartLogsQueryAttr(), logsModel) + if diags.HasError() { + return nil, diags + } + + return &HorizontalBarChartQueryModel{ + Logs: logsObject, + Metrics: types.ObjectNull(barChartMetricsQueryAttr()), + Spans: types.ObjectNull(barChartSpansQueryAttr()), }, nil } -func flattenHorizontalBarChartQueryMetrics(ctx context.Context, metrics *dashboards.HorizontalBarChart_MetricsQuery) (*BarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQueryMetrics(ctx context.Context, metrics *dashboards.HorizontalBarChart_MetricsQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -6165,17 +6783,26 @@ func flattenHorizontalBarChartQueryMetrics(ctx context.Context, metrics *dashboa return nil, diags } - return &BarChartQueryModel{ - Metrics: &BarChartQueryMetricsModel{ - PromqlQuery: wrapperspbStringToTypeString(metrics.GetPromqlQuery().GetValue()), - Filters: filters, - GroupNames: wrappedStringSliceToTypeStringList(metrics.GetGroupNames()), - StackedGroupName: wrapperspbStringToTypeString(metrics.GetStackedGroupName()), - }, + flattenedMetrics := &BarChartQueryMetricsModel{ + PromqlQuery: wrapperspbStringToTypeString(metrics.GetPromqlQuery().GetValue()), + Filters: filters, + GroupNames: wrappedStringSliceToTypeStringList(metrics.GetGroupNames()), + StackedGroupName: wrapperspbStringToTypeString(metrics.GetStackedGroupName()), + } + + metricsObject, diags := types.ObjectValueFrom(ctx, barChartMetricsQueryAttr(), flattenedMetrics) + if diags.HasError() { + return nil, diags + } + + return &HorizontalBarChartQueryModel{ + Metrics: metricsObject, + Logs: types.ObjectNull(barChartLogsQueryAttr()), + Spans: types.ObjectNull(barChartSpansQueryAttr()), }, nil } -func flattenHorizontalBarChartQuerySpans(ctx context.Context, spans *dashboards.HorizontalBarChart_SpansQuery) (*BarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQuerySpans(ctx context.Context, spans *dashboards.HorizontalBarChart_SpansQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -6200,14 +6827,23 @@ func flattenHorizontalBarChartQuerySpans(ctx context.Context, spans *dashboards. return nil, diag.Diagnostics{dg} } - return &BarChartQueryModel{ - Spans: &BarChartQuerySpansModel{ - LuceneQuery: wrapperspbStringToTypeString(spans.GetLuceneQuery().GetValue()), - Aggregation: aggregation, - Filters: filters, - GroupNames: groupNames, - StackedGroupName: stackedGroupName, - }, + flattenedSpans := &BarChartQuerySpansModel{ + LuceneQuery: wrapperspbStringToTypeString(spans.GetLuceneQuery().GetValue()), + Aggregation: aggregation, + Filters: filters, + GroupNames: groupNames, + StackedGroupName: stackedGroupName, + } + + spansObject, diags := types.ObjectValueFrom(ctx, barChartSpansQueryAttr(), flattenedSpans) + if diags.HasError() { + return nil, diags + } + + return &HorizontalBarChartQueryModel{ + Spans: spansObject, + Logs: types.ObjectNull(barChartLogsQueryAttr()), + Metrics: types.ObjectNull(barChartMetricsQueryAttr()), }, nil } @@ -7251,6 +7887,8 @@ func flattenPieChartQueries(ctx context.Context, query *dashboards.PieChart_Quer return flattenPieChartQueryLogs(ctx, query.GetLogs()) case *dashboards.PieChart_Query_Spans: return flattenPieChartQuerySpans(ctx, query.GetSpans()) + case *dashboards.PieChart_Query_Dataprime: + return flattenPieChartDataPrimeQuery(ctx, query.GetDataprime()) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Pie Chart Query", fmt.Sprintf("unknown query type %T", query))} } @@ -7374,6 +8012,26 @@ func flattenPieChartQuerySpans(ctx context.Context, spans *dashboards.PieChart_S }, nil } +func flattenPieChartDataPrimeQuery(ctx context.Context, dataPrime *dashboards.PieChart_DataprimeQuery) (*PieChartQueryModel, diag.Diagnostics) { + if dataPrime == nil { + return nil, nil + } + + filters, diags := flattenDashboardFiltersSources(ctx, dataPrime.GetFilters()) + if diags.HasError() { + return nil, diags + } + + return &PieChartQueryModel{ + DataPrime: &PieChartQueryDataPrimeModel{ + Query: types.StringValue(dataPrime.GetDataprimeQuery().GetText()), + Filters: filters, + GroupNames: wrappedStringSliceToTypeStringList(dataPrime.GetGroupNames()), + StackedGroupName: wrapperspbStringToTypeString(dataPrime.GetStackedGroupName()), + }, + }, nil +} + func flattenBarChart(ctx context.Context, barChart *dashboards.BarChart) (*WidgetDefinitionModel, diag.Diagnostics) { if barChart == nil { return nil, nil @@ -7439,13 +8097,15 @@ func flattenBarChartQuery(ctx context.Context, query *dashboards.BarChart_Query) return nil, nil } - switch query.GetValue().(type) { + switch queryType := query.GetValue().(type) { case *dashboards.BarChart_Query_Logs: - return flattenBarChartQueryLogs(ctx, query.GetLogs()) + return flattenBarChartQueryLogs(ctx, queryType.Logs) case *dashboards.BarChart_Query_Spans: - return flattenBarChartQuerySpans(ctx, query.GetSpans()) + return flattenBarChartQuerySpans(ctx, queryType.Spans) case *dashboards.BarChart_Query_Metrics: - return flattenBarChartQueryMetrics(ctx, query.GetMetrics()) + return flattenBarChartQueryMetrics(ctx, queryType.Metrics) + case *dashboards.BarChart_Query_Dataprime: + return flattenBarChartQueryDataPrime(ctx, queryType.Dataprime) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten BarChart Query", fmt.Sprintf("unknown bar chart query type: %T", query.GetValue()))} } @@ -7476,16 +8136,22 @@ func flattenBarChartQueryLogs(ctx context.Context, logs *dashboards.BarChart_Log return nil, diags } + flattenedLogs := &BarChartQueryLogsModel{ + LuceneQuery: wrapperspbStringToTypeString(logs.GetLuceneQuery().GetValue()), + Filters: filters, + Aggregation: aggregation, + GroupNames: wrappedStringSliceToTypeStringList(logs.GetGroupNames()), + StackedGroupName: wrapperspbStringToTypeString(logs.GetStackedGroupName()), + GroupNamesFields: groupNamesFields, + StackedGroupNameField: stackedGroupNameField, + } + + logsObject, diags := types.ObjectValueFrom(ctx, barChartLogsQueryAttr(), flattenedLogs) return &BarChartQueryModel{ - Logs: &BarChartQueryLogsModel{ - LuceneQuery: wrapperspbStringToTypeString(logs.GetLuceneQuery().GetValue()), - Filters: filters, - Aggregation: aggregation, - GroupNames: wrappedStringSliceToTypeStringList(logs.GetGroupNames()), - StackedGroupName: wrapperspbStringToTypeString(logs.GetStackedGroupName()), - GroupNamesFields: groupNamesFields, - StackedGroupNameField: stackedGroupNameField, - }, + Logs: logsObject, + Metrics: types.ObjectNull(barChartMetricsQueryAttr()), + Spans: types.ObjectNull(barChartSpansQueryAttr()), + DataPrime: types.ObjectNull(barChartDataPrimeQueryAttr()), }, nil } @@ -7557,14 +8223,23 @@ func flattenBarChartQuerySpans(ctx context.Context, spans *dashboards.BarChart_S return nil, diag.Diagnostics{dg} } + flattenedSpans := &BarChartQuerySpansModel{ + LuceneQuery: wrapperspbStringToTypeString(spans.GetLuceneQuery().GetValue()), + Aggregation: aggregation, + Filters: filters, + GroupNames: groupNames, + StackedGroupName: stackedGroupName, + } + spansObject, diags := types.ObjectValueFrom(ctx, barChartSpansQueryAttr(), flattenedSpans) + if diags.HasError() { + return nil, diags + } + return &BarChartQueryModel{ - Spans: &BarChartQuerySpansModel{ - LuceneQuery: wrapperspbStringToTypeString(spans.GetLuceneQuery().GetValue()), - Aggregation: aggregation, - Filters: filters, - GroupNames: groupNames, - StackedGroupName: stackedGroupName, - }, + Spans: spansObject, + Metrics: types.ObjectNull(barChartMetricsQueryAttr()), + Logs: types.ObjectNull(barChartLogsQueryAttr()), + DataPrime: types.ObjectNull(barChartDataPrimeQueryAttr()), }, nil } @@ -7578,13 +8253,51 @@ func flattenBarChartQueryMetrics(ctx context.Context, metrics *dashboards.BarCha return nil, diags } + flattenedMetric := &BarChartQueryMetricsModel{ + PromqlQuery: wrapperspbStringToTypeString(metrics.GetPromqlQuery().GetValue()), + Filters: filters, + GroupNames: wrappedStringSliceToTypeStringList(metrics.GetGroupNames()), + StackedGroupName: wrapperspbStringToTypeString(metrics.GetStackedGroupName()), + } + + metricObject, diags := types.ObjectValueFrom(ctx, barChartMetricsQueryAttr(), flattenedMetric) + if diags.HasError() { + return nil, diags + } return &BarChartQueryModel{ - Metrics: &BarChartQueryMetricsModel{ - PromqlQuery: wrapperspbStringToTypeString(metrics.GetPromqlQuery().GetValue()), - Filters: filters, - GroupNames: wrappedStringSliceToTypeStringList(metrics.GetGroupNames()), - StackedGroupName: wrapperspbStringToTypeString(metrics.GetStackedGroupName()), - }, + Logs: types.ObjectNull(barChartLogsQueryAttr()), + Spans: types.ObjectNull(barChartSpansQueryAttr()), + DataPrime: types.ObjectNull(barChartDataPrimeQueryAttr()), + Metrics: metricObject, + }, nil +} + +func flattenBarChartQueryDataPrime(ctx context.Context, dataPrime *dashboards.BarChart_DataprimeQuery) (*BarChartQueryModel, diag.Diagnostics) { + if dataPrime == nil { + return nil, nil + } + + filters, diags := flattenDashboardFiltersSources(ctx, dataPrime.GetFilters()) + if diags.HasError() { + return nil, diags + } + + flattenedDataPrime := &BarChartQueryDataPrimeModel{ + Query: types.StringValue(dataPrime.GetDataprimeQuery().GetText()), + Filters: filters, + GroupNames: wrappedStringSliceToTypeStringList(dataPrime.GetGroupNames()), + StackedGroupName: wrapperspbStringToTypeString(dataPrime.GetStackedGroupName()), + } + + dataPrimeObject, diags := types.ObjectValueFrom(ctx, barChartDataPrimeQueryAttr(), flattenedDataPrime) + if diags.HasError() { + return nil, diags + } + return &BarChartQueryModel{ + Logs: types.ObjectNull(barChartLogsQueryAttr()), + Spans: types.ObjectNull(barChartSpansQueryAttr()), + Metrics: types.ObjectNull(barChartMetricsQueryAttr()), + DataPrime: dataPrimeObject, }, nil } @@ -7908,32 +8621,170 @@ func flattenDashboardFilterSourceMetrics(metrics *dashboards.Filter_MetricsFilte }, nil } -func flattenDashboardTimeFrame(ctx context.Context, d *dashboards.Dashboard) (*DashboardTimeFrameModel, diag.Diagnostics) { - switch d.GetTimeFrame().(type) { +func flattenDashboardTimeFrame(ctx context.Context, d *dashboards.Dashboard) (types.Object, diag.Diagnostics) { + if d.GetTimeFrame() == nil { + return types.ObjectNull(dashboardTimeFrameModelAttr()), nil + } + switch timeFrameType := d.GetTimeFrame().(type) { case *dashboards.Dashboard_AbsoluteTimeFrame: - return flattenAbsoluteDashboardTimeFrame(ctx, d.GetAbsoluteTimeFrame()) + return flattenAbsoluteDashboardTimeFrame(ctx, timeFrameType.AbsoluteTimeFrame) case *dashboards.Dashboard_RelativeTimeFrame: - return flattenRelativeDashboardTimeFrame(ctx, d.GetRelativeTimeFrame()) + return flattenRelativeDashboardTimeFrame(ctx, timeFrameType.RelativeTimeFrame) default: - return nil, nil + return types.ObjectNull(dashboardFolderModelAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Dashboard Time Frame", fmt.Sprintf("unknown time frame type %T", timeFrameType))} } } -func flattenAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame *dashboards.TimeFrame) (*DashboardTimeFrameModel, diag.Diagnostics) { +func flattenAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame *dashboards.TimeFrame) (types.Object, diag.Diagnostics) { absoluteTimeFrame := &DashboardTimeFrameAbsoluteModel{ Start: types.StringValue(timeFrame.GetFrom().String()), End: types.StringValue(timeFrame.GetTo().String()), } timeFrameObject, dgs := types.ObjectValueFrom(ctx, absoluteTimeFrameAttributes(), absoluteTimeFrame) if dgs.HasError() { - return nil, dgs + return types.ObjectNull(dashboardTimeFrameModelAttr()), dgs } - return &DashboardTimeFrameModel{ + flattenedTimeFrame := &DashboardTimeFrameModel{ Absolute: timeFrameObject, Relative: types.ObjectNull(relativeTimeFrameAttributes()), + } + return types.ObjectValueFrom(ctx, dashboardTimeFrameModelAttr(), flattenedTimeFrame) +} + +func flattenDashboardFolder(ctx context.Context, planedDashboard types.Object, dashboard *dashboards.Dashboard) (types.Object, diag.Diagnostics) { + if dashboard.GetFolder() == nil { + return types.ObjectNull(dashboardFolderModelAttr()), nil + } + switch folderType := dashboard.GetFolder().(type) { + case *dashboards.Dashboard_FolderId: + path := types.StringNull() + if !(planedDashboard.IsNull() || planedDashboard.IsUnknown()) { + var folderModel DashboardFolderModel + dgs := planedDashboard.As(context.Background(), &folderModel, basetypes.ObjectAsOptions{}) + if dgs.HasError() { + return types.ObjectNull(dashboardFolderModelAttr()), dgs + } + if !(folderModel.Path.IsUnknown() || folderModel.Path.IsNull()) { + path = folderModel.Path + } + } + + folderObject := &DashboardFolderModel{ + ID: types.StringValue(folderType.FolderId.GetValue()), + Path: path, + } + return types.ObjectValueFrom(ctx, dashboardFolderModelAttr(), folderObject) + case *dashboards.Dashboard_FolderPath: + folderObject := &DashboardFolderModel{ + ID: types.StringNull(), + Path: types.StringValue(strings.Join(folderType.FolderPath.GetSegments(), "/")), + } + return types.ObjectValueFrom(ctx, dashboardFolderModelAttr(), folderObject) + default: + return types.ObjectNull(dashboardFolderModelAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Dashboard Folder", fmt.Sprintf("unknown folder type %T", dashboard.GetFolder()))} + } +} + +func flattenDashboardAnnotations(ctx context.Context, annotations []*dashboards.Annotation) (types.List, diag.Diagnostics) { + if len(annotations) == 0 { + return types.ListNull(types.ObjectType{AttrTypes: dashboardsAnnotationsModelAttr()}), nil + } + + var diagnostics diag.Diagnostics + annotationsElements := make([]attr.Value, 0, len(annotations)) + for _, annotation := range annotations { + flattenedAnnotation, diags := flattenDashboardAnnotation(ctx, annotation) + if diags.HasError() { + diagnostics.Append(diags...) + continue + } + annotationElement, diags := types.ObjectValueFrom(ctx, dashboardsAnnotationsModelAttr(), flattenedAnnotation) + if diags.HasError() { + diagnostics.Append(diags...) + continue + } + annotationsElements = append(annotationsElements, annotationElement) + } + + return types.ListValueMust(types.ObjectType{AttrTypes: dashboardsAnnotationsModelAttr()}, annotationsElements), diagnostics +} + +func flattenDashboardAnnotation(ctx context.Context, annotation *dashboards.Annotation) (*DashboardAnnotationModel, diag.Diagnostics) { + if annotation == nil { + return nil, nil + } + + source, diags := flattenDashboardAnnotationSource(ctx, annotation.GetSource()) + if diags.HasError() { + return nil, diags + } + + return &DashboardAnnotationModel{ + ID: wrapperspbStringToTypeString(annotation.GetId()), + Name: wrapperspbStringToTypeString(annotation.GetName()), + Enabled: wrapperspbBoolToTypeBool(annotation.GetEnabled()), + Source: source, }, nil } +func flattenDashboardAnnotationSource(ctx context.Context, source *dashboards.Annotation_Source) (types.Object, diag.Diagnostics) { + if source == nil { + return types.ObjectNull(dashboardsAnnotationsModelAttr()), nil + } + + metricSourceObject, diags := flattenDashboardAnnotationMetricSourceModel(ctx, source.GetMetrics()) + if diags.HasError() { + return types.ObjectNull(annotationSourceModelAttr()), diags + } + sourceObject := &DashboardAnnotationSourceModel{ + Metric: metricSourceObject, + } + + return types.ObjectValueFrom(ctx, annotationSourceModelAttr(), sourceObject) +} + +func flattenDashboardAnnotationMetricSourceModel(ctx context.Context, metricSource *dashboards.Annotation_MetricsSource) (types.Object, diag.Diagnostics) { + if metricSource == nil { + return types.ObjectNull(dashboardsAnnotationsMetricSourceModelAttr()), nil + } + + strategy, diags := flattenDashboardAnnotationStrategy(ctx, metricSource.GetStrategy()) + if diags.HasError() { + return types.ObjectNull(dashboardsAnnotationsMetricSourceModelAttr()), diags + } + + metricSourceObject := &DashboardAnnotationMetricSourceModel{ + PromqlQuery: wrapperspbStringToTypeString(metricSource.GetPromqlQuery().GetValue()), + Strategy: strategy, + MessageTemplate: wrapperspbStringToTypeString(metricSource.GetMessageTemplate()), + Labels: wrappedStringSliceToTypeStringList(metricSource.GetLabels()), + } + + return types.ObjectValueFrom(ctx, dashboardsAnnotationsMetricSourceModelAttr(), metricSourceObject) +} + +func flattenDashboardAnnotationStrategy(ctx context.Context, strategy *dashboards.Annotation_MetricsSource_Strategy) (types.Object, diag.Diagnostics) { + if strategy == nil { + return types.ObjectNull(metricStrategyModelAttr()), nil + } + startTime, diags := types.ObjectValueFrom(ctx, map[string]attr.Type{}, &MetricStrategyStartTimeModel{}) + if diags.HasError() { + return types.ObjectNull(metricStrategyModelAttr()), diags + } + strategyObject := &DashboardAnnotationMetricStrategyModel{ + StartTime: startTime, + } + + return types.ObjectValueFrom(ctx, metricStrategyModelAttr(), strategyObject) +} + +func dashboardTimeFrameModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "absolute": types.ObjectType{AttrTypes: absoluteTimeFrameAttributes()}, + "relative": types.ObjectType{AttrTypes: relativeTimeFrameAttributes()}, + } +} + func absoluteTimeFrameAttributes() map[string]attr.Type { return map[string]attr.Type{ "start": types.StringType, @@ -7941,18 +8792,19 @@ func absoluteTimeFrameAttributes() map[string]attr.Type { } } -func flattenRelativeDashboardTimeFrame(ctx context.Context, timeFrame *durationpb.Duration) (*DashboardTimeFrameModel, diag.Diagnostics) { +func flattenRelativeDashboardTimeFrame(ctx context.Context, timeFrame *durationpb.Duration) (types.Object, diag.Diagnostics) { relativeTimeFrame := &DashboardTimeFrameRelativeModel{ Duration: types.StringValue(timeFrame.String()), } timeFrameObject, dgs := types.ObjectValueFrom(ctx, relativeTimeFrameAttributes(), relativeTimeFrame) if dgs.HasError() { - return nil, dgs + return types.ObjectNull(dashboardTimeFrameModelAttr()), dgs } - return &DashboardTimeFrameModel{ + flattenedTimeFrame := &DashboardTimeFrameModel{ Relative: timeFrameObject, Absolute: types.ObjectNull(absoluteTimeFrameAttributes()), - }, nil + } + return types.ObjectValueFrom(ctx, dashboardTimeFrameModelAttr(), flattenedTimeFrame) } func relativeTimeFrameAttributes() map[string]attr.Type { @@ -8045,7 +8897,7 @@ func (r *DashboardResource) Update(ctx context.Context, req resource.UpdateReque } updateDashboardRespStr := protojson.Format(getDashboardResp.GetDashboard()) - log.Printf("[INFO] Submitted updated Dashboard: %#v", updateDashboardRespStr) + log.Printf("[INFO] Submitted updated Dashboard: %s", updateDashboardRespStr) flattenedDashboard, diags := flattenDashboard(ctx, plan, getDashboardResp.GetDashboard()) if diags.HasError() { diff --git a/coralogix/resource_coralogix_dashboard_test.go b/coralogix/resource_coralogix_dashboard_test.go index 3d65af77..1d31fa2d 100644 --- a/coralogix/resource_coralogix_dashboard_test.go +++ b/coralogix/resource_coralogix_dashboard_test.go @@ -8,7 +8,7 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - dashboard "terraform-provider-coralogix/coralogix/clientset/grpc/coralogix-dashboards/v1" + dashboard "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" "google.golang.org/protobuf/types/known/wrapperspb" @@ -282,13 +282,15 @@ func testAccCoralogixResourceDashboard() string { } variables = [ { - name = "test_variable" - definition = { + name = "test_variable" + display_name = "Test Variable" + definition = { multi_select = { selected_values = ["1", "2", "3"] source = { constant_list = ["1", "2", "3"] } + values_order_direction = "asc" } } }, diff --git a/coralogix/resource_coralogix_dashboards_folder.go b/coralogix/resource_coralogix_dashboards_folder.go new file mode 100644 index 00000000..cafd2c18 --- /dev/null +++ b/coralogix/resource_coralogix_dashboards_folder.go @@ -0,0 +1,261 @@ +package coralogix + +import ( + "context" + "fmt" + "log" + + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/types" + "google.golang.org/protobuf/encoding/protojson" + "google.golang.org/protobuf/types/known/wrapperspb" + "terraform-provider-coralogix/coralogix/clientset" + dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" +) + +var ( + createDashboardsFolderURL = "com.coralogixapis.dashboards.v1.services.DashboardFoldersService/CreateDashboardFolder" + listDashboardsFoldersURL = "com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ListDashboardFolders" + deleteDashboardsFolderURL = "com.coralogixapis.dashboards.v1.services.DashboardFoldersService/DeleteDashboardFolder" + updateDashboardsFolderURL = "com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ReplaceDashboardFolder" + _ resource.ResourceWithConfigure = &DashboardsFolderResource{} + _ resource.ResourceWithImportState = &DashboardsFolderResource{} +) + +func NewDashboardsFolderResource() resource.Resource { + return &DashboardsFolderResource{} +} + +type DashboardsFolderResource struct { + client *clientset.DashboardsFoldersClient +} + +func (r *DashboardsFolderResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { + resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) +} + +func (r *DashboardsFolderResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse) { + if req.ProviderData == nil { + return + } + + clientSet, ok := req.ProviderData.(*clientset.ClientSet) + if !ok { + resp.Diagnostics.AddError( + "Unexpected Resource Configure Type", + fmt.Sprintf("Expected *clientset.ClientSet, got: %T. Please report this issue to the provider developers.", req.ProviderData), + ) + return + } + + r.client = clientSet.DashboardsFolders() +} + +type DashboardsFolderResourceModel struct { + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` +} + +func (r *DashboardsFolderResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { + resp.TypeName = req.ProviderTypeName + "_dashboards_folder" +} + +func (r *DashboardsFolderResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { + resp.Schema = schema.Schema{ + Version: 1, + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + MarkdownDescription: "Unique identifier for the folder.", + }, + "name": schema.StringAttribute{ + Optional: true, + MarkdownDescription: "Display name of the folder.", + }, + }, + } + return +} + +func (r *DashboardsFolderResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) { + var plan DashboardsFolderResourceModel + diags := req.Plan.Get(ctx, &plan) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + dashboardsFolder := extractCreateDashboardsFolder(plan) + id := dashboardsFolder.GetId().GetValue() + dashboardsFolderStr := protojson.Format(dashboardsFolder) + log.Printf("[INFO] Creating new Dashboards Folder: %s", dashboardsFolderStr) + _, err := r.client.CreateDashboardsFolder(ctx, &dashboards.CreateDashboardFolderRequest{Folder: dashboardsFolder}) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + resp.Diagnostics.AddError("Error Creating Dashboards Folder", + formatRpcErrors(err, createDashboardsFolderURL, dashboardsFolderStr), + ) + return + } + listResp, err := r.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + resp.Diagnostics.AddError("Error Listing Dashboards Folders", + formatRpcErrors(err, listDashboardsFoldersURL, protojson.Format(&dashboards.ListDashboardFoldersRequest{})), + ) + return + } + dashboardsFolder = nil + for _, folder := range listResp.GetFolder() { + if folder.GetId().GetValue() == id { + dashboardsFolder = folder + break + } + } + if dashboardsFolder == nil { + log.Printf("[ERROR] Could not find created folder with id: %s", id) + resp.Diagnostics.AddError("Error Listing Dashboards Folders", + fmt.Sprintf("Could not find created folder with id: %s", id), + ) + return + } + + log.Printf("[INFO] Submitted new Dashboards Folder: %s", protojson.Format(dashboardsFolder)) + + plan = flattenDashboardsFolder(dashboardsFolder) + + // Set state to fully populated data + diags = resp.State.Set(ctx, plan) + resp.Diagnostics.Append(diags...) +} + +func flattenDashboardsFolder(folder *dashboards.DashboardFolder) DashboardsFolderResourceModel { + return DashboardsFolderResourceModel{ + ID: wrapperspbStringToTypeString(folder.GetId()), + Name: wrapperspbStringToTypeString(folder.GetName()), + } +} + +func extractCreateDashboardsFolder(plan DashboardsFolderResourceModel) *dashboards.DashboardFolder { + return &dashboards.DashboardFolder{ + Id: expandUuid(plan.ID), + Name: typeStringToWrapperspbString(plan.Name), + } +} + +func (r *DashboardsFolderResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) { + var state DashboardsFolderResourceModel + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + listResp, err := r.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + formatRpcErrors(err, listDashboardsFoldersURL, protojson.Format(&dashboards.ListDashboardFoldersRequest{})) + return + } + var dashboardsFolder *dashboards.DashboardFolder + for _, folder := range listResp.GetFolder() { + if folder.GetId().GetValue() == state.ID.ValueString() { + dashboardsFolder = folder + break + } + } + if dashboardsFolder == nil { + log.Printf("[ERROR] Could not find created folder with id: %s", state.ID.ValueString()) + resp.Diagnostics.AddError("Error Listing Dashboards Folders", + fmt.Sprintf("Could not find created folder with id: %s", state.ID.ValueString()), + ) + return + } + + log.Printf("[INFO] Recived Dashboards Folder: %s", protojson.Format(dashboardsFolder)) + + state = flattenDashboardsFolder(dashboardsFolder) + + // Set state to fully populated data + diags = resp.State.Set(ctx, state) + resp.Diagnostics.Append(diags...) +} + +func (r *DashboardsFolderResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) { + var plan DashboardsFolderResourceModel + diags := req.Plan.Get(ctx, &plan) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + dashboardsFolder := extractCreateDashboardsFolder(plan) + dashboardsFolderStr := protojson.Format(dashboardsFolder) + log.Printf("[INFO] Creating new Dashboards Folder: %s", dashboardsFolderStr) + _, err := r.client.UpdateDashboardsFolder(ctx, &dashboards.ReplaceDashboardFolderRequest{Folder: dashboardsFolder}) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + resp.Diagnostics.AddError("Error Creating Dashboards Folder", + formatRpcErrors(err, updateDashboardsFolderURL, dashboardsFolderStr), + ) + return + } + listResp, err := r.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + resp.Diagnostics.AddError("Error Listing Dashboards Folders", + formatRpcErrors(err, listDashboardsFoldersURL, protojson.Format(&dashboards.ListDashboardFoldersRequest{})), + ) + return + } + dashboardsFolder = nil + for _, folder := range listResp.GetFolder() { + if folder.GetId().GetValue() == plan.ID.ValueString() { + dashboardsFolder = folder + break + } + } + if dashboardsFolder == nil { + log.Printf("[ERROR] Could not find created folder with id: %s", plan.ID.ValueString()) + resp.Diagnostics.AddError("Error Listing Dashboards Folders", + fmt.Sprintf("Could not find created folder with id: %s", plan.ID.ValueString()), + ) + return + } + + log.Printf("[INFO] Submitted new Dashboards Folder: %s", protojson.Format(dashboardsFolder)) + + plan = flattenDashboardsFolder(dashboardsFolder) + + // Set state to fully populated data + diags = resp.State.Set(ctx, plan) + resp.Diagnostics.Append(diags...) +} + +func (r *DashboardsFolderResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) { + var state DashboardsFolderResourceModel + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + id := state.ID.ValueString() + log.Printf("[INFO] Deleting Dashboards Folder %s", id) + deleteReq := &dashboards.DeleteDashboardFolderRequest{FolderId: wrapperspb.String(id)} + if _, err := r.client.DeleteDashboardsFolder(ctx, deleteReq); err != nil { + resp.Diagnostics.AddError( + fmt.Sprintf("Error Deleting Dashboard %s", id), + formatRpcErrors(err, deleteDashboardsFolderURL, protojson.Format(deleteReq)), + ) + return + } + log.Printf("[INFO] Dashboards Folder %s deleted", id) +} diff --git a/coralogix/resource_coralogix_dashboards_folder_test.go b/coralogix/resource_coralogix_dashboards_folder_test.go new file mode 100644 index 00000000..8b5c93bb --- /dev/null +++ b/coralogix/resource_coralogix_dashboards_folder_test.go @@ -0,0 +1,65 @@ +package coralogix + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + "terraform-provider-coralogix/coralogix/clientset" + dashboard "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" +) + +var dashboardsFolderResourceName = "coralogix_dashboards_folder.test" + +func TestAccCoralogixResourceDashboardsFolder(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckDashboardsFolderDestroy, + Steps: []resource.TestStep{ + { + + Config: testAccCoralogixResourceDashboardsFolder(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttrSet(dashboardsFolderResourceName, "id"), + resource.TestCheckResourceAttr(dashboardsFolderResourceName, "name", "test"), + ), + }, + { + ResourceName: dashboardsFolderResourceName, + ImportState: true, + ImportStateVerify: true, + }, + }, + }) +} +func testAccCoralogixResourceDashboardsFolder() string { + return `resource "coralogix_dashboards_folder" "test" { + name = "test" + } +` +} + +func testAccCheckDashboardsFolderDestroy(s *terraform.State) error { + client := testAccProvider.Meta().(*clientset.ClientSet).DashboardsFolders() + + ctx := context.TODO() + + for _, rs := range s.RootModule().Resources { + if rs.Type != "coralogix_dashboards_folder" { + continue + } + resp, err := client.GetDashboardsFolders(ctx, &dashboard.ListDashboardFoldersRequest{}) + if err == nil { + for _, folder := range resp.GetFolder() { + if folder.GetId().GetValue() == rs.Primary.ID { + return fmt.Errorf("dashboard folder still exists: %s", rs.Primary.ID) + } + } + } + } + + return nil +} diff --git a/docs/data-sources/dashboard.md b/docs/data-sources/dashboard.md index 6d9cb55c..4be6fe62 100644 --- a/docs/data-sources/dashboard.md +++ b/docs/data-sources/dashboard.md @@ -21,14 +21,58 @@ description: |- ### Read-Only +- `annotations` (Attributes List) (see [below for nested schema](#nestedatt--annotations)) - `content_json` (String) an option to set the dashboard content from a json file. - `description` (String) Brief description or summary of the dashboard's purpose or content. - `filters` (Attributes List) List of filters that can be applied to the dashboard's data. (see [below for nested schema](#nestedatt--filters)) +- `folder` (Attributes) (see [below for nested schema](#nestedatt--folder)) - `layout` (Attributes) Layout configuration for the dashboard's visual elements. (see [below for nested schema](#nestedatt--layout)) - `name` (String) Display name of the dashboard. - `time_frame` (Attributes) Specifies the time frame for the dashboard's data. Can be either absolute or relative. (see [below for nested schema](#nestedatt--time_frame)) - `variables` (Attributes List) List of variables that can be used within the dashboard for dynamic content. (see [below for nested schema](#nestedatt--variables)) + +### Nested Schema for `annotations` + +Read-Only: + +- `enabled` (Boolean) +- `id` (String) +- `name` (String) +- `source` (Attributes) (see [below for nested schema](#nestedatt--annotations--source)) + + +### Nested Schema for `annotations.source` + +Read-Only: + +- `metric` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric)) + + +### Nested Schema for `annotations.source.metric` + +Read-Only: + +- `labels` (List of String) +- `message_template` (String) +- `promql_query` (String) +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--strategy)) + + +### Nested Schema for `annotations.source.metric.strategy` + +Read-Only: + +- `start_time` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--strategy--start_time)) + + +### Nested Schema for `annotations.source.metric.strategy.start_time` + + + + + + ### Nested Schema for `filters` @@ -123,6 +167,15 @@ Read-Only: + +### Nested Schema for `folder` + +Read-Only: + +- `id` (String) +- `path` (String) + + ### Nested Schema for `layout` @@ -185,7 +238,7 @@ Read-Only: - `scale_type` (String) - `sort_by` (String) The field to sort by. Can be one of unspecified, value, name. - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of milliseconds, mbytes, bytes_iec, kibytes, kbytes, gbytes, mibytes, gibytes, unspecified, microseconds, seconds, bytes. +- `unit` (String) The unit of the chart. Can be one of bytes, mbytes, kibytes, mibytes, bytes_iec, gibytes, unspecified, microseconds, milliseconds, seconds, kbytes, gbytes. - `xaxis` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis)) @@ -193,10 +246,106 @@ Read-Only: Read-Only: +- `data_prime` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--data_prime)) - `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--logs)) - `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--metrics)) - `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans)) + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans` + +Read-Only: + +- `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters)) +- `group_names` (List of String) +- `query` (String) +- `stacked_group_name` (String) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters` + +Read-Only: + +- `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--logs)) +- `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--metrics)) +- `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--spans)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans` + +Read-Only: + +- `field` (String) Field in the logs to apply the filter on. +- `observation_field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--spans--observation_field)) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Read-Only: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans` + +Read-Only: + +- `label` (String) +- `metric_name` (String) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Read-Only: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans` + +Read-Only: + +- `field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--spans--field)) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Read-Only: + +- `type` (String) The type of the field. Can be one of ["metadata" "tag" "process_tag"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["unspecified" "application_name" "subsystem_name" "service_name" "operation_name"] + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Read-Only: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + + + + + ### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.xaxis.spans` @@ -323,8 +472,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -416,7 +565,7 @@ Read-Only: - `order_by` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--order_by)) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--query)) - `results_per_page` (Number) The number of results to display per page. -- `row_style` (String) The style of the rows. Can be one of ["condensed" "json" "one_line" "two_line"]. +- `row_style` (String) The style of the rows. Can be one of ["one_line" "two_line" "condensed" "json"]. ### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.row_style` @@ -433,7 +582,7 @@ Read-Only: Read-Only: - `field` (String) -- `order_direction` (String) The order direction. Can be one of ["unspecified" "asc" "desc"]. +- `order_direction` (String) The order direction. Can be one of ["asc" "desc"]. @@ -714,8 +863,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -746,7 +895,7 @@ Read-Only: - `show_outer_arc` (Boolean) - `threshold_by` (String) The threshold by. Can be one of ["unspecified" "value" "background"]. - `thresholds` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--thresholds)) -- `unit` (String) The unit of the gauge. Can be one of ["milliseconds" "bytes" "kibytes" "euro_cents" "usd_cents" "usd" "seconds" "mbytes" "gibytes" "euro" "gbytes" "mibytes" "none" "percent" "microseconds" "kbytes" "bytes_iec"]. +- `unit` (String) The unit of the gauge. Can be one of ["usd_cents" "none" "milliseconds" "bytes" "kbytes" "euro" "usd" "percent" "microseconds" "seconds" "mbytes" "kibytes" "mibytes" "gibytes" "gbytes" "bytes_iec" "euro_cents"]. ### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit` @@ -979,8 +1128,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1011,7 +1160,7 @@ Read-Only: - `scale_type` (String) - `sort_by` (String) - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of milliseconds, mbytes, bytes_iec, kibytes, kbytes, gbytes, mibytes, gibytes, unspecified, microseconds, seconds, bytes. +- `unit` (String) The unit of the chart. Can be one of bytes, mbytes, kibytes, mibytes, bytes_iec, gibytes, unspecified, microseconds, milliseconds, seconds, kbytes, gbytes. - `y_axis_view_by` (String) @@ -1149,8 +1298,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1245,7 +1394,7 @@ Read-Only: - `scale_type` (String) The scale type. Valid values are: unspecified, linear, logarithmic. - `series_count_limit` (Number) - `series_name_template` (String) -- `unit` (String) The unit. Valid values are: milliseconds, mbytes, bytes_iec, kibytes, kbytes, gbytes, mibytes, gibytes, unspecified, microseconds, seconds, bytes. +- `unit` (String) The unit. Valid values are: bytes, mbytes, kibytes, mibytes, bytes_iec, gibytes, unspecified, microseconds, milliseconds, seconds, kbytes, gbytes. ### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.tooltip.unit` @@ -1358,8 +1507,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1463,10 +1612,106 @@ Read-Only: Read-Only: +- `data_prime` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--data_prime)) - `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--logs)) - `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--metrics)) - `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans)) + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans` + +Read-Only: + +- `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters)) +- `group_names` (List of String) +- `query` (String) +- `stacked_group_name` (String) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters` + +Read-Only: + +- `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--logs)) +- `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--metrics)) +- `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--spans)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans` + +Read-Only: + +- `field` (String) Field in the logs to apply the filter on. +- `observation_field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--spans--observation_field)) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans.operator` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans.operator` + +Read-Only: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans` + +Read-Only: + +- `label` (String) +- `metric_name` (String) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans.operator` + +Read-Only: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans` + +Read-Only: + +- `field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--spans--field)) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans.operator` + +Read-Only: + +- `type` (String) The type of the field. Can be one of ["metadata" "tag" "process_tag"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["unspecified" "application_name" "subsystem_name" "service_name" "operation_name"] + + + +### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans.filters.spans.operator` + +Read-Only: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + + + + + ### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit.spans` @@ -1593,8 +1838,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1710,7 +1955,7 @@ Read-Only: - `selected_values` (List of String) - `source` (Attributes) (see [below for nested schema](#nestedatt--variables--definition--multi_select--source)) -- `values_order_direction` (String) The order direction of the values. Can be one of `unspecified`, `asc`, `desc`. +- `values_order_direction` (String) The order direction of the values. Can be one of `asc`, `desc`. ### Nested Schema for `variables.definition.multi_select.values_order_direction` diff --git a/docs/resources/alert.md b/docs/resources/alert.md index 332bf49a..1d50c337 100644 --- a/docs/resources/alert.md +++ b/docs/resources/alert.md @@ -1140,3 +1140,17 @@ Optional: - `group_by_key` (String) The key to 'group by' on. - `max_unique_values_for_group_by` (Number) + +### Import +```sh +terraform import coralogix_alert.example +``` + +to get the alert id run the following command and look for the **uniqueIdentifier (and not id)** field of the alert you want to import: +```sh +grpcurl -H "Authorization: Bearer " -d @ ng-api-grpc.:443 com.coralogix.alerts.v2.AlertService/GetAlerts < +``` \ No newline at end of file diff --git a/docs/resources/dashboard.md b/docs/resources/dashboard.md index 38f0a2c4..a8b30250 100644 --- a/docs/resources/dashboard.md +++ b/docs/resources/dashboard.md @@ -36,7 +36,6 @@ resource "coralogix_dashboard" dashboard { field = "meta.responseTime.numeric" }, ] - group_by = [ "meta.organization.keyword" ] @@ -45,6 +44,9 @@ resource "coralogix_dashboard" dashboard { scale_type = "linear" series_count_limit = 100 unit = "milliseconds" + resolution = { + interval = "seconds:900" + } }, ] legend = { @@ -59,37 +61,486 @@ resource "coralogix_dashboard" dashboard { } }, { - title = "Avg Snowflake query times" + title = "Avg Snowflake query times" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "kubernetes.namespace_name:\"portal\" AND \"Successfully executed\"" + aggregations = [ + { + type = "percentile" + field = "sfResponseTime.numeric" + percent = 95.5 + }, + ] + group_by = [ + "sfDatabase.keyword" + ] + } + } + scale_type = "linear" + series_count_limit = 100 + unit = "milliseconds" + }, + ] + legend = { + is_visible = true + columns = ["avg"] + } + tooltip = { + show_labels = false + type = "all" + } + } + } + }, + { + title = "Avg RDS query times" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "kubernetes.namespace_name:\"portal\" AND kubernetes.pod_name.keyword:/api-deployment.*/ AND \"Postgres successfully\"" + aggregations = [ + { + type = "avg" + field = "RDSResponseTime.numeric" + }, + ] + group_by = [ + "RDSDatabase.keyword" + ] + } + } + scale_type = "linear" + series_count_limit = 100 + unit = "milliseconds" + resolution = { + buckets_presented = 10 + } + }, + ] + legend = { + is_visible = true + columns = ["avg"] + } + tooltip = { + show_labels = false + type = "all" + } + } + } + width = 10 + }, + ] + }, + { + height = 15 + widgets = [ + { + title = "OpenAPI - Avg response times" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "kubernetes.namespace_name:\"portal\" AND kubernetes.pod_name.keyword:/openapi-deployment.*/ AND message:\"HTTP\" AND NOT \"OPTIONS\" AND NOT \"metrics\" AND NOT \"firebase\"" + aggregations = [ + { + type = "avg" + field = "meta.responseTime.numeric" + }, + ] + group_by = [ + "meta.organization.keyword" + ] + } + } + scale_type = "linear" + series_count_limit = 100 + unit = "milliseconds" + }, + ] + legend = { + is_visible = true + columns = ["avg", "max"] + } + tooltip = { + show_labels = false + type = "all" + } + } + } + width = 10 + }, + { + title = "gauge" + definition = { + gauge = { + unit = "milliseconds" + query = { + metrics = { + promql_query = "vector(1)" + aggregation = "unspecified" + } + } + } + } + } + ] + }, + { + height = 15 + widgets = [ + { + title = "Open API Requests per organization" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "kubernetes.namespace_name:\"portal\" AND (service:\"api.eu.name.ai-production\" OR service:\"api.us.name.ai-production\")" + aggregations = [ + { + type = "count" + }, + ] + group_by = [ + "meta.organization.keyword" + ] + } + } + scale_type = "linear" + series_count_limit = 100 + }, + ] + legend = { + is_visible = true + } + tooltip = { + show_labels = false + type = "all" + } + } + } + width = 0 + }, + { + title = "Last failed SF queries DBs" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "kubernetes.namespace_name:\"portal\" AND \"Failed to execute statement\"" + aggregations = [ + { + type = "count" + } + ] + group_by = [ + "sfDatabase.keyword" + ] + } + } + scale_type = "linear" + series_count_limit = 100 + }, + ] + legend = { + is_visible = true + } + tooltip = { + show_labels = false + type = "all" + } + } + } + width = 0 + }, + { + title = "Avg configuration service query times" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "kubernetes.namespace_name:\"portal\" AND kubernetes.pod_name.keyword:/api-deployment.*/ AND \"Configuration Service request\"" + aggregations = [ + { + type = "avg" + field = "configResponseTime.numeric" + }, + ] + } + } + scale_type = "linear" + series_count_limit = 100 + }, + ] + legend = { + is_visible = false + } + tooltip = { + show_labels = false + type = "all" + } + } + } + }, + ] + height = 15 + }, + { + height = 19 + widgets = [ + { + title = "Slowest API requests" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = " kubernetes.namespace_name:\"portal\" AND kubernetes.pod_name.keyword:/api-deployment.*/ AND message:\"http\"" + aggregations = [ + { + type = "max" + field = "meta.responseTime.numeric" + }, + ] + group_by = [ + "meta.req.url.keyword" + ] + } + } + scale_type = "linear" + series_count_limit = 10 + unit = "milliseconds" + }, + ] + legend = { + is_visible = true + columns = ["max"] + } + tooltip = { + show_labels = false + type = "all" + } + } + } + }, + ] + }, + { + height = 19 + widgets = [ + { + title = "Cache warmer runs" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "kubernetes.namespace_name:\"portal\" AND kubernetes.container_name:\"portal-cache-warmer\" AND message:\"Finish cache warmer run successfully\"" + aggregations = [ + { + type = "count" + }, + ] + } + } + scale_type = "linear" + series_count_limit = 20 + }, + ] + legend = { + is_visible = true + } + tooltip = { + show_labels = false + type = "all" + } + } + } + }, + { + title = "Alerts notification eu runs" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "service:\"portal-eu-notify-alerts-production\" AND \"Finished notify new alerts\"" + aggregations = [ + { + type = "count" + }, + ] + } + } + scale_type = "linear" + series_count_limit = 20 + }, + ] + legend = { + is_visible = true + } + tooltip = { + show_labels = false + type = "all" + } + } + } + }, + { + title = "Alerts notification runs" + definition = { + line_chart = { + query_definitions = [ + { + query = { + logs = { + lucene_query = "service:\"portal-notify-alerts-production\" AND \"Finished notify new alerts\"" + aggregations = [ + { + type = "count" + }, + ] + } + } + }, + ] + scale_type = "linear" + series_count_limit = 20 + } + legend = { + is_visible = true + } + tooltip = { + show_labels = false + type = "all" + } + } + }, + { + title = "Alerts notification us runs" + definition = { + pie_chart = { + query = { + logs = { + lucene_query = "service:\"portal-us-notify-alerts-production\" AND \"Finished notify new alerts\"" + aggregation = { + type = "count" + } + group_names = [ + "service.keyword" + ] + } + } + label_definition = { + } + } + } + }, + { + title = "Alerts notification us runs" + definition = { + bar_chart = { + query = { + logs = { + lucene_query = "service:\"portal-us-notify-alerts-production\" AND \"Finished notify new alerts\"" + aggregation = { + type = "count" + } + group_names_fields = [ + { + keypath = ["logid"] + scope = "metadata" + }, + ] + stacked_group_name_field = { + keypath = ["logid"] + scope = "metadata" + } + } + } + xaxis = { + time = { + interval = "1h0m5s" + buckets_presented = 10 + } + } + } + } + }, + { + title = "Horizontal Bar-Chart" + definition = { + horizontal_bar_chart = { + color_scheme = "cold" + colors_by = "aggregation" + display_on_bar = true + query = { + logs = { + lucene_query = "service:\"portal-us-notify-alerts-production\" AND \"Finished notify new alerts\"" + aggregation = { + type = "count" + } + group_names = ["coralogix.logId.keyword"] + stacked_group_name = "coralogix.metadata.severity" + } + } + y_axis_view_by = "value" + } + } + }, + { + definition = { + markdown = { + markdown_text = "## Markdown\n\nThis is a markdown widget" + tooltip_text = "This is a tooltip" + } + } + }, + { + title = "Data Table" definition = { - line_chart = { - query_definitions = [ - { - query = { - logs = { - lucene_query = "kubernetes.namespace_name:\"portal\" AND \"Successfully executed\"" - aggregations = [ - { - type = "avg" - field = "sfResponseTime.numeric" - }, - ] - group_by = [ - "sfDatabase.keyword" - ] - } - } - scale_type = "linear" - series_count_limit = 100 - unit = "milliseconds" - }, - ] - legend = { - is_visible = true - columns = ["avg"] - } - tooltip = { - show_labels = false - type = "all" + data_table = { + results_per_page = 10 + row_style = "one_line" + query = { + data_prime = { + query = "xxx" + filters = [ + { + logs = { + lucene_query = "service:\"portal-us-notify-alerts-production\" AND \"Finished notify new alerts\"" + aggregation = { + type = "count" + } + group_names = ["coralogix.logId.keyword"] + stacked_group_name = "coralogix.metadata.severity" + field = "coralogix.metadata.applicationName" + operator = { + type = "equals" + selected_values = ["staging"] + } + } + }, + ] + } } } } @@ -102,13 +553,15 @@ resource "coralogix_dashboard" dashboard { } variables = [ { - name = "test_variable" - definition = { + name = "test_variable" + display_name = "Test Variable" + definition = { multi_select = { selected_values = ["1", "2", "3"] source = { constant_list = ["1", "2", "3"] } + values_order_direction = "asc" } } }, @@ -128,6 +581,24 @@ resource "coralogix_dashboard" dashboard { } }, ] + annotations = [ + { + name = "test_annotation" + source = { + metric = { + promql_query = "vector(1)" + strategy = { + start_time = {} + } + message_template = "test annotation" + labels = ["test"] + } + } + }, + ] + folder = { + id = coralogix_dashboards_folder.example.id + } } ``` @@ -143,9 +614,11 @@ resource "coralogix_dashboard" dashboard_from_json { ### Optional +- `annotations` (Attributes List) (see [below for nested schema](#nestedatt--annotations)) - `content_json` (String) an option to set the dashboard content from a json file. - `description` (String) Brief description or summary of the dashboard's purpose or content. - `filters` (Attributes List) List of filters that can be applied to the dashboard's data. (see [below for nested schema](#nestedatt--filters)) +- `folder` (Attributes) (see [below for nested schema](#nestedatt--folder)) - `layout` (Attributes) Layout configuration for the dashboard's visual elements. (see [below for nested schema](#nestedatt--layout)) - `name` (String) Display name of the dashboard. - `time_frame` (Attributes) Specifies the time frame for the dashboard's data. Can be either absolute or relative. (see [below for nested schema](#nestedatt--time_frame)) @@ -155,6 +628,54 @@ resource "coralogix_dashboard" dashboard_from_json { - `id` (String) Unique identifier for the dashboard. + +### Nested Schema for `annotations` + +Required: + +- `name` (String) +- `source` (Attributes) (see [below for nested schema](#nestedatt--annotations--source)) + +Optional: + +- `enabled` (Boolean) +- `id` (String) + + +### Nested Schema for `annotations.source` + +Required: + +- `metric` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric)) + + +### Nested Schema for `annotations.source.metric` + +Required: + +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--strategy)) + +Optional: + +- `labels` (List of String) +- `message_template` (String) +- `promql_query` (String) + + +### Nested Schema for `annotations.source.metric.promql_query` + +Required: + +- `start_time` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--promql_query--start_time)) + + +### Nested Schema for `annotations.source.metric.promql_query.start_time` + + + + + + ### Nested Schema for `filters` @@ -264,6 +785,15 @@ Optional: + +### Nested Schema for `folder` + +Optional: + +- `id` (String) +- `path` (String) + + ### Nested Schema for `layout` @@ -349,10 +879,121 @@ Optional: Optional: +- `data_prime` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--data_prime)) - `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--logs)) - `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--metrics)) - `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans)) + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans` + +Required: + +- `query` (String) + +Optional: + +- `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters)) +- `group_names` (List of String) +- `stacked_group_name` (String) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters` + +Optional: + +- `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--logs)) +- `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--metrics)) +- `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--spans)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans` + +Required: + +- `field` (String) Field in the logs to apply the filter on. +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--spans--operator)) + +Optional: + +- `observation_field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--spans--observation_field)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans.observation_field` + +Required: + +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + +Optional: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans.observation_field` + +Optional: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans` + +Required: + +- `label` (String) +- `metric_name` (String) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Required: + +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + +Optional: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. + + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans` + +Required: + +- `field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--spans--field)) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Required: + +- `type` (String) The type of the field. Can be one of ["metadata" "tag" "process_tag"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["unspecified" "application_name" "subsystem_name" "service_name" "operation_name"] + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans.filters.spans.operator` + +Required: + +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + +Optional: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. + + + + + ### Nested Schema for `layout.sections.rows.id.definition.pie_chart.xaxis.spans` @@ -497,8 +1138,8 @@ Optional: Required: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -918,8 +1559,8 @@ Read-Only: Required: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -954,7 +1595,7 @@ Optional: Optional: - `field` (String) -- `order_direction` (String) The order direction. Can be one of ["unspecified" "asc" "desc"]. +- `order_direction` (String) The order direction. Can be one of ["asc" "desc"]. @@ -1243,8 +1884,8 @@ Optional: Required: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1431,8 +2072,8 @@ Optional: Required: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1660,8 +2301,8 @@ Optional: Required: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1781,10 +2422,121 @@ Optional: Optional: +- `data_prime` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--data_prime)) - `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--logs)) - `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--metrics)) - `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans)) + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans` + +Required: + +- `query` (String) + +Optional: + +- `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters)) +- `group_names` (List of String) +- `stacked_group_name` (String) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters` + +Optional: + +- `logs` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--logs)) +- `metrics` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--metrics)) +- `spans` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--spans)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans` + +Required: + +- `field` (String) Field in the logs to apply the filter on. +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--spans--operator)) + +Optional: + +- `observation_field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--spans--observation_field)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans.observation_field` + +Required: + +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + +Optional: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans.observation_field` + +Optional: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans` + +Required: + +- `label` (String) +- `metric_name` (String) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans.operator` + +Required: + +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + +Optional: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. + + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans` + +Required: + +- `field` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--spans--field)) +- `operator` (Attributes) Operator to use for filtering. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--unit--spans--filters--spans--operator)) + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans.operator` + +Required: + +- `type` (String) The type of the field. Can be one of ["metadata" "tag" "process_tag"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["unspecified" "application_name" "subsystem_name" "service_name" "operation_name"] + + + +### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans.filters.spans.operator` + +Required: + +- `type` (String) The type of the operator. Can be one of `equals` or `not_equals`. + +Optional: + +- `selected_values` (List of String) the values to filter by. When the type is `equals`, this field is optional, the filter will match only the selected values, and all the values if not set. When the type is `not_equals`, this field is required, and the filter will match spans without the selected values. + + + + + ### Nested Schema for `layout.sections.rows.id.definition.pie_chart.unit.spans` @@ -1929,8 +2681,8 @@ Optional: Required: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2031,10 +2783,10 @@ Required: Required: - `definition` (Attributes) (see [below for nested schema](#nestedatt--variables--definition)) +- `display_name` (String) Optional: -- `display_name` (String) - `name` (String) @@ -2048,24 +2800,27 @@ Optional: ### Nested Schema for `variables.definition.multi_select` +Required: + +- `values_order_direction` (String) The order direction of the values. Can be one of `asc`, `desc`. + Optional: - `selected_values` (List of String) - `source` (Attributes) (see [below for nested schema](#nestedatt--variables--definition--multi_select--source)) -- `values_order_direction` (String) The order direction of the values. Can be one of `unspecified`, `asc`, `desc`. -### Nested Schema for `variables.definition.multi_select.values_order_direction` +### Nested Schema for `variables.definition.multi_select.source` Optional: - `constant_list` (List of String) - `logs_path` (String) -- `metric_label` (Attributes) (see [below for nested schema](#nestedatt--variables--definition--multi_select--values_order_direction--metric_label)) -- `span_field` (Attributes) (see [below for nested schema](#nestedatt--variables--definition--multi_select--values_order_direction--span_field)) +- `metric_label` (Attributes) (see [below for nested schema](#nestedatt--variables--definition--multi_select--source--metric_label)) +- `span_field` (Attributes) (see [below for nested schema](#nestedatt--variables--definition--multi_select--source--span_field)) - -### Nested Schema for `variables.definition.multi_select.values_order_direction.metric_label` + +### Nested Schema for `variables.definition.multi_select.source.metric_label` Required: @@ -2073,10 +2828,20 @@ Required: - `metric_name` (String) - -### Nested Schema for `variables.definition.multi_select.values_order_direction.span_field` + +### Nested Schema for `variables.definition.multi_select.source.span_field` Required: - `type` (String) The type of the field. Can be one of ["metadata" "tag" "process_tag"] - `value` (String) The value of the field. When the field type is `metadata`, can be one of ["unspecified" "application_name" "subsystem_name" "service_name" "operation_name"] + +### Import + +Dashboards folders can be imported using the `id`, e.g. + +```shell +$ terraform import coralogix_dashboard.example +``` + +the folder's id can be found in the prefix of the dashboard's url, e.g. `https://terraform.app.eu2.coralogix.com/#/dashboards/mqjmnWQNYwPLxjhYffetD` where `mqjmnWQNYwPLxjhYffetD` is the folder's id. \ No newline at end of file diff --git a/docs/resources/dashboards_folder.md b/docs/resources/dashboards_folder.md new file mode 100644 index 00000000..d9d0dcde --- /dev/null +++ b/docs/resources/dashboards_folder.md @@ -0,0 +1,47 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "coralogix_dashboards_folder Resource - terraform-provider-coralogix" +subcategory: "" +description: |- + +--- + +# coralogix_dashboards_folder (Resource) + +## Example Usage + +```hcl +resource "coralogix_dashboards_folder" "this" { + name = "My Folder" +} +``` + + + + +## Schema + +### Optional + +- `name` (String) Display name of the folder. + +### Read-Only + +- `id` (String) Unique identifier for the folder. + +### Import + +Dashboards folders can be imported using the `id`, e.g. + +```shell +$ terraform import coralogix_dashboards_folder.this +``` + +to get the folder id run the following command and look for the id field of the folder you want to import: +```sh +grpcurl -H "Authorization: Bearer " -d @ ng-api-grpc.:443 com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ListDashboardFolders < +``` + +to get the alert id run the following command and look for the id field of the webhook you want to import: +```sh +grpcurl -H "Authorization: Bearer " -d @ ng-api-grpc.:443 com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListAllOutgoingWebhooks <