diff --git a/.github/workflows/acc-test.yml b/.github/workflows/acc-test.yml index bb5bbdf7..f57baeab 100644 --- a/.github/workflows/acc-test.yml +++ b/.github/workflows/acc-test.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Acceptance Tests diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee998068..8dba3b44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 185c1ea0..cef74804 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.23.x - diff --git a/Makefile b/Makefile index 4b4433c4..d0f5fda4 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,10 @@ NAME=coralogix BINARY=terraform-provider-${NAME} VERSION=1.5 OS_ARCH=darwin_arm64 -BUILD_ARGS=-ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn" +# for some reason the GOFLAGS are not picked up by the go test command +BUILD_ARGS=-ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn" +GOFLAGS='-ldflags=-X=google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn' default: install build: @@ -52,4 +54,4 @@ testacc: TF_ACC=1 go test ${BUILD_ARGS} $(TEST) -v $(TESTARGS) -timeout 120m generate: - go generate ${BUILD_ARGS} \ No newline at end of file + go generate \ No newline at end of file diff --git a/coralogix/clientset/actions-client.go b/coralogix/clientset/actions-client.go deleted file mode 100644 index d11382a3..00000000 --- a/coralogix/clientset/actions-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - actions "terraform-provider-coralogix/coralogix/clientset/grpc/actions/v2" -) - -type ActionsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (a ActionsClient) CreateAction(ctx context.Context, req *actions.CreateActionRequest) (*actions.CreateActionResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := actions.NewActionsServiceClient(conn) - - return client.CreateAction(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (a ActionsClient) GetAction(ctx context.Context, req *actions.GetActionRequest) (*actions.GetActionResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := actions.NewActionsServiceClient(conn) - - return client.GetAction(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (a ActionsClient) UpdateAction(ctx context.Context, req *actions.ReplaceActionRequest) (*actions.ReplaceActionResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := actions.NewActionsServiceClient(conn) - - return client.ReplaceAction(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (a ActionsClient) DeleteAction(ctx context.Context, req *actions.DeleteActionRequest) (*actions.DeleteActionResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := actions.NewActionsServiceClient(conn) - - return client.DeleteAction(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewActionsClient(c *CallPropertiesCreator) *ActionsClient { - return &ActionsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/alerts-client.go b/coralogix/clientset/alerts-client.go deleted file mode 100644 index a58489ca..00000000 --- a/coralogix/clientset/alerts-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - alerts "terraform-provider-coralogix/coralogix/clientset/grpc/alerts/v2" -) - -type AlertsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (a AlertsClient) CreateAlert(ctx context.Context, req *alerts.CreateAlertRequest) (*alerts.CreateAlertResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alerts.NewAlertServiceClient(conn) - - return client.CreateAlert(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (a AlertsClient) GetAlert(ctx context.Context, req *alerts.GetAlertByUniqueIdRequest) (*alerts.GetAlertByUniqueIdResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alerts.NewAlertServiceClient(conn) - - return client.GetAlertByUniqueId(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (a AlertsClient) UpdateAlert(ctx context.Context, req *alerts.UpdateAlertByUniqueIdRequest) (*alerts.UpdateAlertByUniqueIdResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alerts.NewAlertServiceClient(conn) - - return client.UpdateAlertByUniqueId(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (a AlertsClient) DeleteAlert(ctx context.Context, req *alerts.DeleteAlertByUniqueIdRequest) (*alerts.DeleteAlertByUniqueIdResponse, error) { - callProperties, err := a.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alerts.NewAlertServiceClient(conn) - - return client.DeleteAlertByUniqueId(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewAlertsClient(c *CallPropertiesCreator) *AlertsClient { - return &AlertsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/alerts-scheduler-client.go b/coralogix/clientset/alerts-scheduler-client.go deleted file mode 100644 index 09383260..00000000 --- a/coralogix/clientset/alerts-scheduler-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - alertsSchedulers "terraform-provider-coralogix/coralogix/clientset/grpc/alerts-scheduler" -) - -type AlertsSchedulersClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c AlertsSchedulersClient) CreateAlertScheduler(ctx context.Context, req *alertsSchedulers.CreateAlertSchedulerRuleRequest) (*alertsSchedulers.CreateAlertSchedulerRuleResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alertsSchedulers.NewAlertSchedulerRuleServiceClient(conn) - - return client.CreateAlertSchedulerRule(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c AlertsSchedulersClient) GetAlertScheduler(ctx context.Context, req *alertsSchedulers.GetAlertSchedulerRuleRequest) (*alertsSchedulers.GetAlertSchedulerRuleResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alertsSchedulers.NewAlertSchedulerRuleServiceClient(conn) - - return client.GetAlertSchedulerRule(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c AlertsSchedulersClient) UpdateAlertScheduler(ctx context.Context, req *alertsSchedulers.UpdateAlertSchedulerRuleRequest) (*alertsSchedulers.UpdateAlertSchedulerRuleResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alertsSchedulers.NewAlertSchedulerRuleServiceClient(conn) - - return client.UpdateAlertSchedulerRule(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c AlertsSchedulersClient) DeleteAlertScheduler(ctx context.Context, req *alertsSchedulers.DeleteAlertSchedulerRuleRequest) (*alertsSchedulers.DeleteAlertSchedulerRuleResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := alertsSchedulers.NewAlertSchedulerRuleServiceClient(conn) - - return client.DeleteAlertSchedulerRule(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewAlertsSchedulersClient(c *CallPropertiesCreator) *AlertsSchedulersClient { - return &AlertsSchedulersClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/apikeys-client.go b/coralogix/clientset/apikeys-client.go deleted file mode 100644 index 6da0a8f3..00000000 --- a/coralogix/clientset/apikeys-client.go +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - apikeys "terraform-provider-coralogix/coralogix/clientset/grpc/apikeys" -) - -type ApikeysClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (t ApikeysClient) CreateApiKey(ctx context.Context, req *apikeys.CreateApiKeyRequest) (*apikeys.CreateApiKeyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := apikeys.NewApiKeysServiceClient(conn) - - return client.CreateApiKey(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t ApikeysClient) GetApiKey(ctx context.Context, req *apikeys.GetApiKeyRequest) (*apikeys.GetApiKeyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := apikeys.NewApiKeysServiceClient(conn) - - return client.GetApiKey(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t ApikeysClient) UpdateApiKey(ctx context.Context, req *apikeys.UpdateApiKeyRequest) (*apikeys.UpdateApiKeyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := apikeys.NewApiKeysServiceClient(conn) - - return client.UpdateApiKey(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t ApikeysClient) DeleteApiKey(ctx context.Context, req *apikeys.DeleteApiKeyRequest) (*apikeys.DeleteApiKeyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := apikeys.NewApiKeysServiceClient(conn) - - return client.DeleteApiKey(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewApiKeysClient(c *CallPropertiesCreator) *ApikeysClient { - return &ApikeysClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/archive-logs.go b/coralogix/clientset/archive-logs.go deleted file mode 100644 index 5f8f761b..00000000 --- a/coralogix/clientset/archive-logs.go +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - archiveLogs "terraform-provider-coralogix/coralogix/clientset/grpc/archive-logs" -) - -type ArchiveLogsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c ArchiveLogsClient) UpdateArchiveLogs(ctx context.Context, req *archiveLogs.SetTargetRequest) (*archiveLogs.SetTargetResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveLogs.NewTargetServiceClient(conn) - - return client.SetTarget(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c ArchiveLogsClient) GetArchiveLogs(ctx context.Context) (*archiveLogs.GetTargetResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveLogs.NewTargetServiceClient(conn) - - return client.GetTarget(callProperties.Ctx, &archiveLogs.GetTargetRequest{}, callProperties.CallOptions...) -} - -func NewArchiveLogsClient(c *CallPropertiesCreator) *ArchiveLogsClient { - return &ArchiveLogsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/archive-metrics.go b/coralogix/clientset/archive-metrics.go deleted file mode 100644 index b45da086..00000000 --- a/coralogix/clientset/archive-metrics.go +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - "google.golang.org/protobuf/types/known/emptypb" - archiveMetrics "terraform-provider-coralogix/coralogix/clientset/grpc/archive-metrics" -) - -type ArchiveMetricsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c ArchiveMetricsClient) UpdateArchiveMetrics(ctx context.Context, req *archiveMetrics.ConfigureTenantRequest) (*emptypb.Empty, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveMetrics.NewMetricsConfiguratorPublicServiceClient(conn) - - return client.ConfigureTenant(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c ArchiveMetricsClient) GetArchiveMetrics(ctx context.Context) (*archiveMetrics.GetTenantConfigResponseV2, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveMetrics.NewMetricsConfiguratorPublicServiceClient(conn) - - return client.GetTenantConfig(callProperties.Ctx, &emptypb.Empty{}, callProperties.CallOptions...) -} - -func NewArchiveMetricsClient(c *CallPropertiesCreator) *ArchiveMetricsClient { - return &ArchiveMetricsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/archive-retentions.go b/coralogix/clientset/archive-retentions.go deleted file mode 100644 index b60125a1..00000000 --- a/coralogix/clientset/archive-retentions.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - archiveRetention "terraform-provider-coralogix/coralogix/clientset/grpc/archive-retentions" -) - -type ArchiveRetentionsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c ArchiveRetentionsClient) GetRetentions(ctx context.Context, req *archiveRetention.GetRetentionsRequest) (*archiveRetention.GetRetentionsResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveRetention.NewRetentionsServiceClient(conn) - - return client.GetRetentions(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c ArchiveRetentionsClient) UpdateRetentions(ctx context.Context, req *archiveRetention.UpdateRetentionsRequest) (*archiveRetention.UpdateRetentionsResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveRetention.NewRetentionsServiceClient(conn) - - return client.UpdateRetentions(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c ArchiveRetentionsClient) ActivateRetentions(ctx context.Context, req *archiveRetention.ActivateRetentionsRequest) (*archiveRetention.ActivateRetentionsResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveRetention.NewRetentionsServiceClient(conn) - - return client.ActivateRetentions(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c ArchiveRetentionsClient) GetRetentionsEnabled(ctx context.Context, req *archiveRetention.GetRetentionsEnabledRequest) (*archiveRetention.GetRetentionsEnabledResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := archiveRetention.NewRetentionsServiceClient(conn) - - return client.GetRetentionsEnabled(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewArchiveRetentionsClient(c *CallPropertiesCreator) *ArchiveRetentionsClient { - return &ArchiveRetentionsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/clientset.go b/coralogix/clientset/clientset.go index 4f86e2d1..52ee13d5 100644 --- a/coralogix/clientset/clientset.go +++ b/coralogix/clientset/clientset.go @@ -4,7 +4,7 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, @@ -14,51 +14,62 @@ package clientset +import ( + cxsdk "github.com/coralogix/coralogix-management-sdk/go" +) + type ClientSet struct { - ruleGroups *RuleGroupsClient - alerts *AlertsClient - enrichments *EnrichmentsClient - dataSet *DataSetClient - dashboards *DashboardsClient - grafana *GrafanaClient - actions *ActionsClient - recordingRuleGroups *RecordingRulesGroupsSetsClient - tcoPolicies *TCOPoliciesClient - webhooks *WebhooksClient - events2Metrics *Events2MetricsClient - slis *SLIClient - archiveRetentions *ArchiveRetentionsClient - archiveMetrics *ArchiveMetricsClient - archiveLogs *ArchiveLogsClient - alertsSchedulers *AlertsSchedulersClient - teams *TeamsClient - slos *SLOsClient - dahboardsFolders *DashboardsFoldersClient - apiKeys *ApikeysClient - groups *GroupsClient - users *UsersClient - customRole *RolesClient - scopes *ScopesClient - integrations *IntegrationsClient -} - -func (c *ClientSet) RuleGroups() *RuleGroupsClient { + actions *cxsdk.ActionsClient + alerts *cxsdk.AlertsClient + apikeys *cxsdk.ApikeysClient + integrations *cxsdk.IntegrationsClient + enrichments *cxsdk.EnrichmentsClient + dataSet *cxsdk.DataSetClient + webhooks *cxsdk.WebhooksClient + slos *cxsdk.SLOsClient + teams *cxsdk.TeamsClient + scopes *cxsdk.ScopesClient + dashboards *cxsdk.DashboardsClient + archiveLogs *cxsdk.ArchiveLogsClient + archiveMetrics *cxsdk.ArchiveMetricsClient + archiveRetentions *cxsdk.ArchiveRetentionsClient + tcoPolicies *cxsdk.TCOPoliciesClient + alertScheduler *cxsdk.AlertSchedulerClient + dahboardsFolders *cxsdk.DashboardsFoldersClient + ruleGroups *cxsdk.RuleGroupsClient + recordingRuleGroups *cxsdk.RecordingRuleGroupSetsClient + users *cxsdk.UsersClient + customRole *cxsdk.RolesClient + events2Metrics *cxsdk.Events2MetricsClient + + grafana *GrafanaClient + groups *GroupsClient +} + +func (c *ClientSet) RuleGroups() *cxsdk.RuleGroupsClient { return c.ruleGroups } -func (c *ClientSet) Alerts() *AlertsClient { +func (c *ClientSet) Alerts() *cxsdk.AlertsClient { return c.alerts } -func (c *ClientSet) Enrichments() *EnrichmentsClient { +func (c *ClientSet) APIKeys() *cxsdk.ApikeysClient { + return c.apikeys +} + +func (c *ClientSet) Actions() *cxsdk.ActionsClient { + return c.actions +} +func (c *ClientSet) Enrichments() *cxsdk.EnrichmentsClient { return c.enrichments } -func (c *ClientSet) DataSet() *DataSetClient { +func (c *ClientSet) DataSet() *cxsdk.DataSetClient { return c.dataSet } -func (c *ClientSet) Dashboards() *DashboardsClient { +func (c *ClientSet) Dashboards() *cxsdk.DashboardsClient { return c.dashboards } @@ -66,63 +77,51 @@ func (c *ClientSet) Grafana() *GrafanaClient { return c.grafana } -func (c *ClientSet) Actions() *ActionsClient { - return c.actions -} - -func (c *ClientSet) RecordingRuleGroupsSets() *RecordingRulesGroupsSetsClient { +func (c *ClientSet) RecordingRuleGroupsSets() *cxsdk.RecordingRuleGroupSetsClient { return c.recordingRuleGroups } -func (c *ClientSet) TCOPolicies() *TCOPoliciesClient { +func (c *ClientSet) TCOPolicies() *cxsdk.TCOPoliciesClient { return c.tcoPolicies } -func (c *ClientSet) Webhooks() *WebhooksClient { +func (c *ClientSet) Webhooks() *cxsdk.WebhooksClient { return c.webhooks } -func (c *ClientSet) Events2Metrics() *Events2MetricsClient { +func (c *ClientSet) Events2Metrics() *cxsdk.Events2MetricsClient { return c.events2Metrics } -func (c *ClientSet) SLIs() *SLIClient { - return c.slis -} - -func (c *ClientSet) ArchiveRetentions() *ArchiveRetentionsClient { +func (c *ClientSet) ArchiveRetentions() *cxsdk.ArchiveRetentionsClient { return c.archiveRetentions } -func (c *ClientSet) ArchiveMetrics() *ArchiveMetricsClient { +func (c *ClientSet) ArchiveMetrics() *cxsdk.ArchiveMetricsClient { return c.archiveMetrics } -func (c *ClientSet) ArchiveLogs() *ArchiveLogsClient { +func (c *ClientSet) ArchiveLogs() *cxsdk.ArchiveLogsClient { return c.archiveLogs } -func (c *ClientSet) AlertSchedulers() *AlertsSchedulersClient { - return c.alertsSchedulers +func (c *ClientSet) AlertSchedulers() *cxsdk.AlertSchedulerClient { + return c.alertScheduler } -func (c *ClientSet) Teams() *TeamsClient { +func (c *ClientSet) Teams() *cxsdk.TeamsClient { return c.teams } -func (c *ClientSet) ApiKeys() *ApikeysClient { - return c.apiKeys -} - -func (c *ClientSet) CustomRoles() *RolesClient { +func (c *ClientSet) CustomRoles() *cxsdk.RolesClient { return c.customRole } -func (c *ClientSet) SLOs() *SLOsClient { +func (c *ClientSet) SLOs() *cxsdk.SLOsClient { return c.slos } -func (c *ClientSet) DashboardsFolders() *DashboardsFoldersClient { +func (c *ClientSet) DashboardsFolders() *cxsdk.DashboardsFoldersClient { return c.dahboardsFolders } @@ -130,46 +129,47 @@ func (c *ClientSet) Groups() *GroupsClient { return c.groups } -func (c *ClientSet) Users() *UsersClient { +func (c *ClientSet) Users() *cxsdk.UsersClient { return c.users } -func (c *ClientSet) Scopes() *ScopesClient { +func (c *ClientSet) Scopes() *cxsdk.ScopesClient { return c.scopes } -func (c *ClientSet) Integrations() *IntegrationsClient { +func (c *ClientSet) Integrations() *cxsdk.IntegrationsClient { return c.integrations } func NewClientSet(targetUrl, apiKey string) *ClientSet { apikeyCPC := NewCallPropertiesCreator(targetUrl, apiKey) + apiKeySdk := cxsdk.NewCallPropertiesCreatorTerraformOperator(targetUrl, cxsdk.NewAuthContext(apiKey, apiKey), TF_PROVIDER_VERSION) return &ClientSet{ - ruleGroups: NewRuleGroupsClient(apikeyCPC), - alerts: NewAlertsClient(apikeyCPC), - events2Metrics: NewEvents2MetricsClient(apikeyCPC), - enrichments: NewEnrichmentClient(apikeyCPC), - dataSet: NewDataSetClient(apikeyCPC), - dashboards: NewDashboardsClient(apikeyCPC), - grafana: NewGrafanaClient(apikeyCPC), - actions: NewActionsClient(apikeyCPC), - recordingRuleGroups: NewRecordingRuleGroupsClient(apikeyCPC), - tcoPolicies: NewTCOPoliciesClient(apikeyCPC), - webhooks: NewWebhooksClient(apikeyCPC), - slis: NewSLIsClient(apikeyCPC), - archiveRetentions: NewArchiveRetentionsClient(apikeyCPC), - archiveMetrics: NewArchiveMetricsClient(apikeyCPC), - archiveLogs: NewArchiveLogsClient(apikeyCPC), - alertsSchedulers: NewAlertsSchedulersClient(apikeyCPC), - teams: NewTeamsClient(apikeyCPC), - slos: NewSLOsClient(apikeyCPC), - dahboardsFolders: NewDashboardsFoldersClient(apikeyCPC), - apiKeys: NewApiKeysClient(apikeyCPC), - groups: NewGroupsClient(apikeyCPC), - users: NewUsersClient(apikeyCPC), - customRole: NewRolesClient(apikeyCPC), - scopes: NewScopesClient(apikeyCPC), - integrations: NewIntegrationsClient(apikeyCPC), + apikeys: cxsdk.NewAPIKeysClient(apiKeySdk), + actions: cxsdk.NewActionsClient(apiKeySdk), + integrations: cxsdk.NewIntegrationsClient(apiKeySdk), + enrichments: cxsdk.NewEnrichmentClient(apiKeySdk), + alerts: cxsdk.NewAlertsClient(apiKeySdk), + dataSet: cxsdk.NewDataSetClient(apiKeySdk), + webhooks: cxsdk.NewWebhooksClient(apiKeySdk), + slos: cxsdk.NewSLOsClient(apiKeySdk), + teams: cxsdk.NewTeamsClient(apiKeySdk), + scopes: cxsdk.NewScopesClient(apiKeySdk), + dashboards: cxsdk.NewDashboardsClient(apiKeySdk), + archiveLogs: cxsdk.NewArchiveLogsClient(apiKeySdk), + archiveMetrics: cxsdk.NewArchiveMetricsClient(apiKeySdk), + archiveRetentions: cxsdk.NewArchiveRetentionsClient(apiKeySdk), + tcoPolicies: cxsdk.NewTCOPoliciesClient(apiKeySdk), + alertScheduler: cxsdk.NewAlertSchedulerClient(apiKeySdk), + dahboardsFolders: cxsdk.NewDashboardsFoldersClient(apiKeySdk), + users: cxsdk.NewUsersClient(apiKeySdk), + ruleGroups: cxsdk.NewRuleGroupsClient(apiKeySdk), + recordingRuleGroups: cxsdk.NewRecordingRuleGroupSetsClient(apiKeySdk), + customRole: cxsdk.NewRolesClient(apiKeySdk), + events2Metrics: cxsdk.NewEvents2MetricsClient(apiKeySdk), + + grafana: NewGrafanaClient(apikeyCPC), + groups: NewGroupsClient(apikeyCPC), } } diff --git a/coralogix/clientset/dashboard-folders-client.go b/coralogix/clientset/dashboard-folders-client.go deleted file mode 100644 index 10643efe..00000000 --- a/coralogix/clientset/dashboard-folders-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -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 deleted file mode 100644 index 6a088de7..00000000 --- a/coralogix/clientset/dashboards-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" -) - -type DashboardsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (d DashboardsClient) CreateDashboard(ctx context.Context, req *dashboards.CreateDashboardRequest) (*dashboards.CreateDashboardResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := dashboards.NewDashboardsServiceClient(conn) - - return client.CreateDashboard(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (d DashboardsClient) GetDashboard(ctx context.Context, req *dashboards.GetDashboardRequest) (*dashboards.GetDashboardResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := dashboards.NewDashboardsServiceClient(conn) - - return client.GetDashboard(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (d DashboardsClient) UpdateDashboard(ctx context.Context, req *dashboards.ReplaceDashboardRequest) (*dashboards.ReplaceDashboardResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := dashboards.NewDashboardsServiceClient(conn) - - return client.ReplaceDashboard(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (d DashboardsClient) DeleteDashboard(ctx context.Context, req *dashboards.DeleteDashboardRequest) (*dashboards.DeleteDashboardResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := dashboards.NewDashboardsServiceClient(conn) - - return client.DeleteDashboard(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewDashboardsClient(c *CallPropertiesCreator) *DashboardsClient { - return &DashboardsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/data-sets-client.go b/coralogix/clientset/data-sets-client.go deleted file mode 100644 index fc6017b8..00000000 --- a/coralogix/clientset/data-sets-client.go +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - enrichment "terraform-provider-coralogix/coralogix/clientset/grpc/enrichment/v1" -) - -type DataSetClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (d DataSetClient) CreatDataSet(ctx context.Context, req *enrichment.CreateCustomEnrichmentRequest) (*enrichment.CreateCustomEnrichmentResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := enrichment.NewCustomEnrichmentServiceClient(conn) - - return client.CreateCustomEnrichment(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (d DataSetClient) GetDataSet(ctx context.Context, req *enrichment.GetCustomEnrichmentRequest) (*enrichment.GetCustomEnrichmentResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := enrichment.NewCustomEnrichmentServiceClient(conn) - - return client.GetCustomEnrichment(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (d DataSetClient) UpdateDataSet(ctx context.Context, req *enrichment.UpdateCustomEnrichmentRequest) (*enrichment.UpdateCustomEnrichmentResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := enrichment.NewCustomEnrichmentServiceClient(conn) - - return client.UpdateCustomEnrichment(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (d DataSetClient) DeleteDataSet(ctx context.Context, req *enrichment.DeleteCustomEnrichmentRequest) (*enrichment.DeleteCustomEnrichmentResponse, error) { - callProperties, err := d.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := enrichment.NewCustomEnrichmentServiceClient(conn) - - return client.DeleteCustomEnrichment(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewDataSetClient(c *CallPropertiesCreator) *DataSetClient { - return &DataSetClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/enrichments-client.go b/coralogix/clientset/enrichments-client.go deleted file mode 100644 index c510fd0e..00000000 --- a/coralogix/clientset/enrichments-client.go +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - enrichment "terraform-provider-coralogix/coralogix/clientset/grpc/enrichment/v1" -) - -type EnrichmentsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (e EnrichmentsClient) CreateEnrichments(ctx context.Context, req *enrichment.AddEnrichmentsRequest) ([]*enrichment.Enrichment, error) { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := enrichment.NewEnrichmentServiceClient(conn) - - resp, err := client.AddEnrichments(callProperties.Ctx, req, callProperties.CallOptions...) - if err != nil { - return nil, err - } - - enrichments := resp.GetEnrichments() - from := len(enrichments) - len(req.GetRequestEnrichments()) - to := len(enrichments) - return enrichments[from:to], nil -} - -func (e EnrichmentsClient) GetEnrichmentsByType(ctx context.Context, enrichmentType string) ([]*enrichment.Enrichment, error) { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := enrichment.NewEnrichmentServiceClient(conn) - - resp, err := client.GetEnrichments(callProperties.Ctx, &enrichment.GetEnrichmentsRequest{}, callProperties.CallOptions...) - if err != nil { - return nil, err - } - - result := make([]*enrichment.Enrichment, 0) - for _, enrichment := range resp.GetEnrichments() { - if enrichment.GetEnrichmentType().String() == enrichmentType+":{}" { - result = append(result, enrichment) - } - } - - return result, nil -} - -func (e EnrichmentsClient) GetCustomEnrichments(ctx context.Context, customEnrichmentId uint32) ([]*enrichment.Enrichment, error) { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := enrichment.NewEnrichmentServiceClient(conn) - - resp, err := client.GetEnrichments(callProperties.Ctx, &enrichment.GetEnrichmentsRequest{}, callProperties.CallOptions...) - if err != nil { - return nil, err - } - - result := make([]*enrichment.Enrichment, 0) - for _, enrichment := range resp.GetEnrichments() { - if customEnrichment := enrichment.GetEnrichmentType().GetCustomEnrichment(); customEnrichment != nil && customEnrichment.GetId().GetValue() == customEnrichmentId { - result = append(result, enrichment) - } - } - - return result, nil -} - -func (e EnrichmentsClient) DeleteEnrichments(ctx context.Context, req *enrichment.RemoveEnrichmentsRequest) error { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return err - } - - conn := callProperties.Connection - defer conn.Close() - - client := enrichment.NewEnrichmentServiceClient(conn) - - _, err = client.RemoveEnrichments(callProperties.Ctx, req, callProperties.CallOptions...) - return err -} - -func NewEnrichmentClient(c *CallPropertiesCreator) *EnrichmentsClient { - return &EnrichmentsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/events2metrics-client.go b/coralogix/clientset/events2metrics-client.go deleted file mode 100644 index e816d6bd..00000000 --- a/coralogix/clientset/events2metrics-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - e2m "terraform-provider-coralogix/coralogix/clientset/grpc/events2metrics/v2" -) - -type Events2MetricsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (e Events2MetricsClient) CreateEvents2Metric(ctx context.Context, req *e2m.CreateE2MRequest) (*e2m.CreateE2MResponse, error) { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := e2m.NewEvents2MetricServiceClient(conn) - - return client.CreateE2M(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (e Events2MetricsClient) GetEvents2Metric(ctx context.Context, req *e2m.GetE2MRequest) (*e2m.GetE2MResponse, error) { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := e2m.NewEvents2MetricServiceClient(conn) - - return client.GetE2M(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (e Events2MetricsClient) UpdateEvents2Metric(ctx context.Context, req *e2m.ReplaceE2MRequest) (*e2m.ReplaceE2MResponse, error) { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := e2m.NewEvents2MetricServiceClient(conn) - - return client.ReplaceE2M(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (e Events2MetricsClient) DeleteEvents2Metric(ctx context.Context, req *e2m.DeleteE2MRequest) (*e2m.DeleteE2MResponse, error) { - callProperties, err := e.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := e2m.NewEvents2MetricServiceClient(conn) - - return client.DeleteE2M(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewEvents2MetricsClient(c *CallPropertiesCreator) *Events2MetricsClient { - return &Events2MetricsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/grpc/actions/v2/actions_service.pb.go b/coralogix/clientset/grpc/actions/v2/actions_service.pb.go deleted file mode 100644 index 7228fc6c..00000000 --- a/coralogix/clientset/grpc/actions/v2/actions_service.pb.go +++ /dev/null @@ -1,1642 +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/actions/v2/actions_service.proto - -package v2 - -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 SourceType int32 - -const ( - SourceType_SOURCE_TYPE_UNSPECIFIED SourceType = 0 - SourceType_SOURCE_TYPE_LOG SourceType = 1 - SourceType_SOURCE_TYPE_DATA_MAP SourceType = 2 -) - -// Enum value maps for SourceType. -var ( - SourceType_name = map[int32]string{ - 0: "SOURCE_TYPE_UNSPECIFIED", - 1: "SOURCE_TYPE_LOG", - 2: "SOURCE_TYPE_DATA_MAP", - } - SourceType_value = map[string]int32{ - "SOURCE_TYPE_UNSPECIFIED": 0, - "SOURCE_TYPE_LOG": 1, - "SOURCE_TYPE_DATA_MAP": 2, - } -) - -func (x SourceType) Enum() *SourceType { - p := new(SourceType) - *p = x - return p -} - -func (x SourceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SourceType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_actions_v2_actions_service_proto_enumTypes[0].Descriptor() -} - -func (SourceType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_actions_v2_actions_service_proto_enumTypes[0] -} - -func (x SourceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SourceType.Descriptor instead. -func (SourceType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{0} -} - -type Action 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"` - Url *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - IsHidden *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` - IsPrivate *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` - SourceType SourceType `protobuf:"varint,6,opt,name=source_type,json=sourceType,proto3,enum=com.coralogixapis.actions.v2.SourceType" json:"source_type,omitempty"` - ApplicationNames []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=application_names,json=applicationNames,proto3" json:"application_names,omitempty"` - SubsystemNames []*wrapperspb.StringValue `protobuf:"bytes,8,rep,name=subsystem_names,json=subsystemNames,proto3" json:"subsystem_names,omitempty"` - CreatedBy *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` -} - -func (x *Action) Reset() { - *x = Action{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Action) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Action) ProtoMessage() {} - -func (x *Action) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 Action.ProtoReflect.Descriptor instead. -func (*Action) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{0} -} - -func (x *Action) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Action) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Action) GetUrl() *wrapperspb.StringValue { - if x != nil { - return x.Url - } - return nil -} - -func (x *Action) GetIsHidden() *wrapperspb.BoolValue { - if x != nil { - return x.IsHidden - } - return nil -} - -func (x *Action) GetIsPrivate() *wrapperspb.BoolValue { - if x != nil { - return x.IsPrivate - } - return nil -} - -func (x *Action) GetSourceType() SourceType { - if x != nil { - return x.SourceType - } - return SourceType_SOURCE_TYPE_UNSPECIFIED -} - -func (x *Action) GetApplicationNames() []*wrapperspb.StringValue { - if x != nil { - return x.ApplicationNames - } - return nil -} - -func (x *Action) GetSubsystemNames() []*wrapperspb.StringValue { - if x != nil { - return x.SubsystemNames - } - return nil -} - -func (x *Action) GetCreatedBy() *wrapperspb.StringValue { - if x != nil { - return x.CreatedBy - } - return nil -} - -type CreateActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Url *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - IsPrivate *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` - SourceType SourceType `protobuf:"varint,4,opt,name=source_type,json=sourceType,proto3,enum=com.coralogixapis.actions.v2.SourceType" json:"source_type,omitempty"` - ApplicationNames []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=application_names,json=applicationNames,proto3" json:"application_names,omitempty"` - SubsystemNames []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=subsystem_names,json=subsystemNames,proto3" json:"subsystem_names,omitempty"` -} - -func (x *CreateActionRequest) Reset() { - *x = CreateActionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateActionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateActionRequest) ProtoMessage() {} - -func (x *CreateActionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 CreateActionRequest.ProtoReflect.Descriptor instead. -func (*CreateActionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateActionRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateActionRequest) GetUrl() *wrapperspb.StringValue { - if x != nil { - return x.Url - } - return nil -} - -func (x *CreateActionRequest) GetIsPrivate() *wrapperspb.BoolValue { - if x != nil { - return x.IsPrivate - } - return nil -} - -func (x *CreateActionRequest) GetSourceType() SourceType { - if x != nil { - return x.SourceType - } - return SourceType_SOURCE_TYPE_UNSPECIFIED -} - -func (x *CreateActionRequest) GetApplicationNames() []*wrapperspb.StringValue { - if x != nil { - return x.ApplicationNames - } - return nil -} - -func (x *CreateActionRequest) GetSubsystemNames() []*wrapperspb.StringValue { - if x != nil { - return x.SubsystemNames - } - return nil -} - -type CreateActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` -} - -func (x *CreateActionResponse) Reset() { - *x = CreateActionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateActionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateActionResponse) ProtoMessage() {} - -func (x *CreateActionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 CreateActionResponse.ProtoReflect.Descriptor instead. -func (*CreateActionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{2} -} - -func (x *CreateActionResponse) GetAction() *Action { - if x != nil { - return x.Action - } - return nil -} - -type ReplaceActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` -} - -func (x *ReplaceActionRequest) Reset() { - *x = ReplaceActionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceActionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceActionRequest) ProtoMessage() {} - -func (x *ReplaceActionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 ReplaceActionRequest.ProtoReflect.Descriptor instead. -func (*ReplaceActionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{3} -} - -func (x *ReplaceActionRequest) GetAction() *Action { - if x != nil { - return x.Action - } - return nil -} - -type ReplaceActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` -} - -func (x *ReplaceActionResponse) Reset() { - *x = ReplaceActionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceActionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceActionResponse) ProtoMessage() {} - -func (x *ReplaceActionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 ReplaceActionResponse.ProtoReflect.Descriptor instead. -func (*ReplaceActionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{4} -} - -func (x *ReplaceActionResponse) GetAction() *Action { - if x != nil { - return x.Action - } - return nil -} - -type DeleteActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteActionRequest) Reset() { - *x = DeleteActionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteActionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteActionRequest) ProtoMessage() {} - -func (x *DeleteActionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 DeleteActionRequest.ProtoReflect.Descriptor instead. -func (*DeleteActionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{5} -} - -func (x *DeleteActionRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteActionResponse) Reset() { - *x = DeleteActionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteActionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteActionResponse) ProtoMessage() {} - -func (x *DeleteActionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 DeleteActionResponse.ProtoReflect.Descriptor instead. -func (*DeleteActionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{6} -} - -type GetActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetActionRequest) Reset() { - *x = GetActionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetActionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetActionRequest) ProtoMessage() {} - -func (x *GetActionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 GetActionRequest.ProtoReflect.Descriptor instead. -func (*GetActionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{7} -} - -func (x *GetActionRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type GetActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` -} - -func (x *GetActionResponse) Reset() { - *x = GetActionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetActionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetActionResponse) ProtoMessage() {} - -func (x *GetActionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 GetActionResponse.ProtoReflect.Descriptor instead. -func (*GetActionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{8} -} - -func (x *GetActionResponse) GetAction() *Action { - if x != nil { - return x.Action - } - return nil -} - -type ListActionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListActionsRequest) Reset() { - *x = ListActionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListActionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListActionsRequest) ProtoMessage() {} - -func (x *ListActionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 ListActionsRequest.ProtoReflect.Descriptor instead. -func (*ListActionsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{9} -} - -type ListActionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` -} - -func (x *ListActionsResponse) Reset() { - *x = ListActionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListActionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListActionsResponse) ProtoMessage() {} - -func (x *ListActionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 ListActionsResponse.ProtoReflect.Descriptor instead. -func (*ListActionsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{10} -} - -func (x *ListActionsResponse) GetActions() []*Action { - if x != nil { - return x.Actions - } - return nil -} - -type OrderActionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PrivateActionsOrder map[string]*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=private_actions_order,json=privateActionsOrder,proto3" json:"private_actions_order,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - SharedActionsOrder map[string]*wrapperspb.UInt32Value `protobuf:"bytes,2,rep,name=shared_actions_order,json=sharedActionsOrder,proto3" json:"shared_actions_order,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *OrderActionsRequest) Reset() { - *x = OrderActionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrderActionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrderActionsRequest) ProtoMessage() {} - -func (x *OrderActionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 OrderActionsRequest.ProtoReflect.Descriptor instead. -func (*OrderActionsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{11} -} - -func (x *OrderActionsRequest) GetPrivateActionsOrder() map[string]*wrapperspb.UInt32Value { - if x != nil { - return x.PrivateActionsOrder - } - return nil -} - -func (x *OrderActionsRequest) GetSharedActionsOrder() map[string]*wrapperspb.UInt32Value { - if x != nil { - return x.SharedActionsOrder - } - return nil -} - -type OrderActionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *OrderActionsResponse) Reset() { - *x = OrderActionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrderActionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrderActionsResponse) ProtoMessage() {} - -func (x *OrderActionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 OrderActionsResponse.ProtoReflect.Descriptor instead. -func (*OrderActionsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{12} -} - -type ActionExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Request: - // *ActionExecutionRequest_Create - // *ActionExecutionRequest_Replace - // *ActionExecutionRequest_Delete - Request isActionExecutionRequest_Request `protobuf_oneof:"request"` -} - -func (x *ActionExecutionRequest) Reset() { - *x = ActionExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActionExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionExecutionRequest) ProtoMessage() {} - -func (x *ActionExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 ActionExecutionRequest.ProtoReflect.Descriptor instead. -func (*ActionExecutionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{13} -} - -func (m *ActionExecutionRequest) GetRequest() isActionExecutionRequest_Request { - if m != nil { - return m.Request - } - return nil -} - -func (x *ActionExecutionRequest) GetCreate() *CreateActionRequest { - if x, ok := x.GetRequest().(*ActionExecutionRequest_Create); ok { - return x.Create - } - return nil -} - -func (x *ActionExecutionRequest) GetReplace() *ReplaceActionRequest { - if x, ok := x.GetRequest().(*ActionExecutionRequest_Replace); ok { - return x.Replace - } - return nil -} - -func (x *ActionExecutionRequest) GetDelete() *DeleteActionRequest { - if x, ok := x.GetRequest().(*ActionExecutionRequest_Delete); ok { - return x.Delete - } - return nil -} - -type isActionExecutionRequest_Request interface { - isActionExecutionRequest_Request() -} - -type ActionExecutionRequest_Create struct { - Create *CreateActionRequest `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type ActionExecutionRequest_Replace struct { - Replace *ReplaceActionRequest `protobuf:"bytes,2,opt,name=replace,proto3,oneof"` -} - -type ActionExecutionRequest_Delete struct { - Delete *DeleteActionRequest `protobuf:"bytes,3,opt,name=delete,proto3,oneof"` -} - -func (*ActionExecutionRequest_Create) isActionExecutionRequest_Request() {} - -func (*ActionExecutionRequest_Replace) isActionExecutionRequest_Request() {} - -func (*ActionExecutionRequest_Delete) isActionExecutionRequest_Request() {} - -type ActionExecutionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Response: - // *ActionExecutionResponse_Create - // *ActionExecutionResponse_Replace - // *ActionExecutionResponse_Delete - Response isActionExecutionResponse_Response `protobuf_oneof:"response"` -} - -func (x *ActionExecutionResponse) Reset() { - *x = ActionExecutionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActionExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionExecutionResponse) ProtoMessage() {} - -func (x *ActionExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 ActionExecutionResponse.ProtoReflect.Descriptor instead. -func (*ActionExecutionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{14} -} - -func (m *ActionExecutionResponse) GetResponse() isActionExecutionResponse_Response { - if m != nil { - return m.Response - } - return nil -} - -func (x *ActionExecutionResponse) GetCreate() *CreateActionResponse { - if x, ok := x.GetResponse().(*ActionExecutionResponse_Create); ok { - return x.Create - } - return nil -} - -func (x *ActionExecutionResponse) GetReplace() *ReplaceActionResponse { - if x, ok := x.GetResponse().(*ActionExecutionResponse_Replace); ok { - return x.Replace - } - return nil -} - -func (x *ActionExecutionResponse) GetDelete() *DeleteActionResponse { - if x, ok := x.GetResponse().(*ActionExecutionResponse_Delete); ok { - return x.Delete - } - return nil -} - -type isActionExecutionResponse_Response interface { - isActionExecutionResponse_Response() -} - -type ActionExecutionResponse_Create struct { - Create *CreateActionResponse `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type ActionExecutionResponse_Replace struct { - Replace *ReplaceActionResponse `protobuf:"bytes,2,opt,name=replace,proto3,oneof"` -} - -type ActionExecutionResponse_Delete struct { - Delete *DeleteActionResponse `protobuf:"bytes,3,opt,name=delete,proto3,oneof"` -} - -func (*ActionExecutionResponse_Create) isActionExecutionResponse_Response() {} - -func (*ActionExecutionResponse_Replace) isActionExecutionResponse_Response() {} - -func (*ActionExecutionResponse_Delete) isActionExecutionResponse_Response() {} - -type AtomicBatchExecuteActionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Requests []*ActionExecutionRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` -} - -func (x *AtomicBatchExecuteActionsRequest) Reset() { - *x = AtomicBatchExecuteActionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchExecuteActionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchExecuteActionsRequest) ProtoMessage() {} - -func (x *AtomicBatchExecuteActionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 AtomicBatchExecuteActionsRequest.ProtoReflect.Descriptor instead. -func (*AtomicBatchExecuteActionsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{15} -} - -func (x *AtomicBatchExecuteActionsRequest) GetRequests() []*ActionExecutionRequest { - if x != nil { - return x.Requests - } - return nil -} - -type AtomicBatchExecuteActionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MatchingResponses []*ActionExecutionResponse `protobuf:"bytes,1,rep,name=matching_responses,json=matchingResponses,proto3" json:"matching_responses,omitempty"` -} - -func (x *AtomicBatchExecuteActionsResponse) Reset() { - *x = AtomicBatchExecuteActionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchExecuteActionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchExecuteActionsResponse) ProtoMessage() {} - -func (x *AtomicBatchExecuteActionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_actions_v2_actions_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 AtomicBatchExecuteActionsResponse.ProtoReflect.Descriptor instead. -func (*AtomicBatchExecuteActionsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP(), []int{16} -} - -func (x *AtomicBatchExecuteActionsResponse) GetMatchingResponses() []*ActionExecutionResponse { - if x != nil { - return x.MatchingResponses - } - return nil -} - -var File_com_coralogixapis_actions_v2_actions_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_actions_v2_actions_service_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x32, 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, 0xa6, 0x04, 0x0a, 0x06, 0x41, 0x63, 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, 0x2e, 0x0a, - 0x03, 0x75, 0x72, 0x6c, 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, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x37, 0x0a, - 0x09, 0x69, 0x73, 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 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, 0x08, 0x69, 0x73, - 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 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, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x49, 0x0a, 0x11, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 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, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x08, 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, 0x0e, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x3b, - 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 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, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x22, 0x8f, 0x03, 0x0a, 0x13, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 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, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x75, 0x72, 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, - 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x76, - 0x61, 0x74, 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, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x12, 0x49, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x49, 0x0a, 0x11, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x05, 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, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 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, 0x0e, 0x73, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x54, 0x0a, - 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x14, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x55, 0x0a, 0x15, 0x52, 0x65, 0x70, - 0x6c, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x43, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x0a, - 0x10, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 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, 0x22, - 0x51, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x55, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x3e, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0xdd, 0x03, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x7e, 0x0a, 0x15, 0x70, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x13, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x7b, 0x0a, 0x14, 0x73, 0x68, 0x61, 0x72, 0x65, - 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, - 0x02, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x12, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x1a, 0x64, 0x0a, 0x18, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x72, 0x64, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x63, 0x0a, 0x17, 0x53, 0x68, - 0x61, 0x72, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x72, 0x64, 0x65, 0x72, - 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x16, 0x0a, 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x16, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, - 0x4e, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, - 0x4b, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x09, 0x0a, 0x07, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x92, 0x02, 0x0a, 0x17, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x12, 0x4f, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x02, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x03, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x74, 0x0a, 0x20, - 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x50, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x22, 0x89, 0x01, 0x0a, 0x21, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, - 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x63, - 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 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, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x11, 0x6d, 0x61, 0x74, - 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2a, 0x58, - 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, - 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x4f, 0x55, - 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x47, 0x10, 0x01, 0x12, 0x18, - 0x0a, 0x14, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, - 0x54, 0x41, 0x5f, 0x4d, 0x41, 0x50, 0x10, 0x02, 0x32, 0xf0, 0x06, 0x0a, 0x0e, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x78, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x72, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9c, 0x01, 0x0a, - 0x19, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, - 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, - 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1e, 0x5a, 0x1c, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_actions_v2_actions_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_actions_v2_actions_service_proto_rawDescData = file_com_coralogixapis_actions_v2_actions_service_proto_rawDesc -) - -func file_com_coralogixapis_actions_v2_actions_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_actions_v2_actions_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_actions_v2_actions_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_actions_v2_actions_service_proto_rawDescData) - }) - return file_com_coralogixapis_actions_v2_actions_service_proto_rawDescData -} - -var file_com_coralogixapis_actions_v2_actions_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_com_coralogixapis_actions_v2_actions_service_proto_goTypes = []interface{}{ - (SourceType)(0), // 0: com.coralogixapis.actions.v2.SourceType - (*Action)(nil), // 1: com.coralogixapis.actions.v2.Action - (*CreateActionRequest)(nil), // 2: com.coralogixapis.actions.v2.CreateActionRequest - (*CreateActionResponse)(nil), // 3: com.coralogixapis.actions.v2.CreateActionResponse - (*ReplaceActionRequest)(nil), // 4: com.coralogixapis.actions.v2.ReplaceActionRequest - (*ReplaceActionResponse)(nil), // 5: com.coralogixapis.actions.v2.ReplaceActionResponse - (*DeleteActionRequest)(nil), // 6: com.coralogixapis.actions.v2.DeleteActionRequest - (*DeleteActionResponse)(nil), // 7: com.coralogixapis.actions.v2.DeleteActionResponse - (*GetActionRequest)(nil), // 8: com.coralogixapis.actions.v2.GetActionRequest - (*GetActionResponse)(nil), // 9: com.coralogixapis.actions.v2.GetActionResponse - (*ListActionsRequest)(nil), // 10: com.coralogixapis.actions.v2.ListActionsRequest - (*ListActionsResponse)(nil), // 11: com.coralogixapis.actions.v2.ListActionsResponse - (*OrderActionsRequest)(nil), // 12: com.coralogixapis.actions.v2.OrderActionsRequest - (*OrderActionsResponse)(nil), // 13: com.coralogixapis.actions.v2.OrderActionsResponse - (*ActionExecutionRequest)(nil), // 14: com.coralogixapis.actions.v2.ActionExecutionRequest - (*ActionExecutionResponse)(nil), // 15: com.coralogixapis.actions.v2.ActionExecutionResponse - (*AtomicBatchExecuteActionsRequest)(nil), // 16: com.coralogixapis.actions.v2.AtomicBatchExecuteActionsRequest - (*AtomicBatchExecuteActionsResponse)(nil), // 17: com.coralogixapis.actions.v2.AtomicBatchExecuteActionsResponse - nil, // 18: com.coralogixapis.actions.v2.OrderActionsRequest.PrivateActionsOrderEntry - nil, // 19: com.coralogixapis.actions.v2.OrderActionsRequest.SharedActionsOrderEntry - (*wrapperspb.StringValue)(nil), // 20: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 21: google.protobuf.BoolValue - (*wrapperspb.UInt32Value)(nil), // 22: google.protobuf.UInt32Value -} -var file_com_coralogixapis_actions_v2_actions_service_proto_depIdxs = []int32{ - 20, // 0: com.coralogixapis.actions.v2.Action.id:type_name -> google.protobuf.StringValue - 20, // 1: com.coralogixapis.actions.v2.Action.name:type_name -> google.protobuf.StringValue - 20, // 2: com.coralogixapis.actions.v2.Action.url:type_name -> google.protobuf.StringValue - 21, // 3: com.coralogixapis.actions.v2.Action.is_hidden:type_name -> google.protobuf.BoolValue - 21, // 4: com.coralogixapis.actions.v2.Action.is_private:type_name -> google.protobuf.BoolValue - 0, // 5: com.coralogixapis.actions.v2.Action.source_type:type_name -> com.coralogixapis.actions.v2.SourceType - 20, // 6: com.coralogixapis.actions.v2.Action.application_names:type_name -> google.protobuf.StringValue - 20, // 7: com.coralogixapis.actions.v2.Action.subsystem_names:type_name -> google.protobuf.StringValue - 20, // 8: com.coralogixapis.actions.v2.Action.created_by:type_name -> google.protobuf.StringValue - 20, // 9: com.coralogixapis.actions.v2.CreateActionRequest.name:type_name -> google.protobuf.StringValue - 20, // 10: com.coralogixapis.actions.v2.CreateActionRequest.url:type_name -> google.protobuf.StringValue - 21, // 11: com.coralogixapis.actions.v2.CreateActionRequest.is_private:type_name -> google.protobuf.BoolValue - 0, // 12: com.coralogixapis.actions.v2.CreateActionRequest.source_type:type_name -> com.coralogixapis.actions.v2.SourceType - 20, // 13: com.coralogixapis.actions.v2.CreateActionRequest.application_names:type_name -> google.protobuf.StringValue - 20, // 14: com.coralogixapis.actions.v2.CreateActionRequest.subsystem_names:type_name -> google.protobuf.StringValue - 1, // 15: com.coralogixapis.actions.v2.CreateActionResponse.action:type_name -> com.coralogixapis.actions.v2.Action - 1, // 16: com.coralogixapis.actions.v2.ReplaceActionRequest.action:type_name -> com.coralogixapis.actions.v2.Action - 1, // 17: com.coralogixapis.actions.v2.ReplaceActionResponse.action:type_name -> com.coralogixapis.actions.v2.Action - 20, // 18: com.coralogixapis.actions.v2.DeleteActionRequest.id:type_name -> google.protobuf.StringValue - 20, // 19: com.coralogixapis.actions.v2.GetActionRequest.id:type_name -> google.protobuf.StringValue - 1, // 20: com.coralogixapis.actions.v2.GetActionResponse.action:type_name -> com.coralogixapis.actions.v2.Action - 1, // 21: com.coralogixapis.actions.v2.ListActionsResponse.actions:type_name -> com.coralogixapis.actions.v2.Action - 18, // 22: com.coralogixapis.actions.v2.OrderActionsRequest.private_actions_order:type_name -> com.coralogixapis.actions.v2.OrderActionsRequest.PrivateActionsOrderEntry - 19, // 23: com.coralogixapis.actions.v2.OrderActionsRequest.shared_actions_order:type_name -> com.coralogixapis.actions.v2.OrderActionsRequest.SharedActionsOrderEntry - 2, // 24: com.coralogixapis.actions.v2.ActionExecutionRequest.create:type_name -> com.coralogixapis.actions.v2.CreateActionRequest - 4, // 25: com.coralogixapis.actions.v2.ActionExecutionRequest.replace:type_name -> com.coralogixapis.actions.v2.ReplaceActionRequest - 6, // 26: com.coralogixapis.actions.v2.ActionExecutionRequest.delete:type_name -> com.coralogixapis.actions.v2.DeleteActionRequest - 3, // 27: com.coralogixapis.actions.v2.ActionExecutionResponse.create:type_name -> com.coralogixapis.actions.v2.CreateActionResponse - 5, // 28: com.coralogixapis.actions.v2.ActionExecutionResponse.replace:type_name -> com.coralogixapis.actions.v2.ReplaceActionResponse - 7, // 29: com.coralogixapis.actions.v2.ActionExecutionResponse.delete:type_name -> com.coralogixapis.actions.v2.DeleteActionResponse - 14, // 30: com.coralogixapis.actions.v2.AtomicBatchExecuteActionsRequest.requests:type_name -> com.coralogixapis.actions.v2.ActionExecutionRequest - 15, // 31: com.coralogixapis.actions.v2.AtomicBatchExecuteActionsResponse.matching_responses:type_name -> com.coralogixapis.actions.v2.ActionExecutionResponse - 22, // 32: com.coralogixapis.actions.v2.OrderActionsRequest.PrivateActionsOrderEntry.value:type_name -> google.protobuf.UInt32Value - 22, // 33: com.coralogixapis.actions.v2.OrderActionsRequest.SharedActionsOrderEntry.value:type_name -> google.protobuf.UInt32Value - 2, // 34: com.coralogixapis.actions.v2.ActionsService.CreateAction:input_type -> com.coralogixapis.actions.v2.CreateActionRequest - 4, // 35: com.coralogixapis.actions.v2.ActionsService.ReplaceAction:input_type -> com.coralogixapis.actions.v2.ReplaceActionRequest - 6, // 36: com.coralogixapis.actions.v2.ActionsService.DeleteAction:input_type -> com.coralogixapis.actions.v2.DeleteActionRequest - 8, // 37: com.coralogixapis.actions.v2.ActionsService.GetAction:input_type -> com.coralogixapis.actions.v2.GetActionRequest - 10, // 38: com.coralogixapis.actions.v2.ActionsService.ListActions:input_type -> com.coralogixapis.actions.v2.ListActionsRequest - 12, // 39: com.coralogixapis.actions.v2.ActionsService.OrderActions:input_type -> com.coralogixapis.actions.v2.OrderActionsRequest - 16, // 40: com.coralogixapis.actions.v2.ActionsService.AtomicBatchExecuteActions:input_type -> com.coralogixapis.actions.v2.AtomicBatchExecuteActionsRequest - 3, // 41: com.coralogixapis.actions.v2.ActionsService.CreateAction:output_type -> com.coralogixapis.actions.v2.CreateActionResponse - 5, // 42: com.coralogixapis.actions.v2.ActionsService.ReplaceAction:output_type -> com.coralogixapis.actions.v2.ReplaceActionResponse - 7, // 43: com.coralogixapis.actions.v2.ActionsService.DeleteAction:output_type -> com.coralogixapis.actions.v2.DeleteActionResponse - 9, // 44: com.coralogixapis.actions.v2.ActionsService.GetAction:output_type -> com.coralogixapis.actions.v2.GetActionResponse - 11, // 45: com.coralogixapis.actions.v2.ActionsService.ListActions:output_type -> com.coralogixapis.actions.v2.ListActionsResponse - 13, // 46: com.coralogixapis.actions.v2.ActionsService.OrderActions:output_type -> com.coralogixapis.actions.v2.OrderActionsResponse - 17, // 47: com.coralogixapis.actions.v2.ActionsService.AtomicBatchExecuteActions:output_type -> com.coralogixapis.actions.v2.AtomicBatchExecuteActionsResponse - 41, // [41:48] is the sub-list for method output_type - 34, // [34:41] is the sub-list for method input_type - 34, // [34:34] is the sub-list for extension type_name - 34, // [34:34] is the sub-list for extension extendee - 0, // [0:34] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_actions_v2_actions_service_proto_init() } -func file_com_coralogixapis_actions_v2_actions_service_proto_init() { - if File_com_coralogixapis_actions_v2_actions_service_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Action); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateActionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateActionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceActionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceActionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteActionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteActionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetActionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetActionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListActionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrderActionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrderActionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionExecutionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchExecuteActionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchExecuteActionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[13].OneofWrappers = []interface{}{ - (*ActionExecutionRequest_Create)(nil), - (*ActionExecutionRequest_Replace)(nil), - (*ActionExecutionRequest_Delete)(nil), - } - file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes[14].OneofWrappers = []interface{}{ - (*ActionExecutionResponse_Create)(nil), - (*ActionExecutionResponse_Replace)(nil), - (*ActionExecutionResponse_Delete)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_actions_v2_actions_service_proto_rawDesc, - NumEnums: 1, - NumMessages: 19, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_actions_v2_actions_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_actions_v2_actions_service_proto_depIdxs, - EnumInfos: file_com_coralogixapis_actions_v2_actions_service_proto_enumTypes, - MessageInfos: file_com_coralogixapis_actions_v2_actions_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_actions_v2_actions_service_proto = out.File - file_com_coralogixapis_actions_v2_actions_service_proto_rawDesc = nil - file_com_coralogixapis_actions_v2_actions_service_proto_goTypes = nil - file_com_coralogixapis_actions_v2_actions_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/actions/v2/actions_service_grpc.pb.go b/coralogix/clientset/grpc/actions/v2/actions_service_grpc.pb.go deleted file mode 100644 index 387b3a45..00000000 --- a/coralogix/clientset/grpc/actions/v2/actions_service_grpc.pb.go +++ /dev/null @@ -1,381 +0,0 @@ -// 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/actions/v2/actions_service.proto - -package v2 - -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 - -// ActionsServiceClient is the client API for ActionsService 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 ActionsServiceClient interface { - // google.protobuf.http( - //path: "v2/actions/actions" - //method: "POST" - //body: "action" - //) - CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*CreateActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions" - //method: "PUT" - //body: "action" - //) - ReplaceAction(ctx context.Context, in *ReplaceActionRequest, opts ...grpc.CallOption) (*ReplaceActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions/" - //method: "DELETE" - //) - DeleteAction(ctx context.Context, in *DeleteActionRequest, opts ...grpc.CallOption) (*DeleteActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions/" - //method: "GET" - //) - GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*GetActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions" - //method: "GET" - //) - ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions:order" - //method: "Post" - //) - OrderActions(ctx context.Context, in *OrderActionsRequest, opts ...grpc.CallOption) (*OrderActionsResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions:atomicBatchExecute" - //method: "Post" - //) - AtomicBatchExecuteActions(ctx context.Context, in *AtomicBatchExecuteActionsRequest, opts ...grpc.CallOption) (*AtomicBatchExecuteActionsResponse, error) -} - -type actionsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewActionsServiceClient(cc grpc.ClientConnInterface) ActionsServiceClient { - return &actionsServiceClient{cc} -} - -func (c *actionsServiceClient) CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*CreateActionResponse, error) { - out := new(CreateActionResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.actions.v2.ActionsService/CreateAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *actionsServiceClient) ReplaceAction(ctx context.Context, in *ReplaceActionRequest, opts ...grpc.CallOption) (*ReplaceActionResponse, error) { - out := new(ReplaceActionResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.actions.v2.ActionsService/ReplaceAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *actionsServiceClient) DeleteAction(ctx context.Context, in *DeleteActionRequest, opts ...grpc.CallOption) (*DeleteActionResponse, error) { - out := new(DeleteActionResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.actions.v2.ActionsService/DeleteAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *actionsServiceClient) GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*GetActionResponse, error) { - out := new(GetActionResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.actions.v2.ActionsService/GetAction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *actionsServiceClient) ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error) { - out := new(ListActionsResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.actions.v2.ActionsService/ListActions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *actionsServiceClient) OrderActions(ctx context.Context, in *OrderActionsRequest, opts ...grpc.CallOption) (*OrderActionsResponse, error) { - out := new(OrderActionsResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.actions.v2.ActionsService/OrderActions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *actionsServiceClient) AtomicBatchExecuteActions(ctx context.Context, in *AtomicBatchExecuteActionsRequest, opts ...grpc.CallOption) (*AtomicBatchExecuteActionsResponse, error) { - out := new(AtomicBatchExecuteActionsResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.actions.v2.ActionsService/AtomicBatchExecuteActions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ActionsServiceServer is the server API for ActionsService service. -// All implementations must embed UnimplementedActionsServiceServer -// for forward compatibility -type ActionsServiceServer interface { - // google.protobuf.http( - //path: "v2/actions/actions" - //method: "POST" - //body: "action" - //) - CreateAction(context.Context, *CreateActionRequest) (*CreateActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions" - //method: "PUT" - //body: "action" - //) - ReplaceAction(context.Context, *ReplaceActionRequest) (*ReplaceActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions/" - //method: "DELETE" - //) - DeleteAction(context.Context, *DeleteActionRequest) (*DeleteActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions/" - //method: "GET" - //) - GetAction(context.Context, *GetActionRequest) (*GetActionResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions" - //method: "GET" - //) - ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions:order" - //method: "Post" - //) - OrderActions(context.Context, *OrderActionsRequest) (*OrderActionsResponse, error) - // google.protobuf.http( - //path: "v2/actions/actions:atomicBatchExecute" - //method: "Post" - //) - AtomicBatchExecuteActions(context.Context, *AtomicBatchExecuteActionsRequest) (*AtomicBatchExecuteActionsResponse, error) - mustEmbedUnimplementedActionsServiceServer() -} - -// UnimplementedActionsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedActionsServiceServer struct { -} - -func (UnimplementedActionsServiceServer) CreateAction(context.Context, *CreateActionRequest) (*CreateActionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAction not implemented") -} -func (UnimplementedActionsServiceServer) ReplaceAction(context.Context, *ReplaceActionRequest) (*ReplaceActionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReplaceAction not implemented") -} -func (UnimplementedActionsServiceServer) DeleteAction(context.Context, *DeleteActionRequest) (*DeleteActionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAction not implemented") -} -func (UnimplementedActionsServiceServer) GetAction(context.Context, *GetActionRequest) (*GetActionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAction not implemented") -} -func (UnimplementedActionsServiceServer) ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListActions not implemented") -} -func (UnimplementedActionsServiceServer) OrderActions(context.Context, *OrderActionsRequest) (*OrderActionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method OrderActions not implemented") -} -func (UnimplementedActionsServiceServer) AtomicBatchExecuteActions(context.Context, *AtomicBatchExecuteActionsRequest) (*AtomicBatchExecuteActionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AtomicBatchExecuteActions not implemented") -} -func (UnimplementedActionsServiceServer) mustEmbedUnimplementedActionsServiceServer() {} - -// UnsafeActionsServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ActionsServiceServer will -// result in compilation errors. -type UnsafeActionsServiceServer interface { - mustEmbedUnimplementedActionsServiceServer() -} - -func RegisterActionsServiceServer(s grpc.ServiceRegistrar, srv ActionsServiceServer) { - s.RegisterService(&ActionsService_ServiceDesc, srv) -} - -func _ActionsService_CreateAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionsServiceServer).CreateAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.actions.v2.ActionsService/CreateAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionsServiceServer).CreateAction(ctx, req.(*CreateActionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ActionsService_ReplaceAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReplaceActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionsServiceServer).ReplaceAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.actions.v2.ActionsService/ReplaceAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionsServiceServer).ReplaceAction(ctx, req.(*ReplaceActionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ActionsService_DeleteAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionsServiceServer).DeleteAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.actions.v2.ActionsService/DeleteAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionsServiceServer).DeleteAction(ctx, req.(*DeleteActionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ActionsService_GetAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetActionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionsServiceServer).GetAction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.actions.v2.ActionsService/GetAction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionsServiceServer).GetAction(ctx, req.(*GetActionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ActionsService_ListActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListActionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionsServiceServer).ListActions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.actions.v2.ActionsService/ListActions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionsServiceServer).ListActions(ctx, req.(*ListActionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ActionsService_OrderActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OrderActionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionsServiceServer).OrderActions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.actions.v2.ActionsService/OrderActions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionsServiceServer).OrderActions(ctx, req.(*OrderActionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ActionsService_AtomicBatchExecuteActions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AtomicBatchExecuteActionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ActionsServiceServer).AtomicBatchExecuteActions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.actions.v2.ActionsService/AtomicBatchExecuteActions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ActionsServiceServer).AtomicBatchExecuteActions(ctx, req.(*AtomicBatchExecuteActionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ActionsService_ServiceDesc is the grpc.ServiceDesc for ActionsService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ActionsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.actions.v2.ActionsService", - HandlerType: (*ActionsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateAction", - Handler: _ActionsService_CreateAction_Handler, - }, - { - MethodName: "ReplaceAction", - Handler: _ActionsService_ReplaceAction_Handler, - }, - { - MethodName: "DeleteAction", - Handler: _ActionsService_DeleteAction_Handler, - }, - { - MethodName: "GetAction", - Handler: _ActionsService_GetAction_Handler, - }, - { - MethodName: "ListActions", - Handler: _ActionsService_ListActions_Handler, - }, - { - MethodName: "OrderActions", - Handler: _ActionsService_OrderActions_Handler, - }, - { - MethodName: "AtomicBatchExecuteActions", - Handler: _ActionsService_AtomicBatchExecuteActions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/actions/v2/actions_service.proto", -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/active_timeframe.pb.go b/coralogix/clientset/grpc/alerts-scheduler/active_timeframe.pb.go deleted file mode 100644 index 7238b333..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/active_timeframe.pb.go +++ /dev/null @@ -1,171 +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/alerting/alert_scheduler_rule_protobuf/v1/active_timeframe.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 ActiveTimeframe struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Timezone string `protobuf:"bytes,3,opt,name=timezone,proto3" json:"timezone,omitempty"` -} - -func (x *ActiveTimeframe) Reset() { - *x = ActiveTimeframe{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActiveTimeframe) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActiveTimeframe) ProtoMessage() {} - -func (x *ActiveTimeframe) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_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 ActiveTimeframe.ProtoReflect.Descriptor instead. -func (*ActiveTimeframe) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescGZIP(), []int{0} -} - -func (x *ActiveTimeframe) GetStartTime() string { - if x != nil { - return x.StartTime - } - return "" -} - -func (x *ActiveTimeframe) GetEndTime() string { - if x != nil { - return x.EndTime - } - return "" -} - -func (x *ActiveTimeframe) GetTimezone() string { - if x != nil { - return x.Timezone - } - return "" -} - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDesc = []byte{ - 0x0a, 0x52, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, - 0x31, 0x22, 0x67, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescData = file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDesc -) - -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDescData -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_goTypes = []interface{}{ - (*ActiveTimeframe)(nil), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ActiveTimeframe -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_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_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_init() -} -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActiveTimeframe); 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_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_depIdxs, - MessageInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_filter.pb.go b/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_filter.pb.go deleted file mode 100644 index 51cc6033..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_filter.pb.go +++ /dev/null @@ -1,351 +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/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_filter.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 Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WhatExpression string `protobuf:"bytes,1,opt,name=what_expression,json=whatExpression,proto3" json:"what_expression,omitempty"` // TODO select correct names by Harel - // Types that are assignable to WhichAlerts: - // *Filter_AlertMetaLabels - // *Filter_AlertUniqueIds - WhichAlerts isFilter_WhichAlerts `protobuf_oneof:"which_alerts"` -} - -func (x *Filter) Reset() { - *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter) ProtoMessage() {} - -func (x *Filter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_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 Filter.ProtoReflect.Descriptor instead. -func (*Filter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescGZIP(), []int{0} -} - -func (x *Filter) GetWhatExpression() string { - if x != nil { - return x.WhatExpression - } - return "" -} - -func (m *Filter) GetWhichAlerts() isFilter_WhichAlerts { - if m != nil { - return m.WhichAlerts - } - return nil -} - -func (x *Filter) GetAlertMetaLabels() *MetaLabels { - if x, ok := x.GetWhichAlerts().(*Filter_AlertMetaLabels); ok { - return x.AlertMetaLabels - } - return nil -} - -func (x *Filter) GetAlertUniqueIds() *AlertUniqueIds { - if x, ok := x.GetWhichAlerts().(*Filter_AlertUniqueIds); ok { - return x.AlertUniqueIds - } - return nil -} - -type isFilter_WhichAlerts interface { - isFilter_WhichAlerts() -} - -type Filter_AlertMetaLabels struct { - AlertMetaLabels *MetaLabels `protobuf:"bytes,2,opt,name=alert_meta_labels,json=alertMetaLabels,proto3,oneof"` // TODO support also only key, event if the Alert MetaLabel as value -} - -type Filter_AlertUniqueIds struct { - AlertUniqueIds *AlertUniqueIds `protobuf:"bytes,3,opt,name=alert_unique_ids,json=alertUniqueIds,proto3,oneof"` // when AlertIds is empty meaning its all -} - -func (*Filter_AlertMetaLabels) isFilter_WhichAlerts() {} - -func (*Filter_AlertUniqueIds) isFilter_WhichAlerts() {} - -type AlertUniqueIds struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` -} - -func (x *AlertUniqueIds) Reset() { - *x = AlertUniqueIds{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertUniqueIds) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertUniqueIds) ProtoMessage() {} - -func (x *AlertUniqueIds) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_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 AlertUniqueIds.ProtoReflect.Descriptor instead. -func (*AlertUniqueIds) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescGZIP(), []int{1} -} - -func (x *AlertUniqueIds) GetValue() []string { - if x != nil { - return x.Value - } - return nil -} - -type MetaLabels struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value []*MetaLabel `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` -} - -func (x *MetaLabels) Reset() { - *x = MetaLabels{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetaLabels) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetaLabels) ProtoMessage() {} - -func (x *MetaLabels) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_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 MetaLabels.ProtoReflect.Descriptor instead. -func (*MetaLabels) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescGZIP(), []int{2} -} - -func (x *MetaLabels) GetValue() []*MetaLabel { - if x != nil { - return x.Value - } - return nil -} - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDesc = []byte{ - 0x0a, 0x58, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x44, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, - 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x02, - 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x68, 0x61, 0x74, - 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x77, 0x68, 0x61, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x75, 0x0a, 0x11, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x65, - 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x77, 0x0a, 0x10, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, - 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x73, 0x48, - 0x00, 0x52, 0x0e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, - 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x77, 0x68, 0x69, 0x63, 0x68, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x22, 0x26, 0x0a, 0x0e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, - 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x61, 0x0a, 0x0a, 0x4d, 0x65, 0x74, - 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x53, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescData = file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDesc -) - -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDescData -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_goTypes = []interface{}{ - (*Filter)(nil), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Filter - (*AlertUniqueIds)(nil), // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertUniqueIds - (*MetaLabels)(nil), // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.MetaLabels - (*MetaLabel)(nil), // 3: com.coralogixapis.alerting.meta_labels_protobuf.v1.MetaLabel -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Filter.alert_meta_labels:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.MetaLabels - 1, // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Filter.alert_unique_ids:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertUniqueIds - 3, // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.MetaLabels.value:type_name -> com.coralogixapis.alerting.meta_labels_protobuf.v1.MetaLabel - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_init() -} -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto != nil { - return - } - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertUniqueIds); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetaLabels); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*Filter_AlertMetaLabels)(nil), - (*Filter_AlertUniqueIds)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_depIdxs, - MessageInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_request.pb.go b/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_request.pb.go deleted file mode 100644 index 32ca5221..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_request.pb.go +++ /dev/null @@ -1,969 +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/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_request.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 GetAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRuleId string `protobuf:"bytes,1,opt,name=alert_scheduler_rule_id,json=alertSchedulerRuleId,proto3" json:"alert_scheduler_rule_id,omitempty"` -} - -func (x *GetAlertSchedulerRuleRequest) Reset() { - *x = GetAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *GetAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 GetAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*GetAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{0} -} - -func (x *GetAlertSchedulerRuleRequest) GetAlertSchedulerRuleId() string { - if x != nil { - return x.AlertSchedulerRuleId - } - return "" -} - -type CreateAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRule *AlertSchedulerRule `protobuf:"bytes,1,opt,name=alert_scheduler_rule,json=alertSchedulerRule,proto3" json:"alert_scheduler_rule,omitempty"` -} - -func (x *CreateAlertSchedulerRuleRequest) Reset() { - *x = CreateAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *CreateAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 CreateAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*CreateAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateAlertSchedulerRuleRequest) GetAlertSchedulerRule() *AlertSchedulerRule { - if x != nil { - return x.AlertSchedulerRule - } - return nil -} - -type UpdateAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRule *AlertSchedulerRule `protobuf:"bytes,1,opt,name=alert_scheduler_rule,json=alertSchedulerRule,proto3" json:"alert_scheduler_rule,omitempty"` -} - -func (x *UpdateAlertSchedulerRuleRequest) Reset() { - *x = UpdateAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *UpdateAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 UpdateAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*UpdateAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{2} -} - -func (x *UpdateAlertSchedulerRuleRequest) GetAlertSchedulerRule() *AlertSchedulerRule { - if x != nil { - return x.AlertSchedulerRule - } - return nil -} - -type DeleteAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRuleId string `protobuf:"bytes,1,opt,name=alert_scheduler_rule_id,json=alertSchedulerRuleId,proto3" json:"alert_scheduler_rule_id,omitempty"` -} - -func (x *DeleteAlertSchedulerRuleRequest) Reset() { - *x = DeleteAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *DeleteAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 DeleteAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*DeleteAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{3} -} - -func (x *DeleteAlertSchedulerRuleRequest) GetAlertSchedulerRuleId() string { - if x != nil { - return x.AlertSchedulerRuleId - } - return "" -} - -type AlertSchedulerRuleIds struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRuleIds []string `protobuf:"bytes,1,rep,name=alert_scheduler_rule_ids,json=alertSchedulerRuleIds,proto3" json:"alert_scheduler_rule_ids,omitempty"` -} - -func (x *AlertSchedulerRuleIds) Reset() { - *x = AlertSchedulerRuleIds{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertSchedulerRuleIds) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertSchedulerRuleIds) ProtoMessage() {} - -func (x *AlertSchedulerRuleIds) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 AlertSchedulerRuleIds.ProtoReflect.Descriptor instead. -func (*AlertSchedulerRuleIds) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{4} -} - -func (x *AlertSchedulerRuleIds) GetAlertSchedulerRuleIds() []string { - if x != nil { - return x.AlertSchedulerRuleIds - } - return nil -} - -type AlertSchedulerRuleVersionIds struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRuleVersionIds []string `protobuf:"bytes,1,rep,name=alert_scheduler_rule_version_ids,json=alertSchedulerRuleVersionIds,proto3" json:"alert_scheduler_rule_version_ids,omitempty"` -} - -func (x *AlertSchedulerRuleVersionIds) Reset() { - *x = AlertSchedulerRuleVersionIds{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertSchedulerRuleVersionIds) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertSchedulerRuleVersionIds) ProtoMessage() {} - -func (x *AlertSchedulerRuleVersionIds) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 AlertSchedulerRuleVersionIds.ProtoReflect.Descriptor instead. -func (*AlertSchedulerRuleVersionIds) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{5} -} - -func (x *AlertSchedulerRuleVersionIds) GetAlertSchedulerRuleVersionIds() []string { - if x != nil { - return x.AlertSchedulerRuleVersionIds - } - return nil -} - -type FilterByAlertSchedulerRuleIds struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to AlertSchedulerRuleIds: - // *FilterByAlertSchedulerRuleIds_AlertSchedulerIds - // *FilterByAlertSchedulerRuleIds_AlertSchedulerVersionIds - AlertSchedulerRuleIds isFilterByAlertSchedulerRuleIds_AlertSchedulerRuleIds `protobuf_oneof:"alert_scheduler_rule_ids"` -} - -func (x *FilterByAlertSchedulerRuleIds) Reset() { - *x = FilterByAlertSchedulerRuleIds{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FilterByAlertSchedulerRuleIds) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FilterByAlertSchedulerRuleIds) ProtoMessage() {} - -func (x *FilterByAlertSchedulerRuleIds) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 FilterByAlertSchedulerRuleIds.ProtoReflect.Descriptor instead. -func (*FilterByAlertSchedulerRuleIds) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{6} -} - -func (m *FilterByAlertSchedulerRuleIds) GetAlertSchedulerRuleIds() isFilterByAlertSchedulerRuleIds_AlertSchedulerRuleIds { - if m != nil { - return m.AlertSchedulerRuleIds - } - return nil -} - -func (x *FilterByAlertSchedulerRuleIds) GetAlertSchedulerIds() *AlertSchedulerRuleIds { - if x, ok := x.GetAlertSchedulerRuleIds().(*FilterByAlertSchedulerRuleIds_AlertSchedulerIds); ok { - return x.AlertSchedulerIds - } - return nil -} - -func (x *FilterByAlertSchedulerRuleIds) GetAlertSchedulerVersionIds() *AlertSchedulerRuleVersionIds { - if x, ok := x.GetAlertSchedulerRuleIds().(*FilterByAlertSchedulerRuleIds_AlertSchedulerVersionIds); ok { - return x.AlertSchedulerVersionIds - } - return nil -} - -type isFilterByAlertSchedulerRuleIds_AlertSchedulerRuleIds interface { - isFilterByAlertSchedulerRuleIds_AlertSchedulerRuleIds() -} - -type FilterByAlertSchedulerRuleIds_AlertSchedulerIds struct { - AlertSchedulerIds *AlertSchedulerRuleIds `protobuf:"bytes,3,opt,name=alert_scheduler_ids,json=alertSchedulerIds,proto3,oneof"` -} - -type FilterByAlertSchedulerRuleIds_AlertSchedulerVersionIds struct { - AlertSchedulerVersionIds *AlertSchedulerRuleVersionIds `protobuf:"bytes,4,opt,name=alert_scheduler_version_ids,json=alertSchedulerVersionIds,proto3,oneof"` -} - -func (*FilterByAlertSchedulerRuleIds_AlertSchedulerIds) isFilterByAlertSchedulerRuleIds_AlertSchedulerRuleIds() { -} - -func (*FilterByAlertSchedulerRuleIds_AlertSchedulerVersionIds) isFilterByAlertSchedulerRuleIds_AlertSchedulerRuleIds() { -} - -type GetBulkAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ActiveTimeframe *ActiveTimeframe `protobuf:"bytes,1,opt,name=active_timeframe,json=activeTimeframe,proto3" json:"active_timeframe,omitempty"` - Enabled *bool `protobuf:"varint,2,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` - AlertSchedulerRulesIds *FilterByAlertSchedulerRuleIds `protobuf:"bytes,3,opt,name=alert_scheduler_rules_ids,json=alertSchedulerRulesIds,proto3" json:"alert_scheduler_rules_ids,omitempty"` - NextPageToken *string `protobuf:"bytes,15,opt,name=next_page_token,json=nextPageToken,proto3,oneof" json:"next_page_token,omitempty"` -} - -func (x *GetBulkAlertSchedulerRuleRequest) Reset() { - *x = GetBulkAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBulkAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBulkAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *GetBulkAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 GetBulkAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*GetBulkAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{7} -} - -func (x *GetBulkAlertSchedulerRuleRequest) GetActiveTimeframe() *ActiveTimeframe { - if x != nil { - return x.ActiveTimeframe - } - return nil -} - -func (x *GetBulkAlertSchedulerRuleRequest) GetEnabled() bool { - if x != nil && x.Enabled != nil { - return *x.Enabled - } - return false -} - -func (x *GetBulkAlertSchedulerRuleRequest) GetAlertSchedulerRulesIds() *FilterByAlertSchedulerRuleIds { - if x != nil { - return x.AlertSchedulerRulesIds - } - return nil -} - -func (x *GetBulkAlertSchedulerRuleRequest) GetNextPageToken() string { - if x != nil && x.NextPageToken != nil { - return *x.NextPageToken - } - return "" -} - -type CreateBulkAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreateAlertSchedulerRuleRequests []*CreateAlertSchedulerRuleRequest `protobuf:"bytes,1,rep,name=create_alert_scheduler_rule_requests,json=createAlertSchedulerRuleRequests,proto3" json:"create_alert_scheduler_rule_requests,omitempty"` -} - -func (x *CreateBulkAlertSchedulerRuleRequest) Reset() { - *x = CreateBulkAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBulkAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBulkAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *CreateBulkAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 CreateBulkAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*CreateBulkAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{8} -} - -func (x *CreateBulkAlertSchedulerRuleRequest) GetCreateAlertSchedulerRuleRequests() []*CreateAlertSchedulerRuleRequest { - if x != nil { - return x.CreateAlertSchedulerRuleRequests - } - return nil -} - -type UpdateBulkAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UpdateAlertSchedulerRuleRequests []*UpdateAlertSchedulerRuleRequest `protobuf:"bytes,1,rep,name=update_alert_scheduler_rule_requests,json=updateAlertSchedulerRuleRequests,proto3" json:"update_alert_scheduler_rule_requests,omitempty"` -} - -func (x *UpdateBulkAlertSchedulerRuleRequest) Reset() { - *x = UpdateBulkAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateBulkAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateBulkAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *UpdateBulkAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 UpdateBulkAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*UpdateBulkAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{9} -} - -func (x *UpdateBulkAlertSchedulerRuleRequest) GetUpdateAlertSchedulerRuleRequests() []*UpdateAlertSchedulerRuleRequest { - if x != nil { - return x.UpdateAlertSchedulerRuleRequests - } - return nil -} - -type DeleteBulkAlertSchedulerRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DeleteAlertSchedulerRuleRequests []*DeleteAlertSchedulerRuleRequest `protobuf:"bytes,1,rep,name=delete_alert_scheduler_rule_requests,json=deleteAlertSchedulerRuleRequests,proto3" json:"delete_alert_scheduler_rule_requests,omitempty"` -} - -func (x *DeleteBulkAlertSchedulerRuleRequest) Reset() { - *x = DeleteBulkAlertSchedulerRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteBulkAlertSchedulerRuleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteBulkAlertSchedulerRuleRequest) ProtoMessage() {} - -func (x *DeleteBulkAlertSchedulerRuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_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 DeleteBulkAlertSchedulerRuleRequest.ProtoReflect.Descriptor instead. -func (*DeleteBulkAlertSchedulerRuleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP(), []int{10} -} - -func (x *DeleteBulkAlertSchedulerRuleRequest) GetDeleteAlertSchedulerRuleRequests() []*DeleteAlertSchedulerRuleRequest { - if x != nil { - return x.DeleteAlertSchedulerRuleRequests - } - return nil -} - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDesc = []byte{ - 0x0a, 0x59, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3b, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x56, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x52, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x1f, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x81, 0x01, 0x0a, 0x14, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, - 0x75, 0x6c, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x81, 0x01, 0x0a, 0x14, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x18, 0x01, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x22, 0x58, 0x0a, 0x1f, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, - 0x0a, 0x17, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x14, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, - 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x50, 0x0a, 0x15, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x37, - 0x0a, 0x18, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x15, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22, 0x66, 0x0a, 0x1c, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x46, 0x0a, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x1c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, - 0xdf, 0x02, 0x0a, 0x1d, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x79, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, - 0x73, 0x12, 0x84, 0x01, 0x0a, 0x13, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x52, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, - 0x49, 0x64, 0x73, 0x48, 0x00, 0x52, 0x11, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x1b, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x59, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x48, 0x00, 0x52, 0x18, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x42, 0x1a, 0x0a, 0x18, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x73, 0x22, 0x9f, 0x03, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x77, 0x0a, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x0f, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, - 0x1d, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, - 0x48, 0x00, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x95, - 0x01, 0x0a, 0x19, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, - 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, - 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x79, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x52, 0x16, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x49, 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, - 0x12, 0x0a, 0x10, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0xd4, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, - 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0xac, 0x01, 0x0a, 0x24, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5c, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x23, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0xac, 0x01, 0x0a, 0x24, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x5c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x23, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0xac, 0x01, 0x0a, 0x24, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescData = file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDesc -) - -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDescData -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_goTypes = []interface{}{ - (*GetAlertSchedulerRuleRequest)(nil), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetAlertSchedulerRuleRequest - (*CreateAlertSchedulerRuleRequest)(nil), // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleRequest - (*UpdateAlertSchedulerRuleRequest)(nil), // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleRequest - (*DeleteAlertSchedulerRuleRequest)(nil), // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteAlertSchedulerRuleRequest - (*AlertSchedulerRuleIds)(nil), // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleIds - (*AlertSchedulerRuleVersionIds)(nil), // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleVersionIds - (*FilterByAlertSchedulerRuleIds)(nil), // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.FilterByAlertSchedulerRuleIds - (*GetBulkAlertSchedulerRuleRequest)(nil), // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleRequest - (*CreateBulkAlertSchedulerRuleRequest)(nil), // 8: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleRequest - (*UpdateBulkAlertSchedulerRuleRequest)(nil), // 9: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleRequest - (*DeleteBulkAlertSchedulerRuleRequest)(nil), // 10: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteBulkAlertSchedulerRuleRequest - (*AlertSchedulerRule)(nil), // 11: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - (*ActiveTimeframe)(nil), // 12: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ActiveTimeframe -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_depIdxs = []int32{ - 11, // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleRequest.alert_scheduler_rule:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - 11, // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleRequest.alert_scheduler_rule:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - 4, // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.FilterByAlertSchedulerRuleIds.alert_scheduler_ids:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleIds - 5, // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.FilterByAlertSchedulerRuleIds.alert_scheduler_version_ids:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleVersionIds - 12, // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleRequest.active_timeframe:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ActiveTimeframe - 6, // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleRequest.alert_scheduler_rules_ids:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.FilterByAlertSchedulerRuleIds - 1, // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleRequest.create_alert_scheduler_rule_requests:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleRequest - 2, // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleRequest.update_alert_scheduler_rule_requests:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleRequest - 3, // 8: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteBulkAlertSchedulerRuleRequest.delete_alert_scheduler_rule_requests:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteAlertSchedulerRuleRequest - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] 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_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_init() -} -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto != nil { - return - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_init() - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertSchedulerRuleIds); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertSchedulerRuleVersionIds); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterByAlertSchedulerRuleIds); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBulkAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBulkAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBulkAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBulkAlertSchedulerRuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[6].OneofWrappers = []interface{}{ - (*FilterByAlertSchedulerRuleIds_AlertSchedulerIds)(nil), - (*FilterByAlertSchedulerRuleIds_AlertSchedulerVersionIds)(nil), - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes[7].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_depIdxs, - MessageInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_response.pb.go b/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_response.pb.go deleted file mode 100644 index ee001790..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_response.pb.go +++ /dev/null @@ -1,691 +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/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_response.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 GetAlertSchedulerRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRule *AlertSchedulerRule `protobuf:"bytes,1,opt,name=alert_scheduler_rule,json=alertSchedulerRule,proto3" json:"alert_scheduler_rule,omitempty"` -} - -func (x *GetAlertSchedulerRuleResponse) Reset() { - *x = GetAlertSchedulerRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertSchedulerRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertSchedulerRuleResponse) ProtoMessage() {} - -func (x *GetAlertSchedulerRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 GetAlertSchedulerRuleResponse.ProtoReflect.Descriptor instead. -func (*GetAlertSchedulerRuleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{0} -} - -func (x *GetAlertSchedulerRuleResponse) GetAlertSchedulerRule() *AlertSchedulerRule { - if x != nil { - return x.AlertSchedulerRule - } - return nil -} - -type CreateAlertSchedulerRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRule *AlertSchedulerRule `protobuf:"bytes,1,opt,name=alert_scheduler_rule,json=alertSchedulerRule,proto3" json:"alert_scheduler_rule,omitempty"` -} - -func (x *CreateAlertSchedulerRuleResponse) Reset() { - *x = CreateAlertSchedulerRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateAlertSchedulerRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateAlertSchedulerRuleResponse) ProtoMessage() {} - -func (x *CreateAlertSchedulerRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 CreateAlertSchedulerRuleResponse.ProtoReflect.Descriptor instead. -func (*CreateAlertSchedulerRuleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateAlertSchedulerRuleResponse) GetAlertSchedulerRule() *AlertSchedulerRule { - if x != nil { - return x.AlertSchedulerRule - } - return nil -} - -type UpdateAlertSchedulerRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRule *AlertSchedulerRule `protobuf:"bytes,1,opt,name=alert_scheduler_rule,json=alertSchedulerRule,proto3" json:"alert_scheduler_rule,omitempty"` -} - -func (x *UpdateAlertSchedulerRuleResponse) Reset() { - *x = UpdateAlertSchedulerRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateAlertSchedulerRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateAlertSchedulerRuleResponse) ProtoMessage() {} - -func (x *UpdateAlertSchedulerRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 UpdateAlertSchedulerRuleResponse.ProtoReflect.Descriptor instead. -func (*UpdateAlertSchedulerRuleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{2} -} - -func (x *UpdateAlertSchedulerRuleResponse) GetAlertSchedulerRule() *AlertSchedulerRule { - if x != nil { - return x.AlertSchedulerRule - } - return nil -} - -type DeleteAlertSchedulerRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteAlertSchedulerRuleResponse) Reset() { - *x = DeleteAlertSchedulerRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteAlertSchedulerRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteAlertSchedulerRuleResponse) ProtoMessage() {} - -func (x *DeleteAlertSchedulerRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 DeleteAlertSchedulerRuleResponse.ProtoReflect.Descriptor instead. -func (*DeleteAlertSchedulerRuleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{3} -} - -type CreateBulkAlertSchedulerRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreateSuppressionResponses []*CreateAlertSchedulerRuleResponse `protobuf:"bytes,1,rep,name=create_suppression_responses,json=createSuppressionResponses,proto3" json:"create_suppression_responses,omitempty"` -} - -func (x *CreateBulkAlertSchedulerRuleResponse) Reset() { - *x = CreateBulkAlertSchedulerRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBulkAlertSchedulerRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBulkAlertSchedulerRuleResponse) ProtoMessage() {} - -func (x *CreateBulkAlertSchedulerRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 CreateBulkAlertSchedulerRuleResponse.ProtoReflect.Descriptor instead. -func (*CreateBulkAlertSchedulerRuleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{4} -} - -func (x *CreateBulkAlertSchedulerRuleResponse) GetCreateSuppressionResponses() []*CreateAlertSchedulerRuleResponse { - if x != nil { - return x.CreateSuppressionResponses - } - return nil -} - -type UpdateBulkAlertSchedulerRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UpdateSuppressionResponses []*UpdateAlertSchedulerRuleResponse `protobuf:"bytes,1,rep,name=update_suppression_responses,json=updateSuppressionResponses,proto3" json:"update_suppression_responses,omitempty"` -} - -func (x *UpdateBulkAlertSchedulerRuleResponse) Reset() { - *x = UpdateBulkAlertSchedulerRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateBulkAlertSchedulerRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateBulkAlertSchedulerRuleResponse) ProtoMessage() {} - -func (x *UpdateBulkAlertSchedulerRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 UpdateBulkAlertSchedulerRuleResponse.ProtoReflect.Descriptor instead. -func (*UpdateBulkAlertSchedulerRuleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{5} -} - -func (x *UpdateBulkAlertSchedulerRuleResponse) GetUpdateSuppressionResponses() []*UpdateAlertSchedulerRuleResponse { - if x != nil { - return x.UpdateSuppressionResponses - } - return nil -} - -type GetBulkAlertSchedulerRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRules []*AlertSchedulerRuleWithActiveTimeframe `protobuf:"bytes,1,rep,name=alert_scheduler_rules,json=alertSchedulerRules,proto3" json:"alert_scheduler_rules,omitempty"` - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` -} - -func (x *GetBulkAlertSchedulerRuleResponse) Reset() { - *x = GetBulkAlertSchedulerRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBulkAlertSchedulerRuleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBulkAlertSchedulerRuleResponse) ProtoMessage() {} - -func (x *GetBulkAlertSchedulerRuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 GetBulkAlertSchedulerRuleResponse.ProtoReflect.Descriptor instead. -func (*GetBulkAlertSchedulerRuleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{6} -} - -func (x *GetBulkAlertSchedulerRuleResponse) GetAlertSchedulerRules() []*AlertSchedulerRuleWithActiveTimeframe { - if x != nil { - return x.AlertSchedulerRules - } - return nil -} - -func (x *GetBulkAlertSchedulerRuleResponse) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -type AlertSchedulerRuleWithActiveTimeframe struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertSchedulerRule *AlertSchedulerRule `protobuf:"bytes,1,opt,name=alert_scheduler_rule,json=alertSchedulerRule,proto3" json:"alert_scheduler_rule,omitempty"` - NextActiveTimeframes []*ActiveTimeframe `protobuf:"bytes,2,rep,name=next_active_timeframes,json=nextActiveTimeframes,proto3" json:"next_active_timeframes,omitempty"` -} - -func (x *AlertSchedulerRuleWithActiveTimeframe) Reset() { - *x = AlertSchedulerRuleWithActiveTimeframe{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertSchedulerRuleWithActiveTimeframe) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertSchedulerRuleWithActiveTimeframe) ProtoMessage() {} - -func (x *AlertSchedulerRuleWithActiveTimeframe) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_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 AlertSchedulerRuleWithActiveTimeframe.ProtoReflect.Descriptor instead. -func (*AlertSchedulerRuleWithActiveTimeframe) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP(), []int{7} -} - -func (x *AlertSchedulerRuleWithActiveTimeframe) GetAlertSchedulerRule() *AlertSchedulerRule { - if x != nil { - return x.AlertSchedulerRule - } - return nil -} - -func (x *AlertSchedulerRuleWithActiveTimeframe) GetNextActiveTimeframes() []*ActiveTimeframe { - if x != nil { - return x.NextActiveTimeframes - } - return nil -} - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDesc = []byte{ - 0x0a, 0x5a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3b, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x56, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x52, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x14, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x18, 0x01, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x20, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x81, 0x01, 0x0a, 0x14, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, - 0x52, 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x52, 0x75, 0x6c, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x14, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x18, 0x01, 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, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x22, 0x22, 0x0a, - 0x20, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x1c, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x5d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x1a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0xc8, 0x01, 0x0a, - 0x24, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x1c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x5f, 0x73, 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5d, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, - 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x1a, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x42, - 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x96, 0x01, - 0x0a, 0x15, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, - 0x65, 0x52, 0x13, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb0, - 0x02, 0x0a, 0x25, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x52, 0x75, 0x6c, 0x65, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x14, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x18, 0x01, 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, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x82, 0x01, 0x0a, - 0x16, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x14, 0x6e, 0x65, 0x78, - 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, - 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescData = file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDesc -) - -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDescData -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_goTypes = []interface{}{ - (*GetAlertSchedulerRuleResponse)(nil), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetAlertSchedulerRuleResponse - (*CreateAlertSchedulerRuleResponse)(nil), // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleResponse - (*UpdateAlertSchedulerRuleResponse)(nil), // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleResponse - (*DeleteAlertSchedulerRuleResponse)(nil), // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteAlertSchedulerRuleResponse - (*CreateBulkAlertSchedulerRuleResponse)(nil), // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleResponse - (*UpdateBulkAlertSchedulerRuleResponse)(nil), // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleResponse - (*GetBulkAlertSchedulerRuleResponse)(nil), // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleResponse - (*AlertSchedulerRuleWithActiveTimeframe)(nil), // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleWithActiveTimeframe - (*AlertSchedulerRule)(nil), // 8: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - (*ActiveTimeframe)(nil), // 9: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ActiveTimeframe -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_depIdxs = []int32{ - 8, // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetAlertSchedulerRuleResponse.alert_scheduler_rule:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - 8, // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleResponse.alert_scheduler_rule:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - 8, // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleResponse.alert_scheduler_rule:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - 1, // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleResponse.create_suppression_responses:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleResponse - 2, // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleResponse.update_suppression_responses:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleResponse - 7, // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleResponse.alert_scheduler_rules:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleWithActiveTimeframe - 8, // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleWithActiveTimeframe.alert_scheduler_rule:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - 9, // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleWithActiveTimeframe.next_active_timeframes:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ActiveTimeframe - 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_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_init() -} -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto != nil { - return - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_init() - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_active_timeframe_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertSchedulerRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAlertSchedulerRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAlertSchedulerRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAlertSchedulerRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBulkAlertSchedulerRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBulkAlertSchedulerRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBulkAlertSchedulerRuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertSchedulerRuleWithActiveTimeframe); 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_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_depIdxs, - MessageInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule.pb.go b/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule.pb.go deleted file mode 100644 index f2996638..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule.pb.go +++ /dev/null @@ -1,284 +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/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_rule.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 AlertSchedulerRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UniqueIdentifier *string `protobuf:"bytes,1,opt,name=unique_identifier,json=uniqueIdentifier,proto3,oneof" json:"unique_identifier,omitempty"` - Id *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` - MetaLabels []*MetaLabel `protobuf:"bytes,5,rep,name=meta_labels,json=metaLabels,proto3" json:"meta_labels,omitempty"` - Filter *Filter `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` - Schedule *Schedule `protobuf:"bytes,7,opt,name=schedule,proto3" json:"schedule,omitempty"` - Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"` - CreatedAt *string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *string `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` -} - -func (x *AlertSchedulerRule) Reset() { - *x = AlertSchedulerRule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertSchedulerRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertSchedulerRule) ProtoMessage() {} - -func (x *AlertSchedulerRule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_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 AlertSchedulerRule.ProtoReflect.Descriptor instead. -func (*AlertSchedulerRule) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescGZIP(), []int{0} -} - -func (x *AlertSchedulerRule) GetUniqueIdentifier() string { - if x != nil && x.UniqueIdentifier != nil { - return *x.UniqueIdentifier - } - return "" -} - -func (x *AlertSchedulerRule) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *AlertSchedulerRule) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *AlertSchedulerRule) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *AlertSchedulerRule) GetMetaLabels() []*MetaLabel { - if x != nil { - return x.MetaLabels - } - return nil -} - -func (x *AlertSchedulerRule) GetFilter() *Filter { - if x != nil { - return x.Filter - } - return nil -} - -func (x *AlertSchedulerRule) GetSchedule() *Schedule { - if x != nil { - return x.Schedule - } - return nil -} - -func (x *AlertSchedulerRule) GetEnabled() bool { - if x != nil { - return x.Enabled - } - return false -} - -func (x *AlertSchedulerRule) GetCreatedAt() string { - if x != nil && x.CreatedAt != nil { - return *x.CreatedAt - } - return "" -} - -func (x *AlertSchedulerRule) GetUpdatedAt() string { - if x != nil && x.UpdatedAt != nil { - return *x.UpdatedAt - } - return "" -} - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDesc = []byte{ - 0x0a, 0x56, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x44, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, - 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x58, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x4a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, - 0x67, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, - 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0xe3, 0x04, 0x0a, 0x12, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x75, 0x6e, 0x69, 0x71, - 0x75, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x5e, 0x0a, 0x0b, 0x6d, 0x65, - 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, - 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0a, - 0x6d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x5b, 0x0a, 0x06, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, - 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x61, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x18, 0x07, 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, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x09, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, - 0x5f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescData = file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDesc -) - -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDescData -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_goTypes = []interface{}{ - (*AlertSchedulerRule)(nil), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule - (*MetaLabel)(nil), // 1: com.coralogixapis.alerting.meta_labels_protobuf.v1.MetaLabel - (*Filter)(nil), // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Filter - (*Schedule)(nil), // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Schedule -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule.meta_labels:type_name -> com.coralogixapis.alerting.meta_labels_protobuf.v1.MetaLabel - 2, // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule.filter:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Filter - 3, // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRule.schedule:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Schedule - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_init() -} -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto != nil { - return - } - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_init() - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_filter_proto_init() - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertSchedulerRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_depIdxs, - MessageInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_service.pb.go b/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_service.pb.go deleted file mode 100644 index 8f8e0ecb..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_service.pb.go +++ /dev/null @@ -1,213 +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/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_rule_service.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -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) -) - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_rawDesc = []byte{ - 0x0a, 0x5e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x59, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x5a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb1, 0x0c, 0x0a, 0x19, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0xd0, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x59, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x5a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xd9, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, - 0x6c, 0x65, 0x12, 0x5c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, - 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x5d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0xd9, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x5c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x5d, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, - 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xd9, 0x01, - 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x5c, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x5d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xdc, 0x01, 0x0a, 0x19, 0x47, 0x65, - 0x74, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x5d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, - 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x5e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xe5, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x60, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, - 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x61, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, - 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0xe5, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, - 0x65, 0x12, 0x60, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_goTypes = []interface{}{ - (*GetAlertSchedulerRuleRequest)(nil), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetAlertSchedulerRuleRequest - (*CreateAlertSchedulerRuleRequest)(nil), // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleRequest - (*UpdateAlertSchedulerRuleRequest)(nil), // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleRequest - (*DeleteAlertSchedulerRuleRequest)(nil), // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteAlertSchedulerRuleRequest - (*GetBulkAlertSchedulerRuleRequest)(nil), // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleRequest - (*CreateBulkAlertSchedulerRuleRequest)(nil), // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleRequest - (*UpdateBulkAlertSchedulerRuleRequest)(nil), // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleRequest - (*GetAlertSchedulerRuleResponse)(nil), // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetAlertSchedulerRuleResponse - (*CreateAlertSchedulerRuleResponse)(nil), // 8: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleResponse - (*UpdateAlertSchedulerRuleResponse)(nil), // 9: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleResponse - (*DeleteAlertSchedulerRuleResponse)(nil), // 10: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteAlertSchedulerRuleResponse - (*GetBulkAlertSchedulerRuleResponse)(nil), // 11: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleResponse - (*CreateBulkAlertSchedulerRuleResponse)(nil), // 12: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleResponse - (*UpdateBulkAlertSchedulerRuleResponse)(nil), // 13: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleResponse -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_depIdxs = []int32{ - 0, // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.GetAlertSchedulerRule:input_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetAlertSchedulerRuleRequest - 1, // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.CreateAlertSchedulerRule:input_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleRequest - 2, // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.UpdateAlertSchedulerRule:input_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleRequest - 3, // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.DeleteAlertSchedulerRule:input_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteAlertSchedulerRuleRequest - 4, // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.GetBulkAlertSchedulerRule:input_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleRequest - 5, // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.CreateBulkAlertSchedulerRule:input_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleRequest - 6, // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.UpdateBulkAlertSchedulerRule:input_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleRequest - 7, // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.GetAlertSchedulerRule:output_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetAlertSchedulerRuleResponse - 8, // 8: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.CreateAlertSchedulerRule:output_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateAlertSchedulerRuleResponse - 9, // 9: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.UpdateAlertSchedulerRule:output_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateAlertSchedulerRuleResponse - 10, // 10: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.DeleteAlertSchedulerRule:output_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DeleteAlertSchedulerRuleResponse - 11, // 11: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.GetBulkAlertSchedulerRule:output_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.GetBulkAlertSchedulerRuleResponse - 12, // 12: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.CreateBulkAlertSchedulerRule:output_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.CreateBulkAlertSchedulerRuleResponse - 13, // 13: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService.UpdateBulkAlertSchedulerRule:output_type -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.UpdateBulkAlertSchedulerRuleResponse - 7, // [7:14] is the sub-list for method output_type - 0, // [0:7] 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_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_init() -} -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto != nil { - return - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_request_proto_init() - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_response_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_depIdxs, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_service_grpc.pb.go b/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_service_grpc.pb.go deleted file mode 100644 index 4790fa31..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_service_grpc.pb.go +++ /dev/null @@ -1,322 +0,0 @@ -// 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/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_rule_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 - -// AlertSchedulerRuleServiceClient is the client API for AlertSchedulerRuleService 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 AlertSchedulerRuleServiceClient interface { - GetAlertSchedulerRule(ctx context.Context, in *GetAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*GetAlertSchedulerRuleResponse, error) - CreateAlertSchedulerRule(ctx context.Context, in *CreateAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*CreateAlertSchedulerRuleResponse, error) - UpdateAlertSchedulerRule(ctx context.Context, in *UpdateAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*UpdateAlertSchedulerRuleResponse, error) - DeleteAlertSchedulerRule(ctx context.Context, in *DeleteAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*DeleteAlertSchedulerRuleResponse, error) - GetBulkAlertSchedulerRule(ctx context.Context, in *GetBulkAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*GetBulkAlertSchedulerRuleResponse, error) - CreateBulkAlertSchedulerRule(ctx context.Context, in *CreateBulkAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*CreateBulkAlertSchedulerRuleResponse, error) - UpdateBulkAlertSchedulerRule(ctx context.Context, in *UpdateBulkAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*UpdateBulkAlertSchedulerRuleResponse, error) -} - -type alertSchedulerRuleServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAlertSchedulerRuleServiceClient(cc grpc.ClientConnInterface) AlertSchedulerRuleServiceClient { - return &alertSchedulerRuleServiceClient{cc} -} - -func (c *alertSchedulerRuleServiceClient) GetAlertSchedulerRule(ctx context.Context, in *GetAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*GetAlertSchedulerRuleResponse, error) { - out := new(GetAlertSchedulerRuleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/GetAlertSchedulerRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertSchedulerRuleServiceClient) CreateAlertSchedulerRule(ctx context.Context, in *CreateAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*CreateAlertSchedulerRuleResponse, error) { - out := new(CreateAlertSchedulerRuleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/CreateAlertSchedulerRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertSchedulerRuleServiceClient) UpdateAlertSchedulerRule(ctx context.Context, in *UpdateAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*UpdateAlertSchedulerRuleResponse, error) { - out := new(UpdateAlertSchedulerRuleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/UpdateAlertSchedulerRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertSchedulerRuleServiceClient) DeleteAlertSchedulerRule(ctx context.Context, in *DeleteAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*DeleteAlertSchedulerRuleResponse, error) { - out := new(DeleteAlertSchedulerRuleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/DeleteAlertSchedulerRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertSchedulerRuleServiceClient) GetBulkAlertSchedulerRule(ctx context.Context, in *GetBulkAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*GetBulkAlertSchedulerRuleResponse, error) { - out := new(GetBulkAlertSchedulerRuleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/GetBulkAlertSchedulerRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertSchedulerRuleServiceClient) CreateBulkAlertSchedulerRule(ctx context.Context, in *CreateBulkAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*CreateBulkAlertSchedulerRuleResponse, error) { - out := new(CreateBulkAlertSchedulerRuleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/CreateBulkAlertSchedulerRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertSchedulerRuleServiceClient) UpdateBulkAlertSchedulerRule(ctx context.Context, in *UpdateBulkAlertSchedulerRuleRequest, opts ...grpc.CallOption) (*UpdateBulkAlertSchedulerRuleResponse, error) { - out := new(UpdateBulkAlertSchedulerRuleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/UpdateBulkAlertSchedulerRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AlertSchedulerRuleServiceServer is the server API for AlertSchedulerRuleService service. -// All implementations must embed UnimplementedAlertSchedulerRuleServiceServer -// for forward compatibility -type AlertSchedulerRuleServiceServer interface { - GetAlertSchedulerRule(context.Context, *GetAlertSchedulerRuleRequest) (*GetAlertSchedulerRuleResponse, error) - CreateAlertSchedulerRule(context.Context, *CreateAlertSchedulerRuleRequest) (*CreateAlertSchedulerRuleResponse, error) - UpdateAlertSchedulerRule(context.Context, *UpdateAlertSchedulerRuleRequest) (*UpdateAlertSchedulerRuleResponse, error) - DeleteAlertSchedulerRule(context.Context, *DeleteAlertSchedulerRuleRequest) (*DeleteAlertSchedulerRuleResponse, error) - GetBulkAlertSchedulerRule(context.Context, *GetBulkAlertSchedulerRuleRequest) (*GetBulkAlertSchedulerRuleResponse, error) - CreateBulkAlertSchedulerRule(context.Context, *CreateBulkAlertSchedulerRuleRequest) (*CreateBulkAlertSchedulerRuleResponse, error) - UpdateBulkAlertSchedulerRule(context.Context, *UpdateBulkAlertSchedulerRuleRequest) (*UpdateBulkAlertSchedulerRuleResponse, error) - mustEmbedUnimplementedAlertSchedulerRuleServiceServer() -} - -// UnimplementedAlertSchedulerRuleServiceServer must be embedded to have forward compatible implementations. -type UnimplementedAlertSchedulerRuleServiceServer struct { -} - -func (UnimplementedAlertSchedulerRuleServiceServer) GetAlertSchedulerRule(context.Context, *GetAlertSchedulerRuleRequest) (*GetAlertSchedulerRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlertSchedulerRule not implemented") -} -func (UnimplementedAlertSchedulerRuleServiceServer) CreateAlertSchedulerRule(context.Context, *CreateAlertSchedulerRuleRequest) (*CreateAlertSchedulerRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAlertSchedulerRule not implemented") -} -func (UnimplementedAlertSchedulerRuleServiceServer) UpdateAlertSchedulerRule(context.Context, *UpdateAlertSchedulerRuleRequest) (*UpdateAlertSchedulerRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAlertSchedulerRule not implemented") -} -func (UnimplementedAlertSchedulerRuleServiceServer) DeleteAlertSchedulerRule(context.Context, *DeleteAlertSchedulerRuleRequest) (*DeleteAlertSchedulerRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAlertSchedulerRule not implemented") -} -func (UnimplementedAlertSchedulerRuleServiceServer) GetBulkAlertSchedulerRule(context.Context, *GetBulkAlertSchedulerRuleRequest) (*GetBulkAlertSchedulerRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBulkAlertSchedulerRule not implemented") -} -func (UnimplementedAlertSchedulerRuleServiceServer) CreateBulkAlertSchedulerRule(context.Context, *CreateBulkAlertSchedulerRuleRequest) (*CreateBulkAlertSchedulerRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateBulkAlertSchedulerRule not implemented") -} -func (UnimplementedAlertSchedulerRuleServiceServer) UpdateBulkAlertSchedulerRule(context.Context, *UpdateBulkAlertSchedulerRuleRequest) (*UpdateBulkAlertSchedulerRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateBulkAlertSchedulerRule not implemented") -} -func (UnimplementedAlertSchedulerRuleServiceServer) mustEmbedUnimplementedAlertSchedulerRuleServiceServer() { -} - -// UnsafeAlertSchedulerRuleServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AlertSchedulerRuleServiceServer will -// result in compilation errors. -type UnsafeAlertSchedulerRuleServiceServer interface { - mustEmbedUnimplementedAlertSchedulerRuleServiceServer() -} - -func RegisterAlertSchedulerRuleServiceServer(s grpc.ServiceRegistrar, srv AlertSchedulerRuleServiceServer) { - s.RegisterService(&AlertSchedulerRuleService_ServiceDesc, srv) -} - -func _AlertSchedulerRuleService_GetAlertSchedulerRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertSchedulerRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertSchedulerRuleServiceServer).GetAlertSchedulerRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/GetAlertSchedulerRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertSchedulerRuleServiceServer).GetAlertSchedulerRule(ctx, req.(*GetAlertSchedulerRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertSchedulerRuleService_CreateAlertSchedulerRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAlertSchedulerRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertSchedulerRuleServiceServer).CreateAlertSchedulerRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/CreateAlertSchedulerRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertSchedulerRuleServiceServer).CreateAlertSchedulerRule(ctx, req.(*CreateAlertSchedulerRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertSchedulerRuleService_UpdateAlertSchedulerRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAlertSchedulerRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertSchedulerRuleServiceServer).UpdateAlertSchedulerRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/UpdateAlertSchedulerRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertSchedulerRuleServiceServer).UpdateAlertSchedulerRule(ctx, req.(*UpdateAlertSchedulerRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertSchedulerRuleService_DeleteAlertSchedulerRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAlertSchedulerRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertSchedulerRuleServiceServer).DeleteAlertSchedulerRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/DeleteAlertSchedulerRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertSchedulerRuleServiceServer).DeleteAlertSchedulerRule(ctx, req.(*DeleteAlertSchedulerRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertSchedulerRuleService_GetBulkAlertSchedulerRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBulkAlertSchedulerRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertSchedulerRuleServiceServer).GetBulkAlertSchedulerRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/GetBulkAlertSchedulerRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertSchedulerRuleServiceServer).GetBulkAlertSchedulerRule(ctx, req.(*GetBulkAlertSchedulerRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertSchedulerRuleService_CreateBulkAlertSchedulerRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateBulkAlertSchedulerRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertSchedulerRuleServiceServer).CreateBulkAlertSchedulerRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/CreateBulkAlertSchedulerRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertSchedulerRuleServiceServer).CreateBulkAlertSchedulerRule(ctx, req.(*CreateBulkAlertSchedulerRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertSchedulerRuleService_UpdateBulkAlertSchedulerRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateBulkAlertSchedulerRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertSchedulerRuleServiceServer).UpdateBulkAlertSchedulerRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/UpdateBulkAlertSchedulerRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertSchedulerRuleServiceServer).UpdateBulkAlertSchedulerRule(ctx, req.(*UpdateBulkAlertSchedulerRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// AlertSchedulerRuleService_ServiceDesc is the grpc.ServiceDesc for AlertSchedulerRuleService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var AlertSchedulerRuleService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService", - HandlerType: (*AlertSchedulerRuleServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAlertSchedulerRule", - Handler: _AlertSchedulerRuleService_GetAlertSchedulerRule_Handler, - }, - { - MethodName: "CreateAlertSchedulerRule", - Handler: _AlertSchedulerRuleService_CreateAlertSchedulerRule_Handler, - }, - { - MethodName: "UpdateAlertSchedulerRule", - Handler: _AlertSchedulerRuleService_UpdateAlertSchedulerRule_Handler, - }, - { - MethodName: "DeleteAlertSchedulerRule", - Handler: _AlertSchedulerRuleService_DeleteAlertSchedulerRule_Handler, - }, - { - MethodName: "GetBulkAlertSchedulerRule", - Handler: _AlertSchedulerRuleService_GetBulkAlertSchedulerRule_Handler, - }, - { - MethodName: "CreateBulkAlertSchedulerRule", - Handler: _AlertSchedulerRuleService_CreateBulkAlertSchedulerRule_Handler, - }, - { - MethodName: "UpdateBulkAlertSchedulerRule", - Handler: _AlertSchedulerRuleService_UpdateBulkAlertSchedulerRule_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_rule_service.proto", -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_timeframe.pb.go b/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_timeframe.pb.go deleted file mode 100644 index 22a68109..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/alert_scheduler_rule_timeframe.pb.go +++ /dev/null @@ -1,359 +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/alerting/alert_scheduler_rule_protobuf/v1/alert_scheduler_rule_timeframe.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 DurationFrequency int32 - -const ( - DurationFrequency_DURATION_FREQUENCY_UNSPECIFIED DurationFrequency = 0 - DurationFrequency_DURATION_FREQUENCY_MINUTE DurationFrequency = 1 - DurationFrequency_DURATION_FREQUENCY_HOUR DurationFrequency = 2 - DurationFrequency_DURATION_FREQUENCY_DAY DurationFrequency = 3 -) - -// Enum value maps for DurationFrequency. -var ( - DurationFrequency_name = map[int32]string{ - 0: "DURATION_FREQUENCY_UNSPECIFIED", - 1: "DURATION_FREQUENCY_MINUTE", - 2: "DURATION_FREQUENCY_HOUR", - 3: "DURATION_FREQUENCY_DAY", - } - DurationFrequency_value = map[string]int32{ - "DURATION_FREQUENCY_UNSPECIFIED": 0, - "DURATION_FREQUENCY_MINUTE": 1, - "DURATION_FREQUENCY_HOUR": 2, - "DURATION_FREQUENCY_DAY": 3, - } -) - -func (x DurationFrequency) Enum() *DurationFrequency { - p := new(DurationFrequency) - *p = x - return p -} - -func (x DurationFrequency) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DurationFrequency) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_enumTypes[0].Descriptor() -} - -func (DurationFrequency) Type() protoreflect.EnumType { - return &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_enumTypes[0] -} - -func (x DurationFrequency) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DurationFrequency.Descriptor instead. -func (DurationFrequency) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescGZIP(), []int{0} -} - -type Timeframe struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // Types that are assignable to Until: - // *Timeframe_EndTime - // *Timeframe_Duration - Until isTimeframe_Until `protobuf_oneof:"until"` - Timezone string `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` -} - -func (x *Timeframe) Reset() { - *x = Timeframe{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Timeframe) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Timeframe) ProtoMessage() {} - -func (x *Timeframe) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_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 Timeframe.ProtoReflect.Descriptor instead. -func (*Timeframe) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescGZIP(), []int{0} -} - -func (x *Timeframe) GetStartTime() string { - if x != nil { - return x.StartTime - } - return "" -} - -func (m *Timeframe) GetUntil() isTimeframe_Until { - if m != nil { - return m.Until - } - return nil -} - -func (x *Timeframe) GetEndTime() string { - if x, ok := x.GetUntil().(*Timeframe_EndTime); ok { - return x.EndTime - } - return "" -} - -func (x *Timeframe) GetDuration() *Duration { - if x, ok := x.GetUntil().(*Timeframe_Duration); ok { - return x.Duration - } - return nil -} - -func (x *Timeframe) GetTimezone() string { - if x != nil { - return x.Timezone - } - return "" -} - -type isTimeframe_Until interface { - isTimeframe_Until() -} - -type Timeframe_EndTime struct { - EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3,oneof"` -} - -type Timeframe_Duration struct { - Duration *Duration `protobuf:"bytes,3,opt,name=duration,proto3,oneof"` // TODO Duration -> Dynamic ? -} - -func (*Timeframe_EndTime) isTimeframe_Until() {} - -func (*Timeframe_Duration) isTimeframe_Until() {} - -type Duration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ForOver int32 `protobuf:"varint,1,opt,name=for_over,json=forOver,proto3" json:"for_over,omitempty"` // TODO for_over -> duration ? - Frequency DurationFrequency `protobuf:"varint,2,opt,name=frequency,proto3,enum=com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DurationFrequency" json:"frequency,omitempty"` -} - -func (x *Duration) Reset() { - *x = Duration{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Duration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Duration) ProtoMessage() {} - -func (x *Duration) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_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 Duration.ProtoReflect.Descriptor instead. -func (*Duration) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescGZIP(), []int{1} -} - -func (x *Duration) GetForOver() int32 { - if x != nil { - return x.ForOver - } - return 0 -} - -func (x *Duration) GetFrequency() DurationFrequency { - if x != nil { - return x.Frequency - } - return DurationFrequency_DURATION_FREQUENCY_UNSPECIFIED -} - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDesc = []byte{ - 0x0a, 0x60, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x22, - 0xd1, 0x01, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, - 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, - 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x63, 0x0a, 0x08, 0x64, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 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, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, - 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, - 0x74, 0x69, 0x6c, 0x22, 0x93, 0x01, 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6f, 0x72, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x66, 0x6f, 0x72, 0x4f, 0x76, 0x65, 0x72, 0x12, 0x6c, 0x0a, 0x09, 0x66, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4e, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x09, - 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x2a, 0x8f, 0x01, 0x0a, 0x11, 0x44, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12, - 0x22, 0x0a, 0x1e, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x52, 0x45, 0x51, - 0x55, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x46, 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x4d, 0x49, 0x4e, 0x55, 0x54, 0x45, - 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, - 0x52, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x48, 0x4f, 0x55, 0x52, 0x10, 0x02, 0x12, - 0x1a, 0x0a, 0x16, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x52, 0x45, 0x51, - 0x55, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x44, 0x41, 0x59, 0x10, 0x03, 0x42, 0x04, 0x5a, 0x02, 0x2e, - 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescData = file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDesc -) - -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDescData -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_goTypes = []interface{}{ - (DurationFrequency)(0), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DurationFrequency - (*Timeframe)(nil), // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Timeframe - (*Duration)(nil), // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Duration -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Timeframe.duration:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Duration - 0, // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Duration.frequency:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.DurationFrequency - 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_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_init() -} -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Timeframe); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Duration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*Timeframe_EndTime)(nil), - (*Timeframe_Duration)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_depIdxs, - EnumInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_enumTypes, - MessageInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/meta_labels.pb.go b/coralogix/clientset/grpc/alerts-scheduler/meta_labels.pb.go deleted file mode 100644 index 79e47987..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/meta_labels.pb.go +++ /dev/null @@ -1,169 +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/alerting/meta_labels_protobuf/v1/meta_labels.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) -) - -// Must used that schemas because the metaLabel GRPC service use that schemas -type MetaLabel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` - Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - Value *string `protobuf:"bytes,3,opt,name=value,proto3,oneof" json:"value,omitempty"` -} - -func (x *MetaLabel) Reset() { - *x = MetaLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetaLabel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetaLabel) ProtoMessage() {} - -func (x *MetaLabel) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_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 MetaLabel.ProtoReflect.Descriptor instead. -func (*MetaLabel) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescGZIP(), []int{0} -} - -func (x *MetaLabel) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *MetaLabel) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *MetaLabel) GetValue() string { - if x != nil && x.Value != nil { - return *x.Value - } - return "" -} - -var File_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDesc = []byte{ - 0x0a, 0x44, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x74, - 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, - 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x22, 0x5e, 0x0a, 0x09, 0x4d, 0x65, - 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x19, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, - 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescData = file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDesc -) - -func file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDescData -} - -var file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_goTypes = []interface{}{ - (*MetaLabel)(nil), // 0: com.coralogixapis.alerting.meta_labels_protobuf.v1.MetaLabel -} -var file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_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_alerting_meta_labels_protobuf_v1_meta_labels_proto_init() } -func file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_init() { - if File_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetaLabel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_depIdxs, - MessageInfos: file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto = out.File - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_rawDesc = nil - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_goTypes = nil - file_com_coralogixapis_alerting_meta_labels_protobuf_v1_meta_labels_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts-scheduler/schedule.pb.go b/coralogix/clientset/grpc/alerts-scheduler/schedule.pb.go deleted file mode 100644 index a6d2bfbe..00000000 --- a/coralogix/clientset/grpc/alerts-scheduler/schedule.pb.go +++ /dev/null @@ -1,867 +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/alerting/alert_scheduler_rule_protobuf/v1/schedule.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 ScheduleOperation int32 - -const ( - ScheduleOperation_SCHEDULE_OPERATION_UNSPECIFIED ScheduleOperation = 0 - ScheduleOperation_SCHEDULE_OPERATION_MUTE ScheduleOperation = 1 - ScheduleOperation_SCHEDULE_OPERATION_ACTIVATE ScheduleOperation = 2 -) - -// Enum value maps for ScheduleOperation. -var ( - ScheduleOperation_name = map[int32]string{ - 0: "SCHEDULE_OPERATION_UNSPECIFIED", - 1: "SCHEDULE_OPERATION_MUTE", - 2: "SCHEDULE_OPERATION_ACTIVATE", - } - ScheduleOperation_value = map[string]int32{ - "SCHEDULE_OPERATION_UNSPECIFIED": 0, - "SCHEDULE_OPERATION_MUTE": 1, - "SCHEDULE_OPERATION_ACTIVATE": 2, - } -) - -func (x ScheduleOperation) Enum() *ScheduleOperation { - p := new(ScheduleOperation) - *p = x - return p -} - -func (x ScheduleOperation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ScheduleOperation) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_enumTypes[0].Descriptor() -} - -func (ScheduleOperation) Type() protoreflect.EnumType { - return &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_enumTypes[0] -} - -func (x ScheduleOperation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ScheduleOperation.Descriptor instead. -func (ScheduleOperation) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{0} -} - -type Schedule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ScheduleOperation ScheduleOperation `protobuf:"varint,1,opt,name=schedule_operation,json=scheduleOperation,proto3,enum=com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ScheduleOperation" json:"schedule_operation,omitempty"` - // Types that are assignable to Scheduler: - // *Schedule_OneTime - // *Schedule_Recurring - Scheduler isSchedule_Scheduler `protobuf_oneof:"scheduler"` -} - -func (x *Schedule) Reset() { - *x = Schedule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Schedule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Schedule) ProtoMessage() {} - -func (x *Schedule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 Schedule.ProtoReflect.Descriptor instead. -func (*Schedule) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{0} -} - -func (x *Schedule) GetScheduleOperation() ScheduleOperation { - if x != nil { - return x.ScheduleOperation - } - return ScheduleOperation_SCHEDULE_OPERATION_UNSPECIFIED -} - -func (m *Schedule) GetScheduler() isSchedule_Scheduler { - if m != nil { - return m.Scheduler - } - return nil -} - -func (x *Schedule) GetOneTime() *OneTime { - if x, ok := x.GetScheduler().(*Schedule_OneTime); ok { - return x.OneTime - } - return nil -} - -func (x *Schedule) GetRecurring() *Recurring { - if x, ok := x.GetScheduler().(*Schedule_Recurring); ok { - return x.Recurring - } - return nil -} - -type isSchedule_Scheduler interface { - isSchedule_Scheduler() -} - -type Schedule_OneTime struct { - OneTime *OneTime `protobuf:"bytes,2,opt,name=one_time,json=oneTime,proto3,oneof"` -} - -type Schedule_Recurring struct { - Recurring *Recurring `protobuf:"bytes,3,opt,name=recurring,proto3,oneof"` -} - -func (*Schedule_OneTime) isSchedule_Scheduler() {} - -func (*Schedule_Recurring) isSchedule_Scheduler() {} - -type OneTime struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timeframe *Timeframe `protobuf:"bytes,1,opt,name=timeframe,proto3" json:"timeframe,omitempty"` -} - -func (x *OneTime) Reset() { - *x = OneTime{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OneTime) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OneTime) ProtoMessage() {} - -func (x *OneTime) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 OneTime.ProtoReflect.Descriptor instead. -func (*OneTime) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{1} -} - -func (x *OneTime) GetTimeframe() *Timeframe { - if x != nil { - return x.Timeframe - } - return nil -} - -type Recurring struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Condition: - // *Recurring_Always_ - // *Recurring_Dynamic_ - Condition isRecurring_Condition `protobuf_oneof:"condition"` -} - -func (x *Recurring) Reset() { - *x = Recurring{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Recurring) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Recurring) ProtoMessage() {} - -func (x *Recurring) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 Recurring.ProtoReflect.Descriptor instead. -func (*Recurring) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{2} -} - -func (m *Recurring) GetCondition() isRecurring_Condition { - if m != nil { - return m.Condition - } - return nil -} - -func (x *Recurring) GetAlways() *Recurring_Always { - if x, ok := x.GetCondition().(*Recurring_Always_); ok { - return x.Always - } - return nil -} - -func (x *Recurring) GetDynamic() *Recurring_Dynamic { - if x, ok := x.GetCondition().(*Recurring_Dynamic_); ok { - return x.Dynamic - } - return nil -} - -type isRecurring_Condition interface { - isRecurring_Condition() -} - -type Recurring_Always_ struct { - Always *Recurring_Always `protobuf:"bytes,1,opt,name=always,proto3,oneof"` -} - -type Recurring_Dynamic_ struct { - Dynamic *Recurring_Dynamic `protobuf:"bytes,2,opt,name=dynamic,proto3,oneof"` -} - -func (*Recurring_Always_) isRecurring_Condition() {} - -func (*Recurring_Dynamic_) isRecurring_Condition() {} - -type Daily struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Daily) Reset() { - *x = Daily{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Daily) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Daily) ProtoMessage() {} - -func (x *Daily) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 Daily.ProtoReflect.Descriptor instead. -func (*Daily) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{3} -} - -type Weekly struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DaysOfWeek []int32 `protobuf:"varint,1,rep,packed,name=days_of_week,json=daysOfWeek,proto3" json:"days_of_week,omitempty"` -} - -func (x *Weekly) Reset() { - *x = Weekly{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Weekly) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Weekly) ProtoMessage() {} - -func (x *Weekly) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 Weekly.ProtoReflect.Descriptor instead. -func (*Weekly) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{4} -} - -func (x *Weekly) GetDaysOfWeek() []int32 { - if x != nil { - return x.DaysOfWeek - } - return nil -} - -type Monthly struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DaysOfMonth []int32 `protobuf:"varint,1,rep,packed,name=days_of_month,json=daysOfMonth,proto3" json:"days_of_month,omitempty"` -} - -func (x *Monthly) Reset() { - *x = Monthly{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Monthly) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Monthly) ProtoMessage() {} - -func (x *Monthly) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 Monthly.ProtoReflect.Descriptor instead. -func (*Monthly) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{5} -} - -func (x *Monthly) GetDaysOfMonth() []int32 { - if x != nil { - return x.DaysOfMonth - } - return nil -} - -type Recurring_Always struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Recurring_Always) Reset() { - *x = Recurring_Always{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Recurring_Always) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Recurring_Always) ProtoMessage() {} - -func (x *Recurring_Always) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 Recurring_Always.ProtoReflect.Descriptor instead. -func (*Recurring_Always) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{2, 0} -} - -type Recurring_Dynamic struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepeatEvery int32 `protobuf:"varint,1,opt,name=repeat_every,json=repeatEvery,proto3" json:"repeat_every,omitempty"` - // Types that are assignable to Frequency: - // *Recurring_Dynamic_Daily - // *Recurring_Dynamic_Weekly - // *Recurring_Dynamic_Monthly - Frequency isRecurring_Dynamic_Frequency `protobuf_oneof:"frequency"` - Timeframe *Timeframe `protobuf:"bytes,5,opt,name=timeframe,proto3" json:"timeframe,omitempty"` - TerminationDate *string `protobuf:"bytes,6,opt,name=termination_date,json=terminationDate,proto3,oneof" json:"termination_date,omitempty"` -} - -func (x *Recurring_Dynamic) Reset() { - *x = Recurring_Dynamic{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Recurring_Dynamic) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Recurring_Dynamic) ProtoMessage() {} - -func (x *Recurring_Dynamic) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_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 Recurring_Dynamic.ProtoReflect.Descriptor instead. -func (*Recurring_Dynamic) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP(), []int{2, 1} -} - -func (x *Recurring_Dynamic) GetRepeatEvery() int32 { - if x != nil { - return x.RepeatEvery - } - return 0 -} - -func (m *Recurring_Dynamic) GetFrequency() isRecurring_Dynamic_Frequency { - if m != nil { - return m.Frequency - } - return nil -} - -func (x *Recurring_Dynamic) GetDaily() *Daily { - if x, ok := x.GetFrequency().(*Recurring_Dynamic_Daily); ok { - return x.Daily - } - return nil -} - -func (x *Recurring_Dynamic) GetWeekly() *Weekly { - if x, ok := x.GetFrequency().(*Recurring_Dynamic_Weekly); ok { - return x.Weekly - } - return nil -} - -func (x *Recurring_Dynamic) GetMonthly() *Monthly { - if x, ok := x.GetFrequency().(*Recurring_Dynamic_Monthly); ok { - return x.Monthly - } - return nil -} - -func (x *Recurring_Dynamic) GetTimeframe() *Timeframe { - if x != nil { - return x.Timeframe - } - return nil -} - -func (x *Recurring_Dynamic) GetTerminationDate() string { - if x != nil && x.TerminationDate != nil { - return *x.TerminationDate - } - return "" -} - -type isRecurring_Dynamic_Frequency interface { - isRecurring_Dynamic_Frequency() -} - -type Recurring_Dynamic_Daily struct { - Daily *Daily `protobuf:"bytes,2,opt,name=daily,proto3,oneof"` -} - -type Recurring_Dynamic_Weekly struct { - Weekly *Weekly `protobuf:"bytes,3,opt,name=weekly,proto3,oneof"` -} - -type Recurring_Dynamic_Monthly struct { - Monthly *Monthly `protobuf:"bytes,4,opt,name=monthly,proto3,oneof"` -} - -func (*Recurring_Dynamic_Daily) isRecurring_Dynamic_Frequency() {} - -func (*Recurring_Dynamic_Weekly) isRecurring_Dynamic_Frequency() {} - -func (*Recurring_Dynamic_Monthly) isRecurring_Dynamic_Frequency() {} - -var File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDesc = []byte{ - 0x0a, 0x4a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, - 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3b, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x1a, 0x60, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x02, 0x0a, 0x08, - 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x7d, 0x0a, 0x12, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, - 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x61, 0x0a, 0x08, 0x6f, 0x6e, 0x65, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x02, 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, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, - 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x48, - 0x00, 0x52, 0x07, 0x6f, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x66, 0x0a, 0x09, 0x72, 0x65, - 0x63, 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x75, - 0x72, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x72, 0x69, - 0x6e, 0x67, 0x42, 0x0b, 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x22, - 0x6f, 0x0a, 0x07, 0x4f, 0x6e, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x09, 0x74, 0x69, - 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, - 0x22, 0xfb, 0x05, 0x0a, 0x09, 0x52, 0x65, 0x63, 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x67, - 0x0a, 0x06, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, - 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x48, 0x00, 0x52, - 0x06, 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x12, 0x6a, 0x0a, 0x07, 0x64, 0x79, 0x6e, 0x61, 0x6d, - 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, - 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x48, 0x00, 0x52, 0x07, 0x64, 0x79, 0x6e, 0x61, - 0x6d, 0x69, 0x63, 0x1a, 0x08, 0x0a, 0x06, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x1a, 0x81, 0x04, - 0x0a, 0x07, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, - 0x65, 0x61, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0b, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x45, 0x76, 0x65, 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x05, - 0x64, 0x61, 0x69, 0x6c, 0x79, 0x18, 0x02, 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, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x48, - 0x00, 0x52, 0x05, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x12, 0x5d, 0x0a, 0x06, 0x77, 0x65, 0x65, 0x6b, - 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x48, 0x00, 0x52, - 0x06, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x12, 0x60, 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x74, 0x68, - 0x6c, 0x79, 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, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, - 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x48, 0x00, - 0x52, 0x07, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x12, 0x64, 0x0a, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 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, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, - 0x2e, 0x0a, 0x10, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, - 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0f, 0x74, 0x65, 0x72, - 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x42, - 0x0b, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x13, 0x0a, 0x11, - 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x07, - 0x0a, 0x05, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x22, 0x2a, 0x0a, 0x06, 0x57, 0x65, 0x65, 0x6b, 0x6c, - 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x64, 0x61, 0x79, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x77, 0x65, 0x65, - 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x61, 0x79, 0x73, 0x4f, 0x66, 0x57, - 0x65, 0x65, 0x6b, 0x22, 0x2d, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x12, 0x22, - 0x0a, 0x0d, 0x64, 0x61, 0x79, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x64, 0x61, 0x79, 0x73, 0x4f, 0x66, 0x4d, 0x6f, 0x6e, - 0x74, 0x68, 0x2a, 0x75, 0x0a, 0x11, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x43, 0x48, 0x45, 0x44, - 0x55, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x53, - 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x4d, 0x55, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x43, 0x48, 0x45, - 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, - 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x02, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescOnce sync.Once - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescData = file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDesc -) - -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescGZIP() []byte { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescData) - }) - return file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDescData -} - -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_goTypes = []interface{}{ - (ScheduleOperation)(0), // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ScheduleOperation - (*Schedule)(nil), // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Schedule - (*OneTime)(nil), // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.OneTime - (*Recurring)(nil), // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring - (*Daily)(nil), // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Daily - (*Weekly)(nil), // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Weekly - (*Monthly)(nil), // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Monthly - (*Recurring_Always)(nil), // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Always - (*Recurring_Dynamic)(nil), // 8: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Dynamic - (*Timeframe)(nil), // 9: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Timeframe -} -var file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_depIdxs = []int32{ - 0, // 0: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Schedule.schedule_operation:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.ScheduleOperation - 2, // 1: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Schedule.one_time:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.OneTime - 3, // 2: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Schedule.recurring:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring - 9, // 3: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.OneTime.timeframe:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Timeframe - 7, // 4: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.always:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Always - 8, // 5: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.dynamic:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Dynamic - 4, // 6: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Dynamic.daily:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Daily - 5, // 7: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Dynamic.weekly:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Weekly - 6, // 8: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Dynamic.monthly:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Monthly - 9, // 9: com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Recurring.Dynamic.timeframe:type_name -> com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.Timeframe - 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_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_init() } -func file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_init() { - if File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto != nil { - return - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_alert_scheduler_rule_timeframe_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Schedule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OneTime); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Recurring); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Daily); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Weekly); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Monthly); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Recurring_Always); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Recurring_Dynamic); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*Schedule_OneTime)(nil), - (*Schedule_Recurring)(nil), - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[2].OneofWrappers = []interface{}{ - (*Recurring_Always_)(nil), - (*Recurring_Dynamic_)(nil), - } - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes[7].OneofWrappers = []interface{}{ - (*Recurring_Dynamic_Daily)(nil), - (*Recurring_Dynamic_Weekly)(nil), - (*Recurring_Dynamic_Monthly)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDesc, - NumEnums: 1, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_depIdxs, - EnumInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_enumTypes, - MessageInfos: file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_msgTypes, - }.Build() - File_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto = out.File - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_rawDesc = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_goTypes = nil - file_com_coralogixapis_alerting_alert_scheduler_rule_protobuf_v1_schedule_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert.pb.go b/coralogix/clientset/grpc/alerts/v2/alert.pb.go deleted file mode 100644 index eb236869..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert.pb.go +++ /dev/null @@ -1,421 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v2/alert.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 Alert 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - IsActive *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` - Severity AlertSeverity `protobuf:"varint,5,opt,name=severity,proto3,enum=com.coralogix.alerts.v1.AlertSeverity" json:"severity,omitempty"` - Expiration *Date `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` - Condition *AlertCondition `protobuf:"bytes,7,opt,name=condition,proto3" json:"condition,omitempty"` - ShowInInsight *ShowInInsight `protobuf:"bytes,8,opt,name=show_in_insight,json=showInInsight,proto3,oneof" json:"show_in_insight,omitempty"` - NotificationGroups []*AlertNotificationGroups `protobuf:"bytes,9,rep,name=notification_groups,json=notificationGroups,proto3" json:"notification_groups,omitempty"` - IncidentSettings *AlertIncidentSettings `protobuf:"bytes,17,opt,name=incident_settings,json=incidentSettings,proto3,oneof" json:"incident_settings,omitempty"` - Filters *AlertFilters `protobuf:"bytes,10,opt,name=filters,proto3" json:"filters,omitempty"` - ActiveWhen *AlertActiveWhen `protobuf:"bytes,11,opt,name=active_when,json=activeWhen,proto3" json:"active_when,omitempty"` - NotificationPayloadFilters []*wrapperspb.StringValue `protobuf:"bytes,12,rep,name=notification_payload_filters,json=notificationPayloadFilters,proto3" json:"notification_payload_filters,omitempty"` - MetaLabels []*MetaLabel `protobuf:"bytes,13,rep,name=meta_labels,json=metaLabels,proto3" json:"meta_labels,omitempty"` - MetaLabelsStrings []*wrapperspb.StringValue `protobuf:"bytes,14,rep,name=meta_labels_strings,json=metaLabelsStrings,proto3" json:"meta_labels_strings,omitempty"` - TracingAlert *TracingAlert `protobuf:"bytes,15,opt,name=tracing_alert,json=tracingAlert,proto3" json:"tracing_alert,omitempty"` - UniqueIdentifier *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=unique_identifier,json=uniqueIdentifier,proto3" json:"unique_identifier,omitempty"` -} - -func (x *Alert) Reset() { - *x = Alert{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Alert) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Alert) ProtoMessage() {} - -func (x *Alert) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 Alert.ProtoReflect.Descriptor instead. -func (*Alert) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_proto_rawDescGZIP(), []int{0} -} - -func (x *Alert) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Alert) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Alert) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Alert) GetIsActive() *wrapperspb.BoolValue { - if x != nil { - return x.IsActive - } - return nil -} - -func (x *Alert) GetSeverity() AlertSeverity { - if x != nil { - return x.Severity - } - return AlertSeverity_ALERT_SEVERITY_INFO_OR_UNSPECIFIED -} - -func (x *Alert) GetExpiration() *Date { - if x != nil { - return x.Expiration - } - return nil -} - -func (x *Alert) GetCondition() *AlertCondition { - if x != nil { - return x.Condition - } - return nil -} - -func (x *Alert) GetShowInInsight() *ShowInInsight { - if x != nil { - return x.ShowInInsight - } - return nil -} - -func (x *Alert) GetNotificationGroups() []*AlertNotificationGroups { - if x != nil { - return x.NotificationGroups - } - return nil -} - -func (x *Alert) GetIncidentSettings() *AlertIncidentSettings { - if x != nil { - return x.IncidentSettings - } - return nil -} - -func (x *Alert) GetFilters() *AlertFilters { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Alert) GetActiveWhen() *AlertActiveWhen { - if x != nil { - return x.ActiveWhen - } - return nil -} - -func (x *Alert) GetNotificationPayloadFilters() []*wrapperspb.StringValue { - if x != nil { - return x.NotificationPayloadFilters - } - return nil -} - -func (x *Alert) GetMetaLabels() []*MetaLabel { - if x != nil { - return x.MetaLabels - } - return nil -} - -func (x *Alert) GetMetaLabelsStrings() []*wrapperspb.StringValue { - if x != nil { - return x.MetaLabelsStrings - } - return nil -} - -func (x *Alert) GetTracingAlert() *TracingAlert { - if x != nil { - return x.TracingAlert - } - return nil -} - -func (x *Alert) GetUniqueIdentifier() *wrapperspb.StringValue { - if x != nil { - return x.UniqueIdentifier - } - return nil -} - -var File_com_coralogix_alerts_v2_alert_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v2_alert_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 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, 0x1a, 0x23, - 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x36, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, - 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, - 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x63, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x0a, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 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, 0x37, 0x0a, - 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 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, 0x08, 0x69, 0x73, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, - 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x78, - 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x65, - 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x09, 0x63, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x53, 0x0a, 0x0f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, - 0x74, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x49, 0x6e, 0x73, 0x69, 0x67, - 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x61, 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x09, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x52, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x60, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x48, 0x01, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, 0x07, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x5e, 0x0a, 0x1c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 0x1a, 0x6e, 0x6f, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, - 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x4c, 0x0a, 0x13, 0x6d, - 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x73, 0x18, 0x0e, 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, 0x11, 0x6d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x72, 0x61, - 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, - 0x6e, 0x67, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, - 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x10, 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, - 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73, - 0x69, 0x67, 0x68, 0x74, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, - 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v2_alert_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v2_alert_proto_rawDescData = file_com_coralogix_alerts_v2_alert_proto_rawDesc -) - -func file_com_coralogix_alerts_v2_alert_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v2_alert_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v2_alert_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v2_alert_proto_rawDescData) - }) - return file_com_coralogix_alerts_v2_alert_proto_rawDescData -} - -var file_com_coralogix_alerts_v2_alert_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_alerts_v2_alert_proto_goTypes = []interface{}{ - (*Alert)(nil), // 0: com.coralogix.alerts.v2.Alert - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue - (AlertSeverity)(0), // 3: com.coralogix.alerts.v1.AlertSeverity - (*Date)(nil), // 4: com.coralogix.alerts.v1.Date - (*AlertCondition)(nil), // 5: com.coralogix.alerts.v2.AlertCondition - (*ShowInInsight)(nil), // 6: com.coralogix.alerts.v2.ShowInInsight - (*AlertNotificationGroups)(nil), // 7: com.coralogix.alerts.v2.AlertNotificationGroups - (*AlertIncidentSettings)(nil), // 8: com.coralogix.alerts.v2.AlertIncidentSettings - (*AlertFilters)(nil), // 9: com.coralogix.alerts.v1.AlertFilters - (*AlertActiveWhen)(nil), // 10: com.coralogix.alerts.v1.AlertActiveWhen - (*MetaLabel)(nil), // 11: com.coralogix.alerts.v1.MetaLabel - (*TracingAlert)(nil), // 12: com.coralogix.alerts.v1.TracingAlert -} -var file_com_coralogix_alerts_v2_alert_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.alerts.v2.Alert.id:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.alerts.v2.Alert.name:type_name -> google.protobuf.StringValue - 1, // 2: com.coralogix.alerts.v2.Alert.description:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogix.alerts.v2.Alert.is_active:type_name -> google.protobuf.BoolValue - 3, // 4: com.coralogix.alerts.v2.Alert.severity:type_name -> com.coralogix.alerts.v1.AlertSeverity - 4, // 5: com.coralogix.alerts.v2.Alert.expiration:type_name -> com.coralogix.alerts.v1.Date - 5, // 6: com.coralogix.alerts.v2.Alert.condition:type_name -> com.coralogix.alerts.v2.AlertCondition - 6, // 7: com.coralogix.alerts.v2.Alert.show_in_insight:type_name -> com.coralogix.alerts.v2.ShowInInsight - 7, // 8: com.coralogix.alerts.v2.Alert.notification_groups:type_name -> com.coralogix.alerts.v2.AlertNotificationGroups - 8, // 9: com.coralogix.alerts.v2.Alert.incident_settings:type_name -> com.coralogix.alerts.v2.AlertIncidentSettings - 9, // 10: com.coralogix.alerts.v2.Alert.filters:type_name -> com.coralogix.alerts.v1.AlertFilters - 10, // 11: com.coralogix.alerts.v2.Alert.active_when:type_name -> com.coralogix.alerts.v1.AlertActiveWhen - 1, // 12: com.coralogix.alerts.v2.Alert.notification_payload_filters:type_name -> google.protobuf.StringValue - 11, // 13: com.coralogix.alerts.v2.Alert.meta_labels:type_name -> com.coralogix.alerts.v1.MetaLabel - 1, // 14: com.coralogix.alerts.v2.Alert.meta_labels_strings:type_name -> google.protobuf.StringValue - 12, // 15: com.coralogix.alerts.v2.Alert.tracing_alert:type_name -> com.coralogix.alerts.v1.TracingAlert - 1, // 16: com.coralogix.alerts.v2.Alert.unique_identifier:type_name -> google.protobuf.StringValue - 17, // [17:17] is the sub-list for method output_type - 17, // [17:17] 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_coralogix_alerts_v2_alert_proto_init() } -func file_com_coralogix_alerts_v2_alert_proto_init() { - if File_com_coralogix_alerts_v2_alert_proto != nil { - return - } - file_com_coralogix_alerts_v1_alert_meta_label_proto_init() - file_com_coralogix_alerts_v1_alert_severity_proto_init() - file_com_coralogix_alerts_v2_alert_condition_proto_init() - file_com_coralogix_alerts_v2_alert_notification_group_proto_init() - file_com_coralogix_alerts_v1_alert_filters_proto_init() - file_com_coralogix_alerts_v1_alert_active_when_proto_init() - file_com_coralogix_alerts_v1_date_time_proto_init() - file_com_coralogix_alerts_v1_tracing_alert_proto_init() - file_com_coralogix_alerts_v2_alert_incident_settings_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v2_alert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Alert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_alerts_v2_alert_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_alerts_v2_alert_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v2_alert_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v2_alert_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v2_alert_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v2_alert_proto = out.File - file_com_coralogix_alerts_v2_alert_proto_rawDesc = nil - file_com_coralogix_alerts_v2_alert_proto_goTypes = nil - file_com_coralogix_alerts_v2_alert_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_active_when.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_active_when.pb.go deleted file mode 100644 index fe6fb2e6..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_active_when.pb.go +++ /dev/null @@ -1,387 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/alerts/v1/alert_active_when.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 DayOfWeek int32 - -const ( - DayOfWeek_DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED DayOfWeek = 0 - DayOfWeek_DAY_OF_WEEK_TUESDAY DayOfWeek = 1 - DayOfWeek_DAY_OF_WEEK_WEDNESDAY DayOfWeek = 2 - DayOfWeek_DAY_OF_WEEK_THURSDAY DayOfWeek = 3 - DayOfWeek_DAY_OF_WEEK_FRIDAY DayOfWeek = 4 - DayOfWeek_DAY_OF_WEEK_SATURDAY DayOfWeek = 5 - DayOfWeek_DAY_OF_WEEK_SUNDAY DayOfWeek = 6 -) - -// Enum value maps for DayOfWeek. -var ( - DayOfWeek_name = map[int32]string{ - 0: "DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED", - 1: "DAY_OF_WEEK_TUESDAY", - 2: "DAY_OF_WEEK_WEDNESDAY", - 3: "DAY_OF_WEEK_THURSDAY", - 4: "DAY_OF_WEEK_FRIDAY", - 5: "DAY_OF_WEEK_SATURDAY", - 6: "DAY_OF_WEEK_SUNDAY", - } - DayOfWeek_value = map[string]int32{ - "DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED": 0, - "DAY_OF_WEEK_TUESDAY": 1, - "DAY_OF_WEEK_WEDNESDAY": 2, - "DAY_OF_WEEK_THURSDAY": 3, - "DAY_OF_WEEK_FRIDAY": 4, - "DAY_OF_WEEK_SATURDAY": 5, - "DAY_OF_WEEK_SUNDAY": 6, - } -) - -func (x DayOfWeek) Enum() *DayOfWeek { - p := new(DayOfWeek) - *p = x - return p -} - -func (x DayOfWeek) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DayOfWeek) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v1_alert_active_when_proto_enumTypes[0].Descriptor() -} - -func (DayOfWeek) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v1_alert_active_when_proto_enumTypes[0] -} - -func (x DayOfWeek) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DayOfWeek.Descriptor instead. -func (DayOfWeek) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescGZIP(), []int{0} -} - -type AlertActiveWhen struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timeframes []*AlertActiveTimeframe `protobuf:"bytes,1,rep,name=timeframes,proto3" json:"timeframes,omitempty"` -} - -func (x *AlertActiveWhen) Reset() { - *x = AlertActiveWhen{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertActiveWhen) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertActiveWhen) ProtoMessage() {} - -func (x *AlertActiveWhen) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_active_when_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 AlertActiveWhen.ProtoReflect.Descriptor instead. -func (*AlertActiveWhen) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescGZIP(), []int{0} -} - -func (x *AlertActiveWhen) GetTimeframes() []*AlertActiveTimeframe { - if x != nil { - return x.Timeframes - } - return nil -} - -type AlertActiveTimeframe struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DaysOfWeek []DayOfWeek `protobuf:"varint,1,rep,packed,name=days_of_week,json=daysOfWeek,proto3,enum=com.coralogix.alerts.v1.DayOfWeek" json:"days_of_week,omitempty"` - Range *TimeRange `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"` -} - -func (x *AlertActiveTimeframe) Reset() { - *x = AlertActiveTimeframe{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertActiveTimeframe) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertActiveTimeframe) ProtoMessage() {} - -func (x *AlertActiveTimeframe) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_active_when_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 AlertActiveTimeframe.ProtoReflect.Descriptor instead. -func (*AlertActiveTimeframe) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescGZIP(), []int{1} -} - -func (x *AlertActiveTimeframe) GetDaysOfWeek() []DayOfWeek { - if x != nil { - return x.DaysOfWeek - } - return nil -} - -func (x *AlertActiveTimeframe) GetRange() *TimeRange { - if x != nil { - return x.Range - } - return nil -} - -type TimeRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Start *Time `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *Time `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` -} - -func (x *TimeRange) Reset() { - *x = TimeRange{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TimeRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeRange) ProtoMessage() {} - -func (x *TimeRange) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_active_when_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 TimeRange.ProtoReflect.Descriptor instead. -func (*TimeRange) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescGZIP(), []int{2} -} - -func (x *TimeRange) GetStart() *Time { - if x != nil { - return x.Start - } - return nil -} - -func (x *TimeRange) GetEnd() *Time { - if x != nil { - return x.End - } - return nil -} - -var File_com_coralogix_alerts_v1_alert_active_when_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_alert_active_when_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x27, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x4d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x14, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x44, - 0x0a, 0x0c, 0x64, 0x61, 0x79, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x52, 0x0a, 0x64, 0x61, 0x79, 0x73, 0x4f, 0x66, - 0x57, 0x65, 0x65, 0x6b, 0x12, 0x38, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x71, - 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x12, 0x2f, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x03, 0x65, 0x6e, - 0x64, 0x2a, 0xca, 0x01, 0x0a, 0x09, 0x44, 0x61, 0x79, 0x4f, 0x66, 0x57, 0x65, 0x65, 0x6b, 0x12, - 0x25, 0x0a, 0x21, 0x44, 0x41, 0x59, 0x5f, 0x4f, 0x46, 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x4d, - 0x4f, 0x4e, 0x44, 0x41, 0x59, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41, 0x59, 0x5f, 0x4f, 0x46, - 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x54, 0x55, 0x45, 0x53, 0x44, 0x41, 0x59, 0x10, 0x01, 0x12, - 0x19, 0x0a, 0x15, 0x44, 0x41, 0x59, 0x5f, 0x4f, 0x46, 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x57, - 0x45, 0x44, 0x4e, 0x45, 0x53, 0x44, 0x41, 0x59, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x41, - 0x59, 0x5f, 0x4f, 0x46, 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x54, 0x48, 0x55, 0x52, 0x53, 0x44, - 0x41, 0x59, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x41, 0x59, 0x5f, 0x4f, 0x46, 0x5f, 0x57, - 0x45, 0x45, 0x4b, 0x5f, 0x46, 0x52, 0x49, 0x44, 0x41, 0x59, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, - 0x44, 0x41, 0x59, 0x5f, 0x4f, 0x46, 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x53, 0x41, 0x54, 0x55, - 0x52, 0x44, 0x41, 0x59, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x41, 0x59, 0x5f, 0x4f, 0x46, - 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x5f, 0x53, 0x55, 0x4e, 0x44, 0x41, 0x59, 0x10, 0x06, 0x42, 0x04, - 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescData = file_com_coralogix_alerts_v1_alert_active_when_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_alert_active_when_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_alert_active_when_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogix_alerts_v1_alert_active_when_proto_goTypes = []interface{}{ - (DayOfWeek)(0), // 0: com.coralogix.alerts.v1.DayOfWeek - (*AlertActiveWhen)(nil), // 1: com.coralogix.alerts.v1.AlertActiveWhen - (*AlertActiveTimeframe)(nil), // 2: com.coralogix.alerts.v1.AlertActiveTimeframe - (*TimeRange)(nil), // 3: com.coralogix.alerts.v1.TimeRange - (*Time)(nil), // 4: com.coralogix.alerts.v1.Time -} -var file_com_coralogix_alerts_v1_alert_active_when_proto_depIdxs = []int32{ - 2, // 0: com.coralogix.alerts.v1.AlertActiveWhen.timeframes:type_name -> com.coralogix.alerts.v1.AlertActiveTimeframe - 0, // 1: com.coralogix.alerts.v1.AlertActiveTimeframe.days_of_week:type_name -> com.coralogix.alerts.v1.DayOfWeek - 3, // 2: com.coralogix.alerts.v1.AlertActiveTimeframe.range:type_name -> com.coralogix.alerts.v1.TimeRange - 4, // 3: com.coralogix.alerts.v1.TimeRange.start:type_name -> com.coralogix.alerts.v1.Time - 4, // 4: com.coralogix.alerts.v1.TimeRange.end:type_name -> com.coralogix.alerts.v1.Time - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_com_coralogix_alerts_v1_alert_active_when_proto_init() } -func file_com_coralogix_alerts_v1_alert_active_when_proto_init() { - if File_com_coralogix_alerts_v1_alert_active_when_proto != nil { - return - } - file_com_coralogix_alerts_v1_date_time_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertActiveWhen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertActiveTimeframe); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeRange); 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_coralogix_alerts_v1_alert_active_when_proto_rawDesc, - NumEnums: 1, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_alert_active_when_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_alert_active_when_proto_depIdxs, - EnumInfos: file_com_coralogix_alerts_v1_alert_active_when_proto_enumTypes, - MessageInfos: file_com_coralogix_alerts_v1_alert_active_when_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_alert_active_when_proto = out.File - file_com_coralogix_alerts_v1_alert_active_when_proto_rawDesc = nil - file_com_coralogix_alerts_v1_alert_active_when_proto_goTypes = nil - file_com_coralogix_alerts_v1_alert_active_when_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_condition.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_condition.pb.go deleted file mode 100644 index 4907ad07..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_condition.pb.go +++ /dev/null @@ -1,2570 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v2/alert_condition.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 FlowOperator int32 - -const ( - FlowOperator_AND FlowOperator = 0 - FlowOperator_OR FlowOperator = 1 -) - -// Enum value maps for FlowOperator. -var ( - FlowOperator_name = map[int32]string{ - 0: "AND", - 1: "OR", - } - FlowOperator_value = map[string]int32{ - "AND": 0, - "OR": 1, - } -) - -func (x FlowOperator) Enum() *FlowOperator { - p := new(FlowOperator) - *p = x - return p -} - -func (x FlowOperator) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FlowOperator) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[0].Descriptor() -} - -func (FlowOperator) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[0] -} - -func (x FlowOperator) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FlowOperator.Descriptor instead. -func (FlowOperator) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{0} -} - -type Timeframe int32 - -const ( - Timeframe_TIMEFRAME_5_MIN_OR_UNSPECIFIED Timeframe = 0 - Timeframe_TIMEFRAME_1_MIN Timeframe = 18 - Timeframe_TIMEFRAME_2_MIN Timeframe = 19 - Timeframe_TIMEFRAME_10_MIN Timeframe = 1 - Timeframe_TIMEFRAME_15_MIN Timeframe = 17 - Timeframe_TIMEFRAME_20_MIN Timeframe = 2 - Timeframe_TIMEFRAME_30_MIN Timeframe = 3 - Timeframe_TIMEFRAME_1_H Timeframe = 4 - Timeframe_TIMEFRAME_2_H Timeframe = 5 - Timeframe_TIMEFRAME_3_H Timeframe = 6 - Timeframe_TIMEFRAME_4_H Timeframe = 7 - Timeframe_TIMEFRAME_6_H Timeframe = 8 - Timeframe_TIMEFRAME_12_H Timeframe = 9 - Timeframe_TIMEFRAME_24_H Timeframe = 10 - Timeframe_TIMEFRAME_36_H Timeframe = 20 - Timeframe_TIMEFRAME_48_H Timeframe = 11 - Timeframe_TIMEFRAME_72_H Timeframe = 12 - Timeframe_TIMEFRAME_1_W Timeframe = 13 - Timeframe_TIMEFRAME_1_M Timeframe = 14 - Timeframe_TIMEFRAME_2_M Timeframe = 15 - Timeframe_TIMEFRAME_3_M Timeframe = 16 -) - -// Enum value maps for Timeframe. -var ( - Timeframe_name = map[int32]string{ - 0: "TIMEFRAME_5_MIN_OR_UNSPECIFIED", - 18: "TIMEFRAME_1_MIN", - 19: "TIMEFRAME_2_MIN", - 1: "TIMEFRAME_10_MIN", - 17: "TIMEFRAME_15_MIN", - 2: "TIMEFRAME_20_MIN", - 3: "TIMEFRAME_30_MIN", - 4: "TIMEFRAME_1_H", - 5: "TIMEFRAME_2_H", - 6: "TIMEFRAME_3_H", - 7: "TIMEFRAME_4_H", - 8: "TIMEFRAME_6_H", - 9: "TIMEFRAME_12_H", - 10: "TIMEFRAME_24_H", - 20: "TIMEFRAME_36_H", - 11: "TIMEFRAME_48_H", - 12: "TIMEFRAME_72_H", - 13: "TIMEFRAME_1_W", - 14: "TIMEFRAME_1_M", - 15: "TIMEFRAME_2_M", - 16: "TIMEFRAME_3_M", - } - Timeframe_value = map[string]int32{ - "TIMEFRAME_5_MIN_OR_UNSPECIFIED": 0, - "TIMEFRAME_1_MIN": 18, - "TIMEFRAME_2_MIN": 19, - "TIMEFRAME_10_MIN": 1, - "TIMEFRAME_15_MIN": 17, - "TIMEFRAME_20_MIN": 2, - "TIMEFRAME_30_MIN": 3, - "TIMEFRAME_1_H": 4, - "TIMEFRAME_2_H": 5, - "TIMEFRAME_3_H": 6, - "TIMEFRAME_4_H": 7, - "TIMEFRAME_6_H": 8, - "TIMEFRAME_12_H": 9, - "TIMEFRAME_24_H": 10, - "TIMEFRAME_36_H": 20, - "TIMEFRAME_48_H": 11, - "TIMEFRAME_72_H": 12, - "TIMEFRAME_1_W": 13, - "TIMEFRAME_1_M": 14, - "TIMEFRAME_2_M": 15, - "TIMEFRAME_3_M": 16, - } -) - -func (x Timeframe) Enum() *Timeframe { - p := new(Timeframe) - *p = x - return p -} - -func (x Timeframe) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Timeframe) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[1].Descriptor() -} - -func (Timeframe) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[1] -} - -func (x Timeframe) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Timeframe.Descriptor instead. -func (Timeframe) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{1} -} - -type EvaluationWindow int32 - -const ( - EvaluationWindow_EVALUATION_WINDOW_ROLLING_OR_UNSPECIFIED EvaluationWindow = 0 - EvaluationWindow_EVALUATION_WINDOW_DYNAMIC EvaluationWindow = 1 -) - -// Enum value maps for EvaluationWindow. -var ( - EvaluationWindow_name = map[int32]string{ - 0: "EVALUATION_WINDOW_ROLLING_OR_UNSPECIFIED", - 1: "EVALUATION_WINDOW_DYNAMIC", - } - EvaluationWindow_value = map[string]int32{ - "EVALUATION_WINDOW_ROLLING_OR_UNSPECIFIED": 0, - "EVALUATION_WINDOW_DYNAMIC": 1, - } -) - -func (x EvaluationWindow) Enum() *EvaluationWindow { - p := new(EvaluationWindow) - *p = x - return p -} - -func (x EvaluationWindow) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (EvaluationWindow) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[2].Descriptor() -} - -func (EvaluationWindow) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[2] -} - -func (x EvaluationWindow) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use EvaluationWindow.Descriptor instead. -func (EvaluationWindow) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{2} -} - -type CleanupDeadmanDuration int32 - -const ( - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_NEVER_OR_UNSPECIFIED CleanupDeadmanDuration = 0 - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_5MIN CleanupDeadmanDuration = 1 - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_10MIN CleanupDeadmanDuration = 2 - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_1H CleanupDeadmanDuration = 3 - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_2H CleanupDeadmanDuration = 4 - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_6H CleanupDeadmanDuration = 5 - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_12H CleanupDeadmanDuration = 6 - CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_24H CleanupDeadmanDuration = 7 -) - -// Enum value maps for CleanupDeadmanDuration. -var ( - CleanupDeadmanDuration_name = map[int32]string{ - 0: "CLEANUP_DEADMAN_DURATION_NEVER_OR_UNSPECIFIED", - 1: "CLEANUP_DEADMAN_DURATION_5MIN", - 2: "CLEANUP_DEADMAN_DURATION_10MIN", - 3: "CLEANUP_DEADMAN_DURATION_1H", - 4: "CLEANUP_DEADMAN_DURATION_2H", - 5: "CLEANUP_DEADMAN_DURATION_6H", - 6: "CLEANUP_DEADMAN_DURATION_12H", - 7: "CLEANUP_DEADMAN_DURATION_24H", - } - CleanupDeadmanDuration_value = map[string]int32{ - "CLEANUP_DEADMAN_DURATION_NEVER_OR_UNSPECIFIED": 0, - "CLEANUP_DEADMAN_DURATION_5MIN": 1, - "CLEANUP_DEADMAN_DURATION_10MIN": 2, - "CLEANUP_DEADMAN_DURATION_1H": 3, - "CLEANUP_DEADMAN_DURATION_2H": 4, - "CLEANUP_DEADMAN_DURATION_6H": 5, - "CLEANUP_DEADMAN_DURATION_12H": 6, - "CLEANUP_DEADMAN_DURATION_24H": 7, - } -) - -func (x CleanupDeadmanDuration) Enum() *CleanupDeadmanDuration { - p := new(CleanupDeadmanDuration) - *p = x - return p -} - -func (x CleanupDeadmanDuration) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CleanupDeadmanDuration) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[3].Descriptor() -} - -func (CleanupDeadmanDuration) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[3] -} - -func (x CleanupDeadmanDuration) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CleanupDeadmanDuration.Descriptor instead. -func (CleanupDeadmanDuration) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{3} -} - -type RelativeTimeframe int32 - -const ( - RelativeTimeframe_RELATIVE_TIMEFRAME_HOUR_OR_UNSPECIFIED RelativeTimeframe = 0 - RelativeTimeframe_RELATIVE_TIMEFRAME_DAY RelativeTimeframe = 1 - RelativeTimeframe_RELATIVE_TIMEFRAME_WEEK RelativeTimeframe = 2 - RelativeTimeframe_RELATIVE_TIMEFRAME_MONTH RelativeTimeframe = 3 -) - -// Enum value maps for RelativeTimeframe. -var ( - RelativeTimeframe_name = map[int32]string{ - 0: "RELATIVE_TIMEFRAME_HOUR_OR_UNSPECIFIED", - 1: "RELATIVE_TIMEFRAME_DAY", - 2: "RELATIVE_TIMEFRAME_WEEK", - 3: "RELATIVE_TIMEFRAME_MONTH", - } - RelativeTimeframe_value = map[string]int32{ - "RELATIVE_TIMEFRAME_HOUR_OR_UNSPECIFIED": 0, - "RELATIVE_TIMEFRAME_DAY": 1, - "RELATIVE_TIMEFRAME_WEEK": 2, - "RELATIVE_TIMEFRAME_MONTH": 3, - } -) - -func (x RelativeTimeframe) Enum() *RelativeTimeframe { - p := new(RelativeTimeframe) - *p = x - return p -} - -func (x RelativeTimeframe) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RelativeTimeframe) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[4].Descriptor() -} - -func (RelativeTimeframe) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[4] -} - -func (x RelativeTimeframe) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use RelativeTimeframe.Descriptor instead. -func (RelativeTimeframe) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{4} -} - -type MetricAlertConditionParameters_MetricSource int32 - -const ( - MetricAlertConditionParameters_METRIC_SOURCE_LOGS2METRICS_OR_UNSPECIFIED MetricAlertConditionParameters_MetricSource = 0 - MetricAlertConditionParameters_METRIC_SOURCE_PROMETHEUS MetricAlertConditionParameters_MetricSource = 1 -) - -// Enum value maps for MetricAlertConditionParameters_MetricSource. -var ( - MetricAlertConditionParameters_MetricSource_name = map[int32]string{ - 0: "METRIC_SOURCE_LOGS2METRICS_OR_UNSPECIFIED", - 1: "METRIC_SOURCE_PROMETHEUS", - } - MetricAlertConditionParameters_MetricSource_value = map[string]int32{ - "METRIC_SOURCE_LOGS2METRICS_OR_UNSPECIFIED": 0, - "METRIC_SOURCE_PROMETHEUS": 1, - } -) - -func (x MetricAlertConditionParameters_MetricSource) Enum() *MetricAlertConditionParameters_MetricSource { - p := new(MetricAlertConditionParameters_MetricSource) - *p = x - return p -} - -func (x MetricAlertConditionParameters_MetricSource) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MetricAlertConditionParameters_MetricSource) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[5].Descriptor() -} - -func (MetricAlertConditionParameters_MetricSource) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[5] -} - -func (x MetricAlertConditionParameters_MetricSource) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MetricAlertConditionParameters_MetricSource.Descriptor instead. -func (MetricAlertConditionParameters_MetricSource) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{17, 0} -} - -type MetricAlertConditionParameters_ArithmeticOperator int32 - -const ( - MetricAlertConditionParameters_ARITHMETIC_OPERATOR_AVG_OR_UNSPECIFIED MetricAlertConditionParameters_ArithmeticOperator = 0 - MetricAlertConditionParameters_ARITHMETIC_OPERATOR_MIN MetricAlertConditionParameters_ArithmeticOperator = 1 - MetricAlertConditionParameters_ARITHMETIC_OPERATOR_MAX MetricAlertConditionParameters_ArithmeticOperator = 2 - MetricAlertConditionParameters_ARITHMETIC_OPERATOR_SUM MetricAlertConditionParameters_ArithmeticOperator = 3 - MetricAlertConditionParameters_ARITHMETIC_OPERATOR_COUNT MetricAlertConditionParameters_ArithmeticOperator = 4 - MetricAlertConditionParameters_ARITHMETIC_OPERATOR_PERCENTILE MetricAlertConditionParameters_ArithmeticOperator = 5 -) - -// Enum value maps for MetricAlertConditionParameters_ArithmeticOperator. -var ( - MetricAlertConditionParameters_ArithmeticOperator_name = map[int32]string{ - 0: "ARITHMETIC_OPERATOR_AVG_OR_UNSPECIFIED", - 1: "ARITHMETIC_OPERATOR_MIN", - 2: "ARITHMETIC_OPERATOR_MAX", - 3: "ARITHMETIC_OPERATOR_SUM", - 4: "ARITHMETIC_OPERATOR_COUNT", - 5: "ARITHMETIC_OPERATOR_PERCENTILE", - } - MetricAlertConditionParameters_ArithmeticOperator_value = map[string]int32{ - "ARITHMETIC_OPERATOR_AVG_OR_UNSPECIFIED": 0, - "ARITHMETIC_OPERATOR_MIN": 1, - "ARITHMETIC_OPERATOR_MAX": 2, - "ARITHMETIC_OPERATOR_SUM": 3, - "ARITHMETIC_OPERATOR_COUNT": 4, - "ARITHMETIC_OPERATOR_PERCENTILE": 5, - } -) - -func (x MetricAlertConditionParameters_ArithmeticOperator) Enum() *MetricAlertConditionParameters_ArithmeticOperator { - p := new(MetricAlertConditionParameters_ArithmeticOperator) - *p = x - return p -} - -func (x MetricAlertConditionParameters_ArithmeticOperator) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MetricAlertConditionParameters_ArithmeticOperator) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[6].Descriptor() -} - -func (MetricAlertConditionParameters_ArithmeticOperator) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes[6] -} - -func (x MetricAlertConditionParameters_ArithmeticOperator) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MetricAlertConditionParameters_ArithmeticOperator.Descriptor instead. -func (MetricAlertConditionParameters_ArithmeticOperator) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{17, 1} -} - -type AlertCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Condition: - // *AlertCondition_Immediate - // *AlertCondition_LessThan - // *AlertCondition_MoreThan - // *AlertCondition_MoreThanUsual - // *AlertCondition_NewValue - // *AlertCondition_Flow - // *AlertCondition_UniqueCount - // *AlertCondition_LessThanUsual - // *AlertCondition_MoreThanOrEqual - // *AlertCondition_LessThanOrEqual - Condition isAlertCondition_Condition `protobuf_oneof:"condition"` -} - -func (x *AlertCondition) Reset() { - *x = AlertCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertCondition) ProtoMessage() {} - -func (x *AlertCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 AlertCondition.ProtoReflect.Descriptor instead. -func (*AlertCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{0} -} - -func (m *AlertCondition) GetCondition() isAlertCondition_Condition { - if m != nil { - return m.Condition - } - return nil -} - -func (x *AlertCondition) GetImmediate() *ImmediateCondition { - if x, ok := x.GetCondition().(*AlertCondition_Immediate); ok { - return x.Immediate - } - return nil -} - -func (x *AlertCondition) GetLessThan() *LessThanCondition { - if x, ok := x.GetCondition().(*AlertCondition_LessThan); ok { - return x.LessThan - } - return nil -} - -func (x *AlertCondition) GetMoreThan() *MoreThanCondition { - if x, ok := x.GetCondition().(*AlertCondition_MoreThan); ok { - return x.MoreThan - } - return nil -} - -func (x *AlertCondition) GetMoreThanUsual() *MoreThanUsualCondition { - if x, ok := x.GetCondition().(*AlertCondition_MoreThanUsual); ok { - return x.MoreThanUsual - } - return nil -} - -func (x *AlertCondition) GetNewValue() *NewValueCondition { - if x, ok := x.GetCondition().(*AlertCondition_NewValue); ok { - return x.NewValue - } - return nil -} - -func (x *AlertCondition) GetFlow() *FlowCondition { - if x, ok := x.GetCondition().(*AlertCondition_Flow); ok { - return x.Flow - } - return nil -} - -func (x *AlertCondition) GetUniqueCount() *UniqueCountCondition { - if x, ok := x.GetCondition().(*AlertCondition_UniqueCount); ok { - return x.UniqueCount - } - return nil -} - -func (x *AlertCondition) GetLessThanUsual() *LessThanUsualCondition { - if x, ok := x.GetCondition().(*AlertCondition_LessThanUsual); ok { - return x.LessThanUsual - } - return nil -} - -func (x *AlertCondition) GetMoreThanOrEqual() *MoreThanOrEqualCondition { - if x, ok := x.GetCondition().(*AlertCondition_MoreThanOrEqual); ok { - return x.MoreThanOrEqual - } - return nil -} - -func (x *AlertCondition) GetLessThanOrEqual() *LessThanOrEqualCondition { - if x, ok := x.GetCondition().(*AlertCondition_LessThanOrEqual); ok { - return x.LessThanOrEqual - } - return nil -} - -type isAlertCondition_Condition interface { - isAlertCondition_Condition() -} - -type AlertCondition_Immediate struct { - Immediate *ImmediateCondition `protobuf:"bytes,1,opt,name=immediate,proto3,oneof"` -} - -type AlertCondition_LessThan struct { - LessThan *LessThanCondition `protobuf:"bytes,2,opt,name=less_than,json=lessThan,proto3,oneof"` -} - -type AlertCondition_MoreThan struct { - MoreThan *MoreThanCondition `protobuf:"bytes,3,opt,name=more_than,json=moreThan,proto3,oneof"` -} - -type AlertCondition_MoreThanUsual struct { - MoreThanUsual *MoreThanUsualCondition `protobuf:"bytes,4,opt,name=more_than_usual,json=moreThanUsual,proto3,oneof"` -} - -type AlertCondition_NewValue struct { - NewValue *NewValueCondition `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3,oneof"` -} - -type AlertCondition_Flow struct { - Flow *FlowCondition `protobuf:"bytes,6,opt,name=flow,proto3,oneof"` -} - -type AlertCondition_UniqueCount struct { - UniqueCount *UniqueCountCondition `protobuf:"bytes,7,opt,name=unique_count,json=uniqueCount,proto3,oneof"` -} - -type AlertCondition_LessThanUsual struct { - LessThanUsual *LessThanUsualCondition `protobuf:"bytes,8,opt,name=less_than_usual,json=lessThanUsual,proto3,oneof"` -} - -type AlertCondition_MoreThanOrEqual struct { - MoreThanOrEqual *MoreThanOrEqualCondition `protobuf:"bytes,9,opt,name=more_than_or_equal,json=moreThanOrEqual,proto3,oneof"` -} - -type AlertCondition_LessThanOrEqual struct { - LessThanOrEqual *LessThanOrEqualCondition `protobuf:"bytes,10,opt,name=less_than_or_equal,json=lessThanOrEqual,proto3,oneof"` // NotCondition not = 11; -} - -func (*AlertCondition_Immediate) isAlertCondition_Condition() {} - -func (*AlertCondition_LessThan) isAlertCondition_Condition() {} - -func (*AlertCondition_MoreThan) isAlertCondition_Condition() {} - -func (*AlertCondition_MoreThanUsual) isAlertCondition_Condition() {} - -func (*AlertCondition_NewValue) isAlertCondition_Condition() {} - -func (*AlertCondition_Flow) isAlertCondition_Condition() {} - -func (*AlertCondition_UniqueCount) isAlertCondition_Condition() {} - -func (*AlertCondition_LessThanUsual) isAlertCondition_Condition() {} - -func (*AlertCondition_MoreThanOrEqual) isAlertCondition_Condition() {} - -func (*AlertCondition_LessThanOrEqual) isAlertCondition_Condition() {} - -type ImmediateCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ImmediateCondition) Reset() { - *x = ImmediateCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ImmediateCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImmediateCondition) ProtoMessage() {} - -func (x *ImmediateCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 ImmediateCondition.ProtoReflect.Descriptor instead. -func (*ImmediateCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{1} -} - -type LessThanCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` -} - -func (x *LessThanCondition) Reset() { - *x = LessThanCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LessThanCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LessThanCondition) ProtoMessage() {} - -func (x *LessThanCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 LessThanCondition.ProtoReflect.Descriptor instead. -func (*LessThanCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{2} -} - -func (x *LessThanCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -type LessThanOrEqualCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` -} - -func (x *LessThanOrEqualCondition) Reset() { - *x = LessThanOrEqualCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LessThanOrEqualCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LessThanOrEqualCondition) ProtoMessage() {} - -func (x *LessThanOrEqualCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 LessThanOrEqualCondition.ProtoReflect.Descriptor instead. -func (*LessThanOrEqualCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{3} -} - -func (x *LessThanOrEqualCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -type MoreThanCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` - EvaluationWindow *EvaluationWindow `protobuf:"varint,2,opt,name=evaluation_window,json=evaluationWindow,proto3,enum=com.coralogix.alerts.v1.EvaluationWindow,oneof" json:"evaluation_window,omitempty"` -} - -func (x *MoreThanCondition) Reset() { - *x = MoreThanCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoreThanCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoreThanCondition) ProtoMessage() {} - -func (x *MoreThanCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 MoreThanCondition.ProtoReflect.Descriptor instead. -func (*MoreThanCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{4} -} - -func (x *MoreThanCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *MoreThanCondition) GetEvaluationWindow() EvaluationWindow { - if x != nil && x.EvaluationWindow != nil { - return *x.EvaluationWindow - } - return EvaluationWindow_EVALUATION_WINDOW_ROLLING_OR_UNSPECIFIED -} - -type MoreThanOrEqualCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` - EvaluationWindow *EvaluationWindow `protobuf:"varint,2,opt,name=evaluation_window,json=evaluationWindow,proto3,enum=com.coralogix.alerts.v1.EvaluationWindow,oneof" json:"evaluation_window,omitempty"` -} - -func (x *MoreThanOrEqualCondition) Reset() { - *x = MoreThanOrEqualCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoreThanOrEqualCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoreThanOrEqualCondition) ProtoMessage() {} - -func (x *MoreThanOrEqualCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 MoreThanOrEqualCondition.ProtoReflect.Descriptor instead. -func (*MoreThanOrEqualCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{5} -} - -func (x *MoreThanOrEqualCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *MoreThanOrEqualCondition) GetEvaluationWindow() EvaluationWindow { - if x != nil && x.EvaluationWindow != nil { - return *x.EvaluationWindow - } - return EvaluationWindow_EVALUATION_WINDOW_ROLLING_OR_UNSPECIFIED -} - -type MoreThanUsualCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` -} - -func (x *MoreThanUsualCondition) Reset() { - *x = MoreThanUsualCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoreThanUsualCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoreThanUsualCondition) ProtoMessage() {} - -func (x *MoreThanUsualCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 MoreThanUsualCondition.ProtoReflect.Descriptor instead. -func (*MoreThanUsualCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{6} -} - -func (x *MoreThanUsualCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -type LessThanUsualCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` -} - -func (x *LessThanUsualCondition) Reset() { - *x = LessThanUsualCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LessThanUsualCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LessThanUsualCondition) ProtoMessage() {} - -func (x *LessThanUsualCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 LessThanUsualCondition.ProtoReflect.Descriptor instead. -func (*LessThanUsualCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{7} -} - -func (x *LessThanUsualCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -type NewValueCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` -} - -func (x *NewValueCondition) Reset() { - *x = NewValueCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NewValueCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NewValueCondition) ProtoMessage() {} - -func (x *NewValueCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 NewValueCondition.ProtoReflect.Descriptor instead. -func (*NewValueCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{8} -} - -func (x *NewValueCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -type UniqueCountCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters *ConditionParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` -} - -func (x *UniqueCountCondition) Reset() { - *x = UniqueCountCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UniqueCountCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UniqueCountCondition) ProtoMessage() {} - -func (x *UniqueCountCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 UniqueCountCondition.ProtoReflect.Descriptor instead. -func (*UniqueCountCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{9} -} - -func (x *UniqueCountCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -type FlowCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Stages []*FlowStage `protobuf:"bytes,1,rep,name=stages,proto3" json:"stages,omitempty"` - Parameters *ConditionParameters `protobuf:"bytes,2,opt,name=parameters,proto3,oneof" json:"parameters,omitempty"` - EnforceSuppression *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enforce_suppression,json=enforceSuppression,proto3" json:"enforce_suppression,omitempty"` -} - -func (x *FlowCondition) Reset() { - *x = FlowCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FlowCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FlowCondition) ProtoMessage() {} - -func (x *FlowCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 FlowCondition.ProtoReflect.Descriptor instead. -func (*FlowCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{10} -} - -func (x *FlowCondition) GetStages() []*FlowStage { - if x != nil { - return x.Stages - } - return nil -} - -func (x *FlowCondition) GetParameters() *ConditionParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *FlowCondition) GetEnforceSuppression() *wrapperspb.BoolValue { - if x != nil { - return x.EnforceSuppression - } - return nil -} - -type FlowStage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*FlowGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` - Timeframe *FlowTimeframe `protobuf:"bytes,2,opt,name=timeframe,proto3" json:"timeframe,omitempty"` -} - -func (x *FlowStage) Reset() { - *x = FlowStage{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FlowStage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FlowStage) ProtoMessage() {} - -func (x *FlowStage) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 FlowStage.ProtoReflect.Descriptor instead. -func (*FlowStage) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{11} -} - -func (x *FlowStage) GetGroups() []*FlowGroup { - if x != nil { - return x.Groups - } - return nil -} - -func (x *FlowStage) GetTimeframe() *FlowTimeframe { - if x != nil { - return x.Timeframe - } - return nil -} - -type FlowAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Not *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=not,proto3" json:"not,omitempty"` -} - -func (x *FlowAlert) Reset() { - *x = FlowAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FlowAlert) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FlowAlert) ProtoMessage() {} - -func (x *FlowAlert) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 FlowAlert.ProtoReflect.Descriptor instead. -func (*FlowAlert) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{12} -} - -func (x *FlowAlert) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *FlowAlert) GetNot() *wrapperspb.BoolValue { - if x != nil { - return x.Not - } - return nil -} - -type FlowAlerts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Op FlowOperator `protobuf:"varint,1,opt,name=op,proto3,enum=com.coralogix.alerts.v2.FlowOperator" json:"op,omitempty"` - Values []*FlowAlert `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *FlowAlerts) Reset() { - *x = FlowAlerts{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FlowAlerts) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FlowAlerts) ProtoMessage() {} - -func (x *FlowAlerts) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 FlowAlerts.ProtoReflect.Descriptor instead. -func (*FlowAlerts) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{13} -} - -func (x *FlowAlerts) GetOp() FlowOperator { - if x != nil { - return x.Op - } - return FlowOperator_AND -} - -func (x *FlowAlerts) GetValues() []*FlowAlert { - if x != nil { - return x.Values - } - return nil -} - -type FlowGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alerts *FlowAlerts `protobuf:"bytes,1,opt,name=alerts,proto3" json:"alerts,omitempty"` - NextOp FlowOperator `protobuf:"varint,2,opt,name=nextOp,proto3,enum=com.coralogix.alerts.v2.FlowOperator" json:"nextOp,omitempty"` -} - -func (x *FlowGroup) Reset() { - *x = FlowGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FlowGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FlowGroup) ProtoMessage() {} - -func (x *FlowGroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 FlowGroup.ProtoReflect.Descriptor instead. -func (*FlowGroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{14} -} - -func (x *FlowGroup) GetAlerts() *FlowAlerts { - if x != nil { - return x.Alerts - } - return nil -} - -func (x *FlowGroup) GetNextOp() FlowOperator { - if x != nil { - return x.NextOp - } - return FlowOperator_AND -} - -type FlowTimeframe struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ms *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=ms,proto3" json:"ms,omitempty"` -} - -func (x *FlowTimeframe) Reset() { - *x = FlowTimeframe{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FlowTimeframe) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FlowTimeframe) ProtoMessage() {} - -func (x *FlowTimeframe) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 FlowTimeframe.ProtoReflect.Descriptor instead. -func (*FlowTimeframe) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{15} -} - -func (x *FlowTimeframe) GetMs() *wrapperspb.UInt32Value { - if x != nil { - return x.Ms - } - return nil -} - -type ConditionParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Threshold *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=threshold,proto3" json:"threshold,omitempty"` - Timeframe Timeframe `protobuf:"varint,2,opt,name=timeframe,proto3,enum=com.coralogix.alerts.v2.Timeframe" json:"timeframe,omitempty"` - GroupBy []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - MetricAlertParameters *MetricAlertConditionParameters `protobuf:"bytes,4,opt,name=metric_alert_parameters,json=metricAlertParameters,proto3" json:"metric_alert_parameters,omitempty"` - MetricAlertPromqlParameters *MetricAlertPromqlConditionParameters `protobuf:"bytes,5,opt,name=metric_alert_promql_parameters,json=metricAlertPromqlParameters,proto3" json:"metric_alert_promql_parameters,omitempty"` - IgnoreInfinity *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=ignore_infinity,json=ignoreInfinity,proto3" json:"ignore_infinity,omitempty"` - RelativeTimeframe RelativeTimeframe `protobuf:"varint,7,opt,name=relative_timeframe,json=relativeTimeframe,proto3,enum=com.coralogix.alerts.v2.RelativeTimeframe" json:"relative_timeframe,omitempty"` - NotifyGroupByOnlyAlerts *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=notify_group_by_only_alerts,json=notifyGroupByOnlyAlerts,proto3" json:"notify_group_by_only_alerts,omitempty"` - CardinalityFields []*wrapperspb.StringValue `protobuf:"bytes,10,rep,name=cardinality_fields,json=cardinalityFields,proto3" json:"cardinality_fields,omitempty"` - MaxUniqueCountValuesForGroupByKey *wrapperspb.UInt32Value `protobuf:"bytes,11,opt,name=max_unique_count_values_for_group_by_key,json=maxUniqueCountValuesForGroupByKey,proto3" json:"max_unique_count_values_for_group_by_key,omitempty"` - RelatedExtendedData *RelatedExtendedData `protobuf:"bytes,12,opt,name=related_extended_data,json=relatedExtendedData,proto3,oneof" json:"related_extended_data,omitempty"` -} - -func (x *ConditionParameters) Reset() { - *x = ConditionParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConditionParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConditionParameters) ProtoMessage() {} - -func (x *ConditionParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 ConditionParameters.ProtoReflect.Descriptor instead. -func (*ConditionParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{16} -} - -func (x *ConditionParameters) GetThreshold() *wrapperspb.DoubleValue { - if x != nil { - return x.Threshold - } - return nil -} - -func (x *ConditionParameters) GetTimeframe() Timeframe { - if x != nil { - return x.Timeframe - } - return Timeframe_TIMEFRAME_5_MIN_OR_UNSPECIFIED -} - -func (x *ConditionParameters) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *ConditionParameters) GetMetricAlertParameters() *MetricAlertConditionParameters { - if x != nil { - return x.MetricAlertParameters - } - return nil -} - -func (x *ConditionParameters) GetMetricAlertPromqlParameters() *MetricAlertPromqlConditionParameters { - if x != nil { - return x.MetricAlertPromqlParameters - } - return nil -} - -func (x *ConditionParameters) GetIgnoreInfinity() *wrapperspb.BoolValue { - if x != nil { - return x.IgnoreInfinity - } - return nil -} - -func (x *ConditionParameters) GetRelativeTimeframe() RelativeTimeframe { - if x != nil { - return x.RelativeTimeframe - } - return RelativeTimeframe_RELATIVE_TIMEFRAME_HOUR_OR_UNSPECIFIED -} - -func (x *ConditionParameters) GetNotifyGroupByOnlyAlerts() *wrapperspb.BoolValue { - if x != nil { - return x.NotifyGroupByOnlyAlerts - } - return nil -} - -func (x *ConditionParameters) GetCardinalityFields() []*wrapperspb.StringValue { - if x != nil { - return x.CardinalityFields - } - return nil -} - -func (x *ConditionParameters) GetMaxUniqueCountValuesForGroupByKey() *wrapperspb.UInt32Value { - if x != nil { - return x.MaxUniqueCountValuesForGroupByKey - } - return nil -} - -func (x *ConditionParameters) GetRelatedExtendedData() *RelatedExtendedData { - if x != nil { - return x.RelatedExtendedData - } - return nil -} - -type MetricAlertConditionParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetricField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=metric_field,json=metricField,proto3" json:"metric_field,omitempty"` - MetricSource MetricAlertConditionParameters_MetricSource `protobuf:"varint,2,opt,name=metric_source,json=metricSource,proto3,enum=com.coralogix.alerts.v2.MetricAlertConditionParameters_MetricSource" json:"metric_source,omitempty"` - ArithmeticOperator MetricAlertConditionParameters_ArithmeticOperator `protobuf:"varint,3,opt,name=arithmetic_operator,json=arithmeticOperator,proto3,enum=com.coralogix.alerts.v2.MetricAlertConditionParameters_ArithmeticOperator" json:"arithmetic_operator,omitempty"` - ArithmeticOperatorModifier *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=arithmetic_operator_modifier,json=arithmeticOperatorModifier,proto3" json:"arithmetic_operator_modifier,omitempty"` - SampleThresholdPercentage *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=sample_threshold_percentage,json=sampleThresholdPercentage,proto3" json:"sample_threshold_percentage,omitempty"` - NonNullPercentage *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=non_null_percentage,json=nonNullPercentage,proto3" json:"non_null_percentage,omitempty"` - SwapNullValues *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=swap_null_values,json=swapNullValues,proto3" json:"swap_null_values,omitempty"` -} - -func (x *MetricAlertConditionParameters) Reset() { - *x = MetricAlertConditionParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetricAlertConditionParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetricAlertConditionParameters) ProtoMessage() {} - -func (x *MetricAlertConditionParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_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 MetricAlertConditionParameters.ProtoReflect.Descriptor instead. -func (*MetricAlertConditionParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{17} -} - -func (x *MetricAlertConditionParameters) GetMetricField() *wrapperspb.StringValue { - if x != nil { - return x.MetricField - } - return nil -} - -func (x *MetricAlertConditionParameters) GetMetricSource() MetricAlertConditionParameters_MetricSource { - if x != nil { - return x.MetricSource - } - return MetricAlertConditionParameters_METRIC_SOURCE_LOGS2METRICS_OR_UNSPECIFIED -} - -func (x *MetricAlertConditionParameters) GetArithmeticOperator() MetricAlertConditionParameters_ArithmeticOperator { - if x != nil { - return x.ArithmeticOperator - } - return MetricAlertConditionParameters_ARITHMETIC_OPERATOR_AVG_OR_UNSPECIFIED -} - -func (x *MetricAlertConditionParameters) GetArithmeticOperatorModifier() *wrapperspb.UInt32Value { - if x != nil { - return x.ArithmeticOperatorModifier - } - return nil -} - -func (x *MetricAlertConditionParameters) GetSampleThresholdPercentage() *wrapperspb.UInt32Value { - if x != nil { - return x.SampleThresholdPercentage - } - return nil -} - -func (x *MetricAlertConditionParameters) GetNonNullPercentage() *wrapperspb.UInt32Value { - if x != nil { - return x.NonNullPercentage - } - return nil -} - -func (x *MetricAlertConditionParameters) GetSwapNullValues() *wrapperspb.BoolValue { - if x != nil { - return x.SwapNullValues - } - return nil -} - -type MetricAlertPromqlConditionParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PromqlText *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=promql_text,json=promqlText,proto3" json:"promql_text,omitempty"` - ArithmeticOperatorModifier *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=arithmetic_operator_modifier,json=arithmeticOperatorModifier,proto3" json:"arithmetic_operator_modifier,omitempty"` - SampleThresholdPercentage *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=sample_threshold_percentage,json=sampleThresholdPercentage,proto3" json:"sample_threshold_percentage,omitempty"` - NonNullPercentage *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=non_null_percentage,json=nonNullPercentage,proto3" json:"non_null_percentage,omitempty"` - SwapNullValues *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=swap_null_values,json=swapNullValues,proto3" json:"swap_null_values,omitempty"` -} - -func (x *MetricAlertPromqlConditionParameters) Reset() { - *x = MetricAlertPromqlConditionParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetricAlertPromqlConditionParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetricAlertPromqlConditionParameters) ProtoMessage() {} - -func (x *MetricAlertPromqlConditionParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[18] - 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 MetricAlertPromqlConditionParameters.ProtoReflect.Descriptor instead. -func (*MetricAlertPromqlConditionParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{18} -} - -func (x *MetricAlertPromqlConditionParameters) GetPromqlText() *wrapperspb.StringValue { - if x != nil { - return x.PromqlText - } - return nil -} - -func (x *MetricAlertPromqlConditionParameters) GetArithmeticOperatorModifier() *wrapperspb.UInt32Value { - if x != nil { - return x.ArithmeticOperatorModifier - } - return nil -} - -func (x *MetricAlertPromqlConditionParameters) GetSampleThresholdPercentage() *wrapperspb.UInt32Value { - if x != nil { - return x.SampleThresholdPercentage - } - return nil -} - -func (x *MetricAlertPromqlConditionParameters) GetNonNullPercentage() *wrapperspb.UInt32Value { - if x != nil { - return x.NonNullPercentage - } - return nil -} - -func (x *MetricAlertPromqlConditionParameters) GetSwapNullValues() *wrapperspb.BoolValue { - if x != nil { - return x.SwapNullValues - } - return nil -} - -type RelatedExtendedData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CleanupDeadmanDuration *CleanupDeadmanDuration `protobuf:"varint,1,opt,name=cleanup_deadman_duration,json=cleanupDeadmanDuration,proto3,enum=com.coralogix.alerts.v2.CleanupDeadmanDuration,oneof" json:"cleanup_deadman_duration,omitempty"` - ShouldTriggerDeadman *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=should_trigger_deadman,json=shouldTriggerDeadman,proto3,oneof" json:"should_trigger_deadman,omitempty"` -} - -func (x *RelatedExtendedData) Reset() { - *x = RelatedExtendedData{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RelatedExtendedData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RelatedExtendedData) ProtoMessage() {} - -func (x *RelatedExtendedData) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[19] - 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 RelatedExtendedData.ProtoReflect.Descriptor instead. -func (*RelatedExtendedData) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP(), []int{19} -} - -func (x *RelatedExtendedData) GetCleanupDeadmanDuration() CleanupDeadmanDuration { - if x != nil && x.CleanupDeadmanDuration != nil { - return *x.CleanupDeadmanDuration - } - return CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_NEVER_OR_UNSPECIFIED -} - -func (x *RelatedExtendedData) GetShouldTriggerDeadman() *wrapperspb.BoolValue { - if x != nil { - return x.ShouldTriggerDeadman - } - return nil -} - -var File_com_coralogix_alerts_v2_alert_condition_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v2_alert_condition_proto_rawDesc = []byte{ - 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 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, 0x1a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, - 0x31, 0x2f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0xd7, 0x06, 0x0a, 0x0e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x09, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, - 0x65, 0x12, 0x49, 0x0a, 0x09, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x68, 0x61, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, - 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x00, 0x52, 0x08, 0x6c, 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, 0x12, 0x49, 0x0a, 0x09, - 0x6d, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x68, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, 0x72, 0x65, 0x54, 0x68, - 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6d, - 0x6f, 0x72, 0x65, 0x54, 0x68, 0x61, 0x6e, 0x12, 0x59, 0x0a, 0x0f, 0x6d, 0x6f, 0x72, 0x65, 0x5f, - 0x74, 0x68, 0x61, 0x6e, 0x5f, 0x75, 0x73, 0x75, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, 0x72, 0x65, 0x54, - 0x68, 0x61, 0x6e, 0x55, 0x73, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x6d, 0x6f, 0x72, 0x65, 0x54, 0x68, 0x61, 0x6e, 0x55, 0x73, 0x75, - 0x61, 0x6c, 0x12, 0x49, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x4e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, - 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x52, 0x0a, 0x0c, 0x75, - 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x6e, 0x69, 0x71, - 0x75, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x00, 0x52, 0x0b, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x59, 0x0a, 0x0f, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x68, 0x61, 0x6e, 0x5f, 0x75, 0x73, 0x75, - 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x4c, 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, 0x55, 0x73, 0x75, 0x61, 0x6c, - 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x65, 0x73, - 0x73, 0x54, 0x68, 0x61, 0x6e, 0x55, 0x73, 0x75, 0x61, 0x6c, 0x12, 0x60, 0x0a, 0x12, 0x6d, 0x6f, - 0x72, 0x65, 0x5f, 0x74, 0x68, 0x61, 0x6e, 0x5f, 0x6f, 0x72, 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x4d, 0x6f, 0x72, 0x65, 0x54, 0x68, 0x61, 0x6e, 0x4f, 0x72, 0x45, 0x71, 0x75, 0x61, 0x6c, - 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x6f, 0x72, - 0x65, 0x54, 0x68, 0x61, 0x6e, 0x4f, 0x72, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x12, 0x60, 0x0a, 0x12, - 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x68, 0x61, 0x6e, 0x5f, 0x6f, 0x72, 0x5f, 0x65, 0x71, 0x75, - 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x4c, 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, 0x4f, 0x72, 0x45, 0x71, 0x75, - 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x6c, - 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, 0x4f, 0x72, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x42, 0x0b, - 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x49, - 0x6d, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x61, 0x0a, 0x11, 0x4c, 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, 0x43, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x22, 0x68, 0x0a, 0x18, 0x4c, 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, - 0x4f, 0x72, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0xd4, - 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x72, 0x65, 0x54, 0x68, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x5b, 0x0a, 0x11, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x10, 0x65, 0x76, 0x61, 0x6c, - 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x88, 0x01, 0x01, 0x42, - 0x14, 0x0a, 0x12, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, - 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x22, 0xdb, 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x72, 0x65, 0x54, 0x68, - 0x61, 0x6e, 0x4f, 0x72, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x5b, 0x0a, 0x11, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, - 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x10, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, - 0x12, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, - 0x64, 0x6f, 0x77, 0x22, 0x66, 0x0a, 0x16, 0x4d, 0x6f, 0x72, 0x65, 0x54, 0x68, 0x61, 0x6e, 0x55, - 0x73, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, - 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, - 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x66, 0x0a, 0x16, 0x4c, - 0x65, 0x73, 0x73, 0x54, 0x68, 0x61, 0x6e, 0x55, 0x73, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x22, 0x61, 0x0a, 0x11, 0x4e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x64, 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, - 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0xfa, 0x01, 0x0a, - 0x0d, 0x46, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, - 0x0a, 0x06, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, - 0x67, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x67, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0a, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0a, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x88, 0x01, 0x01, 0x12, 0x4b, 0x0a, - 0x13, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 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, 0x12, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x53, - 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x09, 0x46, 0x6c, - 0x6f, 0x77, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x73, 0x12, 0x44, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x22, 0x67, 0x0a, 0x09, 0x46, 0x6c, 0x6f, - 0x77, 0x41, 0x6c, 0x65, 0x72, 0x74, 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, 0x2c, 0x0a, 0x03, 0x6e, 0x6f, 0x74, 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, 0x03, 0x6e, - 0x6f, 0x74, 0x22, 0x7f, 0x0a, 0x0a, 0x46, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x12, 0x35, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x3a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x06, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x09, 0x46, 0x6c, 0x6f, 0x77, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x3b, 0x0a, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6c, 0x6f, 0x77, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x52, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 0x3d, - 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x4f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x4f, 0x70, 0x22, 0x3d, 0x0a, - 0x0d, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x2c, - 0x0a, 0x02, 0x6d, 0x73, 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, 0x55, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x6d, 0x73, 0x22, 0xfd, 0x07, 0x0a, - 0x13, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, - 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, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x12, 0x40, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, - 0x6d, 0x65, 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, 0x6f, 0x0a, 0x17, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x15, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x82, 0x01, 0x0a, - 0x1e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x72, - 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x71, - 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x52, 0x1b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x69, - 0x6e, 0x69, 0x74, 0x79, 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, 0x0e, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x49, 0x6e, - 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x59, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, - 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x6c, - 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x11, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, - 0x65, 0x12, 0x58, 0x0a, 0x1b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x18, 0x08, 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, 0x17, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, - 0x79, 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 0x4b, 0x0a, 0x12, 0x63, - 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x18, 0x0a, 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, 0x11, 0x63, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, - 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x71, 0x0a, 0x28, 0x6d, 0x61, 0x78, 0x5f, - 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, - 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x21, 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x69, - 0x71, 0x75, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x46, 0x6f, - 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x65, 0x0a, 0x15, 0x72, - 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x64, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x13, 0x72, 0x65, 0x6c, 0x61, - 0x74, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x88, - 0x01, 0x01, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd5, 0x07, 0x0a, - 0x1e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x3f, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 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, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x12, 0x69, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x7b, 0x0a, 0x13, 0x61, - 0x72, 0x69, 0x74, 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x6f, - 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x2e, 0x41, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x52, 0x12, 0x61, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x5e, 0x0a, 0x1c, 0x61, 0x72, 0x69, 0x74, - 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, - 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1a, 0x61, 0x72, - 0x69, 0x74, 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x1b, 0x73, 0x61, 0x6d, 0x70, - 0x6c, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x65, 0x72, - 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 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, - 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x19, 0x73, 0x61, 0x6d, - 0x70, 0x6c, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x50, 0x65, 0x72, 0x63, - 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x6e, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, - 0x6c, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x11, 0x6e, 0x6f, 0x6e, 0x4e, 0x75, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, - 0x74, 0x61, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x6e, 0x75, 0x6c, - 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x73, 0x77, 0x61, 0x70, - 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x0c, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x29, 0x4d, 0x45, - 0x54, 0x52, 0x49, 0x43, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x4c, 0x4f, 0x47, 0x53, - 0x32, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x54, - 0x52, 0x49, 0x43, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4d, 0x45, - 0x54, 0x48, 0x45, 0x55, 0x53, 0x10, 0x01, 0x22, 0xda, 0x01, 0x0a, 0x12, 0x41, 0x72, 0x69, 0x74, - 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2a, - 0x0a, 0x26, 0x41, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x4f, 0x50, 0x45, - 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x41, 0x56, 0x47, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x52, - 0x49, 0x54, 0x48, 0x4d, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, - 0x52, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x52, 0x49, 0x54, 0x48, - 0x4d, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4d, - 0x41, 0x58, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x45, 0x54, - 0x49, 0x43, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x53, 0x55, 0x4d, 0x10, - 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x45, 0x54, 0x49, 0x43, 0x5f, - 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x04, - 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x45, 0x54, 0x49, 0x43, 0x5f, 0x4f, - 0x50, 0x45, 0x52, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x49, - 0x4c, 0x45, 0x10, 0x05, 0x22, 0xb7, 0x03, 0x0a, 0x24, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3d, 0x0a, - 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 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, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x12, 0x5e, 0x0a, 0x1c, - 0x61, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x1a, 0x61, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x65, 0x74, 0x69, 0x63, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x1b, - 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x19, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x6e, 0x6f, - 0x6e, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, - 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x6e, 0x6f, 0x6e, 0x4e, 0x75, 0x6c, 0x6c, 0x50, 0x65, - 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x77, 0x61, 0x70, - 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 0x77, 0x61, 0x70, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x94, - 0x02, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, - 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x6e, 0x0a, 0x18, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, - 0x70, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6d, 0x61, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x44, 0x65, 0x61, 0x64, 0x6d, 0x61, - 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6c, 0x65, - 0x61, 0x6e, 0x75, 0x70, 0x44, 0x65, 0x61, 0x64, 0x6d, 0x61, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x55, 0x0a, 0x16, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, - 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6d, 0x61, 0x6e, - 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, 0x48, 0x01, 0x52, 0x14, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x54, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x44, 0x65, 0x61, 0x64, 0x6d, 0x61, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x1b, 0x0a, - 0x19, 0x5f, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6d, 0x61, - 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x19, 0x0a, 0x17, 0x5f, 0x73, - 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x64, 0x65, - 0x61, 0x64, 0x6d, 0x61, 0x6e, 0x2a, 0x1f, 0x0a, 0x0c, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x06, - 0x0a, 0x02, 0x4f, 0x52, 0x10, 0x01, 0x2a, 0xc0, 0x03, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, - 0x45, 0x5f, 0x35, 0x5f, 0x4d, 0x49, 0x4e, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, - 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x31, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x12, 0x12, 0x13, 0x0a, - 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x32, 0x5f, 0x4d, 0x49, 0x4e, - 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, - 0x31, 0x30, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, - 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x31, 0x35, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x11, 0x12, 0x14, - 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x32, 0x30, 0x5f, 0x4d, - 0x49, 0x4e, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, - 0x45, 0x5f, 0x33, 0x30, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x49, - 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x31, 0x5f, 0x48, 0x10, 0x04, 0x12, 0x11, 0x0a, - 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x32, 0x5f, 0x48, 0x10, 0x05, - 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x33, 0x5f, - 0x48, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, - 0x5f, 0x34, 0x5f, 0x48, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, - 0x41, 0x4d, 0x45, 0x5f, 0x36, 0x5f, 0x48, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x49, 0x4d, - 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x31, 0x32, 0x5f, 0x48, 0x10, 0x09, 0x12, 0x12, 0x0a, - 0x0e, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x32, 0x34, 0x5f, 0x48, 0x10, - 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x33, - 0x36, 0x5f, 0x48, 0x10, 0x14, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, - 0x4d, 0x45, 0x5f, 0x34, 0x38, 0x5f, 0x48, 0x10, 0x0b, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x49, 0x4d, - 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x37, 0x32, 0x5f, 0x48, 0x10, 0x0c, 0x12, 0x11, 0x0a, - 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x31, 0x5f, 0x57, 0x10, 0x0d, - 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x31, 0x5f, - 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, - 0x5f, 0x32, 0x5f, 0x4d, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, - 0x41, 0x4d, 0x45, 0x5f, 0x33, 0x5f, 0x4d, 0x10, 0x10, 0x2a, 0x5f, 0x0a, 0x10, 0x45, 0x76, 0x61, - 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x2c, 0x0a, - 0x28, 0x45, 0x56, 0x41, 0x4c, 0x55, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, - 0x4f, 0x57, 0x5f, 0x52, 0x4f, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x45, - 0x56, 0x41, 0x4c, 0x55, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, - 0x5f, 0x44, 0x59, 0x4e, 0x41, 0x4d, 0x49, 0x43, 0x10, 0x01, 0x2a, 0xb9, 0x02, 0x0a, 0x16, 0x43, - 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x44, 0x65, 0x61, 0x64, 0x6d, 0x61, 0x6e, 0x44, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x2d, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x55, 0x50, - 0x5f, 0x44, 0x45, 0x41, 0x44, 0x4d, 0x41, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x4e, 0x45, 0x56, 0x45, 0x52, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4c, 0x45, 0x41, - 0x4e, 0x55, 0x50, 0x5f, 0x44, 0x45, 0x41, 0x44, 0x4d, 0x41, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x35, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x43, - 0x4c, 0x45, 0x41, 0x4e, 0x55, 0x50, 0x5f, 0x44, 0x45, 0x41, 0x44, 0x4d, 0x41, 0x4e, 0x5f, 0x44, - 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x30, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, - 0x1f, 0x0a, 0x1b, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x55, 0x50, 0x5f, 0x44, 0x45, 0x41, 0x44, 0x4d, - 0x41, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x48, 0x10, 0x03, - 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x55, 0x50, 0x5f, 0x44, 0x45, 0x41, 0x44, - 0x4d, 0x41, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x48, 0x10, - 0x04, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x55, 0x50, 0x5f, 0x44, 0x45, 0x41, - 0x44, 0x4d, 0x41, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x36, 0x48, - 0x10, 0x05, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x55, 0x50, 0x5f, 0x44, 0x45, - 0x41, 0x44, 0x4d, 0x41, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x31, - 0x32, 0x48, 0x10, 0x06, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4c, 0x45, 0x41, 0x4e, 0x55, 0x50, 0x5f, - 0x44, 0x45, 0x41, 0x44, 0x4d, 0x41, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x32, 0x34, 0x48, 0x10, 0x07, 0x2a, 0x96, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x26, - 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, - 0x4d, 0x45, 0x5f, 0x48, 0x4f, 0x55, 0x52, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x4c, 0x41, - 0x54, 0x49, 0x56, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x44, - 0x41, 0x59, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, - 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x57, 0x45, 0x45, 0x4b, 0x10, - 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x54, 0x49, - 0x4d, 0x45, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x03, 0x42, - 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v2_alert_condition_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v2_alert_condition_proto_rawDescData = file_com_coralogix_alerts_v2_alert_condition_proto_rawDesc -) - -func file_com_coralogix_alerts_v2_alert_condition_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v2_alert_condition_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v2_alert_condition_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v2_alert_condition_proto_rawDescData) - }) - return file_com_coralogix_alerts_v2_alert_condition_proto_rawDescData -} - -var file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes = make([]protoimpl.EnumInfo, 7) -var file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_com_coralogix_alerts_v2_alert_condition_proto_goTypes = []interface{}{ - (FlowOperator)(0), // 0: com.coralogix.alerts.v2.FlowOperator - (Timeframe)(0), // 1: com.coralogix.alerts.v2.Timeframe - (EvaluationWindow)(0), // 2: com.coralogix.alerts.v2.EvaluationWindow - (CleanupDeadmanDuration)(0), // 3: com.coralogix.alerts.v2.CleanupDeadmanDuration - (RelativeTimeframe)(0), // 4: com.coralogix.alerts.v2.RelativeTimeframe - (MetricAlertConditionParameters_MetricSource)(0), // 5: com.coralogix.alerts.v2.MetricAlertConditionParameters.MetricSource - (MetricAlertConditionParameters_ArithmeticOperator)(0), // 6: com.coralogix.alerts.v2.MetricAlertConditionParameters.ArithmeticOperator - (*AlertCondition)(nil), // 7: com.coralogix.alerts.v2.AlertCondition - (*ImmediateCondition)(nil), // 8: com.coralogix.alerts.v2.ImmediateCondition - (*LessThanCondition)(nil), // 9: com.coralogix.alerts.v2.LessThanCondition - (*LessThanOrEqualCondition)(nil), // 10: com.coralogix.alerts.v2.LessThanOrEqualCondition - (*MoreThanCondition)(nil), // 11: com.coralogix.alerts.v2.MoreThanCondition - (*MoreThanOrEqualCondition)(nil), // 12: com.coralogix.alerts.v2.MoreThanOrEqualCondition - (*MoreThanUsualCondition)(nil), // 13: com.coralogix.alerts.v2.MoreThanUsualCondition - (*LessThanUsualCondition)(nil), // 14: com.coralogix.alerts.v2.LessThanUsualCondition - (*NewValueCondition)(nil), // 15: com.coralogix.alerts.v2.NewValueCondition - (*UniqueCountCondition)(nil), // 16: com.coralogix.alerts.v2.UniqueCountCondition - (*FlowCondition)(nil), // 17: com.coralogix.alerts.v2.FlowCondition - (*FlowStage)(nil), // 18: com.coralogix.alerts.v2.FlowStage - (*FlowAlert)(nil), // 19: com.coralogix.alerts.v2.FlowAlert - (*FlowAlerts)(nil), // 20: com.coralogix.alerts.v2.FlowAlerts - (*FlowGroup)(nil), // 21: com.coralogix.alerts.v2.FlowGroup - (*FlowTimeframe)(nil), // 22: com.coralogix.alerts.v2.FlowTimeframe - (*ConditionParameters)(nil), // 23: com.coralogix.alerts.v2.ConditionParameters - (*MetricAlertConditionParameters)(nil), // 24: com.coralogix.alerts.v2.MetricAlertConditionParameters - (*MetricAlertPromqlConditionParameters)(nil), // 25: com.coralogix.alerts.v2.MetricAlertPromqlConditionParameters - (*RelatedExtendedData)(nil), // 26: com.coralogix.alerts.v2.RelatedExtendedData - (EvaluationWindow)(0), // 27: com.coralogix.alerts.v1.EvaluationWindow - (*wrapperspb.BoolValue)(nil), // 28: google.protobuf.BoolValue - (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue - (*wrapperspb.UInt32Value)(nil), // 30: google.protobuf.UInt32Value - (*wrapperspb.DoubleValue)(nil), // 31: google.protobuf.DoubleValue -} -var file_com_coralogix_alerts_v2_alert_condition_proto_depIdxs = []int32{ - 8, // 0: com.coralogix.alerts.v2.AlertCondition.immediate:type_name -> com.coralogix.alerts.v2.ImmediateCondition - 9, // 1: com.coralogix.alerts.v2.AlertCondition.less_than:type_name -> com.coralogix.alerts.v2.LessThanCondition - 11, // 2: com.coralogix.alerts.v2.AlertCondition.more_than:type_name -> com.coralogix.alerts.v2.MoreThanCondition - 13, // 3: com.coralogix.alerts.v2.AlertCondition.more_than_usual:type_name -> com.coralogix.alerts.v2.MoreThanUsualCondition - 15, // 4: com.coralogix.alerts.v2.AlertCondition.new_value:type_name -> com.coralogix.alerts.v2.NewValueCondition - 17, // 5: com.coralogix.alerts.v2.AlertCondition.flow:type_name -> com.coralogix.alerts.v2.FlowCondition - 16, // 6: com.coralogix.alerts.v2.AlertCondition.unique_count:type_name -> com.coralogix.alerts.v2.UniqueCountCondition - 14, // 7: com.coralogix.alerts.v2.AlertCondition.less_than_usual:type_name -> com.coralogix.alerts.v2.LessThanUsualCondition - 12, // 8: com.coralogix.alerts.v2.AlertCondition.more_than_or_equal:type_name -> com.coralogix.alerts.v2.MoreThanOrEqualCondition - 10, // 9: com.coralogix.alerts.v2.AlertCondition.less_than_or_equal:type_name -> com.coralogix.alerts.v2.LessThanOrEqualCondition - 23, // 10: com.coralogix.alerts.v2.LessThanCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 23, // 11: com.coralogix.alerts.v2.LessThanOrEqualCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 23, // 12: com.coralogix.alerts.v2.MoreThanCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 27, // 13: com.coralogix.alerts.v2.MoreThanCondition.evaluation_window:type_name -> com.coralogix.alerts.v1.EvaluationWindow - 23, // 14: com.coralogix.alerts.v2.MoreThanOrEqualCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 27, // 15: com.coralogix.alerts.v2.MoreThanOrEqualCondition.evaluation_window:type_name -> com.coralogix.alerts.v1.EvaluationWindow - 23, // 16: com.coralogix.alerts.v2.MoreThanUsualCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 23, // 17: com.coralogix.alerts.v2.LessThanUsualCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 23, // 18: com.coralogix.alerts.v2.NewValueCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 23, // 19: com.coralogix.alerts.v2.UniqueCountCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 18, // 20: com.coralogix.alerts.v2.FlowCondition.stages:type_name -> com.coralogix.alerts.v2.FlowStage - 23, // 21: com.coralogix.alerts.v2.FlowCondition.parameters:type_name -> com.coralogix.alerts.v2.ConditionParameters - 28, // 22: com.coralogix.alerts.v2.FlowCondition.enforce_suppression:type_name -> google.protobuf.BoolValue - 21, // 23: com.coralogix.alerts.v2.FlowStage.groups:type_name -> com.coralogix.alerts.v2.FlowGroup - 22, // 24: com.coralogix.alerts.v2.FlowStage.timeframe:type_name -> com.coralogix.alerts.v2.FlowTimeframe - 29, // 25: com.coralogix.alerts.v2.FlowAlert.id:type_name -> google.protobuf.StringValue - 28, // 26: com.coralogix.alerts.v2.FlowAlert.not:type_name -> google.protobuf.BoolValue - 0, // 27: com.coralogix.alerts.v2.FlowAlerts.op:type_name -> com.coralogix.alerts.v2.FlowOperator - 19, // 28: com.coralogix.alerts.v2.FlowAlerts.values:type_name -> com.coralogix.alerts.v2.FlowAlert - 20, // 29: com.coralogix.alerts.v2.FlowGroup.alerts:type_name -> com.coralogix.alerts.v2.FlowAlerts - 0, // 30: com.coralogix.alerts.v2.FlowGroup.nextOp:type_name -> com.coralogix.alerts.v2.FlowOperator - 30, // 31: com.coralogix.alerts.v2.FlowTimeframe.ms:type_name -> google.protobuf.UInt32Value - 31, // 32: com.coralogix.alerts.v2.ConditionParameters.threshold:type_name -> google.protobuf.DoubleValue - 1, // 33: com.coralogix.alerts.v2.ConditionParameters.timeframe:type_name -> com.coralogix.alerts.v2.Timeframe - 29, // 34: com.coralogix.alerts.v2.ConditionParameters.group_by:type_name -> google.protobuf.StringValue - 24, // 35: com.coralogix.alerts.v2.ConditionParameters.metric_alert_parameters:type_name -> com.coralogix.alerts.v2.MetricAlertConditionParameters - 25, // 36: com.coralogix.alerts.v2.ConditionParameters.metric_alert_promql_parameters:type_name -> com.coralogix.alerts.v2.MetricAlertPromqlConditionParameters - 28, // 37: com.coralogix.alerts.v2.ConditionParameters.ignore_infinity:type_name -> google.protobuf.BoolValue - 4, // 38: com.coralogix.alerts.v2.ConditionParameters.relative_timeframe:type_name -> com.coralogix.alerts.v2.RelativeTimeframe - 28, // 39: com.coralogix.alerts.v2.ConditionParameters.notify_group_by_only_alerts:type_name -> google.protobuf.BoolValue - 29, // 40: com.coralogix.alerts.v2.ConditionParameters.cardinality_fields:type_name -> google.protobuf.StringValue - 30, // 41: com.coralogix.alerts.v2.ConditionParameters.max_unique_count_values_for_group_by_key:type_name -> google.protobuf.UInt32Value - 26, // 42: com.coralogix.alerts.v2.ConditionParameters.related_extended_data:type_name -> com.coralogix.alerts.v2.RelatedExtendedData - 29, // 43: com.coralogix.alerts.v2.MetricAlertConditionParameters.metric_field:type_name -> google.protobuf.StringValue - 5, // 44: com.coralogix.alerts.v2.MetricAlertConditionParameters.metric_source:type_name -> com.coralogix.alerts.v2.MetricAlertConditionParameters.MetricSource - 6, // 45: com.coralogix.alerts.v2.MetricAlertConditionParameters.arithmetic_operator:type_name -> com.coralogix.alerts.v2.MetricAlertConditionParameters.ArithmeticOperator - 30, // 46: com.coralogix.alerts.v2.MetricAlertConditionParameters.arithmetic_operator_modifier:type_name -> google.protobuf.UInt32Value - 30, // 47: com.coralogix.alerts.v2.MetricAlertConditionParameters.sample_threshold_percentage:type_name -> google.protobuf.UInt32Value - 30, // 48: com.coralogix.alerts.v2.MetricAlertConditionParameters.non_null_percentage:type_name -> google.protobuf.UInt32Value - 28, // 49: com.coralogix.alerts.v2.MetricAlertConditionParameters.swap_null_values:type_name -> google.protobuf.BoolValue - 29, // 50: com.coralogix.alerts.v2.MetricAlertPromqlConditionParameters.promql_text:type_name -> google.protobuf.StringValue - 30, // 51: com.coralogix.alerts.v2.MetricAlertPromqlConditionParameters.arithmetic_operator_modifier:type_name -> google.protobuf.UInt32Value - 30, // 52: com.coralogix.alerts.v2.MetricAlertPromqlConditionParameters.sample_threshold_percentage:type_name -> google.protobuf.UInt32Value - 30, // 53: com.coralogix.alerts.v2.MetricAlertPromqlConditionParameters.non_null_percentage:type_name -> google.protobuf.UInt32Value - 28, // 54: com.coralogix.alerts.v2.MetricAlertPromqlConditionParameters.swap_null_values:type_name -> google.protobuf.BoolValue - 3, // 55: com.coralogix.alerts.v2.RelatedExtendedData.cleanup_deadman_duration:type_name -> com.coralogix.alerts.v2.CleanupDeadmanDuration - 28, // 56: com.coralogix.alerts.v2.RelatedExtendedData.should_trigger_deadman:type_name -> google.protobuf.BoolValue - 57, // [57:57] is the sub-list for method output_type - 57, // [57:57] is the sub-list for method input_type - 57, // [57:57] is the sub-list for extension type_name - 57, // [57:57] is the sub-list for extension extendee - 0, // [0:57] is the sub-list for field type_name -} - -func init() { file_com_coralogix_alerts_v2_alert_condition_proto_init() } -func file_com_coralogix_alerts_v2_alert_condition_proto_init() { - if File_com_coralogix_alerts_v2_alert_condition_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImmediateCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LessThanCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LessThanOrEqualCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoreThanCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoreThanOrEqualCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoreThanUsualCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LessThanUsualCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewValueCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UniqueCountCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowStage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowAlerts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowTimeframe); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConditionParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricAlertConditionParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricAlertPromqlConditionParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelatedExtendedData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*AlertCondition_Immediate)(nil), - (*AlertCondition_LessThan)(nil), - (*AlertCondition_MoreThan)(nil), - (*AlertCondition_MoreThanUsual)(nil), - (*AlertCondition_NewValue)(nil), - (*AlertCondition_Flow)(nil), - (*AlertCondition_UniqueCount)(nil), - (*AlertCondition_LessThanUsual)(nil), - (*AlertCondition_MoreThanOrEqual)(nil), - (*AlertCondition_LessThanOrEqual)(nil), - } - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[16].OneofWrappers = []interface{}{} - file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes[19].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_alerts_v2_alert_condition_proto_rawDesc, - NumEnums: 7, - NumMessages: 20, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v2_alert_condition_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v2_alert_condition_proto_depIdxs, - EnumInfos: file_com_coralogix_alerts_v2_alert_condition_proto_enumTypes, - MessageInfos: file_com_coralogix_alerts_v2_alert_condition_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v2_alert_condition_proto = out.File - file_com_coralogix_alerts_v2_alert_condition_proto_rawDesc = nil - file_com_coralogix_alerts_v2_alert_condition_proto_goTypes = nil - file_com_coralogix_alerts_v2_alert_condition_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_event.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_event.pb.go deleted file mode 100644 index a2f95d41..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_event.pb.go +++ /dev/null @@ -1,441 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v1/alert_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" - 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 AlertEvent_AlertEventType int32 - -const ( - AlertEvent_ALERT_EVENT_TYPE_UNSPECIFIED AlertEvent_AlertEventType = 0 - AlertEvent_ALERT_EVENT_TYPE_USER_ALERT AlertEvent_AlertEventType = 1 - AlertEvent_ALERT_EVENT_TYPE_ANOMALY AlertEvent_AlertEventType = 2 - AlertEvent_ALERT_EVENT_TYPE_RATIO AlertEvent_AlertEventType = 3 - AlertEvent_ALERT_EVENT_TYPE_NEW_VALUE AlertEvent_AlertEventType = 4 - AlertEvent_ALERT_EVENT_TYPE_UNIQUE_COUNT AlertEvent_AlertEventType = 5 - AlertEvent_ALERT_EVENT_TYPE_TIME_RELATIVE AlertEvent_AlertEventType = 6 - AlertEvent_ALERT_EVENT_TYPE_METRIC AlertEvent_AlertEventType = 7 - AlertEvent_ALERT_EVENT_TYPE_FLOW AlertEvent_AlertEventType = 8 -) - -// Enum value maps for AlertEvent_AlertEventType. -var ( - AlertEvent_AlertEventType_name = map[int32]string{ - 0: "ALERT_EVENT_TYPE_UNSPECIFIED", - 1: "ALERT_EVENT_TYPE_USER_ALERT", - 2: "ALERT_EVENT_TYPE_ANOMALY", - 3: "ALERT_EVENT_TYPE_RATIO", - 4: "ALERT_EVENT_TYPE_NEW_VALUE", - 5: "ALERT_EVENT_TYPE_UNIQUE_COUNT", - 6: "ALERT_EVENT_TYPE_TIME_RELATIVE", - 7: "ALERT_EVENT_TYPE_METRIC", - 8: "ALERT_EVENT_TYPE_FLOW", - } - AlertEvent_AlertEventType_value = map[string]int32{ - "ALERT_EVENT_TYPE_UNSPECIFIED": 0, - "ALERT_EVENT_TYPE_USER_ALERT": 1, - "ALERT_EVENT_TYPE_ANOMALY": 2, - "ALERT_EVENT_TYPE_RATIO": 3, - "ALERT_EVENT_TYPE_NEW_VALUE": 4, - "ALERT_EVENT_TYPE_UNIQUE_COUNT": 5, - "ALERT_EVENT_TYPE_TIME_RELATIVE": 6, - "ALERT_EVENT_TYPE_METRIC": 7, - "ALERT_EVENT_TYPE_FLOW": 8, - } -) - -func (x AlertEvent_AlertEventType) Enum() *AlertEvent_AlertEventType { - p := new(AlertEvent_AlertEventType) - *p = x - return p -} - -func (x AlertEvent_AlertEventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AlertEvent_AlertEventType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v1_alert_event_proto_enumTypes[0].Descriptor() -} - -func (AlertEvent_AlertEventType) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v1_alert_event_proto_enumTypes[0] -} - -func (x AlertEvent_AlertEventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use AlertEvent_AlertEventType.Descriptor instead. -func (AlertEvent_AlertEventType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_event_proto_rawDescGZIP(), []int{0, 0} -} - -type AlertEvent_AlertEventSubType int32 - -const ( - AlertEvent_ALERT_EVENT_SUB_TYPE_UNSPECIFIED AlertEvent_AlertEventSubType = 0 - AlertEvent_ALERT_EVENT_SUB_TYPE_FLOW AlertEvent_AlertEventSubType = 2 - AlertEvent_ALERT_EVENT_SUB_TYPE_VOLUME AlertEvent_AlertEventSubType = 3 -) - -// Enum value maps for AlertEvent_AlertEventSubType. -var ( - AlertEvent_AlertEventSubType_name = map[int32]string{ - 0: "ALERT_EVENT_SUB_TYPE_UNSPECIFIED", - 2: "ALERT_EVENT_SUB_TYPE_FLOW", - 3: "ALERT_EVENT_SUB_TYPE_VOLUME", - } - AlertEvent_AlertEventSubType_value = map[string]int32{ - "ALERT_EVENT_SUB_TYPE_UNSPECIFIED": 0, - "ALERT_EVENT_SUB_TYPE_FLOW": 2, - "ALERT_EVENT_SUB_TYPE_VOLUME": 3, - } -) - -func (x AlertEvent_AlertEventSubType) Enum() *AlertEvent_AlertEventSubType { - p := new(AlertEvent_AlertEventSubType) - *p = x - return p -} - -func (x AlertEvent_AlertEventSubType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AlertEvent_AlertEventSubType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v1_alert_event_proto_enumTypes[1].Descriptor() -} - -func (AlertEvent_AlertEventSubType) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v1_alert_event_proto_enumTypes[1] -} - -func (x AlertEvent_AlertEventSubType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use AlertEvent_AlertEventSubType.Descriptor instead. -func (AlertEvent_AlertEventSubType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_event_proto_rawDescGZIP(), []int{0, 1} -} - -type AlertEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type AlertEvent_AlertEventType `protobuf:"varint,2,opt,name=type,proto3,enum=com.coralogix.alerts.v1.AlertEvent_AlertEventType" json:"type,omitempty"` - AlertId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"` - CompanyId *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` - Severity AlertSeverity `protobuf:"varint,5,opt,name=severity,proto3,enum=com.coralogix.alerts.v1.AlertSeverity" json:"severity,omitempty"` - Subsystem *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=subsystem,proto3" json:"subsystem,omitempty"` - Application *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=application,proto3" json:"application,omitempty"` - OccurredOn *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=occurred_on,json=occurredOn,proto3" json:"occurred_on,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` - Snoozed *AlertSnoozed `protobuf:"bytes,10,opt,name=snoozed,proto3" json:"snoozed,omitempty"` - SubType AlertEvent_AlertEventSubType `protobuf:"varint,11,opt,name=sub_type,json=subType,proto3,enum=com.coralogix.alerts.v1.AlertEvent_AlertEventSubType" json:"sub_type,omitempty"` -} - -func (x *AlertEvent) Reset() { - *x = AlertEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_event_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertEvent) ProtoMessage() {} - -func (x *AlertEvent) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_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 AlertEvent.ProtoReflect.Descriptor instead. -func (*AlertEvent) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_event_proto_rawDescGZIP(), []int{0} -} - -func (x *AlertEvent) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *AlertEvent) GetType() AlertEvent_AlertEventType { - if x != nil { - return x.Type - } - return AlertEvent_ALERT_EVENT_TYPE_UNSPECIFIED -} - -func (x *AlertEvent) GetAlertId() *wrapperspb.StringValue { - if x != nil { - return x.AlertId - } - return nil -} - -func (x *AlertEvent) GetCompanyId() *wrapperspb.StringValue { - if x != nil { - return x.CompanyId - } - return nil -} - -func (x *AlertEvent) GetSeverity() AlertSeverity { - if x != nil { - return x.Severity - } - return AlertSeverity_ALERT_SEVERITY_INFO_OR_UNSPECIFIED -} - -func (x *AlertEvent) GetSubsystem() *wrapperspb.StringValue { - if x != nil { - return x.Subsystem - } - return nil -} - -func (x *AlertEvent) GetApplication() *wrapperspb.StringValue { - if x != nil { - return x.Application - } - return nil -} - -func (x *AlertEvent) GetOccurredOn() *timestamppb.Timestamp { - if x != nil { - return x.OccurredOn - } - return nil -} - -func (x *AlertEvent) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *AlertEvent) GetSnoozed() *AlertSnoozed { - if x != nil { - return x.Snoozed - } - return nil -} - -func (x *AlertEvent) GetSubType() AlertEvent_AlertEventSubType { - if x != nil { - return x.SubType - } - return AlertEvent_ALERT_EVENT_SUB_TYPE_UNSPECIFIED -} - -var File_com_coralogix_alerts_v1_alert_event_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_alert_event_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x31, 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, 0x1a, 0x2c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x5f, 0x73, 0x6e, 0x6f, 0x6f, 0x7a, 0x65, 0x64, 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, - 0x22, 0xe4, 0x08, 0x0a, 0x0a, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 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, 0x46, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x61, 0x6c, 0x65, 0x72, 0x74, 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, 0x07, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x3b, - 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x64, 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, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x65, 0x76, - 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, - 0x3a, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x3e, 0x0a, 0x0b, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x0b, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x6f, - 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x08, 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, 0x6f, 0x63, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x73, 0x6e, - 0x6f, 0x6f, 0x7a, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x6e, 0x6f, 0x6f, 0x7a, - 0x65, 0x64, 0x52, 0x07, 0x73, 0x6e, 0x6f, 0x6f, 0x7a, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x08, 0x73, - 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x73, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x22, 0xac, 0x02, - 0x0a, 0x0e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x41, 0x4c, 0x45, 0x52, - 0x54, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, - 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x4e, 0x4f, 0x4d, 0x41, 0x4c, 0x59, 0x10, - 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x10, 0x03, 0x12, 0x1e, 0x0a, - 0x1a, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x4e, 0x45, 0x57, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x04, 0x12, 0x21, 0x0a, - 0x1d, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x05, - 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, - 0x56, 0x45, 0x10, 0x06, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, - 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x10, - 0x07, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x08, 0x22, 0x79, 0x0a, 0x11, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x24, 0x0a, 0x20, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, - 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x4c, 0x45, 0x52, 0x54, - 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, - 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x55, 0x42, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, - 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x10, 0x03, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_alert_event_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_alert_event_proto_rawDescData = file_com_coralogix_alerts_v1_alert_event_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_alert_event_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_alert_event_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_alert_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_alert_event_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_alert_event_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_alert_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_com_coralogix_alerts_v1_alert_event_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_alerts_v1_alert_event_proto_goTypes = []interface{}{ - (AlertEvent_AlertEventType)(0), // 0: com.coralogix.alerts.v1.AlertEvent.AlertEventType - (AlertEvent_AlertEventSubType)(0), // 1: com.coralogix.alerts.v1.AlertEvent.AlertEventSubType - (*AlertEvent)(nil), // 2: com.coralogix.alerts.v1.AlertEvent - (*wrapperspb.StringValue)(nil), // 3: google.protobuf.StringValue - (AlertSeverity)(0), // 4: com.coralogix.alerts.v1.AlertSeverity - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp - (*AlertSnoozed)(nil), // 6: com.coralogix.alerts.v1.AlertSnoozed -} -var file_com_coralogix_alerts_v1_alert_event_proto_depIdxs = []int32{ - 3, // 0: com.coralogix.alerts.v1.AlertEvent.id:type_name -> google.protobuf.StringValue - 0, // 1: com.coralogix.alerts.v1.AlertEvent.type:type_name -> com.coralogix.alerts.v1.AlertEvent.AlertEventType - 3, // 2: com.coralogix.alerts.v1.AlertEvent.alert_id:type_name -> google.protobuf.StringValue - 3, // 3: com.coralogix.alerts.v1.AlertEvent.company_id:type_name -> google.protobuf.StringValue - 4, // 4: com.coralogix.alerts.v1.AlertEvent.severity:type_name -> com.coralogix.alerts.v1.AlertSeverity - 3, // 5: com.coralogix.alerts.v1.AlertEvent.subsystem:type_name -> google.protobuf.StringValue - 3, // 6: com.coralogix.alerts.v1.AlertEvent.application:type_name -> google.protobuf.StringValue - 5, // 7: com.coralogix.alerts.v1.AlertEvent.occurred_on:type_name -> google.protobuf.Timestamp - 3, // 8: com.coralogix.alerts.v1.AlertEvent.name:type_name -> google.protobuf.StringValue - 6, // 9: com.coralogix.alerts.v1.AlertEvent.snoozed:type_name -> com.coralogix.alerts.v1.AlertSnoozed - 1, // 10: com.coralogix.alerts.v1.AlertEvent.sub_type:type_name -> com.coralogix.alerts.v1.AlertEvent.AlertEventSubType - 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_coralogix_alerts_v1_alert_event_proto_init() } -func file_com_coralogix_alerts_v1_alert_event_proto_init() { - if File_com_coralogix_alerts_v1_alert_event_proto != nil { - return - } - file_com_coralogix_alerts_v1_alert_severity_proto_init() - file_com_coralogix_alerts_v1_alert_snoozed_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_alert_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertEvent); 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_coralogix_alerts_v1_alert_event_proto_rawDesc, - NumEnums: 2, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_alert_event_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_alert_event_proto_depIdxs, - EnumInfos: file_com_coralogix_alerts_v1_alert_event_proto_enumTypes, - MessageInfos: file_com_coralogix_alerts_v1_alert_event_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_alert_event_proto = out.File - file_com_coralogix_alerts_v1_alert_event_proto_rawDesc = nil - file_com_coralogix_alerts_v1_alert_event_proto_goTypes = nil - file_com_coralogix_alerts_v1_alert_event_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_filters.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_filters.pb.go deleted file mode 100644 index 1dc5a30e..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_filters.pb.go +++ /dev/null @@ -1,645 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/alerts/v1/alert_filters.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 AlertFilters_LogSeverity int32 - -const ( - AlertFilters_LOG_SEVERITY_DEBUG_OR_UNSPECIFIED AlertFilters_LogSeverity = 0 - AlertFilters_LOG_SEVERITY_VERBOSE AlertFilters_LogSeverity = 1 - AlertFilters_LOG_SEVERITY_INFO AlertFilters_LogSeverity = 2 - AlertFilters_LOG_SEVERITY_WARNING AlertFilters_LogSeverity = 3 - AlertFilters_LOG_SEVERITY_ERROR AlertFilters_LogSeverity = 4 - AlertFilters_LOG_SEVERITY_CRITICAL AlertFilters_LogSeverity = 5 -) - -// Enum value maps for AlertFilters_LogSeverity. -var ( - AlertFilters_LogSeverity_name = map[int32]string{ - 0: "LOG_SEVERITY_DEBUG_OR_UNSPECIFIED", - 1: "LOG_SEVERITY_VERBOSE", - 2: "LOG_SEVERITY_INFO", - 3: "LOG_SEVERITY_WARNING", - 4: "LOG_SEVERITY_ERROR", - 5: "LOG_SEVERITY_CRITICAL", - } - AlertFilters_LogSeverity_value = map[string]int32{ - "LOG_SEVERITY_DEBUG_OR_UNSPECIFIED": 0, - "LOG_SEVERITY_VERBOSE": 1, - "LOG_SEVERITY_INFO": 2, - "LOG_SEVERITY_WARNING": 3, - "LOG_SEVERITY_ERROR": 4, - "LOG_SEVERITY_CRITICAL": 5, - } -) - -func (x AlertFilters_LogSeverity) Enum() *AlertFilters_LogSeverity { - p := new(AlertFilters_LogSeverity) - *p = x - return p -} - -func (x AlertFilters_LogSeverity) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AlertFilters_LogSeverity) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v1_alert_filters_proto_enumTypes[0].Descriptor() -} - -func (AlertFilters_LogSeverity) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v1_alert_filters_proto_enumTypes[0] -} - -func (x AlertFilters_LogSeverity) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use AlertFilters_LogSeverity.Descriptor instead. -func (AlertFilters_LogSeverity) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_filters_proto_rawDescGZIP(), []int{0, 0} -} - -type AlertFilters_FilterType int32 - -const ( - AlertFilters_FILTER_TYPE_TEXT_OR_UNSPECIFIED AlertFilters_FilterType = 0 - AlertFilters_FILTER_TYPE_TEMPLATE AlertFilters_FilterType = 1 - AlertFilters_FILTER_TYPE_RATIO AlertFilters_FilterType = 2 - AlertFilters_FILTER_TYPE_UNIQUE_COUNT AlertFilters_FilterType = 3 - AlertFilters_FILTER_TYPE_TIME_RELATIVE AlertFilters_FilterType = 4 - AlertFilters_FILTER_TYPE_METRIC AlertFilters_FilterType = 5 - AlertFilters_FILTER_TYPE_TRACING AlertFilters_FilterType = 6 - AlertFilters_FILTER_TYPE_FLOW AlertFilters_FilterType = 7 -) - -// Enum value maps for AlertFilters_FilterType. -var ( - AlertFilters_FilterType_name = map[int32]string{ - 0: "FILTER_TYPE_TEXT_OR_UNSPECIFIED", - 1: "FILTER_TYPE_TEMPLATE", - 2: "FILTER_TYPE_RATIO", - 3: "FILTER_TYPE_UNIQUE_COUNT", - 4: "FILTER_TYPE_TIME_RELATIVE", - 5: "FILTER_TYPE_METRIC", - 6: "FILTER_TYPE_TRACING", - 7: "FILTER_TYPE_FLOW", - } - AlertFilters_FilterType_value = map[string]int32{ - "FILTER_TYPE_TEXT_OR_UNSPECIFIED": 0, - "FILTER_TYPE_TEMPLATE": 1, - "FILTER_TYPE_RATIO": 2, - "FILTER_TYPE_UNIQUE_COUNT": 3, - "FILTER_TYPE_TIME_RELATIVE": 4, - "FILTER_TYPE_METRIC": 5, - "FILTER_TYPE_TRACING": 6, - "FILTER_TYPE_FLOW": 7, - } -) - -func (x AlertFilters_FilterType) Enum() *AlertFilters_FilterType { - p := new(AlertFilters_FilterType) - *p = x - return p -} - -func (x AlertFilters_FilterType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AlertFilters_FilterType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v1_alert_filters_proto_enumTypes[1].Descriptor() -} - -func (AlertFilters_FilterType) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v1_alert_filters_proto_enumTypes[1] -} - -func (x AlertFilters_FilterType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use AlertFilters_FilterType.Descriptor instead. -func (AlertFilters_FilterType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_filters_proto_rawDescGZIP(), []int{0, 1} -} - -type AlertFilters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Severities []AlertFilters_LogSeverity `protobuf:"varint,1,rep,packed,name=severities,proto3,enum=com.coralogix.alerts.v1.AlertFilters_LogSeverity" json:"severities,omitempty"` - Metadata *AlertFilters_MetadataFilters `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - Alias *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` - Text *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` - RatioAlerts []*AlertFilters_RatioAlert `protobuf:"bytes,5,rep,name=ratio_alerts,json=ratioAlerts,proto3" json:"ratio_alerts,omitempty"` - FilterType AlertFilters_FilterType `protobuf:"varint,6,opt,name=filter_type,json=filterType,proto3,enum=com.coralogix.alerts.v1.AlertFilters_FilterType" json:"filter_type,omitempty"` -} - -func (x *AlertFilters) Reset() { - *x = AlertFilters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertFilters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertFilters) ProtoMessage() {} - -func (x *AlertFilters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_filters_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 AlertFilters.ProtoReflect.Descriptor instead. -func (*AlertFilters) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_filters_proto_rawDescGZIP(), []int{0} -} - -func (x *AlertFilters) GetSeverities() []AlertFilters_LogSeverity { - if x != nil { - return x.Severities - } - return nil -} - -func (x *AlertFilters) GetMetadata() *AlertFilters_MetadataFilters { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *AlertFilters) GetAlias() *wrapperspb.StringValue { - if x != nil { - return x.Alias - } - return nil -} - -func (x *AlertFilters) GetText() *wrapperspb.StringValue { - if x != nil { - return x.Text - } - return nil -} - -func (x *AlertFilters) GetRatioAlerts() []*AlertFilters_RatioAlert { - if x != nil { - return x.RatioAlerts - } - return nil -} - -func (x *AlertFilters) GetFilterType() AlertFilters_FilterType { - if x != nil { - return x.FilterType - } - return AlertFilters_FILTER_TYPE_TEXT_OR_UNSPECIFIED -} - -type AlertFilters_MetadataFilters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Categories []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"` - Applications []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=applications,proto3" json:"applications,omitempty"` - Subsystems []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=subsystems,proto3" json:"subsystems,omitempty"` - Computers []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=computers,proto3" json:"computers,omitempty"` - Classes []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=classes,proto3" json:"classes,omitempty"` - Methods []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=methods,proto3" json:"methods,omitempty"` - IpAddresses []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"` -} - -func (x *AlertFilters_MetadataFilters) Reset() { - *x = AlertFilters_MetadataFilters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertFilters_MetadataFilters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertFilters_MetadataFilters) ProtoMessage() {} - -func (x *AlertFilters_MetadataFilters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_filters_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 AlertFilters_MetadataFilters.ProtoReflect.Descriptor instead. -func (*AlertFilters_MetadataFilters) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_filters_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *AlertFilters_MetadataFilters) GetCategories() []*wrapperspb.StringValue { - if x != nil { - return x.Categories - } - return nil -} - -func (x *AlertFilters_MetadataFilters) GetApplications() []*wrapperspb.StringValue { - if x != nil { - return x.Applications - } - return nil -} - -func (x *AlertFilters_MetadataFilters) GetSubsystems() []*wrapperspb.StringValue { - if x != nil { - return x.Subsystems - } - return nil -} - -func (x *AlertFilters_MetadataFilters) GetComputers() []*wrapperspb.StringValue { - if x != nil { - return x.Computers - } - return nil -} - -func (x *AlertFilters_MetadataFilters) GetClasses() []*wrapperspb.StringValue { - if x != nil { - return x.Classes - } - return nil -} - -func (x *AlertFilters_MetadataFilters) GetMethods() []*wrapperspb.StringValue { - if x != nil { - return x.Methods - } - return nil -} - -func (x *AlertFilters_MetadataFilters) GetIpAddresses() []*wrapperspb.StringValue { - if x != nil { - return x.IpAddresses - } - return nil -} - -type AlertFilters_RatioAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alias *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` - Text *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - Severities []AlertFilters_LogSeverity `protobuf:"varint,3,rep,packed,name=severities,proto3,enum=com.coralogix.alerts.v1.AlertFilters_LogSeverity" json:"severities,omitempty"` - Applications []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=applications,proto3" json:"applications,omitempty"` - Subsystems []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=subsystems,proto3" json:"subsystems,omitempty"` - GroupBy []*wrapperspb.StringValue `protobuf:"bytes,6,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` -} - -func (x *AlertFilters_RatioAlert) Reset() { - *x = AlertFilters_RatioAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertFilters_RatioAlert) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertFilters_RatioAlert) ProtoMessage() {} - -func (x *AlertFilters_RatioAlert) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_filters_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 AlertFilters_RatioAlert.ProtoReflect.Descriptor instead. -func (*AlertFilters_RatioAlert) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_filters_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *AlertFilters_RatioAlert) GetAlias() *wrapperspb.StringValue { - if x != nil { - return x.Alias - } - return nil -} - -func (x *AlertFilters_RatioAlert) GetText() *wrapperspb.StringValue { - if x != nil { - return x.Text - } - return nil -} - -func (x *AlertFilters_RatioAlert) GetSeverities() []AlertFilters_LogSeverity { - if x != nil { - return x.Severities - } - return nil -} - -func (x *AlertFilters_RatioAlert) GetApplications() []*wrapperspb.StringValue { - if x != nil { - return x.Applications - } - return nil -} - -func (x *AlertFilters_RatioAlert) GetSubsystems() []*wrapperspb.StringValue { - if x != nil { - return x.Subsystems - } - return nil -} - -func (x *AlertFilters_RatioAlert) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -var File_com_coralogix_alerts_v1_alert_filters_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_alert_filters_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 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, 0xa0, 0x0d, 0x0a, 0x0c, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x0a, 0x73, 0x65, 0x76, 0x65, 0x72, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0a, - 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x32, 0x0a, - 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 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, 0x05, 0x61, 0x6c, 0x69, 0x61, - 0x73, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 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, 0x04, 0x74, - 0x65, 0x78, 0x74, 0x12, 0x53, 0x0a, 0x0c, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x5f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, - 0x2e, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x0b, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 0x51, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x73, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0a, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xbc, 0x03, 0x0a, 0x0f, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x3c, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 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, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x40, 0x0a, - 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 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, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x3c, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x3a, 0x0a, - 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x72, 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, 0x09, - 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 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, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, - 0x73, 0x12, 0x36, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 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, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x3f, 0x0a, 0x0c, 0x69, 0x70, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 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, 0x0b, 0x69, - 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x1a, 0xfe, 0x02, 0x0a, 0x0a, 0x52, - 0x61, 0x74, 0x69, 0x6f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x6c, 0x69, - 0x61, 0x73, 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, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x30, 0x0a, - 0x04, 0x74, 0x65, 0x78, 0x74, 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, 0x74, 0x65, 0x78, 0x74, 0x12, - 0x51, 0x0a, 0x0a, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x65, - 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 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, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x73, 0x18, 0x05, 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, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 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, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x22, 0xb2, 0x01, 0x0a, 0x0b, - 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x21, 0x4c, - 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x44, 0x45, 0x42, 0x55, - 0x47, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, - 0x54, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x42, 0x4f, 0x53, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, - 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x46, - 0x4f, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, - 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x16, 0x0a, - 0x12, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, - 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x05, - 0x22, 0xe6, 0x01, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x23, 0x0a, 0x1f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, - 0x45, 0x58, 0x54, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, - 0x0a, 0x11, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x41, - 0x54, 0x49, 0x4f, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, - 0x54, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, - 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x49, - 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x49, 0x4e, - 0x47, 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x07, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_alert_filters_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_alert_filters_proto_rawDescData = file_com_coralogix_alerts_v1_alert_filters_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_alert_filters_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_alert_filters_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_alert_filters_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_alert_filters_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_alert_filters_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_alert_filters_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogix_alerts_v1_alert_filters_proto_goTypes = []interface{}{ - (AlertFilters_LogSeverity)(0), // 0: com.coralogix.alerts.v1.AlertFilters.LogSeverity - (AlertFilters_FilterType)(0), // 1: com.coralogix.alerts.v1.AlertFilters.FilterType - (*AlertFilters)(nil), // 2: com.coralogix.alerts.v1.AlertFilters - (*AlertFilters_MetadataFilters)(nil), // 3: com.coralogix.alerts.v1.AlertFilters.MetadataFilters - (*AlertFilters_RatioAlert)(nil), // 4: com.coralogix.alerts.v1.AlertFilters.RatioAlert - (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue -} -var file_com_coralogix_alerts_v1_alert_filters_proto_depIdxs = []int32{ - 0, // 0: com.coralogix.alerts.v1.AlertFilters.severities:type_name -> com.coralogix.alerts.v1.AlertFilters.LogSeverity - 3, // 1: com.coralogix.alerts.v1.AlertFilters.metadata:type_name -> com.coralogix.alerts.v1.AlertFilters.MetadataFilters - 5, // 2: com.coralogix.alerts.v1.AlertFilters.alias:type_name -> google.protobuf.StringValue - 5, // 3: com.coralogix.alerts.v1.AlertFilters.text:type_name -> google.protobuf.StringValue - 4, // 4: com.coralogix.alerts.v1.AlertFilters.ratio_alerts:type_name -> com.coralogix.alerts.v1.AlertFilters.RatioAlert - 1, // 5: com.coralogix.alerts.v1.AlertFilters.filter_type:type_name -> com.coralogix.alerts.v1.AlertFilters.FilterType - 5, // 6: com.coralogix.alerts.v1.AlertFilters.MetadataFilters.categories:type_name -> google.protobuf.StringValue - 5, // 7: com.coralogix.alerts.v1.AlertFilters.MetadataFilters.applications:type_name -> google.protobuf.StringValue - 5, // 8: com.coralogix.alerts.v1.AlertFilters.MetadataFilters.subsystems:type_name -> google.protobuf.StringValue - 5, // 9: com.coralogix.alerts.v1.AlertFilters.MetadataFilters.computers:type_name -> google.protobuf.StringValue - 5, // 10: com.coralogix.alerts.v1.AlertFilters.MetadataFilters.classes:type_name -> google.protobuf.StringValue - 5, // 11: com.coralogix.alerts.v1.AlertFilters.MetadataFilters.methods:type_name -> google.protobuf.StringValue - 5, // 12: com.coralogix.alerts.v1.AlertFilters.MetadataFilters.ip_addresses:type_name -> google.protobuf.StringValue - 5, // 13: com.coralogix.alerts.v1.AlertFilters.RatioAlert.alias:type_name -> google.protobuf.StringValue - 5, // 14: com.coralogix.alerts.v1.AlertFilters.RatioAlert.text:type_name -> google.protobuf.StringValue - 0, // 15: com.coralogix.alerts.v1.AlertFilters.RatioAlert.severities:type_name -> com.coralogix.alerts.v1.AlertFilters.LogSeverity - 5, // 16: com.coralogix.alerts.v1.AlertFilters.RatioAlert.applications:type_name -> google.protobuf.StringValue - 5, // 17: com.coralogix.alerts.v1.AlertFilters.RatioAlert.subsystems:type_name -> google.protobuf.StringValue - 5, // 18: com.coralogix.alerts.v1.AlertFilters.RatioAlert.group_by:type_name -> google.protobuf.StringValue - 19, // [19:19] is the sub-list for method output_type - 19, // [19:19] is the sub-list for method input_type - 19, // [19:19] is the sub-list for extension type_name - 19, // [19:19] is the sub-list for extension extendee - 0, // [0:19] is the sub-list for field type_name -} - -func init() { file_com_coralogix_alerts_v1_alert_filters_proto_init() } -func file_com_coralogix_alerts_v1_alert_filters_proto_init() { - if File_com_coralogix_alerts_v1_alert_filters_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertFilters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertFilters_MetadataFilters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertFilters_RatioAlert); 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_coralogix_alerts_v1_alert_filters_proto_rawDesc, - NumEnums: 2, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_alert_filters_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_alert_filters_proto_depIdxs, - EnumInfos: file_com_coralogix_alerts_v1_alert_filters_proto_enumTypes, - MessageInfos: file_com_coralogix_alerts_v1_alert_filters_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_alert_filters_proto = out.File - file_com_coralogix_alerts_v1_alert_filters_proto_rawDesc = nil - file_com_coralogix_alerts_v1_alert_filters_proto_goTypes = nil - file_com_coralogix_alerts_v1_alert_filters_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_incident_settings.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_incident_settings.pb.go deleted file mode 100644 index c572c642..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_incident_settings.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v2/alert_incident_settings.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 AlertIncidentSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetriggeringPeriodSeconds *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=retriggering_period_seconds,json=retriggeringPeriodSeconds,proto3" json:"retriggering_period_seconds,omitempty"` - NotifyOn NotifyOn `protobuf:"varint,2,opt,name=notify_on,json=notifyOn,proto3,enum=com.coralogix.alerts.v2.NotifyOn" json:"notify_on,omitempty"` - UseAsNotificationSettings *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=use_as_notification_settings,json=useAsNotificationSettings,proto3" json:"use_as_notification_settings,omitempty"` -} - -func (x *AlertIncidentSettings) Reset() { - *x = AlertIncidentSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_incident_settings_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertIncidentSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertIncidentSettings) ProtoMessage() {} - -func (x *AlertIncidentSettings) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_incident_settings_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 AlertIncidentSettings.ProtoReflect.Descriptor instead. -func (*AlertIncidentSettings) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescGZIP(), []int{0} -} - -func (x *AlertIncidentSettings) GetRetriggeringPeriodSeconds() *wrapperspb.UInt32Value { - if x != nil { - return x.RetriggeringPeriodSeconds - } - return nil -} - -func (x *AlertIncidentSettings) GetNotifyOn() NotifyOn { - if x != nil { - return x.NotifyOn - } - return NotifyOn_TRIGGERED_ONLY -} - -func (x *AlertIncidentSettings) GetUseAsNotificationSettings() *wrapperspb.BoolValue { - if x != nil { - return x.UseAsNotificationSettings - } - return nil -} - -var File_com_coralogix_alerts_v2_alert_incident_settings_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDesc = []byte{ - 0x0a, 0x35, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 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, - 0x1a, 0x36, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x02, 0x0a, 0x15, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x12, 0x5c, 0x0a, 0x1b, 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, - 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x19, 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, - 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, - 0x12, 0x3e, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4e, 0x6f, - 0x74, 0x69, 0x66, 0x79, 0x4f, 0x6e, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x4f, 0x6e, - 0x12, 0x5b, 0x0a, 0x1c, 0x75, 0x73, 0x65, 0x5f, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 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, 0x19, 0x75, 0x73, 0x65, 0x41, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x04, 0x5a, - 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescData = file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDesc -) - -func file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescData) - }) - return file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDescData -} - -var file_com_coralogix_alerts_v2_alert_incident_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_alerts_v2_alert_incident_settings_proto_goTypes = []interface{}{ - (*AlertIncidentSettings)(nil), // 0: com.coralogix.alerts.v2.AlertIncidentSettings - (*wrapperspb.UInt32Value)(nil), // 1: google.protobuf.UInt32Value - (NotifyOn)(0), // 2: com.coralogix.alerts.v2.NotifyOn - (*wrapperspb.BoolValue)(nil), // 3: google.protobuf.BoolValue -} -var file_com_coralogix_alerts_v2_alert_incident_settings_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.alerts.v2.AlertIncidentSettings.retriggering_period_seconds:type_name -> google.protobuf.UInt32Value - 2, // 1: com.coralogix.alerts.v2.AlertIncidentSettings.notify_on:type_name -> com.coralogix.alerts.v2.NotifyOn - 3, // 2: com.coralogix.alerts.v2.AlertIncidentSettings.use_as_notification_settings:type_name -> google.protobuf.BoolValue - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogix_alerts_v2_alert_incident_settings_proto_init() } -func file_com_coralogix_alerts_v2_alert_incident_settings_proto_init() { - if File_com_coralogix_alerts_v2_alert_incident_settings_proto != nil { - return - } - file_com_coralogix_alerts_v2_alert_notification_group_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v2_alert_incident_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertIncidentSettings); 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_coralogix_alerts_v2_alert_incident_settings_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v2_alert_incident_settings_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v2_alert_incident_settings_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v2_alert_incident_settings_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v2_alert_incident_settings_proto = out.File - file_com_coralogix_alerts_v2_alert_incident_settings_proto_rawDesc = nil - file_com_coralogix_alerts_v2_alert_incident_settings_proto_goTypes = nil - file_com_coralogix_alerts_v2_alert_incident_settings_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_meta_label.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_meta_label.pb.go deleted file mode 100644 index 8b596315..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_meta_label.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/alerts/v1/alert_meta_label.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 MetaLabel 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 *MetaLabel) Reset() { - *x = MetaLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_meta_label_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetaLabel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetaLabel) ProtoMessage() {} - -func (x *MetaLabel) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_meta_label_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 MetaLabel.ProtoReflect.Descriptor instead. -func (*MetaLabel) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescGZIP(), []int{0} -} - -func (x *MetaLabel) GetKey() *wrapperspb.StringValue { - if x != nil { - return x.Key - } - return nil -} - -func (x *MetaLabel) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -var File_com_coralogix_alerts_v1_alert_meta_label_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 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, 0x6f, 0x0a, 0x09, 0x4d, 0x65, 0x74, - 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescData = file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_alert_meta_label_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_alerts_v1_alert_meta_label_proto_goTypes = []interface{}{ - (*MetaLabel)(nil), // 0: com.coralogix.alerts.v1.MetaLabel - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogix_alerts_v1_alert_meta_label_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.alerts.v1.MetaLabel.key:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.alerts.v1.MetaLabel.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_coralogix_alerts_v1_alert_meta_label_proto_init() } -func file_com_coralogix_alerts_v1_alert_meta_label_proto_init() { - if File_com_coralogix_alerts_v1_alert_meta_label_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_alert_meta_label_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetaLabel); 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_coralogix_alerts_v1_alert_meta_label_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_alert_meta_label_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_alert_meta_label_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v1_alert_meta_label_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_alert_meta_label_proto = out.File - file_com_coralogix_alerts_v1_alert_meta_label_proto_rawDesc = nil - file_com_coralogix_alerts_v1_alert_meta_label_proto_goTypes = nil - file_com_coralogix_alerts_v1_alert_meta_label_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_notification_group.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_notification_group.pb.go deleted file mode 100644 index 02f71737..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_notification_group.pb.go +++ /dev/null @@ -1,514 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v2/alert_notification_group.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 NotifyOn int32 - -const ( - NotifyOn_TRIGGERED_ONLY NotifyOn = 0 - NotifyOn_TRIGGERED_AND_RESOLVED NotifyOn = 1 -) - -// Enum value maps for NotifyOn. -var ( - NotifyOn_name = map[int32]string{ - 0: "TRIGGERED_ONLY", - 1: "TRIGGERED_AND_RESOLVED", - } - NotifyOn_value = map[string]int32{ - "TRIGGERED_ONLY": 0, - "TRIGGERED_AND_RESOLVED": 1, - } -) - -func (x NotifyOn) Enum() *NotifyOn { - p := new(NotifyOn) - *p = x - return p -} - -func (x NotifyOn) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NotifyOn) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v2_alert_notification_group_proto_enumTypes[0].Descriptor() -} - -func (NotifyOn) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v2_alert_notification_group_proto_enumTypes[0] -} - -func (x NotifyOn) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use NotifyOn.Descriptor instead. -func (NotifyOn) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescGZIP(), []int{0} -} - -type ShowInInsight struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetriggeringPeriodSeconds *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=retriggering_period_seconds,json=retriggeringPeriodSeconds,proto3,oneof" json:"retriggering_period_seconds,omitempty"` - NotifyOn *NotifyOn `protobuf:"varint,2,opt,name=notify_on,json=notifyOn,proto3,enum=com.coralogix.alerts.v2.NotifyOn,oneof" json:"notify_on,omitempty"` -} - -func (x *ShowInInsight) Reset() { - *x = ShowInInsight{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShowInInsight) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShowInInsight) ProtoMessage() {} - -func (x *ShowInInsight) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_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 ShowInInsight.ProtoReflect.Descriptor instead. -func (*ShowInInsight) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescGZIP(), []int{0} -} - -func (x *ShowInInsight) GetRetriggeringPeriodSeconds() *wrapperspb.UInt32Value { - if x != nil { - return x.RetriggeringPeriodSeconds - } - return nil -} - -func (x *ShowInInsight) GetNotifyOn() NotifyOn { - if x != nil && x.NotifyOn != nil { - return *x.NotifyOn - } - return NotifyOn_TRIGGERED_ONLY -} - -type AlertNotificationGroups struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupByFields []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` - Notifications []*AlertNotification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` -} - -func (x *AlertNotificationGroups) Reset() { - *x = AlertNotificationGroups{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertNotificationGroups) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertNotificationGroups) ProtoMessage() {} - -func (x *AlertNotificationGroups) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_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 AlertNotificationGroups.ProtoReflect.Descriptor instead. -func (*AlertNotificationGroups) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescGZIP(), []int{1} -} - -func (x *AlertNotificationGroups) GetGroupByFields() []*wrapperspb.StringValue { - if x != nil { - return x.GroupByFields - } - return nil -} - -func (x *AlertNotificationGroups) GetNotifications() []*AlertNotification { - if x != nil { - return x.Notifications - } - return nil -} - -type AlertNotification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetriggeringPeriodSeconds *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=retriggering_period_seconds,json=retriggeringPeriodSeconds,proto3,oneof" json:"retriggering_period_seconds,omitempty"` - NotifyOn *NotifyOn `protobuf:"varint,2,opt,name=notify_on,json=notifyOn,proto3,enum=com.coralogix.alerts.v2.NotifyOn,oneof" json:"notify_on,omitempty"` - // Types that are assignable to IntegrationType: - // *AlertNotification_IntegrationId - // *AlertNotification_Recipients - IntegrationType isAlertNotification_IntegrationType `protobuf_oneof:"integration_type"` -} - -func (x *AlertNotification) Reset() { - *x = AlertNotification{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertNotification) ProtoMessage() {} - -func (x *AlertNotification) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_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 AlertNotification.ProtoReflect.Descriptor instead. -func (*AlertNotification) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescGZIP(), []int{2} -} - -func (x *AlertNotification) GetRetriggeringPeriodSeconds() *wrapperspb.UInt32Value { - if x != nil { - return x.RetriggeringPeriodSeconds - } - return nil -} - -func (x *AlertNotification) GetNotifyOn() NotifyOn { - if x != nil && x.NotifyOn != nil { - return *x.NotifyOn - } - return NotifyOn_TRIGGERED_ONLY -} - -func (m *AlertNotification) GetIntegrationType() isAlertNotification_IntegrationType { - if m != nil { - return m.IntegrationType - } - return nil -} - -func (x *AlertNotification) GetIntegrationId() *wrapperspb.UInt32Value { - if x, ok := x.GetIntegrationType().(*AlertNotification_IntegrationId); ok { - return x.IntegrationId - } - return nil -} - -func (x *AlertNotification) GetRecipients() *Recipients { - if x, ok := x.GetIntegrationType().(*AlertNotification_Recipients); ok { - return x.Recipients - } - return nil -} - -type isAlertNotification_IntegrationType interface { - isAlertNotification_IntegrationType() -} - -type AlertNotification_IntegrationId struct { - IntegrationId *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=integration_id,json=integrationId,proto3,oneof"` -} - -type AlertNotification_Recipients struct { - Recipients *Recipients `protobuf:"bytes,5,opt,name=recipients,proto3,oneof"` -} - -func (*AlertNotification_IntegrationId) isAlertNotification_IntegrationType() {} - -func (*AlertNotification_Recipients) isAlertNotification_IntegrationType() {} - -type Recipients struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Emails []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` -} - -func (x *Recipients) Reset() { - *x = Recipients{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Recipients) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Recipients) ProtoMessage() {} - -func (x *Recipients) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_notification_group_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 Recipients.ProtoReflect.Descriptor instead. -func (*Recipients) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescGZIP(), []int{3} -} - -func (x *Recipients) GetEmails() []*wrapperspb.StringValue { - if x != nil { - return x.Emails - } - return nil -} - -var File_com_coralogix_alerts_v2_alert_notification_group_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDesc = []byte{ - 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 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, 0xe5, 0x01, 0x0a, 0x0d, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x49, 0x6e, 0x73, 0x69, - 0x67, 0x68, 0x74, 0x12, 0x61, 0x0a, 0x1b, 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, - 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, - 0x64, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, - 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x19, 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x73, 0x88, 0x01, 0x01, 0x12, 0x43, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, - 0x5f, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x4f, 0x6e, 0x48, 0x01, 0x52, 0x08, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x4f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x1e, 0x0a, 0x1c, 0x5f, - 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, - 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x6f, 0x6e, 0x22, 0xb1, 0x01, 0x0a, 0x17, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, - 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x0d, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x0d, 0x6e, - 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8b, 0x03, - 0x0a, 0x11, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x61, 0x0a, 0x1b, 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, - 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, - 0x64, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, - 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x01, 0x52, 0x19, 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x73, 0x88, 0x01, 0x01, 0x12, 0x43, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, - 0x5f, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x4f, 0x6e, 0x48, 0x02, 0x52, 0x08, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x4f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x45, 0x0a, 0x0e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x48, 0x00, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x45, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x72, - 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x1e, 0x0a, - 0x1c, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x70, - 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x0c, 0x0a, - 0x0a, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x6f, 0x6e, 0x22, 0x42, 0x0a, 0x0a, 0x52, - 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x65, 0x6d, 0x61, - 0x69, 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, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x2a, - 0x3a, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x0e, 0x54, - 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x00, 0x12, - 0x1a, 0x0a, 0x16, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x41, 0x4e, 0x44, - 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44, 0x10, 0x01, 0x42, 0x04, 0x5a, 0x02, 0x2e, - 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescData = file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDesc -) - -func file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescData) - }) - return file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDescData -} - -var file_com_coralogix_alerts_v2_alert_notification_group_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_com_coralogix_alerts_v2_alert_notification_group_proto_goTypes = []interface{}{ - (NotifyOn)(0), // 0: com.coralogix.alerts.v2.NotifyOn - (*ShowInInsight)(nil), // 1: com.coralogix.alerts.v2.ShowInInsight - (*AlertNotificationGroups)(nil), // 2: com.coralogix.alerts.v2.AlertNotificationGroups - (*AlertNotification)(nil), // 3: com.coralogix.alerts.v2.AlertNotification - (*Recipients)(nil), // 4: com.coralogix.alerts.v2.Recipients - (*wrapperspb.UInt32Value)(nil), // 5: google.protobuf.UInt32Value - (*wrapperspb.StringValue)(nil), // 6: google.protobuf.StringValue -} -var file_com_coralogix_alerts_v2_alert_notification_group_proto_depIdxs = []int32{ - 5, // 0: com.coralogix.alerts.v2.ShowInInsight.retriggering_period_seconds:type_name -> google.protobuf.UInt32Value - 0, // 1: com.coralogix.alerts.v2.ShowInInsight.notify_on:type_name -> com.coralogix.alerts.v2.NotifyOn - 6, // 2: com.coralogix.alerts.v2.AlertNotificationGroups.group_by_fields:type_name -> google.protobuf.StringValue - 3, // 3: com.coralogix.alerts.v2.AlertNotificationGroups.notifications:type_name -> com.coralogix.alerts.v2.AlertNotification - 5, // 4: com.coralogix.alerts.v2.AlertNotification.retriggering_period_seconds:type_name -> google.protobuf.UInt32Value - 0, // 5: com.coralogix.alerts.v2.AlertNotification.notify_on:type_name -> com.coralogix.alerts.v2.NotifyOn - 5, // 6: com.coralogix.alerts.v2.AlertNotification.integration_id:type_name -> google.protobuf.UInt32Value - 4, // 7: com.coralogix.alerts.v2.AlertNotification.recipients:type_name -> com.coralogix.alerts.v2.Recipients - 6, // 8: com.coralogix.alerts.v2.Recipients.emails:type_name -> google.protobuf.StringValue - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] 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_coralogix_alerts_v2_alert_notification_group_proto_init() } -func file_com_coralogix_alerts_v2_alert_notification_group_proto_init() { - if File_com_coralogix_alerts_v2_alert_notification_group_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShowInInsight); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertNotificationGroups); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertNotification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Recipients); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes[2].OneofWrappers = []interface{}{ - (*AlertNotification_IntegrationId)(nil), - (*AlertNotification_Recipients)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDesc, - NumEnums: 1, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v2_alert_notification_group_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v2_alert_notification_group_proto_depIdxs, - EnumInfos: file_com_coralogix_alerts_v2_alert_notification_group_proto_enumTypes, - MessageInfos: file_com_coralogix_alerts_v2_alert_notification_group_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v2_alert_notification_group_proto = out.File - file_com_coralogix_alerts_v2_alert_notification_group_proto_rawDesc = nil - file_com_coralogix_alerts_v2_alert_notification_group_proto_goTypes = nil - file_com_coralogix_alerts_v2_alert_notification_group_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_notifications.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_notifications.pb.go deleted file mode 100644 index 793ecf12..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_notifications.pb.go +++ /dev/null @@ -1,165 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/alerts/v1/alert_notifications.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 AlertNotifications struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Emails []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` - Integrations []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=integrations,proto3" json:"integrations,omitempty"` -} - -func (x *AlertNotifications) Reset() { - *x = AlertNotifications{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_notifications_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertNotifications) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertNotifications) ProtoMessage() {} - -func (x *AlertNotifications) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_notifications_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 AlertNotifications.ProtoReflect.Descriptor instead. -func (*AlertNotifications) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescGZIP(), []int{0} -} - -func (x *AlertNotifications) GetEmails() []*wrapperspb.StringValue { - if x != nil { - return x.Emails - } - return nil -} - -func (x *AlertNotifications) GetIntegrations() []*wrapperspb.StringValue { - if x != nil { - return x.Integrations - } - return nil -} - -var File_com_coralogix_alerts_v1_alert_notifications_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_alert_notifications_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 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, 0x8c, 0x01, 0x0a, - 0x12, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x65, 0x6d, 0x61, 0x69, 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, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0c, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 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, 0x0c, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, - 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescData = file_com_coralogix_alerts_v1_alert_notifications_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_alert_notifications_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_alert_notifications_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_alerts_v1_alert_notifications_proto_goTypes = []interface{}{ - (*AlertNotifications)(nil), // 0: com.coralogix.alerts.v1.AlertNotifications - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogix_alerts_v1_alert_notifications_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.alerts.v1.AlertNotifications.emails:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.alerts.v1.AlertNotifications.integrations: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_coralogix_alerts_v1_alert_notifications_proto_init() } -func file_com_coralogix_alerts_v1_alert_notifications_proto_init() { - if File_com_coralogix_alerts_v1_alert_notifications_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_alert_notifications_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertNotifications); 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_coralogix_alerts_v1_alert_notifications_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_alert_notifications_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_alert_notifications_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v1_alert_notifications_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_alert_notifications_proto = out.File - file_com_coralogix_alerts_v1_alert_notifications_proto_rawDesc = nil - file_com_coralogix_alerts_v1_alert_notifications_proto_goTypes = nil - file_com_coralogix_alerts_v1_alert_notifications_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_service.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_service.pb.go deleted file mode 100644 index e63d8a4c..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_service.pb.go +++ /dev/null @@ -1,2647 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v2/alert_service.proto - -package __ - -import ( - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/descriptorpb" - 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 GetAlertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetAlertRequest) Reset() { - *x = GetAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertRequest) ProtoMessage() {} - -func (x *GetAlertRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertRequest.ProtoReflect.Descriptor instead. -func (*GetAlertRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{0} -} - -func (x *GetAlertRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type GetAlertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` -} - -func (x *GetAlertResponse) Reset() { - *x = GetAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertResponse) ProtoMessage() {} - -func (x *GetAlertResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertResponse.ProtoReflect.Descriptor instead. -func (*GetAlertResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetAlertResponse) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -type GetAlertByUniqueIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetAlertByUniqueIdRequest) Reset() { - *x = GetAlertByUniqueIdRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertByUniqueIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertByUniqueIdRequest) ProtoMessage() {} - -func (x *GetAlertByUniqueIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertByUniqueIdRequest.ProtoReflect.Descriptor instead. -func (*GetAlertByUniqueIdRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{2} -} - -func (x *GetAlertByUniqueIdRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type GetAlertByUniqueIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` -} - -func (x *GetAlertByUniqueIdResponse) Reset() { - *x = GetAlertByUniqueIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertByUniqueIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertByUniqueIdResponse) ProtoMessage() {} - -func (x *GetAlertByUniqueIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertByUniqueIdResponse.ProtoReflect.Descriptor instead. -func (*GetAlertByUniqueIdResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{3} -} - -func (x *GetAlertByUniqueIdResponse) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -type CreateAlertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - IsActive *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` - Severity AlertSeverity `protobuf:"varint,5,opt,name=severity,proto3,enum=com.coralogix.alerts.v1.AlertSeverity" json:"severity,omitempty"` - Expiration *Date `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` - Condition *AlertCondition `protobuf:"bytes,7,opt,name=condition,proto3" json:"condition,omitempty"` - ShowInInsight *ShowInInsight `protobuf:"bytes,8,opt,name=show_in_insight,json=showInInsight,proto3,oneof" json:"show_in_insight,omitempty"` - NotificationGroups []*AlertNotificationGroups `protobuf:"bytes,9,rep,name=notification_groups,json=notificationGroups,proto3" json:"notification_groups,omitempty"` - IncidentSettings *AlertIncidentSettings `protobuf:"bytes,16,opt,name=incident_settings,json=incidentSettings,proto3,oneof" json:"incident_settings,omitempty"` - Filters *AlertFilters `protobuf:"bytes,10,opt,name=filters,proto3" json:"filters,omitempty"` - ActiveWhen *AlertActiveWhen `protobuf:"bytes,11,opt,name=active_when,json=activeWhen,proto3" json:"active_when,omitempty"` - NotificationPayloadFilters []*wrapperspb.StringValue `protobuf:"bytes,12,rep,name=notification_payload_filters,json=notificationPayloadFilters,proto3" json:"notification_payload_filters,omitempty"` - MetaLabels []*MetaLabel `protobuf:"bytes,13,rep,name=meta_labels,json=metaLabels,proto3" json:"meta_labels,omitempty"` - MetaLabelsStrings []*wrapperspb.StringValue `protobuf:"bytes,14,rep,name=meta_labels_strings,json=metaLabelsStrings,proto3" json:"meta_labels_strings,omitempty"` - TracingAlert *TracingAlert `protobuf:"bytes,15,opt,name=tracing_alert,json=tracingAlert,proto3,oneof" json:"tracing_alert,omitempty"` -} - -func (x *CreateAlertRequest) Reset() { - *x = CreateAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateAlertRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateAlertRequest) ProtoMessage() {} - -func (x *CreateAlertRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 CreateAlertRequest.ProtoReflect.Descriptor instead. -func (*CreateAlertRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{4} -} - -func (x *CreateAlertRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateAlertRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreateAlertRequest) GetIsActive() *wrapperspb.BoolValue { - if x != nil { - return x.IsActive - } - return nil -} - -func (x *CreateAlertRequest) GetSeverity() AlertSeverity { - if x != nil { - return x.Severity - } - return AlertSeverity_ALERT_SEVERITY_INFO_OR_UNSPECIFIED -} - -func (x *CreateAlertRequest) GetExpiration() *Date { - if x != nil { - return x.Expiration - } - return nil -} - -func (x *CreateAlertRequest) GetCondition() *AlertCondition { - if x != nil { - return x.Condition - } - return nil -} - -func (x *CreateAlertRequest) GetShowInInsight() *ShowInInsight { - if x != nil { - return x.ShowInInsight - } - return nil -} - -func (x *CreateAlertRequest) GetNotificationGroups() []*AlertNotificationGroups { - if x != nil { - return x.NotificationGroups - } - return nil -} - -func (x *CreateAlertRequest) GetIncidentSettings() *AlertIncidentSettings { - if x != nil { - return x.IncidentSettings - } - return nil -} - -func (x *CreateAlertRequest) GetFilters() *AlertFilters { - if x != nil { - return x.Filters - } - return nil -} - -func (x *CreateAlertRequest) GetActiveWhen() *AlertActiveWhen { - if x != nil { - return x.ActiveWhen - } - return nil -} - -func (x *CreateAlertRequest) GetNotificationPayloadFilters() []*wrapperspb.StringValue { - if x != nil { - return x.NotificationPayloadFilters - } - return nil -} - -func (x *CreateAlertRequest) GetMetaLabels() []*MetaLabel { - if x != nil { - return x.MetaLabels - } - return nil -} - -func (x *CreateAlertRequest) GetMetaLabelsStrings() []*wrapperspb.StringValue { - if x != nil { - return x.MetaLabelsStrings - } - return nil -} - -func (x *CreateAlertRequest) GetTracingAlert() *TracingAlert { - if x != nil { - return x.TracingAlert - } - return nil -} - -type CreateAlertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` -} - -func (x *CreateAlertResponse) Reset() { - *x = CreateAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateAlertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateAlertResponse) ProtoMessage() {} - -func (x *CreateAlertResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 CreateAlertResponse.ProtoReflect.Descriptor instead. -func (*CreateAlertResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{5} -} - -func (x *CreateAlertResponse) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -type GetAlertModelMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - IsActive *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` - Severity AlertSeverity `protobuf:"varint,5,opt,name=severity,proto3,enum=com.coralogix.alerts.v1.AlertSeverity" json:"severity,omitempty"` - Expiration *Date `protobuf:"bytes,6,opt,name=expiration,proto3" json:"expiration,omitempty"` - Condition *AlertCondition `protobuf:"bytes,7,opt,name=condition,proto3" json:"condition,omitempty"` - ShowInInsight *ShowInInsight `protobuf:"bytes,8,opt,name=show_in_insight,json=showInInsight,proto3,oneof" json:"show_in_insight,omitempty"` - NotificationGroups []*AlertNotificationGroups `protobuf:"bytes,9,rep,name=notification_groups,json=notificationGroups,proto3" json:"notification_groups,omitempty"` - IncidentSettings *AlertIncidentSettings `protobuf:"bytes,16,opt,name=incident_settings,json=incidentSettings,proto3,oneof" json:"incident_settings,omitempty"` - Filters *AlertFilters `protobuf:"bytes,10,opt,name=filters,proto3" json:"filters,omitempty"` - ActiveWhen *AlertActiveWhen `protobuf:"bytes,11,opt,name=active_when,json=activeWhen,proto3" json:"active_when,omitempty"` - NotificationPayloadFilters []*wrapperspb.StringValue `protobuf:"bytes,12,rep,name=notification_payload_filters,json=notificationPayloadFilters,proto3" json:"notification_payload_filters,omitempty"` - MetaLabels []*MetaLabel `protobuf:"bytes,13,rep,name=meta_labels,json=metaLabels,proto3" json:"meta_labels,omitempty"` - MetaLabelsStrings []*wrapperspb.StringValue `protobuf:"bytes,14,rep,name=meta_labels_strings,json=metaLabelsStrings,proto3" json:"meta_labels_strings,omitempty"` - TracingAlert *TracingAlert `protobuf:"bytes,15,opt,name=tracing_alert,json=tracingAlert,proto3,oneof" json:"tracing_alert,omitempty"` -} - -func (x *GetAlertModelMappingRequest) Reset() { - *x = GetAlertModelMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertModelMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertModelMappingRequest) ProtoMessage() {} - -func (x *GetAlertModelMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertModelMappingRequest.ProtoReflect.Descriptor instead. -func (*GetAlertModelMappingRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{6} -} - -func (x *GetAlertModelMappingRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetIsActive() *wrapperspb.BoolValue { - if x != nil { - return x.IsActive - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetSeverity() AlertSeverity { - if x != nil { - return x.Severity - } - return AlertSeverity_ALERT_SEVERITY_INFO_OR_UNSPECIFIED -} - -func (x *GetAlertModelMappingRequest) GetExpiration() *Date { - if x != nil { - return x.Expiration - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetCondition() *AlertCondition { - if x != nil { - return x.Condition - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetShowInInsight() *ShowInInsight { - if x != nil { - return x.ShowInInsight - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetNotificationGroups() []*AlertNotificationGroups { - if x != nil { - return x.NotificationGroups - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetIncidentSettings() *AlertIncidentSettings { - if x != nil { - return x.IncidentSettings - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetFilters() *AlertFilters { - if x != nil { - return x.Filters - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetActiveWhen() *AlertActiveWhen { - if x != nil { - return x.ActiveWhen - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetNotificationPayloadFilters() []*wrapperspb.StringValue { - if x != nil { - return x.NotificationPayloadFilters - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetMetaLabels() []*MetaLabel { - if x != nil { - return x.MetaLabels - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetMetaLabelsStrings() []*wrapperspb.StringValue { - if x != nil { - return x.MetaLabelsStrings - } - return nil -} - -func (x *GetAlertModelMappingRequest) GetTracingAlert() *TracingAlert { - if x != nil { - return x.TracingAlert - } - return nil -} - -type GetAlertModelMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AlertDefinition *structpb.Struct `protobuf:"bytes,1,opt,name=alert_definition,json=alertDefinition,proto3" json:"alert_definition,omitempty"` -} - -func (x *GetAlertModelMappingResponse) Reset() { - *x = GetAlertModelMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertModelMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertModelMappingResponse) ProtoMessage() {} - -func (x *GetAlertModelMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertModelMappingResponse.ProtoReflect.Descriptor instead. -func (*GetAlertModelMappingResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{7} -} - -func (x *GetAlertModelMappingResponse) GetAlertDefinition() *structpb.Struct { - if x != nil { - return x.AlertDefinition - } - return nil -} - -type UpdateAlertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` - FieldsToUpdate []FieldsToUpdate `protobuf:"varint,2,rep,packed,name=fields_to_update,json=fieldsToUpdate,proto3,enum=com.coralogix.alerts.v1.FieldsToUpdate" json:"fields_to_update,omitempty"` -} - -func (x *UpdateAlertRequest) Reset() { - *x = UpdateAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateAlertRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateAlertRequest) ProtoMessage() {} - -func (x *UpdateAlertRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 UpdateAlertRequest.ProtoReflect.Descriptor instead. -func (*UpdateAlertRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{8} -} - -func (x *UpdateAlertRequest) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -func (x *UpdateAlertRequest) GetFieldsToUpdate() []FieldsToUpdate { - if x != nil { - return x.FieldsToUpdate - } - return nil -} - -type UpdateAlertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` -} - -func (x *UpdateAlertResponse) Reset() { - *x = UpdateAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateAlertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateAlertResponse) ProtoMessage() {} - -func (x *UpdateAlertResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 UpdateAlertResponse.ProtoReflect.Descriptor instead. -func (*UpdateAlertResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{9} -} - -func (x *UpdateAlertResponse) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -type UpdateAlertByUniqueIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` - FieldsToUpdate []FieldsToUpdate `protobuf:"varint,2,rep,packed,name=fields_to_update,json=fieldsToUpdate,proto3,enum=com.coralogix.alerts.v1.FieldsToUpdate" json:"fields_to_update,omitempty"` -} - -func (x *UpdateAlertByUniqueIdRequest) Reset() { - *x = UpdateAlertByUniqueIdRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateAlertByUniqueIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateAlertByUniqueIdRequest) ProtoMessage() {} - -func (x *UpdateAlertByUniqueIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 UpdateAlertByUniqueIdRequest.ProtoReflect.Descriptor instead. -func (*UpdateAlertByUniqueIdRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{10} -} - -func (x *UpdateAlertByUniqueIdRequest) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -func (x *UpdateAlertByUniqueIdRequest) GetFieldsToUpdate() []FieldsToUpdate { - if x != nil { - return x.FieldsToUpdate - } - return nil -} - -type UpdateAlertByUniqueIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` -} - -func (x *UpdateAlertByUniqueIdResponse) Reset() { - *x = UpdateAlertByUniqueIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateAlertByUniqueIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateAlertByUniqueIdResponse) ProtoMessage() {} - -func (x *UpdateAlertByUniqueIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 UpdateAlertByUniqueIdResponse.ProtoReflect.Descriptor instead. -func (*UpdateAlertByUniqueIdResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{11} -} - -func (x *UpdateAlertByUniqueIdResponse) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -type GetAlertsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetAlertsRequest) Reset() { - *x = GetAlertsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertsRequest) ProtoMessage() {} - -func (x *GetAlertsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertsRequest.ProtoReflect.Descriptor instead. -func (*GetAlertsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{12} -} - -type GetAlertsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alerts []*Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"` -} - -func (x *GetAlertsResponse) Reset() { - *x = GetAlertsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertsResponse) ProtoMessage() {} - -func (x *GetAlertsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 GetAlertsResponse.ProtoReflect.Descriptor instead. -func (*GetAlertsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{13} -} - -func (x *GetAlertsResponse) GetAlerts() []*Alert { - if x != nil { - return x.Alerts - } - return nil -} - -type ValidateAlertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alert *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"` -} - -func (x *ValidateAlertRequest) Reset() { - *x = ValidateAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidateAlertRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidateAlertRequest) ProtoMessage() {} - -func (x *ValidateAlertRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 ValidateAlertRequest.ProtoReflect.Descriptor instead. -func (*ValidateAlertRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{14} -} - -func (x *ValidateAlertRequest) GetAlert() *Alert { - if x != nil { - return x.Alert - } - return nil -} - -type ValidateAlertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ValidateAlertResponse) Reset() { - *x = ValidateAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidateAlertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidateAlertResponse) ProtoMessage() {} - -func (x *ValidateAlertResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 ValidateAlertResponse.ProtoReflect.Descriptor instead. -func (*ValidateAlertResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{15} -} - -type DeleteAlertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteAlertRequest) Reset() { - *x = DeleteAlertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteAlertRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteAlertRequest) ProtoMessage() {} - -func (x *DeleteAlertRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 DeleteAlertRequest.ProtoReflect.Descriptor instead. -func (*DeleteAlertRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{16} -} - -func (x *DeleteAlertRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteAlertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteAlertResponse) Reset() { - *x = DeleteAlertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteAlertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteAlertResponse) ProtoMessage() {} - -func (x *DeleteAlertResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_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 DeleteAlertResponse.ProtoReflect.Descriptor instead. -func (*DeleteAlertResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{17} -} - -type DeleteAlertByUniqueIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteAlertByUniqueIdRequest) Reset() { - *x = DeleteAlertByUniqueIdRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteAlertByUniqueIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteAlertByUniqueIdRequest) ProtoMessage() {} - -func (x *DeleteAlertByUniqueIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[18] - 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 DeleteAlertByUniqueIdRequest.ProtoReflect.Descriptor instead. -func (*DeleteAlertByUniqueIdRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{18} -} - -func (x *DeleteAlertByUniqueIdRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteAlertByUniqueIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteAlertByUniqueIdResponse) Reset() { - *x = DeleteAlertByUniqueIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteAlertByUniqueIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteAlertByUniqueIdResponse) ProtoMessage() {} - -func (x *DeleteAlertByUniqueIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[19] - 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 DeleteAlertByUniqueIdResponse.ProtoReflect.Descriptor instead. -func (*DeleteAlertByUniqueIdResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{19} -} - -type GetAlertEventsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` -} - -func (x *GetAlertEventsRequest) Reset() { - *x = GetAlertEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertEventsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertEventsRequest) ProtoMessage() {} - -func (x *GetAlertEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[20] - 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 GetAlertEventsRequest.ProtoReflect.Descriptor instead. -func (*GetAlertEventsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{20} -} - -func (x *GetAlertEventsRequest) GetFrom() *timestamppb.Timestamp { - if x != nil { - return x.From - } - return nil -} - -func (x *GetAlertEventsRequest) GetTo() *timestamppb.Timestamp { - if x != nil { - return x.To - } - return nil -} - -type GetAlertEventsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Events []*AlertEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` -} - -func (x *GetAlertEventsResponse) Reset() { - *x = GetAlertEventsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertEventsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertEventsResponse) ProtoMessage() {} - -func (x *GetAlertEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[21] - 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 GetAlertEventsResponse.ProtoReflect.Descriptor instead. -func (*GetAlertEventsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{21} -} - -func (x *GetAlertEventsResponse) GetEvents() []*AlertEvent { - if x != nil { - return x.Events - } - return nil -} - -type GetAlertEventsCountBySeverityRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - To *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` - Applications []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=applications,proto3" json:"applications,omitempty"` - Subsystems []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=subsystems,proto3" json:"subsystems,omitempty"` -} - -func (x *GetAlertEventsCountBySeverityRequest) Reset() { - *x = GetAlertEventsCountBySeverityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertEventsCountBySeverityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertEventsCountBySeverityRequest) ProtoMessage() {} - -func (x *GetAlertEventsCountBySeverityRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[22] - 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 GetAlertEventsCountBySeverityRequest.ProtoReflect.Descriptor instead. -func (*GetAlertEventsCountBySeverityRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{22} -} - -func (x *GetAlertEventsCountBySeverityRequest) GetFrom() *timestamppb.Timestamp { - if x != nil { - return x.From - } - return nil -} - -func (x *GetAlertEventsCountBySeverityRequest) GetTo() *timestamppb.Timestamp { - if x != nil { - return x.To - } - return nil -} - -func (x *GetAlertEventsCountBySeverityRequest) GetApplications() []*wrapperspb.StringValue { - if x != nil { - return x.Applications - } - return nil -} - -func (x *GetAlertEventsCountBySeverityRequest) GetSubsystems() []*wrapperspb.StringValue { - if x != nil { - return x.Subsystems - } - return nil -} - -type GetAlertEventsCountBySeverityResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventCounts []*AlertEventsCountBySeverity `protobuf:"bytes,1,rep,name=event_counts,json=eventCounts,proto3" json:"event_counts,omitempty"` -} - -func (x *GetAlertEventsCountBySeverityResponse) Reset() { - *x = GetAlertEventsCountBySeverityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetAlertEventsCountBySeverityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetAlertEventsCountBySeverityResponse) ProtoMessage() {} - -func (x *GetAlertEventsCountBySeverityResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[23] - 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 GetAlertEventsCountBySeverityResponse.ProtoReflect.Descriptor instead. -func (*GetAlertEventsCountBySeverityResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{23} -} - -func (x *GetAlertEventsCountBySeverityResponse) GetEventCounts() []*AlertEventsCountBySeverity { - if x != nil { - return x.EventCounts - } - return nil -} - -type AlertEventsCountBySeverity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Severity AlertSeverity `protobuf:"varint,1,opt,name=severity,proto3,enum=com.coralogix.alerts.v1.AlertSeverity" json:"severity,omitempty"` - Type AlertEventCountType `protobuf:"varint,2,opt,name=type,proto3,enum=com.coralogix.alerts.v1.AlertEventCountType" json:"type,omitempty"` - SubType AlertEvent_AlertEventSubType `protobuf:"varint,3,opt,name=sub_type,json=subType,proto3,enum=com.coralogix.alerts.v1.AlertEvent_AlertEventSubType" json:"sub_type,omitempty"` - Count *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *AlertEventsCountBySeverity) Reset() { - *x = AlertEventsCountBySeverity{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertEventsCountBySeverity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertEventsCountBySeverity) ProtoMessage() {} - -func (x *AlertEventsCountBySeverity) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[24] - 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 AlertEventsCountBySeverity.ProtoReflect.Descriptor instead. -func (*AlertEventsCountBySeverity) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{24} -} - -func (x *AlertEventsCountBySeverity) GetSeverity() AlertSeverity { - if x != nil { - return x.Severity - } - return AlertSeverity_ALERT_SEVERITY_INFO_OR_UNSPECIFIED -} - -type AlertEventCountType int32 - -const ( - AlertEventCountType_ALERT_EVENT_COUNT_TYPE_UNSPECIFIED AlertEventCountType = 0 - AlertEventCountType_ALERT_EVENT_COUNT_TYPE_ALERT AlertEventCountType = 1 - AlertEventCountType_ALERT_EVENT_COUNT_TYPE_ANOMALY AlertEventCountType = 2 -) - -// Enum value maps for AlertEventCountType. -var ( - AlertEventCountType_name = map[int32]string{ - 0: "ALERT_EVENT_COUNT_TYPE_UNSPECIFIED", - 1: "ALERT_EVENT_COUNT_TYPE_ALERT", - 2: "ALERT_EVENT_COUNT_TYPE_ANOMALY", - } - AlertEventCountType_value = map[string]int32{ - "ALERT_EVENT_COUNT_TYPE_UNSPECIFIED": 0, - "ALERT_EVENT_COUNT_TYPE_ALERT": 1, - "ALERT_EVENT_COUNT_TYPE_ANOMALY": 2, - } -) - -func (x *AlertEventsCountBySeverity) GetType() AlertEventCountType { - if x != nil { - return x.Type - } - return AlertEventCountType_ALERT_EVENT_COUNT_TYPE_UNSPECIFIED -} - -func (x *AlertEventsCountBySeverity) GetSubType() AlertEvent_AlertEventSubType { - if x != nil { - return x.SubType - } - return AlertEvent_ALERT_EVENT_SUB_TYPE_UNSPECIFIED -} - -func (x *AlertEventsCountBySeverity) GetCount() *wrapperspb.Int32Value { - if x != nil { - return x.Count - } - return nil -} - -type GetCompanyAlertsLimitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetCompanyAlertsLimitRequest) Reset() { - *x = GetCompanyAlertsLimitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCompanyAlertsLimitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCompanyAlertsLimitRequest) ProtoMessage() {} - -func (x *GetCompanyAlertsLimitRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[25] - 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 GetCompanyAlertsLimitRequest.ProtoReflect.Descriptor instead. -func (*GetCompanyAlertsLimitRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{25} -} - -type GetCompanyAlertsLimitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CompanyId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` - Used *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=used,proto3" json:"used,omitempty"` - DynamicAlertLimit *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=dynamic_alert_limit,json=dynamicAlertLimit,proto3" json:"dynamic_alert_limit,omitempty"` - DynamicAlertUsed *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=dynamic_alert_used,json=dynamicAlertUsed,proto3" json:"dynamic_alert_used,omitempty"` -} - -func (x *GetCompanyAlertsLimitResponse) Reset() { - *x = GetCompanyAlertsLimitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCompanyAlertsLimitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCompanyAlertsLimitResponse) ProtoMessage() {} - -func (x *GetCompanyAlertsLimitResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[26] - 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 GetCompanyAlertsLimitResponse.ProtoReflect.Descriptor instead. -func (*GetCompanyAlertsLimitResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP(), []int{26} -} - -func (x *GetCompanyAlertsLimitResponse) GetCompanyId() *wrapperspb.StringValue { - if x != nil { - return x.CompanyId - } - return nil -} - -func (x *GetCompanyAlertsLimitResponse) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -func (x *GetCompanyAlertsLimitResponse) GetUsed() *wrapperspb.Int32Value { - if x != nil { - return x.Used - } - return nil -} - -func (x *GetCompanyAlertsLimitResponse) GetDynamicAlertLimit() *wrapperspb.Int32Value { - if x != nil { - return x.DynamicAlertLimit - } - return nil -} - -func (x *GetCompanyAlertsLimitResponse) GetDynamicAlertUsed() *wrapperspb.Int32Value { - if x != nil { - return x.DynamicAlertUsed - } - return nil -} - -var File_com_coralogix_alerts_v2_alert_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v2_alert_service_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 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, 0x1a, 0x23, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, - 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, - 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, - 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x35, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x69, - 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 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, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, - 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x48, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0x49, 0x0a, - 0x19, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x52, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0xaf, 0x09, 0x0a, - 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 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, 0x37, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, - 0x76, 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, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x42, - 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x45, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x0f, 0x73, 0x68, 0x6f, 0x77, - 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x68, 0x6f, 0x77, - 0x49, 0x6e, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x68, 0x6f, - 0x77, 0x49, 0x6e, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x61, 0x0a, - 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x12, 0x6e, 0x6f, - 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x12, 0x60, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x49, 0x6e, 0x63, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x01, 0x52, 0x10, 0x69, - 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x88, - 0x01, 0x01, 0x12, 0x3f, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x77, 0x68, - 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x68, - 0x65, 0x6e, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x5e, - 0x0a, 0x1c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 0x1a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x43, - 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, - 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x12, 0x4c, 0x0a, 0x13, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0e, 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, 0x11, - 0x6d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x73, 0x12, 0x4f, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, - 0x02, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x88, - 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x5f, 0x69, - 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x69, 0x6e, 0x63, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x10, 0x0a, 0x0e, - 0x5f, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0x4b, - 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0xb8, 0x09, 0x0a, 0x1b, - 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x37, 0x0a, - 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 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, 0x08, 0x69, 0x73, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, - 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x78, - 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x65, - 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x09, 0x63, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x53, 0x0a, 0x0f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, - 0x74, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x68, 0x6f, 0x77, 0x49, 0x6e, 0x49, 0x6e, 0x73, 0x69, 0x67, - 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x61, 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x09, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x52, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x60, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x10, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x49, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x48, 0x01, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, 0x07, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x5e, 0x0a, 0x1c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 0x1a, 0x6e, 0x6f, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, - 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x4c, 0x0a, 0x13, 0x6d, - 0x65, 0x74, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x73, 0x18, 0x0e, 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, 0x11, 0x6d, 0x65, 0x74, 0x61, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4f, 0x0a, 0x0d, 0x74, 0x72, 0x61, - 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, - 0x6e, 0x67, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x02, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x69, - 0x6e, 0x67, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x73, - 0x68, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x5f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x42, 0x14, - 0x0a, 0x12, 0x5f, 0x69, 0x6e, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, - 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0x62, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x10, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 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, 0x0f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x01, 0x0a, 0x12, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x51, 0x0a, 0x10, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0e, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x54, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x54, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x4b, 0x0a, 0x13, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0xa7, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x51, - 0x0a, 0x10, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x54, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x0e, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x54, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x22, 0x55, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0x12, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4b, 0x0a, 0x11, - 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x36, 0x0a, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x52, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x22, 0x4c, 0x0a, 0x14, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x34, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x42, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x1c, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, - 0x75, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, - 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x73, 0x0a, 0x15, 0x47, 0x65, - 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 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, 0x04, 0x66, - 0x72, 0x6f, 0x6d, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x6f, 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, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x74, 0x6f, 0x22, - 0x55, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x82, 0x02, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, - 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x2e, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, - 0x2a, 0x0a, 0x02, 0x74, 0x6f, 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, 0x02, 0x74, 0x6f, 0x12, 0x40, 0x0a, 0x0c, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, - 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, - 0x0a, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x7f, 0x0a, 0x25, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x42, 0x79, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, - 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xa7, 0x02, 0x0a, - 0x1a, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x42, 0x79, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x65, 0x76, - 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, - 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x50, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x73, 0x75, 0x62, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 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, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, - 0x70, 0x61, 0x6e, 0x79, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd8, 0x02, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, - 0x61, 0x6e, 0x79, 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, 0x63, 0x6f, 0x6d, 0x70, - 0x61, 0x6e, 0x79, 0x49, 0x64, 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, 0x2f, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, - 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, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12, 0x4b, 0x0a, 0x13, 0x64, 0x79, 0x6e, - 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 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, 0x11, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x49, 0x0a, 0x12, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, - 0x63, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x05, 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, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x55, 0x73, 0x65, - 0x64, 0x32, 0xbf, 0x12, 0x0a, 0x0c, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, - 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0xc2, 0xb8, 0x02, 0x0b, 0x0a, 0x09, 0x67, 0x65, 0x74, 0x20, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, - 0x12, 0x8a, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 0x29, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xc2, 0xb8, 0x02, 0x0c, 0x0a, 0x0a, 0x67, 0x65, 0x74, - 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 0xbd, 0x01, - 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, - 0x75, 0x65, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, - 0x71, 0x75, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0xc2, - 0xb8, 0x02, 0x18, 0x0a, 0x16, 0x67, 0x65, 0x74, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x62, - 0x79, 0x20, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x20, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1c, 0x12, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xbd, 0x01, - 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, - 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x38, 0xc2, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x20, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x2d, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x3a, 0x01, 0x2a, 0x12, 0x96, 0x01, - 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x2b, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0xc2, 0xb8, 0x02, 0x0e, 0x0a, 0x0c, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x14, 0x22, 0x0f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2f, 0x3a, 0x01, 0x2a, 0x12, 0xa4, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x3a, 0xc2, 0xb8, 0x02, 0x0e, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x1a, 0x19, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x2e, 0x69, 0x64, 0x7d, 0x3a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0xd8, 0x01, - 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, - 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, - 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0xc2, 0xb8, 0x02, 0x0e, 0x0a, 0x0c, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, - 0x1a, 0x2f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2f, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x75, - 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x7d, 0x3a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x9c, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x32, 0xc2, 0xb8, 0x02, 0x0e, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x2a, 0x18, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x69, 0x64, 0x7d, 0x12, 0xbc, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, - 0x64, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x79, - 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x34, 0xc2, 0xb8, 0x02, 0x0e, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x75, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0xc2, 0xb8, 0x02, 0x12, - 0x0a, 0x10, 0x67, 0x65, 0x74, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, - 0xaa, 0x01, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x12, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x3a, 0xc2, 0xb8, 0x02, 0x10, 0x0a, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x17, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0xf7, 0x01, 0x0a, - 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3d, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x65, - 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x65, 0x76, - 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x57, 0xc2, - 0xb8, 0x02, 0x24, 0x0a, 0x22, 0x67, 0x65, 0x74, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x20, 0x62, 0x79, 0x20, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2d, 0x62, 0x79, 0x2d, 0x73, 0x65, - 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0xca, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x42, 0xc2, 0xb8, 0x02, 0x1a, 0x0a, 0x18, 0x67, 0x65, 0x74, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x61, - 0x6e, 0x79, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x20, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2d, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_alerts_v2_alert_service_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v2_alert_service_proto_rawDescData = file_com_coralogix_alerts_v2_alert_service_proto_rawDesc -) - -func file_com_coralogix_alerts_v2_alert_service_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v2_alert_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v2_alert_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v2_alert_service_proto_rawDescData) - }) - return file_com_coralogix_alerts_v2_alert_service_proto_rawDescData -} - -var file_com_coralogix_alerts_v2_alert_service_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_com_coralogix_alerts_v2_alert_service_proto_goTypes = []interface{}{ - (*GetAlertRequest)(nil), // 0: com.coralogix.alerts.v2.GetAlertRequest - (*GetAlertResponse)(nil), // 1: com.coralogix.alerts.v2.GetAlertResponse - (*GetAlertByUniqueIdRequest)(nil), // 2: com.coralogix.alerts.v2.GetAlertByUniqueIdRequest - (*GetAlertByUniqueIdResponse)(nil), // 3: com.coralogix.alerts.v2.GetAlertByUniqueIdResponse - (*CreateAlertRequest)(nil), // 4: com.coralogix.alerts.v2.CreateAlertRequest - (*CreateAlertResponse)(nil), // 5: com.coralogix.alerts.v2.CreateAlertResponse - (*GetAlertModelMappingRequest)(nil), // 6: com.coralogix.alerts.v2.GetAlertModelMappingRequest - (*GetAlertModelMappingResponse)(nil), // 7: com.coralogix.alerts.v2.GetAlertModelMappingResponse - (*UpdateAlertRequest)(nil), // 8: com.coralogix.alerts.v2.UpdateAlertRequest - (*UpdateAlertResponse)(nil), // 9: com.coralogix.alerts.v2.UpdateAlertResponse - (*UpdateAlertByUniqueIdRequest)(nil), // 10: com.coralogix.alerts.v2.UpdateAlertByUniqueIdRequest - (*UpdateAlertByUniqueIdResponse)(nil), // 11: com.coralogix.alerts.v2.UpdateAlertByUniqueIdResponse - (*GetAlertsRequest)(nil), // 12: com.coralogix.alerts.v2.GetAlertsRequest - (*GetAlertsResponse)(nil), // 13: com.coralogix.alerts.v2.GetAlertsResponse - (*ValidateAlertRequest)(nil), // 14: com.coralogix.alerts.v2.ValidateAlertRequest - (*ValidateAlertResponse)(nil), // 15: com.coralogix.alerts.v2.ValidateAlertResponse - (*DeleteAlertRequest)(nil), // 16: com.coralogix.alerts.v2.DeleteAlertRequest - (*DeleteAlertResponse)(nil), // 17: com.coralogix.alerts.v2.DeleteAlertResponse - (*DeleteAlertByUniqueIdRequest)(nil), // 18: com.coralogix.alerts.v2.DeleteAlertByUniqueIdRequest - (*DeleteAlertByUniqueIdResponse)(nil), // 19: com.coralogix.alerts.v2.DeleteAlertByUniqueIdResponse - (*GetAlertEventsRequest)(nil), // 20: com.coralogix.alerts.v2.GetAlertEventsRequest - (*GetAlertEventsResponse)(nil), // 21: com.coralogix.alerts.v2.GetAlertEventsResponse - (*GetAlertEventsCountBySeverityRequest)(nil), // 22: com.coralogix.alerts.v2.GetAlertEventsCountBySeverityRequest - (*GetAlertEventsCountBySeverityResponse)(nil), // 23: com.coralogix.alerts.v2.GetAlertEventsCountBySeverityResponse - (*AlertEventsCountBySeverity)(nil), // 24: com.coralogix.alerts.v2.AlertEventsCountBySeverity - (*GetCompanyAlertsLimitRequest)(nil), // 25: com.coralogix.alerts.v2.GetCompanyAlertsLimitRequest - (*GetCompanyAlertsLimitResponse)(nil), // 26: com.coralogix.alerts.v2.GetCompanyAlertsLimitResponse - (*wrapperspb.StringValue)(nil), // 27: google.protobuf.StringValue - (*Alert)(nil), // 28: com.coralogix.alerts.v2.Alert - (*wrapperspb.BoolValue)(nil), // 29: google.protobuf.BoolValue - (AlertSeverity)(0), // 30: com.coralogix.alerts.v1.AlertSeverity - (*Date)(nil), // 31: com.coralogix.alerts.v1.Date - (*AlertCondition)(nil), // 32: com.coralogix.alerts.v2.AlertCondition - (*ShowInInsight)(nil), // 33: com.coralogix.alerts.v2.ShowInInsight - (*AlertNotificationGroups)(nil), // 34: com.coralogix.alerts.v2.AlertNotificationGroups - (*AlertIncidentSettings)(nil), // 35: com.coralogix.alerts.v2.AlertIncidentSettings - (*AlertFilters)(nil), // 36: com.coralogix.alerts.v1.AlertFilters - (*AlertActiveWhen)(nil), // 37: com.coralogix.alerts.v1.AlertActiveWhen - (*MetaLabel)(nil), // 38: com.coralogix.alerts.v1.MetaLabel - (*TracingAlert)(nil), // 39: com.coralogix.alerts.v1.TracingAlert - (*structpb.Struct)(nil), // 40: google.protobuf.Struct - (FieldsToUpdate)(0), // 41: com.coralogix.alerts.v1.FieldsToUpdate - (*timestamppb.Timestamp)(nil), // 42: google.protobuf.Timestamp - (*AlertEvent)(nil), // 43: com.coralogix.alerts.v1.AlertEvent - (AlertEventCountType)(0), // 44: com.coralogix.alerts.v1.AlertEventCountType - (AlertEvent_AlertEventSubType)(0), // 45: com.coralogix.alerts.v1.AlertEvent.AlertEventSubType - (*wrapperspb.Int32Value)(nil), // 46: google.protobuf.Int32Value -} -var file_com_coralogix_alerts_v2_alert_service_proto_depIdxs = []int32{ - 27, // 0: com.coralogix.alerts.v2.GetAlertRequest.id:type_name -> google.protobuf.StringValue - 28, // 1: com.coralogix.alerts.v2.GetAlertResponse.alert:type_name -> com.coralogix.alerts.v2.Alert - 27, // 2: com.coralogix.alerts.v2.GetAlertByUniqueIdRequest.id:type_name -> google.protobuf.StringValue - 28, // 3: com.coralogix.alerts.v2.GetAlertByUniqueIdResponse.alert:type_name -> com.coralogix.alerts.v2.Alert - 27, // 4: com.coralogix.alerts.v2.CreateAlertRequest.name:type_name -> google.protobuf.StringValue - 27, // 5: com.coralogix.alerts.v2.CreateAlertRequest.description:type_name -> google.protobuf.StringValue - 29, // 6: com.coralogix.alerts.v2.CreateAlertRequest.is_active:type_name -> google.protobuf.BoolValue - 30, // 7: com.coralogix.alerts.v2.CreateAlertRequest.severity:type_name -> com.coralogix.alerts.v1.AlertSeverity - 31, // 8: com.coralogix.alerts.v2.CreateAlertRequest.expiration:type_name -> com.coralogix.alerts.v1.Date - 32, // 9: com.coralogix.alerts.v2.CreateAlertRequest.condition:type_name -> com.coralogix.alerts.v2.AlertCondition - 33, // 10: com.coralogix.alerts.v2.CreateAlertRequest.show_in_insight:type_name -> com.coralogix.alerts.v2.ShowInInsight - 34, // 11: com.coralogix.alerts.v2.CreateAlertRequest.notification_groups:type_name -> com.coralogix.alerts.v2.AlertNotificationGroups - 35, // 12: com.coralogix.alerts.v2.CreateAlertRequest.incident_settings:type_name -> com.coralogix.alerts.v2.AlertIncidentSettings - 36, // 13: com.coralogix.alerts.v2.CreateAlertRequest.filters:type_name -> com.coralogix.alerts.v1.AlertFilters - 37, // 14: com.coralogix.alerts.v2.CreateAlertRequest.active_when:type_name -> com.coralogix.alerts.v1.AlertActiveWhen - 27, // 15: com.coralogix.alerts.v2.CreateAlertRequest.notification_payload_filters:type_name -> google.protobuf.StringValue - 38, // 16: com.coralogix.alerts.v2.CreateAlertRequest.meta_labels:type_name -> com.coralogix.alerts.v1.MetaLabel - 27, // 17: com.coralogix.alerts.v2.CreateAlertRequest.meta_labels_strings:type_name -> google.protobuf.StringValue - 39, // 18: com.coralogix.alerts.v2.CreateAlertRequest.tracing_alert:type_name -> com.coralogix.alerts.v1.TracingAlert - 28, // 19: com.coralogix.alerts.v2.CreateAlertResponse.alert:type_name -> com.coralogix.alerts.v2.Alert - 27, // 20: com.coralogix.alerts.v2.GetAlertModelMappingRequest.name:type_name -> google.protobuf.StringValue - 27, // 21: com.coralogix.alerts.v2.GetAlertModelMappingRequest.description:type_name -> google.protobuf.StringValue - 29, // 22: com.coralogix.alerts.v2.GetAlertModelMappingRequest.is_active:type_name -> google.protobuf.BoolValue - 30, // 23: com.coralogix.alerts.v2.GetAlertModelMappingRequest.severity:type_name -> com.coralogix.alerts.v1.AlertSeverity - 31, // 24: com.coralogix.alerts.v2.GetAlertModelMappingRequest.expiration:type_name -> com.coralogix.alerts.v1.Date - 32, // 25: com.coralogix.alerts.v2.GetAlertModelMappingRequest.condition:type_name -> com.coralogix.alerts.v2.AlertCondition - 33, // 26: com.coralogix.alerts.v2.GetAlertModelMappingRequest.show_in_insight:type_name -> com.coralogix.alerts.v2.ShowInInsight - 34, // 27: com.coralogix.alerts.v2.GetAlertModelMappingRequest.notification_groups:type_name -> com.coralogix.alerts.v2.AlertNotificationGroups - 35, // 28: com.coralogix.alerts.v2.GetAlertModelMappingRequest.incident_settings:type_name -> com.coralogix.alerts.v2.AlertIncidentSettings - 36, // 29: com.coralogix.alerts.v2.GetAlertModelMappingRequest.filters:type_name -> com.coralogix.alerts.v1.AlertFilters - 37, // 30: com.coralogix.alerts.v2.GetAlertModelMappingRequest.active_when:type_name -> com.coralogix.alerts.v1.AlertActiveWhen - 27, // 31: com.coralogix.alerts.v2.GetAlertModelMappingRequest.notification_payload_filters:type_name -> google.protobuf.StringValue - 38, // 32: com.coralogix.alerts.v2.GetAlertModelMappingRequest.meta_labels:type_name -> com.coralogix.alerts.v1.MetaLabel - 27, // 33: com.coralogix.alerts.v2.GetAlertModelMappingRequest.meta_labels_strings:type_name -> google.protobuf.StringValue - 39, // 34: com.coralogix.alerts.v2.GetAlertModelMappingRequest.tracing_alert:type_name -> com.coralogix.alerts.v1.TracingAlert - 40, // 35: com.coralogix.alerts.v2.GetAlertModelMappingResponse.alert_definition:type_name -> google.protobuf.Struct - 28, // 36: com.coralogix.alerts.v2.UpdateAlertRequest.alert:type_name -> com.coralogix.alerts.v2.Alert - 41, // 37: com.coralogix.alerts.v2.UpdateAlertRequest.fields_to_update:type_name -> com.coralogix.alerts.v1.FieldsToUpdate - 28, // 38: com.coralogix.alerts.v2.UpdateAlertResponse.alert:type_name -> com.coralogix.alerts.v2.Alert - 28, // 39: com.coralogix.alerts.v2.UpdateAlertByUniqueIdRequest.alert:type_name -> com.coralogix.alerts.v2.Alert - 41, // 40: com.coralogix.alerts.v2.UpdateAlertByUniqueIdRequest.fields_to_update:type_name -> com.coralogix.alerts.v1.FieldsToUpdate - 28, // 41: com.coralogix.alerts.v2.UpdateAlertByUniqueIdResponse.alert:type_name -> com.coralogix.alerts.v2.Alert - 28, // 42: com.coralogix.alerts.v2.GetAlertsResponse.alerts:type_name -> com.coralogix.alerts.v2.Alert - 28, // 43: com.coralogix.alerts.v2.ValidateAlertRequest.alert:type_name -> com.coralogix.alerts.v2.Alert - 27, // 44: com.coralogix.alerts.v2.DeleteAlertRequest.id:type_name -> google.protobuf.StringValue - 27, // 45: com.coralogix.alerts.v2.DeleteAlertByUniqueIdRequest.id:type_name -> google.protobuf.StringValue - 42, // 46: com.coralogix.alerts.v2.GetAlertEventsRequest.from:type_name -> google.protobuf.Timestamp - 42, // 47: com.coralogix.alerts.v2.GetAlertEventsRequest.to:type_name -> google.protobuf.Timestamp - 43, // 48: com.coralogix.alerts.v2.GetAlertEventsResponse.events:type_name -> com.coralogix.alerts.v1.AlertEvent - 42, // 49: com.coralogix.alerts.v2.GetAlertEventsCountBySeverityRequest.from:type_name -> google.protobuf.Timestamp - 42, // 50: com.coralogix.alerts.v2.GetAlertEventsCountBySeverityRequest.to:type_name -> google.protobuf.Timestamp - 27, // 51: com.coralogix.alerts.v2.GetAlertEventsCountBySeverityRequest.applications:type_name -> google.protobuf.StringValue - 27, // 52: com.coralogix.alerts.v2.GetAlertEventsCountBySeverityRequest.subsystems:type_name -> google.protobuf.StringValue - 24, // 53: com.coralogix.alerts.v2.GetAlertEventsCountBySeverityResponse.event_counts:type_name -> com.coralogix.alerts.v2.AlertEventsCountBySeverity - 30, // 54: com.coralogix.alerts.v2.AlertEventsCountBySeverity.severity:type_name -> com.coralogix.alerts.v1.AlertSeverity - 44, // 55: com.coralogix.alerts.v2.AlertEventsCountBySeverity.type:type_name -> com.coralogix.alerts.v1.AlertEventCountType - 45, // 56: com.coralogix.alerts.v2.AlertEventsCountBySeverity.sub_type:type_name -> com.coralogix.alerts.v1.AlertEvent.AlertEventSubType - 46, // 57: com.coralogix.alerts.v2.AlertEventsCountBySeverity.count:type_name -> google.protobuf.Int32Value - 27, // 58: com.coralogix.alerts.v2.GetCompanyAlertsLimitResponse.company_id:type_name -> google.protobuf.StringValue - 46, // 59: com.coralogix.alerts.v2.GetCompanyAlertsLimitResponse.limit:type_name -> google.protobuf.Int32Value - 46, // 60: com.coralogix.alerts.v2.GetCompanyAlertsLimitResponse.used:type_name -> google.protobuf.Int32Value - 46, // 61: com.coralogix.alerts.v2.GetCompanyAlertsLimitResponse.dynamic_alert_limit:type_name -> google.protobuf.Int32Value - 46, // 62: com.coralogix.alerts.v2.GetCompanyAlertsLimitResponse.dynamic_alert_used:type_name -> google.protobuf.Int32Value - 0, // 63: com.coralogix.alerts.v2.AlertService.GetAlert:input_type -> com.coralogix.alerts.v2.GetAlertRequest - 12, // 64: com.coralogix.alerts.v2.AlertService.GetAlerts:input_type -> com.coralogix.alerts.v2.GetAlertsRequest - 2, // 65: com.coralogix.alerts.v2.AlertService.GetAlertByUniqueId:input_type -> com.coralogix.alerts.v2.GetAlertByUniqueIdRequest - 6, // 66: com.coralogix.alerts.v2.AlertService.GetAlertModelMapping:input_type -> com.coralogix.alerts.v2.GetAlertModelMappingRequest - 4, // 67: com.coralogix.alerts.v2.AlertService.CreateAlert:input_type -> com.coralogix.alerts.v2.CreateAlertRequest - 8, // 68: com.coralogix.alerts.v2.AlertService.UpdateAlert:input_type -> com.coralogix.alerts.v2.UpdateAlertRequest - 10, // 69: com.coralogix.alerts.v2.AlertService.UpdateAlertByUniqueId:input_type -> com.coralogix.alerts.v2.UpdateAlertByUniqueIdRequest - 16, // 70: com.coralogix.alerts.v2.AlertService.DeleteAlert:input_type -> com.coralogix.alerts.v2.DeleteAlertRequest - 18, // 71: com.coralogix.alerts.v2.AlertService.DeleteAlertByUniqueId:input_type -> com.coralogix.alerts.v2.DeleteAlertByUniqueIdRequest - 20, // 72: com.coralogix.alerts.v2.AlertService.GetAlertEvents:input_type -> com.coralogix.alerts.v2.GetAlertEventsRequest - 14, // 73: com.coralogix.alerts.v2.AlertService.ValidateAlert:input_type -> com.coralogix.alerts.v2.ValidateAlertRequest - 22, // 74: com.coralogix.alerts.v2.AlertService.GetAlertEventsCountBySeverity:input_type -> com.coralogix.alerts.v2.GetAlertEventsCountBySeverityRequest - 25, // 75: com.coralogix.alerts.v2.AlertService.GetCompanyAlertsLimit:input_type -> com.coralogix.alerts.v2.GetCompanyAlertsLimitRequest - 1, // 76: com.coralogix.alerts.v2.AlertService.GetAlert:output_type -> com.coralogix.alerts.v2.GetAlertResponse - 13, // 77: com.coralogix.alerts.v2.AlertService.GetAlerts:output_type -> com.coralogix.alerts.v2.GetAlertsResponse - 3, // 78: com.coralogix.alerts.v2.AlertService.GetAlertByUniqueId:output_type -> com.coralogix.alerts.v2.GetAlertByUniqueIdResponse - 7, // 79: com.coralogix.alerts.v2.AlertService.GetAlertModelMapping:output_type -> com.coralogix.alerts.v2.GetAlertModelMappingResponse - 5, // 80: com.coralogix.alerts.v2.AlertService.CreateAlert:output_type -> com.coralogix.alerts.v2.CreateAlertResponse - 9, // 81: com.coralogix.alerts.v2.AlertService.UpdateAlert:output_type -> com.coralogix.alerts.v2.UpdateAlertResponse - 11, // 82: com.coralogix.alerts.v2.AlertService.UpdateAlertByUniqueId:output_type -> com.coralogix.alerts.v2.UpdateAlertByUniqueIdResponse - 17, // 83: com.coralogix.alerts.v2.AlertService.DeleteAlert:output_type -> com.coralogix.alerts.v2.DeleteAlertResponse - 19, // 84: com.coralogix.alerts.v2.AlertService.DeleteAlertByUniqueId:output_type -> com.coralogix.alerts.v2.DeleteAlertByUniqueIdResponse - 21, // 85: com.coralogix.alerts.v2.AlertService.GetAlertEvents:output_type -> com.coralogix.alerts.v2.GetAlertEventsResponse - 15, // 86: com.coralogix.alerts.v2.AlertService.ValidateAlert:output_type -> com.coralogix.alerts.v2.ValidateAlertResponse - 23, // 87: com.coralogix.alerts.v2.AlertService.GetAlertEventsCountBySeverity:output_type -> com.coralogix.alerts.v2.GetAlertEventsCountBySeverityResponse - 26, // 88: com.coralogix.alerts.v2.AlertService.GetCompanyAlertsLimit:output_type -> com.coralogix.alerts.v2.GetCompanyAlertsLimitResponse - 76, // [76:89] is the sub-list for method output_type - 63, // [63:76] is the sub-list for method input_type - 63, // [63:63] is the sub-list for extension type_name - 63, // [63:63] is the sub-list for extension extendee - 0, // [0:63] is the sub-list for field type_name -} - -func init() { file_com_coralogix_alerts_v2_alert_service_proto_init() } -func file_com_coralogix_alerts_v2_alert_service_proto_init() { - if File_com_coralogix_alerts_v2_alert_service_proto != nil { - return - } - file_com_coralogix_alerts_v2_alert_proto_init() - file_com_coralogix_alerts_v1_alert_event_proto_init() - file_com_coralogix_alerts_v1_alert_meta_label_proto_init() - file_com_coralogix_alerts_v1_alert_severity_proto_init() - file_com_coralogix_alerts_v2_alert_condition_proto_init() - file_com_coralogix_alerts_v1_alert_filters_proto_init() - file_com_coralogix_alerts_v1_alert_active_when_proto_init() - file_com_coralogix_alerts_v1_date_time_proto_init() - file_com_coralogix_alerts_v1_fields_to_update_proto_init() - file_com_coralogix_alerts_v2_alert_notification_group_proto_init() - file_com_coralogix_alerts_v2_alert_incident_settings_proto_init() - file_com_coralogix_alerts_v1_tracing_alert_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertByUniqueIdRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertByUniqueIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertModelMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertModelMappingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAlertByUniqueIdRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAlertByUniqueIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAlertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAlertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAlertByUniqueIdRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteAlertByUniqueIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertEventsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertEventsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertEventsCountBySeverityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAlertEventsCountBySeverityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertEventsCountBySeverity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompanyAlertsLimitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompanyAlertsLimitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_com_coralogix_alerts_v2_alert_service_proto_msgTypes[6].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_alerts_v2_alert_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 27, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_alerts_v2_alert_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v2_alert_service_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v2_alert_service_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v2_alert_service_proto = out.File - file_com_coralogix_alerts_v2_alert_service_proto_rawDesc = nil - file_com_coralogix_alerts_v2_alert_service_proto_goTypes = nil - file_com_coralogix_alerts_v2_alert_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_service_grpc.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_service_grpc.pb.go deleted file mode 100644 index 255cd947..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_service_grpc.pb.go +++ /dev/null @@ -1,537 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v5.27.1 -// source: com/coralogix/alerts/v2/alert_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 - -// AlertServiceClient is the client API for AlertService 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 AlertServiceClient interface { - GetAlert(ctx context.Context, in *GetAlertRequest, opts ...grpc.CallOption) (*GetAlertResponse, error) - GetAlerts(ctx context.Context, in *GetAlertsRequest, opts ...grpc.CallOption) (*GetAlertsResponse, error) - GetAlertByUniqueId(ctx context.Context, in *GetAlertByUniqueIdRequest, opts ...grpc.CallOption) (*GetAlertByUniqueIdResponse, error) - GetAlertModelMapping(ctx context.Context, in *GetAlertModelMappingRequest, opts ...grpc.CallOption) (*GetAlertModelMappingResponse, error) - CreateAlert(ctx context.Context, in *CreateAlertRequest, opts ...grpc.CallOption) (*CreateAlertResponse, error) - UpdateAlert(ctx context.Context, in *UpdateAlertRequest, opts ...grpc.CallOption) (*UpdateAlertResponse, error) - UpdateAlertByUniqueId(ctx context.Context, in *UpdateAlertByUniqueIdRequest, opts ...grpc.CallOption) (*UpdateAlertByUniqueIdResponse, error) - DeleteAlert(ctx context.Context, in *DeleteAlertRequest, opts ...grpc.CallOption) (*DeleteAlertResponse, error) - DeleteAlertByUniqueId(ctx context.Context, in *DeleteAlertByUniqueIdRequest, opts ...grpc.CallOption) (*DeleteAlertByUniqueIdResponse, error) - GetAlertEvents(ctx context.Context, in *GetAlertEventsRequest, opts ...grpc.CallOption) (*GetAlertEventsResponse, error) - ValidateAlert(ctx context.Context, in *ValidateAlertRequest, opts ...grpc.CallOption) (*ValidateAlertResponse, error) - GetAlertEventsCountBySeverity(ctx context.Context, in *GetAlertEventsCountBySeverityRequest, opts ...grpc.CallOption) (*GetAlertEventsCountBySeverityResponse, error) - GetCompanyAlertsLimit(ctx context.Context, in *GetCompanyAlertsLimitRequest, opts ...grpc.CallOption) (*GetCompanyAlertsLimitResponse, error) -} - -type alertServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAlertServiceClient(cc grpc.ClientConnInterface) AlertServiceClient { - return &alertServiceClient{cc} -} - -func (c *alertServiceClient) GetAlert(ctx context.Context, in *GetAlertRequest, opts ...grpc.CallOption) (*GetAlertResponse, error) { - out := new(GetAlertResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/GetAlert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) GetAlerts(ctx context.Context, in *GetAlertsRequest, opts ...grpc.CallOption) (*GetAlertsResponse, error) { - out := new(GetAlertsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/GetAlerts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) GetAlertByUniqueId(ctx context.Context, in *GetAlertByUniqueIdRequest, opts ...grpc.CallOption) (*GetAlertByUniqueIdResponse, error) { - out := new(GetAlertByUniqueIdResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/GetAlertByUniqueId", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) GetAlertModelMapping(ctx context.Context, in *GetAlertModelMappingRequest, opts ...grpc.CallOption) (*GetAlertModelMappingResponse, error) { - out := new(GetAlertModelMappingResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/GetAlertModelMapping", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) CreateAlert(ctx context.Context, in *CreateAlertRequest, opts ...grpc.CallOption) (*CreateAlertResponse, error) { - out := new(CreateAlertResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/CreateAlert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) UpdateAlert(ctx context.Context, in *UpdateAlertRequest, opts ...grpc.CallOption) (*UpdateAlertResponse, error) { - out := new(UpdateAlertResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/UpdateAlert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) UpdateAlertByUniqueId(ctx context.Context, in *UpdateAlertByUniqueIdRequest, opts ...grpc.CallOption) (*UpdateAlertByUniqueIdResponse, error) { - out := new(UpdateAlertByUniqueIdResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/UpdateAlertByUniqueId", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) DeleteAlert(ctx context.Context, in *DeleteAlertRequest, opts ...grpc.CallOption) (*DeleteAlertResponse, error) { - out := new(DeleteAlertResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/DeleteAlert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) DeleteAlertByUniqueId(ctx context.Context, in *DeleteAlertByUniqueIdRequest, opts ...grpc.CallOption) (*DeleteAlertByUniqueIdResponse, error) { - out := new(DeleteAlertByUniqueIdResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/DeleteAlertByUniqueId", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) GetAlertEvents(ctx context.Context, in *GetAlertEventsRequest, opts ...grpc.CallOption) (*GetAlertEventsResponse, error) { - out := new(GetAlertEventsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/GetAlertEvents", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) ValidateAlert(ctx context.Context, in *ValidateAlertRequest, opts ...grpc.CallOption) (*ValidateAlertResponse, error) { - out := new(ValidateAlertResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/ValidateAlert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) GetAlertEventsCountBySeverity(ctx context.Context, in *GetAlertEventsCountBySeverityRequest, opts ...grpc.CallOption) (*GetAlertEventsCountBySeverityResponse, error) { - out := new(GetAlertEventsCountBySeverityResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/GetAlertEventsCountBySeverity", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *alertServiceClient) GetCompanyAlertsLimit(ctx context.Context, in *GetCompanyAlertsLimitRequest, opts ...grpc.CallOption) (*GetCompanyAlertsLimitResponse, error) { - out := new(GetCompanyAlertsLimitResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.alerts.v2.AlertService/GetCompanyAlertsLimit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AlertServiceServer is the server API for AlertService service. -// All implementations must embed UnimplementedAlertServiceServer -// for forward compatibility -type AlertServiceServer interface { - GetAlert(context.Context, *GetAlertRequest) (*GetAlertResponse, error) - GetAlerts(context.Context, *GetAlertsRequest) (*GetAlertsResponse, error) - GetAlertByUniqueId(context.Context, *GetAlertByUniqueIdRequest) (*GetAlertByUniqueIdResponse, error) - GetAlertModelMapping(context.Context, *GetAlertModelMappingRequest) (*GetAlertModelMappingResponse, error) - CreateAlert(context.Context, *CreateAlertRequest) (*CreateAlertResponse, error) - UpdateAlert(context.Context, *UpdateAlertRequest) (*UpdateAlertResponse, error) - UpdateAlertByUniqueId(context.Context, *UpdateAlertByUniqueIdRequest) (*UpdateAlertByUniqueIdResponse, error) - DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error) - DeleteAlertByUniqueId(context.Context, *DeleteAlertByUniqueIdRequest) (*DeleteAlertByUniqueIdResponse, error) - GetAlertEvents(context.Context, *GetAlertEventsRequest) (*GetAlertEventsResponse, error) - ValidateAlert(context.Context, *ValidateAlertRequest) (*ValidateAlertResponse, error) - GetAlertEventsCountBySeverity(context.Context, *GetAlertEventsCountBySeverityRequest) (*GetAlertEventsCountBySeverityResponse, error) - GetCompanyAlertsLimit(context.Context, *GetCompanyAlertsLimitRequest) (*GetCompanyAlertsLimitResponse, error) - mustEmbedUnimplementedAlertServiceServer() -} - -// UnimplementedAlertServiceServer must be embedded to have forward compatible implementations. -type UnimplementedAlertServiceServer struct { -} - -func (UnimplementedAlertServiceServer) GetAlert(context.Context, *GetAlertRequest) (*GetAlertResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlert not implemented") -} -func (UnimplementedAlertServiceServer) GetAlerts(context.Context, *GetAlertsRequest) (*GetAlertsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlerts not implemented") -} -func (UnimplementedAlertServiceServer) GetAlertByUniqueId(context.Context, *GetAlertByUniqueIdRequest) (*GetAlertByUniqueIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlertByUniqueId not implemented") -} -func (UnimplementedAlertServiceServer) GetAlertModelMapping(context.Context, *GetAlertModelMappingRequest) (*GetAlertModelMappingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlertModelMapping not implemented") -} -func (UnimplementedAlertServiceServer) CreateAlert(context.Context, *CreateAlertRequest) (*CreateAlertResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAlert not implemented") -} -func (UnimplementedAlertServiceServer) UpdateAlert(context.Context, *UpdateAlertRequest) (*UpdateAlertResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAlert not implemented") -} -func (UnimplementedAlertServiceServer) UpdateAlertByUniqueId(context.Context, *UpdateAlertByUniqueIdRequest) (*UpdateAlertByUniqueIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAlertByUniqueId not implemented") -} -func (UnimplementedAlertServiceServer) DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAlert not implemented") -} -func (UnimplementedAlertServiceServer) DeleteAlertByUniqueId(context.Context, *DeleteAlertByUniqueIdRequest) (*DeleteAlertByUniqueIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAlertByUniqueId not implemented") -} -func (UnimplementedAlertServiceServer) GetAlertEvents(context.Context, *GetAlertEventsRequest) (*GetAlertEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlertEvents not implemented") -} -func (UnimplementedAlertServiceServer) ValidateAlert(context.Context, *ValidateAlertRequest) (*ValidateAlertResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateAlert not implemented") -} -func (UnimplementedAlertServiceServer) GetAlertEventsCountBySeverity(context.Context, *GetAlertEventsCountBySeverityRequest) (*GetAlertEventsCountBySeverityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAlertEventsCountBySeverity not implemented") -} -func (UnimplementedAlertServiceServer) GetCompanyAlertsLimit(context.Context, *GetCompanyAlertsLimitRequest) (*GetCompanyAlertsLimitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCompanyAlertsLimit not implemented") -} -func (UnimplementedAlertServiceServer) mustEmbedUnimplementedAlertServiceServer() {} - -// UnsafeAlertServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AlertServiceServer will -// result in compilation errors. -type UnsafeAlertServiceServer interface { - mustEmbedUnimplementedAlertServiceServer() -} - -func RegisterAlertServiceServer(s grpc.ServiceRegistrar, srv AlertServiceServer) { - s.RegisterService(&AlertService_ServiceDesc, srv) -} - -func _AlertService_GetAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).GetAlert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/GetAlert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).GetAlert(ctx, req.(*GetAlertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_GetAlerts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).GetAlerts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/GetAlerts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).GetAlerts(ctx, req.(*GetAlertsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_GetAlertByUniqueId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertByUniqueIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).GetAlertByUniqueId(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/GetAlertByUniqueId", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).GetAlertByUniqueId(ctx, req.(*GetAlertByUniqueIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_GetAlertModelMapping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertModelMappingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).GetAlertModelMapping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/GetAlertModelMapping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).GetAlertModelMapping(ctx, req.(*GetAlertModelMappingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_CreateAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAlertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).CreateAlert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/CreateAlert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).CreateAlert(ctx, req.(*CreateAlertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_UpdateAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAlertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).UpdateAlert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/UpdateAlert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).UpdateAlert(ctx, req.(*UpdateAlertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_UpdateAlertByUniqueId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAlertByUniqueIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).UpdateAlertByUniqueId(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/UpdateAlertByUniqueId", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).UpdateAlertByUniqueId(ctx, req.(*UpdateAlertByUniqueIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_DeleteAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAlertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).DeleteAlert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/DeleteAlert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).DeleteAlert(ctx, req.(*DeleteAlertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_DeleteAlertByUniqueId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAlertByUniqueIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).DeleteAlertByUniqueId(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/DeleteAlertByUniqueId", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).DeleteAlertByUniqueId(ctx, req.(*DeleteAlertByUniqueIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_GetAlertEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertEventsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).GetAlertEvents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/GetAlertEvents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).GetAlertEvents(ctx, req.(*GetAlertEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_ValidateAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateAlertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).ValidateAlert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/ValidateAlert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).ValidateAlert(ctx, req.(*ValidateAlertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_GetAlertEventsCountBySeverity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAlertEventsCountBySeverityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).GetAlertEventsCountBySeverity(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/GetAlertEventsCountBySeverity", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).GetAlertEventsCountBySeverity(ctx, req.(*GetAlertEventsCountBySeverityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AlertService_GetCompanyAlertsLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCompanyAlertsLimitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AlertServiceServer).GetCompanyAlertsLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.alerts.v2.AlertService/GetCompanyAlertsLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AlertServiceServer).GetCompanyAlertsLimit(ctx, req.(*GetCompanyAlertsLimitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// AlertService_ServiceDesc is the grpc.ServiceDesc for AlertService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var AlertService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.alerts.v2.AlertService", - HandlerType: (*AlertServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAlert", - Handler: _AlertService_GetAlert_Handler, - }, - { - MethodName: "GetAlerts", - Handler: _AlertService_GetAlerts_Handler, - }, - { - MethodName: "GetAlertByUniqueId", - Handler: _AlertService_GetAlertByUniqueId_Handler, - }, - { - MethodName: "GetAlertModelMapping", - Handler: _AlertService_GetAlertModelMapping_Handler, - }, - { - MethodName: "CreateAlert", - Handler: _AlertService_CreateAlert_Handler, - }, - { - MethodName: "UpdateAlert", - Handler: _AlertService_UpdateAlert_Handler, - }, - { - MethodName: "UpdateAlertByUniqueId", - Handler: _AlertService_UpdateAlertByUniqueId_Handler, - }, - { - MethodName: "DeleteAlert", - Handler: _AlertService_DeleteAlert_Handler, - }, - { - MethodName: "DeleteAlertByUniqueId", - Handler: _AlertService_DeleteAlertByUniqueId_Handler, - }, - { - MethodName: "GetAlertEvents", - Handler: _AlertService_GetAlertEvents_Handler, - }, - { - MethodName: "ValidateAlert", - Handler: _AlertService_ValidateAlert_Handler, - }, - { - MethodName: "GetAlertEventsCountBySeverity", - Handler: _AlertService_GetAlertEventsCountBySeverity_Handler, - }, - { - MethodName: "GetCompanyAlertsLimit", - Handler: _AlertService_GetCompanyAlertsLimit_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/alerts/v2/alert_service.proto", -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_severity.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_severity.pb.go deleted file mode 100644 index 50a468cf..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_severity.pb.go +++ /dev/null @@ -1,146 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v1/alert_severity.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 AlertSeverity int32 - -const ( - AlertSeverity_ALERT_SEVERITY_INFO_OR_UNSPECIFIED AlertSeverity = 0 - AlertSeverity_ALERT_SEVERITY_WARNING AlertSeverity = 1 - AlertSeverity_ALERT_SEVERITY_CRITICAL AlertSeverity = 2 - AlertSeverity_ALERT_SEVERITY_ERROR AlertSeverity = 3 - AlertSeverity_ALERT_SEVERITY_LOW AlertSeverity = 4 -) - -// Enum value maps for AlertSeverity. -var ( - AlertSeverity_name = map[int32]string{ - 0: "ALERT_SEVERITY_INFO_OR_UNSPECIFIED", - 1: "ALERT_SEVERITY_WARNING", - 2: "ALERT_SEVERITY_CRITICAL", - 3: "ALERT_SEVERITY_ERROR", - 4: "ALERT_SEVERITY_LOW", - } - AlertSeverity_value = map[string]int32{ - "ALERT_SEVERITY_INFO_OR_UNSPECIFIED": 0, - "ALERT_SEVERITY_WARNING": 1, - "ALERT_SEVERITY_CRITICAL": 2, - "ALERT_SEVERITY_ERROR": 3, - "ALERT_SEVERITY_LOW": 4, - } -) - -func (x AlertSeverity) Enum() *AlertSeverity { - p := new(AlertSeverity) - *p = x - return p -} - -func (x AlertSeverity) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (AlertSeverity) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v1_alert_severity_proto_enumTypes[0].Descriptor() -} - -func (AlertSeverity) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v1_alert_severity_proto_enumTypes[0] -} - -func (x AlertSeverity) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use AlertSeverity.Descriptor instead. -func (AlertSeverity) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_severity_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogix_alerts_v1_alert_severity_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_alert_severity_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2a, 0xa2, 0x01, 0x0a, 0x0d, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x22, 0x41, 0x4c, 0x45, - 0x52, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x46, 0x4f, - 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, - 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1b, 0x0a, - 0x17, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, - 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x4c, - 0x45, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x5f, 0x53, 0x45, - 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_alert_severity_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_alert_severity_proto_rawDescData = file_com_coralogix_alerts_v1_alert_severity_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_alert_severity_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_alert_severity_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_alert_severity_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_alert_severity_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_alert_severity_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_alert_severity_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogix_alerts_v1_alert_severity_proto_goTypes = []interface{}{ - (AlertSeverity)(0), // 0: com.coralogix.alerts.v1.AlertSeverity -} -var file_com_coralogix_alerts_v1_alert_severity_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_coralogix_alerts_v1_alert_severity_proto_init() } -func file_com_coralogix_alerts_v1_alert_severity_proto_init() { - if File_com_coralogix_alerts_v1_alert_severity_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_alerts_v1_alert_severity_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_alert_severity_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_alert_severity_proto_depIdxs, - EnumInfos: file_com_coralogix_alerts_v1_alert_severity_proto_enumTypes, - }.Build() - File_com_coralogix_alerts_v1_alert_severity_proto = out.File - file_com_coralogix_alerts_v1_alert_severity_proto_rawDesc = nil - file_com_coralogix_alerts_v1_alert_severity_proto_goTypes = nil - file_com_coralogix_alerts_v1_alert_severity_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/alert_snoozed.pb.go b/coralogix/clientset/grpc/alerts/v2/alert_snoozed.pb.go deleted file mode 100644 index d34460c2..00000000 --- a/coralogix/clientset/grpc/alerts/v2/alert_snoozed.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/alerts/v1/alert_snoozed.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" - 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 AlertSnoozed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - Until *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=until,proto3" json:"until,omitempty"` -} - -func (x *AlertSnoozed) Reset() { - *x = AlertSnoozed{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_alert_snoozed_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AlertSnoozed) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AlertSnoozed) ProtoMessage() {} - -func (x *AlertSnoozed) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_alert_snoozed_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 AlertSnoozed.ProtoReflect.Descriptor instead. -func (*AlertSnoozed) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescGZIP(), []int{0} -} - -func (x *AlertSnoozed) GetUserId() *wrapperspb.StringValue { - if x != nil { - return x.UserId - } - return nil -} - -func (x *AlertSnoozed) GetUntil() *timestamppb.Timestamp { - if x != nil { - return x.Until - } - return nil -} - -var File_com_coralogix_alerts_v1_alert_snoozed_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, - 0x73, 0x6e, 0x6f, 0x6f, 0x7a, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 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, 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, 0x77, 0x0a, 0x0c, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x53, 0x6e, 0x6f, 0x6f, 0x7a, 0x65, 0x64, 0x12, 0x35, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 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, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, - 0x0a, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c, 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, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c, - 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescData = file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_alert_snoozed_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_alerts_v1_alert_snoozed_proto_goTypes = []interface{}{ - (*AlertSnoozed)(nil), // 0: com.coralogix.alerts.v1.AlertSnoozed - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp -} -var file_com_coralogix_alerts_v1_alert_snoozed_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.alerts.v1.AlertSnoozed.user_id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.alerts.v1.AlertSnoozed.until:type_name -> google.protobuf.Timestamp - 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_coralogix_alerts_v1_alert_snoozed_proto_init() } -func file_com_coralogix_alerts_v1_alert_snoozed_proto_init() { - if File_com_coralogix_alerts_v1_alert_snoozed_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_alert_snoozed_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlertSnoozed); 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_coralogix_alerts_v1_alert_snoozed_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_alert_snoozed_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_alert_snoozed_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v1_alert_snoozed_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_alert_snoozed_proto = out.File - file_com_coralogix_alerts_v1_alert_snoozed_proto_rawDesc = nil - file_com_coralogix_alerts_v1_alert_snoozed_proto_goTypes = nil - file_com_coralogix_alerts_v1_alert_snoozed_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/date_time.pb.go b/coralogix/clientset/grpc/alerts/v2/date_time.pb.go deleted file mode 100644 index 8830595d..00000000 --- a/coralogix/clientset/grpc/alerts/v2/date_time.pb.go +++ /dev/null @@ -1,243 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/alerts/v1/date_time.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 Date struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` - Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` - Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` -} - -func (x *Date) Reset() { - *x = Date{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_date_time_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Date) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Date) ProtoMessage() {} - -func (x *Date) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_date_time_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 Date.ProtoReflect.Descriptor instead. -func (*Date) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_date_time_proto_rawDescGZIP(), []int{0} -} - -func (x *Date) GetYear() int32 { - if x != nil { - return x.Year - } - return 0 -} - -func (x *Date) GetMonth() int32 { - if x != nil { - return x.Month - } - return 0 -} - -func (x *Date) GetDay() int32 { - if x != nil { - return x.Day - } - return 0 -} - -type Time struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Hours int32 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"` - Minutes int32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"` - Seconds int32 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` -} - -func (x *Time) Reset() { - *x = Time{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_date_time_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Time) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Time) ProtoMessage() {} - -func (x *Time) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_date_time_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 Time.ProtoReflect.Descriptor instead. -func (*Time) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_date_time_proto_rawDescGZIP(), []int{1} -} - -func (x *Time) GetHours() int32 { - if x != nil { - return x.Hours - } - return 0 -} - -func (x *Time) GetMinutes() int32 { - if x != nil { - return x.Minutes - } - return 0 -} - -func (x *Time) GetSeconds() int32 { - if x != nil { - return x.Seconds - } - return 0 -} - -var File_com_coralogix_alerts_v1_date_time_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_date_time_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x22, 0x42, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, - 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x14, - 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, - 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x22, 0x50, 0x0a, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x68, - 0x6f, 0x75, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_date_time_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_date_time_proto_rawDescData = file_com_coralogix_alerts_v1_date_time_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_date_time_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_date_time_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_date_time_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_date_time_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_date_time_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_date_time_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogix_alerts_v1_date_time_proto_goTypes = []interface{}{ - (*Date)(nil), // 0: com.coralogix.alerts.v1.Date - (*Time)(nil), // 1: com.coralogix.alerts.v1.Time -} -var file_com_coralogix_alerts_v1_date_time_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_coralogix_alerts_v1_date_time_proto_init() } -func file_com_coralogix_alerts_v1_date_time_proto_init() { - if File_com_coralogix_alerts_v1_date_time_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_date_time_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Date); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v1_date_time_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Time); 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_coralogix_alerts_v1_date_time_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_date_time_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_date_time_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v1_date_time_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_date_time_proto = out.File - file_com_coralogix_alerts_v1_date_time_proto_rawDesc = nil - file_com_coralogix_alerts_v1_date_time_proto_goTypes = nil - file_com_coralogix_alerts_v1_date_time_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/fields_to_update.pb.go b/coralogix/clientset/grpc/alerts/v2/fields_to_update.pb.go deleted file mode 100644 index d5ef7086..00000000 --- a/coralogix/clientset/grpc/alerts/v2/fields_to_update.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/alerts/v1/fields_to_update.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 FieldsToUpdate int32 - -const ( - FieldsToUpdate_FIELDS_TO_UPDATE_UNSUPPORTED_OR_UNSPECIFIED FieldsToUpdate = 0 - FieldsToUpdate_FIELDS_TO_UPDATE_GROUP_BY FieldsToUpdate = 1 - FieldsToUpdate_FIELDS_TO_UPDATE_ACTIVE_WHEN FieldsToUpdate = 2 -) - -// Enum value maps for FieldsToUpdate. -var ( - FieldsToUpdate_name = map[int32]string{ - 0: "FIELDS_TO_UPDATE_UNSUPPORTED_OR_UNSPECIFIED", - 1: "FIELDS_TO_UPDATE_GROUP_BY", - 2: "FIELDS_TO_UPDATE_ACTIVE_WHEN", - } - FieldsToUpdate_value = map[string]int32{ - "FIELDS_TO_UPDATE_UNSUPPORTED_OR_UNSPECIFIED": 0, - "FIELDS_TO_UPDATE_GROUP_BY": 1, - "FIELDS_TO_UPDATE_ACTIVE_WHEN": 2, - } -) - -func (x FieldsToUpdate) Enum() *FieldsToUpdate { - p := new(FieldsToUpdate) - *p = x - return p -} - -func (x FieldsToUpdate) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FieldsToUpdate) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_alerts_v1_fields_to_update_proto_enumTypes[0].Descriptor() -} - -func (FieldsToUpdate) Type() protoreflect.EnumType { - return &file_com_coralogix_alerts_v1_fields_to_update_proto_enumTypes[0] -} - -func (x FieldsToUpdate) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FieldsToUpdate.Descriptor instead. -func (FieldsToUpdate) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogix_alerts_v1_fields_to_update_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_fields_to_update_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2a, 0x82, 0x01, 0x0a, 0x0e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x54, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x2b, - 0x46, 0x49, 0x45, 0x4c, 0x44, 0x53, 0x5f, 0x54, 0x4f, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x4f, 0x52, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, - 0x19, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x53, 0x5f, 0x54, 0x4f, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, - 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x42, 0x59, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, - 0x46, 0x49, 0x45, 0x4c, 0x44, 0x53, 0x5f, 0x54, 0x4f, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, - 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x57, 0x48, 0x45, 0x4e, 0x10, 0x02, 0x42, 0x04, - 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescData = file_com_coralogix_alerts_v1_fields_to_update_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_fields_to_update_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_fields_to_update_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogix_alerts_v1_fields_to_update_proto_goTypes = []interface{}{ - (FieldsToUpdate)(0), // 0: com.coralogix.alerts.v1.FieldsToUpdate -} -var file_com_coralogix_alerts_v1_fields_to_update_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_coralogix_alerts_v1_fields_to_update_proto_init() } -func file_com_coralogix_alerts_v1_fields_to_update_proto_init() { - if File_com_coralogix_alerts_v1_fields_to_update_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_alerts_v1_fields_to_update_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_fields_to_update_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_fields_to_update_proto_depIdxs, - EnumInfos: file_com_coralogix_alerts_v1_fields_to_update_proto_enumTypes, - }.Build() - File_com_coralogix_alerts_v1_fields_to_update_proto = out.File - file_com_coralogix_alerts_v1_fields_to_update_proto_rawDesc = nil - file_com_coralogix_alerts_v1_fields_to_update_proto_goTypes = nil - file_com_coralogix_alerts_v1_fields_to_update_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/alerts/v2/tracing_alert.pb.go b/coralogix/clientset/grpc/alerts/v2/tracing_alert.pb.go deleted file mode 100644 index b6ac4b30..00000000 --- a/coralogix/clientset/grpc/alerts/v2/tracing_alert.pb.go +++ /dev/null @@ -1,320 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/alerts/v1/tracing_alert.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 TracingAlert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ConditionLatency uint32 `protobuf:"varint,1,opt,name=condition_latency,json=conditionLatency,proto3" json:"condition_latency,omitempty"` - FieldFilters []*FilterData `protobuf:"bytes,2,rep,name=field_filters,json=fieldFilters,proto3" json:"field_filters,omitempty"` - TagFilters []*FilterData `protobuf:"bytes,3,rep,name=tag_filters,json=tagFilters,proto3" json:"tag_filters,omitempty"` -} - -func (x *TracingAlert) Reset() { - *x = TracingAlert{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TracingAlert) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TracingAlert) ProtoMessage() {} - -func (x *TracingAlert) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_tracing_alert_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 TracingAlert.ProtoReflect.Descriptor instead. -func (*TracingAlert) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescGZIP(), []int{0} -} - -func (x *TracingAlert) GetConditionLatency() uint32 { - if x != nil { - return x.ConditionLatency - } - return 0 -} - -func (x *TracingAlert) GetFieldFilters() []*FilterData { - if x != nil { - return x.FieldFilters - } - return nil -} - -func (x *TracingAlert) GetTagFilters() []*FilterData { - if x != nil { - return x.TagFilters - } - return nil -} - -type FilterData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - Filters []*Filters `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` -} - -func (x *FilterData) Reset() { - *x = FilterData{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FilterData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FilterData) ProtoMessage() {} - -func (x *FilterData) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_tracing_alert_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 FilterData.ProtoReflect.Descriptor instead. -func (*FilterData) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescGZIP(), []int{1} -} - -func (x *FilterData) GetField() string { - if x != nil { - return x.Field - } - return "" -} - -func (x *FilterData) GetFilters() []*Filters { - if x != nil { - return x.Filters - } - return nil -} - -type Filters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` -} - -func (x *Filters) Reset() { - *x = Filters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filters) ProtoMessage() {} - -func (x *Filters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_alerts_v1_tracing_alert_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 Filters.ProtoReflect.Descriptor instead. -func (*Filters) Descriptor() ([]byte, []int) { - return file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescGZIP(), []int{2} -} - -func (x *Filters) GetValues() []string { - if x != nil { - return x.Values - } - return nil -} - -func (x *Filters) GetOperator() string { - if x != nil { - return x.Operator - } - return "" -} - -var File_com_coralogix_alerts_v1_tracing_alert_proto protoreflect.FileDescriptor - -var file_com_coralogix_alerts_v1_tracing_alert_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, - 0x67, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, - 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x22, 0xcb, 0x01, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x63, 0x69, - 0x6e, 0x67, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x74, - 0x65, 0x6e, 0x63, 0x79, 0x12, 0x48, 0x0a, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, - 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x44, - 0x0a, 0x0b, 0x74, 0x61, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x46, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x73, 0x22, 0x5e, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, - 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x52, 0x07, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x73, 0x22, 0x3d, 0x0a, 0x07, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescOnce sync.Once - file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescData = file_com_coralogix_alerts_v1_tracing_alert_proto_rawDesc -) - -func file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescGZIP() []byte { - file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescOnce.Do(func() { - file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescData) - }) - return file_com_coralogix_alerts_v1_tracing_alert_proto_rawDescData -} - -var file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogix_alerts_v1_tracing_alert_proto_goTypes = []interface{}{ - (*TracingAlert)(nil), // 0: com.coralogix.alerts.v1.TracingAlert - (*FilterData)(nil), // 1: com.coralogix.alerts.v1.FilterData - (*Filters)(nil), // 2: com.coralogix.alerts.v1.Filters -} -var file_com_coralogix_alerts_v1_tracing_alert_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.alerts.v1.TracingAlert.field_filters:type_name -> com.coralogix.alerts.v1.FilterData - 1, // 1: com.coralogix.alerts.v1.TracingAlert.tag_filters:type_name -> com.coralogix.alerts.v1.FilterData - 2, // 2: com.coralogix.alerts.v1.FilterData.filters:type_name -> com.coralogix.alerts.v1.Filters - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogix_alerts_v1_tracing_alert_proto_init() } -func file_com_coralogix_alerts_v1_tracing_alert_proto_init() { - if File_com_coralogix_alerts_v1_tracing_alert_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TracingAlert); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Filters); 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_coralogix_alerts_v1_tracing_alert_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_alerts_v1_tracing_alert_proto_goTypes, - DependencyIndexes: file_com_coralogix_alerts_v1_tracing_alert_proto_depIdxs, - MessageInfos: file_com_coralogix_alerts_v1_tracing_alert_proto_msgTypes, - }.Build() - File_com_coralogix_alerts_v1_tracing_alert_proto = out.File - file_com_coralogix_alerts_v1_tracing_alert_proto_rawDesc = nil - file_com_coralogix_alerts_v1_tracing_alert_proto_goTypes = nil - file_com_coralogix_alerts_v1_tracing_alert_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/apikeys/api_keys.pb.go b/coralogix/clientset/grpc/apikeys/api_keys.pb.go deleted file mode 100644 index 8cd1691a..00000000 --- a/coralogix/clientset/grpc/apikeys/api_keys.pb.go +++ /dev/null @@ -1,1309 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: com/coralogixapis/aaa/apikeys/v3/api_keys.proto - -package v3 - -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 Owner struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Owner: - // - // *Owner_UserId - // *Owner_TeamId - // *Owner_OrganisationId - Owner isOwner_Owner `protobuf_oneof:"owner"` -} - -func (x *Owner) Reset() { - *x = Owner{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Owner) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Owner) ProtoMessage() {} - -func (x *Owner) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 Owner.ProtoReflect.Descriptor instead. -func (*Owner) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{0} -} - -func (m *Owner) GetOwner() isOwner_Owner { - if m != nil { - return m.Owner - } - return nil -} - -func (x *Owner) GetUserId() string { - if x, ok := x.GetOwner().(*Owner_UserId); ok { - return x.UserId - } - return "" -} - -func (x *Owner) GetTeamId() uint32 { - if x, ok := x.GetOwner().(*Owner_TeamId); ok { - return x.TeamId - } - return 0 -} - -func (x *Owner) GetOrganisationId() string { - if x, ok := x.GetOwner().(*Owner_OrganisationId); ok { - return x.OrganisationId - } - return "" -} - -type isOwner_Owner interface { - isOwner_Owner() -} - -type Owner_UserId struct { - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"` -} - -type Owner_TeamId struct { - TeamId uint32 `protobuf:"varint,2,opt,name=team_id,json=teamId,proto3,oneof"` -} - -type Owner_OrganisationId struct { - OrganisationId string `protobuf:"bytes,3,opt,name=organisation_id,json=organisationId,proto3,oneof"` -} - -func (*Owner_UserId) isOwner_Owner() {} - -func (*Owner_TeamId) isOwner_Owner() {} - -func (*Owner_OrganisationId) isOwner_Owner() {} - -type KeyInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Owner *Owner `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` - Hashed bool `protobuf:"varint,4,opt,name=hashed,proto3" json:"hashed,omitempty"` - KeyPermissions *KeyInfo_KeyPermissions `protobuf:"bytes,5,opt,name=key_permissions,json=keyPermissions,proto3" json:"key_permissions,omitempty"` - Value *string `protobuf:"bytes,6,opt,name=value,proto3,oneof" json:"value,omitempty"` -} - -func (x *KeyInfo) Reset() { - *x = KeyInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeyInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeyInfo) ProtoMessage() {} - -func (x *KeyInfo) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 KeyInfo.ProtoReflect.Descriptor instead. -func (*KeyInfo) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{1} -} - -func (x *KeyInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *KeyInfo) GetOwner() *Owner { - if x != nil { - return x.Owner - } - return nil -} - -func (x *KeyInfo) GetActive() bool { - if x != nil { - return x.Active - } - return false -} - -func (x *KeyInfo) GetHashed() bool { - if x != nil { - return x.Hashed - } - return false -} - -func (x *KeyInfo) GetKeyPermissions() *KeyInfo_KeyPermissions { - if x != nil { - return x.KeyPermissions - } - return nil -} - -func (x *KeyInfo) GetValue() string { - if x != nil && x.Value != nil { - return *x.Value - } - return "" -} - -type PresetInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *PresetInfo) Reset() { - *x = PresetInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PresetInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PresetInfo) ProtoMessage() {} - -func (x *PresetInfo) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 PresetInfo.ProtoReflect.Descriptor instead. -func (*PresetInfo) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{2} -} - -func (x *PresetInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *PresetInfo) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -type UpdateApiKeyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - NewName *string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"` - IsActive *bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"` - Presets *UpdateApiKeyRequest_Presets `protobuf:"bytes,4,opt,name=presets,proto3,oneof" json:"presets,omitempty"` - Permissions *UpdateApiKeyRequest_Permissions `protobuf:"bytes,5,opt,name=permissions,proto3,oneof" json:"permissions,omitempty"` -} - -func (x *UpdateApiKeyRequest) Reset() { - *x = UpdateApiKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateApiKeyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateApiKeyRequest) ProtoMessage() {} - -func (x *UpdateApiKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 UpdateApiKeyRequest.ProtoReflect.Descriptor instead. -func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{3} -} - -func (x *UpdateApiKeyRequest) GetKeyId() string { - if x != nil { - return x.KeyId - } - return "" -} - -func (x *UpdateApiKeyRequest) GetNewName() string { - if x != nil && x.NewName != nil { - return *x.NewName - } - return "" -} - -func (x *UpdateApiKeyRequest) GetIsActive() bool { - if x != nil && x.IsActive != nil { - return *x.IsActive - } - return false -} - -func (x *UpdateApiKeyRequest) GetPresets() *UpdateApiKeyRequest_Presets { - if x != nil { - return x.Presets - } - return nil -} - -func (x *UpdateApiKeyRequest) GetPermissions() *UpdateApiKeyRequest_Permissions { - if x != nil { - return x.Permissions - } - return nil -} - -type UpdateApiKeyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UpdateApiKeyResponse) Reset() { - *x = UpdateApiKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateApiKeyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateApiKeyResponse) ProtoMessage() {} - -func (x *UpdateApiKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 UpdateApiKeyResponse.ProtoReflect.Descriptor instead. -func (*UpdateApiKeyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{4} -} - -type DeleteApiKeyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` -} - -func (x *DeleteApiKeyRequest) Reset() { - *x = DeleteApiKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteApiKeyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteApiKeyRequest) ProtoMessage() {} - -func (x *DeleteApiKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 DeleteApiKeyRequest.ProtoReflect.Descriptor instead. -func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{5} -} - -func (x *DeleteApiKeyRequest) GetKeyId() string { - if x != nil { - return x.KeyId - } - return "" -} - -type DeleteApiKeyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteApiKeyResponse) Reset() { - *x = DeleteApiKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteApiKeyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteApiKeyResponse) ProtoMessage() {} - -func (x *DeleteApiKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 DeleteApiKeyResponse.ProtoReflect.Descriptor instead. -func (*DeleteApiKeyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{6} -} - -type CreateApiKeyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Owner *Owner `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - KeyPermissions *CreateApiKeyRequest_KeyPermissions `protobuf:"bytes,3,opt,name=key_permissions,json=keyPermissions,proto3" json:"key_permissions,omitempty"` - Hashed bool `protobuf:"varint,4,opt,name=hashed,proto3" json:"hashed,omitempty"` -} - -func (x *CreateApiKeyRequest) Reset() { - *x = CreateApiKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateApiKeyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateApiKeyRequest) ProtoMessage() {} - -func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 CreateApiKeyRequest.ProtoReflect.Descriptor instead. -func (*CreateApiKeyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{7} -} - -func (x *CreateApiKeyRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *CreateApiKeyRequest) GetOwner() *Owner { - if x != nil { - return x.Owner - } - return nil -} - -func (x *CreateApiKeyRequest) GetKeyPermissions() *CreateApiKeyRequest_KeyPermissions { - if x != nil { - return x.KeyPermissions - } - return nil -} - -func (x *CreateApiKeyRequest) GetHashed() bool { - if x != nil { - return x.Hashed - } - return false -} - -type CreateApiKeyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *CreateApiKeyResponse) Reset() { - *x = CreateApiKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateApiKeyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateApiKeyResponse) ProtoMessage() {} - -func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 CreateApiKeyResponse.ProtoReflect.Descriptor instead. -func (*CreateApiKeyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{8} -} - -func (x *CreateApiKeyResponse) GetKeyId() string { - if x != nil { - return x.KeyId - } - return "" -} - -func (x *CreateApiKeyResponse) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *CreateApiKeyResponse) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -type GetApiKeyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` -} - -func (x *GetApiKeyRequest) Reset() { - *x = GetApiKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetApiKeyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetApiKeyRequest) ProtoMessage() {} - -func (x *GetApiKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 GetApiKeyRequest.ProtoReflect.Descriptor instead. -func (*GetApiKeyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{9} -} - -func (x *GetApiKeyRequest) GetKeyId() string { - if x != nil { - return x.KeyId - } - return "" -} - -type GetApiKeyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyInfo *KeyInfo `protobuf:"bytes,1,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"` -} - -func (x *GetApiKeyResponse) Reset() { - *x = GetApiKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetApiKeyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetApiKeyResponse) ProtoMessage() {} - -func (x *GetApiKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 GetApiKeyResponse.ProtoReflect.Descriptor instead. -func (*GetApiKeyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{10} -} - -func (x *GetApiKeyResponse) GetKeyInfo() *KeyInfo { - if x != nil { - return x.KeyInfo - } - return nil -} - -type KeyInfo_KeyPermissions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Presets []*PresetInfo `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"` - Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *KeyInfo_KeyPermissions) Reset() { - *x = KeyInfo_KeyPermissions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeyInfo_KeyPermissions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeyInfo_KeyPermissions) ProtoMessage() {} - -func (x *KeyInfo_KeyPermissions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 KeyInfo_KeyPermissions.ProtoReflect.Descriptor instead. -func (*KeyInfo_KeyPermissions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *KeyInfo_KeyPermissions) GetPresets() []*PresetInfo { - if x != nil { - return x.Presets - } - return nil -} - -func (x *KeyInfo_KeyPermissions) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -type UpdateApiKeyRequest_Presets struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Presets []string `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"` -} - -func (x *UpdateApiKeyRequest_Presets) Reset() { - *x = UpdateApiKeyRequest_Presets{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateApiKeyRequest_Presets) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateApiKeyRequest_Presets) ProtoMessage() {} - -func (x *UpdateApiKeyRequest_Presets) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 UpdateApiKeyRequest_Presets.ProtoReflect.Descriptor instead. -func (*UpdateApiKeyRequest_Presets) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *UpdateApiKeyRequest_Presets) GetPresets() []string { - if x != nil { - return x.Presets - } - return nil -} - -type UpdateApiKeyRequest_Permissions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *UpdateApiKeyRequest_Permissions) Reset() { - *x = UpdateApiKeyRequest_Permissions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateApiKeyRequest_Permissions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateApiKeyRequest_Permissions) ProtoMessage() {} - -func (x *UpdateApiKeyRequest_Permissions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 UpdateApiKeyRequest_Permissions.ProtoReflect.Descriptor instead. -func (*UpdateApiKeyRequest_Permissions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{3, 1} -} - -func (x *UpdateApiKeyRequest_Permissions) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -type CreateApiKeyRequest_KeyPermissions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Presets []string `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"` - Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *CreateApiKeyRequest_KeyPermissions) Reset() { - *x = CreateApiKeyRequest_KeyPermissions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateApiKeyRequest_KeyPermissions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateApiKeyRequest_KeyPermissions) ProtoMessage() {} - -func (x *CreateApiKeyRequest_KeyPermissions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_apikeys_v3_api_keys_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 CreateApiKeyRequest_KeyPermissions.ProtoReflect.Descriptor instead. -func (*CreateApiKeyRequest_KeyPermissions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP(), []int{7, 0} -} - -func (x *CreateApiKeyRequest_KeyPermissions) GetPresets() []string { - if x != nil { - return x.Presets - } - return nil -} - -func (x *CreateApiKeyRequest_KeyPermissions) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -var File_com_coralogixapis_aaa_apikeys_v3_api_keys_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x61, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2f, - 0x76, 0x33, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, - 0x2e, 0x76, 0x33, 0x22, 0x71, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, - 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x07, 0x0a, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x90, 0x03, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, - 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, - 0x61, 0x73, 0x68, 0x65, 0x64, 0x12, 0x61, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x5f, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 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, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, - 0x33, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4b, 0x65, 0x79, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x88, 0x01, 0x01, 0x1a, 0x7a, 0x0a, 0x0e, 0x4b, 0x65, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, - 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x12, 0x20, 0x0a, - 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x08, 0x0a, 0x06, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x42, 0x0a, 0x0a, 0x50, 0x72, 0x65, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc3, 0x03, - 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, - 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, - 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, - 0x01, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x88, 0x01, 0x01, 0x12, 0x5c, - 0x0a, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x18, 0x04, 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, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, - 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x48, 0x02, - 0x52, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x88, 0x01, 0x01, 0x12, 0x68, 0x0a, 0x0b, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, - 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x03, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x88, 0x01, 0x01, 0x1a, 0x23, 0x0a, 0x07, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x1a, 0x2f, 0x0a, 0x0b, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0b, 0x0a, 0x09, - 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x69, 0x73, - 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x72, 0x65, 0x73, - 0x65, 0x74, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x13, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0xbd, 0x02, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x6d, 0x0a, 0x0f, - 0x6b, 0x65, 0x79, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x03, 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, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, - 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, - 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4b, 0x65, 0x79, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x6b, 0x65, 0x79, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, - 0x61, 0x73, 0x68, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x73, - 0x68, 0x65, 0x64, 0x1a, 0x4c, 0x0a, 0x0e, 0x4b, 0x65, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x74, 0x73, 0x12, - 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0x57, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x29, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, - 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x59, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x6b, 0x65, - 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, - 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, - 0x32, 0x8b, 0x04, 0x0a, 0x0e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x7f, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, - 0x4b, 0x65, 0x79, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, - 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, - 0x79, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, - 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, - 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x0c, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x35, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, - 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, - 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x35, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x61, 0x70, 0x69, - 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, - 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescOnce sync.Once - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescData = file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDesc -) - -func file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescGZIP() []byte { - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescData) - }) - return file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDescData -} - -var file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_goTypes = []interface{}{ - (*Owner)(nil), // 0: com.coralogixapis.aaa.apikeys.v3.Owner - (*KeyInfo)(nil), // 1: com.coralogixapis.aaa.apikeys.v3.KeyInfo - (*PresetInfo)(nil), // 2: com.coralogixapis.aaa.apikeys.v3.PresetInfo - (*UpdateApiKeyRequest)(nil), // 3: com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest - (*UpdateApiKeyResponse)(nil), // 4: com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyResponse - (*DeleteApiKeyRequest)(nil), // 5: com.coralogixapis.aaa.apikeys.v3.DeleteApiKeyRequest - (*DeleteApiKeyResponse)(nil), // 6: com.coralogixapis.aaa.apikeys.v3.DeleteApiKeyResponse - (*CreateApiKeyRequest)(nil), // 7: com.coralogixapis.aaa.apikeys.v3.CreateApiKeyRequest - (*CreateApiKeyResponse)(nil), // 8: com.coralogixapis.aaa.apikeys.v3.CreateApiKeyResponse - (*GetApiKeyRequest)(nil), // 9: com.coralogixapis.aaa.apikeys.v3.GetApiKeyRequest - (*GetApiKeyResponse)(nil), // 10: com.coralogixapis.aaa.apikeys.v3.GetApiKeyResponse - (*KeyInfo_KeyPermissions)(nil), // 11: com.coralogixapis.aaa.apikeys.v3.KeyInfo.KeyPermissions - (*UpdateApiKeyRequest_Presets)(nil), // 12: com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest.Presets - (*UpdateApiKeyRequest_Permissions)(nil), // 13: com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest.Permissions - (*CreateApiKeyRequest_KeyPermissions)(nil), // 14: com.coralogixapis.aaa.apikeys.v3.CreateApiKeyRequest.KeyPermissions -} -var file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_depIdxs = []int32{ - 0, // 0: com.coralogixapis.aaa.apikeys.v3.KeyInfo.owner:type_name -> com.coralogixapis.aaa.apikeys.v3.Owner - 11, // 1: com.coralogixapis.aaa.apikeys.v3.KeyInfo.key_permissions:type_name -> com.coralogixapis.aaa.apikeys.v3.KeyInfo.KeyPermissions - 12, // 2: com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest.presets:type_name -> com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest.Presets - 13, // 3: com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest.permissions:type_name -> com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest.Permissions - 0, // 4: com.coralogixapis.aaa.apikeys.v3.CreateApiKeyRequest.owner:type_name -> com.coralogixapis.aaa.apikeys.v3.Owner - 14, // 5: com.coralogixapis.aaa.apikeys.v3.CreateApiKeyRequest.key_permissions:type_name -> com.coralogixapis.aaa.apikeys.v3.CreateApiKeyRequest.KeyPermissions - 1, // 6: com.coralogixapis.aaa.apikeys.v3.GetApiKeyResponse.key_info:type_name -> com.coralogixapis.aaa.apikeys.v3.KeyInfo - 2, // 7: com.coralogixapis.aaa.apikeys.v3.KeyInfo.KeyPermissions.presets:type_name -> com.coralogixapis.aaa.apikeys.v3.PresetInfo - 7, // 8: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.CreateApiKey:input_type -> com.coralogixapis.aaa.apikeys.v3.CreateApiKeyRequest - 9, // 9: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.GetApiKey:input_type -> com.coralogixapis.aaa.apikeys.v3.GetApiKeyRequest - 5, // 10: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.DeleteApiKey:input_type -> com.coralogixapis.aaa.apikeys.v3.DeleteApiKeyRequest - 3, // 11: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.UpdateApiKey:input_type -> com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyRequest - 8, // 12: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.CreateApiKey:output_type -> com.coralogixapis.aaa.apikeys.v3.CreateApiKeyResponse - 10, // 13: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.GetApiKey:output_type -> com.coralogixapis.aaa.apikeys.v3.GetApiKeyResponse - 6, // 14: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.DeleteApiKey:output_type -> com.coralogixapis.aaa.apikeys.v3.DeleteApiKeyResponse - 4, // 15: com.coralogixapis.aaa.apikeys.v3.ApiKeysService.UpdateApiKey:output_type -> com.coralogixapis.aaa.apikeys.v3.UpdateApiKeyResponse - 12, // [12:16] is the sub-list for method output_type - 8, // [8:12] 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_aaa_apikeys_v3_api_keys_proto_init() } -func file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_init() { - if File_com_coralogixapis_aaa_apikeys_v3_api_keys_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Owner); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PresetInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateApiKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateApiKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteApiKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteApiKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateApiKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateApiKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetApiKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetApiKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyInfo_KeyPermissions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateApiKeyRequest_Presets); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateApiKeyRequest_Permissions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateApiKeyRequest_KeyPermissions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*Owner_UserId)(nil), - (*Owner_TeamId)(nil), - (*Owner_OrganisationId)(nil), - } - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes[3].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDesc, - NumEnums: 0, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_depIdxs, - MessageInfos: file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_msgTypes, - }.Build() - File_com_coralogixapis_aaa_apikeys_v3_api_keys_proto = out.File - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_rawDesc = nil - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_goTypes = nil - file_com_coralogixapis_aaa_apikeys_v3_api_keys_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/apikeys/api_keys_grpc.pb.go b/coralogix/clientset/grpc/apikeys/api_keys_grpc.pb.go deleted file mode 100644 index 28225232..00000000 --- a/coralogix/clientset/grpc/apikeys/api_keys_grpc.pb.go +++ /dev/null @@ -1,220 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 -// source: com/coralogixapis/aaa/apikeys/v3/api_keys.proto - -package v3 - -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 - -const ( - ApiKeysService_CreateApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/CreateApiKey" - ApiKeysService_GetApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/GetApiKey" - ApiKeysService_DeleteApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/DeleteApiKey" - ApiKeysService_UpdateApiKey_FullMethodName = "/com.coralogixapis.aaa.apikeys.v3.ApiKeysService/UpdateApiKey" -) - -// ApiKeysServiceClient is the client API for ApiKeysService 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 ApiKeysServiceClient interface { - CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) - GetApiKey(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*GetApiKeyResponse, error) - DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) - UpdateApiKey(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*UpdateApiKeyResponse, error) -} - -type apiKeysServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewApiKeysServiceClient(cc grpc.ClientConnInterface) ApiKeysServiceClient { - return &apiKeysServiceClient{cc} -} - -func (c *apiKeysServiceClient) CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) { - out := new(CreateApiKeyResponse) - err := c.cc.Invoke(ctx, ApiKeysService_CreateApiKey_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *apiKeysServiceClient) GetApiKey(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*GetApiKeyResponse, error) { - out := new(GetApiKeyResponse) - err := c.cc.Invoke(ctx, ApiKeysService_GetApiKey_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *apiKeysServiceClient) DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) { - out := new(DeleteApiKeyResponse) - err := c.cc.Invoke(ctx, ApiKeysService_DeleteApiKey_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *apiKeysServiceClient) UpdateApiKey(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*UpdateApiKeyResponse, error) { - out := new(UpdateApiKeyResponse) - err := c.cc.Invoke(ctx, ApiKeysService_UpdateApiKey_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ApiKeysServiceServer is the server API for ApiKeysService service. -// All implementations must embed UnimplementedApiKeysServiceServer -// for forward compatibility -type ApiKeysServiceServer interface { - CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) - GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error) - DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) - UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error) - mustEmbedUnimplementedApiKeysServiceServer() -} - -// UnimplementedApiKeysServiceServer must be embedded to have forward compatible implementations. -type UnimplementedApiKeysServiceServer struct { -} - -func (UnimplementedApiKeysServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateApiKey not implemented") -} -func (UnimplementedApiKeysServiceServer) GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetApiKey not implemented") -} -func (UnimplementedApiKeysServiceServer) DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteApiKey not implemented") -} -func (UnimplementedApiKeysServiceServer) UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateApiKey not implemented") -} -func (UnimplementedApiKeysServiceServer) mustEmbedUnimplementedApiKeysServiceServer() {} - -// UnsafeApiKeysServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ApiKeysServiceServer will -// result in compilation errors. -type UnsafeApiKeysServiceServer interface { - mustEmbedUnimplementedApiKeysServiceServer() -} - -func RegisterApiKeysServiceServer(s grpc.ServiceRegistrar, srv ApiKeysServiceServer) { - s.RegisterService(&ApiKeysService_ServiceDesc, srv) -} - -func _ApiKeysService_CreateApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApiKeysServiceServer).CreateApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ApiKeysService_CreateApiKey_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApiKeysServiceServer).CreateApiKey(ctx, req.(*CreateApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApiKeysService_GetApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApiKeysServiceServer).GetApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ApiKeysService_GetApiKey_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApiKeysServiceServer).GetApiKey(ctx, req.(*GetApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApiKeysService_DeleteApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApiKeysServiceServer).DeleteApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ApiKeysService_DeleteApiKey_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApiKeysServiceServer).DeleteApiKey(ctx, req.(*DeleteApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApiKeysService_UpdateApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApiKeysServiceServer).UpdateApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ApiKeysService_UpdateApiKey_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApiKeysServiceServer).UpdateApiKey(ctx, req.(*UpdateApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ApiKeysService_ServiceDesc is the grpc.ServiceDesc for ApiKeysService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ApiKeysService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.aaa.apikeys.v3.ApiKeysService", - HandlerType: (*ApiKeysServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateApiKey", - Handler: _ApiKeysService_CreateApiKey_Handler, - }, - { - MethodName: "GetApiKey", - Handler: _ApiKeysService_GetApiKey_Handler, - }, - { - MethodName: "DeleteApiKey", - Handler: _ApiKeysService_DeleteApiKey_Handler, - }, - { - MethodName: "UpdateApiKey", - Handler: _ApiKeysService_UpdateApiKey_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/aaa/apikeys/v3/api_keys.proto", -} diff --git a/coralogix/clientset/grpc/archive-logs/target.pb.go b/coralogix/clientset/grpc/archive-logs/target.pb.go deleted file mode 100644 index 53139137..00000000 --- a/coralogix/clientset/grpc/archive-logs/target.pb.go +++ /dev/null @@ -1,203 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/archive/v1/target.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 Target struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ArchivingFormatId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=archiving_format_id,json=archivingFormatId,proto3" json:"archiving_format_id,omitempty"` - IsActive *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` - Region *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Bucket *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` - EnableTags *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=enable_tags,json=enableTags,proto3" json:"enable_tags,omitempty"` -} - -func (x *Target) Reset() { - *x = Target{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Target) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Target) ProtoMessage() {} - -func (x *Target) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 Target.ProtoReflect.Descriptor instead. -func (*Target) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_proto_rawDescGZIP(), []int{0} -} - -func (x *Target) GetArchivingFormatId() *wrapperspb.StringValue { - if x != nil { - return x.ArchivingFormatId - } - return nil -} - -func (x *Target) GetIsActive() *wrapperspb.BoolValue { - if x != nil { - return x.IsActive - } - return nil -} - -func (x *Target) GetRegion() *wrapperspb.StringValue { - if x != nil { - return x.Region - } - return nil -} - -func (x *Target) GetBucket() *wrapperspb.StringValue { - if x != nil { - return x.Bucket - } - return nil -} - -func (x *Target) GetEnableTags() *wrapperspb.BoolValue { - if x != nil { - return x.EnableTags - } - return nil -} - -var File_com_coralogix_archive_v1_target_proto protoreflect.FileDescriptor - -var file_com_coralogix_archive_v1_target_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, - 0x31, 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, 0xb8, 0x02, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x4c, 0x0a, 0x13, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 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, 0x11, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x69, - 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73, - 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 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, 0x69, 0x73, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x72, 0x65, 0x67, 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, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x06, 0x62, 0x75, 0x63, - 0x6b, 0x65, 0x74, 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, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, - 0x3b, 0x0a, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 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, 0x0a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x42, 0x03, 0x5a, 0x01, - 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_archive_v1_target_proto_rawDescOnce sync.Once - file_com_coralogix_archive_v1_target_proto_rawDescData = file_com_coralogix_archive_v1_target_proto_rawDesc -) - -func file_com_coralogix_archive_v1_target_proto_rawDescGZIP() []byte { - file_com_coralogix_archive_v1_target_proto_rawDescOnce.Do(func() { - file_com_coralogix_archive_v1_target_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_archive_v1_target_proto_rawDescData) - }) - return file_com_coralogix_archive_v1_target_proto_rawDescData -} - -var file_com_coralogix_archive_v1_target_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_archive_v1_target_proto_goTypes = []interface{}{ - (*Target)(nil), // 0: com.coralogix.archive.v1.Target - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue -} -var file_com_coralogix_archive_v1_target_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.archive.v1.Target.archiving_format_id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.archive.v1.Target.is_active:type_name -> google.protobuf.BoolValue - 1, // 2: com.coralogix.archive.v1.Target.region:type_name -> google.protobuf.StringValue - 1, // 3: com.coralogix.archive.v1.Target.bucket:type_name -> google.protobuf.StringValue - 2, // 4: com.coralogix.archive.v1.Target.enable_tags:type_name -> google.protobuf.BoolValue - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_com_coralogix_archive_v1_target_proto_init() } -func file_com_coralogix_archive_v1_target_proto_init() { - if File_com_coralogix_archive_v1_target_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_archive_v1_target_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Target); 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_coralogix_archive_v1_target_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_archive_v1_target_proto_goTypes, - DependencyIndexes: file_com_coralogix_archive_v1_target_proto_depIdxs, - MessageInfos: file_com_coralogix_archive_v1_target_proto_msgTypes, - }.Build() - File_com_coralogix_archive_v1_target_proto = out.File - file_com_coralogix_archive_v1_target_proto_rawDesc = nil - file_com_coralogix_archive_v1_target_proto_goTypes = nil - file_com_coralogix_archive_v1_target_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/archive-logs/target_service.pb.go b/coralogix/clientset/grpc/archive-logs/target_service.pb.go deleted file mode 100644 index 049459b0..00000000 --- a/coralogix/clientset/grpc/archive-logs/target_service.pb.go +++ /dev/null @@ -1,608 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/archive/v1/target_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 IsArchiveConfiguredRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CompanyIds []uint32 `protobuf:"varint,1,rep,packed,name=company_ids,json=companyIds,proto3" json:"company_ids,omitempty"` -} - -func (x *IsArchiveConfiguredRequest) Reset() { - *x = IsArchiveConfiguredRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsArchiveConfiguredRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsArchiveConfiguredRequest) ProtoMessage() {} - -func (x *IsArchiveConfiguredRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 IsArchiveConfiguredRequest.ProtoReflect.Descriptor instead. -func (*IsArchiveConfiguredRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP(), []int{0} -} - -func (x *IsArchiveConfiguredRequest) GetCompanyIds() []uint32 { - if x != nil { - return x.CompanyIds - } - return nil -} - -type IsArchiveConfiguredResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsConfigured bool `protobuf:"varint,1,opt,name=is_configured,json=isConfigured,proto3" json:"is_configured,omitempty"` - CompanyArchiveConfigs []*CompanyArchiveConfig `protobuf:"bytes,2,rep,name=company_archive_configs,json=companyArchiveConfigs,proto3" json:"company_archive_configs,omitempty"` -} - -func (x *IsArchiveConfiguredResponse) Reset() { - *x = IsArchiveConfiguredResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IsArchiveConfiguredResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IsArchiveConfiguredResponse) ProtoMessage() {} - -func (x *IsArchiveConfiguredResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 IsArchiveConfiguredResponse.ProtoReflect.Descriptor instead. -func (*IsArchiveConfiguredResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP(), []int{1} -} - -func (x *IsArchiveConfiguredResponse) GetIsConfigured() bool { - if x != nil { - return x.IsConfigured - } - return false -} - -func (x *IsArchiveConfiguredResponse) GetCompanyArchiveConfigs() []*CompanyArchiveConfig { - if x != nil { - return x.CompanyArchiveConfigs - } - return nil -} - -type CompanyArchiveConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CompanyId uint32 `protobuf:"varint,1,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` - ArchiveConfigured bool `protobuf:"varint,2,opt,name=archive_configured,json=archiveConfigured,proto3" json:"archive_configured,omitempty"` -} - -func (x *CompanyArchiveConfig) Reset() { - *x = CompanyArchiveConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CompanyArchiveConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CompanyArchiveConfig) ProtoMessage() {} - -func (x *CompanyArchiveConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 CompanyArchiveConfig.ProtoReflect.Descriptor instead. -func (*CompanyArchiveConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP(), []int{2} -} - -func (x *CompanyArchiveConfig) GetCompanyId() uint32 { - if x != nil { - return x.CompanyId - } - return 0 -} - -func (x *CompanyArchiveConfig) GetArchiveConfigured() bool { - if x != nil { - return x.ArchiveConfigured - } - return false -} - -type GetTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetTargetRequest) Reset() { - *x = GetTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTargetRequest) ProtoMessage() {} - -func (x *GetTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 GetTargetRequest.ProtoReflect.Descriptor instead. -func (*GetTargetRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP(), []int{3} -} - -type GetTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` -} - -func (x *GetTargetResponse) Reset() { - *x = GetTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTargetResponse) ProtoMessage() {} - -func (x *GetTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 GetTargetResponse.ProtoReflect.Descriptor instead. -func (*GetTargetResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP(), []int{4} -} - -func (x *GetTargetResponse) GetTarget() *Target { - if x != nil { - return x.Target - } - return nil -} - -type SetTargetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Bucket *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` - IsActive *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` -} - -func (x *SetTargetRequest) Reset() { - *x = SetTargetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetTargetRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetTargetRequest) ProtoMessage() {} - -func (x *SetTargetRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 SetTargetRequest.ProtoReflect.Descriptor instead. -func (*SetTargetRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP(), []int{5} -} - -func (x *SetTargetRequest) GetBucket() *wrapperspb.StringValue { - if x != nil { - return x.Bucket - } - return nil -} - -func (x *SetTargetRequest) GetIsActive() *wrapperspb.BoolValue { - if x != nil { - return x.IsActive - } - return nil -} - -type SetTargetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` -} - -func (x *SetTargetResponse) Reset() { - *x = SetTargetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_target_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetTargetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetTargetResponse) ProtoMessage() {} - -func (x *SetTargetResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_target_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 SetTargetResponse.ProtoReflect.Descriptor instead. -func (*SetTargetResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP(), []int{6} -} - -func (x *SetTargetResponse) GetTarget() *Target { - if x != nil { - return x.Target - } - return nil -} - -var File_com_coralogix_archive_v1_target_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_archive_v1_target_service_proto_rawDesc = []byte{ - 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 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, 0x1a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, - 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x1a, 0x49, 0x73, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, - 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x63, - 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x1b, 0x49, 0x73, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0c, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x12, 0x66, - 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, - 0x6e, 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x64, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, - 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, - 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x2d, 0x0a, - 0x12, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x22, 0x12, 0x0a, 0x10, - 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x4d, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, - 0x81, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 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, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73, - 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 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, 0x69, 0x73, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x22, 0x4d, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x32, 0xa1, 0x03, 0x0a, 0x0d, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x13, 0x49, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x12, 0x34, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, - 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xc2, 0xb8, 0x02, 0x17, 0x0a, - 0x15, 0x49, 0x73, 0x20, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x20, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x12, 0x76, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x12, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0xc2, 0xb8, - 0x02, 0x0c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x20, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x76, - 0x0a, 0x09, 0x53, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2a, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0xc2, 0xb8, 0x02, 0x0c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x20, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_archive_v1_target_service_proto_rawDescOnce sync.Once - file_com_coralogix_archive_v1_target_service_proto_rawDescData = file_com_coralogix_archive_v1_target_service_proto_rawDesc -) - -func file_com_coralogix_archive_v1_target_service_proto_rawDescGZIP() []byte { - file_com_coralogix_archive_v1_target_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_archive_v1_target_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_archive_v1_target_service_proto_rawDescData) - }) - return file_com_coralogix_archive_v1_target_service_proto_rawDescData -} - -var file_com_coralogix_archive_v1_target_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_com_coralogix_archive_v1_target_service_proto_goTypes = []interface{}{ - (*IsArchiveConfiguredRequest)(nil), // 0: com.coralogix.archive.v1.IsArchiveConfiguredRequest - (*IsArchiveConfiguredResponse)(nil), // 1: com.coralogix.archive.v1.IsArchiveConfiguredResponse - (*CompanyArchiveConfig)(nil), // 2: com.coralogix.archive.v1.CompanyArchiveConfig - (*GetTargetRequest)(nil), // 3: com.coralogix.archive.v1.GetTargetRequest - (*GetTargetResponse)(nil), // 4: com.coralogix.archive.v1.GetTargetResponse - (*SetTargetRequest)(nil), // 5: com.coralogix.archive.v1.SetTargetRequest - (*SetTargetResponse)(nil), // 6: com.coralogix.archive.v1.SetTargetResponse - (*Target)(nil), // 7: com.coralogix.archive.v1.Target - (*wrapperspb.StringValue)(nil), // 8: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 9: google.protobuf.BoolValue -} -var file_com_coralogix_archive_v1_target_service_proto_depIdxs = []int32{ - 2, // 0: com.coralogix.archive.v1.IsArchiveConfiguredResponse.company_archive_configs:type_name -> com.coralogix.archive.v1.CompanyArchiveConfig - 7, // 1: com.coralogix.archive.v1.GetTargetResponse.target:type_name -> com.coralogix.archive.v1.Target - 8, // 2: com.coralogix.archive.v1.SetTargetRequest.bucket:type_name -> google.protobuf.StringValue - 9, // 3: com.coralogix.archive.v1.SetTargetRequest.is_active:type_name -> google.protobuf.BoolValue - 7, // 4: com.coralogix.archive.v1.SetTargetResponse.target:type_name -> com.coralogix.archive.v1.Target - 0, // 5: com.coralogix.archive.v1.TargetService.IsArchiveConfigured:input_type -> com.coralogix.archive.v1.IsArchiveConfiguredRequest - 3, // 6: com.coralogix.archive.v1.TargetService.GetTarget:input_type -> com.coralogix.archive.v1.GetTargetRequest - 5, // 7: com.coralogix.archive.v1.TargetService.SetTarget:input_type -> com.coralogix.archive.v1.SetTargetRequest - 1, // 8: com.coralogix.archive.v1.TargetService.IsArchiveConfigured:output_type -> com.coralogix.archive.v1.IsArchiveConfiguredResponse - 4, // 9: com.coralogix.archive.v1.TargetService.GetTarget:output_type -> com.coralogix.archive.v1.GetTargetResponse - 6, // 10: com.coralogix.archive.v1.TargetService.SetTarget:output_type -> com.coralogix.archive.v1.SetTargetResponse - 8, // [8:11] is the sub-list for method output_type - 5, // [5:8] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_com_coralogix_archive_v1_target_service_proto_init() } -func file_com_coralogix_archive_v1_target_service_proto_init() { - if File_com_coralogix_archive_v1_target_service_proto != nil { - return - } - //file_com_coralogix_archive_v1_audit_log_proto_init() - file_com_coralogix_archive_v1_target_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_archive_v1_target_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsArchiveConfiguredRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_target_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsArchiveConfiguredResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_target_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompanyArchiveConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_target_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_target_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTargetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_target_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetTargetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_target_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetTargetResponse); 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_coralogix_archive_v1_target_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_archive_v1_target_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_archive_v1_target_service_proto_depIdxs, - MessageInfos: file_com_coralogix_archive_v1_target_service_proto_msgTypes, - }.Build() - File_com_coralogix_archive_v1_target_service_proto = out.File - file_com_coralogix_archive_v1_target_service_proto_rawDesc = nil - file_com_coralogix_archive_v1_target_service_proto_goTypes = nil - file_com_coralogix_archive_v1_target_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/archive-logs/target_service_grpc.pb.go b/coralogix/clientset/grpc/archive-logs/target_service_grpc.pb.go deleted file mode 100644 index 4a7afa68..00000000 --- a/coralogix/clientset/grpc/archive-logs/target_service_grpc.pb.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/archive/v1/target_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 - -// TargetServiceClient is the client API for TargetService 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 TargetServiceClient interface { - IsArchiveConfigured(ctx context.Context, in *IsArchiveConfiguredRequest, opts ...grpc.CallOption) (*IsArchiveConfiguredResponse, error) - GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error) - SetTarget(ctx context.Context, in *SetTargetRequest, opts ...grpc.CallOption) (*SetTargetResponse, error) -} - -type targetServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewTargetServiceClient(cc grpc.ClientConnInterface) TargetServiceClient { - return &targetServiceClient{cc} -} - -func (c *targetServiceClient) IsArchiveConfigured(ctx context.Context, in *IsArchiveConfiguredRequest, opts ...grpc.CallOption) (*IsArchiveConfiguredResponse, error) { - out := new(IsArchiveConfiguredResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.archive.v1.TargetService/IsArchiveConfigured", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetServiceClient) GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error) { - out := new(GetTargetResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.archive.v1.TargetService/GetTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *targetServiceClient) SetTarget(ctx context.Context, in *SetTargetRequest, opts ...grpc.CallOption) (*SetTargetResponse, error) { - out := new(SetTargetResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.archive.v1.TargetService/SetTarget", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TargetServiceServer is the server API for TargetService service. -// All implementations must embed UnimplementedTargetServiceServer -// for forward compatibility -type TargetServiceServer interface { - IsArchiveConfigured(context.Context, *IsArchiveConfiguredRequest) (*IsArchiveConfiguredResponse, error) - GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error) - SetTarget(context.Context, *SetTargetRequest) (*SetTargetResponse, error) - mustEmbedUnimplementedTargetServiceServer() -} - -// UnimplementedTargetServiceServer must be embedded to have forward compatible implementations. -type UnimplementedTargetServiceServer struct { -} - -func (UnimplementedTargetServiceServer) IsArchiveConfigured(context.Context, *IsArchiveConfiguredRequest) (*IsArchiveConfiguredResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsArchiveConfigured not implemented") -} -func (UnimplementedTargetServiceServer) GetTarget(context.Context, *GetTargetRequest) (*GetTargetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTarget not implemented") -} -func (UnimplementedTargetServiceServer) SetTarget(context.Context, *SetTargetRequest) (*SetTargetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetTarget not implemented") -} -func (UnimplementedTargetServiceServer) mustEmbedUnimplementedTargetServiceServer() {} - -// UnsafeTargetServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to TargetServiceServer will -// result in compilation errors. -type UnsafeTargetServiceServer interface { - mustEmbedUnimplementedTargetServiceServer() -} - -func RegisterTargetServiceServer(s grpc.ServiceRegistrar, srv TargetServiceServer) { - s.RegisterService(&TargetService_ServiceDesc, srv) -} - -func _TargetService_IsArchiveConfigured_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IsArchiveConfiguredRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetServiceServer).IsArchiveConfigured(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.archive.v1.TargetService/IsArchiveConfigured", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetServiceServer).IsArchiveConfigured(ctx, req.(*IsArchiveConfiguredRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetService_GetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetServiceServer).GetTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.archive.v1.TargetService/GetTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetServiceServer).GetTarget(ctx, req.(*GetTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TargetService_SetTarget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetTargetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TargetServiceServer).SetTarget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.archive.v1.TargetService/SetTarget", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TargetServiceServer).SetTarget(ctx, req.(*SetTargetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// TargetService_ServiceDesc is the grpc.ServiceDesc for TargetService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var TargetService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.archive.v1.TargetService", - HandlerType: (*TargetServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "IsArchiveConfigured", - Handler: _TargetService_IsArchiveConfigured_Handler, - }, - { - MethodName: "GetTarget", - Handler: _TargetService_GetTarget_Handler, - }, - { - MethodName: "SetTarget", - Handler: _TargetService_SetTarget_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/archive/v1/target_service.proto", -} diff --git a/coralogix/clientset/grpc/archive-metrics/metrics-configurator.pb.go b/coralogix/clientset/grpc/archive-metrics/metrics-configurator.pb.go deleted file mode 100644 index b633e905..00000000 --- a/coralogix/clientset/grpc/archive-metrics/metrics-configurator.pb.go +++ /dev/null @@ -1,1620 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: proto/com/coralogix/metrics/metrics-configurator.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type RetentionPolicy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Resolution int32 `protobuf:"varint,1,opt,name=resolution,proto3" json:"resolution,omitempty"` - RetentionDays int32 `protobuf:"varint,2,opt,name=retention_days,json=retentionDays,proto3" json:"retention_days,omitempty"` -} - -func (x *RetentionPolicy) Reset() { - *x = RetentionPolicy{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RetentionPolicy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RetentionPolicy) ProtoMessage() {} - -func (x *RetentionPolicy) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 RetentionPolicy.ProtoReflect.Descriptor instead. -func (*RetentionPolicy) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{0} -} - -func (x *RetentionPolicy) GetResolution() int32 { - if x != nil { - return x.Resolution - } - return 0 -} - -func (x *RetentionPolicy) GetRetentionDays() int32 { - if x != nil { - return x.RetentionDays - } - return 0 -} - -type S3Config struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` - Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` -} - -func (x *S3Config) Reset() { - *x = S3Config{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *S3Config) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*S3Config) ProtoMessage() {} - -func (x *S3Config) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 S3Config.ProtoReflect.Descriptor instead. -func (*S3Config) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{1} -} - -func (x *S3Config) GetBucket() string { - if x != nil { - return x.Bucket - } - return "" -} - -func (x *S3Config) GetRegion() string { - if x != nil { - return x.Region - } - return "" -} - -type IbmConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` - Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Crn string `protobuf:"bytes,4,opt,name=crn,proto3" json:"crn,omitempty"` -} - -func (x *IbmConfig) Reset() { - *x = IbmConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IbmConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IbmConfig) ProtoMessage() {} - -func (x *IbmConfig) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 IbmConfig.ProtoReflect.Descriptor instead. -func (*IbmConfig) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{2} -} - -func (x *IbmConfig) GetBucket() string { - if x != nil { - return x.Bucket - } - return "" -} - -func (x *IbmConfig) GetRegion() string { - if x != nil { - return x.Region - } - return "" -} - -func (x *IbmConfig) GetEndpoint() string { - if x != nil { - return x.Endpoint - } - return "" -} - -func (x *IbmConfig) GetCrn() string { - if x != nil { - return x.Crn - } - return "" -} - -type IbmConfigV2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Crn string `protobuf:"bytes,4,opt,name=crn,proto3" json:"crn,omitempty"` -} - -func (x *IbmConfigV2) Reset() { - *x = IbmConfigV2{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IbmConfigV2) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IbmConfigV2) ProtoMessage() {} - -func (x *IbmConfigV2) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 IbmConfigV2.ProtoReflect.Descriptor instead. -func (*IbmConfigV2) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{3} -} - -func (x *IbmConfigV2) GetEndpoint() string { - if x != nil { - return x.Endpoint - } - return "" -} - -func (x *IbmConfigV2) GetCrn() string { - if x != nil { - return x.Crn - } - return "" -} - -type TenantConfigV2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TenantId uint32 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` - RetentionPolicy *RetentionPolicyRequest `protobuf:"bytes,4,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"` - // Types that are assignable to StorageConfig: - // *TenantConfigV2_Ibm - // *TenantConfigV2_S3 - StorageConfig isTenantConfigV2_StorageConfig `protobuf_oneof:"storage_config"` - Prefix string `protobuf:"bytes,7,opt,name=prefix,proto3" json:"prefix,omitempty"` -} - -func (x *TenantConfigV2) Reset() { - *x = TenantConfigV2{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TenantConfigV2) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TenantConfigV2) ProtoMessage() {} - -func (x *TenantConfigV2) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 TenantConfigV2.ProtoReflect.Descriptor instead. -func (*TenantConfigV2) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{4} -} - -func (x *TenantConfigV2) GetTenantId() uint32 { - if x != nil { - return x.TenantId - } - return 0 -} - -func (x *TenantConfigV2) GetRetentionPolicy() *RetentionPolicyRequest { - if x != nil { - return x.RetentionPolicy - } - return nil -} - -func (m *TenantConfigV2) GetStorageConfig() isTenantConfigV2_StorageConfig { - if m != nil { - return m.StorageConfig - } - return nil -} - -func (x *TenantConfigV2) GetIbm() *IbmConfigV2 { - if x, ok := x.GetStorageConfig().(*TenantConfigV2_Ibm); ok { - return x.Ibm - } - return nil -} - -func (x *TenantConfigV2) GetS3() *S3Config { - if x, ok := x.GetStorageConfig().(*TenantConfigV2_S3); ok { - return x.S3 - } - return nil -} - -func (x *TenantConfigV2) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -type isTenantConfigV2_StorageConfig interface { - isTenantConfigV2_StorageConfig() -} - -type TenantConfigV2_Ibm struct { - Ibm *IbmConfigV2 `protobuf:"bytes,5,opt,name=ibm,proto3,oneof"` -} - -type TenantConfigV2_S3 struct { - S3 *S3Config `protobuf:"bytes,6,opt,name=s3,proto3,oneof"` -} - -func (*TenantConfigV2_Ibm) isTenantConfigV2_StorageConfig() {} - -func (*TenantConfigV2_S3) isTenantConfigV2_StorageConfig() {} - -type ConfigureTenantRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetentionPolicy *RetentionPolicyRequest `protobuf:"bytes,1,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"` - // Types that are assignable to StorageConfig: - // *ConfigureTenantRequest_Ibm - // *ConfigureTenantRequest_S3 - StorageConfig isConfigureTenantRequest_StorageConfig `protobuf_oneof:"storage_config"` -} - -func (x *ConfigureTenantRequest) Reset() { - *x = ConfigureTenantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConfigureTenantRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConfigureTenantRequest) ProtoMessage() {} - -func (x *ConfigureTenantRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 ConfigureTenantRequest.ProtoReflect.Descriptor instead. -func (*ConfigureTenantRequest) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{5} -} - -func (x *ConfigureTenantRequest) GetRetentionPolicy() *RetentionPolicyRequest { - if x != nil { - return x.RetentionPolicy - } - return nil -} - -func (m *ConfigureTenantRequest) GetStorageConfig() isConfigureTenantRequest_StorageConfig { - if m != nil { - return m.StorageConfig - } - return nil -} - -func (x *ConfigureTenantRequest) GetIbm() *IbmConfigV2 { - if x, ok := x.GetStorageConfig().(*ConfigureTenantRequest_Ibm); ok { - return x.Ibm - } - return nil -} - -func (x *ConfigureTenantRequest) GetS3() *S3Config { - if x, ok := x.GetStorageConfig().(*ConfigureTenantRequest_S3); ok { - return x.S3 - } - return nil -} - -type isConfigureTenantRequest_StorageConfig interface { - isConfigureTenantRequest_StorageConfig() -} - -type ConfigureTenantRequest_Ibm struct { - Ibm *IbmConfigV2 `protobuf:"bytes,2,opt,name=ibm,proto3,oneof"` -} - -type ConfigureTenantRequest_S3 struct { - S3 *S3Config `protobuf:"bytes,3,opt,name=s3,proto3,oneof"` -} - -func (*ConfigureTenantRequest_Ibm) isConfigureTenantRequest_StorageConfig() {} - -func (*ConfigureTenantRequest_S3) isConfigureTenantRequest_StorageConfig() {} - -type ValidateBucketRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to StorageConfig: - // *ValidateBucketRequest_Ibm - // *ValidateBucketRequest_S3 - StorageConfig isValidateBucketRequest_StorageConfig `protobuf_oneof:"storage_config"` -} - -func (x *ValidateBucketRequest) Reset() { - *x = ValidateBucketRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidateBucketRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidateBucketRequest) ProtoMessage() {} - -func (x *ValidateBucketRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 ValidateBucketRequest.ProtoReflect.Descriptor instead. -func (*ValidateBucketRequest) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{6} -} - -func (m *ValidateBucketRequest) GetStorageConfig() isValidateBucketRequest_StorageConfig { - if m != nil { - return m.StorageConfig - } - return nil -} - -func (x *ValidateBucketRequest) GetIbm() *IbmConfigV2 { - if x, ok := x.GetStorageConfig().(*ValidateBucketRequest_Ibm); ok { - return x.Ibm - } - return nil -} - -func (x *ValidateBucketRequest) GetS3() *S3Config { - if x, ok := x.GetStorageConfig().(*ValidateBucketRequest_S3); ok { - return x.S3 - } - return nil -} - -type isValidateBucketRequest_StorageConfig interface { - isValidateBucketRequest_StorageConfig() -} - -type ValidateBucketRequest_Ibm struct { - Ibm *IbmConfigV2 `protobuf:"bytes,1,opt,name=ibm,proto3,oneof"` -} - -type ValidateBucketRequest_S3 struct { - S3 *S3Config `protobuf:"bytes,2,opt,name=s3,proto3,oneof"` -} - -func (*ValidateBucketRequest_Ibm) isValidateBucketRequest_StorageConfig() {} - -func (*ValidateBucketRequest_S3) isValidateBucketRequest_StorageConfig() {} - -type RetentionPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RawResolution uint32 `protobuf:"varint,1,opt,name=raw_resolution,json=rawResolution,proto3" json:"raw_resolution,omitempty"` - FiveMinutesResolution uint32 `protobuf:"varint,2,opt,name=five_minutes_resolution,json=fiveMinutesResolution,proto3" json:"five_minutes_resolution,omitempty"` - OneHourResolution uint32 `protobuf:"varint,3,opt,name=one_hour_resolution,json=oneHourResolution,proto3" json:"one_hour_resolution,omitempty"` -} - -func (x *RetentionPolicyRequest) Reset() { - *x = RetentionPolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RetentionPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RetentionPolicyRequest) ProtoMessage() {} - -func (x *RetentionPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 RetentionPolicyRequest.ProtoReflect.Descriptor instead. -func (*RetentionPolicyRequest) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{7} -} - -func (x *RetentionPolicyRequest) GetRawResolution() uint32 { - if x != nil { - return x.RawResolution - } - return 0 -} - -func (x *RetentionPolicyRequest) GetFiveMinutesResolution() uint32 { - if x != nil { - return x.FiveMinutesResolution - } - return 0 -} - -func (x *RetentionPolicyRequest) GetOneHourResolution() uint32 { - if x != nil { - return x.OneHourResolution - } - return 0 -} - -type TenantConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TenantId uint32 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` - // Deprecated: Do not use. - BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - // Deprecated: Do not use. - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - RetentionPolicy []*RetentionPolicy `protobuf:"bytes,4,rep,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"` - // Types that are assignable to StorageConfig: - // *TenantConfig_Ibm - // *TenantConfig_S3 - StorageConfig isTenantConfig_StorageConfig `protobuf_oneof:"storage_config"` - Prefix string `protobuf:"bytes,7,opt,name=prefix,proto3" json:"prefix,omitempty"` -} - -func (x *TenantConfig) Reset() { - *x = TenantConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TenantConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TenantConfig) ProtoMessage() {} - -func (x *TenantConfig) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 TenantConfig.ProtoReflect.Descriptor instead. -func (*TenantConfig) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{8} -} - -func (x *TenantConfig) GetTenantId() uint32 { - if x != nil { - return x.TenantId - } - return 0 -} - -// Deprecated: Do not use. -func (x *TenantConfig) GetBucketName() string { - if x != nil { - return x.BucketName - } - return "" -} - -// Deprecated: Do not use. -func (x *TenantConfig) GetRegion() string { - if x != nil { - return x.Region - } - return "" -} - -func (x *TenantConfig) GetRetentionPolicy() []*RetentionPolicy { - if x != nil { - return x.RetentionPolicy - } - return nil -} - -func (m *TenantConfig) GetStorageConfig() isTenantConfig_StorageConfig { - if m != nil { - return m.StorageConfig - } - return nil -} - -func (x *TenantConfig) GetIbm() *IbmConfig { - if x, ok := x.GetStorageConfig().(*TenantConfig_Ibm); ok { - return x.Ibm - } - return nil -} - -func (x *TenantConfig) GetS3() *S3Config { - if x, ok := x.GetStorageConfig().(*TenantConfig_S3); ok { - return x.S3 - } - return nil -} - -func (x *TenantConfig) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -type isTenantConfig_StorageConfig interface { - isTenantConfig_StorageConfig() -} - -type TenantConfig_Ibm struct { - Ibm *IbmConfig `protobuf:"bytes,5,opt,name=ibm,proto3,oneof"` -} - -type TenantConfig_S3 struct { - S3 *S3Config `protobuf:"bytes,6,opt,name=s3,proto3,oneof"` -} - -func (*TenantConfig_Ibm) isTenantConfig_StorageConfig() {} - -func (*TenantConfig_S3) isTenantConfig_StorageConfig() {} - -type GetTenantConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TenantId uint32 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` -} - -func (x *GetTenantConfigRequest) Reset() { - *x = GetTenantConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTenantConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTenantConfigRequest) ProtoMessage() {} - -func (x *GetTenantConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 GetTenantConfigRequest.ProtoReflect.Descriptor instead. -func (*GetTenantConfigRequest) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{9} -} - -func (x *GetTenantConfigRequest) GetTenantId() uint32 { - if x != nil { - return x.TenantId - } - return 0 -} - -type GetTenantConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TenantConfig *TenantConfig `protobuf:"bytes,1,opt,name=tenant_config,json=tenantConfig,proto3" json:"tenant_config,omitempty"` -} - -func (x *GetTenantConfigResponse) Reset() { - *x = GetTenantConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTenantConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTenantConfigResponse) ProtoMessage() {} - -func (x *GetTenantConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 GetTenantConfigResponse.ProtoReflect.Descriptor instead. -func (*GetTenantConfigResponse) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{10} -} - -func (x *GetTenantConfigResponse) GetTenantConfig() *TenantConfig { - if x != nil { - return x.TenantConfig - } - return nil -} - -type GetTenantConfigResponseV2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TenantConfig *TenantConfigV2 `protobuf:"bytes,1,opt,name=tenant_config,json=tenantConfig,proto3" json:"tenant_config,omitempty"` -} - -func (x *GetTenantConfigResponseV2) Reset() { - *x = GetTenantConfigResponseV2{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTenantConfigResponseV2) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTenantConfigResponseV2) ProtoMessage() {} - -func (x *GetTenantConfigResponseV2) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 GetTenantConfigResponseV2.ProtoReflect.Descriptor instead. -func (*GetTenantConfigResponseV2) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{11} -} - -func (x *GetTenantConfigResponseV2) GetTenantConfig() *TenantConfigV2 { - if x != nil { - return x.TenantConfig - } - return nil -} - -type ListTenantConfigsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListTenantConfigsRequest) Reset() { - *x = ListTenantConfigsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListTenantConfigsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTenantConfigsRequest) ProtoMessage() {} - -func (x *ListTenantConfigsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 ListTenantConfigsRequest.ProtoReflect.Descriptor instead. -func (*ListTenantConfigsRequest) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{12} -} - -type ListTenantConfigsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TenantConfigs []*TenantConfig `protobuf:"bytes,1,rep,name=tenant_configs,json=tenantConfigs,proto3" json:"tenant_configs,omitempty"` -} - -func (x *ListTenantConfigsResponse) Reset() { - *x = ListTenantConfigsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListTenantConfigsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTenantConfigsResponse) ProtoMessage() {} - -func (x *ListTenantConfigsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 ListTenantConfigsResponse.ProtoReflect.Descriptor instead. -func (*ListTenantConfigsResponse) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{13} -} - -func (x *ListTenantConfigsResponse) GetTenantConfigs() []*TenantConfig { - if x != nil { - return x.TenantConfigs - } - return nil -} - -type HotStoreConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TenantId uint32 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` - ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` -} - -func (x *HotStoreConfig) Reset() { - *x = HotStoreConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HotStoreConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HotStoreConfig) ProtoMessage() {} - -func (x *HotStoreConfig) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 HotStoreConfig.ProtoReflect.Descriptor instead. -func (*HotStoreConfig) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{14} -} - -func (x *HotStoreConfig) GetTenantId() uint32 { - if x != nil { - return x.TenantId - } - return 0 -} - -func (x *HotStoreConfig) GetClusterName() string { - if x != nil { - return x.ClusterName - } - return "" -} - -type ListHotStoreConfigsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListHotStoreConfigsRequest) Reset() { - *x = ListHotStoreConfigsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListHotStoreConfigsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListHotStoreConfigsRequest) ProtoMessage() {} - -func (x *ListHotStoreConfigsRequest) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 ListHotStoreConfigsRequest.ProtoReflect.Descriptor instead. -func (*ListHotStoreConfigsRequest) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{15} -} - -type ListHotStoreConfigsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Configs []*HotStoreConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` -} - -func (x *ListHotStoreConfigsResponse) Reset() { - *x = ListHotStoreConfigsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListHotStoreConfigsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListHotStoreConfigsResponse) ProtoMessage() {} - -func (x *ListHotStoreConfigsResponse) ProtoReflect() protoreflect.Message { - mi := &file_proto_com_coralogix_metrics_metrics_configurator_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 ListHotStoreConfigsResponse.ProtoReflect.Descriptor instead. -func (*ListHotStoreConfigsResponse) Descriptor() ([]byte, []int) { - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP(), []int{16} -} - -func (x *ListHotStoreConfigsResponse) GetConfigs() []*HotStoreConfig { - if x != nil { - return x.Configs - } - return nil -} - -var File_proto_com_coralogix_metrics_metrics_configurator_proto protoreflect.FileDescriptor - -var file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDesc = []byte{ - 0x0a, 0x36, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x58, 0x0a, 0x0f, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, 0x3a, 0x0a, 0x08, 0x53, - 0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x09, 0x49, 0x62, 0x6d, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x12, 0x10, 0x0a, 0x03, 0x63, 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, - 0x72, 0x6e, 0x22, 0x3b, 0x0a, 0x0b, 0x49, 0x62, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, - 0x32, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x63, 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x72, 0x6e, 0x22, - 0xdb, 0x02, 0x0a, 0x0e, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x56, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, - 0x6d, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x72, - 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4b, - 0x0a, 0x03, 0x69, 0x62, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x49, 0x62, 0x6d, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x56, 0x32, 0x48, 0x00, 0x52, 0x03, 0x69, 0x62, 0x6d, 0x12, 0x46, 0x0a, 0x02, 0x73, - 0x33, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, - 0x02, 0x73, 0x33, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x10, 0x0a, 0x0e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x02, - 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x65, 0x6e, 0x61, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6d, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, - 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4b, 0x0a, 0x03, 0x69, 0x62, 0x6d, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x2e, 0x49, 0x62, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x32, 0x48, 0x00, 0x52, - 0x03, 0x69, 0x62, 0x6d, 0x12, 0x46, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x33, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x42, 0x10, 0x0a, 0x0e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xbe, - 0x01, 0x0a, 0x15, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x63, 0x6b, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x03, 0x69, 0x62, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x2e, 0x49, 0x62, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x32, 0x48, 0x00, - 0x52, 0x03, 0x69, 0x62, 0x6d, 0x12, 0x46, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x53, - 0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x42, 0x10, 0x0a, - 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, - 0xa7, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x61, - 0x77, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0d, 0x72, 0x61, 0x77, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x36, 0x0a, 0x17, 0x66, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, - 0x73, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x15, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x6e, 0x65, - 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x6e, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x52, - 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x91, 0x03, 0x0a, 0x0c, 0x54, 0x65, - 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, - 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, - 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0b, 0x62, 0x75, 0x63, 0x6b, 0x65, - 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, - 0x52, 0x0a, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x06, - 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, - 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x66, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, - 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x0f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x49, 0x0a, 0x03, 0x69, 0x62, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x49, 0x62, 0x6d, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x03, 0x69, 0x62, 0x6d, 0x12, 0x46, 0x0a, 0x02, 0x73, - 0x33, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, - 0x02, 0x73, 0x33, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x10, 0x0a, 0x0e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x35, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, 0x6e, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x65, 0x6e, 0x61, - 0x6e, 0x74, 0x49, 0x64, 0x22, 0x78, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x5d, 0x0a, 0x0d, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x2e, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x0c, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x7c, - 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x32, 0x12, 0x5f, 0x0a, 0x0d, 0x74, - 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, - 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x32, 0x52, 0x0c, - 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x1a, 0x0a, 0x18, - 0x4c, 0x69, 0x73, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7c, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, - 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x54, 0x65, 0x6e, 0x61, 0x6e, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x50, 0x0a, 0x0e, 0x48, 0x6f, 0x74, 0x53, 0x74, 0x6f, - 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6e, 0x61, - 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x74, 0x65, 0x6e, - 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, - 0x48, 0x6f, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x73, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x6f, - 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x2e, 0x48, 0x6f, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x32, 0xf6, 0x02, 0x0a, 0x20, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x6f, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x65, 0x6e, - 0x61, 0x6e, 0x74, 0x12, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, - 0x00, 0x12, 0x6d, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, - 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x45, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, - 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x56, 0x32, 0x22, 0x00, 0x32, 0x8c, 0x04, 0x0a, 0x1a, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x9c, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6e, 0x61, - 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0xa2, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa9, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, - 0x48, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, - 0x12, 0x46, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x48, 0x6f, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x6f, 0x74, 0x53, 0x74, 0x6f, - 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescOnce sync.Once - file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescData = file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDesc -) - -func file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescGZIP() []byte { - file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescOnce.Do(func() { - file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescData) - }) - return file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDescData -} - -var file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_proto_com_coralogix_metrics_metrics_configurator_proto_goTypes = []interface{}{ - (*RetentionPolicy)(nil), // 0: com.coralogix.metrics.metrics_configurator.RetentionPolicy - (*S3Config)(nil), // 1: com.coralogix.metrics.metrics_configurator.S3Config - (*IbmConfig)(nil), // 2: com.coralogix.metrics.metrics_configurator.IbmConfig - (*IbmConfigV2)(nil), // 3: com.coralogix.metrics.metrics_configurator.IbmConfigV2 - (*TenantConfigV2)(nil), // 4: com.coralogix.metrics.metrics_configurator.TenantConfigV2 - (*ConfigureTenantRequest)(nil), // 5: com.coralogix.metrics.metrics_configurator.ConfigureTenantRequest - (*ValidateBucketRequest)(nil), // 6: com.coralogix.metrics.metrics_configurator.ValidateBucketRequest - (*RetentionPolicyRequest)(nil), // 7: com.coralogix.metrics.metrics_configurator.RetentionPolicyRequest - (*TenantConfig)(nil), // 8: com.coralogix.metrics.metrics_configurator.TenantConfig - (*GetTenantConfigRequest)(nil), // 9: com.coralogix.metrics.metrics_configurator.GetTenantConfigRequest - (*GetTenantConfigResponse)(nil), // 10: com.coralogix.metrics.metrics_configurator.GetTenantConfigResponse - (*GetTenantConfigResponseV2)(nil), // 11: com.coralogix.metrics.metrics_configurator.GetTenantConfigResponseV2 - (*ListTenantConfigsRequest)(nil), // 12: com.coralogix.metrics.metrics_configurator.ListTenantConfigsRequest - (*ListTenantConfigsResponse)(nil), // 13: com.coralogix.metrics.metrics_configurator.ListTenantConfigsResponse - (*HotStoreConfig)(nil), // 14: com.coralogix.metrics.metrics_configurator.HotStoreConfig - (*ListHotStoreConfigsRequest)(nil), // 15: com.coralogix.metrics.metrics_configurator.ListHotStoreConfigsRequest - (*ListHotStoreConfigsResponse)(nil), // 16: com.coralogix.metrics.metrics_configurator.ListHotStoreConfigsResponse - (*emptypb.Empty)(nil), // 17: google.protobuf.Empty -} -var file_proto_com_coralogix_metrics_metrics_configurator_proto_depIdxs = []int32{ - 7, // 0: com.coralogix.metrics.metrics_configurator.TenantConfigV2.retention_policy:type_name -> com.coralogix.metrics.metrics_configurator.RetentionPolicyRequest - 3, // 1: com.coralogix.metrics.metrics_configurator.TenantConfigV2.ibm:type_name -> com.coralogix.metrics.metrics_configurator.IbmConfigV2 - 1, // 2: com.coralogix.metrics.metrics_configurator.TenantConfigV2.s3:type_name -> com.coralogix.metrics.metrics_configurator.S3Config - 7, // 3: com.coralogix.metrics.metrics_configurator.ConfigureTenantRequest.retention_policy:type_name -> com.coralogix.metrics.metrics_configurator.RetentionPolicyRequest - 3, // 4: com.coralogix.metrics.metrics_configurator.ConfigureTenantRequest.ibm:type_name -> com.coralogix.metrics.metrics_configurator.IbmConfigV2 - 1, // 5: com.coralogix.metrics.metrics_configurator.ConfigureTenantRequest.s3:type_name -> com.coralogix.metrics.metrics_configurator.S3Config - 3, // 6: com.coralogix.metrics.metrics_configurator.ValidateBucketRequest.ibm:type_name -> com.coralogix.metrics.metrics_configurator.IbmConfigV2 - 1, // 7: com.coralogix.metrics.metrics_configurator.ValidateBucketRequest.s3:type_name -> com.coralogix.metrics.metrics_configurator.S3Config - 0, // 8: com.coralogix.metrics.metrics_configurator.TenantConfig.retention_policy:type_name -> com.coralogix.metrics.metrics_configurator.RetentionPolicy - 2, // 9: com.coralogix.metrics.metrics_configurator.TenantConfig.ibm:type_name -> com.coralogix.metrics.metrics_configurator.IbmConfig - 1, // 10: com.coralogix.metrics.metrics_configurator.TenantConfig.s3:type_name -> com.coralogix.metrics.metrics_configurator.S3Config - 8, // 11: com.coralogix.metrics.metrics_configurator.GetTenantConfigResponse.tenant_config:type_name -> com.coralogix.metrics.metrics_configurator.TenantConfig - 4, // 12: com.coralogix.metrics.metrics_configurator.GetTenantConfigResponseV2.tenant_config:type_name -> com.coralogix.metrics.metrics_configurator.TenantConfigV2 - 8, // 13: com.coralogix.metrics.metrics_configurator.ListTenantConfigsResponse.tenant_configs:type_name -> com.coralogix.metrics.metrics_configurator.TenantConfig - 14, // 14: com.coralogix.metrics.metrics_configurator.ListHotStoreConfigsResponse.configs:type_name -> com.coralogix.metrics.metrics_configurator.HotStoreConfig - 5, // 15: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService.ConfigureTenant:input_type -> com.coralogix.metrics.metrics_configurator.ConfigureTenantRequest - 6, // 16: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService.ValidateBucket:input_type -> com.coralogix.metrics.metrics_configurator.ValidateBucketRequest - 17, // 17: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService.GetTenantConfig:input_type -> google.protobuf.Empty - 9, // 18: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService.GetTenantConfig:input_type -> com.coralogix.metrics.metrics_configurator.GetTenantConfigRequest - 12, // 19: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService.ListTenantConfigs:input_type -> com.coralogix.metrics.metrics_configurator.ListTenantConfigsRequest - 15, // 20: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService.ListHostStoreConfigs:input_type -> com.coralogix.metrics.metrics_configurator.ListHotStoreConfigsRequest - 17, // 21: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService.ConfigureTenant:output_type -> google.protobuf.Empty - 17, // 22: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService.ValidateBucket:output_type -> google.protobuf.Empty - 11, // 23: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService.GetTenantConfig:output_type -> com.coralogix.metrics.metrics_configurator.GetTenantConfigResponseV2 - 10, // 24: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService.GetTenantConfig:output_type -> com.coralogix.metrics.metrics_configurator.GetTenantConfigResponse - 13, // 25: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService.ListTenantConfigs:output_type -> com.coralogix.metrics.metrics_configurator.ListTenantConfigsResponse - 16, // 26: com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService.ListHostStoreConfigs:output_type -> com.coralogix.metrics.metrics_configurator.ListHotStoreConfigsResponse - 21, // [21:27] is the sub-list for method output_type - 15, // [15:21] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name -} - -func init() { file_proto_com_coralogix_metrics_metrics_configurator_proto_init() } -func file_proto_com_coralogix_metrics_metrics_configurator_proto_init() { - if File_proto_com_coralogix_metrics_metrics_configurator_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RetentionPolicy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*S3Config); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IbmConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IbmConfigV2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TenantConfigV2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureTenantRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateBucketRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RetentionPolicyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TenantConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTenantConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTenantConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTenantConfigResponseV2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTenantConfigsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTenantConfigsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HotStoreConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListHotStoreConfigsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListHotStoreConfigsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[4].OneofWrappers = []interface{}{ - (*TenantConfigV2_Ibm)(nil), - (*TenantConfigV2_S3)(nil), - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[5].OneofWrappers = []interface{}{ - (*ConfigureTenantRequest_Ibm)(nil), - (*ConfigureTenantRequest_S3)(nil), - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[6].OneofWrappers = []interface{}{ - (*ValidateBucketRequest_Ibm)(nil), - (*ValidateBucketRequest_S3)(nil), - } - file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes[8].OneofWrappers = []interface{}{ - (*TenantConfig_Ibm)(nil), - (*TenantConfig_S3)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDesc, - NumEnums: 0, - NumMessages: 17, - NumExtensions: 0, - NumServices: 2, - }, - GoTypes: file_proto_com_coralogix_metrics_metrics_configurator_proto_goTypes, - DependencyIndexes: file_proto_com_coralogix_metrics_metrics_configurator_proto_depIdxs, - MessageInfos: file_proto_com_coralogix_metrics_metrics_configurator_proto_msgTypes, - }.Build() - File_proto_com_coralogix_metrics_metrics_configurator_proto = out.File - file_proto_com_coralogix_metrics_metrics_configurator_proto_rawDesc = nil - file_proto_com_coralogix_metrics_metrics_configurator_proto_goTypes = nil - file_proto_com_coralogix_metrics_metrics_configurator_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/archive-metrics/metrics-configurator_grpc.pb.go b/coralogix/clientset/grpc/archive-metrics/metrics-configurator_grpc.pb.go deleted file mode 100644 index 10adf307..00000000 --- a/coralogix/clientset/grpc/archive-metrics/metrics-configurator_grpc.pb.go +++ /dev/null @@ -1,338 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: proto/com/coralogix/metrics/metrics-configurator.proto - -package __ - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - emptypb "google.golang.org/protobuf/types/known/emptypb" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// MetricsConfiguratorPublicServiceClient is the client API for MetricsConfiguratorPublicService 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 MetricsConfiguratorPublicServiceClient interface { - ConfigureTenant(ctx context.Context, in *ConfigureTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) - ValidateBucket(ctx context.Context, in *ValidateBucketRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) - GetTenantConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetTenantConfigResponseV2, error) -} - -type metricsConfiguratorPublicServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewMetricsConfiguratorPublicServiceClient(cc grpc.ClientConnInterface) MetricsConfiguratorPublicServiceClient { - return &metricsConfiguratorPublicServiceClient{cc} -} - -func (c *metricsConfiguratorPublicServiceClient) ConfigureTenant(ctx context.Context, in *ConfigureTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/ConfigureTenant", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsConfiguratorPublicServiceClient) ValidateBucket(ctx context.Context, in *ValidateBucketRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/ValidateBucket", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsConfiguratorPublicServiceClient) GetTenantConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetTenantConfigResponseV2, error) { - out := new(GetTenantConfigResponseV2) - err := c.cc.Invoke(ctx, "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/GetTenantConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MetricsConfiguratorPublicServiceServer is the server API for MetricsConfiguratorPublicService service. -// All implementations must embed UnimplementedMetricsConfiguratorPublicServiceServer -// for forward compatibility -type MetricsConfiguratorPublicServiceServer interface { - ConfigureTenant(context.Context, *ConfigureTenantRequest) (*emptypb.Empty, error) - ValidateBucket(context.Context, *ValidateBucketRequest) (*emptypb.Empty, error) - GetTenantConfig(context.Context, *emptypb.Empty) (*GetTenantConfigResponseV2, error) - mustEmbedUnimplementedMetricsConfiguratorPublicServiceServer() -} - -// UnimplementedMetricsConfiguratorPublicServiceServer must be embedded to have forward compatible implementations. -type UnimplementedMetricsConfiguratorPublicServiceServer struct { -} - -func (UnimplementedMetricsConfiguratorPublicServiceServer) ConfigureTenant(context.Context, *ConfigureTenantRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ConfigureTenant not implemented") -} -func (UnimplementedMetricsConfiguratorPublicServiceServer) ValidateBucket(context.Context, *ValidateBucketRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateBucket not implemented") -} -func (UnimplementedMetricsConfiguratorPublicServiceServer) GetTenantConfig(context.Context, *emptypb.Empty) (*GetTenantConfigResponseV2, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTenantConfig not implemented") -} -func (UnimplementedMetricsConfiguratorPublicServiceServer) mustEmbedUnimplementedMetricsConfiguratorPublicServiceServer() { -} - -// UnsafeMetricsConfiguratorPublicServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to MetricsConfiguratorPublicServiceServer will -// result in compilation errors. -type UnsafeMetricsConfiguratorPublicServiceServer interface { - mustEmbedUnimplementedMetricsConfiguratorPublicServiceServer() -} - -func RegisterMetricsConfiguratorPublicServiceServer(s grpc.ServiceRegistrar, srv MetricsConfiguratorPublicServiceServer) { - s.RegisterService(&MetricsConfiguratorPublicService_ServiceDesc, srv) -} - -func _MetricsConfiguratorPublicService_ConfigureTenant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ConfigureTenantRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsConfiguratorPublicServiceServer).ConfigureTenant(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/ConfigureTenant", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsConfiguratorPublicServiceServer).ConfigureTenant(ctx, req.(*ConfigureTenantRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsConfiguratorPublicService_ValidateBucket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateBucketRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsConfiguratorPublicServiceServer).ValidateBucket(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/ValidateBucket", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsConfiguratorPublicServiceServer).ValidateBucket(ctx, req.(*ValidateBucketRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsConfiguratorPublicService_GetTenantConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(emptypb.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsConfiguratorPublicServiceServer).GetTenantConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/GetTenantConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsConfiguratorPublicServiceServer).GetTenantConfig(ctx, req.(*emptypb.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -// MetricsConfiguratorPublicService_ServiceDesc is the grpc.ServiceDesc for MetricsConfiguratorPublicService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var MetricsConfiguratorPublicService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService", - HandlerType: (*MetricsConfiguratorPublicServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ConfigureTenant", - Handler: _MetricsConfiguratorPublicService_ConfigureTenant_Handler, - }, - { - MethodName: "ValidateBucket", - Handler: _MetricsConfiguratorPublicService_ValidateBucket_Handler, - }, - { - MethodName: "GetTenantConfig", - Handler: _MetricsConfiguratorPublicService_GetTenantConfig_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "proto/com/coralogix/metrics/metrics-configurator.proto", -} - -// MetricsConfiguratorServiceClient is the client API for MetricsConfiguratorService 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 MetricsConfiguratorServiceClient interface { - GetTenantConfig(ctx context.Context, in *GetTenantConfigRequest, opts ...grpc.CallOption) (*GetTenantConfigResponse, error) - ListTenantConfigs(ctx context.Context, in *ListTenantConfigsRequest, opts ...grpc.CallOption) (*ListTenantConfigsResponse, error) - ListHostStoreConfigs(ctx context.Context, in *ListHotStoreConfigsRequest, opts ...grpc.CallOption) (*ListHotStoreConfigsResponse, error) -} - -type metricsConfiguratorServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewMetricsConfiguratorServiceClient(cc grpc.ClientConnInterface) MetricsConfiguratorServiceClient { - return &metricsConfiguratorServiceClient{cc} -} - -func (c *metricsConfiguratorServiceClient) GetTenantConfig(ctx context.Context, in *GetTenantConfigRequest, opts ...grpc.CallOption) (*GetTenantConfigResponse, error) { - out := new(GetTenantConfigResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService/GetTenantConfig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsConfiguratorServiceClient) ListTenantConfigs(ctx context.Context, in *ListTenantConfigsRequest, opts ...grpc.CallOption) (*ListTenantConfigsResponse, error) { - out := new(ListTenantConfigsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService/ListTenantConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsConfiguratorServiceClient) ListHostStoreConfigs(ctx context.Context, in *ListHotStoreConfigsRequest, opts ...grpc.CallOption) (*ListHotStoreConfigsResponse, error) { - out := new(ListHotStoreConfigsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService/ListHostStoreConfigs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// MetricsConfiguratorServiceServer is the server API for MetricsConfiguratorService service. -// All implementations must embed UnimplementedMetricsConfiguratorServiceServer -// for forward compatibility -type MetricsConfiguratorServiceServer interface { - GetTenantConfig(context.Context, *GetTenantConfigRequest) (*GetTenantConfigResponse, error) - ListTenantConfigs(context.Context, *ListTenantConfigsRequest) (*ListTenantConfigsResponse, error) - ListHostStoreConfigs(context.Context, *ListHotStoreConfigsRequest) (*ListHotStoreConfigsResponse, error) - mustEmbedUnimplementedMetricsConfiguratorServiceServer() -} - -// UnimplementedMetricsConfiguratorServiceServer must be embedded to have forward compatible implementations. -type UnimplementedMetricsConfiguratorServiceServer struct { -} - -func (UnimplementedMetricsConfiguratorServiceServer) GetTenantConfig(context.Context, *GetTenantConfigRequest) (*GetTenantConfigResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTenantConfig not implemented") -} -func (UnimplementedMetricsConfiguratorServiceServer) ListTenantConfigs(context.Context, *ListTenantConfigsRequest) (*ListTenantConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTenantConfigs not implemented") -} -func (UnimplementedMetricsConfiguratorServiceServer) ListHostStoreConfigs(context.Context, *ListHotStoreConfigsRequest) (*ListHotStoreConfigsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListHostStoreConfigs not implemented") -} -func (UnimplementedMetricsConfiguratorServiceServer) mustEmbedUnimplementedMetricsConfiguratorServiceServer() { -} - -// UnsafeMetricsConfiguratorServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to MetricsConfiguratorServiceServer will -// result in compilation errors. -type UnsafeMetricsConfiguratorServiceServer interface { - mustEmbedUnimplementedMetricsConfiguratorServiceServer() -} - -func RegisterMetricsConfiguratorServiceServer(s grpc.ServiceRegistrar, srv MetricsConfiguratorServiceServer) { - s.RegisterService(&MetricsConfiguratorService_ServiceDesc, srv) -} - -func _MetricsConfiguratorService_GetTenantConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTenantConfigRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsConfiguratorServiceServer).GetTenantConfig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService/GetTenantConfig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsConfiguratorServiceServer).GetTenantConfig(ctx, req.(*GetTenantConfigRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsConfiguratorService_ListTenantConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTenantConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsConfiguratorServiceServer).ListTenantConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService/ListTenantConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsConfiguratorServiceServer).ListTenantConfigs(ctx, req.(*ListTenantConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsConfiguratorService_ListHostStoreConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListHotStoreConfigsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsConfiguratorServiceServer).ListHostStoreConfigs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService/ListHostStoreConfigs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsConfiguratorServiceServer).ListHostStoreConfigs(ctx, req.(*ListHotStoreConfigsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// MetricsConfiguratorService_ServiceDesc is the grpc.ServiceDesc for MetricsConfiguratorService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var MetricsConfiguratorService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.metrics.metrics_configurator.MetricsConfiguratorService", - HandlerType: (*MetricsConfiguratorServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTenantConfig", - Handler: _MetricsConfiguratorService_GetTenantConfig_Handler, - }, - { - MethodName: "ListTenantConfigs", - Handler: _MetricsConfiguratorService_ListTenantConfigs_Handler, - }, - { - MethodName: "ListHostStoreConfigs", - Handler: _MetricsConfiguratorService_ListHostStoreConfigs_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "proto/com/coralogix/metrics/metrics-configurator.proto", -} diff --git a/coralogix/clientset/grpc/archive-retentions/retention.pb.go b/coralogix/clientset/grpc/archive-retentions/retention.pb.go deleted file mode 100644 index f89456bb..00000000 --- a/coralogix/clientset/grpc/archive-retentions/retention.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/archive/v1/retention.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 Retention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Order *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Editable *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=editable,proto3" json:"editable,omitempty"` -} - -func (x *Retention) Reset() { - *x = Retention{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retention_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Retention) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Retention) ProtoMessage() {} - -func (x *Retention) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retention_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 Retention.ProtoReflect.Descriptor instead. -func (*Retention) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retention_proto_rawDescGZIP(), []int{0} -} - -func (x *Retention) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Retention) GetOrder() *wrapperspb.Int32Value { - if x != nil { - return x.Order - } - return nil -} - -func (x *Retention) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Retention) GetEditable() *wrapperspb.BoolValue { - if x != nil { - return x.Editable - } - return nil -} - -var File_com_coralogix_archive_v1_retention_proto protoreflect.FileDescriptor - -var file_com_coralogix_archive_v1_retention_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x2e, 0x76, 0x31, 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, 0xd6, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x74, 0x65, 0x6e, 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, 0x31, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 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, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x04, 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, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, - 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, 0x08, 0x65, 0x64, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x03, 0x5a, - 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_archive_v1_retention_proto_rawDescOnce sync.Once - file_com_coralogix_archive_v1_retention_proto_rawDescData = file_com_coralogix_archive_v1_retention_proto_rawDesc -) - -func file_com_coralogix_archive_v1_retention_proto_rawDescGZIP() []byte { - file_com_coralogix_archive_v1_retention_proto_rawDescOnce.Do(func() { - file_com_coralogix_archive_v1_retention_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_archive_v1_retention_proto_rawDescData) - }) - return file_com_coralogix_archive_v1_retention_proto_rawDescData -} - -var file_com_coralogix_archive_v1_retention_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_archive_v1_retention_proto_goTypes = []interface{}{ - (*Retention)(nil), // 0: com.coralogix.archive.v1.Retention - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.Int32Value)(nil), // 2: google.protobuf.Int32Value - (*wrapperspb.BoolValue)(nil), // 3: google.protobuf.BoolValue -} -var file_com_coralogix_archive_v1_retention_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.archive.v1.Retention.id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.archive.v1.Retention.order:type_name -> google.protobuf.Int32Value - 1, // 2: com.coralogix.archive.v1.Retention.name:type_name -> google.protobuf.StringValue - 3, // 3: com.coralogix.archive.v1.Retention.editable:type_name -> google.protobuf.BoolValue - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_com_coralogix_archive_v1_retention_proto_init() } -func file_com_coralogix_archive_v1_retention_proto_init() { - if File_com_coralogix_archive_v1_retention_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_archive_v1_retention_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Retention); 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_coralogix_archive_v1_retention_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_archive_v1_retention_proto_goTypes, - DependencyIndexes: file_com_coralogix_archive_v1_retention_proto_depIdxs, - MessageInfos: file_com_coralogix_archive_v1_retention_proto_msgTypes, - }.Build() - File_com_coralogix_archive_v1_retention_proto = out.File - file_com_coralogix_archive_v1_retention_proto_rawDesc = nil - file_com_coralogix_archive_v1_retention_proto_goTypes = nil - file_com_coralogix_archive_v1_retention_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/archive-retentions/retentions_service.pb.go b/coralogix/clientset/grpc/archive-retentions/retentions_service.pb.go deleted file mode 100644 index 78018f8c..00000000 --- a/coralogix/clientset/grpc/archive-retentions/retentions_service.pb.go +++ /dev/null @@ -1,804 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/archive/v1/retentions_service.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "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 GetRetentionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetRetentionsRequest) Reset() { - *x = GetRetentionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRetentionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRetentionsRequest) ProtoMessage() {} - -func (x *GetRetentionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 GetRetentionsRequest.ProtoReflect.Descriptor instead. -func (*GetRetentionsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{0} -} - -type GetRetentionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Retentions []*Retention `protobuf:"bytes,1,rep,name=retentions,proto3" json:"retentions,omitempty"` -} - -func (x *GetRetentionsResponse) Reset() { - *x = GetRetentionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRetentionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRetentionsResponse) ProtoMessage() {} - -func (x *GetRetentionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 GetRetentionsResponse.ProtoReflect.Descriptor instead. -func (*GetRetentionsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetRetentionsResponse) GetRetentions() []*Retention { - if x != nil { - return x.Retentions - } - return nil -} - -type RetentionUpdateElement 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 *RetentionUpdateElement) Reset() { - *x = RetentionUpdateElement{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RetentionUpdateElement) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RetentionUpdateElement) ProtoMessage() {} - -func (x *RetentionUpdateElement) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 RetentionUpdateElement.ProtoReflect.Descriptor instead. -func (*RetentionUpdateElement) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{2} -} - -func (x *RetentionUpdateElement) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *RetentionUpdateElement) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -type UpdateRetentionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetentionUpdateElements []*RetentionUpdateElement `protobuf:"bytes,1,rep,name=retention_update_elements,json=retentionUpdateElements,proto3" json:"retention_update_elements,omitempty"` -} - -func (x *UpdateRetentionsRequest) Reset() { - *x = UpdateRetentionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRetentionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRetentionsRequest) ProtoMessage() {} - -func (x *UpdateRetentionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 UpdateRetentionsRequest.ProtoReflect.Descriptor instead. -func (*UpdateRetentionsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{3} -} - -func (x *UpdateRetentionsRequest) GetRetentionUpdateElements() []*RetentionUpdateElement { - if x != nil { - return x.RetentionUpdateElements - } - return nil -} - -type UpdateRetentionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Retentions []*Retention `protobuf:"bytes,1,rep,name=retentions,proto3" json:"retentions,omitempty"` -} - -func (x *UpdateRetentionsResponse) Reset() { - *x = UpdateRetentionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRetentionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRetentionsResponse) ProtoMessage() {} - -func (x *UpdateRetentionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 UpdateRetentionsResponse.ProtoReflect.Descriptor instead. -func (*UpdateRetentionsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{4} -} - -func (x *UpdateRetentionsResponse) GetRetentions() []*Retention { - if x != nil { - return x.Retentions - } - return nil -} - -type ActivateRetentionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ActivateRetentionsRequest) Reset() { - *x = ActivateRetentionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActivateRetentionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivateRetentionsRequest) ProtoMessage() {} - -func (x *ActivateRetentionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 ActivateRetentionsRequest.ProtoReflect.Descriptor instead. -func (*ActivateRetentionsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{5} -} - -type ActivateRetentionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ActivateRetentions *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=activate_retentions,json=activateRetentions,proto3" json:"activate_retentions,omitempty"` -} - -func (x *ActivateRetentionsResponse) Reset() { - *x = ActivateRetentionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActivateRetentionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActivateRetentionsResponse) ProtoMessage() {} - -func (x *ActivateRetentionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 ActivateRetentionsResponse.ProtoReflect.Descriptor instead. -func (*ActivateRetentionsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{6} -} - -func (x *ActivateRetentionsResponse) GetActivateRetentions() *wrapperspb.BoolValue { - if x != nil { - return x.ActivateRetentions - } - return nil -} - -type GetRetentionsEnabledRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetRetentionsEnabledRequest) Reset() { - *x = GetRetentionsEnabledRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRetentionsEnabledRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRetentionsEnabledRequest) ProtoMessage() {} - -func (x *GetRetentionsEnabledRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 GetRetentionsEnabledRequest.ProtoReflect.Descriptor instead. -func (*GetRetentionsEnabledRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{7} -} - -type GetRetentionsEnabledResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnableTags *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable_tags,json=enableTags,proto3" json:"enable_tags,omitempty"` -} - -func (x *GetRetentionsEnabledResponse) Reset() { - *x = GetRetentionsEnabledResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRetentionsEnabledResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRetentionsEnabledResponse) ProtoMessage() {} - -func (x *GetRetentionsEnabledResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_archive_v1_retentions_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 GetRetentionsEnabledResponse.ProtoReflect.Descriptor instead. -func (*GetRetentionsEnabledResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP(), []int{8} -} - -func (x *GetRetentionsEnabledResponse) GetEnableTags() *wrapperspb.BoolValue { - if x != nil { - return x.EnableTags - } - return nil -} - -var file_com_coralogix_archive_v1_retentions_service_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*string)(nil), - Field: 65001, - Name: "com.coralogix.archive.v1.validation_pattern", - Tag: "bytes,65001,opt,name=validation_pattern", - Filename: "com/coralogix/archive/v1/retentions_service.proto", - }, - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*int32)(nil), - Field: 65002, - Name: "com.coralogix.archive.v1.validation_max_length", - Tag: "varint,65002,opt,name=validation_max_length", - Filename: "com/coralogix/archive/v1/retentions_service.proto", - }, - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*string)(nil), - Field: 65003, - Name: "com.coralogix.archive.v1.validation_encoding", - Tag: "bytes,65003,opt,name=validation_encoding", - Filename: "com/coralogix/archive/v1/retentions_service.proto", - }, - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*int32)(nil), - Field: 65004, - Name: "com.coralogix.archive.v1.validation_max_elements", - Tag: "varint,65004,opt,name=validation_max_elements", - Filename: "com/coralogix/archive/v1/retentions_service.proto", - }, -} - -// Extension fields to descriptorpb.FieldOptions. -var ( - // optional string validation_pattern = 65001; - E_ValidationPattern = &file_com_coralogix_archive_v1_retentions_service_proto_extTypes[0] - // optional int32 validation_max_length = 65002; - E_ValidationMaxLength = &file_com_coralogix_archive_v1_retentions_service_proto_extTypes[1] - // optional string validation_encoding = 65003; - E_ValidationEncoding = &file_com_coralogix_archive_v1_retentions_service_proto_extTypes[2] - // optional int32 validation_max_elements = 65004; - E_ValidationMaxElements = &file_com_coralogix_archive_v1_retentions_service_proto_extTypes[3] -) - -var File_com_coralogix_archive_v1_retentions_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_archive_v1_retentions_service_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 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, 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, - 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, - 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, - 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, - 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xfb, 0x01, 0x0a, 0x16, 0x52, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x89, 0x01, 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, 0x42, - 0x5b, 0xca, 0xde, 0x1f, 0x57, 0x5e, 0x28, 0x5b, 0x61, 0x2d, 0x66, 0x41, 0x2d, 0x46, 0x30, 0x2d, - 0x39, 0x5d, 0x7b, 0x38, 0x7d, 0x5b, 0x2d, 0x5d, 0x5b, 0x61, 0x2d, 0x66, 0x41, 0x2d, 0x46, 0x30, - 0x2d, 0x39, 0x5d, 0x7b, 0x34, 0x7d, 0x5b, 0x2d, 0x5d, 0x5b, 0x61, 0x2d, 0x66, 0x41, 0x2d, 0x46, - 0x30, 0x2d, 0x39, 0x5d, 0x7b, 0x34, 0x7d, 0x5b, 0x2d, 0x5d, 0x5b, 0x61, 0x2d, 0x66, 0x41, 0x2d, - 0x46, 0x30, 0x2d, 0x39, 0x5d, 0x7b, 0x34, 0x7d, 0x5b, 0x2d, 0x5d, 0x5b, 0x61, 0x2d, 0x66, 0x41, - 0x2d, 0x46, 0x30, 0x2d, 0x39, 0x5d, 0x7b, 0x31, 0x32, 0x7d, 0x29, 0x24, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x55, 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, 0x42, 0x23, 0xca, 0xde, - 0x1f, 0x10, 0x5e, 0x5b, 0x61, 0x2d, 0x7a, 0x41, 0x2d, 0x5a, 0x30, 0x2d, 0x39, 0x5f, 0x2d, 0x5d, - 0x2b, 0x24, 0xd0, 0xde, 0x1f, 0xff, 0x01, 0xda, 0xde, 0x1f, 0x06, 0x6c, 0x61, 0x74, 0x69, 0x6e, - 0x31, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x72, 0x0a, 0x19, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x04, 0xe0, 0xde, 0x1f, 0x04, 0x52, 0x17, - 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, - 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x5f, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x69, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, - 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x5b, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x3b, 0x0a, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x0a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x67, 0x73, 0x32, 0x88, 0x05, 0x0a, - 0x11, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0xc2, 0xb8, 0x02, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, - 0x20, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x97, 0x01, 0x0a, 0x10, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0xc2, 0xb8, 0x02, 0x18, 0x0a, 0x16, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x20, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, - 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0xc2, 0xb8, 0x02, 0x19, 0x0a, 0x17, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x20, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x20, 0x74, 0x61, 0x67, 0x73, 0x12, 0xae, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, - 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, - 0xc2, 0xb8, 0x02, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x20, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x61, 0x67, 0x73, 0x20, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x20, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x4e, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x1d, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe9, 0xfb, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x3a, 0x53, 0x0a, 0x15, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, - 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0xea, 0xfb, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x50, 0x0a, 0x13, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, - 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0xeb, 0xfb, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x57, - 0x0a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, - 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xec, 0xfb, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x15, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x45, - 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_archive_v1_retentions_service_proto_rawDescOnce sync.Once - file_com_coralogix_archive_v1_retentions_service_proto_rawDescData = file_com_coralogix_archive_v1_retentions_service_proto_rawDesc -) - -func file_com_coralogix_archive_v1_retentions_service_proto_rawDescGZIP() []byte { - file_com_coralogix_archive_v1_retentions_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_archive_v1_retentions_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_archive_v1_retentions_service_proto_rawDescData) - }) - return file_com_coralogix_archive_v1_retentions_service_proto_rawDescData -} - -var file_com_coralogix_archive_v1_retentions_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_com_coralogix_archive_v1_retentions_service_proto_goTypes = []interface{}{ - (*GetRetentionsRequest)(nil), // 0: com.coralogix.archive.v1.GetRetentionsRequest - (*GetRetentionsResponse)(nil), // 1: com.coralogix.archive.v1.GetRetentionsResponse - (*RetentionUpdateElement)(nil), // 2: com.coralogix.archive.v1.RetentionUpdateElement - (*UpdateRetentionsRequest)(nil), // 3: com.coralogix.archive.v1.UpdateRetentionsRequest - (*UpdateRetentionsResponse)(nil), // 4: com.coralogix.archive.v1.UpdateRetentionsResponse - (*ActivateRetentionsRequest)(nil), // 5: com.coralogix.archive.v1.ActivateRetentionsRequest - (*ActivateRetentionsResponse)(nil), // 6: com.coralogix.archive.v1.ActivateRetentionsResponse - (*GetRetentionsEnabledRequest)(nil), // 7: com.coralogix.archive.v1.GetRetentionsEnabledRequest - (*GetRetentionsEnabledResponse)(nil), // 8: com.coralogix.archive.v1.GetRetentionsEnabledResponse - (*Retention)(nil), // 9: com.coralogix.archive.v1.Retention - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 11: google.protobuf.BoolValue - (*descriptorpb.FieldOptions)(nil), // 12: google.protobuf.FieldOptions -} -var file_com_coralogix_archive_v1_retentions_service_proto_depIdxs = []int32{ - 9, // 0: com.coralogix.archive.v1.GetRetentionsResponse.retentions:type_name -> com.coralogix.archive.v1.Retention - 10, // 1: com.coralogix.archive.v1.RetentionUpdateElement.id:type_name -> google.protobuf.StringValue - 10, // 2: com.coralogix.archive.v1.RetentionUpdateElement.name:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogix.archive.v1.UpdateRetentionsRequest.retention_update_elements:type_name -> com.coralogix.archive.v1.RetentionUpdateElement - 9, // 4: com.coralogix.archive.v1.UpdateRetentionsResponse.retentions:type_name -> com.coralogix.archive.v1.Retention - 11, // 5: com.coralogix.archive.v1.ActivateRetentionsResponse.activate_retentions:type_name -> google.protobuf.BoolValue - 11, // 6: com.coralogix.archive.v1.GetRetentionsEnabledResponse.enable_tags:type_name -> google.protobuf.BoolValue - 12, // 7: com.coralogix.archive.v1.validation_pattern:extendee -> google.protobuf.FieldOptions - 12, // 8: com.coralogix.archive.v1.validation_max_length:extendee -> google.protobuf.FieldOptions - 12, // 9: com.coralogix.archive.v1.validation_encoding:extendee -> google.protobuf.FieldOptions - 12, // 10: com.coralogix.archive.v1.validation_max_elements:extendee -> google.protobuf.FieldOptions - 0, // 11: com.coralogix.archive.v1.RetentionsService.GetRetentions:input_type -> com.coralogix.archive.v1.GetRetentionsRequest - 3, // 12: com.coralogix.archive.v1.RetentionsService.UpdateRetentions:input_type -> com.coralogix.archive.v1.UpdateRetentionsRequest - 5, // 13: com.coralogix.archive.v1.RetentionsService.ActivateRetentions:input_type -> com.coralogix.archive.v1.ActivateRetentionsRequest - 7, // 14: com.coralogix.archive.v1.RetentionsService.GetRetentionsEnabled:input_type -> com.coralogix.archive.v1.GetRetentionsEnabledRequest - 1, // 15: com.coralogix.archive.v1.RetentionsService.GetRetentions:output_type -> com.coralogix.archive.v1.GetRetentionsResponse - 4, // 16: com.coralogix.archive.v1.RetentionsService.UpdateRetentions:output_type -> com.coralogix.archive.v1.UpdateRetentionsResponse - 6, // 17: com.coralogix.archive.v1.RetentionsService.ActivateRetentions:output_type -> com.coralogix.archive.v1.ActivateRetentionsResponse - 8, // 18: com.coralogix.archive.v1.RetentionsService.GetRetentionsEnabled:output_type -> com.coralogix.archive.v1.GetRetentionsEnabledResponse - 15, // [15:19] is the sub-list for method output_type - 11, // [11:15] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 7, // [7:11] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name -} - -func init() { file_com_coralogix_archive_v1_retentions_service_proto_init() } -func file_com_coralogix_archive_v1_retentions_service_proto_init() { - if File_com_coralogix_archive_v1_retentions_service_proto != nil { - return - } - //file_com_coralogix_archive_v1_audit_log_proto_init() - file_com_coralogix_archive_v1_retention_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRetentionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRetentionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RetentionUpdateElement); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRetentionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRetentionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActivateRetentionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActivateRetentionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRetentionsEnabledRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_archive_v1_retentions_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRetentionsEnabledResponse); 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_coralogix_archive_v1_retentions_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 4, - NumServices: 1, - }, - GoTypes: file_com_coralogix_archive_v1_retentions_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_archive_v1_retentions_service_proto_depIdxs, - MessageInfos: file_com_coralogix_archive_v1_retentions_service_proto_msgTypes, - ExtensionInfos: file_com_coralogix_archive_v1_retentions_service_proto_extTypes, - }.Build() - File_com_coralogix_archive_v1_retentions_service_proto = out.File - file_com_coralogix_archive_v1_retentions_service_proto_rawDesc = nil - file_com_coralogix_archive_v1_retentions_service_proto_goTypes = nil - file_com_coralogix_archive_v1_retentions_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/archive-retentions/retentions_service_grpc.pb.go b/coralogix/clientset/grpc/archive-retentions/retentions_service_grpc.pb.go deleted file mode 100644 index db52b4c6..00000000 --- a/coralogix/clientset/grpc/archive-retentions/retentions_service_grpc.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/archive/v1/retentions_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 - -// RetentionsServiceClient is the client API for RetentionsService 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 RetentionsServiceClient interface { - GetRetentions(ctx context.Context, in *GetRetentionsRequest, opts ...grpc.CallOption) (*GetRetentionsResponse, error) - UpdateRetentions(ctx context.Context, in *UpdateRetentionsRequest, opts ...grpc.CallOption) (*UpdateRetentionsResponse, error) - ActivateRetentions(ctx context.Context, in *ActivateRetentionsRequest, opts ...grpc.CallOption) (*ActivateRetentionsResponse, error) - GetRetentionsEnabled(ctx context.Context, in *GetRetentionsEnabledRequest, opts ...grpc.CallOption) (*GetRetentionsEnabledResponse, error) -} - -type retentionsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRetentionsServiceClient(cc grpc.ClientConnInterface) RetentionsServiceClient { - return &retentionsServiceClient{cc} -} - -func (c *retentionsServiceClient) GetRetentions(ctx context.Context, in *GetRetentionsRequest, opts ...grpc.CallOption) (*GetRetentionsResponse, error) { - out := new(GetRetentionsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.archive.v1.RetentionsService/GetRetentions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *retentionsServiceClient) UpdateRetentions(ctx context.Context, in *UpdateRetentionsRequest, opts ...grpc.CallOption) (*UpdateRetentionsResponse, error) { - out := new(UpdateRetentionsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.archive.v1.RetentionsService/UpdateRetentions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *retentionsServiceClient) ActivateRetentions(ctx context.Context, in *ActivateRetentionsRequest, opts ...grpc.CallOption) (*ActivateRetentionsResponse, error) { - out := new(ActivateRetentionsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.archive.v1.RetentionsService/ActivateRetentions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *retentionsServiceClient) GetRetentionsEnabled(ctx context.Context, in *GetRetentionsEnabledRequest, opts ...grpc.CallOption) (*GetRetentionsEnabledResponse, error) { - out := new(GetRetentionsEnabledResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.archive.v1.RetentionsService/GetRetentionsEnabled", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RetentionsServiceServer is the server API for RetentionsService service. -// All implementations must embed UnimplementedRetentionsServiceServer -// for forward compatibility -type RetentionsServiceServer interface { - GetRetentions(context.Context, *GetRetentionsRequest) (*GetRetentionsResponse, error) - UpdateRetentions(context.Context, *UpdateRetentionsRequest) (*UpdateRetentionsResponse, error) - ActivateRetentions(context.Context, *ActivateRetentionsRequest) (*ActivateRetentionsResponse, error) - GetRetentionsEnabled(context.Context, *GetRetentionsEnabledRequest) (*GetRetentionsEnabledResponse, error) - mustEmbedUnimplementedRetentionsServiceServer() -} - -// UnimplementedRetentionsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedRetentionsServiceServer struct { -} - -func (UnimplementedRetentionsServiceServer) GetRetentions(context.Context, *GetRetentionsRequest) (*GetRetentionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRetentions not implemented") -} -func (UnimplementedRetentionsServiceServer) UpdateRetentions(context.Context, *UpdateRetentionsRequest) (*UpdateRetentionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateRetentions not implemented") -} -func (UnimplementedRetentionsServiceServer) ActivateRetentions(context.Context, *ActivateRetentionsRequest) (*ActivateRetentionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ActivateRetentions not implemented") -} -func (UnimplementedRetentionsServiceServer) GetRetentionsEnabled(context.Context, *GetRetentionsEnabledRequest) (*GetRetentionsEnabledResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRetentionsEnabled not implemented") -} -func (UnimplementedRetentionsServiceServer) mustEmbedUnimplementedRetentionsServiceServer() {} - -// UnsafeRetentionsServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RetentionsServiceServer will -// result in compilation errors. -type UnsafeRetentionsServiceServer interface { - mustEmbedUnimplementedRetentionsServiceServer() -} - -func RegisterRetentionsServiceServer(s grpc.ServiceRegistrar, srv RetentionsServiceServer) { - s.RegisterService(&RetentionsService_ServiceDesc, srv) -} - -func _RetentionsService_GetRetentions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRetentionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RetentionsServiceServer).GetRetentions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.archive.v1.RetentionsService/GetRetentions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RetentionsServiceServer).GetRetentions(ctx, req.(*GetRetentionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RetentionsService_UpdateRetentions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRetentionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RetentionsServiceServer).UpdateRetentions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.archive.v1.RetentionsService/UpdateRetentions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RetentionsServiceServer).UpdateRetentions(ctx, req.(*UpdateRetentionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RetentionsService_ActivateRetentions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ActivateRetentionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RetentionsServiceServer).ActivateRetentions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.archive.v1.RetentionsService/ActivateRetentions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RetentionsServiceServer).ActivateRetentions(ctx, req.(*ActivateRetentionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RetentionsService_GetRetentionsEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRetentionsEnabledRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RetentionsServiceServer).GetRetentionsEnabled(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.archive.v1.RetentionsService/GetRetentionsEnabled", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RetentionsServiceServer).GetRetentionsEnabled(ctx, req.(*GetRetentionsEnabledRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RetentionsService_ServiceDesc is the grpc.ServiceDesc for RetentionsService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RetentionsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.archive.v1.RetentionsService", - HandlerType: (*RetentionsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRetentions", - Handler: _RetentionsService_GetRetentions_Handler, - }, - { - MethodName: "UpdateRetentions", - Handler: _RetentionsService_UpdateRetentions_Handler, - }, - { - MethodName: "ActivateRetentions", - Handler: _RetentionsService_ActivateRetentions_Handler, - }, - { - MethodName: "GetRetentionsEnabled", - Handler: _RetentionsService_GetRetentionsEnabled_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/archive/v1/retentions_service.proto", -} diff --git a/coralogix/clientset/grpc/dashboards/annotation.pb.go b/coralogix/clientset/grpc/dashboards/annotation.pb.go deleted file mode 100644 index bb858863..00000000 --- a/coralogix/clientset/grpc/dashboards/annotation.pb.go +++ /dev/null @@ -1,1561 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/annotation.proto - -package v1 - -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 - // *Annotation_Source_Logs - // *Annotation_Source_Spans - 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 -} - -func (x *Annotation_Source) GetLogs() *Annotation_LogsSource { - if x, ok := x.GetValue().(*Annotation_Source_Logs); ok { - return x.Logs - } - return nil -} - -func (x *Annotation_Source) GetSpans() *Annotation_SpansSource { - if x, ok := x.GetValue().(*Annotation_Source_Spans); ok { - return x.Spans - } - 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"` -} - -type Annotation_Source_Logs struct { - Logs *Annotation_LogsSource `protobuf:"bytes,2,opt,name=logs,proto3,oneof"` -} - -type Annotation_Source_Spans struct { - Spans *Annotation_SpansSource `protobuf:"bytes,3,opt,name=spans,proto3,oneof"` -} - -func (*Annotation_Source_Metrics) isAnnotation_Source_Value() {} - -func (*Annotation_Source_Logs) isAnnotation_Source_Value() {} - -func (*Annotation_Source_Spans) 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 -} - -type Annotation_LogsSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Strategy *Annotation_LogsSource_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"` - LabelFields []*ObservationField `protobuf:"bytes,4,rep,name=label_fields,json=labelFields,proto3" json:"label_fields,omitempty"` -} - -func (x *Annotation_LogsSource) Reset() { - *x = Annotation_LogsSource{} - 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_LogsSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_LogsSource) ProtoMessage() {} - -func (x *Annotation_LogsSource) 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_LogsSource.ProtoReflect.Descriptor instead. -func (*Annotation_LogsSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *Annotation_LogsSource) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *Annotation_LogsSource) GetStrategy() *Annotation_LogsSource_Strategy { - if x != nil { - return x.Strategy - } - return nil -} - -func (x *Annotation_LogsSource) GetMessageTemplate() *wrapperspb.StringValue { - if x != nil { - return x.MessageTemplate - } - return nil -} - -func (x *Annotation_LogsSource) GetLabelFields() []*ObservationField { - if x != nil { - return x.LabelFields - } - return nil -} - -type Annotation_SpansSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Strategy *Annotation_SpansSource_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"` - LabelFields []*ObservationField `protobuf:"bytes,4,rep,name=label_fields,json=labelFields,proto3" json:"label_fields,omitempty"` -} - -func (x *Annotation_SpansSource) Reset() { - *x = Annotation_SpansSource{} - 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_SpansSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_SpansSource) ProtoMessage() {} - -func (x *Annotation_SpansSource) 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_SpansSource.ProtoReflect.Descriptor instead. -func (*Annotation_SpansSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *Annotation_SpansSource) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *Annotation_SpansSource) GetStrategy() *Annotation_SpansSource_Strategy { - if x != nil { - return x.Strategy - } - return nil -} - -func (x *Annotation_SpansSource) GetMessageTemplate() *wrapperspb.StringValue { - if x != nil { - return x.MessageTemplate - } - return nil -} - -func (x *Annotation_SpansSource) GetLabelFields() []*ObservationField { - if x != nil { - return x.LabelFields - } - 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[5] - 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[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 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[6] - 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[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 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} -} - -type Annotation_LogsSource_Strategy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *Annotation_LogsSource_Strategy_Instant_ - // *Annotation_LogsSource_Strategy_Range_ - // *Annotation_LogsSource_Strategy_Duration_ - Value isAnnotation_LogsSource_Strategy_Value `protobuf_oneof:"value"` -} - -func (x *Annotation_LogsSource_Strategy) Reset() { - *x = Annotation_LogsSource_Strategy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_LogsSource_Strategy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_LogsSource_Strategy) ProtoMessage() {} - -func (x *Annotation_LogsSource_Strategy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_LogsSource_Strategy.ProtoReflect.Descriptor instead. -func (*Annotation_LogsSource_Strategy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0} -} - -func (m *Annotation_LogsSource_Strategy) GetValue() isAnnotation_LogsSource_Strategy_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Annotation_LogsSource_Strategy) GetInstant() *Annotation_LogsSource_Strategy_Instant { - if x, ok := x.GetValue().(*Annotation_LogsSource_Strategy_Instant_); ok { - return x.Instant - } - return nil -} - -func (x *Annotation_LogsSource_Strategy) GetRange() *Annotation_LogsSource_Strategy_Range { - if x, ok := x.GetValue().(*Annotation_LogsSource_Strategy_Range_); ok { - return x.Range - } - return nil -} - -func (x *Annotation_LogsSource_Strategy) GetDuration() *Annotation_LogsSource_Strategy_Duration { - if x, ok := x.GetValue().(*Annotation_LogsSource_Strategy_Duration_); ok { - return x.Duration - } - return nil -} - -type isAnnotation_LogsSource_Strategy_Value interface { - isAnnotation_LogsSource_Strategy_Value() -} - -type Annotation_LogsSource_Strategy_Instant_ struct { - Instant *Annotation_LogsSource_Strategy_Instant `protobuf:"bytes,1,opt,name=instant,proto3,oneof"` -} - -type Annotation_LogsSource_Strategy_Range_ struct { - Range *Annotation_LogsSource_Strategy_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"` -} - -type Annotation_LogsSource_Strategy_Duration_ struct { - Duration *Annotation_LogsSource_Strategy_Duration `protobuf:"bytes,3,opt,name=duration,proto3,oneof"` -} - -func (*Annotation_LogsSource_Strategy_Instant_) isAnnotation_LogsSource_Strategy_Value() {} - -func (*Annotation_LogsSource_Strategy_Range_) isAnnotation_LogsSource_Strategy_Value() {} - -func (*Annotation_LogsSource_Strategy_Duration_) isAnnotation_LogsSource_Strategy_Value() {} - -type Annotation_LogsSource_Strategy_Instant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TimestampField *ObservationField `protobuf:"bytes,1,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"` -} - -func (x *Annotation_LogsSource_Strategy_Instant) Reset() { - *x = Annotation_LogsSource_Strategy_Instant{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_LogsSource_Strategy_Instant) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_LogsSource_Strategy_Instant) ProtoMessage() {} - -func (x *Annotation_LogsSource_Strategy_Instant) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_LogsSource_Strategy_Instant.ProtoReflect.Descriptor instead. -func (*Annotation_LogsSource_Strategy_Instant) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0, 0} -} - -func (x *Annotation_LogsSource_Strategy_Instant) GetTimestampField() *ObservationField { - if x != nil { - return x.TimestampField - } - return nil -} - -type Annotation_LogsSource_Strategy_Range struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` - EndTimestampField *ObservationField `protobuf:"bytes,2,opt,name=end_timestamp_field,json=endTimestampField,proto3" json:"end_timestamp_field,omitempty"` -} - -func (x *Annotation_LogsSource_Strategy_Range) Reset() { - *x = Annotation_LogsSource_Strategy_Range{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_LogsSource_Strategy_Range) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_LogsSource_Strategy_Range) ProtoMessage() {} - -func (x *Annotation_LogsSource_Strategy_Range) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_LogsSource_Strategy_Range.ProtoReflect.Descriptor instead. -func (*Annotation_LogsSource_Strategy_Range) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0, 1} -} - -func (x *Annotation_LogsSource_Strategy_Range) GetStartTimestampField() *ObservationField { - if x != nil { - return x.StartTimestampField - } - return nil -} - -func (x *Annotation_LogsSource_Strategy_Range) GetEndTimestampField() *ObservationField { - if x != nil { - return x.EndTimestampField - } - return nil -} - -type Annotation_LogsSource_Strategy_Duration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` - DurationField *ObservationField `protobuf:"bytes,2,opt,name=duration_field,json=durationField,proto3" json:"duration_field,omitempty"` -} - -func (x *Annotation_LogsSource_Strategy_Duration) Reset() { - *x = Annotation_LogsSource_Strategy_Duration{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_LogsSource_Strategy_Duration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_LogsSource_Strategy_Duration) ProtoMessage() {} - -func (x *Annotation_LogsSource_Strategy_Duration) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_LogsSource_Strategy_Duration.ProtoReflect.Descriptor instead. -func (*Annotation_LogsSource_Strategy_Duration) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0, 2} -} - -func (x *Annotation_LogsSource_Strategy_Duration) GetStartTimestampField() *ObservationField { - if x != nil { - return x.StartTimestampField - } - return nil -} - -func (x *Annotation_LogsSource_Strategy_Duration) GetDurationField() *ObservationField { - if x != nil { - return x.DurationField - } - return nil -} - -type Annotation_SpansSource_Strategy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *Annotation_SpansSource_Strategy_Instant_ - // *Annotation_SpansSource_Strategy_Range_ - // *Annotation_SpansSource_Strategy_Duration_ - Value isAnnotation_SpansSource_Strategy_Value `protobuf_oneof:"value"` -} - -func (x *Annotation_SpansSource_Strategy) Reset() { - *x = Annotation_SpansSource_Strategy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_SpansSource_Strategy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_SpansSource_Strategy) ProtoMessage() {} - -func (x *Annotation_SpansSource_Strategy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_SpansSource_Strategy.ProtoReflect.Descriptor instead. -func (*Annotation_SpansSource_Strategy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0} -} - -func (m *Annotation_SpansSource_Strategy) GetValue() isAnnotation_SpansSource_Strategy_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Annotation_SpansSource_Strategy) GetInstant() *Annotation_SpansSource_Strategy_Instant { - if x, ok := x.GetValue().(*Annotation_SpansSource_Strategy_Instant_); ok { - return x.Instant - } - return nil -} - -func (x *Annotation_SpansSource_Strategy) GetRange() *Annotation_SpansSource_Strategy_Range { - if x, ok := x.GetValue().(*Annotation_SpansSource_Strategy_Range_); ok { - return x.Range - } - return nil -} - -func (x *Annotation_SpansSource_Strategy) GetDuration() *Annotation_SpansSource_Strategy_Duration { - if x, ok := x.GetValue().(*Annotation_SpansSource_Strategy_Duration_); ok { - return x.Duration - } - return nil -} - -type isAnnotation_SpansSource_Strategy_Value interface { - isAnnotation_SpansSource_Strategy_Value() -} - -type Annotation_SpansSource_Strategy_Instant_ struct { - Instant *Annotation_SpansSource_Strategy_Instant `protobuf:"bytes,1,opt,name=instant,proto3,oneof"` -} - -type Annotation_SpansSource_Strategy_Range_ struct { - Range *Annotation_SpansSource_Strategy_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"` -} - -type Annotation_SpansSource_Strategy_Duration_ struct { - Duration *Annotation_SpansSource_Strategy_Duration `protobuf:"bytes,3,opt,name=duration,proto3,oneof"` -} - -func (*Annotation_SpansSource_Strategy_Instant_) isAnnotation_SpansSource_Strategy_Value() {} - -func (*Annotation_SpansSource_Strategy_Range_) isAnnotation_SpansSource_Strategy_Value() {} - -func (*Annotation_SpansSource_Strategy_Duration_) isAnnotation_SpansSource_Strategy_Value() {} - -type Annotation_SpansSource_Strategy_Instant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TimestampField *ObservationField `protobuf:"bytes,1,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"` -} - -func (x *Annotation_SpansSource_Strategy_Instant) Reset() { - *x = Annotation_SpansSource_Strategy_Instant{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_SpansSource_Strategy_Instant) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_SpansSource_Strategy_Instant) ProtoMessage() {} - -func (x *Annotation_SpansSource_Strategy_Instant) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_SpansSource_Strategy_Instant.ProtoReflect.Descriptor instead. -func (*Annotation_SpansSource_Strategy_Instant) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0, 0} -} - -func (x *Annotation_SpansSource_Strategy_Instant) GetTimestampField() *ObservationField { - if x != nil { - return x.TimestampField - } - return nil -} - -type Annotation_SpansSource_Strategy_Range struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` - EndTimestampField *ObservationField `protobuf:"bytes,2,opt,name=end_timestamp_field,json=endTimestampField,proto3" json:"end_timestamp_field,omitempty"` -} - -func (x *Annotation_SpansSource_Strategy_Range) Reset() { - *x = Annotation_SpansSource_Strategy_Range{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_SpansSource_Strategy_Range) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_SpansSource_Strategy_Range) ProtoMessage() {} - -func (x *Annotation_SpansSource_Strategy_Range) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_SpansSource_Strategy_Range.ProtoReflect.Descriptor instead. -func (*Annotation_SpansSource_Strategy_Range) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0, 1} -} - -func (x *Annotation_SpansSource_Strategy_Range) GetStartTimestampField() *ObservationField { - if x != nil { - return x.StartTimestampField - } - return nil -} - -func (x *Annotation_SpansSource_Strategy_Range) GetEndTimestampField() *ObservationField { - if x != nil { - return x.EndTimestampField - } - return nil -} - -type Annotation_SpansSource_Strategy_Duration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` - DurationField *ObservationField `protobuf:"bytes,2,opt,name=duration_field,json=durationField,proto3" json:"duration_field,omitempty"` -} - -func (x *Annotation_SpansSource_Strategy_Duration) Reset() { - *x = Annotation_SpansSource_Strategy_Duration{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Annotation_SpansSource_Strategy_Duration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Annotation_SpansSource_Strategy_Duration) ProtoMessage() {} - -func (x *Annotation_SpansSource_Strategy_Duration) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_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 Annotation_SpansSource_Strategy_Duration.ProtoReflect.Descriptor instead. -func (*Annotation_SpansSource_Strategy_Duration) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0, 2} -} - -func (x *Annotation_SpansSource_Strategy_Duration) GetStartTimestampField() *ObservationField { - if x != nil { - return x.StartTimestampField - } - return nil -} - -func (x *Annotation_SpansSource_Strategy_Duration) GetDurationField() *ObservationField { - if x != nil { - return x.DurationField - } - return nil -} - -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, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 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, - 0xd0, 0x1b, 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, 0x93, 0x02, 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, 0x12, 0x50, 0x0a, 0x04, 0x6c, 0x6f, - 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x41, - 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x53, 0x0a, 0x05, - 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x03, 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, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, - 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, - 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, 0x1a, 0xe5, 0x09, - 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0c, - 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 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, 0x5f, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 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, 0x4c, 0x6f, 0x67, 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, 0x5b, - 0x0a, 0x0c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, - 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, 0x0b, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0xf7, 0x06, 0x0a, 0x08, - 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x67, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, - 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x74, 0x12, 0x61, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, - 0x61, 0x6e, 0x67, 0x65, 0x12, 0x6a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 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, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x1a, 0x6c, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x61, 0x0a, 0x0f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, - 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, 0x0e, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xdf, - 0x01, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x18, 0x01, 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, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x68, 0x0a, 0x13, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, - 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x11, 0x65, - 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x1a, 0xd9, 0x01, 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, - 0x15, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 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, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x5f, 0x0a, 0x0e, 0x64, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, - 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d, 0x64, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x07, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xea, 0x09, 0x0a, 0x0b, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 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, 0x60, 0x0a, - 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 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, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x53, 0x70, 0x61, 0x6e, 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, 0x5b, 0x0a, 0x0c, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 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, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0xfa, 0x06, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x12, 0x68, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x74, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x05, - 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, - 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, - 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, - 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, - 0x12, 0x6b, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 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, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, - 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x6c, 0x0a, - 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x61, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 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, 0x0e, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xdf, 0x01, 0x0a, 0x05, - 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, - 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, 0x13, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x12, 0x68, 0x0a, 0x13, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x11, 0x65, 0x6e, 0x64, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xd9, 0x01, - 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, 0x15, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x18, 0x01, 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, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x5f, 0x0a, 0x0e, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d, 0x64, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 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, 15) -var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_goTypes = []any{ - (*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_LogsSource)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource - (*Annotation_SpansSource)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource - (*Annotation_MetricsSource_Strategy)(nil), // 5: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy - (*Annotation_MetricsSource_StartTimeMetric)(nil), // 6: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric - (*Annotation_LogsSource_Strategy)(nil), // 7: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy - (*Annotation_LogsSource_Strategy_Instant)(nil), // 8: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Instant - (*Annotation_LogsSource_Strategy_Range)(nil), // 9: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range - (*Annotation_LogsSource_Strategy_Duration)(nil), // 10: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration - (*Annotation_SpansSource_Strategy)(nil), // 11: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy - (*Annotation_SpansSource_Strategy_Instant)(nil), // 12: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Instant - (*Annotation_SpansSource_Strategy_Range)(nil), // 13: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range - (*Annotation_SpansSource_Strategy_Duration)(nil), // 14: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration - (*wrapperspb.StringValue)(nil), // 15: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 16: google.protobuf.BoolValue - (*PromQlQuery)(nil), // 17: com.coralogixapis.dashboards.v1.common.PromQlQuery - (*LuceneQuery)(nil), // 18: com.coralogixapis.dashboards.v1.common.LuceneQuery - (*ObservationField)(nil), // 19: com.coralogixapis.dashboards.v1.common.ObservationField -} -var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_depIdxs = []int32{ - 15, // 0: com.coralogixapis.dashboards.v1.ast.Annotation.id:type_name -> google.protobuf.StringValue - 15, // 1: com.coralogixapis.dashboards.v1.ast.Annotation.name:type_name -> google.protobuf.StringValue - 16, // 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 - 3, // 5: com.coralogixapis.dashboards.v1.ast.Annotation.Source.logs:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource - 4, // 6: com.coralogixapis.dashboards.v1.ast.Annotation.Source.spans:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource - 17, // 7: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.promql_query:type_name -> com.coralogixapis.dashboards.v1.common.PromQlQuery - 5, // 8: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy - 15, // 9: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.message_template:type_name -> google.protobuf.StringValue - 15, // 10: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.labels:type_name -> google.protobuf.StringValue - 18, // 11: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.lucene_query:type_name -> com.coralogixapis.dashboards.v1.common.LuceneQuery - 7, // 12: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy - 15, // 13: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.message_template:type_name -> google.protobuf.StringValue - 19, // 14: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.label_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 18, // 15: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.lucene_query:type_name -> com.coralogixapis.dashboards.v1.common.LuceneQuery - 11, // 16: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy - 15, // 17: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.message_template:type_name -> google.protobuf.StringValue - 19, // 18: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.label_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 6, // 19: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy.start_time_metric:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric - 8, // 20: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.instant:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Instant - 9, // 21: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.range:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range - 10, // 22: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.duration:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration - 19, // 23: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Instant.timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 24: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 25: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range.end_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 26: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 27: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration.duration_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 12, // 28: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.instant:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Instant - 13, // 29: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.range:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range - 14, // 30: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.duration:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration - 19, // 31: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Instant.timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 32: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 33: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range.end_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 34: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 35: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration.duration_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 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 -} - -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_observation_field_proto_init() - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - switch v := v.(*Annotation_LogsSource); 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 any, i int) any { - switch v := v.(*Annotation_SpansSource); 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[5].Exporter = func(v any, i int) any { - 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[6].Exporter = func(v any, i int) any { - 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[7].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_LogsSource_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[8].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_LogsSource_Strategy_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_ast_annotation_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_LogsSource_Strategy_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_ast_annotation_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_LogsSource_Strategy_Duration); 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[11].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_SpansSource_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[12].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_SpansSource_Strategy_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_ast_annotation_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_SpansSource_Strategy_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_ast_annotation_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*Annotation_SpansSource_Strategy_Duration); 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 = []any{ - (*Annotation_Source_Metrics)(nil), - (*Annotation_Source_Logs)(nil), - (*Annotation_Source_Spans)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[5].OneofWrappers = []any{ - (*Annotation_MetricsSource_Strategy_StartTimeMetric)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[7].OneofWrappers = []any{ - (*Annotation_LogsSource_Strategy_Instant_)(nil), - (*Annotation_LogsSource_Strategy_Range_)(nil), - (*Annotation_LogsSource_Strategy_Duration_)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[11].OneofWrappers = []any{ - (*Annotation_SpansSource_Strategy_Instant_)(nil), - (*Annotation_SpansSource_Strategy_Range_)(nil), - (*Annotation_SpansSource_Strategy_Duration_)(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: 15, - 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 deleted file mode 100644 index 41e959a2..00000000 --- a/coralogix/clientset/grpc/dashboards/annotation_event.pb.go +++ /dev/null @@ -1,411 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/annotation_event.proto - -package v1 - -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" - 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"` - Payload *structpb.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` -} - -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 -} - -func (x *AnnotationEvent_Instant) GetPayload() *structpb.Struct { - if x != nil { - return x.Payload - } - 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"` - Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` -} - -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 -} - -func (x *AnnotationEvent_Range) GetPayload() *structpb.Struct { - if x != nil { - return x.Payload - } - 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, 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, 0x22, 0xa2, 0x06, 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, 0x96, - 0x02, 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, 0x12, 0x31, 0x0a, 0x07, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 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, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 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, 0xb8, 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, 0x12, 0x31, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 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, 0x07, - 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 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, 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 = []any{ - (*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 - (*structpb.Struct)(nil), // 6: google.protobuf.Struct -} -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 - 6, // 4: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.payload:type_name -> google.protobuf.Struct - 5, // 5: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.start:type_name -> google.protobuf.Timestamp - 5, // 6: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.end:type_name -> google.protobuf.Timestamp - 4, // 7: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.labels:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.LabelsEntry - 6, // 8: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.payload:type_name -> google.protobuf.Struct - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] 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_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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 = []any{ - (*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 deleted file mode 100644 index 49208422..00000000 --- a/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service.pb.go +++ /dev/null @@ -1,2265 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/archive_logs_data_source_service.proto - -package v1 - -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"` - Meta map[string]string `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -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 -} - -func (x *SearchArchiveGroupedLogsSeriesResponse) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - 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"` - Meta map[string]string `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -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 -} - -func (x *SearchArchiveGroupedLogsTimeSeriesResponse) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - 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 -} - -type SearchArchiveLogsGroupedValuesRequest 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"` - AggregationKey *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *SearchArchiveLogsGroupedValuesRequest) Reset() { - *x = SearchArchiveLogsGroupedValuesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchArchiveLogsGroupedValuesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchArchiveLogsGroupedValuesRequest) ProtoMessage() {} - -func (x *SearchArchiveLogsGroupedValuesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_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 SearchArchiveLogsGroupedValuesRequest.ProtoReflect.Descriptor instead. -func (*SearchArchiveLogsGroupedValuesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{15} -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetWidgetId() *wrapperspb.StringValue { - if x != nil { - return x.WidgetId - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetRequestParamsHash() *wrapperspb.StringValue { - if x != nil { - return x.RequestParamsHash - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetQuery() *SerializedDataprimeQuery { - if x != nil { - return x.Query - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetQueryRaw() *DataprimeQuery { - if x != nil { - return x.QueryRaw - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetGroupByKeys() []*wrapperspb.StringValue { - if x != nil { - return x.GroupByKeys - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetAggregationKey() *wrapperspb.StringValue { - if x != nil { - return x.AggregationKey - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchArchiveLogsGroupedValuesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,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"` - Meta map[string]string `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *SearchArchiveLogsGroupedValuesResponse) Reset() { - *x = SearchArchiveLogsGroupedValuesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchArchiveLogsGroupedValuesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchArchiveLogsGroupedValuesResponse) ProtoMessage() {} - -func (x *SearchArchiveLogsGroupedValuesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_archive_logs_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 SearchArchiveLogsGroupedValuesResponse.ProtoReflect.Descriptor instead. -func (*SearchArchiveLogsGroupedValuesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_rawDescGZIP(), []int{16} -} - -func (x *SearchArchiveLogsGroupedValuesResponse) GetGroups() []*Group { - if x != nil { - return x.Groups - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesResponse) GetIsLimitExceeded() bool { - if x != nil { - return x.IsLimitExceeded - } - return false -} - -func (x *SearchArchiveLogsGroupedValuesResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -func (x *SearchArchiveLogsGroupedValuesResponse) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - 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, 0xa0, 0x02, 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, 0x12, 0x6e, - 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x4d, - 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x37, - 0x0a, 0x09, 0x4d, 0x65, 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, 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, 0xa8, 0x02, 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, - 0x12, 0x72, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5e, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, - 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 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, 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, 0x22, 0xeb, 0x04, 0x0a, - 0x25, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, - 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 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, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x08, 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, 0xf7, 0x02, 0x0a, 0x26, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, - 0x01, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x12, 0x6e, 0x0a, 0x04, 0x6d, - 0x65, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 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, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, - 0x65, 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, 0x32, 0xec, 0x0e, 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, 0x12, 0xed, 0x01, 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, - 0x63, 0x68, 0x69, 0x76, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, - 0x56, 0x61, 0x6c, 0x75, 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, 0x4c, - 0x6f, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 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, - 0x4c, 0x6f, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 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, - 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x73, 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, 22) -var file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_goTypes = []any{ - (*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 - (*SearchArchiveLogsGroupedValuesRequest)(nil), // 15: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest - (*SearchArchiveLogsGroupedValuesResponse)(nil), // 16: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesResponse - nil, // 17: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.MetadataEntry - nil, // 18: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.LabelsEntry - nil, // 19: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse.MetaEntry - nil, // 20: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse.MetaEntry - nil, // 21: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesResponse.MetaEntry - (*wrapperspb.StringValue)(nil), // 22: google.protobuf.StringValue - (*TimeFrame)(nil), // 23: com.coralogixapis.dashboards.v1.common.TimeFrame - (*wrapperspb.Int32Value)(nil), // 24: google.protobuf.Int32Value - (*SerializedDataprimeQuery)(nil), // 25: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - (*DataprimeQuery)(nil), // 26: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*TimeSeries)(nil), // 27: com.coralogixapis.dashboards.v1.common.TimeSeries - (*wrapperspb.Int64Value)(nil), // 28: google.protobuf.Int64Value - (*Pagination)(nil), // 29: com.coralogixapis.dashboards.v1.common.Pagination - (*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 31: google.protobuf.Struct - (*MultiGroup)(nil), // 32: com.coralogixapis.dashboards.v1.common.MultiGroup - (*GroupLimit)(nil), // 33: com.coralogixapis.dashboards.v1.common.GroupLimit - (*GroupedSeries)(nil), // 34: com.coralogixapis.dashboards.v1.common.GroupedSeries - (*wrapperspb.DoubleValue)(nil), // 35: google.protobuf.DoubleValue - (*Group)(nil), // 36: com.coralogixapis.dashboards.v1.common.Group -} -var file_com_coralogixapis_dashboards_v1_services_archive_logs_data_source_service_proto_depIdxs = []int32{ - 22, // 0: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 1: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 2: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value - 22, // 3: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 4: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 5: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 22, // 6: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest.aggregation_keys:type_name -> google.protobuf.StringValue - 27, // 7: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries - 28, // 8: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value - 22, // 9: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 10: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 29, // 11: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination - 22, // 12: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 13: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 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 - 24, // 16: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsResponse.total_fetched:type_name -> google.protobuf.Int32Value - 22, // 17: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 18: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 19: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 20: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 21: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 28, // 22: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountResponse.count:type_name -> google.protobuf.Int64Value - 30, // 23: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.timestamp:type_name -> google.protobuf.Timestamp - 17, // 24: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.metadata:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.MetadataEntry - 18, // 25: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.labels:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.LabelsEntry - 31, // 26: com.coralogixapis.dashboards.v1.services.ArchiveLogsEvent.user_data:type_name -> google.protobuf.Struct - 22, // 27: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 28: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 29: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 30: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 31: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 22, // 32: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.group_by_keys:type_name -> google.protobuf.StringValue - 22, // 33: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.aggregation_keys:type_name -> google.protobuf.StringValue - 29, // 34: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination - 32, // 35: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup - 22, // 36: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 37: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 38: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 39: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 40: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 22, // 41: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue - 22, // 42: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue - 33, // 43: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit - 34, // 44: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 19, // 45: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse.meta:type_name -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse.MetaEntry - 22, // 46: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 47: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 48: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 49: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 50: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 22, // 51: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue - 22, // 52: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue - 33, // 53: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit - 34, // 54: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 20, // 55: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse.meta:type_name -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse.MetaEntry - 22, // 56: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 57: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 58: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 59: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 60: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 22, // 61: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest.aggregation_key:type_name -> google.protobuf.StringValue - 35, // 62: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueResponse.value:type_name -> google.protobuf.DoubleValue - 22, // 63: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.widget_id:type_name -> google.protobuf.StringValue - 23, // 64: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 65: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 25, // 66: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 26, // 67: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 22, // 68: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.group_by_keys:type_name -> google.protobuf.StringValue - 22, // 69: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.aggregation_key:type_name -> google.protobuf.StringValue - 24, // 70: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest.limit:type_name -> google.protobuf.Int32Value - 36, // 71: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.Group - 28, // 72: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesResponse.total:type_name -> google.protobuf.Int64Value - 21, // 73: com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesResponse.meta:type_name -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesResponse.MetaEntry - 0, // 74: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesRequest - 2, // 75: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsRequest - 4, // 76: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventsCount:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountRequest - 7, // 77: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventGroups:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsRequest - 9, // 78: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesRequest - 11, // 79: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesRequest - 13, // 80: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeValue:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueRequest - 15, // 81: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsGroupedValues:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesRequest - 1, // 82: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeSeriesResponse - 3, // 83: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsResponse - 5, // 84: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventsCount:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventsCountResponse - 8, // 85: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsEventGroups:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsEventGroupsResponse - 10, // 86: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsSeriesResponse - 12, // 87: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveGroupedLogsTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedLogsTimeSeriesResponse - 14, // 88: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsTimeValue:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsTimeValueResponse - 16, // 89: com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService.SearchArchiveLogsGroupedValues:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveLogsGroupedValuesResponse - 82, // [82:90] is the sub-list for method output_type - 74, // [74:82] is the sub-list for method input_type - 74, // [74:74] is the sub-list for extension type_name - 74, // [74:74] is the sub-list for extension extendee - 0, // [0:74] 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - switch v := v.(*SearchArchiveLogsTimeValueResponse); 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[15].Exporter = func(v any, i int) any { - switch v := v.(*SearchArchiveLogsGroupedValuesRequest); 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[16].Exporter = func(v any, i int) any { - switch v := v.(*SearchArchiveLogsGroupedValuesResponse); 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: 22, - 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 deleted file mode 100644 index 70e19065..00000000 --- a/coralogix/clientset/grpc/dashboards/archive_logs_data_source_service_grpc.pb.go +++ /dev/null @@ -1,377 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/archive_logs_data_source_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - ArchiveLogsDataSourceService_SearchArchiveLogsTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsTimeSeries" - ArchiveLogsDataSourceService_SearchArchiveLogsEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEvents" - ArchiveLogsDataSourceService_SearchArchiveLogsEventsCount_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEventsCount" - ArchiveLogsDataSourceService_SearchArchiveLogsEventGroups_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsEventGroups" - ArchiveLogsDataSourceService_SearchArchiveGroupedLogsSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveGroupedLogsSeries" - ArchiveLogsDataSourceService_SearchArchiveGroupedLogsTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveGroupedLogsTimeSeries" - ArchiveLogsDataSourceService_SearchArchiveLogsTimeValue_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsTimeValue" - ArchiveLogsDataSourceService_SearchArchiveLogsGroupedValues_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveLogsDataSourceService/SearchArchiveLogsGroupedValues" -) - -// 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) - SearchArchiveLogsGroupedValues(ctx context.Context, in *SearchArchiveLogsGroupedValuesRequest, opts ...grpc.CallOption) (*SearchArchiveLogsGroupedValuesResponse, 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) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveLogsTimeSeriesResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveLogsTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsEvents(ctx context.Context, in *SearchArchiveLogsEventsRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveLogsEventsResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveLogsEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsEventsCount(ctx context.Context, in *SearchArchiveLogsEventsCountRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventsCountResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveLogsEventsCountResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveLogsEventsCount_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsEventGroups(ctx context.Context, in *SearchArchiveLogsEventGroupsRequest, opts ...grpc.CallOption) (*SearchArchiveLogsEventGroupsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveLogsEventGroupsResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveLogsEventGroups_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveLogsDataSourceServiceClient) SearchArchiveGroupedLogsSeries(ctx context.Context, in *SearchArchiveGroupedLogsSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedLogsSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveGroupedLogsSeriesResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveGroupedLogsSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveLogsDataSourceServiceClient) SearchArchiveGroupedLogsTimeSeries(ctx context.Context, in *SearchArchiveGroupedLogsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedLogsTimeSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveGroupedLogsTimeSeriesResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveGroupedLogsTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsTimeValue(ctx context.Context, in *SearchArchiveLogsTimeValueRequest, opts ...grpc.CallOption) (*SearchArchiveLogsTimeValueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveLogsTimeValueResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveLogsTimeValue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveLogsDataSourceServiceClient) SearchArchiveLogsGroupedValues(ctx context.Context, in *SearchArchiveLogsGroupedValuesRequest, opts ...grpc.CallOption) (*SearchArchiveLogsGroupedValuesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveLogsGroupedValuesResponse) - err := c.cc.Invoke(ctx, ArchiveLogsDataSourceService_SearchArchiveLogsGroupedValues_FullMethodName, in, out, cOpts...) - 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) - SearchArchiveLogsGroupedValues(context.Context, *SearchArchiveLogsGroupedValuesRequest) (*SearchArchiveLogsGroupedValuesResponse, 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) SearchArchiveLogsGroupedValues(context.Context, *SearchArchiveLogsGroupedValuesRequest) (*SearchArchiveLogsGroupedValuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveLogsGroupedValues 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: ArchiveLogsDataSourceService_SearchArchiveLogsTimeSeries_FullMethodName, - } - 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: ArchiveLogsDataSourceService_SearchArchiveLogsEvents_FullMethodName, - } - 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: ArchiveLogsDataSourceService_SearchArchiveLogsEventsCount_FullMethodName, - } - 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: ArchiveLogsDataSourceService_SearchArchiveLogsEventGroups_FullMethodName, - } - 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: ArchiveLogsDataSourceService_SearchArchiveGroupedLogsSeries_FullMethodName, - } - 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: ArchiveLogsDataSourceService_SearchArchiveGroupedLogsTimeSeries_FullMethodName, - } - 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: ArchiveLogsDataSourceService_SearchArchiveLogsTimeValue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsTimeValue(ctx, req.(*SearchArchiveLogsTimeValueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArchiveLogsDataSourceService_SearchArchiveLogsGroupedValues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchArchiveLogsGroupedValuesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsGroupedValues(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ArchiveLogsDataSourceService_SearchArchiveLogsGroupedValues_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArchiveLogsDataSourceServiceServer).SearchArchiveLogsGroupedValues(ctx, req.(*SearchArchiveLogsGroupedValuesRequest)) - } - 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, - }, - { - MethodName: "SearchArchiveLogsGroupedValues", - Handler: _ArchiveLogsDataSourceService_SearchArchiveLogsGroupedValues_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 deleted file mode 100644 index 48cb225d..00000000 --- a/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service.pb.go +++ /dev/null @@ -1,2594 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/archive_spans_data_source_service.proto - -package v1 - -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"` - Meta map[string]string `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -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 -} - -func (x *SearchArchiveGroupedSpansSeriesResponse) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - 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"` - Meta map[string]string `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -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 -} - -func (x *SearchArchiveGroupedSpansTimeSeriesResponse) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - 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 SearchArchiveSpansGroupedValuesRequest 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,opt,name=aggregation_keys,json=aggregationKeys,proto3" json:"aggregation_keys,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *SearchArchiveSpansGroupedValuesRequest) Reset() { - *x = SearchArchiveSpansGroupedValuesRequest{} - 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 *SearchArchiveSpansGroupedValuesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchArchiveSpansGroupedValuesRequest) ProtoMessage() {} - -func (x *SearchArchiveSpansGroupedValuesRequest) 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 SearchArchiveSpansGroupedValuesRequest.ProtoReflect.Descriptor instead. -func (*SearchArchiveSpansGroupedValuesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{15} -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetWidgetId() *wrapperspb.StringValue { - if x != nil { - return x.WidgetId - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetRequestParamsHash() *wrapperspb.StringValue { - if x != nil { - return x.RequestParamsHash - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetQuery() *SerializedDataprimeQuery { - if x != nil { - return x.Query - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetQueryRaw() *DataprimeQuery { - if x != nil { - return x.QueryRaw - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetGroupByKeys() []*wrapperspb.StringValue { - if x != nil { - return x.GroupByKeys - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetAggregationKeys() *wrapperspb.StringValue { - if x != nil { - return x.AggregationKeys - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchArchiveSpansGroupedValuesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,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"` - Meta map[string]string `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *SearchArchiveSpansGroupedValuesResponse) Reset() { - *x = SearchArchiveSpansGroupedValuesResponse{} - 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 *SearchArchiveSpansGroupedValuesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchArchiveSpansGroupedValuesResponse) ProtoMessage() {} - -func (x *SearchArchiveSpansGroupedValuesResponse) 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 SearchArchiveSpansGroupedValuesResponse.ProtoReflect.Descriptor instead. -func (*SearchArchiveSpansGroupedValuesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_rawDescGZIP(), []int{16} -} - -func (x *SearchArchiveSpansGroupedValuesResponse) GetGroups() []*Group { - if x != nil { - return x.Groups - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesResponse) GetIsLimitExceeded() bool { - if x != nil { - return x.IsLimitExceeded - } - return false -} - -func (x *SearchArchiveSpansGroupedValuesResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -func (x *SearchArchiveSpansGroupedValuesResponse) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - 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[17] - 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[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_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[18] - 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[18] - 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[19] - 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[19] - 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, 0xa2, 0x02, 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, 0x12, 0x6f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x5b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, - 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 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, 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, 0xaa, 0x02, 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, 0x12, 0x73, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x4d, 0x65, 0x74, 0x61, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, - 0x65, 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, 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, 0x22, 0xee, 0x04, 0x0a, 0x26, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 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, 0x47, 0x0a, 0x10, 0x61, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 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, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, - 0x65, 0x79, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 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, 0xf9, 0x02, 0x0a, 0x27, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x12, 0x6f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 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, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 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, 0x32, 0x87, 0x0f, 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, 0x12, 0xf1, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 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, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, - 0x64, 0x56, 0x61, 0x6c, 0x75, 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, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 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, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 24) -var file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_goTypes = []any{ - (*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 - (*SearchArchiveSpansGroupedValuesRequest)(nil), // 15: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest - (*SearchArchiveSpansGroupedValuesResponse)(nil), // 16: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesResponse - (*ArchiveSpansEvent_Metadata)(nil), // 17: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata - (*ArchiveSpansEvent_Tag)(nil), // 18: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag - (*ArchiveSpansEvent_Log)(nil), // 19: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log - nil, // 20: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.FieldsEntry - nil, // 21: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse.MetaEntry - nil, // 22: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse.MetaEntry - nil, // 23: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesResponse.MetaEntry - (*wrapperspb.StringValue)(nil), // 24: google.protobuf.StringValue - (*TimeFrame)(nil), // 25: com.coralogixapis.dashboards.v1.common.TimeFrame - (*wrapperspb.Int32Value)(nil), // 26: google.protobuf.Int32Value - (*SerializedDataprimeQuery)(nil), // 27: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - (*DataprimeQuery)(nil), // 28: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*TimeSeries)(nil), // 29: com.coralogixapis.dashboards.v1.common.TimeSeries - (*wrapperspb.Int64Value)(nil), // 30: google.protobuf.Int64Value - (*Pagination)(nil), // 31: com.coralogixapis.dashboards.v1.common.Pagination - (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 33: google.protobuf.Duration - (*MultiGroup)(nil), // 34: com.coralogixapis.dashboards.v1.common.MultiGroup - (*GroupLimit)(nil), // 35: com.coralogixapis.dashboards.v1.common.GroupLimit - (*GroupedSeries)(nil), // 36: com.coralogixapis.dashboards.v1.common.GroupedSeries - (*wrapperspb.DoubleValue)(nil), // 37: google.protobuf.DoubleValue - (*Group)(nil), // 38: com.coralogixapis.dashboards.v1.common.Group -} -var file_com_coralogixapis_dashboards_v1_services_archive_spans_data_source_service_proto_depIdxs = []int32{ - 24, // 0: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 1: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 26, // 2: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value - 24, // 3: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 4: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 5: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 24, // 6: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest.aggregation_keys:type_name -> google.protobuf.StringValue - 29, // 7: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries - 30, // 8: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value - 24, // 9: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 10: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 31, // 11: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination - 24, // 12: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 13: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 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 - 26, // 16: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsResponse.total_fetched:type_name -> google.protobuf.Int32Value - 24, // 17: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 18: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 19: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 20: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 21: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 30, // 22: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountResponse.count:type_name -> google.protobuf.Int64Value - 24, // 23: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.span_id:type_name -> google.protobuf.StringValue - 24, // 24: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.trace_id:type_name -> google.protobuf.StringValue - 24, // 25: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.parent_span_id:type_name -> google.protobuf.StringValue - 17, // 26: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.metadata:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata - 32, // 27: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.start_time:type_name -> google.protobuf.Timestamp - 33, // 28: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.duration:type_name -> google.protobuf.Duration - 18, // 29: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.tags:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag - 18, // 30: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.process_tags:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag - 19, // 31: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.logs:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log - 24, // 32: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 33: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 34: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 35: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 36: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 24, // 37: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.group_by_keys:type_name -> google.protobuf.StringValue - 24, // 38: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.aggregation_keys:type_name -> google.protobuf.StringValue - 31, // 39: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination - 34, // 40: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup - 24, // 41: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 42: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 43: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 44: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 45: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 24, // 46: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue - 24, // 47: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue - 35, // 48: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit - 36, // 49: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 21, // 50: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse.meta:type_name -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse.MetaEntry - 24, // 51: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 52: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 53: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 54: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 55: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 24, // 56: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.group_by_keys:type_name -> google.protobuf.StringValue - 24, // 57: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.aggregation_key:type_name -> google.protobuf.StringValue - 35, // 58: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.common.GroupLimit - 36, // 59: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 22, // 60: com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse.meta:type_name -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse.MetaEntry - 24, // 61: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 62: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 63: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 64: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 65: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 24, // 66: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest.aggregation_key:type_name -> google.protobuf.StringValue - 37, // 67: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueResponse.value:type_name -> google.protobuf.DoubleValue - 24, // 68: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.widget_id:type_name -> google.protobuf.StringValue - 25, // 69: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 70: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.request_params_hash:type_name -> google.protobuf.StringValue - 27, // 71: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 28, // 72: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 24, // 73: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.group_by_keys:type_name -> google.protobuf.StringValue - 24, // 74: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.aggregation_keys:type_name -> google.protobuf.StringValue - 26, // 75: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest.limit:type_name -> google.protobuf.Int32Value - 38, // 76: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.Group - 30, // 77: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesResponse.total:type_name -> google.protobuf.Int64Value - 23, // 78: com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesResponse.meta:type_name -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesResponse.MetaEntry - 24, // 79: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.application_name:type_name -> google.protobuf.StringValue - 24, // 80: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.subsystem_name:type_name -> google.protobuf.StringValue - 24, // 81: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.service_name:type_name -> google.protobuf.StringValue - 24, // 82: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Metadata.operation_name:type_name -> google.protobuf.StringValue - 24, // 83: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag.key:type_name -> google.protobuf.StringValue - 24, // 84: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Tag.value:type_name -> google.protobuf.StringValue - 32, // 85: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.timestamp:type_name -> google.protobuf.Timestamp - 20, // 86: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.fields:type_name -> com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.FieldsEntry - 24, // 87: com.coralogixapis.dashboards.v1.services.ArchiveSpansEvent.Log.FieldsEntry.value:type_name -> google.protobuf.StringValue - 0, // 88: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesRequest - 2, // 89: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsRequest - 4, // 90: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventsCount:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountRequest - 7, // 91: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventGroups:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsRequest - 9, // 92: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesRequest - 11, // 93: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesRequest - 13, // 94: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeValue:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueRequest - 15, // 95: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansGroupedValues:input_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesRequest - 1, // 96: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeSeriesResponse - 3, // 97: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsResponse - 5, // 98: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventsCount:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventsCountResponse - 8, // 99: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansEventGroups:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansEventGroupsResponse - 10, // 100: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansSeriesResponse - 12, // 101: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveGroupedSpansTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveGroupedSpansTimeSeriesResponse - 14, // 102: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansTimeValue:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansTimeValueResponse - 16, // 103: com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService.SearchArchiveSpansGroupedValues:output_type -> com.coralogixapis.dashboards.v1.services.SearchArchiveSpansGroupedValuesResponse - 96, // [96:104] is the sub-list for method output_type - 88, // [88:96] is the sub-list for method input_type - 88, // [88:88] is the sub-list for extension type_name - 88, // [88:88] is the sub-list for extension extendee - 0, // [0:88] 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - switch v := v.(*SearchArchiveSpansGroupedValuesRequest); 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 any, i int) any { - switch v := v.(*SearchArchiveSpansGroupedValuesResponse); 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 any, i int) any { - 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[18].Exporter = func(v any, i int) any { - 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[19].Exporter = func(v any, i int) any { - 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: 24, - 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 deleted file mode 100644 index 44b074bb..00000000 --- a/coralogix/clientset/grpc/dashboards/archive_spans_data_source_service_grpc.pb.go +++ /dev/null @@ -1,377 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/archive_spans_data_source_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - ArchiveSpansDataSourceService_SearchArchiveSpansTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansTimeSeries" - ArchiveSpansDataSourceService_SearchArchiveSpansEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEvents" - ArchiveSpansDataSourceService_SearchArchiveSpansEventsCount_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEventsCount" - ArchiveSpansDataSourceService_SearchArchiveSpansEventGroups_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansEventGroups" - ArchiveSpansDataSourceService_SearchArchiveGroupedSpansSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveGroupedSpansSeries" - ArchiveSpansDataSourceService_SearchArchiveGroupedSpansTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveGroupedSpansTimeSeries" - ArchiveSpansDataSourceService_SearchArchiveSpansTimeValue_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansTimeValue" - ArchiveSpansDataSourceService_SearchArchiveSpansGroupedValues_FullMethodName = "/com.coralogixapis.dashboards.v1.services.ArchiveSpansDataSourceService/SearchArchiveSpansGroupedValues" -) - -// 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) - SearchArchiveSpansGroupedValues(ctx context.Context, in *SearchArchiveSpansGroupedValuesRequest, opts ...grpc.CallOption) (*SearchArchiveSpansGroupedValuesResponse, 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) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveSpansTimeSeriesResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveSpansTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansEvents(ctx context.Context, in *SearchArchiveSpansEventsRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveSpansEventsResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveSpansEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansEventsCount(ctx context.Context, in *SearchArchiveSpansEventsCountRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventsCountResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveSpansEventsCountResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveSpansEventsCount_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansEventGroups(ctx context.Context, in *SearchArchiveSpansEventGroupsRequest, opts ...grpc.CallOption) (*SearchArchiveSpansEventGroupsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveSpansEventGroupsResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveSpansEventGroups_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveSpansDataSourceServiceClient) SearchArchiveGroupedSpansSeries(ctx context.Context, in *SearchArchiveGroupedSpansSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedSpansSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveGroupedSpansSeriesResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveGroupedSpansSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveSpansDataSourceServiceClient) SearchArchiveGroupedSpansTimeSeries(ctx context.Context, in *SearchArchiveGroupedSpansTimeSeriesRequest, opts ...grpc.CallOption) (*SearchArchiveGroupedSpansTimeSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveGroupedSpansTimeSeriesResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveGroupedSpansTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansTimeValue(ctx context.Context, in *SearchArchiveSpansTimeValueRequest, opts ...grpc.CallOption) (*SearchArchiveSpansTimeValueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveSpansTimeValueResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveSpansTimeValue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *archiveSpansDataSourceServiceClient) SearchArchiveSpansGroupedValues(ctx context.Context, in *SearchArchiveSpansGroupedValuesRequest, opts ...grpc.CallOption) (*SearchArchiveSpansGroupedValuesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchArchiveSpansGroupedValuesResponse) - err := c.cc.Invoke(ctx, ArchiveSpansDataSourceService_SearchArchiveSpansGroupedValues_FullMethodName, in, out, cOpts...) - 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) - SearchArchiveSpansGroupedValues(context.Context, *SearchArchiveSpansGroupedValuesRequest) (*SearchArchiveSpansGroupedValuesResponse, 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) SearchArchiveSpansGroupedValues(context.Context, *SearchArchiveSpansGroupedValuesRequest) (*SearchArchiveSpansGroupedValuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchArchiveSpansGroupedValues 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: ArchiveSpansDataSourceService_SearchArchiveSpansTimeSeries_FullMethodName, - } - 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: ArchiveSpansDataSourceService_SearchArchiveSpansEvents_FullMethodName, - } - 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: ArchiveSpansDataSourceService_SearchArchiveSpansEventsCount_FullMethodName, - } - 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: ArchiveSpansDataSourceService_SearchArchiveSpansEventGroups_FullMethodName, - } - 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: ArchiveSpansDataSourceService_SearchArchiveGroupedSpansSeries_FullMethodName, - } - 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: ArchiveSpansDataSourceService_SearchArchiveGroupedSpansTimeSeries_FullMethodName, - } - 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: ArchiveSpansDataSourceService_SearchArchiveSpansTimeValue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansTimeValue(ctx, req.(*SearchArchiveSpansTimeValueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ArchiveSpansDataSourceService_SearchArchiveSpansGroupedValues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchArchiveSpansGroupedValuesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansGroupedValues(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ArchiveSpansDataSourceService_SearchArchiveSpansGroupedValues_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArchiveSpansDataSourceServiceServer).SearchArchiveSpansGroupedValues(ctx, req.(*SearchArchiveSpansGroupedValuesRequest)) - } - 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, - }, - { - MethodName: "SearchArchiveSpansGroupedValues", - Handler: _ArchiveSpansDataSourceService_SearchArchiveSpansGroupedValues_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/dashboards/v1/services/archive_spans_data_source_service.proto", -} diff --git a/coralogix/clientset/grpc/dashboards/audit_log.pb.go b/coralogix/clientset/grpc/dashboards/audit_log.pb.go deleted file mode 100644 index fb2c0d3f..00000000 --- a/coralogix/clientset/grpc/dashboards/audit_log.pb.go +++ /dev/null @@ -1,181 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/audit_log.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - 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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -var file_com_coralogixapis_dashboards_v1_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 4999, - Name: "com.coralogixapis.dashboards.v1.audit_log_description", - Tag: "bytes,4999,opt,name=audit_log_description", - Filename: "com/coralogixapis/dashboards/v1/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogixapis.dashboards.v1.AuditLogDescription audit_log_description = 4999; - E_AuditLogDescription = &file_com_coralogixapis_dashboards_v1_audit_log_proto_extTypes[0] -) - -var File_com_coralogixapis_dashboards_v1_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDesc = []byte{ - 0x0a, 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, 0x12, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, - 0x76, 0x31, 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, 0x22, 0x4c, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, - 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x3a, 0x8c, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, - 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x87, 0x27, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, - 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescData = file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_audit_log_proto_goTypes = []any{ - (*AuditLogDescription)(nil), // 0: com.coralogixapis.dashboards.v1.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogixapis_dashboards_v1_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogixapis.dashboards.v1.audit_log_description:type_name -> com.coralogixapis.dashboards.v1.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] 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_audit_log_proto_init() } -func file_com_coralogixapis_dashboards_v1_audit_log_proto_init() { - if File_com_coralogixapis_dashboards_v1_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_audit_log_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*AuditLogDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_dashboards_v1_audit_log_proto_msgTypes[0].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogixapis_dashboards_v1_audit_log_proto_extTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_audit_log_proto = out.File - file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_audit_log_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/bar_chart.pb.go b/coralogix/clientset/grpc/dashboards/bar_chart.pb.go deleted file mode 100644 index 72280f70..00000000 --- a/coralogix/clientset/grpc/dashboards/bar_chart.pb.go +++ /dev/null @@ -1,1552 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/bar_chart.proto - -package v1 - -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 BarValueDisplay int32 - -const ( - BarValueDisplay_BAR_VALUE_DISPLAY_UNSPECIFIED BarValueDisplay = 0 - BarValueDisplay_BAR_VALUE_DISPLAY_TOP BarValueDisplay = 1 - BarValueDisplay_BAR_VALUE_DISPLAY_INSIDE BarValueDisplay = 2 - BarValueDisplay_BAR_VALUE_DISPLAY_BOTH BarValueDisplay = 3 -) - -// Enum value maps for BarValueDisplay. -var ( - BarValueDisplay_name = map[int32]string{ - 0: "BAR_VALUE_DISPLAY_UNSPECIFIED", - 1: "BAR_VALUE_DISPLAY_TOP", - 2: "BAR_VALUE_DISPLAY_INSIDE", - 3: "BAR_VALUE_DISPLAY_BOTH", - } - BarValueDisplay_value = map[string]int32{ - "BAR_VALUE_DISPLAY_UNSPECIFIED": 0, - "BAR_VALUE_DISPLAY_TOP": 1, - "BAR_VALUE_DISPLAY_INSIDE": 2, - "BAR_VALUE_DISPLAY_BOTH": 3, - } -) - -func (x BarValueDisplay) Enum() *BarValueDisplay { - p := new(BarValueDisplay) - *p = x - return p -} - -func (x BarValueDisplay) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BarValueDisplay) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_enumTypes[0].Descriptor() -} - -func (BarValueDisplay) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_enumTypes[0] -} - -func (x BarValueDisplay) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use BarValueDisplay.Descriptor instead. -func (BarValueDisplay) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0} -} - -type BarChart struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Query *BarChart_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - MaxBarsPerChart *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=max_bars_per_chart,json=maxBarsPerChart,proto3" json:"max_bars_per_chart,omitempty"` - GroupNameTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=group_name_template,json=groupNameTemplate,proto3" json:"group_name_template,omitempty"` - StackDefinition *BarChart_StackDefinition `protobuf:"bytes,4,opt,name=stack_definition,json=stackDefinition,proto3" json:"stack_definition,omitempty"` - ScaleType ScaleType `protobuf:"varint,5,opt,name=scale_type,json=scaleType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType" json:"scale_type,omitempty"` - ColorsBy *ColorsBy `protobuf:"bytes,6,opt,name=colors_by,json=colorsBy,proto3" json:"colors_by,omitempty"` - XAxis *BarChart_XAxis `protobuf:"bytes,7,opt,name=x_axis,json=xAxis,proto3" json:"x_axis,omitempty"` - Unit Unit `protobuf:"varint,8,opt,name=unit,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Unit" json:"unit,omitempty"` - SortBy SortByType `protobuf:"varint,9,opt,name=sort_by,json=sortBy,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType" json:"sort_by,omitempty"` - ColorScheme *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=color_scheme,json=colorScheme,proto3" json:"color_scheme,omitempty"` - DataModeType DataModeType `protobuf:"varint,11,opt,name=data_mode_type,json=dataModeType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType" json:"data_mode_type,omitempty"` - BarValueDisplay BarValueDisplay `protobuf:"varint,12,opt,name=bar_value_display,json=barValueDisplay,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.BarValueDisplay" json:"bar_value_display,omitempty"` - CustomUnit *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=custom_unit,json=customUnit,proto3" json:"custom_unit,omitempty"` - Decimal *wrapperspb.Int32Value `protobuf:"bytes,14,opt,name=decimal,proto3" json:"decimal,omitempty"` -} - -func (x *BarChart) Reset() { - *x = BarChart{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BarChart) ProtoMessage() {} - -func (x *BarChart) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_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 BarChart.ProtoReflect.Descriptor instead. -func (*BarChart) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0} -} - -func (x *BarChart) GetQuery() *BarChart_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *BarChart) GetMaxBarsPerChart() *wrapperspb.Int32Value { - if x != nil { - return x.MaxBarsPerChart - } - return nil -} - -func (x *BarChart) GetGroupNameTemplate() *wrapperspb.StringValue { - if x != nil { - return x.GroupNameTemplate - } - return nil -} - -func (x *BarChart) GetStackDefinition() *BarChart_StackDefinition { - if x != nil { - return x.StackDefinition - } - return nil -} - -func (x *BarChart) GetScaleType() ScaleType { - if x != nil { - return x.ScaleType - } - return ScaleType_SCALE_TYPE_UNSPECIFIED -} - -func (x *BarChart) GetColorsBy() *ColorsBy { - if x != nil { - return x.ColorsBy - } - return nil -} - -func (x *BarChart) GetXAxis() *BarChart_XAxis { - if x != nil { - return x.XAxis - } - return nil -} - -func (x *BarChart) GetUnit() Unit { - if x != nil { - return x.Unit - } - return Unit_UNIT_UNSPECIFIED -} - -func (x *BarChart) GetSortBy() SortByType { - if x != nil { - return x.SortBy - } - return SortByType_SORT_BY_TYPE_UNSPECIFIED -} - -func (x *BarChart) GetColorScheme() *wrapperspb.StringValue { - if x != nil { - return x.ColorScheme - } - return nil -} - -func (x *BarChart) GetDataModeType() DataModeType { - if x != nil { - return x.DataModeType - } - return DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED -} - -func (x *BarChart) GetBarValueDisplay() BarValueDisplay { - if x != nil { - return x.BarValueDisplay - } - return BarValueDisplay_BAR_VALUE_DISPLAY_UNSPECIFIED -} - -func (x *BarChart) GetCustomUnit() *wrapperspb.StringValue { - if x != nil { - return x.CustomUnit - } - return nil -} - -func (x *BarChart) GetDecimal() *wrapperspb.Int32Value { - if x != nil { - return x.Decimal - } - return nil -} - -type BarChart_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *BarChart_Query_Logs - // *BarChart_Query_Spans - // *BarChart_Query_Metrics - // *BarChart_Query_Dataprime - Value isBarChart_Query_Value `protobuf_oneof:"value"` -} - -func (x *BarChart_Query) Reset() { - *x = BarChart_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BarChart_Query) ProtoMessage() {} - -func (x *BarChart_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_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 BarChart_Query.ProtoReflect.Descriptor instead. -func (*BarChart_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *BarChart_Query) GetValue() isBarChart_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *BarChart_Query) GetLogs() *BarChart_LogsQuery { - if x, ok := x.GetValue().(*BarChart_Query_Logs); ok { - return x.Logs - } - return nil -} - -func (x *BarChart_Query) GetSpans() *BarChart_SpansQuery { - if x, ok := x.GetValue().(*BarChart_Query_Spans); ok { - return x.Spans - } - return nil -} - -func (x *BarChart_Query) GetMetrics() *BarChart_MetricsQuery { - if x, ok := x.GetValue().(*BarChart_Query_Metrics); ok { - return x.Metrics - } - 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() -} - -type BarChart_Query_Logs struct { - Logs *BarChart_LogsQuery `protobuf:"bytes,1,opt,name=logs,proto3,oneof"` -} - -type BarChart_Query_Spans struct { - Spans *BarChart_SpansQuery `protobuf:"bytes,2,opt,name=spans,proto3,oneof"` -} - -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 - unknownFields protoimpl.UnknownFields - - MaxSlicesPerBar *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=max_slices_per_bar,json=maxSlicesPerBar,proto3" json:"max_slices_per_bar,omitempty"` - StackNameTemplate *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=stack_name_template,json=stackNameTemplate,proto3" json:"stack_name_template,omitempty"` -} - -func (x *BarChart_StackDefinition) Reset() { - *x = BarChart_StackDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_StackDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BarChart_StackDefinition) ProtoMessage() {} - -func (x *BarChart_StackDefinition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_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 BarChart_StackDefinition.ProtoReflect.Descriptor instead. -func (*BarChart_StackDefinition) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *BarChart_StackDefinition) GetMaxSlicesPerBar() *wrapperspb.Int32Value { - if x != nil { - return x.MaxSlicesPerBar - } - return nil -} - -func (x *BarChart_StackDefinition) GetStackNameTemplate() *wrapperspb.StringValue { - if x != nil { - return x.StackNameTemplate - } - return nil -} - -type BarChart_XAxis struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Type: - // - // *BarChart_XAxis_Value - // *BarChart_XAxis_Time - Type isBarChart_XAxis_Type `protobuf_oneof:"type"` -} - -func (x *BarChart_XAxis) Reset() { - *x = BarChart_XAxis{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_XAxis) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BarChart_XAxis) ProtoMessage() {} - -func (x *BarChart_XAxis) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_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 BarChart_XAxis.ProtoReflect.Descriptor instead. -func (*BarChart_XAxis) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 2} -} - -func (m *BarChart_XAxis) GetType() isBarChart_XAxis_Type { - if m != nil { - return m.Type - } - return nil -} - -func (x *BarChart_XAxis) GetValue() *BarChart_XAxis_XAxisByValue { - if x, ok := x.GetType().(*BarChart_XAxis_Value); ok { - return x.Value - } - return nil -} - -func (x *BarChart_XAxis) GetTime() *BarChart_XAxis_XAxisByTime { - if x, ok := x.GetType().(*BarChart_XAxis_Time); ok { - return x.Time - } - return nil -} - -type isBarChart_XAxis_Type interface { - isBarChart_XAxis_Type() -} - -type BarChart_XAxis_Value struct { - Value *BarChart_XAxis_XAxisByValue `protobuf:"bytes,1,opt,name=value,proto3,oneof"` -} - -type BarChart_XAxis_Time struct { - Time *BarChart_XAxis_XAxisByTime `protobuf:"bytes,2,opt,name=time,proto3,oneof"` -} - -func (*BarChart_XAxis_Value) isBarChart_XAxis_Type() {} - -func (*BarChart_XAxis_Time) isBarChart_XAxis_Type() {} - -type BarChart_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *LogsAggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupNames []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` - StackedGroupName *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` - GroupNamesFields []*ObservationField `protobuf:"bytes,6,rep,name=group_names_fields,json=groupNamesFields,proto3" json:"group_names_fields,omitempty"` - StackedGroupNameField *ObservationField `protobuf:"bytes,7,opt,name=stacked_group_name_field,json=stackedGroupNameField,proto3" json:"stacked_group_name_field,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,8,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *BarChart_LogsQuery) Reset() { - *x = BarChart_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BarChart_LogsQuery) ProtoMessage() {} - -func (x *BarChart_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_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 BarChart_LogsQuery.ProtoReflect.Descriptor instead. -func (*BarChart_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *BarChart_LogsQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *BarChart_LogsQuery) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *BarChart_LogsQuery) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *BarChart_LogsQuery) GetGroupNames() []*wrapperspb.StringValue { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *BarChart_LogsQuery) GetStackedGroupName() *wrapperspb.StringValue { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *BarChart_LogsQuery) GetGroupNamesFields() []*ObservationField { - if x != nil { - return x.GroupNamesFields - } - return nil -} - -func (x *BarChart_LogsQuery) GetStackedGroupNameField() *ObservationField { - if x != nil { - return x.StackedGroupNameField - } - return nil -} - -func (x *BarChart_LogsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type BarChart_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupNames []*SpanField `protobuf:"bytes,4,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` - StackedGroupName *SpanField `protobuf:"bytes,5,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *BarChart_SpansQuery) Reset() { - *x = BarChart_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BarChart_SpansQuery) ProtoMessage() {} - -func (x *BarChart_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_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 BarChart_SpansQuery.ProtoReflect.Descriptor instead. -func (*BarChart_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *BarChart_SpansQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *BarChart_SpansQuery) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *BarChart_SpansQuery) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *BarChart_SpansQuery) GetGroupNames() []*SpanField { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *BarChart_SpansQuery) GetStackedGroupName() *SpanField { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *BarChart_SpansQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type BarChart_MetricsQuery 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"` - Filters []*Filter_MetricsFilter `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"` - EditorMode MetricsQueryEditorMode `protobuf:"varint,5,opt,name=editor_mode,json=editorMode,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode" json:"editor_mode,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *BarChart_MetricsQuery) Reset() { - *x = BarChart_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BarChart_MetricsQuery) ProtoMessage() {} - -func (x *BarChart_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_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 BarChart_MetricsQuery.ProtoReflect.Descriptor instead. -func (*BarChart_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *BarChart_MetricsQuery) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *BarChart_MetricsQuery) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *BarChart_MetricsQuery) GetGroupNames() []*wrapperspb.StringValue { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *BarChart_MetricsQuery) GetStackedGroupName() *wrapperspb.StringValue { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *BarChart_MetricsQuery) GetEditorMode() MetricsQueryEditorMode { - if x != nil { - return x.EditorMode - } - return MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED -} - -func (x *BarChart_MetricsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - 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"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,5,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,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 -} - -func (x *BarChart_DataprimeQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type BarChart_XAxis_XAxisByValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -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[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_XAxis_XAxisByValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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[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 BarChart_XAxis_XAxisByValue.ProtoReflect.Descriptor instead. -func (*BarChart_XAxis_XAxisByValue) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 2, 0} -} - -type BarChart_XAxis_XAxisByTime struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` - BucketsPresented *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=buckets_presented,json=bucketsPresented,proto3" json:"buckets_presented,omitempty"` -} - -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[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BarChart_XAxis_XAxisByTime) String() string { - return protoimpl.X.MessageStringOf(x) -} - -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[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 BarChart_XAxis_XAxisByTime.ProtoReflect.Descriptor instead. -func (*BarChart_XAxis_XAxisByTime) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP(), []int{0, 2, 1} -} - -func (x *BarChart_XAxis_XAxisByTime) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval - } - return nil -} - -func (x *BarChart_XAxis_XAxisByTime) GetBucketsPresented() *wrapperspb.Int32Value { - if x != nil { - return x.BucketsPresented - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDesc = []byte{ - 0x0a, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x62, 0x61, - 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 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, 0x42, 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, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x5f, 0x62, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x47, 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, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x52, 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, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, - 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 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, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x73, 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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 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, 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, 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, 0x99, 0x22, 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, 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, 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, 0x12, 0x68, 0x0a, - 0x11, 0x62, 0x61, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 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, 0x42, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x0f, 0x62, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x0d, 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, 0x0a, 0x63, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, - 0x6c, 0x18, 0x0e, 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, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 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, 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, 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, 0xda, 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, 0x12, 0x56, 0x0a, 0x0a, - 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, - 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xac, 0x04, 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, 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, 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, 0x72, - 0x61, 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, 0x12, 0x56, 0x0a, 0x0a, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, - 0x61, 0x6d, 0x65, 0x1a, 0x97, 0x04, 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, 0x12, 0x6b, 0x0a, 0x0b, 0x65, 0x64, 0x69, 0x74, - 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 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, - 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, - 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x64, 0x69, 0x74, 0x6f, - 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xa2, 0x03, - 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, 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, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x05, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, - 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x2a, 0x89, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x21, 0x0a, 0x1d, 0x42, 0x41, 0x52, 0x5f, 0x56, 0x41, - 0x4c, 0x55, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x42, 0x41, 0x52, - 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x54, - 0x4f, 0x50, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x42, 0x41, 0x52, 0x5f, 0x56, 0x41, 0x4c, 0x55, - 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x49, 0x4e, 0x53, 0x49, 0x44, 0x45, - 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x42, 0x41, 0x52, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, - 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x42, 0x4f, 0x54, 0x48, 0x10, 0x03, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -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 = []any{ - (BarValueDisplay)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.BarValueDisplay - (*BarChart)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.BarChart - (*BarChart_Query)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query - (*BarChart_StackDefinition)(nil), // 3: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition - (*BarChart_XAxis)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis - (*BarChart_LogsQuery)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery - (*BarChart_SpansQuery)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery - (*BarChart_MetricsQuery)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery - (*BarChart_DataprimeQuery)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery - (*BarChart_XAxis_XAxisByValue)(nil), // 9: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByValue - (*BarChart_XAxis_XAxisByTime)(nil), // 10: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime - (*wrapperspb.Int32Value)(nil), // 11: google.protobuf.Int32Value - (*wrapperspb.StringValue)(nil), // 12: google.protobuf.StringValue - (ScaleType)(0), // 13: com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType - (*ColorsBy)(nil), // 14: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy - (Unit)(0), // 15: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - (SortByType)(0), // 16: com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType - (DataModeType)(0), // 17: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*LuceneQuery)(nil), // 18: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*LogsAggregation)(nil), // 19: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*Filter_LogsFilter)(nil), // 20: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*ObservationField)(nil), // 21: com.coralogixapis.dashboards.v1.common.ObservationField - (*TimeFrameSelect)(nil), // 22: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (*SpansAggregation)(nil), // 23: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 24: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*SpanField)(nil), // 25: com.coralogixapis.dashboards.v1.common.SpanField - (*PromQlQuery)(nil), // 26: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 27: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (MetricsQueryEditorMode)(0), // 28: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - (*DataprimeQuery)(nil), // 29: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*Filter_Source)(nil), // 30: com.coralogixapis.dashboards.v1.ast.Filter.Source - (*durationpb.Duration)(nil), // 31: google.protobuf.Duration -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query - 11, // 1: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.max_bars_per_chart:type_name -> google.protobuf.Int32Value - 12, // 2: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.group_name_template:type_name -> google.protobuf.StringValue - 3, // 3: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.stack_definition:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition - 13, // 4: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.scale_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType - 14, // 5: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.colors_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy - 4, // 6: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.x_axis:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis - 15, // 7: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - 16, // 8: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.sort_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType - 12, // 9: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.color_scheme:type_name -> google.protobuf.StringValue - 17, // 10: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - 0, // 11: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.bar_value_display:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarValueDisplay - 12, // 12: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.custom_unit:type_name -> google.protobuf.StringValue - 11, // 13: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.decimal:type_name -> google.protobuf.Int32Value - 5, // 14: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery - 6, // 15: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery - 7, // 16: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery - 8, // 17: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery - 11, // 18: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition.max_slices_per_bar:type_name -> google.protobuf.Int32Value - 12, // 19: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.StackDefinition.stack_name_template:type_name -> google.protobuf.StringValue - 9, // 20: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.value:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByValue - 10, // 21: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.time:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime - 18, // 22: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 19, // 23: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 20, // 24: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 12, // 25: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.group_names:type_name -> google.protobuf.StringValue - 12, // 26: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 21, // 27: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.group_names_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 21, // 28: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.stacked_group_name_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 22, // 29: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.LogsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 18, // 30: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 23, // 31: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 24, // 32: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 25, // 33: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.group_names:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 25, // 34: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.stacked_group_name:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 22, // 35: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.SpansQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 26, // 36: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 27, // 37: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 12, // 38: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.group_names:type_name -> google.protobuf.StringValue - 12, // 39: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 28, // 40: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.editor_mode:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - 22, // 41: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.MetricsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 29, // 42: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 30, // 43: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 12, // 44: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.group_names:type_name -> google.protobuf.StringValue - 12, // 45: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 22, // 46: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.DataprimeQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 31, // 47: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime.interval:type_name -> google.protobuf.Duration - 11, // 48: com.coralogixapis.dashboards.v1.ast.widgets.BarChart.XAxis.XAxisByTime.buckets_presented:type_name -> google.protobuf.Int32Value - 49, // [49:49] is the sub-list for method output_type - 49, // [49:49] is the sub-list for method input_type - 49, // [49:49] is the sub-list for extension type_name - 49, // [49:49] is the sub-list for extension extendee - 0, // [0:49] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto != nil { - return - } - 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_metrics_query_editor_mode_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() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*BarChart); 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[1].Exporter = func(v any, i int) any { - switch v := v.(*BarChart_Query); 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[2].Exporter = func(v any, i int) any { - switch v := v.(*BarChart_StackDefinition); 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[3].Exporter = func(v any, i int) any { - switch v := v.(*BarChart_XAxis); 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[4].Exporter = func(v any, i int) any { - switch v := v.(*BarChart_LogsQuery); 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[5].Exporter = func(v any, i int) any { - switch v := v.(*BarChart_SpansQuery); 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[6].Exporter = func(v any, i int) any { - switch v := v.(*BarChart_MetricsQuery); 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[7].Exporter = func(v any, i int) any { - switch v := v.(*BarChart_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_bar_chart_proto_msgTypes[8].Exporter = func(v any, i int) any { - 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 any, i int) any { - switch v := v.(*BarChart_XAxis_XAxisByTime); 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[1].OneofWrappers = []any{ - (*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 = []any{ - (*BarChart_XAxis_Value)(nil), - (*BarChart_XAxis_Time)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDesc, - NumEnums: 1, - NumMessages: 10, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/colors_by.pb.go b/coralogix/clientset/grpc/dashboards/colors_by.pb.go deleted file mode 100644 index ace1317d..00000000 --- a/coralogix/clientset/grpc/dashboards/colors_by.pb.go +++ /dev/null @@ -1,379 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/colors_by.proto - -package v1 - -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 ColorsBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *ColorsBy_Stack - // *ColorsBy_GroupBy - // *ColorsBy_Aggregation - Value isColorsBy_Value `protobuf_oneof:"value"` -} - -func (x *ColorsBy) Reset() { - *x = ColorsBy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ColorsBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ColorsBy) ProtoMessage() {} - -func (x *ColorsBy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_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 ColorsBy.ProtoReflect.Descriptor instead. -func (*ColorsBy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescGZIP(), []int{0} -} - -func (m *ColorsBy) GetValue() isColorsBy_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *ColorsBy) GetStack() *ColorsBy_ColorsByStack { - if x, ok := x.GetValue().(*ColorsBy_Stack); ok { - return x.Stack - } - return nil -} - -func (x *ColorsBy) GetGroupBy() *ColorsBy_ColorsByGroupBy { - if x, ok := x.GetValue().(*ColorsBy_GroupBy); ok { - return x.GroupBy - } - return nil -} - -func (x *ColorsBy) GetAggregation() *ColorsBy_ColorsByAggregation { - if x, ok := x.GetValue().(*ColorsBy_Aggregation); ok { - return x.Aggregation - } - return nil -} - -type isColorsBy_Value interface { - isColorsBy_Value() -} - -type ColorsBy_Stack struct { - Stack *ColorsBy_ColorsByStack `protobuf:"bytes,1,opt,name=stack,proto3,oneof"` -} - -type ColorsBy_GroupBy struct { - GroupBy *ColorsBy_ColorsByGroupBy `protobuf:"bytes,2,opt,name=group_by,json=groupBy,proto3,oneof"` -} - -type ColorsBy_Aggregation struct { - Aggregation *ColorsBy_ColorsByAggregation `protobuf:"bytes,3,opt,name=aggregation,proto3,oneof"` -} - -func (*ColorsBy_Stack) isColorsBy_Value() {} - -func (*ColorsBy_GroupBy) isColorsBy_Value() {} - -func (*ColorsBy_Aggregation) isColorsBy_Value() {} - -type ColorsBy_ColorsByStack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ColorsBy_ColorsByStack) Reset() { - *x = ColorsBy_ColorsByStack{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ColorsBy_ColorsByStack) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ColorsBy_ColorsByStack) ProtoMessage() {} - -func (x *ColorsBy_ColorsByStack) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_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 ColorsBy_ColorsByStack.ProtoReflect.Descriptor instead. -func (*ColorsBy_ColorsByStack) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescGZIP(), []int{0, 0} -} - -type ColorsBy_ColorsByGroupBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ColorsBy_ColorsByGroupBy) Reset() { - *x = ColorsBy_ColorsByGroupBy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ColorsBy_ColorsByGroupBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ColorsBy_ColorsByGroupBy) ProtoMessage() {} - -func (x *ColorsBy_ColorsByGroupBy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_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 ColorsBy_ColorsByGroupBy.ProtoReflect.Descriptor instead. -func (*ColorsBy_ColorsByGroupBy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescGZIP(), []int{0, 1} -} - -type ColorsBy_ColorsByAggregation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ColorsBy_ColorsByAggregation) Reset() { - *x = ColorsBy_ColorsByAggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ColorsBy_ColorsByAggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ColorsBy_ColorsByAggregation) ProtoMessage() {} - -func (x *ColorsBy_ColorsByAggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_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 ColorsBy_ColorsByAggregation.ProtoReflect.Descriptor instead. -func (*ColorsBy_ColorsByAggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescGZIP(), []int{0, 2} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDesc = []byte{ - 0x0a, 0x42, 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, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x5f, 0x62, 0x79, 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, 0x22, 0x93, 0x03, 0x0a, 0x08, 0x43, 0x6f, 0x6c, - 0x6f, 0x72, 0x73, 0x42, 0x79, 0x12, 0x62, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 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, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x63, 0x6b, - 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x69, 0x0a, 0x08, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x02, 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, 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, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, - 0x42, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x48, 0x00, 0x52, 0x07, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x42, 0x79, 0x12, 0x74, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 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, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, - 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x61, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x0f, 0x0a, 0x0d, 0x43, 0x6f, - 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x1a, 0x11, 0x0a, 0x0f, 0x43, - 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x1a, 0x15, - 0x0a, 0x13, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_goTypes = []any{ - (*ColorsBy)(nil), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy - (*ColorsBy_ColorsByStack)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.ColorsByStack - (*ColorsBy_ColorsByGroupBy)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.ColorsByGroupBy - (*ColorsBy_ColorsByAggregation)(nil), // 3: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.ColorsByAggregation -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.stack:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.ColorsByStack - 2, // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.group_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.ColorsByGroupBy - 3, // 2: com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.aggregation:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy.ColorsByAggregation - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ColorsBy); 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_colors_by_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ColorsBy_ColorsByStack); 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_colors_by_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ColorsBy_ColorsByGroupBy); 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_colors_by_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*ColorsBy_ColorsByAggregation); 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_colors_by_proto_msgTypes[0].OneofWrappers = []any{ - (*ColorsBy_Stack)(nil), - (*ColorsBy_GroupBy)(nil), - (*ColorsBy_Aggregation)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/dashboard.pb.go b/coralogix/clientset/grpc/dashboards/dashboard.pb.go deleted file mode 100644 index 4886c207..00000000 --- a/coralogix/clientset/grpc/dashboards/dashboard.pb.go +++ /dev/null @@ -1,642 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/dashboard.proto - -package v1 - -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"` - // Specifies the auto refresh interval for the dashboard. - // - // Types that are assignable to AutoRefresh: - // - // *Dashboard_Off - // *Dashboard_TwoMinutes - // *Dashboard_FiveMinutes - AutoRefresh isDashboard_AutoRefresh `protobuf_oneof:"auto_refresh"` -} - -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 -} - -func (m *Dashboard) GetAutoRefresh() isDashboard_AutoRefresh { - if m != nil { - return m.AutoRefresh - } - return nil -} - -func (x *Dashboard) GetOff() *Dashboard_AutoRefreshOff { - if x, ok := x.GetAutoRefresh().(*Dashboard_Off); ok { - return x.Off - } - return nil -} - -func (x *Dashboard) GetTwoMinutes() *Dashboard_AutoRefreshTwoMinutes { - if x, ok := x.GetAutoRefresh().(*Dashboard_TwoMinutes); ok { - return x.TwoMinutes - } - return nil -} - -func (x *Dashboard) GetFiveMinutes() *Dashboard_AutoRefreshFiveMinutes { - if x, ok := x.GetAutoRefresh().(*Dashboard_FiveMinutes); ok { - return x.FiveMinutes - } - 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() {} - -type isDashboard_AutoRefresh interface { - isDashboard_AutoRefresh() -} - -type Dashboard_Off struct { - Off *Dashboard_AutoRefreshOff `protobuf:"bytes,12,opt,name=off,proto3,oneof"` -} - -type Dashboard_TwoMinutes struct { - TwoMinutes *Dashboard_AutoRefreshTwoMinutes `protobuf:"bytes,13,opt,name=two_minutes,json=twoMinutes,proto3,oneof"` -} - -type Dashboard_FiveMinutes struct { - FiveMinutes *Dashboard_AutoRefreshFiveMinutes `protobuf:"bytes,14,opt,name=five_minutes,json=fiveMinutes,proto3,oneof"` -} - -func (*Dashboard_Off) isDashboard_AutoRefresh() {} - -func (*Dashboard_TwoMinutes) isDashboard_AutoRefresh() {} - -func (*Dashboard_FiveMinutes) isDashboard_AutoRefresh() {} - -type Dashboard_AutoRefreshOff struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Dashboard_AutoRefreshOff) Reset() { - *x = Dashboard_AutoRefreshOff{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Dashboard_AutoRefreshOff) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Dashboard_AutoRefreshOff) ProtoMessage() {} - -func (x *Dashboard_AutoRefreshOff) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_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 Dashboard_AutoRefreshOff.ProtoReflect.Descriptor instead. -func (*Dashboard_AutoRefreshOff) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0, 0} -} - -type Dashboard_AutoRefreshTwoMinutes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Dashboard_AutoRefreshTwoMinutes) Reset() { - *x = Dashboard_AutoRefreshTwoMinutes{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Dashboard_AutoRefreshTwoMinutes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Dashboard_AutoRefreshTwoMinutes) ProtoMessage() {} - -func (x *Dashboard_AutoRefreshTwoMinutes) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_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 Dashboard_AutoRefreshTwoMinutes.ProtoReflect.Descriptor instead. -func (*Dashboard_AutoRefreshTwoMinutes) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0, 1} -} - -type Dashboard_AutoRefreshFiveMinutes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Dashboard_AutoRefreshFiveMinutes) Reset() { - *x = Dashboard_AutoRefreshFiveMinutes{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Dashboard_AutoRefreshFiveMinutes) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Dashboard_AutoRefreshFiveMinutes) ProtoMessage() {} - -func (x *Dashboard_AutoRefreshFiveMinutes) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_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 Dashboard_AutoRefreshFiveMinutes.ProtoReflect.Descriptor instead. -func (*Dashboard_AutoRefreshFiveMinutes) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0, 2} -} - -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, 0xb8, 0x09, 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, 0x12, 0x51, 0x0a, 0x03, 0x6f, - 0x66, 0x66, 0x18, 0x0c, 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, 0x44, - 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, - 0x72, 0x65, 0x73, 0x68, 0x4f, 0x66, 0x66, 0x48, 0x02, 0x52, 0x03, 0x6f, 0x66, 0x66, 0x12, 0x67, - 0x0a, 0x0b, 0x74, 0x77, 0x6f, 0x5f, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0d, 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, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, - 0x77, 0x6f, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x48, 0x02, 0x52, 0x0a, 0x74, 0x77, 0x6f, - 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x0c, 0x66, 0x69, 0x76, 0x65, 0x5f, - 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0e, 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, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x41, 0x75, - 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x46, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, - 0x75, 0x74, 0x65, 0x73, 0x48, 0x02, 0x52, 0x0b, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, - 0x74, 0x65, 0x73, 0x1a, 0x10, 0x0a, 0x0e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, - 0x73, 0x68, 0x4f, 0x66, 0x66, 0x1a, 0x17, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, - 0x72, 0x65, 0x73, 0x68, 0x54, 0x77, 0x6f, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x18, - 0x0a, 0x16, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x46, 0x69, 0x76, - 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 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, 0x0e, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, - 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, 4) -var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes = []any{ - (*Dashboard)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Dashboard - (*Dashboard_AutoRefreshOff)(nil), // 1: com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshOff - (*Dashboard_AutoRefreshTwoMinutes)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshTwoMinutes - (*Dashboard_AutoRefreshFiveMinutes)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshFiveMinutes - (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue - (*Layout)(nil), // 5: com.coralogixapis.dashboards.v1.ast.Layout - (*Variable)(nil), // 6: com.coralogixapis.dashboards.v1.ast.Variable - (*Filter)(nil), // 7: com.coralogixapis.dashboards.v1.ast.Filter - (*TimeFrame)(nil), // 8: com.coralogixapis.dashboards.v1.common.TimeFrame - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration - (*UUID)(nil), // 10: com.coralogixapis.dashboards.v1.UUID - (*FolderPath)(nil), // 11: com.coralogixapis.dashboards.v1.ast.FolderPath - (*Annotation)(nil), // 12: com.coralogixapis.dashboards.v1.ast.Annotation -} -var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs = []int32{ - 4, // 0: com.coralogixapis.dashboards.v1.ast.Dashboard.id:type_name -> google.protobuf.StringValue - 4, // 1: com.coralogixapis.dashboards.v1.ast.Dashboard.name:type_name -> google.protobuf.StringValue - 4, // 2: com.coralogixapis.dashboards.v1.ast.Dashboard.description:type_name -> google.protobuf.StringValue - 5, // 3: com.coralogixapis.dashboards.v1.ast.Dashboard.layout:type_name -> com.coralogixapis.dashboards.v1.ast.Layout - 6, // 4: com.coralogixapis.dashboards.v1.ast.Dashboard.variables:type_name -> com.coralogixapis.dashboards.v1.ast.Variable - 7, // 5: com.coralogixapis.dashboards.v1.ast.Dashboard.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter - 8, // 6: com.coralogixapis.dashboards.v1.ast.Dashboard.absolute_time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 9, // 7: com.coralogixapis.dashboards.v1.ast.Dashboard.relative_time_frame:type_name -> google.protobuf.Duration - 10, // 8: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_id:type_name -> com.coralogixapis.dashboards.v1.UUID - 11, // 9: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_path:type_name -> com.coralogixapis.dashboards.v1.ast.FolderPath - 12, // 10: com.coralogixapis.dashboards.v1.ast.Dashboard.annotations:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation - 1, // 11: com.coralogixapis.dashboards.v1.ast.Dashboard.off:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshOff - 2, // 12: com.coralogixapis.dashboards.v1.ast.Dashboard.two_minutes:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshTwoMinutes - 3, // 13: com.coralogixapis.dashboards.v1.ast.Dashboard.five_minutes:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshFiveMinutes - 14, // [14:14] is the sub-list for method output_type - 14, // [14:14] 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 -} - -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 any, i int) any { - 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[1].Exporter = func(v any, i int) any { - switch v := v.(*Dashboard_AutoRefreshOff); 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[2].Exporter = func(v any, i int) any { - switch v := v.(*Dashboard_AutoRefreshTwoMinutes); 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[3].Exporter = func(v any, i int) any { - switch v := v.(*Dashboard_AutoRefreshFiveMinutes); 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 = []any{ - (*Dashboard_AbsoluteTimeFrame)(nil), - (*Dashboard_RelativeTimeFrame)(nil), - (*Dashboard_FolderId)(nil), - (*Dashboard_FolderPath)(nil), - (*Dashboard_Off)(nil), - (*Dashboard_TwoMinutes)(nil), - (*Dashboard_FiveMinutes)(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: 4, - 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/dashboards/dashboard_catalog_service.pb.go b/coralogix/clientset/grpc/dashboards/dashboard_catalog_service.pb.go deleted file mode 100644 index 55ca126d..00000000 --- a/coralogix/clientset/grpc/dashboards/dashboard_catalog_service.pb.go +++ /dev/null @@ -1,395 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/dashboard_catalog_service.proto - -package v1 - -import ( - 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 ( - // 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 GetDashboardCatalogRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetDashboardCatalogRequest) Reset() { - *x = GetDashboardCatalogRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDashboardCatalogRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDashboardCatalogRequest) ProtoMessage() {} - -func (x *GetDashboardCatalogRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_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 GetDashboardCatalogRequest.ProtoReflect.Descriptor instead. -func (*GetDashboardCatalogRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescGZIP(), []int{0} -} - -type GetDashboardCatalogResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Items []*DashboardCatalogItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` -} - -func (x *GetDashboardCatalogResponse) Reset() { - *x = GetDashboardCatalogResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDashboardCatalogResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDashboardCatalogResponse) ProtoMessage() {} - -func (x *GetDashboardCatalogResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_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 GetDashboardCatalogResponse.ProtoReflect.Descriptor instead. -func (*GetDashboardCatalogResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetDashboardCatalogResponse) GetItems() []*DashboardCatalogItem { - if x != nil { - return x.Items - } - return nil -} - -type DashboardCatalogItem 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - IsDefault *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` - 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() { - *x = DashboardCatalogItem{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DashboardCatalogItem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DashboardCatalogItem) ProtoMessage() {} - -func (x *DashboardCatalogItem) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_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 DashboardCatalogItem.ProtoReflect.Descriptor instead. -func (*DashboardCatalogItem) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescGZIP(), []int{2} -} - -func (x *DashboardCatalogItem) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *DashboardCatalogItem) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *DashboardCatalogItem) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *DashboardCatalogItem) GetIsDefault() *wrapperspb.BoolValue { - if x != nil { - return x.IsDefault - } - return nil -} - -func (x *DashboardCatalogItem) GetIsPinned() *wrapperspb.BoolValue { - if x != nil { - return x.IsPinned - } - return nil -} - -func (x *DashboardCatalogItem) GetCreateTime() *timestamppb.Timestamp { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *DashboardCatalogItem) GetUpdateTime() *timestamppb.Timestamp { - if x != nil { - return x.UpdateTime - } - 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{ - 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, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 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, 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, 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, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_goTypes = []any{ - (*GetDashboardCatalogRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.GetDashboardCatalogRequest - (*GetDashboardCatalogResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.GetDashboardCatalogResponse - (*DashboardCatalogItem)(nil), // 2: com.coralogixapis.dashboards.v1.services.DashboardCatalogItem - (*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 - 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() } -func file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_init() { - 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 any, i int) any { - switch v := v.(*GetDashboardCatalogRequest); 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_catalog_service_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetDashboardCatalogResponse); 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_catalog_service_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*DashboardCatalogItem); 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_catalog_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto = out.File - file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_services_dashboard_catalog_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/dashboard_catalog_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/dashboard_catalog_service_grpc.pb.go deleted file mode 100644 index c655c966..00000000 --- a/coralogix/clientset/grpc/dashboards/dashboard_catalog_service_grpc.pb.go +++ /dev/null @@ -1,111 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/dashboard_catalog_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - DashboardCatalogService_GetDashboardCatalog_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardCatalogService/GetDashboardCatalog" -) - -// DashboardCatalogServiceClient is the client API for DashboardCatalogService 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 DashboardCatalogServiceClient interface { - GetDashboardCatalog(ctx context.Context, in *GetDashboardCatalogRequest, opts ...grpc.CallOption) (*GetDashboardCatalogResponse, error) -} - -type dashboardCatalogServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewDashboardCatalogServiceClient(cc grpc.ClientConnInterface) DashboardCatalogServiceClient { - return &dashboardCatalogServiceClient{cc} -} - -func (c *dashboardCatalogServiceClient) GetDashboardCatalog(ctx context.Context, in *GetDashboardCatalogRequest, opts ...grpc.CallOption) (*GetDashboardCatalogResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetDashboardCatalogResponse) - err := c.cc.Invoke(ctx, DashboardCatalogService_GetDashboardCatalog_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DashboardCatalogServiceServer is the server API for DashboardCatalogService service. -// All implementations must embed UnimplementedDashboardCatalogServiceServer -// for forward compatibility -type DashboardCatalogServiceServer interface { - GetDashboardCatalog(context.Context, *GetDashboardCatalogRequest) (*GetDashboardCatalogResponse, error) - mustEmbedUnimplementedDashboardCatalogServiceServer() -} - -// UnimplementedDashboardCatalogServiceServer must be embedded to have forward compatible implementations. -type UnimplementedDashboardCatalogServiceServer struct { -} - -func (UnimplementedDashboardCatalogServiceServer) GetDashboardCatalog(context.Context, *GetDashboardCatalogRequest) (*GetDashboardCatalogResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDashboardCatalog not implemented") -} -func (UnimplementedDashboardCatalogServiceServer) mustEmbedUnimplementedDashboardCatalogServiceServer() { -} - -// UnsafeDashboardCatalogServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to DashboardCatalogServiceServer will -// result in compilation errors. -type UnsafeDashboardCatalogServiceServer interface { - mustEmbedUnimplementedDashboardCatalogServiceServer() -} - -func RegisterDashboardCatalogServiceServer(s grpc.ServiceRegistrar, srv DashboardCatalogServiceServer) { - s.RegisterService(&DashboardCatalogService_ServiceDesc, srv) -} - -func _DashboardCatalogService_GetDashboardCatalog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDashboardCatalogRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardCatalogServiceServer).GetDashboardCatalog(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardCatalogService_GetDashboardCatalog_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardCatalogServiceServer).GetDashboardCatalog(ctx, req.(*GetDashboardCatalogRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// DashboardCatalogService_ServiceDesc is the grpc.ServiceDesc for DashboardCatalogService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var DashboardCatalogService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.dashboards.v1.services.DashboardCatalogService", - HandlerType: (*DashboardCatalogServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDashboardCatalog", - Handler: _DashboardCatalogService_GetDashboardCatalog_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/dashboards/v1/services/dashboard_catalog_service.proto", -} diff --git a/coralogix/clientset/grpc/dashboards/dashboard_folders_service.pb.go b/coralogix/clientset/grpc/dashboards/dashboard_folders_service.pb.go deleted file mode 100644 index c0477c61..00000000 --- a/coralogix/clientset/grpc/dashboards/dashboard_folders_service.pb.go +++ /dev/null @@ -1,844 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/dashboard_folders_service.proto - -package v1 - -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 -} - -type GetDashboardFolderRequest 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 *GetDashboardFolderRequest) Reset() { - *x = GetDashboardFolderRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDashboardFolderRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDashboardFolderRequest) ProtoMessage() {} - -func (x *GetDashboardFolderRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_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 GetDashboardFolderRequest.ProtoReflect.Descriptor instead. -func (*GetDashboardFolderRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{8} -} - -func (x *GetDashboardFolderRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -func (x *GetDashboardFolderRequest) GetFolderId() *wrapperspb.StringValue { - if x != nil { - return x.FolderId - } - return nil -} - -type GetDashboardFolderResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Folder *DashboardFolder `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"` -} - -func (x *GetDashboardFolderResponse) Reset() { - *x = GetDashboardFolderResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDashboardFolderResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDashboardFolderResponse) ProtoMessage() {} - -func (x *GetDashboardFolderResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboard_folders_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 GetDashboardFolderResponse.ProtoReflect.Descriptor instead. -func (*GetDashboardFolderResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_rawDescGZIP(), []int{9} -} - -func (x *GetDashboardFolderResponse) 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, 0x22, 0x93, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, - 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, 0x6d, - 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x46, 0x6f, - 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, - 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 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, 0xff, 0x07, - 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, - 0xbb, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 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, 0x46, 0x6f, - 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x1a, 0xba, 0xb8, 0x02, 0x16, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x20, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x20, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 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, 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, 10) -var file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_goTypes = []any{ - (*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 - (*GetDashboardFolderRequest)(nil), // 8: com.coralogixapis.dashboards.v1.services.GetDashboardFolderRequest - (*GetDashboardFolderResponse)(nil), // 9: com.coralogixapis.dashboards.v1.services.GetDashboardFolderResponse - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (*DashboardFolder)(nil), // 11: com.coralogixapis.dashboards.v1.common.DashboardFolder -} -var file_com_coralogixapis_dashboards_v1_services_dashboard_folders_service_proto_depIdxs = []int32{ - 10, // 0: com.coralogixapis.dashboards.v1.services.CreateDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue - 11, // 1: com.coralogixapis.dashboards.v1.services.CreateDashboardFolderRequest.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder - 10, // 2: com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue - 11, // 3: com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderRequest.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder - 10, // 4: com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue - 10, // 5: com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderRequest.folder_id:type_name -> google.protobuf.StringValue - 11, // 6: com.coralogixapis.dashboards.v1.services.ListDashboardFoldersResponse.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder - 10, // 7: com.coralogixapis.dashboards.v1.services.GetDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue - 10, // 8: com.coralogixapis.dashboards.v1.services.GetDashboardFolderRequest.folder_id:type_name -> google.protobuf.StringValue - 11, // 9: com.coralogixapis.dashboards.v1.services.GetDashboardFolderResponse.folder:type_name -> com.coralogixapis.dashboards.v1.common.DashboardFolder - 6, // 10: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ListDashboardFolders:input_type -> com.coralogixapis.dashboards.v1.services.ListDashboardFoldersRequest - 8, // 11: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.GetDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.GetDashboardFolderRequest - 0, // 12: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.CreateDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardFolderRequest - 2, // 13: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ReplaceDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderRequest - 4, // 14: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.DeleteDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderRequest - 7, // 15: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ListDashboardFolders:output_type -> com.coralogixapis.dashboards.v1.services.ListDashboardFoldersResponse - 9, // 16: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.GetDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.GetDashboardFolderResponse - 1, // 17: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.CreateDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardFolderResponse - 3, // 18: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.ReplaceDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardFolderResponse - 5, // 19: com.coralogixapis.dashboards.v1.services.DashboardFoldersService.DeleteDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardFolderResponse - 15, // [15:20] is the sub-list for method output_type - 10, // [10:15] 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_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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - switch v := v.(*ListDashboardFoldersResponse); 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[8].Exporter = func(v any, i int) any { - switch v := v.(*GetDashboardFolderRequest); 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[9].Exporter = func(v any, i int) any { - switch v := v.(*GetDashboardFolderResponse); 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: 10, - 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 deleted file mode 100644 index 16544a6e..00000000 --- a/coralogix/clientset/grpc/dashboards/dashboard_folders_service_grpc.pb.go +++ /dev/null @@ -1,263 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/dashboard_folders_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - DashboardFoldersService_ListDashboardFolders_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ListDashboardFolders" - DashboardFoldersService_GetDashboardFolder_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/GetDashboardFolder" - DashboardFoldersService_CreateDashboardFolder_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/CreateDashboardFolder" - DashboardFoldersService_ReplaceDashboardFolder_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/ReplaceDashboardFolder" - DashboardFoldersService_DeleteDashboardFolder_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardFoldersService/DeleteDashboardFolder" -) - -// 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) - GetDashboardFolder(ctx context.Context, in *GetDashboardFolderRequest, opts ...grpc.CallOption) (*GetDashboardFolderResponse, 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) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListDashboardFoldersResponse) - err := c.cc.Invoke(ctx, DashboardFoldersService_ListDashboardFolders_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardFoldersServiceClient) GetDashboardFolder(ctx context.Context, in *GetDashboardFolderRequest, opts ...grpc.CallOption) (*GetDashboardFolderResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetDashboardFolderResponse) - err := c.cc.Invoke(ctx, DashboardFoldersService_GetDashboardFolder_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardFoldersServiceClient) CreateDashboardFolder(ctx context.Context, in *CreateDashboardFolderRequest, opts ...grpc.CallOption) (*CreateDashboardFolderResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateDashboardFolderResponse) - err := c.cc.Invoke(ctx, DashboardFoldersService_CreateDashboardFolder_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardFoldersServiceClient) ReplaceDashboardFolder(ctx context.Context, in *ReplaceDashboardFolderRequest, opts ...grpc.CallOption) (*ReplaceDashboardFolderResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ReplaceDashboardFolderResponse) - err := c.cc.Invoke(ctx, DashboardFoldersService_ReplaceDashboardFolder_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardFoldersServiceClient) DeleteDashboardFolder(ctx context.Context, in *DeleteDashboardFolderRequest, opts ...grpc.CallOption) (*DeleteDashboardFolderResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteDashboardFolderResponse) - err := c.cc.Invoke(ctx, DashboardFoldersService_DeleteDashboardFolder_FullMethodName, in, out, cOpts...) - 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) - GetDashboardFolder(context.Context, *GetDashboardFolderRequest) (*GetDashboardFolderResponse, 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) GetDashboardFolder(context.Context, *GetDashboardFolderRequest) (*GetDashboardFolderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDashboardFolder 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: DashboardFoldersService_ListDashboardFolders_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardFoldersServiceServer).ListDashboardFolders(ctx, req.(*ListDashboardFoldersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DashboardFoldersService_GetDashboardFolder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDashboardFolderRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardFoldersServiceServer).GetDashboardFolder(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardFoldersService_GetDashboardFolder_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardFoldersServiceServer).GetDashboardFolder(ctx, req.(*GetDashboardFolderRequest)) - } - 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: DashboardFoldersService_CreateDashboardFolder_FullMethodName, - } - 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: DashboardFoldersService_ReplaceDashboardFolder_FullMethodName, - } - 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: DashboardFoldersService_DeleteDashboardFolder_FullMethodName, - } - 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: "GetDashboardFolder", - Handler: _DashboardFoldersService_GetDashboardFolder_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/dashboards/dashboards_service.pb.go b/coralogix/clientset/grpc/dashboards/dashboards_service.pb.go deleted file mode 100644 index 52f1ddb5..00000000 --- a/coralogix/clientset/grpc/dashboards/dashboards_service.pb.go +++ /dev/null @@ -1,1087 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.35.1 -// protoc v5.28.3 -// source: com/coralogixapis/dashboards/v1/services/dashboards_service.proto - -package v1 - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/descriptorpb" - 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 CreateDashboardRequest 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"` - Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"` -} - -func (x *CreateDashboardRequest) Reset() { - *x = CreateDashboardRequest{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateDashboardRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateDashboardRequest) ProtoMessage() {} - -func (x *CreateDashboardRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateDashboardRequest.ProtoReflect.Descriptor instead. -func (*CreateDashboardRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateDashboardRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -func (x *CreateDashboardRequest) GetDashboard() *Dashboard { - if x != nil { - return x.Dashboard - } - return nil -} - -type CreateDashboardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DashboardId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=dashboard_id,json=dashboardId,proto3" json:"dashboard_id,omitempty"` -} - -func (x *CreateDashboardResponse) Reset() { - *x = CreateDashboardResponse{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateDashboardResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateDashboardResponse) ProtoMessage() {} - -func (x *CreateDashboardResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateDashboardResponse.ProtoReflect.Descriptor instead. -func (*CreateDashboardResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateDashboardResponse) GetDashboardId() *wrapperspb.StringValue { - if x != nil { - return x.DashboardId - } - return nil -} - -type ReplaceDashboardRequest 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"` - Dashboard *Dashboard `protobuf:"bytes,2,opt,name=dashboard,proto3" json:"dashboard,omitempty"` -} - -func (x *ReplaceDashboardRequest) Reset() { - *x = ReplaceDashboardRequest{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReplaceDashboardRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceDashboardRequest) ProtoMessage() {} - -func (x *ReplaceDashboardRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplaceDashboardRequest.ProtoReflect.Descriptor instead. -func (*ReplaceDashboardRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{2} -} - -func (x *ReplaceDashboardRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -func (x *ReplaceDashboardRequest) GetDashboard() *Dashboard { - if x != nil { - return x.Dashboard - } - return nil -} - -type ReplaceDashboardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ReplaceDashboardResponse) Reset() { - *x = ReplaceDashboardResponse{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReplaceDashboardResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceDashboardResponse) ProtoMessage() {} - -func (x *ReplaceDashboardResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplaceDashboardResponse.ProtoReflect.Descriptor instead. -func (*ReplaceDashboardResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{3} -} - -type DeleteDashboardRequest 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"` -} - -func (x *DeleteDashboardRequest) Reset() { - *x = DeleteDashboardRequest{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteDashboardRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteDashboardRequest) ProtoMessage() {} - -func (x *DeleteDashboardRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteDashboardRequest.ProtoReflect.Descriptor instead. -func (*DeleteDashboardRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{4} -} - -func (x *DeleteDashboardRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -func (x *DeleteDashboardRequest) GetDashboardId() *wrapperspb.StringValue { - if x != nil { - return x.DashboardId - } - return nil -} - -type DeleteDashboardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteDashboardResponse) Reset() { - *x = DeleteDashboardResponse{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DeleteDashboardResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteDashboardResponse) ProtoMessage() {} - -func (x *DeleteDashboardResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteDashboardResponse.ProtoReflect.Descriptor instead. -func (*DeleteDashboardResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{5} -} - -type GetDashboardRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DashboardId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=dashboard_id,json=dashboardId,proto3" json:"dashboard_id,omitempty"` -} - -func (x *GetDashboardRequest) Reset() { - *x = GetDashboardRequest{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetDashboardRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDashboardRequest) ProtoMessage() {} - -func (x *GetDashboardRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDashboardRequest.ProtoReflect.Descriptor instead. -func (*GetDashboardRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{6} -} - -func (x *GetDashboardRequest) GetDashboardId() *wrapperspb.StringValue { - if x != nil { - return x.DashboardId - } - return nil -} - -type GetDashboardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Dashboard *Dashboard `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` -} - -func (x *GetDashboardResponse) Reset() { - *x = GetDashboardResponse{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetDashboardResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDashboardResponse) ProtoMessage() {} - -func (x *GetDashboardResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDashboardResponse.ProtoReflect.Descriptor instead. -func (*GetDashboardResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{7} -} - -func (x *GetDashboardResponse) GetDashboard() *Dashboard { - if x != nil { - return x.Dashboard - } - return nil -} - -func (x *GetDashboardResponse) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -type PinDashboardRequest 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"` -} - -func (x *PinDashboardRequest) Reset() { - *x = PinDashboardRequest{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PinDashboardRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PinDashboardRequest) ProtoMessage() {} - -func (x *PinDashboardRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PinDashboardRequest.ProtoReflect.Descriptor instead. -func (*PinDashboardRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{8} -} - -func (x *PinDashboardRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -func (x *PinDashboardRequest) GetDashboardId() *wrapperspb.StringValue { - if x != nil { - return x.DashboardId - } - return nil -} - -type PinDashboardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PinDashboardResponse) Reset() { - *x = PinDashboardResponse{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PinDashboardResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PinDashboardResponse) ProtoMessage() {} - -func (x *PinDashboardResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PinDashboardResponse.ProtoReflect.Descriptor instead. -func (*PinDashboardResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{9} -} - -type UnpinDashboardRequest 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"` -} - -func (x *UnpinDashboardRequest) Reset() { - *x = UnpinDashboardRequest{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnpinDashboardRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnpinDashboardRequest) ProtoMessage() {} - -func (x *UnpinDashboardRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnpinDashboardRequest.ProtoReflect.Descriptor instead. -func (*UnpinDashboardRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{10} -} - -func (x *UnpinDashboardRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -func (x *UnpinDashboardRequest) GetDashboardId() *wrapperspb.StringValue { - if x != nil { - return x.DashboardId - } - return nil -} - -type UnpinDashboardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UnpinDashboardResponse) Reset() { - *x = UnpinDashboardResponse{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *UnpinDashboardResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnpinDashboardResponse) ProtoMessage() {} - -func (x *UnpinDashboardResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnpinDashboardResponse.ProtoReflect.Descriptor instead. -func (*UnpinDashboardResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{11} -} - -type ReplaceDefaultDashboardRequest 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"` -} - -func (x *ReplaceDefaultDashboardRequest) Reset() { - *x = ReplaceDefaultDashboardRequest{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReplaceDefaultDashboardRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceDefaultDashboardRequest) ProtoMessage() {} - -func (x *ReplaceDefaultDashboardRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplaceDefaultDashboardRequest.ProtoReflect.Descriptor instead. -func (*ReplaceDefaultDashboardRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP(), []int{12} -} - -func (x *ReplaceDefaultDashboardRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -func (x *ReplaceDefaultDashboardRequest) GetDashboardId() *wrapperspb.StringValue { - if x != nil { - return x.DashboardId - } - return nil -} - -type ReplaceDefaultDashboardResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ReplaceDefaultDashboardResponse) Reset() { - *x = ReplaceDefaultDashboardResponse{} - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReplaceDefaultDashboardResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceDefaultDashboardResponse) ProtoMessage() {} - -func (x *ReplaceDefaultDashboardResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplaceDefaultDashboardResponse.ProtoReflect.Descriptor instead. -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{} - 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 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{} - 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 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{ - 0x0a, 0x41, 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, 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, 0x27, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 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, 0x61, 0x73, 0x74, 0x2f, 0x64, 0x61, 0x73, 0x68, - 0x62, 0x6f, 0x61, 0x72, 0x64, 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, 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, 0xa3, - 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 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, 0x4c, 0x0a, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 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, - 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x09, 0x64, 0x61, 0x73, 0x68, 0x62, - 0x6f, 0x61, 0x72, 0x64, 0x22, 0x5a, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x3f, 0x0a, 0x0c, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 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, 0x0b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, - 0x22, 0xa4, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x44, 0x61, 0x73, 0x68, - 0x62, 0x6f, 0x61, 0x72, 0x64, 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, 0x4c, 0x0a, 0x09, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x09, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x22, 0x1a, 0x0a, 0x18, 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, 0x96, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 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, 0x22, 0x19, 0x0a, 0x17, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, - 0x0a, 0x0c, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 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, 0x0b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, - 0x9f, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x64, 0x61, 0x73, 0x68, - 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x09, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 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, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x22, 0x93, 0x01, 0x0a, 0x13, 0x50, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 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, 0x22, 0x16, 0x0a, 0x14, 0x50, 0x69, 0x6e, 0x44, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x95, 0x01, 0x0a, 0x15, 0x55, 0x6e, 0x70, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 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, 0x22, 0x18, 0x0a, 0x16, 0x55, 0x6e, 0x70, 0x69, 0x6e, - 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x1e, 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, 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, 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, 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, 0xc2, 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, 0xc2, 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, 0xc2, 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, 0xc2, - 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, 0xc2, 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, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0xc2, - 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, 0xc2, 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, 0xc2, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDescData) - }) - 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, 16) -var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_goTypes = []any{ - (*CreateDashboardRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.CreateDashboardRequest - (*CreateDashboardResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.CreateDashboardResponse - (*ReplaceDashboardRequest)(nil), // 2: com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest - (*ReplaceDashboardResponse)(nil), // 3: com.coralogixapis.dashboards.v1.services.ReplaceDashboardResponse - (*DeleteDashboardRequest)(nil), // 4: com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest - (*DeleteDashboardResponse)(nil), // 5: com.coralogixapis.dashboards.v1.services.DeleteDashboardResponse - (*GetDashboardRequest)(nil), // 6: com.coralogixapis.dashboards.v1.services.GetDashboardRequest - (*GetDashboardResponse)(nil), // 7: com.coralogixapis.dashboards.v1.services.GetDashboardResponse - (*PinDashboardRequest)(nil), // 8: com.coralogixapis.dashboards.v1.services.PinDashboardRequest - (*PinDashboardResponse)(nil), // 9: com.coralogixapis.dashboards.v1.services.PinDashboardResponse - (*UnpinDashboardRequest)(nil), // 10: com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest - (*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 - (*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 - (*timestamppb.Timestamp)(nil), // 18: google.protobuf.Timestamp -} -var file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_depIdxs = []int32{ - 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.CreateDashboardResponse.dashboard_id:type_name -> google.protobuf.StringValue - 16, // 3: com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 17, // 4: com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest.dashboard:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard - 16, // 5: com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 16, // 6: com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 16, // 7: com.coralogixapis.dashboards.v1.services.GetDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 17, // 8: com.coralogixapis.dashboards.v1.services.GetDashboardResponse.dashboard:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard - 18, // 9: com.coralogixapis.dashboards.v1.services.GetDashboardResponse.updated_at:type_name -> google.protobuf.Timestamp - 16, // 10: com.coralogixapis.dashboards.v1.services.PinDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 16, // 11: com.coralogixapis.dashboards.v1.services.PinDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 16, // 12: com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 16, // 13: com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 16, // 14: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest.request_id:type_name -> google.protobuf.StringValue - 16, // 15: com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest.dashboard_id:type_name -> google.protobuf.StringValue - 16, // 16: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest.request_id:type_name -> google.protobuf.StringValue - 16, // 17: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest.dashboard_id:type_name -> google.protobuf.StringValue - 16, // 18: com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest.folder_id:type_name -> google.protobuf.StringValue - 0, // 19: com.coralogixapis.dashboards.v1.services.DashboardsService.CreateDashboard:input_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardRequest - 2, // 20: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDashboard:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardRequest - 4, // 21: com.coralogixapis.dashboards.v1.services.DashboardsService.DeleteDashboard:input_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardRequest - 6, // 22: com.coralogixapis.dashboards.v1.services.DashboardsService.GetDashboard:input_type -> com.coralogixapis.dashboards.v1.services.GetDashboardRequest - 8, // 23: com.coralogixapis.dashboards.v1.services.DashboardsService.PinDashboard:input_type -> com.coralogixapis.dashboards.v1.services.PinDashboardRequest - 10, // 24: com.coralogixapis.dashboards.v1.services.DashboardsService.UnpinDashboard:input_type -> com.coralogixapis.dashboards.v1.services.UnpinDashboardRequest - 12, // 25: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDefaultDashboard:input_type -> com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardRequest - 14, // 26: com.coralogixapis.dashboards.v1.services.DashboardsService.AssignDashboardFolder:input_type -> com.coralogixapis.dashboards.v1.services.AssignDashboardFolderRequest - 1, // 27: com.coralogixapis.dashboards.v1.services.DashboardsService.CreateDashboard:output_type -> com.coralogixapis.dashboards.v1.services.CreateDashboardResponse - 3, // 28: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDashboard:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDashboardResponse - 5, // 29: com.coralogixapis.dashboards.v1.services.DashboardsService.DeleteDashboard:output_type -> com.coralogixapis.dashboards.v1.services.DeleteDashboardResponse - 7, // 30: com.coralogixapis.dashboards.v1.services.DashboardsService.GetDashboard:output_type -> com.coralogixapis.dashboards.v1.services.GetDashboardResponse - 9, // 31: com.coralogixapis.dashboards.v1.services.DashboardsService.PinDashboard:output_type -> com.coralogixapis.dashboards.v1.services.PinDashboardResponse - 11, // 32: com.coralogixapis.dashboards.v1.services.DashboardsService.UnpinDashboard:output_type -> com.coralogixapis.dashboards.v1.services.UnpinDashboardResponse - 13, // 33: com.coralogixapis.dashboards.v1.services.DashboardsService.ReplaceDefaultDashboard:output_type -> com.coralogixapis.dashboards.v1.services.ReplaceDefaultDashboardResponse - 15, // 34: com.coralogixapis.dashboards.v1.services.DashboardsService.AssignDashboardFolder:output_type -> com.coralogixapis.dashboards.v1.services.AssignDashboardFolderResponse - 27, // [27:35] is the sub-list for method output_type - 19, // [19:27] is the sub-list for method input_type - 19, // [19:19] is the sub-list for extension type_name - 19, // [19:19] is the sub-list for extension extendee - 0, // [0:19] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_init() } -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() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 16, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_services_dashboards_service_proto = out.File - file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_services_dashboards_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/dashboards_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/dashboards_service_grpc.pb.go deleted file mode 100644 index 6746104a..00000000 --- a/coralogix/clientset/grpc/dashboards/dashboards_service_grpc.pb.go +++ /dev/null @@ -1,376 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/dashboards_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - DashboardsService_CreateDashboard_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/CreateDashboard" - DashboardsService_ReplaceDashboard_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/ReplaceDashboard" - DashboardsService_DeleteDashboard_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/DeleteDashboard" - DashboardsService_GetDashboard_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/GetDashboard" - DashboardsService_PinDashboard_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/PinDashboard" - DashboardsService_UnpinDashboard_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/UnpinDashboard" - DashboardsService_ReplaceDefaultDashboard_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/ReplaceDefaultDashboard" - DashboardsService_AssignDashboardFolder_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DashboardsService/AssignDashboardFolder" -) - -// DashboardsServiceClient is the client API for DashboardsService 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 DashboardsServiceClient interface { - CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*CreateDashboardResponse, error) - ReplaceDashboard(ctx context.Context, in *ReplaceDashboardRequest, opts ...grpc.CallOption) (*ReplaceDashboardResponse, error) - DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*DeleteDashboardResponse, error) - GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*GetDashboardResponse, error) - 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 { - cc grpc.ClientConnInterface -} - -func NewDashboardsServiceClient(cc grpc.ClientConnInterface) DashboardsServiceClient { - return &dashboardsServiceClient{cc} -} - -func (c *dashboardsServiceClient) CreateDashboard(ctx context.Context, in *CreateDashboardRequest, opts ...grpc.CallOption) (*CreateDashboardResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateDashboardResponse) - err := c.cc.Invoke(ctx, DashboardsService_CreateDashboard_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardsServiceClient) ReplaceDashboard(ctx context.Context, in *ReplaceDashboardRequest, opts ...grpc.CallOption) (*ReplaceDashboardResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ReplaceDashboardResponse) - err := c.cc.Invoke(ctx, DashboardsService_ReplaceDashboard_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardsServiceClient) DeleteDashboard(ctx context.Context, in *DeleteDashboardRequest, opts ...grpc.CallOption) (*DeleteDashboardResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteDashboardResponse) - err := c.cc.Invoke(ctx, DashboardsService_DeleteDashboard_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardsServiceClient) GetDashboard(ctx context.Context, in *GetDashboardRequest, opts ...grpc.CallOption) (*GetDashboardResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetDashboardResponse) - err := c.cc.Invoke(ctx, DashboardsService_GetDashboard_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardsServiceClient) PinDashboard(ctx context.Context, in *PinDashboardRequest, opts ...grpc.CallOption) (*PinDashboardResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(PinDashboardResponse) - err := c.cc.Invoke(ctx, DashboardsService_PinDashboard_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardsServiceClient) UnpinDashboard(ctx context.Context, in *UnpinDashboardRequest, opts ...grpc.CallOption) (*UnpinDashboardResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UnpinDashboardResponse) - err := c.cc.Invoke(ctx, DashboardsService_UnpinDashboard_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardsServiceClient) ReplaceDefaultDashboard(ctx context.Context, in *ReplaceDefaultDashboardRequest, opts ...grpc.CallOption) (*ReplaceDefaultDashboardResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ReplaceDefaultDashboardResponse) - err := c.cc.Invoke(ctx, DashboardsService_ReplaceDefaultDashboard_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dashboardsServiceClient) AssignDashboardFolder(ctx context.Context, in *AssignDashboardFolderRequest, opts ...grpc.CallOption) (*AssignDashboardFolderResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(AssignDashboardFolderResponse) - err := c.cc.Invoke(ctx, DashboardsService_AssignDashboardFolder_FullMethodName, in, out, cOpts...) - 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 -type DashboardsServiceServer interface { - CreateDashboard(context.Context, *CreateDashboardRequest) (*CreateDashboardResponse, error) - ReplaceDashboard(context.Context, *ReplaceDashboardRequest) (*ReplaceDashboardResponse, error) - DeleteDashboard(context.Context, *DeleteDashboardRequest) (*DeleteDashboardResponse, error) - GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error) - 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() -} - -// UnimplementedDashboardsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedDashboardsServiceServer struct { -} - -func (UnimplementedDashboardsServiceServer) CreateDashboard(context.Context, *CreateDashboardRequest) (*CreateDashboardResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateDashboard not implemented") -} -func (UnimplementedDashboardsServiceServer) ReplaceDashboard(context.Context, *ReplaceDashboardRequest) (*ReplaceDashboardResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReplaceDashboard not implemented") -} -func (UnimplementedDashboardsServiceServer) DeleteDashboard(context.Context, *DeleteDashboardRequest) (*DeleteDashboardResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteDashboard not implemented") -} -func (UnimplementedDashboardsServiceServer) GetDashboard(context.Context, *GetDashboardRequest) (*GetDashboardResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDashboard not implemented") -} -func (UnimplementedDashboardsServiceServer) PinDashboard(context.Context, *PinDashboardRequest) (*PinDashboardResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PinDashboard not implemented") -} -func (UnimplementedDashboardsServiceServer) UnpinDashboard(context.Context, *UnpinDashboardRequest) (*UnpinDashboardResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnpinDashboard not implemented") -} -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. -// Use of this interface is not recommended, as added methods to DashboardsServiceServer will -// result in compilation errors. -type UnsafeDashboardsServiceServer interface { - mustEmbedUnimplementedDashboardsServiceServer() -} - -func RegisterDashboardsServiceServer(s grpc.ServiceRegistrar, srv DashboardsServiceServer) { - s.RegisterService(&DashboardsService_ServiceDesc, srv) -} - -func _DashboardsService_CreateDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateDashboardRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardsServiceServer).CreateDashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardsService_CreateDashboard_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardsServiceServer).CreateDashboard(ctx, req.(*CreateDashboardRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DashboardsService_ReplaceDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReplaceDashboardRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardsServiceServer).ReplaceDashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardsService_ReplaceDashboard_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardsServiceServer).ReplaceDashboard(ctx, req.(*ReplaceDashboardRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DashboardsService_DeleteDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDashboardRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardsServiceServer).DeleteDashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardsService_DeleteDashboard_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardsServiceServer).DeleteDashboard(ctx, req.(*DeleteDashboardRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DashboardsService_GetDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDashboardRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardsServiceServer).GetDashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardsService_GetDashboard_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardsServiceServer).GetDashboard(ctx, req.(*GetDashboardRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DashboardsService_PinDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PinDashboardRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardsServiceServer).PinDashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardsService_PinDashboard_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardsServiceServer).PinDashboard(ctx, req.(*PinDashboardRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DashboardsService_UnpinDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnpinDashboardRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardsServiceServer).UnpinDashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardsService_UnpinDashboard_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardsServiceServer).UnpinDashboard(ctx, req.(*UnpinDashboardRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DashboardsService_ReplaceDefaultDashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReplaceDefaultDashboardRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DashboardsServiceServer).ReplaceDefaultDashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DashboardsService_ReplaceDefaultDashboard_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DashboardsServiceServer).ReplaceDefaultDashboard(ctx, req.(*ReplaceDefaultDashboardRequest)) - } - 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: DashboardsService_AssignDashboardFolder_FullMethodName, - } - 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) -var DashboardsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.dashboards.v1.services.DashboardsService", - HandlerType: (*DashboardsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateDashboard", - Handler: _DashboardsService_CreateDashboard_Handler, - }, - { - MethodName: "ReplaceDashboard", - Handler: _DashboardsService_ReplaceDashboard_Handler, - }, - { - MethodName: "DeleteDashboard", - Handler: _DashboardsService_DeleteDashboard_Handler, - }, - { - MethodName: "GetDashboard", - Handler: _DashboardsService_GetDashboard_Handler, - }, - { - MethodName: "PinDashboard", - Handler: _DashboardsService_PinDashboard_Handler, - }, - { - MethodName: "UnpinDashboard", - Handler: _DashboardsService_UnpinDashboard_Handler, - }, - { - 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/dashboards/data_mode_type.pb.go b/coralogix/clientset/grpc/dashboards/data_mode_type.pb.go deleted file mode 100644 index 4e769746..00000000 --- a/coralogix/clientset/grpc/dashboards/data_mode_type.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/data_mode_type.proto - -package v1 - -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 DataModeType int32 - -const ( - DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED DataModeType = 0 - DataModeType_DATA_MODE_TYPE_ARCHIVE DataModeType = 1 -) - -// Enum value maps for DataModeType. -var ( - DataModeType_name = map[int32]string{ - 0: "DATA_MODE_TYPE_HIGH_UNSPECIFIED", - 1: "DATA_MODE_TYPE_ARCHIVE", - } - DataModeType_value = map[string]int32{ - "DATA_MODE_TYPE_HIGH_UNSPECIFIED": 0, - "DATA_MODE_TYPE_ARCHIVE": 1, - } -) - -func (x DataModeType) Enum() *DataModeType { - p := new(DataModeType) - *p = x - return p -} - -func (x DataModeType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DataModeType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_enumTypes[0].Descriptor() -} - -func (DataModeType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_enumTypes[0] -} - -func (x DataModeType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DataModeType.Descriptor instead. -func (DataModeType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDesc = []byte{ - 0x0a, 0x47, 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, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 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, 0x2a, 0x4f, 0x0a, - 0x0c, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, - 0x1f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x48, 0x49, 0x47, 0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x01, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_goTypes = []any{ - (DataModeType)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_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_widgets_common_data_mode_type_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/data_table.pb.go b/coralogix/clientset/grpc/dashboards/data_table.pb.go deleted file mode 100644 index 1411c57d..00000000 --- a/coralogix/clientset/grpc/dashboards/data_table.pb.go +++ /dev/null @@ -1,1424 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/data_table.proto - -package v1 - -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 RowStyle int32 - -const ( - RowStyle_ROW_STYLE_UNSPECIFIED RowStyle = 0 - RowStyle_ROW_STYLE_ONE_LINE RowStyle = 1 - RowStyle_ROW_STYLE_TWO_LINE RowStyle = 2 - RowStyle_ROW_STYLE_CONDENSED RowStyle = 3 - RowStyle_ROW_STYLE_JSON RowStyle = 4 - RowStyle_ROW_STYLE_LIST RowStyle = 5 -) - -// Enum value maps for RowStyle. -var ( - RowStyle_name = map[int32]string{ - 0: "ROW_STYLE_UNSPECIFIED", - 1: "ROW_STYLE_ONE_LINE", - 2: "ROW_STYLE_TWO_LINE", - 3: "ROW_STYLE_CONDENSED", - 4: "ROW_STYLE_JSON", - 5: "ROW_STYLE_LIST", - } - RowStyle_value = map[string]int32{ - "ROW_STYLE_UNSPECIFIED": 0, - "ROW_STYLE_ONE_LINE": 1, - "ROW_STYLE_TWO_LINE": 2, - "ROW_STYLE_CONDENSED": 3, - "ROW_STYLE_JSON": 4, - "ROW_STYLE_LIST": 5, - } -) - -func (x RowStyle) Enum() *RowStyle { - p := new(RowStyle) - *p = x - return p -} - -func (x RowStyle) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RowStyle) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_enumTypes[0].Descriptor() -} - -func (RowStyle) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_enumTypes[0] -} - -func (x RowStyle) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use RowStyle.Descriptor instead. -func (RowStyle) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0} -} - -type DataTable struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Query *DataTable_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - ResultsPerPage *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=results_per_page,json=resultsPerPage,proto3" json:"results_per_page,omitempty"` - RowStyle RowStyle `protobuf:"varint,3,opt,name=row_style,json=rowStyle,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.RowStyle" json:"row_style,omitempty"` - Columns []*DataTable_Column `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"` - OrderBy *OrderingField `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - DataModeType DataModeType `protobuf:"varint,11,opt,name=data_mode_type,json=dataModeType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType" json:"data_mode_type,omitempty"` -} - -func (x *DataTable) Reset() { - *x = DataTable{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable) ProtoMessage() {} - -func (x *DataTable) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable.ProtoReflect.Descriptor instead. -func (*DataTable) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0} -} - -func (x *DataTable) GetQuery() *DataTable_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *DataTable) GetResultsPerPage() *wrapperspb.Int32Value { - if x != nil { - return x.ResultsPerPage - } - return nil -} - -func (x *DataTable) GetRowStyle() RowStyle { - if x != nil { - return x.RowStyle - } - return RowStyle_ROW_STYLE_UNSPECIFIED -} - -func (x *DataTable) GetColumns() []*DataTable_Column { - if x != nil { - return x.Columns - } - return nil -} - -func (x *DataTable) GetOrderBy() *OrderingField { - if x != nil { - return x.OrderBy - } - return nil -} - -func (x *DataTable) GetDataModeType() DataModeType { - if x != nil { - return x.DataModeType - } - return DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED -} - -type DataTable_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *DataTable_Query_Logs - // *DataTable_Query_Spans - // *DataTable_Query_Metrics - // *DataTable_Query_Dataprime - Value isDataTable_Query_Value `protobuf_oneof:"value"` -} - -func (x *DataTable_Query) Reset() { - *x = DataTable_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_Query) ProtoMessage() {} - -func (x *DataTable_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_Query.ProtoReflect.Descriptor instead. -func (*DataTable_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *DataTable_Query) GetValue() isDataTable_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *DataTable_Query) GetLogs() *DataTable_LogsQuery { - if x, ok := x.GetValue().(*DataTable_Query_Logs); ok { - return x.Logs - } - return nil -} - -func (x *DataTable_Query) GetSpans() *DataTable_SpansQuery { - if x, ok := x.GetValue().(*DataTable_Query_Spans); ok { - return x.Spans - } - return nil -} - -func (x *DataTable_Query) GetMetrics() *DataTable_MetricsQuery { - if x, ok := x.GetValue().(*DataTable_Query_Metrics); ok { - return x.Metrics - } - return nil -} - -func (x *DataTable_Query) GetDataprime() *DataTable_DataprimeQuery { - if x, ok := x.GetValue().(*DataTable_Query_Dataprime); ok { - return x.Dataprime - } - return nil -} - -type isDataTable_Query_Value interface { - isDataTable_Query_Value() -} - -type DataTable_Query_Logs struct { - Logs *DataTable_LogsQuery `protobuf:"bytes,1,opt,name=logs,proto3,oneof"` -} - -type DataTable_Query_Spans struct { - Spans *DataTable_SpansQuery `protobuf:"bytes,2,opt,name=spans,proto3,oneof"` -} - -type DataTable_Query_Metrics struct { - Metrics *DataTable_MetricsQuery `protobuf:"bytes,3,opt,name=metrics,proto3,oneof"` -} - -type DataTable_Query_Dataprime struct { - Dataprime *DataTable_DataprimeQuery `protobuf:"bytes,4,opt,name=dataprime,proto3,oneof"` -} - -func (*DataTable_Query_Logs) isDataTable_Query_Value() {} - -func (*DataTable_Query_Spans) isDataTable_Query_Value() {} - -func (*DataTable_Query_Metrics) isDataTable_Query_Value() {} - -func (*DataTable_Query_Dataprime) isDataTable_Query_Value() {} - -type DataTable_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - Grouping *DataTable_LogsQuery_Grouping `protobuf:"bytes,3,opt,name=grouping,proto3" json:"grouping,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,4,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *DataTable_LogsQuery) Reset() { - *x = DataTable_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_LogsQuery) ProtoMessage() {} - -func (x *DataTable_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_LogsQuery.ProtoReflect.Descriptor instead. -func (*DataTable_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *DataTable_LogsQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *DataTable_LogsQuery) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *DataTable_LogsQuery) GetGrouping() *DataTable_LogsQuery_Grouping { - if x != nil { - return x.Grouping - } - return nil -} - -func (x *DataTable_LogsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type DataTable_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - Grouping *DataTable_SpansQuery_Grouping `protobuf:"bytes,3,opt,name=grouping,proto3" json:"grouping,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,4,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *DataTable_SpansQuery) Reset() { - *x = DataTable_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_SpansQuery) ProtoMessage() {} - -func (x *DataTable_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_SpansQuery.ProtoReflect.Descriptor instead. -func (*DataTable_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *DataTable_SpansQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *DataTable_SpansQuery) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *DataTable_SpansQuery) GetGrouping() *DataTable_SpansQuery_Grouping { - if x != nil { - return x.Grouping - } - return nil -} - -func (x *DataTable_SpansQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type DataTable_MetricsQuery 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"` - Filters []*Filter_MetricsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - EditorMode MetricsQueryEditorMode `protobuf:"varint,3,opt,name=editor_mode,json=editorMode,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode" json:"editor_mode,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,4,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *DataTable_MetricsQuery) Reset() { - *x = DataTable_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_MetricsQuery) ProtoMessage() {} - -func (x *DataTable_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_MetricsQuery.ProtoReflect.Descriptor instead. -func (*DataTable_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *DataTable_MetricsQuery) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *DataTable_MetricsQuery) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *DataTable_MetricsQuery) GetEditorMode() MetricsQueryEditorMode { - if x != nil { - return x.EditorMode - } - return MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED -} - -func (x *DataTable_MetricsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type DataTable_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"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,3,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *DataTable_DataprimeQuery) Reset() { - *x = DataTable_DataprimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_DataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_DataprimeQuery) ProtoMessage() {} - -func (x *DataTable_DataprimeQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_DataprimeQuery.ProtoReflect.Descriptor instead. -func (*DataTable_DataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *DataTable_DataprimeQuery) GetDataprimeQuery() *DataprimeQuery { - if x != nil { - return x.DataprimeQuery - } - return nil -} - -func (x *DataTable_DataprimeQuery) GetFilters() []*Filter_Source { - if x != nil { - return x.Filters - } - return nil -} - -func (x *DataTable_DataprimeQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type DataTable_Column struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - Width *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=width,proto3" json:"width,omitempty"` -} - -func (x *DataTable_Column) Reset() { - *x = DataTable_Column{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_Column) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_Column) ProtoMessage() {} - -func (x *DataTable_Column) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_Column.ProtoReflect.Descriptor instead. -func (*DataTable_Column) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *DataTable_Column) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *DataTable_Column) GetWidth() *wrapperspb.Int32Value { - if x != nil { - return x.Width - } - return nil -} - -type DataTable_LogsQuery_Grouping 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"` - Aggregations []*DataTable_LogsQuery_Aggregation `protobuf:"bytes,2,rep,name=aggregations,proto3" json:"aggregations,omitempty"` - GroupBys []*ObservationField `protobuf:"bytes,3,rep,name=group_bys,json=groupBys,proto3" json:"group_bys,omitempty"` -} - -func (x *DataTable_LogsQuery_Grouping) Reset() { - *x = DataTable_LogsQuery_Grouping{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_LogsQuery_Grouping) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_LogsQuery_Grouping) ProtoMessage() {} - -func (x *DataTable_LogsQuery_Grouping) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_LogsQuery_Grouping.ProtoReflect.Descriptor instead. -func (*DataTable_LogsQuery_Grouping) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 1, 0} -} - -func (x *DataTable_LogsQuery_Grouping) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *DataTable_LogsQuery_Grouping) GetAggregations() []*DataTable_LogsQuery_Aggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -func (x *DataTable_LogsQuery_Grouping) GetGroupBys() []*ObservationField { - if x != nil { - return x.GroupBys - } - return nil -} - -type DataTable_LogsQuery_Aggregation 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"` - IsVisible *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"` - Aggregation *LogsAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` -} - -func (x *DataTable_LogsQuery_Aggregation) Reset() { - *x = DataTable_LogsQuery_Aggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_LogsQuery_Aggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_LogsQuery_Aggregation) ProtoMessage() {} - -func (x *DataTable_LogsQuery_Aggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_LogsQuery_Aggregation.ProtoReflect.Descriptor instead. -func (*DataTable_LogsQuery_Aggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 1, 1} -} - -func (x *DataTable_LogsQuery_Aggregation) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *DataTable_LogsQuery_Aggregation) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *DataTable_LogsQuery_Aggregation) GetIsVisible() *wrapperspb.BoolValue { - if x != nil { - return x.IsVisible - } - return nil -} - -func (x *DataTable_LogsQuery_Aggregation) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -type DataTable_SpansQuery_Grouping struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupBy []*SpanField `protobuf:"bytes,1,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Aggregations []*DataTable_SpansQuery_Aggregation `protobuf:"bytes,2,rep,name=aggregations,proto3" json:"aggregations,omitempty"` -} - -func (x *DataTable_SpansQuery_Grouping) Reset() { - *x = DataTable_SpansQuery_Grouping{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_SpansQuery_Grouping) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_SpansQuery_Grouping) ProtoMessage() {} - -func (x *DataTable_SpansQuery_Grouping) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_SpansQuery_Grouping.ProtoReflect.Descriptor instead. -func (*DataTable_SpansQuery_Grouping) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 2, 0} -} - -func (x *DataTable_SpansQuery_Grouping) GetGroupBy() []*SpanField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *DataTable_SpansQuery_Grouping) GetAggregations() []*DataTable_SpansQuery_Aggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -type DataTable_SpansQuery_Aggregation 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"` - IsVisible *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,4,opt,name=aggregation,proto3" json:"aggregation,omitempty"` -} - -func (x *DataTable_SpansQuery_Aggregation) Reset() { - *x = DataTable_SpansQuery_Aggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataTable_SpansQuery_Aggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataTable_SpansQuery_Aggregation) ProtoMessage() {} - -func (x *DataTable_SpansQuery_Aggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_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 DataTable_SpansQuery_Aggregation.ProtoReflect.Descriptor instead. -func (*DataTable_SpansQuery_Aggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP(), []int{0, 2, 1} -} - -func (x *DataTable_SpansQuery_Aggregation) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *DataTable_SpansQuery_Aggregation) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *DataTable_SpansQuery_Aggregation) GetIsVisible() *wrapperspb.BoolValue { - if x != nil { - return x.IsVisible - } - return nil -} - -func (x *DataTable_SpansQuery_Aggregation) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDesc = []byte{ - 0x0a, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x64, 0x61, - 0x74, 0x61, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 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, 0x47, 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, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x52, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f, - 0x6d, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 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, 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, 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, 0xa8, - 0x1b, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x52, 0x0a, 0x05, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 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, 0x44, 0x61, 0x74, 0x61, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x45, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, - 0x70, 0x61, 0x67, 0x65, 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, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, - 0x50, 0x65, 0x72, 0x50, 0x61, 0x67, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x73, - 0x74, 0x79, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 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, 0x61, 0x73, 0x74, - 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x52, 0x6f, 0x77, 0x53, 0x74, 0x79, 0x6c, - 0x65, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x57, 0x0a, 0x07, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 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, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, - 0x18, 0x05, 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, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 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, 0x8b, - 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x56, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, - 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, - 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x4c, - 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, - 0x12, 0x59, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 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, 0x44, 0x61, - 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x5f, 0x0a, 0x07, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x44, 0x61, 0x74, 0x61, 0x54, - 0x61, 0x62, 0x6c, 0x65, 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, 0x65, 0x0a, 0x09, - 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 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, 0x44, 0x61, - 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 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, 0x95, 0x07, 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, 0x50, - 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 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, 0x65, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, - 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, - 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x04, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, - 0x8c, 0x02, 0x0a, 0x08, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, 0x67, 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, 0x70, 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 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, 0x61, 0x73, - 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 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, 0x55, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x62, 0x79, 0x73, 0x18, 0x03, 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, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x73, 0x1a, 0x83, - 0x02, 0x0a, 0x0b, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 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, 0x39, - 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 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, 0x09, - 0x69, 0x73, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 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, 0x1a, 0xd8, 0x06, 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, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x73, 0x18, 0x02, 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, 0x66, 0x0a, 0x08, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, - 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x69, - 0x6e, 0x67, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, - 0x18, 0x04, 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, - 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, - 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xcb, 0x01, 0x0a, 0x08, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x4c, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x62, 0x79, 0x18, 0x01, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x71, 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 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, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 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, 0x1a, 0x84, 0x02, 0x0a, 0x0b, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 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, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x76, - 0x69, 0x73, 0x69, 0x62, 0x6c, 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, 0x09, 0x69, 0x73, 0x56, 0x69, 0x73, 0x69, - 0x62, 0x6c, 0x65, 0x12, 0x5a, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x04, 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, 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, 0x1a, - 0x8c, 0x03, 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, 0x6b, 0x0a, 0x0b, 0x65, 0x64, 0x69, - 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x64, 0x69, 0x74, - 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x18, 0x04, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x97, - 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, 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, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x03, - 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, 0x54, 0x69, - 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x6f, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, - 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x31, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 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, 0x77, 0x69, 0x64, 0x74, 0x68, 0x2a, 0x96, 0x01, 0x0a, 0x08, 0x52, 0x6f, - 0x77, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x4f, 0x57, 0x5f, 0x53, 0x54, - 0x59, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x4f, - 0x4e, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x4f, 0x57, - 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x54, 0x57, 0x4f, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, - 0x02, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x43, - 0x4f, 0x4e, 0x44, 0x45, 0x4e, 0x53, 0x45, 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x4f, - 0x57, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x12, - 0x0a, 0x0e, 0x52, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x53, 0x54, - 0x10, 0x05, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_goTypes = []any{ - (RowStyle)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.RowStyle - (*DataTable)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.DataTable - (*DataTable_Query)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Query - (*DataTable_LogsQuery)(nil), // 3: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery - (*DataTable_SpansQuery)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery - (*DataTable_MetricsQuery)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.MetricsQuery - (*DataTable_DataprimeQuery)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.DataprimeQuery - (*DataTable_Column)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Column - (*DataTable_LogsQuery_Grouping)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Grouping - (*DataTable_LogsQuery_Aggregation)(nil), // 9: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Aggregation - (*DataTable_SpansQuery_Grouping)(nil), // 10: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Grouping - (*DataTable_SpansQuery_Aggregation)(nil), // 11: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Aggregation - (*wrapperspb.Int32Value)(nil), // 12: google.protobuf.Int32Value - (*OrderingField)(nil), // 13: com.coralogixapis.dashboards.v1.common.OrderingField - (DataModeType)(0), // 14: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*LuceneQuery)(nil), // 15: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*Filter_LogsFilter)(nil), // 16: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*TimeFrameSelect)(nil), // 17: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (*Filter_SpansFilter)(nil), // 18: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*PromQlQuery)(nil), // 19: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 20: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (MetricsQueryEditorMode)(0), // 21: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - (*DataprimeQuery)(nil), // 22: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*Filter_Source)(nil), // 23: com.coralogixapis.dashboards.v1.ast.Filter.Source - (*wrapperspb.StringValue)(nil), // 24: google.protobuf.StringValue - (*ObservationField)(nil), // 25: com.coralogixapis.dashboards.v1.common.ObservationField - (*wrapperspb.BoolValue)(nil), // 26: google.protobuf.BoolValue - (*LogsAggregation)(nil), // 27: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*SpanField)(nil), // 28: com.coralogixapis.dashboards.v1.common.SpanField - (*SpansAggregation)(nil), // 29: com.coralogixapis.dashboards.v1.common.SpansAggregation -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Query - 12, // 1: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.results_per_page:type_name -> google.protobuf.Int32Value - 0, // 2: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.row_style:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.RowStyle - 7, // 3: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.columns:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Column - 13, // 4: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.order_by:type_name -> com.coralogixapis.dashboards.v1.common.OrderingField - 14, // 5: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - 3, // 6: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery - 4, // 7: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery - 5, // 8: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.MetricsQuery - 6, // 9: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.DataprimeQuery - 15, // 10: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 16, // 11: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 8, // 12: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.grouping:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Grouping - 17, // 13: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 15, // 14: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 18, // 15: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 10, // 16: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.grouping:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Grouping - 17, // 17: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 19, // 18: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 20, // 19: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 21, // 20: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.MetricsQuery.editor_mode:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - 17, // 21: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.MetricsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 22, // 22: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 23, // 23: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 17, // 24: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.DataprimeQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 24, // 25: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Column.field:type_name -> google.protobuf.StringValue - 12, // 26: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.Column.width:type_name -> google.protobuf.Int32Value - 24, // 27: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Grouping.group_by:type_name -> google.protobuf.StringValue - 9, // 28: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Grouping.aggregations:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Aggregation - 25, // 29: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Grouping.group_bys:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 24, // 30: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Aggregation.id:type_name -> google.protobuf.StringValue - 24, // 31: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Aggregation.name:type_name -> google.protobuf.StringValue - 26, // 32: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Aggregation.is_visible:type_name -> google.protobuf.BoolValue - 27, // 33: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.LogsQuery.Aggregation.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 28, // 34: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Grouping.group_by:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 11, // 35: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Grouping.aggregations:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Aggregation - 24, // 36: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Aggregation.id:type_name -> google.protobuf.StringValue - 24, // 37: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Aggregation.name:type_name -> google.protobuf.StringValue - 26, // 38: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Aggregation.is_visible:type_name -> google.protobuf.BoolValue - 29, // 39: com.coralogixapis.dashboards.v1.ast.widgets.DataTable.SpansQuery.Aggregation.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 40, // [40:40] is the sub-list for method output_type - 40, // [40:40] is the sub-list for method input_type - 40, // [40:40] is the sub-list for extension type_name - 40, // [40:40] is the sub-list for extension extendee - 0, // [0:40] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto != nil { - return - } - 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_metrics_query_editor_mode_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() - 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() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*DataTable); 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_data_table_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_Query); 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_data_table_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_LogsQuery); 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_data_table_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_SpansQuery); 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_data_table_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_MetricsQuery); 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_data_table_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_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_data_table_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_Column); 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_data_table_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_LogsQuery_Grouping); 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_data_table_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_LogsQuery_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_ast_widgets_data_table_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_SpansQuery_Grouping); 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_data_table_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*DataTable_SpansQuery_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_ast_widgets_data_table_proto_msgTypes[1].OneofWrappers = []any{ - (*DataTable_Query_Logs)(nil), - (*DataTable_Query_Spans)(nil), - (*DataTable_Query_Metrics)(nil), - (*DataTable_Query_Dataprime)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDesc, - NumEnums: 1, - NumMessages: 11, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/dataprime_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/dataprime_data_source_service.pb.go deleted file mode 100644 index 48511170..00000000 --- a/coralogix/clientset/grpc/dashboards/dataprime_data_source_service.pb.go +++ /dev/null @@ -1,533 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/dataprime_data_source_service.proto - -package v1 - -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"` - Meta map[string]string `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -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 -} - -func (x *SearchDataprimeArchiveResponse) GetMeta() map[string]string { - if x != nil { - return x.Meta - } - 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, 0x94, 0x02, 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, 0x12, 0x66, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x52, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 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, 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, - 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, 5) -var file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_goTypes = []any{ - (*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 - nil, // 4: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse.MetaEntry - (*SerializedDataprimeQuery)(nil), // 5: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - (*DataprimeQuery)(nil), // 6: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*TimeFrame)(nil), // 7: com.coralogixapis.dashboards.v1.common.TimeFrame - (*wrapperspb.Int32Value)(nil), // 8: google.protobuf.Int32Value - (*DataprimeResult)(nil), // 9: com.coralogixapis.dashboards.v1.common.DataprimeResult - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_services_dataprime_data_source_service_proto_depIdxs = []int32{ - 5, // 0: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 6, // 1: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.dataprime_query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 7, // 2: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 8, // 3: com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest.limit:type_name -> google.protobuf.Int32Value - 9, // 4: com.coralogixapis.dashboards.v1.services.SearchDataprimeResponse.results:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeResult - 5, // 5: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 6, // 6: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.dataprime_query_raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 7, // 7: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 8, // 8: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.limit:type_name -> google.protobuf.Int32Value - 10, // 9: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest.widget_id:type_name -> google.protobuf.StringValue - 9, // 10: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse.results:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeResult - 4, // 11: com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse.meta:type_name -> com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse.MetaEntry - 0, // 12: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprime:input_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeRequest - 2, // 13: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprimeArchive:input_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveRequest - 1, // 14: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprime:output_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeResponse - 3, // 15: com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService.SearchDataprimeArchive:output_type -> com.coralogixapis.dashboards.v1.services.SearchDataprimeArchiveResponse - 14, // [14:16] is the sub-list for method output_type - 12, // [12:14] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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: 5, - 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 deleted file mode 100644 index 02068e65..00000000 --- a/coralogix/clientset/grpc/dashboards/dataprime_data_source_service_grpc.pb.go +++ /dev/null @@ -1,149 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/dataprime_data_source_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - DataprimeDataSourceService_SearchDataprime_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService/SearchDataprime" - DataprimeDataSourceService_SearchDataprimeArchive_FullMethodName = "/com.coralogixapis.dashboards.v1.services.DataprimeDataSourceService/SearchDataprimeArchive" -) - -// 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) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchDataprimeResponse) - err := c.cc.Invoke(ctx, DataprimeDataSourceService_SearchDataprime_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *dataprimeDataSourceServiceClient) SearchDataprimeArchive(ctx context.Context, in *SearchDataprimeArchiveRequest, opts ...grpc.CallOption) (*SearchDataprimeArchiveResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchDataprimeArchiveResponse) - err := c.cc.Invoke(ctx, DataprimeDataSourceService_SearchDataprimeArchive_FullMethodName, in, out, cOpts...) - 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: DataprimeDataSourceService_SearchDataprime_FullMethodName, - } - 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: DataprimeDataSourceService_SearchDataprimeArchive_FullMethodName, - } - 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/dashboards/dataprime_result.pb.go b/coralogix/clientset/grpc/dashboards/dataprime_result.pb.go deleted file mode 100644 index 672af9d3..00000000 --- a/coralogix/clientset/grpc/dashboards/dataprime_result.pb.go +++ /dev/null @@ -1,247 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/dataprime_result.proto - -package v1 - -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 DataprimeResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Metadata []*DataprimeResult_KeyValue `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"` - Labels []*DataprimeResult_KeyValue `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` - UserData string `protobuf:"bytes,3,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"` -} - -func (x *DataprimeResult) Reset() { - *x = DataprimeResult{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataprimeResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataprimeResult) ProtoMessage() {} - -func (x *DataprimeResult) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_dataprime_result_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 DataprimeResult.ProtoReflect.Descriptor instead. -func (*DataprimeResult) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescGZIP(), []int{0} -} - -func (x *DataprimeResult) GetMetadata() []*DataprimeResult_KeyValue { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *DataprimeResult) GetLabels() []*DataprimeResult_KeyValue { - if x != nil { - return x.Labels - } - return nil -} - -func (x *DataprimeResult) GetUserData() string { - if x != nil { - return x.UserData - } - return "" -} - -type DataprimeResult_KeyValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *DataprimeResult_KeyValue) Reset() { - *x = DataprimeResult_KeyValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataprimeResult_KeyValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataprimeResult_KeyValue) ProtoMessage() {} - -func (x *DataprimeResult_KeyValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_dataprime_result_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 DataprimeResult_KeyValue.ProtoReflect.Descriptor instead. -func (*DataprimeResult_KeyValue) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *DataprimeResult_KeyValue) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *DataprimeResult_KeyValue) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -var File_com_coralogixapis_dashboards_v1_common_dataprime_result_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_dataprime_result_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, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, - 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 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, 0x22, 0x9a, 0x02, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, - 0x70, 0x72, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x5c, 0x0a, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 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, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x58, 0x0a, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 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, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, - 0x1a, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_goTypes = []any{ - (*DataprimeResult)(nil), // 0: com.coralogixapis.dashboards.v1.common.DataprimeResult - (*DataprimeResult_KeyValue)(nil), // 1: com.coralogixapis.dashboards.v1.common.DataprimeResult.KeyValue -} -var file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.DataprimeResult.metadata:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeResult.KeyValue - 1, // 1: com.coralogixapis.dashboards.v1.common.DataprimeResult.labels:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeResult.KeyValue - 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_dataprime_result_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_dataprime_result_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*DataprimeResult); 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_dataprime_result_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*DataprimeResult_KeyValue); 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_dataprime_result_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_dataprime_result_proto = out.File - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/filter.pb.go b/coralogix/clientset/grpc/dashboards/filter.pb.go deleted file mode 100644 index 2076d0de..00000000 --- a/coralogix/clientset/grpc/dashboards/filter.pb.go +++ /dev/null @@ -1,1260 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/filter.proto - -package v1 - -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) -) - -// Filter represents the configuration for filtering data on the dashboard. -type Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Source of the filter, which can be logs, spans, or metrics. - Source *Filter_Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - // Indicates if the filter is currently enabled or not. - Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - // Indicates if the filter's UI representation should be collapsed or expanded. - Collapsed *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=collapsed,proto3" json:"collapsed,omitempty"` -} - -func (x *Filter) Reset() { - *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter) ProtoMessage() {} - -func (x *Filter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter.ProtoReflect.Descriptor instead. -func (*Filter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0} -} - -func (x *Filter) GetSource() *Filter_Source { - if x != nil { - return x.Source - } - return nil -} - -func (x *Filter) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *Filter) GetCollapsed() *wrapperspb.BoolValue { - if x != nil { - return x.Collapsed - } - return nil -} - -// Source defines the type of data the filter applies to. -type Filter_Source struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Specifies the type of data for the filter. - // - // Types that are assignable to Value: - // - // *Filter_Source_Logs - // *Filter_Source_Spans - // *Filter_Source_Metrics - Value isFilter_Source_Value `protobuf_oneof:"value"` -} - -func (x *Filter_Source) Reset() { - *x = Filter_Source{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_Source) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_Source) ProtoMessage() {} - -func (x *Filter_Source) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_Source.ProtoReflect.Descriptor instead. -func (*Filter_Source) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *Filter_Source) GetValue() isFilter_Source_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Filter_Source) GetLogs() *Filter_LogsFilter { - if x, ok := x.GetValue().(*Filter_Source_Logs); ok { - return x.Logs - } - return nil -} - -func (x *Filter_Source) GetSpans() *Filter_SpansFilter { - if x, ok := x.GetValue().(*Filter_Source_Spans); ok { - return x.Spans - } - return nil -} - -func (x *Filter_Source) GetMetrics() *Filter_MetricsFilter { - if x, ok := x.GetValue().(*Filter_Source_Metrics); ok { - return x.Metrics - } - return nil -} - -type isFilter_Source_Value interface { - isFilter_Source_Value() -} - -type Filter_Source_Logs struct { - Logs *Filter_LogsFilter `protobuf:"bytes,1,opt,name=logs,proto3,oneof"` // Filter configuration for logs. -} - -type Filter_Source_Spans struct { - Spans *Filter_SpansFilter `protobuf:"bytes,2,opt,name=spans,proto3,oneof"` // Filter configuration for spans. -} - -type Filter_Source_Metrics struct { - Metrics *Filter_MetricsFilter `protobuf:"bytes,3,opt,name=metrics,proto3,oneof"` // Filter configuration for metrics. -} - -func (*Filter_Source_Logs) isFilter_Source_Value() {} - -func (*Filter_Source_Spans) isFilter_Source_Value() {} - -func (*Filter_Source_Metrics) isFilter_Source_Value() {} - -// LogsFilter represents the filter criteria for logs. -type Filter_LogsFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Field in the logs to apply the filter on. - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // Operator to use for filtering the logs. - Operator *Filter_Operator `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,3,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *Filter_LogsFilter) Reset() { - *x = Filter_LogsFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_LogsFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_LogsFilter) ProtoMessage() {} - -func (x *Filter_LogsFilter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_LogsFilter.ProtoReflect.Descriptor instead. -func (*Filter_LogsFilter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *Filter_LogsFilter) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *Filter_LogsFilter) GetOperator() *Filter_Operator { - if x != nil { - return x.Operator - } - return nil -} - -func (x *Filter_LogsFilter) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -// SpansFilter represents the filter criteria for spans. -type Filter_SpansFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Field in the spans to apply the filter on. - Field *SpanField `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // Operator to use for filtering the spans. - Operator *Filter_Operator `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` -} - -func (x *Filter_SpansFilter) Reset() { - *x = Filter_SpansFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_SpansFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_SpansFilter) ProtoMessage() {} - -func (x *Filter_SpansFilter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_SpansFilter.ProtoReflect.Descriptor instead. -func (*Filter_SpansFilter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *Filter_SpansFilter) GetField() *SpanField { - if x != nil { - return x.Field - } - return nil -} - -func (x *Filter_SpansFilter) GetOperator() *Filter_Operator { - if x != nil { - return x.Operator - } - return nil -} - -// MetricsFilter represents the filter criteria for metrics. -type Filter_MetricsFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Metric name to apply the filter on. - Metric *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - // Label associated with the metric. - Label *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` - // Operator to use for filtering the metrics. - Operator *Filter_Operator `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` -} - -func (x *Filter_MetricsFilter) Reset() { - *x = Filter_MetricsFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_MetricsFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_MetricsFilter) ProtoMessage() {} - -func (x *Filter_MetricsFilter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_MetricsFilter.ProtoReflect.Descriptor instead. -func (*Filter_MetricsFilter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *Filter_MetricsFilter) GetMetric() *wrapperspb.StringValue { - if x != nil { - return x.Metric - } - return nil -} - -func (x *Filter_MetricsFilter) GetLabel() *wrapperspb.StringValue { - if x != nil { - return x.Label - } - return nil -} - -func (x *Filter_MetricsFilter) GetOperator() *Filter_Operator { - if x != nil { - return x.Operator - } - return nil -} - -// Operator defines the comparison operation for the filter. -type Filter_Operator struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Specifies the type of comparison operation. - // - // Types that are assignable to Value: - // - // *Filter_Operator_Equals - // *Filter_Operator_NotEquals - Value isFilter_Operator_Value `protobuf_oneof:"value"` -} - -func (x *Filter_Operator) Reset() { - *x = Filter_Operator{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_Operator) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_Operator) ProtoMessage() {} - -func (x *Filter_Operator) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_Operator.ProtoReflect.Descriptor instead. -func (*Filter_Operator) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 4} -} - -func (m *Filter_Operator) GetValue() isFilter_Operator_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Filter_Operator) GetEquals() *Filter_Equals { - if x, ok := x.GetValue().(*Filter_Operator_Equals); ok { - return x.Equals - } - return nil -} - -func (x *Filter_Operator) GetNotEquals() *Filter_NotEquals { - if x, ok := x.GetValue().(*Filter_Operator_NotEquals); ok { - return x.NotEquals - } - return nil -} - -type isFilter_Operator_Value interface { - isFilter_Operator_Value() -} - -type Filter_Operator_Equals struct { - Equals *Filter_Equals `protobuf:"bytes,1,opt,name=equals,proto3,oneof"` // Equality comparison. -} - -type Filter_Operator_NotEquals struct { - NotEquals *Filter_NotEquals `protobuf:"bytes,2,opt,name=not_equals,json=notEquals,proto3,oneof"` // Non-equality comparison. -} - -func (*Filter_Operator_Equals) isFilter_Operator_Value() {} - -func (*Filter_Operator_NotEquals) isFilter_Operator_Value() {} - -// Equals represents an equality comparison operation. -type Filter_Equals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Selection criteria for the equality comparison. - Selection *Filter_Equals_Selection `protobuf:"bytes,1,opt,name=selection,proto3" json:"selection,omitempty"` -} - -func (x *Filter_Equals) Reset() { - *x = Filter_Equals{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_Equals) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_Equals) ProtoMessage() {} - -func (x *Filter_Equals) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_Equals.ProtoReflect.Descriptor instead. -func (*Filter_Equals) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *Filter_Equals) GetSelection() *Filter_Equals_Selection { - if x != nil { - return x.Selection - } - return nil -} - -// NotEquals represents a non-equality comparison operation. -type Filter_NotEquals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Selection criteria for the non-equality comparison. - Selection *Filter_NotEquals_Selection `protobuf:"bytes,1,opt,name=selection,proto3" json:"selection,omitempty"` -} - -func (x *Filter_NotEquals) Reset() { - *x = Filter_NotEquals{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_NotEquals) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_NotEquals) ProtoMessage() {} - -func (x *Filter_NotEquals) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_NotEquals.ProtoReflect.Descriptor instead. -func (*Filter_NotEquals) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 6} -} - -func (x *Filter_NotEquals) GetSelection() *Filter_NotEquals_Selection { - if x != nil { - return x.Selection - } - return nil -} - -// Selection defines the values for the equality comparison. -type Filter_Equals_Selection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Specifies the type of selection for the equality comparison. - // - // Types that are assignable to Value: - // - // *Filter_Equals_Selection_All - // *Filter_Equals_Selection_List - Value isFilter_Equals_Selection_Value `protobuf_oneof:"value"` -} - -func (x *Filter_Equals_Selection) Reset() { - *x = Filter_Equals_Selection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_Equals_Selection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_Equals_Selection) ProtoMessage() {} - -func (x *Filter_Equals_Selection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_Equals_Selection.ProtoReflect.Descriptor instead. -func (*Filter_Equals_Selection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 5, 0} -} - -func (m *Filter_Equals_Selection) GetValue() isFilter_Equals_Selection_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Filter_Equals_Selection) GetAll() *Filter_Equals_Selection_AllSelection { - if x, ok := x.GetValue().(*Filter_Equals_Selection_All); ok { - return x.All - } - return nil -} - -func (x *Filter_Equals_Selection) GetList() *Filter_Equals_Selection_ListSelection { - if x, ok := x.GetValue().(*Filter_Equals_Selection_List); ok { - return x.List - } - return nil -} - -type isFilter_Equals_Selection_Value interface { - isFilter_Equals_Selection_Value() -} - -type Filter_Equals_Selection_All struct { - All *Filter_Equals_Selection_AllSelection `protobuf:"bytes,1,opt,name=all,proto3,oneof"` // Represents a selection of all values. -} - -type Filter_Equals_Selection_List struct { - List *Filter_Equals_Selection_ListSelection `protobuf:"bytes,2,opt,name=list,proto3,oneof"` // Represents a selection from a list of values. -} - -func (*Filter_Equals_Selection_All) isFilter_Equals_Selection_Value() {} - -func (*Filter_Equals_Selection_List) isFilter_Equals_Selection_Value() {} - -// AllSelection indicates that all values are selected. -type Filter_Equals_Selection_AllSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Filter_Equals_Selection_AllSelection) Reset() { - *x = Filter_Equals_Selection_AllSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_Equals_Selection_AllSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_Equals_Selection_AllSelection) ProtoMessage() {} - -func (x *Filter_Equals_Selection_AllSelection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_Equals_Selection_AllSelection.ProtoReflect.Descriptor instead. -func (*Filter_Equals_Selection_AllSelection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 5, 0, 0} -} - -// ListSelection represents a selection from a list of specific values. -type Filter_Equals_Selection_ListSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // List of values for the selection. - Values []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *Filter_Equals_Selection_ListSelection) Reset() { - *x = Filter_Equals_Selection_ListSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_Equals_Selection_ListSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_Equals_Selection_ListSelection) ProtoMessage() {} - -func (x *Filter_Equals_Selection_ListSelection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_Equals_Selection_ListSelection.ProtoReflect.Descriptor instead. -func (*Filter_Equals_Selection_ListSelection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 5, 0, 1} -} - -func (x *Filter_Equals_Selection_ListSelection) GetValues() []*wrapperspb.StringValue { - if x != nil { - return x.Values - } - return nil -} - -// Selection defines the values for the non-equality comparison. -type Filter_NotEquals_Selection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Specifies the type of selection for the non-equality comparison. - // - // Types that are assignable to Value: - // - // *Filter_NotEquals_Selection_List - Value isFilter_NotEquals_Selection_Value `protobuf_oneof:"value"` -} - -func (x *Filter_NotEquals_Selection) Reset() { - *x = Filter_NotEquals_Selection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_NotEquals_Selection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_NotEquals_Selection) ProtoMessage() {} - -func (x *Filter_NotEquals_Selection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_NotEquals_Selection.ProtoReflect.Descriptor instead. -func (*Filter_NotEquals_Selection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 6, 0} -} - -func (m *Filter_NotEquals_Selection) GetValue() isFilter_NotEquals_Selection_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Filter_NotEquals_Selection) GetList() *Filter_NotEquals_Selection_ListSelection { - if x, ok := x.GetValue().(*Filter_NotEquals_Selection_List); ok { - return x.List - } - return nil -} - -type isFilter_NotEquals_Selection_Value interface { - isFilter_NotEquals_Selection_Value() -} - -type Filter_NotEquals_Selection_List struct { - List *Filter_NotEquals_Selection_ListSelection `protobuf:"bytes,1,opt,name=list,proto3,oneof"` // Represents a selection from a list of values. -} - -func (*Filter_NotEquals_Selection_List) isFilter_NotEquals_Selection_Value() {} - -// ListSelection represents a selection from a list of specific values. -type Filter_NotEquals_Selection_ListSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // List of values for the selection. - Values []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *Filter_NotEquals_Selection_ListSelection) Reset() { - *x = Filter_NotEquals_Selection_ListSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter_NotEquals_Selection_ListSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter_NotEquals_Selection_ListSelection) ProtoMessage() {} - -func (x *Filter_NotEquals_Selection_ListSelection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_filter_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 Filter_NotEquals_Selection_ListSelection.ProtoReflect.Descriptor instead. -func (*Filter_NotEquals_Selection_ListSelection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP(), []int{0, 6, 0, 0} -} - -func (x *Filter_NotEquals_Selection_ListSelection) GetValues() []*wrapperspb.StringValue { - if x != nil { - return x.Values - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_filter_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDesc = []byte{ - 0x0a, 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, 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, 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, - 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, 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, 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, 0xc5, 0x0f, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 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, 0x61, 0x73, - 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x38, 0x0a, - 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 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, 0x09, 0x63, 0x6f, - 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x1a, 0x87, 0x02, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 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, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4c, 0x6f, - 0x67, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, - 0x12, 0x4f, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, 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, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x70, 0x61, - 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, - 0x73, 0x12, 0x55, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, - 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, 0x48, 0x00, 0x52, - 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x1a, 0xf9, 0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x12, 0x50, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 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, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x03, 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, 0x10, 0x6f, 0x62, 0x73, - 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xa8, 0x01, - 0x0a, 0x0b, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x47, 0x0a, - 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, - 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x50, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 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, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0xcb, 0x01, 0x0a, 0x0d, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x06, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x12, 0x32, 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, 0x52, 0x05, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x12, 0x50, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 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, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0xb9, 0x01, 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x4c, 0x0a, 0x06, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x18, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x2e, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x06, 0x65, 0x71, 0x75, 0x61, 0x6c, - 0x73, 0x12, 0x56, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x18, - 0x02, 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, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x09, - 0x6e, 0x6f, 0x74, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x1a, 0x93, 0x03, 0x0a, 0x06, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x12, 0x5a, 0x0a, - 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 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, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x45, 0x71, - 0x75, 0x61, 0x6c, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, - 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xac, 0x02, 0x0a, 0x09, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5d, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, - 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x2e, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, - 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x60, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x2e, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x0e, 0x0a, 0x0c, 0x41, 0x6c, 0x6c, 0x53, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x45, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, 0x6c, - 0x75, 0x65, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, - 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xad, 0x02, 0x0a, 0x09, 0x4e, 0x6f, 0x74, - 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x12, 0x5d, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 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, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4e, 0x6f, 0x74, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, - 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xc0, 0x01, 0x0a, 0x09, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 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, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4e, - 0x6f, 0x74, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x45, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, 0x6c, - 0x75, 0x65, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, - 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_com_coralogixapis_dashboards_v1_ast_filter_proto_goTypes = []any{ - (*Filter)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Filter - (*Filter_Source)(nil), // 1: com.coralogixapis.dashboards.v1.ast.Filter.Source - (*Filter_LogsFilter)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*Filter_SpansFilter)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*Filter_MetricsFilter)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (*Filter_Operator)(nil), // 5: com.coralogixapis.dashboards.v1.ast.Filter.Operator - (*Filter_Equals)(nil), // 6: com.coralogixapis.dashboards.v1.ast.Filter.Equals - (*Filter_NotEquals)(nil), // 7: com.coralogixapis.dashboards.v1.ast.Filter.NotEquals - (*Filter_Equals_Selection)(nil), // 8: com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection - (*Filter_Equals_Selection_AllSelection)(nil), // 9: com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection.AllSelection - (*Filter_Equals_Selection_ListSelection)(nil), // 10: com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection.ListSelection - (*Filter_NotEquals_Selection)(nil), // 11: com.coralogixapis.dashboards.v1.ast.Filter.NotEquals.Selection - (*Filter_NotEquals_Selection_ListSelection)(nil), // 12: com.coralogixapis.dashboards.v1.ast.Filter.NotEquals.Selection.ListSelection - (*wrapperspb.BoolValue)(nil), // 13: google.protobuf.BoolValue - (*wrapperspb.StringValue)(nil), // 14: google.protobuf.StringValue - (*ObservationField)(nil), // 15: com.coralogixapis.dashboards.v1.common.ObservationField - (*SpanField)(nil), // 16: com.coralogixapis.dashboards.v1.common.SpanField -} -var file_com_coralogixapis_dashboards_v1_ast_filter_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.ast.Filter.source:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 13, // 1: com.coralogixapis.dashboards.v1.ast.Filter.enabled:type_name -> google.protobuf.BoolValue - 13, // 2: com.coralogixapis.dashboards.v1.ast.Filter.collapsed:type_name -> google.protobuf.BoolValue - 2, // 3: com.coralogixapis.dashboards.v1.ast.Filter.Source.logs:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 3, // 4: com.coralogixapis.dashboards.v1.ast.Filter.Source.spans:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 4, // 5: com.coralogixapis.dashboards.v1.ast.Filter.Source.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 14, // 6: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter.field:type_name -> google.protobuf.StringValue - 5, // 7: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter.operator:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Operator - 15, // 8: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 16, // 9: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter.field:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 5, // 10: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter.operator:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Operator - 14, // 11: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter.metric:type_name -> google.protobuf.StringValue - 14, // 12: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter.label:type_name -> google.protobuf.StringValue - 5, // 13: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter.operator:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Operator - 6, // 14: com.coralogixapis.dashboards.v1.ast.Filter.Operator.equals:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Equals - 7, // 15: com.coralogixapis.dashboards.v1.ast.Filter.Operator.not_equals:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.NotEquals - 8, // 16: com.coralogixapis.dashboards.v1.ast.Filter.Equals.selection:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection - 11, // 17: com.coralogixapis.dashboards.v1.ast.Filter.NotEquals.selection:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.NotEquals.Selection - 9, // 18: com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection.all:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection.AllSelection - 10, // 19: com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection.list:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection.ListSelection - 14, // 20: com.coralogixapis.dashboards.v1.ast.Filter.Equals.Selection.ListSelection.values:type_name -> google.protobuf.StringValue - 12, // 21: com.coralogixapis.dashboards.v1.ast.Filter.NotEquals.Selection.list:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.NotEquals.Selection.ListSelection - 14, // 22: com.coralogixapis.dashboards.v1.ast.Filter.NotEquals.Selection.ListSelection.values:type_name -> google.protobuf.StringValue - 23, // [23:23] is the sub-list for method output_type - 23, // [23:23] is the sub-list for method input_type - 23, // [23:23] is the sub-list for extension type_name - 23, // [23:23] is the sub-list for extension extendee - 0, // [0:23] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_filter_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_filter_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() - file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Filter); 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_filter_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Filter_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_filter_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Filter_LogsFilter); 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_filter_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Filter_SpansFilter); 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_filter_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*Filter_MetricsFilter); 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_filter_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Filter_Operator); 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_filter_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*Filter_Equals); 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_filter_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*Filter_NotEquals); 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_filter_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*Filter_Equals_Selection); 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_filter_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*Filter_Equals_Selection_AllSelection); 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_filter_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*Filter_Equals_Selection_ListSelection); 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_filter_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*Filter_NotEquals_Selection); 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_filter_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*Filter_NotEquals_Selection_ListSelection); 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_filter_proto_msgTypes[1].OneofWrappers = []any{ - (*Filter_Source_Logs)(nil), - (*Filter_Source_Spans)(nil), - (*Filter_Source_Metrics)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[5].OneofWrappers = []any{ - (*Filter_Operator_Equals)(nil), - (*Filter_Operator_NotEquals)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[8].OneofWrappers = []any{ - (*Filter_Equals_Selection_All)(nil), - (*Filter_Equals_Selection_List)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes[11].OneofWrappers = []any{ - (*Filter_NotEquals_Selection_List)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDesc, - NumEnums: 0, - NumMessages: 13, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_filter_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_filter_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_filter_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_filter_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_filter_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_filter_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/folder.pb.go b/coralogix/clientset/grpc/dashboards/folder.pb.go deleted file mode 100644 index dc37fb50..00000000 --- a/coralogix/clientset/grpc/dashboards/folder.pb.go +++ /dev/null @@ -1,177 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/folder.proto - -package v1 - -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"` - ParentId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,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 -} - -func (x *DashboardFolder) GetParentId() *wrapperspb.StringValue { - if x != nil { - return x.ParentId - } - 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, 0xac, 0x01, - 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, 0x12, 0x39, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 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, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 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 = []any{ - (*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 - 1, // 2: com.coralogixapis.dashboards.v1.common.DashboardFolder.parent_id:type_name -> google.protobuf.StringValue - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] 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 any, i int) any { - 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 deleted file mode 100644 index e5730161..00000000 --- a/coralogix/clientset/grpc/dashboards/folder_path.pb.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/folder_path.proto - -package v1 - -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, 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 = []any{ - (*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 any, i int) any { - 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/dashboards/gauge.pb.go b/coralogix/clientset/grpc/dashboards/gauge.pb.go deleted file mode 100644 index d3f7a309..00000000 --- a/coralogix/clientset/grpc/dashboards/gauge.pb.go +++ /dev/null @@ -1,1433 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/gauge.proto - -package v1 - -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 Gauge_Aggregation int32 - -const ( - Gauge_AGGREGATION_UNSPECIFIED Gauge_Aggregation = 0 - Gauge_AGGREGATION_LAST Gauge_Aggregation = 1 - Gauge_AGGREGATION_MIN Gauge_Aggregation = 2 - Gauge_AGGREGATION_MAX Gauge_Aggregation = 3 - Gauge_AGGREGATION_AVG Gauge_Aggregation = 4 - Gauge_AGGREGATION_SUM Gauge_Aggregation = 5 -) - -// Enum value maps for Gauge_Aggregation. -var ( - Gauge_Aggregation_name = map[int32]string{ - 0: "AGGREGATION_UNSPECIFIED", - 1: "AGGREGATION_LAST", - 2: "AGGREGATION_MIN", - 3: "AGGREGATION_MAX", - 4: "AGGREGATION_AVG", - 5: "AGGREGATION_SUM", - } - Gauge_Aggregation_value = map[string]int32{ - "AGGREGATION_UNSPECIFIED": 0, - "AGGREGATION_LAST": 1, - "AGGREGATION_MIN": 2, - "AGGREGATION_MAX": 3, - "AGGREGATION_AVG": 4, - "AGGREGATION_SUM": 5, - } -) - -func (x Gauge_Aggregation) Enum() *Gauge_Aggregation { - p := new(Gauge_Aggregation) - *p = x - return p -} - -func (x Gauge_Aggregation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Gauge_Aggregation) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[0].Descriptor() -} - -func (Gauge_Aggregation) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[0] -} - -func (x Gauge_Aggregation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Gauge_Aggregation.Descriptor instead. -func (Gauge_Aggregation) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 0} -} - -type Gauge_Unit int32 - -const ( - Gauge_UNIT_UNSPECIFIED Gauge_Unit = 0 - Gauge_UNIT_NUMBER Gauge_Unit = 1 - Gauge_UNIT_PERCENT Gauge_Unit = 2 - Gauge_UNIT_MICROSECONDS Gauge_Unit = 3 - Gauge_UNIT_MILLISECONDS Gauge_Unit = 4 - Gauge_UNIT_SECONDS Gauge_Unit = 5 - Gauge_UNIT_BYTES Gauge_Unit = 6 - Gauge_UNIT_KBYTES Gauge_Unit = 7 - Gauge_UNIT_MBYTES Gauge_Unit = 8 - Gauge_UNIT_GBYTES Gauge_Unit = 9 - Gauge_UNIT_BYTES_IEC Gauge_Unit = 10 - Gauge_UNIT_KIBYTES Gauge_Unit = 11 - Gauge_UNIT_MIBYTES Gauge_Unit = 12 - Gauge_UNIT_GIBYTES Gauge_Unit = 13 - Gauge_UNIT_EUR_CENTS Gauge_Unit = 14 - Gauge_UNIT_EUR Gauge_Unit = 15 - Gauge_UNIT_USD_CENTS Gauge_Unit = 16 - Gauge_UNIT_USD Gauge_Unit = 17 - Gauge_UNIT_CUSTOM Gauge_Unit = 18 - Gauge_UNIT_PERCENT_ZERO_ONE Gauge_Unit = 19 - Gauge_UNIT_PERCENT_ZERO_HUNDRED Gauge_Unit = 20 - Gauge_UNIT_NANOSECONDS Gauge_Unit = 21 -) - -// Enum value maps for Gauge_Unit. -var ( - Gauge_Unit_name = map[int32]string{ - 0: "UNIT_UNSPECIFIED", - 1: "UNIT_NUMBER", - 2: "UNIT_PERCENT", - 3: "UNIT_MICROSECONDS", - 4: "UNIT_MILLISECONDS", - 5: "UNIT_SECONDS", - 6: "UNIT_BYTES", - 7: "UNIT_KBYTES", - 8: "UNIT_MBYTES", - 9: "UNIT_GBYTES", - 10: "UNIT_BYTES_IEC", - 11: "UNIT_KIBYTES", - 12: "UNIT_MIBYTES", - 13: "UNIT_GIBYTES", - 14: "UNIT_EUR_CENTS", - 15: "UNIT_EUR", - 16: "UNIT_USD_CENTS", - 17: "UNIT_USD", - 18: "UNIT_CUSTOM", - 19: "UNIT_PERCENT_ZERO_ONE", - 20: "UNIT_PERCENT_ZERO_HUNDRED", - 21: "UNIT_NANOSECONDS", - } - Gauge_Unit_value = map[string]int32{ - "UNIT_UNSPECIFIED": 0, - "UNIT_NUMBER": 1, - "UNIT_PERCENT": 2, - "UNIT_MICROSECONDS": 3, - "UNIT_MILLISECONDS": 4, - "UNIT_SECONDS": 5, - "UNIT_BYTES": 6, - "UNIT_KBYTES": 7, - "UNIT_MBYTES": 8, - "UNIT_GBYTES": 9, - "UNIT_BYTES_IEC": 10, - "UNIT_KIBYTES": 11, - "UNIT_MIBYTES": 12, - "UNIT_GIBYTES": 13, - "UNIT_EUR_CENTS": 14, - "UNIT_EUR": 15, - "UNIT_USD_CENTS": 16, - "UNIT_USD": 17, - "UNIT_CUSTOM": 18, - "UNIT_PERCENT_ZERO_ONE": 19, - "UNIT_PERCENT_ZERO_HUNDRED": 20, - "UNIT_NANOSECONDS": 21, - } -) - -func (x Gauge_Unit) Enum() *Gauge_Unit { - p := new(Gauge_Unit) - *p = x - return p -} - -func (x Gauge_Unit) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Gauge_Unit) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[1].Descriptor() -} - -func (Gauge_Unit) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[1] -} - -func (x Gauge_Unit) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Gauge_Unit.Descriptor instead. -func (Gauge_Unit) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 1} -} - -type Gauge_ThresholdBy int32 - -const ( - Gauge_THRESHOLD_BY_UNSPECIFIED Gauge_ThresholdBy = 0 - Gauge_THRESHOLD_BY_VALUE Gauge_ThresholdBy = 1 - Gauge_THRESHOLD_BY_BACKGROUND Gauge_ThresholdBy = 2 -) - -// Enum value maps for Gauge_ThresholdBy. -var ( - Gauge_ThresholdBy_name = map[int32]string{ - 0: "THRESHOLD_BY_UNSPECIFIED", - 1: "THRESHOLD_BY_VALUE", - 2: "THRESHOLD_BY_BACKGROUND", - } - Gauge_ThresholdBy_value = map[string]int32{ - "THRESHOLD_BY_UNSPECIFIED": 0, - "THRESHOLD_BY_VALUE": 1, - "THRESHOLD_BY_BACKGROUND": 2, - } -) - -func (x Gauge_ThresholdBy) Enum() *Gauge_ThresholdBy { - p := new(Gauge_ThresholdBy) - *p = x - return p -} - -func (x Gauge_ThresholdBy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Gauge_ThresholdBy) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[2].Descriptor() -} - -func (Gauge_ThresholdBy) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[2] -} - -func (x Gauge_ThresholdBy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Gauge_ThresholdBy.Descriptor instead. -func (Gauge_ThresholdBy) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 2} -} - -type Gauge_ThresholdType int32 - -const ( - Gauge_THRESHOLD_TYPE_UNSPECIFIED Gauge_ThresholdType = 0 - Gauge_THRESHOLD_TYPE_RELATIVE Gauge_ThresholdType = 1 - Gauge_THRESHOLD_TYPE_ABSOLUTE Gauge_ThresholdType = 2 -) - -// Enum value maps for Gauge_ThresholdType. -var ( - Gauge_ThresholdType_name = map[int32]string{ - 0: "THRESHOLD_TYPE_UNSPECIFIED", - 1: "THRESHOLD_TYPE_RELATIVE", - 2: "THRESHOLD_TYPE_ABSOLUTE", - } - Gauge_ThresholdType_value = map[string]int32{ - "THRESHOLD_TYPE_UNSPECIFIED": 0, - "THRESHOLD_TYPE_RELATIVE": 1, - "THRESHOLD_TYPE_ABSOLUTE": 2, - } -) - -func (x Gauge_ThresholdType) Enum() *Gauge_ThresholdType { - p := new(Gauge_ThresholdType) - *p = x - return p -} - -func (x Gauge_ThresholdType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Gauge_ThresholdType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[3].Descriptor() -} - -func (Gauge_ThresholdType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes[3] -} - -func (x Gauge_ThresholdType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Gauge_ThresholdType.Descriptor instead. -func (Gauge_ThresholdType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 3} -} - -type Gauge struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Query *Gauge_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - Min *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"` - Max *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"` - ShowInnerArc *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=show_inner_arc,json=showInnerArc,proto3" json:"show_inner_arc,omitempty"` - ShowOuterArc *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=show_outer_arc,json=showOuterArc,proto3" json:"show_outer_arc,omitempty"` - Unit Gauge_Unit `protobuf:"varint,6,opt,name=unit,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Unit" json:"unit,omitempty"` - Thresholds []*Gauge_Threshold `protobuf:"bytes,7,rep,name=thresholds,proto3" json:"thresholds,omitempty"` - DataModeType DataModeType `protobuf:"varint,8,opt,name=data_mode_type,json=dataModeType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType" json:"data_mode_type,omitempty"` - ThresholdBy Gauge_ThresholdBy `protobuf:"varint,9,opt,name=threshold_by,json=thresholdBy,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_ThresholdBy" json:"threshold_by,omitempty"` - CustomUnit *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=custom_unit,json=customUnit,proto3" json:"custom_unit,omitempty"` - Decimal *wrapperspb.Int32Value `protobuf:"bytes,11,opt,name=decimal,proto3" json:"decimal,omitempty"` - ThresholdType Gauge_ThresholdType `protobuf:"varint,12,opt,name=threshold_type,json=thresholdType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_ThresholdType" json:"threshold_type,omitempty"` -} - -func (x *Gauge) Reset() { - *x = Gauge{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Gauge) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Gauge) ProtoMessage() {} - -func (x *Gauge) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_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 Gauge.ProtoReflect.Descriptor instead. -func (*Gauge) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0} -} - -func (x *Gauge) GetQuery() *Gauge_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *Gauge) GetMin() *wrapperspb.DoubleValue { - if x != nil { - return x.Min - } - return nil -} - -func (x *Gauge) GetMax() *wrapperspb.DoubleValue { - if x != nil { - return x.Max - } - return nil -} - -func (x *Gauge) GetShowInnerArc() *wrapperspb.BoolValue { - if x != nil { - return x.ShowInnerArc - } - return nil -} - -func (x *Gauge) GetShowOuterArc() *wrapperspb.BoolValue { - if x != nil { - return x.ShowOuterArc - } - return nil -} - -func (x *Gauge) GetUnit() Gauge_Unit { - if x != nil { - return x.Unit - } - return Gauge_UNIT_UNSPECIFIED -} - -func (x *Gauge) GetThresholds() []*Gauge_Threshold { - if x != nil { - return x.Thresholds - } - return nil -} - -func (x *Gauge) GetDataModeType() DataModeType { - if x != nil { - return x.DataModeType - } - return DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED -} - -func (x *Gauge) GetThresholdBy() Gauge_ThresholdBy { - if x != nil { - return x.ThresholdBy - } - return Gauge_THRESHOLD_BY_UNSPECIFIED -} - -func (x *Gauge) GetCustomUnit() *wrapperspb.StringValue { - if x != nil { - return x.CustomUnit - } - return nil -} - -func (x *Gauge) GetDecimal() *wrapperspb.Int32Value { - if x != nil { - return x.Decimal - } - return nil -} - -func (x *Gauge) GetThresholdType() Gauge_ThresholdType { - if x != nil { - return x.ThresholdType - } - return Gauge_THRESHOLD_TYPE_UNSPECIFIED -} - -type Gauge_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *Gauge_Query_Metrics - // *Gauge_Query_Logs - // *Gauge_Query_Spans - // *Gauge_Query_Dataprime - Value isGauge_Query_Value `protobuf_oneof:"value"` -} - -func (x *Gauge_Query) Reset() { - *x = Gauge_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Gauge_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Gauge_Query) ProtoMessage() {} - -func (x *Gauge_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_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 Gauge_Query.ProtoReflect.Descriptor instead. -func (*Gauge_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *Gauge_Query) GetValue() isGauge_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Gauge_Query) GetMetrics() *Gauge_MetricsQuery { - if x, ok := x.GetValue().(*Gauge_Query_Metrics); ok { - return x.Metrics - } - return nil -} - -func (x *Gauge_Query) GetLogs() *Gauge_LogsQuery { - if x, ok := x.GetValue().(*Gauge_Query_Logs); ok { - return x.Logs - } - return nil -} - -func (x *Gauge_Query) GetSpans() *Gauge_SpansQuery { - if x, ok := x.GetValue().(*Gauge_Query_Spans); ok { - return x.Spans - } - return nil -} - -func (x *Gauge_Query) GetDataprime() *Gauge_DataprimeQuery { - if x, ok := x.GetValue().(*Gauge_Query_Dataprime); ok { - return x.Dataprime - } - return nil -} - -type isGauge_Query_Value interface { - isGauge_Query_Value() -} - -type Gauge_Query_Metrics struct { - Metrics *Gauge_MetricsQuery `protobuf:"bytes,1,opt,name=metrics,proto3,oneof"` -} - -type Gauge_Query_Logs struct { - Logs *Gauge_LogsQuery `protobuf:"bytes,2,opt,name=logs,proto3,oneof"` -} - -type Gauge_Query_Spans struct { - Spans *Gauge_SpansQuery `protobuf:"bytes,3,opt,name=spans,proto3,oneof"` -} - -type Gauge_Query_Dataprime struct { - Dataprime *Gauge_DataprimeQuery `protobuf:"bytes,4,opt,name=dataprime,proto3,oneof"` -} - -func (*Gauge_Query_Metrics) isGauge_Query_Value() {} - -func (*Gauge_Query_Logs) isGauge_Query_Value() {} - -func (*Gauge_Query_Spans) isGauge_Query_Value() {} - -func (*Gauge_Query_Dataprime) isGauge_Query_Value() {} - -type Gauge_MetricsQuery 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"` - Aggregation Gauge_Aggregation `protobuf:"varint,2,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Aggregation" json:"aggregation,omitempty"` - Filters []*Filter_MetricsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - EditorMode MetricsQueryEditorMode `protobuf:"varint,4,opt,name=editor_mode,json=editorMode,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode" json:"editor_mode,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,5,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *Gauge_MetricsQuery) Reset() { - *x = Gauge_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Gauge_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Gauge_MetricsQuery) ProtoMessage() {} - -func (x *Gauge_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_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 Gauge_MetricsQuery.ProtoReflect.Descriptor instead. -func (*Gauge_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *Gauge_MetricsQuery) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *Gauge_MetricsQuery) GetAggregation() Gauge_Aggregation { - if x != nil { - return x.Aggregation - } - return Gauge_AGGREGATION_UNSPECIFIED -} - -func (x *Gauge_MetricsQuery) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Gauge_MetricsQuery) GetEditorMode() MetricsQueryEditorMode { - if x != nil { - return x.EditorMode - } - return MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED -} - -func (x *Gauge_MetricsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type Gauge_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - LogsAggregation *LogsAggregation `protobuf:"bytes,2,opt,name=logs_aggregation,json=logsAggregation,proto3" json:"logs_aggregation,omitempty"` - // Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/widgets/gauge.proto. - Aggregation Gauge_Aggregation `protobuf:"varint,3,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Aggregation" json:"aggregation,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` - GroupBy []*ObservationField `protobuf:"bytes,5,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *Gauge_LogsQuery) Reset() { - *x = Gauge_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Gauge_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Gauge_LogsQuery) ProtoMessage() {} - -func (x *Gauge_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_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 Gauge_LogsQuery.ProtoReflect.Descriptor instead. -func (*Gauge_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *Gauge_LogsQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *Gauge_LogsQuery) GetLogsAggregation() *LogsAggregation { - if x != nil { - return x.LogsAggregation - } - return nil -} - -// Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/widgets/gauge.proto. -func (x *Gauge_LogsQuery) GetAggregation() Gauge_Aggregation { - if x != nil { - return x.Aggregation - } - return Gauge_AGGREGATION_UNSPECIFIED -} - -func (x *Gauge_LogsQuery) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Gauge_LogsQuery) GetGroupBy() []*ObservationField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *Gauge_LogsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type Gauge_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - SpansAggregation *SpansAggregation `protobuf:"bytes,2,opt,name=spans_aggregation,json=spansAggregation,proto3" json:"spans_aggregation,omitempty"` - // Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/widgets/gauge.proto. - Aggregation Gauge_Aggregation `protobuf:"varint,3,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Aggregation" json:"aggregation,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` - GroupBy []*SpanField `protobuf:"bytes,5,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *Gauge_SpansQuery) Reset() { - *x = Gauge_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Gauge_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Gauge_SpansQuery) ProtoMessage() {} - -func (x *Gauge_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_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 Gauge_SpansQuery.ProtoReflect.Descriptor instead. -func (*Gauge_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *Gauge_SpansQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *Gauge_SpansQuery) GetSpansAggregation() *SpansAggregation { - if x != nil { - return x.SpansAggregation - } - return nil -} - -// Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/widgets/gauge.proto. -func (x *Gauge_SpansQuery) GetAggregation() Gauge_Aggregation { - if x != nil { - return x.Aggregation - } - return Gauge_AGGREGATION_UNSPECIFIED -} - -func (x *Gauge_SpansQuery) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Gauge_SpansQuery) GetGroupBy() []*SpanField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *Gauge_SpansQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type Gauge_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"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,3,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *Gauge_DataprimeQuery) Reset() { - *x = Gauge_DataprimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Gauge_DataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Gauge_DataprimeQuery) ProtoMessage() {} - -func (x *Gauge_DataprimeQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_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 Gauge_DataprimeQuery.ProtoReflect.Descriptor instead. -func (*Gauge_DataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *Gauge_DataprimeQuery) GetDataprimeQuery() *DataprimeQuery { - if x != nil { - return x.DataprimeQuery - } - return nil -} - -func (x *Gauge_DataprimeQuery) GetFilters() []*Filter_Source { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Gauge_DataprimeQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type Gauge_Threshold struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - From *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - Color *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` -} - -func (x *Gauge_Threshold) Reset() { - *x = Gauge_Threshold{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Gauge_Threshold) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Gauge_Threshold) ProtoMessage() {} - -func (x *Gauge_Threshold) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_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 Gauge_Threshold.ProtoReflect.Descriptor instead. -func (*Gauge_Threshold) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *Gauge_Threshold) GetFrom() *wrapperspb.DoubleValue { - if x != nil { - return x.From - } - return nil -} - -func (x *Gauge_Threshold) GetColor() *wrapperspb.StringValue { - if x != nil { - return x.Color - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDesc = []byte{ - 0x0a, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x67, 0x61, - 0x75, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 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, 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, 0x47, 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, 0x64, 0x61, 0x74, - 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x52, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 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, - 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 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, 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, 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, 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, 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, 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, 0x22, 0x98, 0x20, 0x0a, - 0x05, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x4e, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, - 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, - 0x65, 0x74, 0x73, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 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, 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x2e, 0x0a, 0x03, 0x6d, 0x61, 0x78, 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, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x12, 0x40, 0x0a, 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x69, - 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x72, 0x63, 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, 0x0c, 0x73, 0x68, 0x6f, 0x77, - 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x41, 0x72, 0x63, 0x12, 0x40, 0x0a, 0x0e, 0x73, 0x68, 0x6f, 0x77, - 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x72, 0x63, 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, 0x0c, 0x73, 0x68, - 0x6f, 0x77, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x41, 0x72, 0x63, 0x12, 0x4b, 0x0a, 0x04, 0x75, 0x6e, - 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 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, 0x77, - 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x55, 0x6e, 0x69, - 0x74, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x5c, 0x0a, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x73, - 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 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, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, - 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x52, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x73, - 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x66, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, - 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 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, 0x12, 0x61, 0x0a, - 0x0c, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 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, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, - 0x64, 0x42, 0x79, 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x42, 0x79, - 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x75, 0x6e, 0x69, 0x74, 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, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x12, - 0x35, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x18, 0x0b, 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, 0x07, 0x64, - 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x12, 0x67, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, - 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 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, 0x47, 0x61, 0x75, - 0x67, 0x65, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x1a, - 0xfb, 0x02, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5b, 0x0a, 0x07, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 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, 0x47, 0x61, 0x75, 0x67, 0x65, 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, 0x52, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, - 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, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x55, 0x0a, 0x05, 0x73, 0x70, - 0x61, 0x6e, 0x73, 0x18, 0x03, 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, - 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x53, 0x70, - 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, - 0x73, 0x12, 0x61, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 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, 0x47, 0x61, 0x75, 0x67, 0x65, 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, 0xee, 0x03, - 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, 0x60, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 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, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 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, 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, 0x6b, 0x0a, 0x0b, 0x65, 0x64, 0x69, - 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x64, 0x69, 0x74, - 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x18, 0x05, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xb8, - 0x04, 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, 0x62, 0x0a, 0x10, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 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, 0x0f, 0x6c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 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, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x41, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01, 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, 0x04, 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, 0x53, 0x0a, 0x08, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x05, 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, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, - 0x79, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, - 0x06, 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, 0x54, - 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xb6, 0x04, 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, 0x65, 0x0a, 0x11, - 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 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, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x10, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 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, 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x02, 0x18, 0x01, 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, 0x04, 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, 0x4c, 0x0a, 0x08, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x05, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, - 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x1a, 0x97, 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, 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, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, - 0x6d, 0x65, 0x18, 0x03, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x71, 0x0a, 0x09, - 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x66, 0x72, 0x6f, - 0x6d, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x32, 0x0a, 0x05, 0x63, - 0x6f, 0x6c, 0x6f, 0x72, 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, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, - 0x94, 0x01, 0x0a, 0x0b, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x1b, 0x0a, 0x17, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, - 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x41, 0x53, 0x54, - 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, - 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, - 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x56, 0x47, 0x10, - 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x05, 0x22, 0xb1, 0x03, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, - 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4e, 0x55, - 0x4d, 0x42, 0x45, 0x52, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x50, - 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x49, 0x54, - 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x03, 0x12, - 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, - 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x53, - 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x49, 0x54, - 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, - 0x5f, 0x4b, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x07, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x4d, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, - 0x49, 0x54, 0x5f, 0x47, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x55, - 0x4e, 0x49, 0x54, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x5f, 0x49, 0x45, 0x43, 0x10, 0x0a, 0x12, - 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4b, 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, - 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x42, 0x59, 0x54, 0x45, - 0x53, 0x10, 0x0c, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x47, 0x49, 0x42, 0x59, - 0x54, 0x45, 0x53, 0x10, 0x0d, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x45, 0x55, - 0x52, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x45, 0x55, 0x52, 0x10, 0x0f, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, - 0x55, 0x53, 0x44, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x10, 0x12, 0x0c, 0x0a, 0x08, 0x55, - 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x53, 0x44, 0x10, 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x12, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x4e, - 0x49, 0x54, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x5f, - 0x4f, 0x4e, 0x45, 0x10, 0x13, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x50, 0x45, - 0x52, 0x43, 0x45, 0x4e, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x5f, 0x48, 0x55, 0x4e, 0x44, 0x52, - 0x45, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4e, 0x41, 0x4e, - 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x15, 0x22, 0x60, 0x0a, 0x0b, 0x54, 0x68, - 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x42, 0x79, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x48, 0x52, - 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x48, 0x52, 0x45, 0x53, - 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x01, 0x12, - 0x1b, 0x0a, 0x17, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, - 0x42, 0x41, 0x43, 0x4b, 0x47, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x22, 0x69, 0x0a, 0x0d, - 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, - 0x1a, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, - 0x17, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x48, - 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x42, 0x53, - 0x4f, 0x4c, 0x55, 0x54, 0x45, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_goTypes = []any{ - (Gauge_Aggregation)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Aggregation - (Gauge_Unit)(0), // 1: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Unit - (Gauge_ThresholdBy)(0), // 2: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.ThresholdBy - (Gauge_ThresholdType)(0), // 3: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.ThresholdType - (*Gauge)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.Gauge - (*Gauge_Query)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Query - (*Gauge_MetricsQuery)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.MetricsQuery - (*Gauge_LogsQuery)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery - (*Gauge_SpansQuery)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery - (*Gauge_DataprimeQuery)(nil), // 9: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.DataprimeQuery - (*Gauge_Threshold)(nil), // 10: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Threshold - (*wrapperspb.DoubleValue)(nil), // 11: google.protobuf.DoubleValue - (*wrapperspb.BoolValue)(nil), // 12: google.protobuf.BoolValue - (DataModeType)(0), // 13: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*wrapperspb.StringValue)(nil), // 14: google.protobuf.StringValue - (*wrapperspb.Int32Value)(nil), // 15: google.protobuf.Int32Value - (*PromQlQuery)(nil), // 16: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 17: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (MetricsQueryEditorMode)(0), // 18: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - (*TimeFrameSelect)(nil), // 19: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (*LuceneQuery)(nil), // 20: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*LogsAggregation)(nil), // 21: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*Filter_LogsFilter)(nil), // 22: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*ObservationField)(nil), // 23: com.coralogixapis.dashboards.v1.common.ObservationField - (*SpansAggregation)(nil), // 24: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 25: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*SpanField)(nil), // 26: com.coralogixapis.dashboards.v1.common.SpanField - (*DataprimeQuery)(nil), // 27: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*Filter_Source)(nil), // 28: com.coralogixapis.dashboards.v1.ast.Filter.Source -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_depIdxs = []int32{ - 5, // 0: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Query - 11, // 1: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.min:type_name -> google.protobuf.DoubleValue - 11, // 2: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.max:type_name -> google.protobuf.DoubleValue - 12, // 3: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.show_inner_arc:type_name -> google.protobuf.BoolValue - 12, // 4: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.show_outer_arc:type_name -> google.protobuf.BoolValue - 1, // 5: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Unit - 10, // 6: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.thresholds:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Threshold - 13, // 7: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - 2, // 8: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.threshold_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.ThresholdBy - 14, // 9: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.custom_unit:type_name -> google.protobuf.StringValue - 15, // 10: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.decimal:type_name -> google.protobuf.Int32Value - 3, // 11: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.threshold_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.ThresholdType - 6, // 12: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.MetricsQuery - 7, // 13: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery - 8, // 14: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery - 9, // 15: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.DataprimeQuery - 16, // 16: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 0, // 17: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.MetricsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Aggregation - 17, // 18: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 18, // 19: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.MetricsQuery.editor_mode:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - 19, // 20: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.MetricsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 20, // 21: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 21, // 22: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery.logs_aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 0, // 23: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Aggregation - 22, // 24: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 23, // 25: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery.group_by:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 19, // 26: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.LogsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 20, // 27: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 24, // 28: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery.spans_aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 0, // 29: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Aggregation - 25, // 30: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 26, // 31: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery.group_by:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 19, // 32: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.SpansQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 27, // 33: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 28, // 34: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 19, // 35: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.DataprimeQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 11, // 36: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Threshold.from:type_name -> google.protobuf.DoubleValue - 14, // 37: com.coralogixapis.dashboards.v1.ast.widgets.Gauge.Threshold.color:type_name -> google.protobuf.StringValue - 38, // [38:38] is the sub-list for method output_type - 38, // [38:38] is the sub-list for method input_type - 38, // [38:38] is the sub-list for extension type_name - 38, // [38:38] is the sub-list for extension extendee - 0, // [0:38] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto != nil { - return - } - 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_metrics_query_editor_mode_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() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() - file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Gauge); 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_gauge_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Gauge_Query); 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_gauge_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Gauge_MetricsQuery); 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_gauge_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Gauge_LogsQuery); 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_gauge_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*Gauge_SpansQuery); 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_gauge_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Gauge_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_gauge_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*Gauge_Threshold); 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_gauge_proto_msgTypes[1].OneofWrappers = []any{ - (*Gauge_Query_Metrics)(nil), - (*Gauge_Query_Logs)(nil), - (*Gauge_Query_Spans)(nil), - (*Gauge_Query_Dataprime)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDesc, - NumEnums: 4, - NumMessages: 7, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/group.pb.go b/coralogix/clientset/grpc/dashboards/group.pb.go deleted file mode 100644 index 251612a3..00000000 --- a/coralogix/clientset/grpc/dashboards/group.pb.go +++ /dev/null @@ -1,336 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/group.proto - -package v1 - -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 Group struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *FieldGroup `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - Value *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - Groups []*Group `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` -} - -func (x *Group) Reset() { - *x = Group{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_group_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Group) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Group) ProtoMessage() {} - -func (x *Group) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_group_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 Group.ProtoReflect.Descriptor instead. -func (*Group) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescGZIP(), []int{0} -} - -func (x *Group) GetField() *FieldGroup { - if x != nil { - return x.Field - } - return nil -} - -func (x *Group) GetValue() *wrapperspb.DoubleValue { - if x != nil { - return x.Value - } - return nil -} - -func (x *Group) GetGroups() []*Group { - if x != nil { - return x.Groups - } - return nil -} - -type MultiGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Fields []*FieldGroup `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` - Values []*wrapperspb.DoubleValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *MultiGroup) Reset() { - *x = MultiGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_group_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiGroup) ProtoMessage() {} - -func (x *MultiGroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_group_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 MultiGroup.ProtoReflect.Descriptor instead. -func (*MultiGroup) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescGZIP(), []int{1} -} - -func (x *MultiGroup) GetFields() []*FieldGroup { - if x != nil { - return x.Fields - } - return nil -} - -func (x *MultiGroup) GetValues() []*wrapperspb.DoubleValue { - if x != nil { - return x.Values - } - return nil -} - -type FieldGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *FieldGroup) Reset() { - *x = FieldGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_group_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FieldGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FieldGroup) ProtoMessage() {} - -func (x *FieldGroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_group_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 FieldGroup.ProtoReflect.Descriptor instead. -func (*FieldGroup) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescGZIP(), []int{2} -} - -func (x *FieldGroup) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *FieldGroup) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_group_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_group_proto_rawDesc = []byte{ - 0x0a, 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, 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, 0xcc, 0x01, 0x0a, - 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x48, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, - 0x01, 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, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, - 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, 0x12, 0x45, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03, - 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x0a, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x4a, 0x0a, 0x06, 0x66, 0x69, - 0x65, 0x6c, 0x64, 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, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, - 0x18, 0x02, 0x20, 0x03, 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, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x72, 0x0a, 0x0a, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 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, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_group_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_group_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_group_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogixapis_dashboards_v1_common_group_proto_goTypes = []any{ - (*Group)(nil), // 0: com.coralogixapis.dashboards.v1.common.Group - (*MultiGroup)(nil), // 1: com.coralogixapis.dashboards.v1.common.MultiGroup - (*FieldGroup)(nil), // 2: com.coralogixapis.dashboards.v1.common.FieldGroup - (*wrapperspb.DoubleValue)(nil), // 3: google.protobuf.DoubleValue - (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_common_group_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.common.Group.field:type_name -> com.coralogixapis.dashboards.v1.common.FieldGroup - 3, // 1: com.coralogixapis.dashboards.v1.common.Group.value:type_name -> google.protobuf.DoubleValue - 0, // 2: com.coralogixapis.dashboards.v1.common.Group.groups:type_name -> com.coralogixapis.dashboards.v1.common.Group - 2, // 3: com.coralogixapis.dashboards.v1.common.MultiGroup.fields:type_name -> com.coralogixapis.dashboards.v1.common.FieldGroup - 3, // 4: com.coralogixapis.dashboards.v1.common.MultiGroup.values:type_name -> google.protobuf.DoubleValue - 4, // 5: com.coralogixapis.dashboards.v1.common.FieldGroup.name:type_name -> google.protobuf.StringValue - 4, // 6: com.coralogixapis.dashboards.v1.common.FieldGroup.value:type_name -> google.protobuf.StringValue - 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_group_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_group_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_group_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_group_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Group); 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_group_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*MultiGroup); 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_group_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*FieldGroup); 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_group_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_group_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_group_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_group_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_group_proto = out.File - file_com_coralogixapis_dashboards_v1_common_group_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_group_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_group_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/group_limit.pb.go b/coralogix/clientset/grpc/dashboards/group_limit.pb.go deleted file mode 100644 index ee0ee2ac..00000000 --- a/coralogix/clientset/grpc/dashboards/group_limit.pb.go +++ /dev/null @@ -1,180 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/group_limit.proto - -package v1 - -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 GroupLimit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupByFields []*wrapperspb.StringValue `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"` -} - -func (x *GroupLimit) Reset() { - *x = GroupLimit{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_group_limit_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupLimit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupLimit) ProtoMessage() {} - -func (x *GroupLimit) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_group_limit_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 GroupLimit.ProtoReflect.Descriptor instead. -func (*GroupLimit) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescGZIP(), []int{0} -} - -func (x *GroupLimit) GetGroupByFields() []*wrapperspb.StringValue { - if x != nil { - return x.GroupByFields - } - return nil -} - -func (x *GroupLimit) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -func (x *GroupLimit) GetMinPercentage() *wrapperspb.Int32Value { - if x != nil { - return x.MinPercentage - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_group_limit_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDesc = []byte{ - 0x0a, 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, 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, 0xc9, 0x01, 0x0a, 0x0a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x12, 0x44, 0x0a, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 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, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, - 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 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, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_group_limit_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_group_limit_proto_goTypes = []any{ - (*GroupLimit)(nil), // 0: com.coralogixapis.dashboards.v1.common.GroupLimit - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.Int32Value)(nil), // 2: google.protobuf.Int32Value -} -var file_com_coralogixapis_dashboards_v1_common_group_limit_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.GroupLimit.group_by_fields:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogixapis.dashboards.v1.common.GroupLimit.limit:type_name -> google.protobuf.Int32Value - 2, // 2: com.coralogixapis.dashboards.v1.common.GroupLimit.min_percentage:type_name -> google.protobuf.Int32Value - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_group_limit_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_group_limit_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_group_limit_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GroupLimit); 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_group_limit_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_group_limit_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_group_limit_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_group_limit_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_group_limit_proto = out.File - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_group_limit_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/grouped_series.pb.go b/coralogix/clientset/grpc/dashboards/grouped_series.pb.go deleted file mode 100644 index e6489f0b..00000000 --- a/coralogix/clientset/grpc/dashboards/grouped_series.pb.go +++ /dev/null @@ -1,155 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/grouped_series.proto - -package v1 - -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 GroupedSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*Group `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` -} - -func (x *GroupedSeries) Reset() { - *x = GroupedSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupedSeries) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupedSeries) ProtoMessage() {} - -func (x *GroupedSeries) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_grouped_series_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 GroupedSeries.ProtoReflect.Descriptor instead. -func (*GroupedSeries) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescGZIP(), []int{0} -} - -func (x *GroupedSeries) GetGroups() []*Group { - if x != nil { - return x.Groups - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_grouped_series_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDesc = []byte{ - 0x0a, 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, 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, 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, 0x22, 0x56, 0x0a, 0x0d, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x65, 0x64, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x06, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 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, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_goTypes = []any{ - (*GroupedSeries)(nil), // 0: com.coralogixapis.dashboards.v1.common.GroupedSeries - (*Group)(nil), // 1: com.coralogixapis.dashboards.v1.common.Group -} -var file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.GroupedSeries.groups:type_name -> com.coralogixapis.dashboards.v1.common.Group - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_grouped_series_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_common_group_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GroupedSeries); 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_grouped_series_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_grouped_series_proto = out.File - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/hexagon.pb.go b/coralogix/clientset/grpc/dashboards/hexagon.pb.go deleted file mode 100644 index ab2aa91b..00000000 --- a/coralogix/clientset/grpc/dashboards/hexagon.pb.go +++ /dev/null @@ -1,983 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/hexagon.proto - -package v1 - -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 Hexagon struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Query *Hexagon_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - Min *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"` - Max *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"` - Unit Unit `protobuf:"varint,6,opt,name=unit,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Unit" json:"unit,omitempty"` - Thresholds []*Threshold `protobuf:"bytes,7,rep,name=thresholds,proto3" json:"thresholds,omitempty"` - DataModeType DataModeType `protobuf:"varint,8,opt,name=data_mode_type,json=dataModeType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType" json:"data_mode_type,omitempty"` - CustomUnit *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=custom_unit,json=customUnit,proto3" json:"custom_unit,omitempty"` - Decimal *wrapperspb.Int32Value `protobuf:"bytes,11,opt,name=decimal,proto3" json:"decimal,omitempty"` - ThresholdType ThresholdType `protobuf:"varint,12,opt,name=threshold_type,json=thresholdType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.ThresholdType" json:"threshold_type,omitempty"` -} - -func (x *Hexagon) Reset() { - *x = Hexagon{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Hexagon) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Hexagon) ProtoMessage() {} - -func (x *Hexagon) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_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 Hexagon.ProtoReflect.Descriptor instead. -func (*Hexagon) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescGZIP(), []int{0} -} - -func (x *Hexagon) GetQuery() *Hexagon_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *Hexagon) GetMin() *wrapperspb.DoubleValue { - if x != nil { - return x.Min - } - return nil -} - -func (x *Hexagon) GetMax() *wrapperspb.DoubleValue { - if x != nil { - return x.Max - } - return nil -} - -func (x *Hexagon) GetUnit() Unit { - if x != nil { - return x.Unit - } - return Unit_UNIT_UNSPECIFIED -} - -func (x *Hexagon) GetThresholds() []*Threshold { - if x != nil { - return x.Thresholds - } - return nil -} - -func (x *Hexagon) GetDataModeType() DataModeType { - if x != nil { - return x.DataModeType - } - return DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED -} - -func (x *Hexagon) GetCustomUnit() *wrapperspb.StringValue { - if x != nil { - return x.CustomUnit - } - return nil -} - -func (x *Hexagon) GetDecimal() *wrapperspb.Int32Value { - if x != nil { - return x.Decimal - } - return nil -} - -func (x *Hexagon) GetThresholdType() ThresholdType { - if x != nil { - return x.ThresholdType - } - return ThresholdType_THRESHOLD_TYPE_UNSPECIFIED -} - -type Hexagon_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *Hexagon_Query_Metrics - // *Hexagon_Query_Logs - // *Hexagon_Query_Spans - // *Hexagon_Query_Dataprime - Value isHexagon_Query_Value `protobuf_oneof:"value"` -} - -func (x *Hexagon_Query) Reset() { - *x = Hexagon_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Hexagon_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Hexagon_Query) ProtoMessage() {} - -func (x *Hexagon_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_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 Hexagon_Query.ProtoReflect.Descriptor instead. -func (*Hexagon_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *Hexagon_Query) GetValue() isHexagon_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Hexagon_Query) GetMetrics() *Hexagon_MetricsQuery { - if x, ok := x.GetValue().(*Hexagon_Query_Metrics); ok { - return x.Metrics - } - return nil -} - -func (x *Hexagon_Query) GetLogs() *Hexagon_LogsQuery { - if x, ok := x.GetValue().(*Hexagon_Query_Logs); ok { - return x.Logs - } - return nil -} - -func (x *Hexagon_Query) GetSpans() *Hexagon_SpansQuery { - if x, ok := x.GetValue().(*Hexagon_Query_Spans); ok { - return x.Spans - } - return nil -} - -func (x *Hexagon_Query) GetDataprime() *Hexagon_DataprimeQuery { - if x, ok := x.GetValue().(*Hexagon_Query_Dataprime); ok { - return x.Dataprime - } - return nil -} - -type isHexagon_Query_Value interface { - isHexagon_Query_Value() -} - -type Hexagon_Query_Metrics struct { - Metrics *Hexagon_MetricsQuery `protobuf:"bytes,1,opt,name=metrics,proto3,oneof"` -} - -type Hexagon_Query_Logs struct { - Logs *Hexagon_LogsQuery `protobuf:"bytes,2,opt,name=logs,proto3,oneof"` -} - -type Hexagon_Query_Spans struct { - Spans *Hexagon_SpansQuery `protobuf:"bytes,3,opt,name=spans,proto3,oneof"` -} - -type Hexagon_Query_Dataprime struct { - Dataprime *Hexagon_DataprimeQuery `protobuf:"bytes,4,opt,name=dataprime,proto3,oneof"` -} - -func (*Hexagon_Query_Metrics) isHexagon_Query_Value() {} - -func (*Hexagon_Query_Logs) isHexagon_Query_Value() {} - -func (*Hexagon_Query_Spans) isHexagon_Query_Value() {} - -func (*Hexagon_Query_Dataprime) isHexagon_Query_Value() {} - -type Hexagon_MetricsQuery 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"` - Filters []*Filter_MetricsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - EditorMode MetricsQueryEditorMode `protobuf:"varint,3,opt,name=editor_mode,json=editorMode,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode" json:"editor_mode,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,4,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` - Aggregation Aggregation `protobuf:"varint,5,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Aggregation" json:"aggregation,omitempty"` -} - -func (x *Hexagon_MetricsQuery) Reset() { - *x = Hexagon_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Hexagon_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Hexagon_MetricsQuery) ProtoMessage() {} - -func (x *Hexagon_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_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 Hexagon_MetricsQuery.ProtoReflect.Descriptor instead. -func (*Hexagon_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *Hexagon_MetricsQuery) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *Hexagon_MetricsQuery) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Hexagon_MetricsQuery) GetEditorMode() MetricsQueryEditorMode { - if x != nil { - return x.EditorMode - } - return MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED -} - -func (x *Hexagon_MetricsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *Hexagon_MetricsQuery) GetAggregation() Aggregation { - if x != nil { - return x.Aggregation - } - return Aggregation_AGGREGATION_UNSPECIFIED -} - -type Hexagon_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - LogsAggregation *LogsAggregation `protobuf:"bytes,2,opt,name=logs_aggregation,json=logsAggregation,proto3" json:"logs_aggregation,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupBy []*ObservationField `protobuf:"bytes,4,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,5,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *Hexagon_LogsQuery) Reset() { - *x = Hexagon_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Hexagon_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Hexagon_LogsQuery) ProtoMessage() {} - -func (x *Hexagon_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_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 Hexagon_LogsQuery.ProtoReflect.Descriptor instead. -func (*Hexagon_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *Hexagon_LogsQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *Hexagon_LogsQuery) GetLogsAggregation() *LogsAggregation { - if x != nil { - return x.LogsAggregation - } - return nil -} - -func (x *Hexagon_LogsQuery) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Hexagon_LogsQuery) GetGroupBy() []*ObservationField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *Hexagon_LogsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type Hexagon_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - SpansAggregation *SpansAggregation `protobuf:"bytes,2,opt,name=spans_aggregation,json=spansAggregation,proto3" json:"spans_aggregation,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupBy []*SpanField `protobuf:"bytes,4,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,5,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *Hexagon_SpansQuery) Reset() { - *x = Hexagon_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Hexagon_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Hexagon_SpansQuery) ProtoMessage() {} - -func (x *Hexagon_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_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 Hexagon_SpansQuery.ProtoReflect.Descriptor instead. -func (*Hexagon_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *Hexagon_SpansQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *Hexagon_SpansQuery) GetSpansAggregation() *SpansAggregation { - if x != nil { - return x.SpansAggregation - } - return nil -} - -func (x *Hexagon_SpansQuery) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Hexagon_SpansQuery) GetGroupBy() []*SpanField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *Hexagon_SpansQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type Hexagon_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"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,3,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *Hexagon_DataprimeQuery) Reset() { - *x = Hexagon_DataprimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Hexagon_DataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Hexagon_DataprimeQuery) ProtoMessage() {} - -func (x *Hexagon_DataprimeQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_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 Hexagon_DataprimeQuery.ProtoReflect.Descriptor instead. -func (*Hexagon_DataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *Hexagon_DataprimeQuery) GetDataprimeQuery() *DataprimeQuery { - if x != nil { - return x.DataprimeQuery - } - return nil -} - -func (x *Hexagon_DataprimeQuery) GetFilters() []*Filter_Source { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Hexagon_DataprimeQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDesc = []byte{ - 0x0a, 0x39, 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, 0x68, 0x65, - 0x78, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 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, 0x47, 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, 0x64, - 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x52, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 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, 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, 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, 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, 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, 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, - 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x43, - 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, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x51, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, - 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x15, 0x0a, 0x07, 0x48, 0x65, 0x78, 0x61, 0x67, - 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, - 0x48, 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x2e, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 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, - 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x2e, 0x0a, 0x03, 0x6d, 0x61, 0x78, 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, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x03, 0x6d, 0x61, 0x78, 0x12, 0x4c, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x06, 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, 0x5d, 0x0a, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x73, - 0x18, 0x07, 0x20, 0x03, 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, 0x77, 0x69, 0x64, - 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x52, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x73, 0x12, 0x66, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x08, 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, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x5f, 0x75, 0x6e, 0x69, 0x74, 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, 0x0a, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, - 0x6d, 0x61, 0x6c, 0x18, 0x0b, 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, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x12, - 0x68, 0x0a, 0x0e, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x0c, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x68, 0x72, - 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x83, 0x03, 0x0a, 0x05, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x12, 0x5d, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 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, 0x48, 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, 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, 0x54, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x48, - 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x57, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, - 0x73, 0x18, 0x03, 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, 0x48, 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, 0x2e, 0x53, 0x70, - 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, - 0x73, 0x12, 0x63, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x48, 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, 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, - 0xef, 0x03, 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, 0x6b, 0x0a, 0x0b, 0x65, 0x64, 0x69, - 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x64, 0x69, 0x74, - 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x18, 0x04, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x61, - 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 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, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x1a, 0xd2, 0x03, 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, 0x62, 0x0a, 0x10, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 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, 0x0f, 0x6c, 0x6f, 0x67, 0x73, 0x41, 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, 0x53, 0x0a, 0x08, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x04, 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, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x56, - 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x05, 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, 0x54, 0x69, 0x6d, 0x65, - 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xd0, 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, 0x65, 0x0a, 0x11, 0x73, 0x70, 0x61, - 0x6e, 0x73, 0x5f, 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, 0x53, 0x70, - 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, - 0x73, 0x70, 0x61, 0x6e, 0x73, 0x41, 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, 0x4c, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 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, 0x53, - 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, - 0x79, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, - 0x05, 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, 0x54, - 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x97, 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, 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, 0x56, 0x0a, 0x0a, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x03, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, - 0x61, 0x6d, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_goTypes = []any{ - (*Hexagon)(nil), // 0: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon - (*Hexagon_Query)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.Query - (*Hexagon_MetricsQuery)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.MetricsQuery - (*Hexagon_LogsQuery)(nil), // 3: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.LogsQuery - (*Hexagon_SpansQuery)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.SpansQuery - (*Hexagon_DataprimeQuery)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.DataprimeQuery - (*wrapperspb.DoubleValue)(nil), // 6: google.protobuf.DoubleValue - (Unit)(0), // 7: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - (*Threshold)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.common.Threshold - (DataModeType)(0), // 9: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (*wrapperspb.Int32Value)(nil), // 11: google.protobuf.Int32Value - (ThresholdType)(0), // 12: com.coralogixapis.dashboards.v1.ast.widgets.common.ThresholdType - (*PromQlQuery)(nil), // 13: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 14: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (MetricsQueryEditorMode)(0), // 15: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - (*TimeFrameSelect)(nil), // 16: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (Aggregation)(0), // 17: com.coralogixapis.dashboards.v1.ast.widgets.common.Aggregation - (*LuceneQuery)(nil), // 18: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*LogsAggregation)(nil), // 19: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*Filter_LogsFilter)(nil), // 20: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*ObservationField)(nil), // 21: com.coralogixapis.dashboards.v1.common.ObservationField - (*SpansAggregation)(nil), // 22: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 23: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*SpanField)(nil), // 24: com.coralogixapis.dashboards.v1.common.SpanField - (*DataprimeQuery)(nil), // 25: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*Filter_Source)(nil), // 26: com.coralogixapis.dashboards.v1.ast.Filter.Source -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.Query - 6, // 1: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.min:type_name -> google.protobuf.DoubleValue - 6, // 2: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.max:type_name -> google.protobuf.DoubleValue - 7, // 3: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - 8, // 4: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.thresholds:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Threshold - 9, // 5: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - 10, // 6: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.custom_unit:type_name -> google.protobuf.StringValue - 11, // 7: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.decimal:type_name -> google.protobuf.Int32Value - 12, // 8: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.threshold_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ThresholdType - 2, // 9: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.MetricsQuery - 3, // 10: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.LogsQuery - 4, // 11: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.SpansQuery - 5, // 12: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.DataprimeQuery - 13, // 13: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 14, // 14: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 15, // 15: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.MetricsQuery.editor_mode:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - 16, // 16: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.MetricsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 17, // 17: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.MetricsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Aggregation - 18, // 18: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 19, // 19: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.LogsQuery.logs_aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 20, // 20: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 21, // 21: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.LogsQuery.group_by:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 16, // 22: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.LogsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 18, // 23: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 22, // 24: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.SpansQuery.spans_aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 23, // 25: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 24, // 26: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.SpansQuery.group_by:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 16, // 27: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.SpansQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 25, // 28: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 26, // 29: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 16, // 30: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon.DataprimeQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 31, // [31:31] is the sub-list for method output_type - 31, // [31:31] is the sub-list for method input_type - 31, // [31:31] is the sub-list for extension type_name - 31, // [31:31] is the sub-list for extension extendee - 0, // [0:31] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto != nil { - return - } - 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_metrics_query_editor_mode_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() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() - file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Hexagon); 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_hexagon_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Hexagon_Query); 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_hexagon_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Hexagon_MetricsQuery); 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_hexagon_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Hexagon_LogsQuery); 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_hexagon_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*Hexagon_SpansQuery); 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_hexagon_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Hexagon_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_hexagon_proto_msgTypes[1].OneofWrappers = []any{ - (*Hexagon_Query_Metrics)(nil), - (*Hexagon_Query_Logs)(nil), - (*Hexagon_Query_Spans)(nil), - (*Hexagon_Query_Dataprime)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go b/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go deleted file mode 100644 index e299281c..00000000 --- a/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go +++ /dev/null @@ -1,1467 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/horizontal_bar_chart.proto - -package v1 - -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 HorizontalBarChart struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Query *HorizontalBarChart_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - MaxBarsPerChart *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=max_bars_per_chart,json=maxBarsPerChart,proto3" json:"max_bars_per_chart,omitempty"` - GroupNameTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=group_name_template,json=groupNameTemplate,proto3" json:"group_name_template,omitempty"` - StackDefinition *HorizontalBarChart_StackDefinition `protobuf:"bytes,4,opt,name=stack_definition,json=stackDefinition,proto3" json:"stack_definition,omitempty"` - ScaleType ScaleType `protobuf:"varint,5,opt,name=scale_type,json=scaleType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType" json:"scale_type,omitempty"` - ColorsBy *ColorsBy `protobuf:"bytes,6,opt,name=colors_by,json=colorsBy,proto3" json:"colors_by,omitempty"` - Unit Unit `protobuf:"varint,8,opt,name=unit,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Unit" json:"unit,omitempty"` - DisplayOnBar *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=display_on_bar,json=displayOnBar,proto3" json:"display_on_bar,omitempty"` - YAxisViewBy *HorizontalBarChart_YAxisViewBy `protobuf:"bytes,10,opt,name=y_axis_view_by,json=yAxisViewBy,proto3" json:"y_axis_view_by,omitempty"` - SortBy SortByType `protobuf:"varint,11,opt,name=sort_by,json=sortBy,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType" json:"sort_by,omitempty"` - ColorScheme *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=color_scheme,json=colorScheme,proto3" json:"color_scheme,omitempty"` - DataModeType DataModeType `protobuf:"varint,13,opt,name=data_mode_type,json=dataModeType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType" json:"data_mode_type,omitempty"` - CustomUnit *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=custom_unit,json=customUnit,proto3" json:"custom_unit,omitempty"` - Decimal *wrapperspb.Int32Value `protobuf:"bytes,15,opt,name=decimal,proto3" json:"decimal,omitempty"` -} - -func (x *HorizontalBarChart) Reset() { - *x = HorizontalBarChart{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart) ProtoMessage() {} - -func (x *HorizontalBarChart) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0} -} - -func (x *HorizontalBarChart) GetQuery() *HorizontalBarChart_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *HorizontalBarChart) GetMaxBarsPerChart() *wrapperspb.Int32Value { - if x != nil { - return x.MaxBarsPerChart - } - return nil -} - -func (x *HorizontalBarChart) GetGroupNameTemplate() *wrapperspb.StringValue { - if x != nil { - return x.GroupNameTemplate - } - return nil -} - -func (x *HorizontalBarChart) GetStackDefinition() *HorizontalBarChart_StackDefinition { - if x != nil { - return x.StackDefinition - } - return nil -} - -func (x *HorizontalBarChart) GetScaleType() ScaleType { - if x != nil { - return x.ScaleType - } - return ScaleType_SCALE_TYPE_UNSPECIFIED -} - -func (x *HorizontalBarChart) GetColorsBy() *ColorsBy { - if x != nil { - return x.ColorsBy - } - return nil -} - -func (x *HorizontalBarChart) GetUnit() Unit { - if x != nil { - return x.Unit - } - return Unit_UNIT_UNSPECIFIED -} - -func (x *HorizontalBarChart) GetDisplayOnBar() *wrapperspb.BoolValue { - if x != nil { - return x.DisplayOnBar - } - return nil -} - -func (x *HorizontalBarChart) GetYAxisViewBy() *HorizontalBarChart_YAxisViewBy { - if x != nil { - return x.YAxisViewBy - } - return nil -} - -func (x *HorizontalBarChart) GetSortBy() SortByType { - if x != nil { - return x.SortBy - } - return SortByType_SORT_BY_TYPE_UNSPECIFIED -} - -func (x *HorizontalBarChart) GetColorScheme() *wrapperspb.StringValue { - if x != nil { - return x.ColorScheme - } - return nil -} - -func (x *HorizontalBarChart) GetDataModeType() DataModeType { - if x != nil { - return x.DataModeType - } - return DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED -} - -func (x *HorizontalBarChart) GetCustomUnit() *wrapperspb.StringValue { - if x != nil { - return x.CustomUnit - } - return nil -} - -func (x *HorizontalBarChart) GetDecimal() *wrapperspb.Int32Value { - if x != nil { - return x.Decimal - } - return nil -} - -type HorizontalBarChart_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *HorizontalBarChart_Query_Logs - // *HorizontalBarChart_Query_Spans - // *HorizontalBarChart_Query_Metrics - // *HorizontalBarChart_Query_Dataprime - Value isHorizontalBarChart_Query_Value `protobuf_oneof:"value"` -} - -func (x *HorizontalBarChart_Query) Reset() { - *x = HorizontalBarChart_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_Query) ProtoMessage() {} - -func (x *HorizontalBarChart_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_Query.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *HorizontalBarChart_Query) GetValue() isHorizontalBarChart_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *HorizontalBarChart_Query) GetLogs() *HorizontalBarChart_LogsQuery { - if x, ok := x.GetValue().(*HorizontalBarChart_Query_Logs); ok { - return x.Logs - } - return nil -} - -func (x *HorizontalBarChart_Query) GetSpans() *HorizontalBarChart_SpansQuery { - if x, ok := x.GetValue().(*HorizontalBarChart_Query_Spans); ok { - return x.Spans - } - return nil -} - -func (x *HorizontalBarChart_Query) GetMetrics() *HorizontalBarChart_MetricsQuery { - if x, ok := x.GetValue().(*HorizontalBarChart_Query_Metrics); ok { - return x.Metrics - } - return nil -} - -func (x *HorizontalBarChart_Query) GetDataprime() *HorizontalBarChart_DataprimeQuery { - if x, ok := x.GetValue().(*HorizontalBarChart_Query_Dataprime); ok { - return x.Dataprime - } - return nil -} - -type isHorizontalBarChart_Query_Value interface { - isHorizontalBarChart_Query_Value() -} - -type HorizontalBarChart_Query_Logs struct { - Logs *HorizontalBarChart_LogsQuery `protobuf:"bytes,1,opt,name=logs,proto3,oneof"` -} - -type HorizontalBarChart_Query_Spans struct { - Spans *HorizontalBarChart_SpansQuery `protobuf:"bytes,2,opt,name=spans,proto3,oneof"` -} - -type HorizontalBarChart_Query_Metrics struct { - Metrics *HorizontalBarChart_MetricsQuery `protobuf:"bytes,3,opt,name=metrics,proto3,oneof"` -} - -type HorizontalBarChart_Query_Dataprime struct { - Dataprime *HorizontalBarChart_DataprimeQuery `protobuf:"bytes,4,opt,name=dataprime,proto3,oneof"` -} - -func (*HorizontalBarChart_Query_Logs) isHorizontalBarChart_Query_Value() {} - -func (*HorizontalBarChart_Query_Spans) isHorizontalBarChart_Query_Value() {} - -func (*HorizontalBarChart_Query_Metrics) isHorizontalBarChart_Query_Value() {} - -func (*HorizontalBarChart_Query_Dataprime) isHorizontalBarChart_Query_Value() {} - -type HorizontalBarChart_StackDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MaxSlicesPerBar *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=max_slices_per_bar,json=maxSlicesPerBar,proto3" json:"max_slices_per_bar,omitempty"` - StackNameTemplate *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=stack_name_template,json=stackNameTemplate,proto3" json:"stack_name_template,omitempty"` -} - -func (x *HorizontalBarChart_StackDefinition) Reset() { - *x = HorizontalBarChart_StackDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_StackDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_StackDefinition) ProtoMessage() {} - -func (x *HorizontalBarChart_StackDefinition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_StackDefinition.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_StackDefinition) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *HorizontalBarChart_StackDefinition) GetMaxSlicesPerBar() *wrapperspb.Int32Value { - if x != nil { - return x.MaxSlicesPerBar - } - return nil -} - -func (x *HorizontalBarChart_StackDefinition) GetStackNameTemplate() *wrapperspb.StringValue { - if x != nil { - return x.StackNameTemplate - } - return nil -} - -type HorizontalBarChart_YAxisViewBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to YAxisView: - // - // *HorizontalBarChart_YAxisViewBy_Category - // *HorizontalBarChart_YAxisViewBy_Value - YAxisView isHorizontalBarChart_YAxisViewBy_YAxisView `protobuf_oneof:"y_axis_view"` -} - -func (x *HorizontalBarChart_YAxisViewBy) Reset() { - *x = HorizontalBarChart_YAxisViewBy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_YAxisViewBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_YAxisViewBy) ProtoMessage() {} - -func (x *HorizontalBarChart_YAxisViewBy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_YAxisViewBy.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_YAxisViewBy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 2} -} - -func (m *HorizontalBarChart_YAxisViewBy) GetYAxisView() isHorizontalBarChart_YAxisViewBy_YAxisView { - if m != nil { - return m.YAxisView - } - return nil -} - -func (x *HorizontalBarChart_YAxisViewBy) GetCategory() *HorizontalBarChart_YAxisViewBy_YAxisViewByCategory { - if x, ok := x.GetYAxisView().(*HorizontalBarChart_YAxisViewBy_Category); ok { - return x.Category - } - return nil -} - -func (x *HorizontalBarChart_YAxisViewBy) GetValue() *HorizontalBarChart_YAxisViewBy_YAxisViewByValue { - if x, ok := x.GetYAxisView().(*HorizontalBarChart_YAxisViewBy_Value); ok { - return x.Value - } - return nil -} - -type isHorizontalBarChart_YAxisViewBy_YAxisView interface { - isHorizontalBarChart_YAxisViewBy_YAxisView() -} - -type HorizontalBarChart_YAxisViewBy_Category struct { - Category *HorizontalBarChart_YAxisViewBy_YAxisViewByCategory `protobuf:"bytes,1,opt,name=category,proto3,oneof"` -} - -type HorizontalBarChart_YAxisViewBy_Value struct { - Value *HorizontalBarChart_YAxisViewBy_YAxisViewByValue `protobuf:"bytes,2,opt,name=value,proto3,oneof"` -} - -func (*HorizontalBarChart_YAxisViewBy_Category) isHorizontalBarChart_YAxisViewBy_YAxisView() {} - -func (*HorizontalBarChart_YAxisViewBy_Value) isHorizontalBarChart_YAxisViewBy_YAxisView() {} - -type HorizontalBarChart_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *LogsAggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupNames []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` - StackedGroupName *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` - GroupNamesFields []*ObservationField `protobuf:"bytes,6,rep,name=group_names_fields,json=groupNamesFields,proto3" json:"group_names_fields,omitempty"` - StackedGroupNameField *ObservationField `protobuf:"bytes,7,opt,name=stacked_group_name_field,json=stackedGroupNameField,proto3" json:"stacked_group_name_field,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,8,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *HorizontalBarChart_LogsQuery) Reset() { - *x = HorizontalBarChart_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_LogsQuery) ProtoMessage() {} - -func (x *HorizontalBarChart_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_LogsQuery.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *HorizontalBarChart_LogsQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *HorizontalBarChart_LogsQuery) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *HorizontalBarChart_LogsQuery) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *HorizontalBarChart_LogsQuery) GetGroupNames() []*wrapperspb.StringValue { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *HorizontalBarChart_LogsQuery) GetStackedGroupName() *wrapperspb.StringValue { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *HorizontalBarChart_LogsQuery) GetGroupNamesFields() []*ObservationField { - if x != nil { - return x.GroupNamesFields - } - return nil -} - -func (x *HorizontalBarChart_LogsQuery) GetStackedGroupNameField() *ObservationField { - if x != nil { - return x.StackedGroupNameField - } - return nil -} - -func (x *HorizontalBarChart_LogsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type HorizontalBarChart_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupNames []*SpanField `protobuf:"bytes,4,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` - StackedGroupName *SpanField `protobuf:"bytes,5,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *HorizontalBarChart_SpansQuery) Reset() { - *x = HorizontalBarChart_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_SpansQuery) ProtoMessage() {} - -func (x *HorizontalBarChart_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_SpansQuery.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *HorizontalBarChart_SpansQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *HorizontalBarChart_SpansQuery) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *HorizontalBarChart_SpansQuery) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *HorizontalBarChart_SpansQuery) GetGroupNames() []*SpanField { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *HorizontalBarChart_SpansQuery) GetStackedGroupName() *SpanField { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *HorizontalBarChart_SpansQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type HorizontalBarChart_MetricsQuery 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"` - Filters []*Filter_MetricsFilter `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"` - EditorMode MetricsQueryEditorMode `protobuf:"varint,5,opt,name=editor_mode,json=editorMode,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode" json:"editor_mode,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *HorizontalBarChart_MetricsQuery) Reset() { - *x = HorizontalBarChart_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_MetricsQuery) ProtoMessage() {} - -func (x *HorizontalBarChart_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_MetricsQuery.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *HorizontalBarChart_MetricsQuery) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *HorizontalBarChart_MetricsQuery) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *HorizontalBarChart_MetricsQuery) GetGroupNames() []*wrapperspb.StringValue { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *HorizontalBarChart_MetricsQuery) GetStackedGroupName() *wrapperspb.StringValue { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *HorizontalBarChart_MetricsQuery) GetEditorMode() MetricsQueryEditorMode { - if x != nil { - return x.EditorMode - } - return MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED -} - -func (x *HorizontalBarChart_MetricsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type HorizontalBarChart_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"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,5,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *HorizontalBarChart_DataprimeQuery) Reset() { - *x = HorizontalBarChart_DataprimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_DataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_DataprimeQuery) ProtoMessage() {} - -func (x *HorizontalBarChart_DataprimeQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_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 HorizontalBarChart_DataprimeQuery.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_DataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 6} -} - -func (x *HorizontalBarChart_DataprimeQuery) GetDataprimeQuery() *DataprimeQuery { - if x != nil { - return x.DataprimeQuery - } - return nil -} - -func (x *HorizontalBarChart_DataprimeQuery) GetFilters() []*Filter_Source { - if x != nil { - return x.Filters - } - return nil -} - -func (x *HorizontalBarChart_DataprimeQuery) GetGroupNames() []*wrapperspb.StringValue { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *HorizontalBarChart_DataprimeQuery) GetStackedGroupName() *wrapperspb.StringValue { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *HorizontalBarChart_DataprimeQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type HorizontalBarChart_YAxisViewBy_YAxisViewByCategory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *HorizontalBarChart_YAxisViewBy_YAxisViewByCategory) Reset() { - *x = HorizontalBarChart_YAxisViewBy_YAxisViewByCategory{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_YAxisViewBy_YAxisViewByCategory) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_YAxisViewBy_YAxisViewByCategory) ProtoMessage() {} - -func (x *HorizontalBarChart_YAxisViewBy_YAxisViewByCategory) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_YAxisViewBy_YAxisViewByCategory.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_YAxisViewBy_YAxisViewByCategory) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 2, 0} -} - -type HorizontalBarChart_YAxisViewBy_YAxisViewByValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *HorizontalBarChart_YAxisViewBy_YAxisViewByValue) Reset() { - *x = HorizontalBarChart_YAxisViewBy_YAxisViewByValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HorizontalBarChart_YAxisViewBy_YAxisViewByValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HorizontalBarChart_YAxisViewBy_YAxisViewByValue) ProtoMessage() {} - -func (x *HorizontalBarChart_YAxisViewBy_YAxisViewByValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_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 HorizontalBarChart_YAxisViewBy_YAxisViewByValue.ProtoReflect.Descriptor instead. -func (*HorizontalBarChart_YAxisViewBy_YAxisViewByValue) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP(), []int{0, 2, 1} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDesc = []byte{ - 0x0a, 0x46, 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, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, 0x61, - 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 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, 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, 0x42, 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, 0x63, 0x6f, 0x6c, 0x6f, - 0x72, 0x73, 0x5f, 0x62, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x47, 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, - 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x52, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, - 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 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, 0x61, 0x73, 0x74, 0x2f, - 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, - 0x63, 0x61, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 0x73, - 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 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, 0x61, 0x73, - 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x73, 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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 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, 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, 0xa0, 0x22, 0x0a, 0x12, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, - 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x5b, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x18, 0x01, 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, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, - 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, 0x7a, 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, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, - 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, - 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, 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, 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, 0x40, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6f, 0x6e, 0x5f, 0x62, - 0x61, 0x72, 0x18, 0x09, 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, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x6e, 0x42, - 0x61, 0x72, 0x12, 0x70, 0x0a, 0x0e, 0x79, 0x5f, 0x61, 0x78, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x65, - 0x77, 0x5f, 0x62, 0x79, 0x18, 0x0a, 0x20, 0x01, 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, 0x61, 0x73, 0x74, - 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, - 0x74, 0x61, 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x59, 0x41, 0x78, 0x69, - 0x73, 0x56, 0x69, 0x65, 0x77, 0x42, 0x79, 0x52, 0x0b, 0x79, 0x41, 0x78, 0x69, 0x73, 0x56, 0x69, - 0x65, 0x77, 0x42, 0x79, 0x12, 0x57, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, - 0x0b, 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, 0x0c, 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, 0x0d, 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, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x0e, 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, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, - 0x18, 0x0f, 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, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x1a, 0xaf, 0x03, 0x0a, - 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5f, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, - 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, - 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 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, 0x62, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x6e, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, - 0x67, 0x65, 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 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, 0x68, 0x0a, 0x07, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x03, 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, 0x61, - 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, - 0x6f, 0x6e, 0x74, 0x61, 0x6c, 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, 0x12, 0x6e, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, - 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, - 0x6c, 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, 0xbc, 0x02, 0x0a, 0x0b, 0x59, - 0x41, 0x78, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x42, 0x79, 0x12, 0x7d, 0x0a, 0x08, 0x63, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5f, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x48, 0x6f, 0x72, 0x69, 0x7a, - 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x59, 0x41, - 0x78, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x42, 0x79, 0x2e, 0x59, 0x41, 0x78, 0x69, 0x73, 0x56, - 0x69, 0x65, 0x77, 0x42, 0x79, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, - 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x74, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 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, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, - 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x59, 0x41, 0x78, 0x69, 0x73, 0x56, - 0x69, 0x65, 0x77, 0x42, 0x79, 0x2e, 0x59, 0x41, 0x78, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x42, - 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, - 0x15, 0x0a, 0x13, 0x59, 0x41, 0x78, 0x69, 0x73, 0x56, 0x69, 0x65, 0x77, 0x42, 0x79, 0x43, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x1a, 0x12, 0x0a, 0x10, 0x59, 0x41, 0x78, 0x69, 0x73, 0x56, - 0x69, 0x65, 0x77, 0x42, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x79, 0x5f, - 0x61, 0x78, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x1a, 0xda, 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, 0x12, 0x56, - 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 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, 0x54, 0x69, 0x6d, 0x65, - 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xac, 0x04, 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, 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, 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, 0x72, 0x61, 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, 0x12, 0x56, 0x0a, - 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x97, 0x04, 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, 0x12, 0x6b, 0x0a, 0x0b, 0x65, 0x64, - 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x64, 0x69, - 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, - 0xa2, 0x03, 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, 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, 0x12, 0x56, 0x0a, 0x0a, - 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x05, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, - 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_goTypes = []any{ - (*HorizontalBarChart)(nil), // 0: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart - (*HorizontalBarChart_Query)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.Query - (*HorizontalBarChart_StackDefinition)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.StackDefinition - (*HorizontalBarChart_YAxisViewBy)(nil), // 3: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy - (*HorizontalBarChart_LogsQuery)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery - (*HorizontalBarChart_SpansQuery)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery - (*HorizontalBarChart_MetricsQuery)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery - (*HorizontalBarChart_DataprimeQuery)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.DataprimeQuery - (*HorizontalBarChart_YAxisViewBy_YAxisViewByCategory)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy.YAxisViewByCategory - (*HorizontalBarChart_YAxisViewBy_YAxisViewByValue)(nil), // 9: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy.YAxisViewByValue - (*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 - (*wrapperspb.BoolValue)(nil), // 15: google.protobuf.BoolValue - (SortByType)(0), // 16: com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType - (DataModeType)(0), // 17: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*LuceneQuery)(nil), // 18: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*LogsAggregation)(nil), // 19: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*Filter_LogsFilter)(nil), // 20: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*ObservationField)(nil), // 21: com.coralogixapis.dashboards.v1.common.ObservationField - (*TimeFrameSelect)(nil), // 22: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (*SpansAggregation)(nil), // 23: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 24: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*SpanField)(nil), // 25: com.coralogixapis.dashboards.v1.common.SpanField - (*PromQlQuery)(nil), // 26: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 27: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (MetricsQueryEditorMode)(0), // 28: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - (*DataprimeQuery)(nil), // 29: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*Filter_Source)(nil), // 30: com.coralogixapis.dashboards.v1.ast.Filter.Source -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.Query - 10, // 1: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.max_bars_per_chart:type_name -> google.protobuf.Int32Value - 11, // 2: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.group_name_template:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.stack_definition:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.StackDefinition - 12, // 4: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.scale_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType - 13, // 5: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.colors_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ColorsBy - 14, // 6: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - 15, // 7: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.display_on_bar:type_name -> google.protobuf.BoolValue - 3, // 8: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.y_axis_view_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy - 16, // 9: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.sort_by:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType - 11, // 10: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.color_scheme:type_name -> google.protobuf.StringValue - 17, // 11: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - 11, // 12: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.custom_unit:type_name -> google.protobuf.StringValue - 10, // 13: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.decimal:type_name -> google.protobuf.Int32Value - 4, // 14: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery - 5, // 15: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery - 6, // 16: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery - 7, // 17: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.DataprimeQuery - 10, // 18: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.StackDefinition.max_slices_per_bar:type_name -> google.protobuf.Int32Value - 11, // 19: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.StackDefinition.stack_name_template:type_name -> google.protobuf.StringValue - 8, // 20: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy.category:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy.YAxisViewByCategory - 9, // 21: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy.value:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.YAxisViewBy.YAxisViewByValue - 18, // 22: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 19, // 23: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 20, // 24: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 11, // 25: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.group_names:type_name -> google.protobuf.StringValue - 11, // 26: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 21, // 27: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.group_names_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 21, // 28: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.stacked_group_name_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 22, // 29: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.LogsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 18, // 30: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 23, // 31: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 24, // 32: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 25, // 33: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery.group_names:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 25, // 34: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery.stacked_group_name:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 22, // 35: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.SpansQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 26, // 36: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 27, // 37: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 11, // 38: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery.group_names:type_name -> google.protobuf.StringValue - 11, // 39: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 28, // 40: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery.editor_mode:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - 22, // 41: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.MetricsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 29, // 42: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 30, // 43: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 11, // 44: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.DataprimeQuery.group_names:type_name -> google.protobuf.StringValue - 11, // 45: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.DataprimeQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 22, // 46: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart.DataprimeQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 47, // [47:47] is the sub-list for method output_type - 47, // [47:47] is the sub-list for method input_type - 47, // [47:47] is the sub-list for extension type_name - 47, // [47:47] is the sub-list for extension extendee - 0, // [0:47] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto != nil { - return - } - 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_metrics_query_editor_mode_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() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart); 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_horizontal_bar_chart_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_Query); 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_horizontal_bar_chart_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_StackDefinition); 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_horizontal_bar_chart_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_YAxisViewBy); 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_horizontal_bar_chart_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_LogsQuery); 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_horizontal_bar_chart_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_SpansQuery); 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_horizontal_bar_chart_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_MetricsQuery); 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_horizontal_bar_chart_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_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_horizontal_bar_chart_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_YAxisViewBy_YAxisViewByCategory); 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_horizontal_bar_chart_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*HorizontalBarChart_YAxisViewBy_YAxisViewByValue); 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_horizontal_bar_chart_proto_msgTypes[1].OneofWrappers = []any{ - (*HorizontalBarChart_Query_Logs)(nil), - (*HorizontalBarChart_Query_Spans)(nil), - (*HorizontalBarChart_Query_Metrics)(nil), - (*HorizontalBarChart_Query_Dataprime)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes[3].OneofWrappers = []any{ - (*HorizontalBarChart_YAxisViewBy_Category)(nil), - (*HorizontalBarChart_YAxisViewBy_Value)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/labelled_value.pb.go b/coralogix/clientset/grpc/dashboards/labelled_value.pb.go deleted file mode 100644 index b79fa9b1..00000000 --- a/coralogix/clientset/grpc/dashboards/labelled_value.pb.go +++ /dev/null @@ -1,185 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/labelled_value.proto - -package v1 - -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 LabelledValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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"` - Value *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *LabelledValue) Reset() { - *x = LabelledValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LabelledValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LabelledValue) ProtoMessage() {} - -func (x *LabelledValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_labelled_value_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 LabelledValue.ProtoReflect.Descriptor instead. -func (*LabelledValue) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescGZIP(), []int{0} -} - -func (x *LabelledValue) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *LabelledValue) GetLabels() map[string]string { - if x != nil { - return x.Labels - } - return nil -} - -func (x *LabelledValue) GetValue() *wrapperspb.DoubleValue { - if x != nil { - return x.Value - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_labelled_value_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDesc = []byte{ - 0x0a, 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, 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, 0x8b, 0x02, 0x0a, 0x0d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x6c, - 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 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, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 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, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_goTypes = []any{ - (*LabelledValue)(nil), // 0: com.coralogixapis.dashboards.v1.common.LabelledValue - nil, // 1: com.coralogixapis.dashboards.v1.common.LabelledValue.LabelsEntry - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue - (*wrapperspb.DoubleValue)(nil), // 3: google.protobuf.DoubleValue -} -var file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.common.LabelledValue.name:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.dashboards.v1.common.LabelledValue.labels:type_name -> com.coralogixapis.dashboards.v1.common.LabelledValue.LabelsEntry - 3, // 2: com.coralogixapis.dashboards.v1.common.LabelledValue.value:type_name -> google.protobuf.DoubleValue - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_labelled_value_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*LabelledValue); 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_labelled_value_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_labelled_value_proto = out.File - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/layout.pb.go b/coralogix/clientset/grpc/dashboards/layout.pb.go deleted file mode 100644 index 9f76c89b..00000000 --- a/coralogix/clientset/grpc/dashboards/layout.pb.go +++ /dev/null @@ -1,863 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/layout.proto - -package v1 - -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 SectionPredefinedColor int32 - -const ( - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_UNSPECIFIED SectionPredefinedColor = 0 - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_CYAN SectionPredefinedColor = 1 - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_GREEN SectionPredefinedColor = 2 - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_BLUE SectionPredefinedColor = 3 - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_PURPLE SectionPredefinedColor = 4 - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_MAGENTA SectionPredefinedColor = 5 - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_PINK SectionPredefinedColor = 6 - SectionPredefinedColor_SECTION_PREDEFINED_COLOR_ORANGE SectionPredefinedColor = 7 -) - -// Enum value maps for SectionPredefinedColor. -var ( - SectionPredefinedColor_name = map[int32]string{ - 0: "SECTION_PREDEFINED_COLOR_UNSPECIFIED", - 1: "SECTION_PREDEFINED_COLOR_CYAN", - 2: "SECTION_PREDEFINED_COLOR_GREEN", - 3: "SECTION_PREDEFINED_COLOR_BLUE", - 4: "SECTION_PREDEFINED_COLOR_PURPLE", - 5: "SECTION_PREDEFINED_COLOR_MAGENTA", - 6: "SECTION_PREDEFINED_COLOR_PINK", - 7: "SECTION_PREDEFINED_COLOR_ORANGE", - } - SectionPredefinedColor_value = map[string]int32{ - "SECTION_PREDEFINED_COLOR_UNSPECIFIED": 0, - "SECTION_PREDEFINED_COLOR_CYAN": 1, - "SECTION_PREDEFINED_COLOR_GREEN": 2, - "SECTION_PREDEFINED_COLOR_BLUE": 3, - "SECTION_PREDEFINED_COLOR_PURPLE": 4, - "SECTION_PREDEFINED_COLOR_MAGENTA": 5, - "SECTION_PREDEFINED_COLOR_PINK": 6, - "SECTION_PREDEFINED_COLOR_ORANGE": 7, - } -) - -func (x SectionPredefinedColor) Enum() *SectionPredefinedColor { - p := new(SectionPredefinedColor) - *p = x - return p -} - -func (x SectionPredefinedColor) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SectionPredefinedColor) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_enumTypes[0].Descriptor() -} - -func (SectionPredefinedColor) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_layout_proto_enumTypes[0] -} - -func (x SectionPredefinedColor) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SectionPredefinedColor.Descriptor instead. -func (SectionPredefinedColor) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{0} -} - -type Layout struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sections []*Section `protobuf:"bytes,1,rep,name=sections,proto3" json:"sections,omitempty"` -} - -func (x *Layout) Reset() { - *x = Layout{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Layout) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Layout) ProtoMessage() {} - -func (x *Layout) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 Layout.ProtoReflect.Descriptor instead. -func (*Layout) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{0} -} - -func (x *Layout) GetSections() []*Section { - if x != nil { - return x.Sections - } - return nil -} - -type Section struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` - Options *SectionOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` -} - -func (x *Section) Reset() { - *x = Section{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Section) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Section) ProtoMessage() {} - -func (x *Section) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 Section.ProtoReflect.Descriptor instead. -func (*Section) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{1} -} - -func (x *Section) GetId() *UUID { - if x != nil { - return x.Id - } - return nil -} - -func (x *Section) GetRows() []*Row { - if x != nil { - return x.Rows - } - return nil -} - -func (x *Section) GetOptions() *SectionOptions { - if x != nil { - return x.Options - } - return nil -} - -type Row struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Appearance *Row_Appearance `protobuf:"bytes,2,opt,name=appearance,proto3" json:"appearance,omitempty"` - Widgets []*Widget `protobuf:"bytes,3,rep,name=widgets,proto3" json:"widgets,omitempty"` -} - -func (x *Row) Reset() { - *x = Row{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Row) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Row) ProtoMessage() {} - -func (x *Row) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 Row.ProtoReflect.Descriptor instead. -func (*Row) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{2} -} - -func (x *Row) GetId() *UUID { - if x != nil { - return x.Id - } - return nil -} - -func (x *Row) GetAppearance() *Row_Appearance { - if x != nil { - return x.Appearance - } - return nil -} - -func (x *Row) GetWidgets() []*Widget { - if x != nil { - return x.Widgets - } - return nil -} - -type SectionOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *SectionOptions_Internal - // *SectionOptions_Custom - Value isSectionOptions_Value `protobuf_oneof:"value"` -} - -func (x *SectionOptions) Reset() { - *x = SectionOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SectionOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SectionOptions) ProtoMessage() {} - -func (x *SectionOptions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 SectionOptions.ProtoReflect.Descriptor instead. -func (*SectionOptions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{3} -} - -func (m *SectionOptions) GetValue() isSectionOptions_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *SectionOptions) GetInternal() *InternalSectionOptions { - if x, ok := x.GetValue().(*SectionOptions_Internal); ok { - return x.Internal - } - return nil -} - -func (x *SectionOptions) GetCustom() *CustomSectionOptions { - if x, ok := x.GetValue().(*SectionOptions_Custom); ok { - return x.Custom - } - return nil -} - -type isSectionOptions_Value interface { - isSectionOptions_Value() -} - -type SectionOptions_Internal struct { - Internal *InternalSectionOptions `protobuf:"bytes,1,opt,name=internal,proto3,oneof"` -} - -type SectionOptions_Custom struct { - Custom *CustomSectionOptions `protobuf:"bytes,2,opt,name=custom,proto3,oneof"` -} - -func (*SectionOptions_Internal) isSectionOptions_Value() {} - -func (*SectionOptions_Custom) isSectionOptions_Value() {} - -type InternalSectionOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *InternalSectionOptions) Reset() { - *x = InternalSectionOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InternalSectionOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InternalSectionOptions) ProtoMessage() {} - -func (x *InternalSectionOptions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 InternalSectionOptions.ProtoReflect.Descriptor instead. -func (*InternalSectionOptions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{4} -} - -type CustomSectionOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Collapsed *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=collapsed,proto3" json:"collapsed,omitempty"` - Color *SectionColor `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` -} - -func (x *CustomSectionOptions) Reset() { - *x = CustomSectionOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomSectionOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomSectionOptions) ProtoMessage() {} - -func (x *CustomSectionOptions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 CustomSectionOptions.ProtoReflect.Descriptor instead. -func (*CustomSectionOptions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{5} -} - -func (x *CustomSectionOptions) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CustomSectionOptions) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CustomSectionOptions) GetCollapsed() *wrapperspb.BoolValue { - if x != nil { - return x.Collapsed - } - return nil -} - -func (x *CustomSectionOptions) GetColor() *SectionColor { - if x != nil { - return x.Color - } - return nil -} - -type SectionColor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *SectionColor_Predefined - Value isSectionColor_Value `protobuf_oneof:"value"` -} - -func (x *SectionColor) Reset() { - *x = SectionColor{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SectionColor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SectionColor) ProtoMessage() {} - -func (x *SectionColor) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 SectionColor.ProtoReflect.Descriptor instead. -func (*SectionColor) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{6} -} - -func (m *SectionColor) GetValue() isSectionColor_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *SectionColor) GetPredefined() SectionPredefinedColor { - if x, ok := x.GetValue().(*SectionColor_Predefined); ok { - return x.Predefined - } - return SectionPredefinedColor_SECTION_PREDEFINED_COLOR_UNSPECIFIED -} - -type isSectionColor_Value interface { - isSectionColor_Value() -} - -type SectionColor_Predefined struct { - Predefined SectionPredefinedColor `protobuf:"varint,1,opt,name=predefined,proto3,enum=com.coralogixapis.dashboards.v1.ast.SectionPredefinedColor,oneof"` -} - -func (*SectionColor_Predefined) isSectionColor_Value() {} - -type Row_Appearance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Height *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` -} - -func (x *Row_Appearance) Reset() { - *x = Row_Appearance{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Row_Appearance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Row_Appearance) ProtoMessage() {} - -func (x *Row_Appearance) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_layout_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 Row_Appearance.ProtoReflect.Descriptor instead. -func (*Row_Appearance) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *Row_Appearance) GetHeight() *wrapperspb.Int32Value { - if x != nil { - return x.Height - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_layout_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDesc = []byte{ - 0x0a, 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, 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, 0x77, 0x69, 0x64, - 0x67, 0x65, 0x74, 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, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x06, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, - 0x12, 0x48, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x08, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x07, 0x53, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3c, 0x0a, - 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x4d, 0x0a, 0x07, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 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, 0x61, - 0x73, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, 0x02, 0x0a, 0x03, 0x52, - 0x6f, 0x77, 0x12, 0x35, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x52, 0x02, 0x69, 0x64, 0x12, 0x53, 0x0a, 0x0a, 0x61, 0x70, 0x70, - 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 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, - 0x61, 0x73, 0x74, 0x2e, 0x52, 0x6f, 0x77, 0x2e, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, - 0x63, 0x65, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x45, - 0x0a, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 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, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x07, 0x77, 0x69, - 0x64, 0x67, 0x65, 0x74, 0x73, 0x1a, 0x41, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, - 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 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, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xc9, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x08, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x53, 0x0a, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x18, 0x02, 0x20, 0x01, 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, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x48, 0x00, 0x52, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x07, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8b, - 0x02, 0x0a, 0x14, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x09, 0x63, 0x6f, 0x6c, - 0x6c, 0x61, 0x70, 0x73, 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, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, - 0x73, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 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, 0x61, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x76, 0x0a, 0x0c, - 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x5d, 0x0a, 0x0a, - 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 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, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, - 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x48, 0x00, 0x52, - 0x0a, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x2a, 0xbf, 0x02, 0x0a, 0x16, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, - 0x28, 0x0a, 0x24, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, - 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x45, 0x43, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, - 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x43, 0x59, 0x41, 0x4e, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, - 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49, 0x4e, - 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x47, 0x52, 0x45, 0x45, 0x4e, 0x10, 0x02, - 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x44, - 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x42, 0x4c, 0x55, - 0x45, 0x10, 0x03, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, - 0x52, 0x45, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, - 0x50, 0x55, 0x52, 0x50, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x45, 0x43, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x43, - 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x4d, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x41, 0x10, 0x05, 0x12, 0x21, - 0x0a, 0x1d, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, - 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x50, 0x49, 0x4e, 0x4b, 0x10, - 0x06, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, - 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x4f, 0x52, - 0x41, 0x4e, 0x47, 0x45, 0x10, 0x07, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_layout_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_com_coralogixapis_dashboards_v1_ast_layout_proto_goTypes = []any{ - (SectionPredefinedColor)(0), // 0: com.coralogixapis.dashboards.v1.ast.SectionPredefinedColor - (*Layout)(nil), // 1: com.coralogixapis.dashboards.v1.ast.Layout - (*Section)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Section - (*Row)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Row - (*SectionOptions)(nil), // 4: com.coralogixapis.dashboards.v1.ast.SectionOptions - (*InternalSectionOptions)(nil), // 5: com.coralogixapis.dashboards.v1.ast.InternalSectionOptions - (*CustomSectionOptions)(nil), // 6: com.coralogixapis.dashboards.v1.ast.CustomSectionOptions - (*SectionColor)(nil), // 7: com.coralogixapis.dashboards.v1.ast.SectionColor - (*Row_Appearance)(nil), // 8: com.coralogixapis.dashboards.v1.ast.Row.Appearance - (*UUID)(nil), // 9: com.coralogixapis.dashboards.v1.UUID - (*Widget)(nil), // 10: com.coralogixapis.dashboards.v1.ast.Widget - (*wrapperspb.StringValue)(nil), // 11: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 12: google.protobuf.BoolValue - (*wrapperspb.Int32Value)(nil), // 13: google.protobuf.Int32Value -} -var file_com_coralogixapis_dashboards_v1_ast_layout_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.ast.Layout.sections:type_name -> com.coralogixapis.dashboards.v1.ast.Section - 9, // 1: com.coralogixapis.dashboards.v1.ast.Section.id:type_name -> com.coralogixapis.dashboards.v1.UUID - 3, // 2: com.coralogixapis.dashboards.v1.ast.Section.rows:type_name -> com.coralogixapis.dashboards.v1.ast.Row - 4, // 3: com.coralogixapis.dashboards.v1.ast.Section.options:type_name -> com.coralogixapis.dashboards.v1.ast.SectionOptions - 9, // 4: com.coralogixapis.dashboards.v1.ast.Row.id:type_name -> com.coralogixapis.dashboards.v1.UUID - 8, // 5: com.coralogixapis.dashboards.v1.ast.Row.appearance:type_name -> com.coralogixapis.dashboards.v1.ast.Row.Appearance - 10, // 6: com.coralogixapis.dashboards.v1.ast.Row.widgets:type_name -> com.coralogixapis.dashboards.v1.ast.Widget - 5, // 7: com.coralogixapis.dashboards.v1.ast.SectionOptions.internal:type_name -> com.coralogixapis.dashboards.v1.ast.InternalSectionOptions - 6, // 8: com.coralogixapis.dashboards.v1.ast.SectionOptions.custom:type_name -> com.coralogixapis.dashboards.v1.ast.CustomSectionOptions - 11, // 9: com.coralogixapis.dashboards.v1.ast.CustomSectionOptions.name:type_name -> google.protobuf.StringValue - 11, // 10: com.coralogixapis.dashboards.v1.ast.CustomSectionOptions.description:type_name -> google.protobuf.StringValue - 12, // 11: com.coralogixapis.dashboards.v1.ast.CustomSectionOptions.collapsed:type_name -> google.protobuf.BoolValue - 7, // 12: com.coralogixapis.dashboards.v1.ast.CustomSectionOptions.color:type_name -> com.coralogixapis.dashboards.v1.ast.SectionColor - 0, // 13: com.coralogixapis.dashboards.v1.ast.SectionColor.predefined:type_name -> com.coralogixapis.dashboards.v1.ast.SectionPredefinedColor - 13, // 14: com.coralogixapis.dashboards.v1.ast.Row.Appearance.height:type_name -> google.protobuf.Int32Value - 15, // [15:15] is the sub-list for method output_type - 15, // [15:15] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_layout_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_layout_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_layout_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_ast_widget_proto_init() - file_com_coralogixapis_dashboards_v1_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Layout); 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_layout_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Section); 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_layout_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Row); 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_layout_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*SectionOptions); 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_layout_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*InternalSectionOptions); 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_layout_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*CustomSectionOptions); 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_layout_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*SectionColor); 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_layout_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*Row_Appearance); 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_layout_proto_msgTypes[3].OneofWrappers = []any{ - (*SectionOptions_Internal)(nil), - (*SectionOptions_Custom)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes[6].OneofWrappers = []any{ - (*SectionColor_Predefined)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDesc, - NumEnums: 1, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_layout_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_layout_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_layout_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_layout_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_layout_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_layout_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_layout_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/legend.pb.go b/coralogix/clientset/grpc/dashboards/legend.pb.go deleted file mode 100644 index 5b2ff336..00000000 --- a/coralogix/clientset/grpc/dashboards/legend.pb.go +++ /dev/null @@ -1,340 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/legend.proto - -package v1 - -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 Legend_LegendColumn int32 - -const ( - Legend_LEGEND_COLUMN_UNSPECIFIED Legend_LegendColumn = 0 - Legend_LEGEND_COLUMN_MIN Legend_LegendColumn = 1 - Legend_LEGEND_COLUMN_MAX Legend_LegendColumn = 2 - Legend_LEGEND_COLUMN_SUM Legend_LegendColumn = 3 - Legend_LEGEND_COLUMN_AVG Legend_LegendColumn = 4 - Legend_LEGEND_COLUMN_LAST Legend_LegendColumn = 5 - Legend_LEGEND_COLUMN_NAME Legend_LegendColumn = 6 -) - -// Enum value maps for Legend_LegendColumn. -var ( - Legend_LegendColumn_name = map[int32]string{ - 0: "LEGEND_COLUMN_UNSPECIFIED", - 1: "LEGEND_COLUMN_MIN", - 2: "LEGEND_COLUMN_MAX", - 3: "LEGEND_COLUMN_SUM", - 4: "LEGEND_COLUMN_AVG", - 5: "LEGEND_COLUMN_LAST", - 6: "LEGEND_COLUMN_NAME", - } - Legend_LegendColumn_value = map[string]int32{ - "LEGEND_COLUMN_UNSPECIFIED": 0, - "LEGEND_COLUMN_MIN": 1, - "LEGEND_COLUMN_MAX": 2, - "LEGEND_COLUMN_SUM": 3, - "LEGEND_COLUMN_AVG": 4, - "LEGEND_COLUMN_LAST": 5, - "LEGEND_COLUMN_NAME": 6, - } -) - -func (x Legend_LegendColumn) Enum() *Legend_LegendColumn { - p := new(Legend_LegendColumn) - *p = x - return p -} - -func (x Legend_LegendColumn) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Legend_LegendColumn) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_enumTypes[0].Descriptor() -} - -func (Legend_LegendColumn) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_enumTypes[0] -} - -func (x Legend_LegendColumn) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Legend_LegendColumn.Descriptor instead. -func (Legend_LegendColumn) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescGZIP(), []int{0, 0} -} - -type Legend_LegendPlacement int32 - -const ( - Legend_LEGEND_PLACEMENT_UNSPECIFIED Legend_LegendPlacement = 0 - Legend_LEGEND_PLACEMENT_AUTO Legend_LegendPlacement = 1 - Legend_LEGEND_PLACEMENT_BOTTOM Legend_LegendPlacement = 2 - Legend_LEGEND_PLACEMENT_SIDE Legend_LegendPlacement = 3 - Legend_LEGEND_PLACEMENT_HIDDEN Legend_LegendPlacement = 4 -) - -// Enum value maps for Legend_LegendPlacement. -var ( - Legend_LegendPlacement_name = map[int32]string{ - 0: "LEGEND_PLACEMENT_UNSPECIFIED", - 1: "LEGEND_PLACEMENT_AUTO", - 2: "LEGEND_PLACEMENT_BOTTOM", - 3: "LEGEND_PLACEMENT_SIDE", - 4: "LEGEND_PLACEMENT_HIDDEN", - } - Legend_LegendPlacement_value = map[string]int32{ - "LEGEND_PLACEMENT_UNSPECIFIED": 0, - "LEGEND_PLACEMENT_AUTO": 1, - "LEGEND_PLACEMENT_BOTTOM": 2, - "LEGEND_PLACEMENT_SIDE": 3, - "LEGEND_PLACEMENT_HIDDEN": 4, - } -) - -func (x Legend_LegendPlacement) Enum() *Legend_LegendPlacement { - p := new(Legend_LegendPlacement) - *p = x - return p -} - -func (x Legend_LegendPlacement) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Legend_LegendPlacement) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_enumTypes[1].Descriptor() -} - -func (Legend_LegendPlacement) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_enumTypes[1] -} - -func (x Legend_LegendPlacement) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Legend_LegendPlacement.Descriptor instead. -func (Legend_LegendPlacement) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescGZIP(), []int{0, 1} -} - -type Legend struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsVisible *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"` - Columns []Legend_LegendColumn `protobuf:"varint,2,rep,packed,name=columns,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Legend_LegendColumn" json:"columns,omitempty"` - GroupByQuery *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=group_by_query,json=groupByQuery,proto3" json:"group_by_query,omitempty"` - Placement Legend_LegendPlacement `protobuf:"varint,4,opt,name=placement,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Legend_LegendPlacement" json:"placement,omitempty"` -} - -func (x *Legend) Reset() { - *x = Legend{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Legend) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Legend) ProtoMessage() {} - -func (x *Legend) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_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 Legend.ProtoReflect.Descriptor instead. -func (*Legend) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescGZIP(), []int{0} -} - -func (x *Legend) GetIsVisible() *wrapperspb.BoolValue { - if x != nil { - return x.IsVisible - } - return nil -} - -func (x *Legend) GetColumns() []Legend_LegendColumn { - if x != nil { - return x.Columns - } - return nil -} - -func (x *Legend) GetGroupByQuery() *wrapperspb.BoolValue { - if x != nil { - return x.GroupByQuery - } - return nil -} - -func (x *Legend) GetPlacement() Legend_LegendPlacement { - if x != nil { - return x.Placement - } - return Legend_LEGEND_PLACEMENT_UNSPECIFIED -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDesc = []byte{ - 0x0a, 0x3f, 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, 0x6c, 0x65, 0x67, 0x65, 0x6e, 0x64, 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, 0xb4, 0x05, 0x0a, 0x06, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, - 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x09, 0x69, 0x73, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x61, 0x0a, 0x07, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x2e, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x40, - 0x0a, 0x0e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, - 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, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x68, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x2e, - 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xb9, 0x01, 0x0a, 0x0c, 0x4c, - 0x65, 0x67, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1d, 0x0a, 0x19, 0x4c, - 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45, - 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x4d, 0x49, 0x4e, 0x10, - 0x01, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x55, - 0x4d, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45, 0x47, 0x45, - 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x03, 0x12, - 0x15, 0x0a, 0x11, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, - 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, - 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x05, 0x12, 0x16, - 0x0a, 0x12, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, - 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x06, 0x22, 0xa3, 0x01, 0x0a, 0x0f, 0x4c, 0x65, 0x67, 0x65, 0x6e, - 0x64, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x1c, 0x4c, 0x45, - 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, - 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x4d, 0x45, 0x4e, 0x54, - 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4c, 0x45, 0x47, 0x45, 0x4e, - 0x44, 0x5f, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x42, 0x4f, 0x54, 0x54, - 0x4f, 0x4d, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x50, - 0x4c, 0x41, 0x43, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x49, 0x44, 0x45, 0x10, 0x03, 0x12, - 0x1b, 0x0a, 0x17, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x4d, - 0x45, 0x4e, 0x54, 0x5f, 0x48, 0x49, 0x44, 0x44, 0x45, 0x4e, 0x10, 0x04, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_goTypes = []any{ - (Legend_LegendColumn)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.LegendColumn - (Legend_LegendPlacement)(0), // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.LegendPlacement - (*Legend)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend - (*wrapperspb.BoolValue)(nil), // 3: google.protobuf.BoolValue -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_depIdxs = []int32{ - 3, // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.is_visible:type_name -> google.protobuf.BoolValue - 0, // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.columns:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.LegendColumn - 3, // 2: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.group_by_query:type_name -> google.protobuf.BoolValue - 1, // 3: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.placement:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Legend.LegendPlacement - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Legend); 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_legend_proto_rawDesc, - NumEnums: 2, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/line_chart.pb.go b/coralogix/clientset/grpc/dashboards/line_chart.pb.go deleted file mode 100644 index 17e903d8..00000000 --- a/coralogix/clientset/grpc/dashboards/line_chart.pb.go +++ /dev/null @@ -1,1425 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/line_chart.proto - -package v1 - -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 LineChart_TooltipType int32 - -const ( - LineChart_TOOLTIP_TYPE_UNSPECIFIED LineChart_TooltipType = 0 - LineChart_TOOLTIP_TYPE_ALL LineChart_TooltipType = 1 - LineChart_TOOLTIP_TYPE_SINGLE LineChart_TooltipType = 2 -) - -// Enum value maps for LineChart_TooltipType. -var ( - LineChart_TooltipType_name = map[int32]string{ - 0: "TOOLTIP_TYPE_UNSPECIFIED", - 1: "TOOLTIP_TYPE_ALL", - 2: "TOOLTIP_TYPE_SINGLE", - } - LineChart_TooltipType_value = map[string]int32{ - "TOOLTIP_TYPE_UNSPECIFIED": 0, - "TOOLTIP_TYPE_ALL": 1, - "TOOLTIP_TYPE_SINGLE": 2, - } -) - -func (x LineChart_TooltipType) Enum() *LineChart_TooltipType { - p := new(LineChart_TooltipType) - *p = x - return p -} - -func (x LineChart_TooltipType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (LineChart_TooltipType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_enumTypes[0].Descriptor() -} - -func (LineChart_TooltipType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_enumTypes[0] -} - -func (x LineChart_TooltipType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use LineChart_TooltipType.Descriptor instead. -func (LineChart_TooltipType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 0} -} - -type LineChart_StackedLine int32 - -const ( - LineChart_STACKED_LINE_UNSPECIFIED LineChart_StackedLine = 0 - LineChart_STACKED_LINE_ABSOLUTE LineChart_StackedLine = 1 - LineChart_STACKED_LINE_RELATIVE LineChart_StackedLine = 2 -) - -// Enum value maps for LineChart_StackedLine. -var ( - LineChart_StackedLine_name = map[int32]string{ - 0: "STACKED_LINE_UNSPECIFIED", - 1: "STACKED_LINE_ABSOLUTE", - 2: "STACKED_LINE_RELATIVE", - } - LineChart_StackedLine_value = map[string]int32{ - "STACKED_LINE_UNSPECIFIED": 0, - "STACKED_LINE_ABSOLUTE": 1, - "STACKED_LINE_RELATIVE": 2, - } -) - -func (x LineChart_StackedLine) Enum() *LineChart_StackedLine { - p := new(LineChart_StackedLine) - *p = x - return p -} - -func (x LineChart_StackedLine) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (LineChart_StackedLine) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_enumTypes[1].Descriptor() -} - -func (LineChart_StackedLine) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_enumTypes[1] -} - -func (x LineChart_StackedLine) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use LineChart_StackedLine.Descriptor instead. -func (LineChart_StackedLine) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 1} -} - -type LineChart struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Legend *Legend `protobuf:"bytes,2,opt,name=legend,proto3" json:"legend,omitempty"` - Tooltip *LineChart_Tooltip `protobuf:"bytes,6,opt,name=tooltip,proto3" json:"tooltip,omitempty"` - QueryDefinitions []*LineChart_QueryDefinition `protobuf:"bytes,7,rep,name=query_definitions,json=queryDefinitions,proto3" json:"query_definitions,omitempty"` - StackedLine LineChart_StackedLine `protobuf:"varint,9,opt,name=stacked_line,json=stackedLine,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.LineChart_StackedLine" json:"stacked_line,omitempty"` -} - -func (x *LineChart) Reset() { - *x = LineChart{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart) ProtoMessage() {} - -func (x *LineChart) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart.ProtoReflect.Descriptor instead. -func (*LineChart) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0} -} - -func (x *LineChart) GetLegend() *Legend { - if x != nil { - return x.Legend - } - return nil -} - -func (x *LineChart) GetTooltip() *LineChart_Tooltip { - if x != nil { - return x.Tooltip - } - return nil -} - -func (x *LineChart) GetQueryDefinitions() []*LineChart_QueryDefinition { - if x != nil { - return x.QueryDefinitions - } - return nil -} - -func (x *LineChart) GetStackedLine() LineChart_StackedLine { - if x != nil { - return x.StackedLine - } - return LineChart_STACKED_LINE_UNSPECIFIED -} - -type LineChart_QueryDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Query *LineChart_Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - SeriesNameTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=series_name_template,json=seriesNameTemplate,proto3" json:"series_name_template,omitempty"` - SeriesCountLimit *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=series_count_limit,json=seriesCountLimit,proto3" json:"series_count_limit,omitempty"` - Unit Unit `protobuf:"varint,5,opt,name=unit,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Unit" json:"unit,omitempty"` - ScaleType ScaleType `protobuf:"varint,6,opt,name=scale_type,json=scaleType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType" json:"scale_type,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - IsVisible *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"` - ColorScheme *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=color_scheme,json=colorScheme,proto3" json:"color_scheme,omitempty"` - Resolution *LineChart_Resolution `protobuf:"bytes,10,opt,name=resolution,proto3" json:"resolution,omitempty"` - DataModeType DataModeType `protobuf:"varint,11,opt,name=data_mode_type,json=dataModeType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType" json:"data_mode_type,omitempty"` - CustomUnit *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=custom_unit,json=customUnit,proto3" json:"custom_unit,omitempty"` - Decimal *wrapperspb.Int32Value `protobuf:"bytes,13,opt,name=decimal,proto3" json:"decimal,omitempty"` -} - -func (x *LineChart_QueryDefinition) Reset() { - *x = LineChart_QueryDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_QueryDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_QueryDefinition) ProtoMessage() {} - -func (x *LineChart_QueryDefinition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart_QueryDefinition.ProtoReflect.Descriptor instead. -func (*LineChart_QueryDefinition) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *LineChart_QueryDefinition) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *LineChart_QueryDefinition) GetQuery() *LineChart_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *LineChart_QueryDefinition) GetSeriesNameTemplate() *wrapperspb.StringValue { - if x != nil { - return x.SeriesNameTemplate - } - return nil -} - -func (x *LineChart_QueryDefinition) GetSeriesCountLimit() *wrapperspb.Int64Value { - if x != nil { - return x.SeriesCountLimit - } - return nil -} - -func (x *LineChart_QueryDefinition) GetUnit() Unit { - if x != nil { - return x.Unit - } - return Unit_UNIT_UNSPECIFIED -} - -func (x *LineChart_QueryDefinition) GetScaleType() ScaleType { - if x != nil { - return x.ScaleType - } - return ScaleType_SCALE_TYPE_UNSPECIFIED -} - -func (x *LineChart_QueryDefinition) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *LineChart_QueryDefinition) GetIsVisible() *wrapperspb.BoolValue { - if x != nil { - return x.IsVisible - } - return nil -} - -func (x *LineChart_QueryDefinition) GetColorScheme() *wrapperspb.StringValue { - if x != nil { - return x.ColorScheme - } - return nil -} - -func (x *LineChart_QueryDefinition) GetResolution() *LineChart_Resolution { - if x != nil { - return x.Resolution - } - return nil -} - -func (x *LineChart_QueryDefinition) GetDataModeType() DataModeType { - if x != nil { - return x.DataModeType - } - return DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED -} - -func (x *LineChart_QueryDefinition) GetCustomUnit() *wrapperspb.StringValue { - if x != nil { - return x.CustomUnit - } - return nil -} - -func (x *LineChart_QueryDefinition) GetDecimal() *wrapperspb.Int32Value { - if x != nil { - return x.Decimal - } - return nil -} - -type LineChart_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *LineChart_Query_Logs - // *LineChart_Query_Metrics - // *LineChart_Query_Spans - // *LineChart_Query_Dataprime - Value isLineChart_Query_Value `protobuf_oneof:"value"` -} - -func (x *LineChart_Query) Reset() { - *x = LineChart_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_Query) ProtoMessage() {} - -func (x *LineChart_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart_Query.ProtoReflect.Descriptor instead. -func (*LineChart_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 1} -} - -func (m *LineChart_Query) GetValue() isLineChart_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *LineChart_Query) GetLogs() *LineChart_LogsQuery { - if x, ok := x.GetValue().(*LineChart_Query_Logs); ok { - return x.Logs - } - return nil -} - -func (x *LineChart_Query) GetMetrics() *LineChart_MetricsQuery { - if x, ok := x.GetValue().(*LineChart_Query_Metrics); ok { - return x.Metrics - } - return nil -} - -func (x *LineChart_Query) GetSpans() *LineChart_SpansQuery { - if x, ok := x.GetValue().(*LineChart_Query_Spans); ok { - return x.Spans - } - return nil -} - -func (x *LineChart_Query) GetDataprime() *LineChart_DataprimeQuery { - if x, ok := x.GetValue().(*LineChart_Query_Dataprime); ok { - return x.Dataprime - } - return nil -} - -type isLineChart_Query_Value interface { - isLineChart_Query_Value() -} - -type LineChart_Query_Logs struct { - Logs *LineChart_LogsQuery `protobuf:"bytes,1,opt,name=logs,proto3,oneof"` -} - -type LineChart_Query_Metrics struct { - Metrics *LineChart_MetricsQuery `protobuf:"bytes,2,opt,name=metrics,proto3,oneof"` -} - -type LineChart_Query_Spans struct { - Spans *LineChart_SpansQuery `protobuf:"bytes,3,opt,name=spans,proto3,oneof"` -} - -type LineChart_Query_Dataprime struct { - Dataprime *LineChart_DataprimeQuery `protobuf:"bytes,5,opt,name=dataprime,proto3,oneof"` -} - -func (*LineChart_Query_Logs) isLineChart_Query_Value() {} - -func (*LineChart_Query_Metrics) isLineChart_Query_Value() {} - -func (*LineChart_Query_Spans) isLineChart_Query_Value() {} - -func (*LineChart_Query_Dataprime) isLineChart_Query_Value() {} - -type LineChart_Tooltip struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ShowLabels *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=show_labels,json=showLabels,proto3" json:"show_labels,omitempty"` - Type LineChart_TooltipType `protobuf:"varint,2,opt,name=type,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.LineChart_TooltipType" json:"type,omitempty"` -} - -func (x *LineChart_Tooltip) Reset() { - *x = LineChart_Tooltip{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_Tooltip) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_Tooltip) ProtoMessage() {} - -func (x *LineChart_Tooltip) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart_Tooltip.ProtoReflect.Descriptor instead. -func (*LineChart_Tooltip) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *LineChart_Tooltip) GetShowLabels() *wrapperspb.BoolValue { - if x != nil { - return x.ShowLabels - } - return nil -} - -func (x *LineChart_Tooltip) GetType() LineChart_TooltipType { - if x != nil { - return x.Type - } - return LineChart_TOOLTIP_TYPE_UNSPECIFIED -} - -type LineChart_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - GroupBy []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Aggregations []*LogsAggregation `protobuf:"bytes,3,rep,name=aggregations,proto3" json:"aggregations,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` - GroupBys []*ObservationField `protobuf:"bytes,5,rep,name=group_bys,json=groupBys,proto3" json:"group_bys,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *LineChart_LogsQuery) Reset() { - *x = LineChart_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_LogsQuery) ProtoMessage() {} - -func (x *LineChart_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart_LogsQuery.ProtoReflect.Descriptor instead. -func (*LineChart_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *LineChart_LogsQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *LineChart_LogsQuery) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *LineChart_LogsQuery) GetAggregations() []*LogsAggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -func (x *LineChart_LogsQuery) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *LineChart_LogsQuery) GetGroupBys() []*ObservationField { - if x != nil { - return x.GroupBys - } - return nil -} - -func (x *LineChart_LogsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type LineChart_MetricsQuery 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"` - Filters []*Filter_MetricsFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` - EditorMode MetricsQueryEditorMode `protobuf:"varint,3,opt,name=editor_mode,json=editorMode,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode" json:"editor_mode,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,4,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *LineChart_MetricsQuery) Reset() { - *x = LineChart_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_MetricsQuery) ProtoMessage() {} - -func (x *LineChart_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart_MetricsQuery.ProtoReflect.Descriptor instead. -func (*LineChart_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *LineChart_MetricsQuery) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *LineChart_MetricsQuery) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *LineChart_MetricsQuery) GetEditorMode() MetricsQueryEditorMode { - if x != nil { - return x.EditorMode - } - return MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED -} - -func (x *LineChart_MetricsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type LineChart_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - GroupBy []*SpanField `protobuf:"bytes,2,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Aggregations []*SpansAggregation `protobuf:"bytes,3,rep,name=aggregations,proto3" json:"aggregations,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,5,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *LineChart_SpansQuery) Reset() { - *x = LineChart_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_SpansQuery) ProtoMessage() {} - -func (x *LineChart_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart_SpansQuery.ProtoReflect.Descriptor instead. -func (*LineChart_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *LineChart_SpansQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *LineChart_SpansQuery) GetGroupBy() []*SpanField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *LineChart_SpansQuery) GetAggregations() []*SpansAggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -func (x *LineChart_SpansQuery) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *LineChart_SpansQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type LineChart_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"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,3,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *LineChart_DataprimeQuery) Reset() { - *x = LineChart_DataprimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_DataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_DataprimeQuery) ProtoMessage() {} - -func (x *LineChart_DataprimeQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_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 LineChart_DataprimeQuery.ProtoReflect.Descriptor instead. -func (*LineChart_DataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 6} -} - -func (x *LineChart_DataprimeQuery) GetDataprimeQuery() *DataprimeQuery { - if x != nil { - return x.DataprimeQuery - } - return nil -} - -func (x *LineChart_DataprimeQuery) GetFilters() []*Filter_Source { - if x != nil { - return x.Filters - } - return nil -} - -func (x *LineChart_DataprimeQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type LineChart_Resolution struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` - BucketsPresented *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=buckets_presented,json=bucketsPresented,proto3" json:"buckets_presented,omitempty"` -} - -func (x *LineChart_Resolution) Reset() { - *x = LineChart_Resolution{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LineChart_Resolution) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LineChart_Resolution) ProtoMessage() {} - -func (x *LineChart_Resolution) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_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 LineChart_Resolution.ProtoReflect.Descriptor instead. -func (*LineChart_Resolution) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP(), []int{0, 7} -} - -func (x *LineChart_Resolution) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval - } - return nil -} - -func (x *LineChart_Resolution) GetBucketsPresented() *wrapperspb.Int32Value { - if x != nil { - return x.BucketsPresented - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDesc = []byte{ - 0x0a, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x6c, 0x69, - 0x6e, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 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, 0x47, 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, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 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, 0x6c, 0x65, 0x67, 0x65, 0x6e, - 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x52, 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, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, - 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 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, 0x61, - 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2f, 0x73, 0x63, 0x61, 0x6c, 0x65, 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, 0x61, - 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x73, 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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 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, 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, 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, 0xf9, 0x1e, 0x0a, 0x09, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, - 0x12, 0x52, 0x0a, 0x06, 0x6c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x65, 0x67, 0x65, 0x6e, 0x64, 0x52, 0x06, 0x6c, 0x65, - 0x67, 0x65, 0x6e, 0x64, 0x12, 0x58, 0x0a, 0x07, 0x74, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x18, - 0x06, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, - 0x65, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x54, 0x6f, - 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x52, 0x07, 0x74, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x12, 0x73, - 0x0a, 0x11, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x07, 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, 0x61, 0x73, 0x74, 0x2e, - 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, - 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x10, 0x71, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x65, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6c, - 0x69, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 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, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, - 0x74, 0x2e, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x52, 0x0b, 0x73, - 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x1a, 0xc9, 0x07, 0x0a, 0x0f, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 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, 0x52, 0x0a, 0x05, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 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, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, - 0x61, 0x72, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x4e, 0x0a, 0x14, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 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, 0x12, 0x73, 0x65, - 0x72, 0x69, 0x65, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x12, 0x49, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x5f, 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, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x65, 0x72, 0x69, 0x65, - 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x4c, 0x0a, 0x04, 0x75, - 0x6e, 0x69, 0x74, 0x18, 0x05, 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, 0x5c, 0x0a, 0x0a, 0x73, 0x63, 0x61, - 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 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, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x08, 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, 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, 0x61, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 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, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, - 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, 0x65, - 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 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, - 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, - 0x0c, 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, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x12, - 0x35, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x18, 0x0d, 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, 0x07, 0x64, - 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x1a, 0x8b, 0x03, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x56, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x6e, - 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, 0x5f, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 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, 0x4c, 0x69, 0x6e, 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, 0x59, 0x0a, 0x05, 0x73, 0x70, 0x61, - 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 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, 0x4c, 0x69, 0x6e, 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, 0x65, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, - 0x65, 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, 0x4c, 0x69, 0x6e, 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, 0x9e, 0x01, 0x0a, 0x07, 0x54, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, - 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x56, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 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, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, - 0x61, 0x72, 0x74, 0x2e, 0x54, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x86, 0x04, 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, 0x37, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x5f, 0x62, 0x79, 0x18, 0x02, 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, 0x5b, 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x4c, 0x6f, 0x67, 0x73, 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, 0x50, 0x0a, - 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 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, - 0x55, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x73, 0x18, 0x05, 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, 0x08, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x42, 0x79, 0x73, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x8c, - 0x03, 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, 0x6b, 0x0a, 0x0b, 0x65, 0x64, 0x69, 0x74, - 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 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, - 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, - 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x64, 0x69, 0x74, 0x6f, - 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x18, 0x04, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xc7, 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, 0x4c, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x02, 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, 0x53, 0x70, 0x61, 0x6e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x5c, - 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, - 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, 0x53, 0x70, - 0x61, 0x6e, 0x73, 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, 0x51, 0x0a, 0x07, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 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, - 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x05, 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, 0x54, 0x69, 0x6d, - 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, - 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x97, 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, 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, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, - 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x03, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, - 0x65, 0x1a, 0x8d, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 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, 0x22, 0x5a, 0x0a, 0x0b, 0x54, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x4f, 0x4f, 0x4c, 0x54, 0x49, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, - 0x0a, 0x10, 0x54, 0x4f, 0x4f, 0x4c, 0x54, 0x49, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, - 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x4f, 0x4f, 0x4c, 0x54, 0x49, 0x50, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x02, 0x22, 0x61, 0x0a, - 0x0b, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x18, - 0x53, 0x54, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x54, - 0x41, 0x43, 0x4b, 0x45, 0x44, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x41, 0x42, 0x53, 0x4f, 0x4c, - 0x55, 0x54, 0x45, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x45, 0x44, - 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, - 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, - 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_goTypes = []any{ - (LineChart_TooltipType)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.TooltipType - (LineChart_StackedLine)(0), // 1: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.StackedLine - (*LineChart)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.LineChart - (*LineChart_QueryDefinition)(nil), // 3: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition - (*LineChart_Query)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Query - (*LineChart_Tooltip)(nil), // 5: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Tooltip - (*LineChart_LogsQuery)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery - (*LineChart_MetricsQuery)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.MetricsQuery - (*LineChart_SpansQuery)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.SpansQuery - (*LineChart_DataprimeQuery)(nil), // 9: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.DataprimeQuery - (*LineChart_Resolution)(nil), // 10: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Resolution - (*Legend)(nil), // 11: com.coralogixapis.dashboards.v1.ast.widgets.common.Legend - (*wrapperspb.StringValue)(nil), // 12: google.protobuf.StringValue - (*wrapperspb.Int64Value)(nil), // 13: google.protobuf.Int64Value - (Unit)(0), // 14: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - (ScaleType)(0), // 15: com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType - (*wrapperspb.BoolValue)(nil), // 16: google.protobuf.BoolValue - (DataModeType)(0), // 17: com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - (*wrapperspb.Int32Value)(nil), // 18: google.protobuf.Int32Value - (*LuceneQuery)(nil), // 19: com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - (*LogsAggregation)(nil), // 20: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*Filter_LogsFilter)(nil), // 21: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*ObservationField)(nil), // 22: com.coralogixapis.dashboards.v1.common.ObservationField - (*TimeFrameSelect)(nil), // 23: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (*PromQlQuery)(nil), // 24: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 25: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (MetricsQueryEditorMode)(0), // 26: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - (*SpanField)(nil), // 27: com.coralogixapis.dashboards.v1.common.SpanField - (*SpansAggregation)(nil), // 28: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 29: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*DataprimeQuery)(nil), // 30: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*Filter_Source)(nil), // 31: com.coralogixapis.dashboards.v1.ast.Filter.Source - (*durationpb.Duration)(nil), // 32: google.protobuf.Duration -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_depIdxs = []int32{ - 11, // 0: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.legend:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Legend - 5, // 1: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.tooltip:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Tooltip - 3, // 2: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.query_definitions:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition - 1, // 3: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.stacked_line:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.StackedLine - 12, // 4: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.id:type_name -> google.protobuf.StringValue - 4, // 5: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Query - 12, // 6: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.series_name_template:type_name -> google.protobuf.StringValue - 13, // 7: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.series_count_limit:type_name -> google.protobuf.Int64Value - 14, // 8: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.unit:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.Unit - 15, // 9: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.scale_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType - 12, // 10: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.name:type_name -> google.protobuf.StringValue - 16, // 11: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.is_visible:type_name -> google.protobuf.BoolValue - 12, // 12: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.color_scheme:type_name -> google.protobuf.StringValue - 10, // 13: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.resolution:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Resolution - 17, // 14: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.data_mode_type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType - 12, // 15: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.custom_unit:type_name -> google.protobuf.StringValue - 18, // 16: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.QueryDefinition.decimal:type_name -> google.protobuf.Int32Value - 6, // 17: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery - 7, // 18: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.MetricsQuery - 8, // 19: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.SpansQuery - 9, // 20: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.DataprimeQuery - 16, // 21: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Tooltip.show_labels:type_name -> google.protobuf.BoolValue - 0, // 22: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Tooltip.type:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart.TooltipType - 19, // 23: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 12, // 24: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery.group_by:type_name -> google.protobuf.StringValue - 20, // 25: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 21, // 26: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 22, // 27: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery.group_bys:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 23, // 28: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.LogsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 24, // 29: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 25, // 30: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 26, // 31: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.MetricsQuery.editor_mode:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - 23, // 32: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.MetricsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 19, // 33: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 27, // 34: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.SpansQuery.group_by:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 28, // 35: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.SpansQuery.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 29, // 36: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 23, // 37: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.SpansQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 30, // 38: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 31, // 39: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 23, // 40: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.DataprimeQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 32, // 41: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Resolution.interval:type_name -> google.protobuf.Duration - 18, // 42: com.coralogixapis.dashboards.v1.ast.widgets.LineChart.Resolution.buckets_presented:type_name -> google.protobuf.Int32Value - 43, // [43:43] is the sub-list for method output_type - 43, // [43:43] is the sub-list for method input_type - 43, // [43:43] is the sub-list for extension type_name - 43, // [43:43] is the sub-list for extension extendee - 0, // [0:43] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto != nil { - return - } - 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_metrics_query_editor_mode_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() - 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() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*LineChart); 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_line_chart_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_QueryDefinition); 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_line_chart_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_Query); 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_line_chart_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_Tooltip); 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_line_chart_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_LogsQuery); 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_line_chart_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_MetricsQuery); 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_line_chart_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_SpansQuery); 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_line_chart_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_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_line_chart_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*LineChart_Resolution); 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_line_chart_proto_msgTypes[2].OneofWrappers = []any{ - (*LineChart_Query_Logs)(nil), - (*LineChart_Query_Metrics)(nil), - (*LineChart_Query_Spans)(nil), - (*LineChart_Query_Dataprime)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDesc, - NumEnums: 2, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go b/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go deleted file mode 100644 index c09dac90..00000000 --- a/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/log_severity_level.proto - -package v1 - -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 LogSeverityLevel int32 - -const ( - LogSeverityLevel_LOG_SEVERITY_LEVEL_UNSPECIFIED LogSeverityLevel = 0 - LogSeverityLevel_LOG_SEVERITY_LEVEL_DEBUG LogSeverityLevel = 1 - LogSeverityLevel_LOG_SEVERITY_LEVEL_VERBOSE LogSeverityLevel = 2 - LogSeverityLevel_LOG_SEVERITY_LEVEL_INFO LogSeverityLevel = 3 - LogSeverityLevel_LOG_SEVERITY_LEVEL_WARNING LogSeverityLevel = 4 - LogSeverityLevel_LOG_SEVERITY_LEVEL_ERROR LogSeverityLevel = 5 - LogSeverityLevel_LOG_SEVERITY_LEVEL_CRITICAL LogSeverityLevel = 6 -) - -// Enum value maps for LogSeverityLevel. -var ( - LogSeverityLevel_name = map[int32]string{ - 0: "LOG_SEVERITY_LEVEL_UNSPECIFIED", - 1: "LOG_SEVERITY_LEVEL_DEBUG", - 2: "LOG_SEVERITY_LEVEL_VERBOSE", - 3: "LOG_SEVERITY_LEVEL_INFO", - 4: "LOG_SEVERITY_LEVEL_WARNING", - 5: "LOG_SEVERITY_LEVEL_ERROR", - 6: "LOG_SEVERITY_LEVEL_CRITICAL", - } - LogSeverityLevel_value = map[string]int32{ - "LOG_SEVERITY_LEVEL_UNSPECIFIED": 0, - "LOG_SEVERITY_LEVEL_DEBUG": 1, - "LOG_SEVERITY_LEVEL_VERBOSE": 2, - "LOG_SEVERITY_LEVEL_INFO": 3, - "LOG_SEVERITY_LEVEL_WARNING": 4, - "LOG_SEVERITY_LEVEL_ERROR": 5, - "LOG_SEVERITY_LEVEL_CRITICAL": 6, - } -) - -func (x LogSeverityLevel) Enum() *LogSeverityLevel { - p := new(LogSeverityLevel) - *p = x - return p -} - -func (x LogSeverityLevel) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (LogSeverityLevel) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_enumTypes[0].Descriptor() -} - -func (LogSeverityLevel) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_enumTypes[0] -} - -func (x LogSeverityLevel) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use LogSeverityLevel.Descriptor instead. -func (LogSeverityLevel) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_common_log_severity_level_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDesc = []byte{ - 0x0a, 0x3f, 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, 0x6f, 0x67, 0x5f, 0x73, 0x65, 0x76, - 0x65, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 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, 0x2a, 0xf0, 0x01, 0x0a, 0x10, 0x4c, 0x6f, - 0x67, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x22, - 0x0a, 0x1e, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, - 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, - 0x54, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, - 0x12, 0x1e, 0x0a, 0x1a, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, - 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x56, 0x45, 0x52, 0x42, 0x4f, 0x53, 0x45, 0x10, 0x02, - 0x12, 0x1b, 0x0a, 0x17, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, - 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x03, 0x12, 0x1e, 0x0a, - 0x1a, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x45, - 0x56, 0x45, 0x4c, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x1c, 0x0a, - 0x18, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x45, - 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x4c, - 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, - 0x4c, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x06, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_goTypes = []any{ - (LogSeverityLevel)(0), // 0: com.coralogixapis.dashboards.v1.common.LogSeverityLevel -} -var file_com_coralogixapis_dashboards_v1_common_log_severity_level_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_common_log_severity_level_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_log_severity_level_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_log_severity_level_proto = out.File - file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go b/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go deleted file mode 100644 index b4a6bdac..00000000 --- a/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go +++ /dev/null @@ -1,864 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/logs_aggregation.proto - -package v1 - -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 LogsAggregation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *LogsAggregation_Count_ - // *LogsAggregation_CountDistinct_ - // *LogsAggregation_Sum_ - // *LogsAggregation_Average_ - // *LogsAggregation_Min_ - // *LogsAggregation_Max_ - // *LogsAggregation_Percentile_ - Value isLogsAggregation_Value `protobuf_oneof:"value"` -} - -func (x *LogsAggregation) Reset() { - *x = LogsAggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation) ProtoMessage() {} - -func (x *LogsAggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation.ProtoReflect.Descriptor instead. -func (*LogsAggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0} -} - -func (m *LogsAggregation) GetValue() isLogsAggregation_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *LogsAggregation) GetCount() *LogsAggregation_Count { - if x, ok := x.GetValue().(*LogsAggregation_Count_); ok { - return x.Count - } - return nil -} - -func (x *LogsAggregation) GetCountDistinct() *LogsAggregation_CountDistinct { - if x, ok := x.GetValue().(*LogsAggregation_CountDistinct_); ok { - return x.CountDistinct - } - return nil -} - -func (x *LogsAggregation) GetSum() *LogsAggregation_Sum { - if x, ok := x.GetValue().(*LogsAggregation_Sum_); ok { - return x.Sum - } - return nil -} - -func (x *LogsAggregation) GetAverage() *LogsAggregation_Average { - if x, ok := x.GetValue().(*LogsAggregation_Average_); ok { - return x.Average - } - return nil -} - -func (x *LogsAggregation) GetMin() *LogsAggregation_Min { - if x, ok := x.GetValue().(*LogsAggregation_Min_); ok { - return x.Min - } - return nil -} - -func (x *LogsAggregation) GetMax() *LogsAggregation_Max { - if x, ok := x.GetValue().(*LogsAggregation_Max_); ok { - return x.Max - } - return nil -} - -func (x *LogsAggregation) GetPercentile() *LogsAggregation_Percentile { - if x, ok := x.GetValue().(*LogsAggregation_Percentile_); ok { - return x.Percentile - } - return nil -} - -type isLogsAggregation_Value interface { - isLogsAggregation_Value() -} - -type LogsAggregation_Count_ struct { - Count *LogsAggregation_Count `protobuf:"bytes,1,opt,name=count,proto3,oneof"` -} - -type LogsAggregation_CountDistinct_ struct { - CountDistinct *LogsAggregation_CountDistinct `protobuf:"bytes,2,opt,name=count_distinct,json=countDistinct,proto3,oneof"` -} - -type LogsAggregation_Sum_ struct { - Sum *LogsAggregation_Sum `protobuf:"bytes,3,opt,name=sum,proto3,oneof"` -} - -type LogsAggregation_Average_ struct { - Average *LogsAggregation_Average `protobuf:"bytes,4,opt,name=average,proto3,oneof"` -} - -type LogsAggregation_Min_ struct { - Min *LogsAggregation_Min `protobuf:"bytes,5,opt,name=min,proto3,oneof"` -} - -type LogsAggregation_Max_ struct { - Max *LogsAggregation_Max `protobuf:"bytes,6,opt,name=max,proto3,oneof"` -} - -type LogsAggregation_Percentile_ struct { - Percentile *LogsAggregation_Percentile `protobuf:"bytes,7,opt,name=percentile,proto3,oneof"` -} - -func (*LogsAggregation_Count_) isLogsAggregation_Value() {} - -func (*LogsAggregation_CountDistinct_) isLogsAggregation_Value() {} - -func (*LogsAggregation_Sum_) isLogsAggregation_Value() {} - -func (*LogsAggregation_Average_) isLogsAggregation_Value() {} - -func (*LogsAggregation_Min_) isLogsAggregation_Value() {} - -func (*LogsAggregation_Max_) isLogsAggregation_Value() {} - -func (*LogsAggregation_Percentile_) isLogsAggregation_Value() {} - -type LogsAggregation_Count struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *LogsAggregation_Count) Reset() { - *x = LogsAggregation_Count{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation_Count) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation_Count) ProtoMessage() {} - -func (x *LogsAggregation_Count) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation_Count.ProtoReflect.Descriptor instead. -func (*LogsAggregation_Count) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0, 0} -} - -type LogsAggregation_CountDistinct struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,2,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *LogsAggregation_CountDistinct) Reset() { - *x = LogsAggregation_CountDistinct{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation_CountDistinct) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation_CountDistinct) ProtoMessage() {} - -func (x *LogsAggregation_CountDistinct) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation_CountDistinct.ProtoReflect.Descriptor instead. -func (*LogsAggregation_CountDistinct) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *LogsAggregation_CountDistinct) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *LogsAggregation_CountDistinct) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -type LogsAggregation_Sum struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,2,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *LogsAggregation_Sum) Reset() { - *x = LogsAggregation_Sum{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation_Sum) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation_Sum) ProtoMessage() {} - -func (x *LogsAggregation_Sum) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation_Sum.ProtoReflect.Descriptor instead. -func (*LogsAggregation_Sum) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *LogsAggregation_Sum) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *LogsAggregation_Sum) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -type LogsAggregation_Average struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,2,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *LogsAggregation_Average) Reset() { - *x = LogsAggregation_Average{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation_Average) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation_Average) ProtoMessage() {} - -func (x *LogsAggregation_Average) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation_Average.ProtoReflect.Descriptor instead. -func (*LogsAggregation_Average) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *LogsAggregation_Average) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *LogsAggregation_Average) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -type LogsAggregation_Min struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,2,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *LogsAggregation_Min) Reset() { - *x = LogsAggregation_Min{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation_Min) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation_Min) ProtoMessage() {} - -func (x *LogsAggregation_Min) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation_Min.ProtoReflect.Descriptor instead. -func (*LogsAggregation_Min) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *LogsAggregation_Min) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *LogsAggregation_Min) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -type LogsAggregation_Max struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,2,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *LogsAggregation_Max) Reset() { - *x = LogsAggregation_Max{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation_Max) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation_Max) ProtoMessage() {} - -func (x *LogsAggregation_Max) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation_Max.ProtoReflect.Descriptor instead. -func (*LogsAggregation_Max) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *LogsAggregation_Max) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *LogsAggregation_Max) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -type LogsAggregation_Percentile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - // Value in range (0, 100] - Percent *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=percent,proto3" json:"percent,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,3,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *LogsAggregation_Percentile) Reset() { - *x = LogsAggregation_Percentile{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsAggregation_Percentile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsAggregation_Percentile) ProtoMessage() {} - -func (x *LogsAggregation_Percentile) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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 LogsAggregation_Percentile.ProtoReflect.Descriptor instead. -func (*LogsAggregation_Percentile) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP(), []int{0, 6} -} - -func (x *LogsAggregation_Percentile) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *LogsAggregation_Percentile) GetPercent() *wrapperspb.DoubleValue { - if x != nil { - return x.Percent - } - return nil -} - -func (x *LogsAggregation_Percentile) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_logs_aggregation_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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 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, - 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 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, 0xbf, 0x0d, 0x0a, 0x0f, 0x4c, 0x6f, 0x67, 0x73, - 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 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, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x6e, 0x0a, 0x0e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x74, - 0x69, 0x6e, 0x63, 0x74, 0x18, 0x02, 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, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x63, - 0x74, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x69, 0x6e, - 0x63, 0x74, 0x12, 0x4f, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x18, 0x03, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x03, - 0x73, 0x75, 0x6d, 0x12, 0x5b, 0x0a, 0x07, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x04, - 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, 0x4c, 0x6f, - 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x76, - 0x65, 0x72, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, - 0x12, 0x4f, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x05, 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, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x6e, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x69, - 0x6e, 0x12, 0x4f, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x06, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x78, 0x48, 0x00, 0x52, 0x03, 0x6d, - 0x61, 0x78, 0x12, 0x64, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x69, 0x6c, 0x65, - 0x18, 0x07, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x65, - 0x72, 0x63, 0x65, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x1a, 0x07, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x1a, 0xaa, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x74, 0x69, - 0x6e, 0x63, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, - 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, 0x65, - 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x6f, 0x62, - 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xa0, - 0x01, 0x0a, 0x03, 0x53, 0x75, 0x6d, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, - 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, - 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, - 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x1a, 0xa4, 0x01, 0x0a, 0x07, 0x41, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, - 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xa0, 0x01, 0x0a, 0x03, 0x4d, 0x69, 0x6e, - 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, - 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xa0, 0x01, 0x0a, 0x03, - 0x4d, 0x61, 0x78, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, - 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x4f, 0x62, 0x73, 0x65, - 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x6f, 0x62, - 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xdf, - 0x01, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x32, 0x0a, - 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 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, 0x07, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, - 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x03, - 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, 0x10, - 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_goTypes = []any{ - (*LogsAggregation)(nil), // 0: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*LogsAggregation_Count)(nil), // 1: com.coralogixapis.dashboards.v1.common.LogsAggregation.Count - (*LogsAggregation_CountDistinct)(nil), // 2: com.coralogixapis.dashboards.v1.common.LogsAggregation.CountDistinct - (*LogsAggregation_Sum)(nil), // 3: com.coralogixapis.dashboards.v1.common.LogsAggregation.Sum - (*LogsAggregation_Average)(nil), // 4: com.coralogixapis.dashboards.v1.common.LogsAggregation.Average - (*LogsAggregation_Min)(nil), // 5: com.coralogixapis.dashboards.v1.common.LogsAggregation.Min - (*LogsAggregation_Max)(nil), // 6: com.coralogixapis.dashboards.v1.common.LogsAggregation.Max - (*LogsAggregation_Percentile)(nil), // 7: com.coralogixapis.dashboards.v1.common.LogsAggregation.Percentile - (*wrapperspb.StringValue)(nil), // 8: google.protobuf.StringValue - (*ObservationField)(nil), // 9: com.coralogixapis.dashboards.v1.common.ObservationField - (*wrapperspb.DoubleValue)(nil), // 10: google.protobuf.DoubleValue -} -var file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.LogsAggregation.count:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation.Count - 2, // 1: com.coralogixapis.dashboards.v1.common.LogsAggregation.count_distinct:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation.CountDistinct - 3, // 2: com.coralogixapis.dashboards.v1.common.LogsAggregation.sum:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation.Sum - 4, // 3: com.coralogixapis.dashboards.v1.common.LogsAggregation.average:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation.Average - 5, // 4: com.coralogixapis.dashboards.v1.common.LogsAggregation.min:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation.Min - 6, // 5: com.coralogixapis.dashboards.v1.common.LogsAggregation.max:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation.Max - 7, // 6: com.coralogixapis.dashboards.v1.common.LogsAggregation.percentile:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation.Percentile - 8, // 7: com.coralogixapis.dashboards.v1.common.LogsAggregation.CountDistinct.field:type_name -> google.protobuf.StringValue - 9, // 8: com.coralogixapis.dashboards.v1.common.LogsAggregation.CountDistinct.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 8, // 9: com.coralogixapis.dashboards.v1.common.LogsAggregation.Sum.field:type_name -> google.protobuf.StringValue - 9, // 10: com.coralogixapis.dashboards.v1.common.LogsAggregation.Sum.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 8, // 11: com.coralogixapis.dashboards.v1.common.LogsAggregation.Average.field:type_name -> google.protobuf.StringValue - 9, // 12: com.coralogixapis.dashboards.v1.common.LogsAggregation.Average.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 8, // 13: com.coralogixapis.dashboards.v1.common.LogsAggregation.Min.field:type_name -> google.protobuf.StringValue - 9, // 14: com.coralogixapis.dashboards.v1.common.LogsAggregation.Min.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 8, // 15: com.coralogixapis.dashboards.v1.common.LogsAggregation.Max.field:type_name -> google.protobuf.StringValue - 9, // 16: com.coralogixapis.dashboards.v1.common.LogsAggregation.Max.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 8, // 17: com.coralogixapis.dashboards.v1.common.LogsAggregation.Percentile.field:type_name -> google.protobuf.StringValue - 10, // 18: com.coralogixapis.dashboards.v1.common.LogsAggregation.Percentile.percent:type_name -> google.protobuf.DoubleValue - 9, // 19: com.coralogixapis.dashboards.v1.common.LogsAggregation.Percentile.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 20, // [20:20] is the sub-list for method output_type - 20, // [20:20] is the sub-list for method input_type - 20, // [20:20] is the sub-list for extension type_name - 20, // [20:20] is the sub-list for extension extendee - 0, // [0:20] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation); 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_logs_aggregation_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation_Count); 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_logs_aggregation_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation_CountDistinct); 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_logs_aggregation_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation_Sum); 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_logs_aggregation_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation_Average); 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_logs_aggregation_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation_Min); 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_logs_aggregation_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation_Max); 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_logs_aggregation_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*LogsAggregation_Percentile); 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_logs_aggregation_proto_msgTypes[0].OneofWrappers = []any{ - (*LogsAggregation_Count_)(nil), - (*LogsAggregation_CountDistinct_)(nil), - (*LogsAggregation_Sum_)(nil), - (*LogsAggregation_Average_)(nil), - (*LogsAggregation_Min_)(nil), - (*LogsAggregation_Max_)(nil), - (*LogsAggregation_Percentile_)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto = out.File - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/logs_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/logs_data_source_service.pb.go deleted file mode 100644 index c3117383..00000000 --- a/coralogix/clientset/grpc/dashboards/logs_data_source_service.pb.go +++ /dev/null @@ -1,2551 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/logs_data_source_service.proto - -package v1 - -import ( - 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 ( - // 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 SearchLogsTimeSeriesRequest 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_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"` - 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"` -} - -func (x *SearchLogsTimeSeriesRequest) Reset() { - *x = SearchLogsTimeSeriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsTimeSeriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsTimeSeriesRequest) ProtoMessage() {} - -func (x *SearchLogsTimeSeriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsTimeSeriesRequest.ProtoReflect.Descriptor instead. -func (*SearchLogsTimeSeriesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{0} -} - -func (x *SearchLogsTimeSeriesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchLogsTimeSeriesRequest) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval - } - return nil -} - -func (x *SearchLogsTimeSeriesRequest) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchLogsTimeSeriesRequest) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *SearchLogsTimeSeriesRequest) GetAggregations() []*LogsAggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -func (x *SearchLogsTimeSeriesRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -func (x *SearchLogsTimeSeriesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -type SearchLogsTimeSeriesResponse 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 *SearchLogsTimeSeriesResponse) Reset() { - *x = SearchLogsTimeSeriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsTimeSeriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsTimeSeriesResponse) ProtoMessage() {} - -func (x *SearchLogsTimeSeriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsTimeSeriesResponse.ProtoReflect.Descriptor instead. -func (*SearchLogsTimeSeriesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{1} -} - -func (x *SearchLogsTimeSeriesResponse) GetTimeSeries() []*TimeSeries { - if x != nil { - return x.TimeSeries - } - return nil -} - -func (x *SearchLogsTimeSeriesResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -type SearchLogsEventsRequest 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"` - 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"` - Pagination *SearchLogsEventsRequest_Pagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` -} - -func (x *SearchLogsEventsRequest) Reset() { - *x = SearchLogsEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsEventsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsEventsRequest) ProtoMessage() {} - -func (x *SearchLogsEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsEventsRequest.ProtoReflect.Descriptor instead. -func (*SearchLogsEventsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{2} -} - -func (x *SearchLogsEventsRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchLogsEventsRequest) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchLogsEventsRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchLogsEventsRequest) GetOrderBy() []*OrderingField { - if x != nil { - return x.OrderBy - } - return nil -} - -func (x *SearchLogsEventsRequest) GetPagination() *SearchLogsEventsRequest_Pagination { - if x != nil { - return x.Pagination - } - return nil -} - -type SearchLogsEventsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"` - Events []*LogsEvent `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` -} - -func (x *SearchLogsEventsResponse) Reset() { - *x = SearchLogsEventsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsEventsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsEventsResponse) ProtoMessage() {} - -func (x *SearchLogsEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsEventsResponse.ProtoReflect.Descriptor instead. -func (*SearchLogsEventsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{3} -} - -func (x *SearchLogsEventsResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -func (x *SearchLogsEventsResponse) GetEvents() []*LogsEvent { - if x != nil { - return x.Events - } - return nil -} - -type SearchLogsEventGroupsRequest 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"` - 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"` - 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"` -} - -func (x *SearchLogsEventGroupsRequest) Reset() { - *x = SearchLogsEventGroupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsEventGroupsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsEventGroupsRequest) ProtoMessage() {} - -func (x *SearchLogsEventGroupsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsEventGroupsRequest.ProtoReflect.Descriptor instead. -func (*SearchLogsEventGroupsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{4} -} - -func (x *SearchLogsEventGroupsRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchLogsEventGroupsRequest) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchLogsEventGroupsRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchLogsEventGroupsRequest) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *SearchLogsEventGroupsRequest) GetAggregations() []*LogsAggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -func (x *SearchLogsEventGroupsRequest) GetOrderBy() []*SearchLogsEventGroupsRequest_OrderBy { - if x != nil { - return x.OrderBy - } - return nil -} - -func (x *SearchLogsEventGroupsRequest) GetPagination() *Pagination { - if x != nil { - return x.Pagination - } - return nil -} - -type SearchLogsEventGroupsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*MultiGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` -} - -func (x *SearchLogsEventGroupsResponse) Reset() { - *x = SearchLogsEventGroupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsEventGroupsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsEventGroupsResponse) ProtoMessage() {} - -func (x *SearchLogsEventGroupsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsEventGroupsResponse.ProtoReflect.Descriptor instead. -func (*SearchLogsEventGroupsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{5} -} - -func (x *SearchLogsEventGroupsResponse) GetGroups() []*MultiGroup { - if x != nil { - return x.Groups - } - return nil -} - -type SearchGroupedLogsSeriesRequest 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"` - 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"` - 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"` -} - -func (x *SearchGroupedLogsSeriesRequest) Reset() { - *x = SearchGroupedLogsSeriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchGroupedLogsSeriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchGroupedLogsSeriesRequest) ProtoMessage() {} - -func (x *SearchGroupedLogsSeriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchGroupedLogsSeriesRequest.ProtoReflect.Descriptor instead. -func (*SearchGroupedLogsSeriesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{6} -} - -func (x *SearchGroupedLogsSeriesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchGroupedLogsSeriesRequest) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchGroupedLogsSeriesRequest) GetGroupByFields() []*wrapperspb.StringValue { - if x != nil { - return x.GroupByFields - } - return nil -} - -func (x *SearchGroupedLogsSeriesRequest) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *SearchGroupedLogsSeriesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchGroupedLogsSeriesRequest) GetLimits() []*SearchGroupedLogsSeriesRequest_Limit { - if x != nil { - return x.Limits - } - return nil -} - -type SearchGroupedLogsSeriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` -} - -func (x *SearchGroupedLogsSeriesResponse) Reset() { - *x = SearchGroupedLogsSeriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchGroupedLogsSeriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchGroupedLogsSeriesResponse) ProtoMessage() {} - -func (x *SearchGroupedLogsSeriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchGroupedLogsSeriesResponse.ProtoReflect.Descriptor instead. -func (*SearchGroupedLogsSeriesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{7} -} - -func (x *SearchGroupedLogsSeriesResponse) GetSeries() []*GroupedSeries { - if x != nil { - return x.Series - } - return nil -} - -type SearchLogsGroupedTimeSeriesRequest 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_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"` -} - -func (x *SearchLogsGroupedTimeSeriesRequest) Reset() { - *x = SearchLogsGroupedTimeSeriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsGroupedTimeSeriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsGroupedTimeSeriesRequest) ProtoMessage() {} - -func (x *SearchLogsGroupedTimeSeriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsGroupedTimeSeriesRequest.ProtoReflect.Descriptor instead. -func (*SearchLogsGroupedTimeSeriesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{8} -} - -func (x *SearchLogsGroupedTimeSeriesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchLogsGroupedTimeSeriesRequest) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval - } - return nil -} - -func (x *SearchLogsGroupedTimeSeriesRequest) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchLogsGroupedTimeSeriesRequest) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *SearchLogsGroupedTimeSeriesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchLogsGroupedTimeSeriesRequest) GetGroupBy() []*SearchLogsGroupedTimeSeriesRequest_GroupBy { - if x != nil { - return x.GroupBy - } - return nil -} - -type SearchLogsGroupedTimeSeriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` -} - -func (x *SearchLogsGroupedTimeSeriesResponse) Reset() { - *x = SearchLogsGroupedTimeSeriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsGroupedTimeSeriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsGroupedTimeSeriesResponse) ProtoMessage() {} - -func (x *SearchLogsGroupedTimeSeriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsGroupedTimeSeriesResponse.ProtoReflect.Descriptor instead. -func (*SearchLogsGroupedTimeSeriesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{9} -} - -func (x *SearchLogsGroupedTimeSeriesResponse) GetSeries() []*GroupedSeries { - if x != nil { - return x.Series - } - return nil -} - -type LogsEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - 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"` -} - -func (x *LogsEvent) Reset() { - *x = LogsEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsEvent) ProtoMessage() {} - -func (x *LogsEvent) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 LogsEvent.ProtoReflect.Descriptor instead. -func (*LogsEvent) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{10} -} - -func (x *LogsEvent) GetLogId() *wrapperspb.StringValue { - if x != nil { - return x.LogId - } - return nil -} - -func (x *LogsEvent) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -func (x *LogsEvent) GetText() *wrapperspb.StringValue { - if x != nil { - return x.Text - } - return nil -} - -func (x *LogsEvent) GetJson() *structpb.Struct { - if x != nil { - return x.Json - } - return nil -} - -func (x *LogsEvent) GetLogsMetadata() *LogsMetadata { - if x != nil { - return x.LogsMetadata - } - return nil -} - -type LogsMetadata 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"` - Severity LogSeverityLevel `protobuf:"varint,3,opt,name=severity,proto3,enum=com.coralogixapis.dashboards.v1.common.LogSeverityLevel" json:"severity,omitempty"` -} - -func (x *LogsMetadata) Reset() { - *x = LogsMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsMetadata) ProtoMessage() {} - -func (x *LogsMetadata) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 LogsMetadata.ProtoReflect.Descriptor instead. -func (*LogsMetadata) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{11} -} - -func (x *LogsMetadata) GetApplicationName() *wrapperspb.StringValue { - if x != nil { - return x.ApplicationName - } - return nil -} - -func (x *LogsMetadata) GetSubsystemName() *wrapperspb.StringValue { - if x != nil { - return x.SubsystemName - } - return nil -} - -func (x *LogsMetadata) GetSeverity() LogSeverityLevel { - if x != nil { - return x.Severity - } - return LogSeverityLevel_LOG_SEVERITY_LEVEL_UNSPECIFIED -} - -type SearchLogsTimeValueRequest 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"` - 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() { - *x = SearchLogsTimeValueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsTimeValueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsTimeValueRequest) ProtoMessage() {} - -func (x *SearchLogsTimeValueRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsTimeValueRequest.ProtoReflect.Descriptor instead. -func (*SearchLogsTimeValueRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{12} -} - -func (x *SearchLogsTimeValueRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchLogsTimeValueRequest) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchLogsTimeValueRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchLogsTimeValueRequest) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -type SearchLogsTimeValueResponse 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 *SearchLogsTimeValueResponse) Reset() { - *x = SearchLogsTimeValueResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsTimeValueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsTimeValueResponse) ProtoMessage() {} - -func (x *SearchLogsTimeValueResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsTimeValueResponse.ProtoReflect.Descriptor instead. -func (*SearchLogsTimeValueResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{13} -} - -func (x *SearchLogsTimeValueResponse) GetValue() *wrapperspb.DoubleValue { - if x != nil { - return x.Value - } - return nil -} - -type SearchLogsGroupedValuesRequest 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"` - 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"` - Aggregation *LogsAggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *SearchLogsGroupedValuesRequest) Reset() { - *x = SearchLogsGroupedValuesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsGroupedValuesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsGroupedValuesRequest) ProtoMessage() {} - -func (x *SearchLogsGroupedValuesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchLogsGroupedValuesRequest.ProtoReflect.Descriptor instead. -func (*SearchLogsGroupedValuesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{14} -} - -func (x *SearchLogsGroupedValuesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchLogsGroupedValuesRequest) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchLogsGroupedValuesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchLogsGroupedValuesRequest) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *SearchLogsGroupedValuesRequest) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *SearchLogsGroupedValuesRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchLogsGroupedValuesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,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 *SearchLogsGroupedValuesResponse) Reset() { - *x = SearchLogsGroupedValuesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsGroupedValuesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsGroupedValuesResponse) ProtoMessage() {} - -func (x *SearchLogsGroupedValuesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_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 SearchLogsGroupedValuesResponse.ProtoReflect.Descriptor instead. -func (*SearchLogsGroupedValuesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{15} -} - -func (x *SearchLogsGroupedValuesResponse) GetGroups() []*Group { - if x != nil { - return x.Groups - } - return nil -} - -func (x *SearchLogsGroupedValuesResponse) GetIsLimitExceeded() bool { - if x != nil { - return x.IsLimitExceeded - } - return false -} - -func (x *SearchLogsGroupedValuesResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -type SearchLogsAnnotationEventsRequest 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"` - DataprimeQuery *FullDataprimeQuery `protobuf:"bytes,3,opt,name=dataprime_query,json=dataprimeQuery,proto3" json:"dataprime_query,omitempty"` - Strategy *Annotation_LogsSource_Strategy `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *SearchLogsAnnotationEventsRequest) Reset() { - *x = SearchLogsAnnotationEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsAnnotationEventsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsAnnotationEventsRequest) ProtoMessage() {} - -func (x *SearchLogsAnnotationEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_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 SearchLogsAnnotationEventsRequest.ProtoReflect.Descriptor instead. -func (*SearchLogsAnnotationEventsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{16} -} - -func (x *SearchLogsAnnotationEventsRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchLogsAnnotationEventsRequest) GetDataprimeQuery() *FullDataprimeQuery { - if x != nil { - return x.DataprimeQuery - } - return nil -} - -func (x *SearchLogsAnnotationEventsRequest) GetStrategy() *Annotation_LogsSource_Strategy { - if x != nil { - return x.Strategy - } - return nil -} - -func (x *SearchLogsAnnotationEventsRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchLogsAnnotationEventsResponse 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 *SearchLogsAnnotationEventsResponse) Reset() { - *x = SearchLogsAnnotationEventsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsAnnotationEventsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsAnnotationEventsResponse) ProtoMessage() {} - -func (x *SearchLogsAnnotationEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_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 SearchLogsAnnotationEventsResponse.ProtoReflect.Descriptor instead. -func (*SearchLogsAnnotationEventsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{17} -} - -func (x *SearchLogsAnnotationEventsResponse) GetAnnotationEvents() []*AnnotationEvent { - if x != nil { - return x.AnnotationEvents - } - return nil -} - -type SearchLogsEventsRequest_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 *SearchLogsEventsRequest_Pagination) Reset() { - *x = SearchLogsEventsRequest_Pagination{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsEventsRequest_Pagination) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsEventsRequest_Pagination) ProtoMessage() {} - -func (x *SearchLogsEventsRequest_Pagination) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[18] - 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 SearchLogsEventsRequest_Pagination.ProtoReflect.Descriptor instead. -func (*SearchLogsEventsRequest_Pagination) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *SearchLogsEventsRequest_Pagination) GetOffset() *wrapperspb.Int32Value { - if x != nil { - return x.Offset - } - return nil -} - -func (x *SearchLogsEventsRequest_Pagination) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchLogsEventGroupsRequest_OrderBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Field: - // - // *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.common.OrderDirection" json:"order_direction,omitempty"` -} - -func (x *SearchLogsEventGroupsRequest_OrderBy) Reset() { - *x = SearchLogsEventGroupsRequest_OrderBy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsEventGroupsRequest_OrderBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsEventGroupsRequest_OrderBy) ProtoMessage() {} - -func (x *SearchLogsEventGroupsRequest_OrderBy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[19] - 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 SearchLogsEventGroupsRequest_OrderBy.ProtoReflect.Descriptor instead. -func (*SearchLogsEventGroupsRequest_OrderBy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{4, 0} -} - -func (m *SearchLogsEventGroupsRequest_OrderBy) GetField() isSearchLogsEventGroupsRequest_OrderBy_Field { - if m != nil { - return m.Field - } - return nil -} - -func (x *SearchLogsEventGroupsRequest_OrderBy) GetGrouping() *wrapperspb.StringValue { - if x, ok := x.GetField().(*SearchLogsEventGroupsRequest_OrderBy_Grouping); ok { - return x.Grouping - } - return nil -} - -func (x *SearchLogsEventGroupsRequest_OrderBy) GetAggregation() *LogsAggregation { - if x, ok := x.GetField().(*SearchLogsEventGroupsRequest_OrderBy_Aggregation); ok { - return x.Aggregation - } - return nil -} - -func (x *SearchLogsEventGroupsRequest_OrderBy) GetOrderDirection() OrderDirection { - if x != nil { - return x.OrderDirection - } - return OrderDirection_ORDER_DIRECTION_UNSPECIFIED -} - -type isSearchLogsEventGroupsRequest_OrderBy_Field interface { - isSearchLogsEventGroupsRequest_OrderBy_Field() -} - -type SearchLogsEventGroupsRequest_OrderBy_Grouping struct { - Grouping *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=grouping,proto3,oneof"` -} - -type SearchLogsEventGroupsRequest_OrderBy_Aggregation struct { - Aggregation *LogsAggregation `protobuf:"bytes,2,opt,name=aggregation,proto3,oneof"` -} - -func (*SearchLogsEventGroupsRequest_OrderBy_Grouping) isSearchLogsEventGroupsRequest_OrderBy_Field() { -} - -func (*SearchLogsEventGroupsRequest_OrderBy_Aggregation) isSearchLogsEventGroupsRequest_OrderBy_Field() { -} - -type SearchGroupedLogsSeriesRequest_Limit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupByFields []*wrapperspb.StringValue `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"` -} - -func (x *SearchGroupedLogsSeriesRequest_Limit) Reset() { - *x = SearchGroupedLogsSeriesRequest_Limit{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchGroupedLogsSeriesRequest_Limit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchGroupedLogsSeriesRequest_Limit) ProtoMessage() {} - -func (x *SearchGroupedLogsSeriesRequest_Limit) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[20] - 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 SearchGroupedLogsSeriesRequest_Limit.ProtoReflect.Descriptor instead. -func (*SearchGroupedLogsSeriesRequest_Limit) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{6, 0} -} - -func (x *SearchGroupedLogsSeriesRequest_Limit) GetGroupByFields() []*wrapperspb.StringValue { - if x != nil { - return x.GroupByFields - } - return nil -} - -func (x *SearchGroupedLogsSeriesRequest_Limit) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -func (x *SearchGroupedLogsSeriesRequest_Limit) GetMinPercentage() *wrapperspb.Int32Value { - if x != nil { - return x.MinPercentage - } - return nil -} - -type SearchLogsGroupedTimeSeriesRequest_GroupBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Fields []*wrapperspb.StringValue `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"` -} - -func (x *SearchLogsGroupedTimeSeriesRequest_GroupBy) Reset() { - *x = SearchLogsGroupedTimeSeriesRequest_GroupBy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchLogsGroupedTimeSeriesRequest_GroupBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchLogsGroupedTimeSeriesRequest_GroupBy) ProtoMessage() {} - -func (x *SearchLogsGroupedTimeSeriesRequest_GroupBy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes[21] - 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 SearchLogsGroupedTimeSeriesRequest_GroupBy.ProtoReflect.Descriptor instead. -func (*SearchLogsGroupedTimeSeriesRequest_GroupBy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP(), []int{8, 0} -} - -func (x *SearchLogsGroupedTimeSeriesRequest_GroupBy) GetFields() []*wrapperspb.StringValue { - if x != nil { - return x.Fields - } - return nil -} - -func (x *SearchLogsGroupedTimeSeriesRequest_GroupBy) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -func (x *SearchLogsGroupedTimeSeriesRequest_GroupBy) GetMinPercentage() *wrapperspb.Int32Value { - if x != nil { - return x.MinPercentage - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDesc = []byte{ - 0x0a, 0x47, 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, 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, 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, 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, - 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, 0x3f, 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, 0x6f, 0x67, 0x5f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, - 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 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, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 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, 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, 0x82, 0x04, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x4c, 0x6f, 0x67, 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, - 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, 0x37, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 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, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x5b, 0x0a, 0x0c, 0x61, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 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, 0x4c, 0x6f, 0x67, 0x73, 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, 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, 0x12, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, - 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 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, 0x0b, - 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x22, 0xa6, 0x01, 0x0a, 0x1c, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 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, 0xba, 0x04, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, - 0x6f, 0x67, 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, 0x50, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x50, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, - 0x79, 0x18, 0x05, 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, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x6c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x4c, 0x6f, 0x67, - 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, 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, 0x4a, 0x04, 0x08, 0x04, 0x10, - 0x05, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, - 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 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, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x12, 0x4b, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 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, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4c, 0x6f, 0x67, - 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe7, - 0x06, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x50, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x37, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, - 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, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x5b, 0x0a, - 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 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, 0x4c, 0x6f, 0x67, - 0x73, 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, 0x69, 0x0a, 0x08, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x4c, 0x6f, - 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x12, 0x52, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x07, 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, 0x1a, 0x8c, 0x02, 0x0a, 0x07, 0x4f, 0x72, - 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x3a, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, - 0x67, 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, 0x48, 0x00, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x69, 0x6e, - 0x67, 0x12, 0x5b, 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, 0x48, - 0x00, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f, - 0x0a, 0x0f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 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, - 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, - 0x07, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x6b, 0x0a, 0x1d, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 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, 0xd5, 0x05, 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 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, 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, 0x50, 0x0a, 0x07, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 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, 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, 0x44, 0x0a, 0x0f, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x04, 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, 0x3f, 0x0a, - 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 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, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x66, - 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 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, 0x1a, 0xc4, 0x01, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x44, 0x0a, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x66, 0x69, 0x65, - 0x6c, 0x64, 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, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, - 0x46, 0x69, 0x65, 0x6c, 0x64, 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, 0x70, 0x0a, - 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 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, - 0xc5, 0x05, 0x0a, 0x22, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 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, - 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, 0x59, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 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, 0x3f, 0x0a, 0x0c, - 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 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, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6f, 0x0a, - 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, - 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, 0x4c, 0x6f, 0x67, 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, 0x1a, 0xb6, - 0x01, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x69, - 0x65, 0x6c, 0x64, 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, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x74, 0x0a, 0x23, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x4c, 0x6f, 0x67, 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, 0xbc, 0x02, - 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x6c, - 0x6f, 0x67, 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, 0x05, 0x6c, 0x6f, 0x67, 0x49, 0x64, - 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 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, - 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x65, - 0x78, 0x74, 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, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2b, 0x0a, 0x04, - 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x05, 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, 0x04, 0x6a, 0x73, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x0d, 0x6c, 0x6f, 0x67, - 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x73, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x6c, 0x6f, 0x67, 0x73, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xf2, 0x01, 0x0a, - 0x0c, 0x4c, 0x6f, 0x67, 0x73, 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, 0x54, 0x0a, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 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, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, - 0x79, 0x22, 0xdc, 0x02, 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, - 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x50, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 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, 0x04, 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, - 0x22, 0x51, 0x0a, 0x1b, 0x53, 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, 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, 0x22, 0xcc, 0x03, 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, - 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 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, 0x50, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 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, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, - 0x63, 0x65, 0x6e, 0x65, 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, - 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x37, 0x0a, 0x08, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 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, 0x07, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x42, 0x79, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 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, - 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, 0xc7, 0x01, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, - 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x18, 0x01, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0xee, 0x02, 0x0a, - 0x21, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 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, 0x63, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, - 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 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, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 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, 0x5f, 0x0a, 0x08, 0x73, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x4c, 0x6f, 0x67, - 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, 0x05, 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, 0x8a, 0x01, - 0x0a, 0x22, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 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, 0x83, 0x0d, 0x0a, 0x15, 0x4c, - 0x6f, 0x67, 0x73, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0xc4, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, - 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 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, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, - 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 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, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, - 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0xba, 0xb8, - 0x02, 0x19, 0x0a, 0x17, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, - 0x74, 0x69, 0x6d, 0x65, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xb3, 0x01, 0x0a, 0x10, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, - 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, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 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, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0xba, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x73, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0xc9, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 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, 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, 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, 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, 0x19, 0xba, 0xb8, 0x02, 0x15, 0x0a, 0x13, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, - 0x64, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xda, 0x01, - 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x65, 0x64, 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, 0x4c, - 0x6f, 0x67, 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, 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, 0x4c, 0x6f, 0x67, - 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, 0x1e, 0xba, 0xb8, 0x02, 0x1a, - 0x0a, 0x18, 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, 0xc8, 0x01, 0x0a, 0x15, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x73, 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, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x73, 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, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, - 0x67, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0xba, 0xb8, 0x02, 0x1a, 0x0a, 0x18, 0x73, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x20, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xc6, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x4c, 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x4c, - 0x6f, 0x67, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 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, 0x12, 0xdc, - 0x01, 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 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, 0x4c, - 0x6f, 0x67, 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, 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, 0x4c, 0x6f, 0x67, 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, 0x23, 0xba, 0xb8, 0x02, 0x1f, 0x0a, 0x1d, - 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x6c, 0x6f, 0x67, 0x73, 0x20, 0x61, 0x6e, 0x6e, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xd0, 0x01, - 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4c, 0x6f, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x65, 0x64, 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, 0x4c, 0x6f, 0x67, 0x73, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 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, 0x4c, 0x6f, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, - 0x56, 0x61, 0x6c, 0x75, 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, 0x6c, 0x6f, 0x67, - 0x73, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes = make([]protoimpl.MessageInfo, 22) -var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_goTypes = []any{ - (*SearchLogsTimeSeriesRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest - (*SearchLogsTimeSeriesResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesResponse - (*SearchLogsEventsRequest)(nil), // 2: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest - (*SearchLogsEventsResponse)(nil), // 3: com.coralogixapis.dashboards.v1.services.SearchLogsEventsResponse - (*SearchLogsEventGroupsRequest)(nil), // 4: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest - (*SearchLogsEventGroupsResponse)(nil), // 5: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsResponse - (*SearchGroupedLogsSeriesRequest)(nil), // 6: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest - (*SearchGroupedLogsSeriesResponse)(nil), // 7: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesResponse - (*SearchLogsGroupedTimeSeriesRequest)(nil), // 8: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest - (*SearchLogsGroupedTimeSeriesResponse)(nil), // 9: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesResponse - (*LogsEvent)(nil), // 10: com.coralogixapis.dashboards.v1.services.LogsEvent - (*LogsMetadata)(nil), // 11: com.coralogixapis.dashboards.v1.services.LogsMetadata - (*SearchLogsTimeValueRequest)(nil), // 12: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest - (*SearchLogsTimeValueResponse)(nil), // 13: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueResponse - (*SearchLogsGroupedValuesRequest)(nil), // 14: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest - (*SearchLogsGroupedValuesResponse)(nil), // 15: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesResponse - (*SearchLogsAnnotationEventsRequest)(nil), // 16: com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsRequest - (*SearchLogsAnnotationEventsResponse)(nil), // 17: com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsResponse - (*SearchLogsEventsRequest_Pagination)(nil), // 18: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.Pagination - (*SearchLogsEventGroupsRequest_OrderBy)(nil), // 19: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy - (*SearchGroupedLogsSeriesRequest_Limit)(nil), // 20: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit - (*SearchLogsGroupedTimeSeriesRequest_GroupBy)(nil), // 21: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.GroupBy - (*TimeFrame)(nil), // 22: com.coralogixapis.dashboards.v1.common.TimeFrame - (*durationpb.Duration)(nil), // 23: google.protobuf.Duration - (*Filter_LogsFilter)(nil), // 24: com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - (*wrapperspb.StringValue)(nil), // 25: google.protobuf.StringValue - (*LogsAggregation)(nil), // 26: com.coralogixapis.dashboards.v1.common.LogsAggregation - (*wrapperspb.Int32Value)(nil), // 27: google.protobuf.Int32Value - (*TimeSeries)(nil), // 28: com.coralogixapis.dashboards.v1.common.TimeSeries - (*wrapperspb.Int64Value)(nil), // 29: google.protobuf.Int64Value - (*OrderingField)(nil), // 30: com.coralogixapis.dashboards.v1.common.OrderingField - (*Pagination)(nil), // 31: com.coralogixapis.dashboards.v1.common.Pagination - (*MultiGroup)(nil), // 32: com.coralogixapis.dashboards.v1.common.MultiGroup - (*GroupedSeries)(nil), // 33: com.coralogixapis.dashboards.v1.common.GroupedSeries - (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 35: google.protobuf.Struct - (LogSeverityLevel)(0), // 36: com.coralogixapis.dashboards.v1.common.LogSeverityLevel - (*wrapperspb.DoubleValue)(nil), // 37: google.protobuf.DoubleValue - (*Group)(nil), // 38: com.coralogixapis.dashboards.v1.common.Group - (*FullDataprimeQuery)(nil), // 39: com.coralogixapis.dashboards.v1.common.FullDataprimeQuery - (*Annotation_LogsSource_Strategy)(nil), // 40: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy - (*AnnotationEvent)(nil), // 41: com.coralogixapis.dashboards.v1.common.AnnotationEvent - (OrderDirection)(0), // 42: com.coralogixapis.dashboards.v1.common.OrderDirection -} -var file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_depIdxs = []int32{ - 22, // 0: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 23, // 1: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 24, // 2: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 25, // 3: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.group_by:type_name -> google.protobuf.StringValue - 26, // 4: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 27, // 5: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value - 25, // 6: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 28, // 7: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries - 29, // 8: com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value - 22, // 9: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 10: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 25, // 11: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.lucene_query:type_name -> google.protobuf.StringValue - 30, // 12: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.order_by:type_name -> com.coralogixapis.dashboards.v1.common.OrderingField - 18, // 13: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.Pagination - 29, // 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 - 22, // 16: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 17: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 25, // 18: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.lucene_query:type_name -> google.protobuf.StringValue - 25, // 19: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.group_by:type_name -> google.protobuf.StringValue - 26, // 20: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 19, // 21: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.order_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy - 31, // 22: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination - 32, // 23: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup - 22, // 24: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 25: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 25, // 26: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.group_by_fields:type_name -> google.protobuf.StringValue - 26, // 27: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 25, // 28: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 20, // 29: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit - 33, // 30: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 22, // 31: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 23, // 32: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 24, // 33: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 26, // 34: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 25, // 35: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 21, // 36: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.GroupBy - 33, // 37: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 25, // 38: com.coralogixapis.dashboards.v1.services.LogsEvent.log_id:type_name -> google.protobuf.StringValue - 34, // 39: com.coralogixapis.dashboards.v1.services.LogsEvent.timestamp:type_name -> google.protobuf.Timestamp - 25, // 40: com.coralogixapis.dashboards.v1.services.LogsEvent.text:type_name -> google.protobuf.StringValue - 35, // 41: com.coralogixapis.dashboards.v1.services.LogsEvent.json:type_name -> google.protobuf.Struct - 11, // 42: com.coralogixapis.dashboards.v1.services.LogsEvent.logs_metadata:type_name -> com.coralogixapis.dashboards.v1.services.LogsMetadata - 25, // 43: com.coralogixapis.dashboards.v1.services.LogsMetadata.application_name:type_name -> google.protobuf.StringValue - 25, // 44: com.coralogixapis.dashboards.v1.services.LogsMetadata.subsystem_name:type_name -> google.protobuf.StringValue - 36, // 45: com.coralogixapis.dashboards.v1.services.LogsMetadata.severity:type_name -> com.coralogixapis.dashboards.v1.common.LogSeverityLevel - 22, // 46: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 47: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 25, // 48: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.lucene_query:type_name -> google.protobuf.StringValue - 26, // 49: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 37, // 50: com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueResponse.value:type_name -> google.protobuf.DoubleValue - 22, // 51: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 24, // 52: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 25, // 53: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest.lucene_query:type_name -> google.protobuf.StringValue - 25, // 54: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest.group_by:type_name -> google.protobuf.StringValue - 26, // 55: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 27, // 56: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest.limit:type_name -> google.protobuf.Int32Value - 38, // 57: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.Group - 29, // 58: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesResponse.total:type_name -> google.protobuf.Int64Value - 22, // 59: com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 39, // 60: com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsRequest.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.FullDataprimeQuery - 40, // 61: com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsRequest.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy - 27, // 62: com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsRequest.limit:type_name -> google.protobuf.Int32Value - 41, // 63: com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsResponse.annotation_events:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent - 27, // 64: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.Pagination.offset:type_name -> google.protobuf.Int32Value - 27, // 65: com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest.Pagination.limit:type_name -> google.protobuf.Int32Value - 25, // 66: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.grouping:type_name -> google.protobuf.StringValue - 26, // 67: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 42, // 68: com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest.OrderBy.order_direction:type_name -> com.coralogixapis.dashboards.v1.common.OrderDirection - 25, // 69: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit.group_by_fields:type_name -> google.protobuf.StringValue - 27, // 70: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit.limit:type_name -> google.protobuf.Int32Value - 27, // 71: com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest.Limit.min_percentage:type_name -> google.protobuf.Int32Value - 25, // 72: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.GroupBy.fields:type_name -> google.protobuf.StringValue - 27, // 73: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.GroupBy.limit:type_name -> google.protobuf.Int32Value - 27, // 74: com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest.GroupBy.min_percentage:type_name -> google.protobuf.Int32Value - 0, // 75: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesRequest - 2, // 76: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchLogsEventsRequest - 6, // 77: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchGroupedLogsSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesRequest - 8, // 78: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsGroupedTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesRequest - 4, // 79: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsEventGroups:input_type -> com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsRequest - 12, // 80: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsTimeValue:input_type -> com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueRequest - 16, // 81: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsAnnotationEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsRequest - 14, // 82: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsGroupedValues:input_type -> com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesRequest - 1, // 83: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchLogsTimeSeriesResponse - 3, // 84: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchLogsEventsResponse - 7, // 85: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchGroupedLogsSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchGroupedLogsSeriesResponse - 9, // 86: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsGroupedTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchLogsGroupedTimeSeriesResponse - 5, // 87: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsEventGroups:output_type -> com.coralogixapis.dashboards.v1.services.SearchLogsEventGroupsResponse - 13, // 88: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsTimeValue:output_type -> com.coralogixapis.dashboards.v1.services.SearchLogsTimeValueResponse - 17, // 89: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsAnnotationEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchLogsAnnotationEventsResponse - 15, // 90: com.coralogixapis.dashboards.v1.services.LogsDataSourceService.SearchLogsGroupedValues:output_type -> com.coralogixapis.dashboards.v1.services.SearchLogsGroupedValuesResponse - 83, // [83:91] is the sub-list for method output_type - 75, // [75:83] 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_logs_data_source_service_proto_init() } -func file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_init() { - if File_com_coralogixapis_dashboards_v1_services_logs_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_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_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_logs_data_source_service_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsTimeSeriesRequest); 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_logs_data_source_service_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsTimeSeriesResponse); 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_logs_data_source_service_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsEventsRequest); 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_logs_data_source_service_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsEventsResponse); 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_logs_data_source_service_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsEventGroupsRequest); 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_logs_data_source_service_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsEventGroupsResponse); 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_logs_data_source_service_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*SearchGroupedLogsSeriesRequest); 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_logs_data_source_service_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*SearchGroupedLogsSeriesResponse); 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_logs_data_source_service_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsGroupedTimeSeriesRequest); 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_logs_data_source_service_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsGroupedTimeSeriesResponse); 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_logs_data_source_service_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*LogsEvent); 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_logs_data_source_service_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*LogsMetadata); 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_logs_data_source_service_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsTimeValueRequest); 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_logs_data_source_service_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsTimeValueResponse); 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_logs_data_source_service_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsGroupedValuesRequest); 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_logs_data_source_service_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsGroupedValuesResponse); 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_logs_data_source_service_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsAnnotationEventsRequest); 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_logs_data_source_service_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsAnnotationEventsResponse); 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_logs_data_source_service_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsEventsRequest_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_logs_data_source_service_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsEventGroupsRequest_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_logs_data_source_service_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*SearchGroupedLogsSeriesRequest_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_logs_data_source_service_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*SearchLogsGroupedTimeSeriesRequest_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_logs_data_source_service_proto_msgTypes[19].OneofWrappers = []any{ - (*SearchLogsEventGroupsRequest_OrderBy_Grouping)(nil), - (*SearchLogsEventGroupsRequest_OrderBy_Aggregation)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 22, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto = out.File - file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_services_logs_data_source_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/logs_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/logs_data_source_service_grpc.pb.go deleted file mode 100644 index f3d0ef35..00000000 --- a/coralogix/clientset/grpc/dashboards/logs_data_source_service_grpc.pb.go +++ /dev/null @@ -1,376 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/logs_data_source_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - LogsDataSourceService_SearchLogsTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchLogsTimeSeries" - LogsDataSourceService_SearchLogsEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchLogsEvents" - LogsDataSourceService_SearchGroupedLogsSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchGroupedLogsSeries" - LogsDataSourceService_SearchLogsGroupedTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchLogsGroupedTimeSeries" - LogsDataSourceService_SearchLogsEventGroups_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchLogsEventGroups" - LogsDataSourceService_SearchLogsTimeValue_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchLogsTimeValue" - LogsDataSourceService_SearchLogsAnnotationEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchLogsAnnotationEvents" - LogsDataSourceService_SearchLogsGroupedValues_FullMethodName = "/com.coralogixapis.dashboards.v1.services.LogsDataSourceService/SearchLogsGroupedValues" -) - -// LogsDataSourceServiceClient is the client API for LogsDataSourceService 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 LogsDataSourceServiceClient interface { - SearchLogsTimeSeries(ctx context.Context, in *SearchLogsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchLogsTimeSeriesResponse, error) - SearchLogsEvents(ctx context.Context, in *SearchLogsEventsRequest, opts ...grpc.CallOption) (*SearchLogsEventsResponse, error) - SearchGroupedLogsSeries(ctx context.Context, in *SearchGroupedLogsSeriesRequest, opts ...grpc.CallOption) (*SearchGroupedLogsSeriesResponse, error) - SearchLogsGroupedTimeSeries(ctx context.Context, in *SearchLogsGroupedTimeSeriesRequest, opts ...grpc.CallOption) (*SearchLogsGroupedTimeSeriesResponse, error) - SearchLogsEventGroups(ctx context.Context, in *SearchLogsEventGroupsRequest, opts ...grpc.CallOption) (*SearchLogsEventGroupsResponse, error) - SearchLogsTimeValue(ctx context.Context, in *SearchLogsTimeValueRequest, opts ...grpc.CallOption) (*SearchLogsTimeValueResponse, error) - SearchLogsAnnotationEvents(ctx context.Context, in *SearchLogsAnnotationEventsRequest, opts ...grpc.CallOption) (*SearchLogsAnnotationEventsResponse, error) - SearchLogsGroupedValues(ctx context.Context, in *SearchLogsGroupedValuesRequest, opts ...grpc.CallOption) (*SearchLogsGroupedValuesResponse, error) -} - -type logsDataSourceServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewLogsDataSourceServiceClient(cc grpc.ClientConnInterface) LogsDataSourceServiceClient { - return &logsDataSourceServiceClient{cc} -} - -func (c *logsDataSourceServiceClient) SearchLogsTimeSeries(ctx context.Context, in *SearchLogsTimeSeriesRequest, opts ...grpc.CallOption) (*SearchLogsTimeSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchLogsTimeSeriesResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchLogsTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logsDataSourceServiceClient) SearchLogsEvents(ctx context.Context, in *SearchLogsEventsRequest, opts ...grpc.CallOption) (*SearchLogsEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchLogsEventsResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchLogsEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logsDataSourceServiceClient) SearchGroupedLogsSeries(ctx context.Context, in *SearchGroupedLogsSeriesRequest, opts ...grpc.CallOption) (*SearchGroupedLogsSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchGroupedLogsSeriesResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchGroupedLogsSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logsDataSourceServiceClient) SearchLogsGroupedTimeSeries(ctx context.Context, in *SearchLogsGroupedTimeSeriesRequest, opts ...grpc.CallOption) (*SearchLogsGroupedTimeSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchLogsGroupedTimeSeriesResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchLogsGroupedTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logsDataSourceServiceClient) SearchLogsEventGroups(ctx context.Context, in *SearchLogsEventGroupsRequest, opts ...grpc.CallOption) (*SearchLogsEventGroupsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchLogsEventGroupsResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchLogsEventGroups_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logsDataSourceServiceClient) SearchLogsTimeValue(ctx context.Context, in *SearchLogsTimeValueRequest, opts ...grpc.CallOption) (*SearchLogsTimeValueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchLogsTimeValueResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchLogsTimeValue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logsDataSourceServiceClient) SearchLogsAnnotationEvents(ctx context.Context, in *SearchLogsAnnotationEventsRequest, opts ...grpc.CallOption) (*SearchLogsAnnotationEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchLogsAnnotationEventsResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchLogsAnnotationEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logsDataSourceServiceClient) SearchLogsGroupedValues(ctx context.Context, in *SearchLogsGroupedValuesRequest, opts ...grpc.CallOption) (*SearchLogsGroupedValuesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchLogsGroupedValuesResponse) - err := c.cc.Invoke(ctx, LogsDataSourceService_SearchLogsGroupedValues_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LogsDataSourceServiceServer is the server API for LogsDataSourceService service. -// All implementations must embed UnimplementedLogsDataSourceServiceServer -// for forward compatibility -type LogsDataSourceServiceServer interface { - SearchLogsTimeSeries(context.Context, *SearchLogsTimeSeriesRequest) (*SearchLogsTimeSeriesResponse, error) - SearchLogsEvents(context.Context, *SearchLogsEventsRequest) (*SearchLogsEventsResponse, error) - SearchGroupedLogsSeries(context.Context, *SearchGroupedLogsSeriesRequest) (*SearchGroupedLogsSeriesResponse, error) - SearchLogsGroupedTimeSeries(context.Context, *SearchLogsGroupedTimeSeriesRequest) (*SearchLogsGroupedTimeSeriesResponse, error) - SearchLogsEventGroups(context.Context, *SearchLogsEventGroupsRequest) (*SearchLogsEventGroupsResponse, error) - SearchLogsTimeValue(context.Context, *SearchLogsTimeValueRequest) (*SearchLogsTimeValueResponse, error) - SearchLogsAnnotationEvents(context.Context, *SearchLogsAnnotationEventsRequest) (*SearchLogsAnnotationEventsResponse, error) - SearchLogsGroupedValues(context.Context, *SearchLogsGroupedValuesRequest) (*SearchLogsGroupedValuesResponse, error) - mustEmbedUnimplementedLogsDataSourceServiceServer() -} - -// UnimplementedLogsDataSourceServiceServer must be embedded to have forward compatible implementations. -type UnimplementedLogsDataSourceServiceServer struct { -} - -func (UnimplementedLogsDataSourceServiceServer) SearchLogsTimeSeries(context.Context, *SearchLogsTimeSeriesRequest) (*SearchLogsTimeSeriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchLogsTimeSeries not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) SearchLogsEvents(context.Context, *SearchLogsEventsRequest) (*SearchLogsEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchLogsEvents not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) SearchGroupedLogsSeries(context.Context, *SearchGroupedLogsSeriesRequest) (*SearchGroupedLogsSeriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchGroupedLogsSeries not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) SearchLogsGroupedTimeSeries(context.Context, *SearchLogsGroupedTimeSeriesRequest) (*SearchLogsGroupedTimeSeriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchLogsGroupedTimeSeries not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) SearchLogsEventGroups(context.Context, *SearchLogsEventGroupsRequest) (*SearchLogsEventGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchLogsEventGroups not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) SearchLogsTimeValue(context.Context, *SearchLogsTimeValueRequest) (*SearchLogsTimeValueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchLogsTimeValue not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) SearchLogsAnnotationEvents(context.Context, *SearchLogsAnnotationEventsRequest) (*SearchLogsAnnotationEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchLogsAnnotationEvents not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) SearchLogsGroupedValues(context.Context, *SearchLogsGroupedValuesRequest) (*SearchLogsGroupedValuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchLogsGroupedValues not implemented") -} -func (UnimplementedLogsDataSourceServiceServer) mustEmbedUnimplementedLogsDataSourceServiceServer() {} - -// UnsafeLogsDataSourceServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to LogsDataSourceServiceServer will -// result in compilation errors. -type UnsafeLogsDataSourceServiceServer interface { - mustEmbedUnimplementedLogsDataSourceServiceServer() -} - -func RegisterLogsDataSourceServiceServer(s grpc.ServiceRegistrar, srv LogsDataSourceServiceServer) { - s.RegisterService(&LogsDataSourceService_ServiceDesc, srv) -} - -func _LogsDataSourceService_SearchLogsTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchLogsTimeSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchLogsTimeSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchLogsTimeSeries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchLogsTimeSeries(ctx, req.(*SearchLogsTimeSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LogsDataSourceService_SearchLogsEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchLogsEventsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchLogsEvents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchLogsEvents_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchLogsEvents(ctx, req.(*SearchLogsEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LogsDataSourceService_SearchGroupedLogsSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchGroupedLogsSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchGroupedLogsSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchGroupedLogsSeries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchGroupedLogsSeries(ctx, req.(*SearchGroupedLogsSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LogsDataSourceService_SearchLogsGroupedTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchLogsGroupedTimeSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchLogsGroupedTimeSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchLogsGroupedTimeSeries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchLogsGroupedTimeSeries(ctx, req.(*SearchLogsGroupedTimeSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LogsDataSourceService_SearchLogsEventGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchLogsEventGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchLogsEventGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchLogsEventGroups_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchLogsEventGroups(ctx, req.(*SearchLogsEventGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LogsDataSourceService_SearchLogsTimeValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchLogsTimeValueRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchLogsTimeValue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchLogsTimeValue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchLogsTimeValue(ctx, req.(*SearchLogsTimeValueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LogsDataSourceService_SearchLogsAnnotationEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchLogsAnnotationEventsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchLogsAnnotationEvents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchLogsAnnotationEvents_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchLogsAnnotationEvents(ctx, req.(*SearchLogsAnnotationEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _LogsDataSourceService_SearchLogsGroupedValues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchLogsGroupedValuesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LogsDataSourceServiceServer).SearchLogsGroupedValues(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: LogsDataSourceService_SearchLogsGroupedValues_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LogsDataSourceServiceServer).SearchLogsGroupedValues(ctx, req.(*SearchLogsGroupedValuesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// LogsDataSourceService_ServiceDesc is the grpc.ServiceDesc for LogsDataSourceService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var LogsDataSourceService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.dashboards.v1.services.LogsDataSourceService", - HandlerType: (*LogsDataSourceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SearchLogsTimeSeries", - Handler: _LogsDataSourceService_SearchLogsTimeSeries_Handler, - }, - { - MethodName: "SearchLogsEvents", - Handler: _LogsDataSourceService_SearchLogsEvents_Handler, - }, - { - MethodName: "SearchGroupedLogsSeries", - Handler: _LogsDataSourceService_SearchGroupedLogsSeries_Handler, - }, - { - MethodName: "SearchLogsGroupedTimeSeries", - Handler: _LogsDataSourceService_SearchLogsGroupedTimeSeries_Handler, - }, - { - MethodName: "SearchLogsEventGroups", - Handler: _LogsDataSourceService_SearchLogsEventGroups_Handler, - }, - { - MethodName: "SearchLogsTimeValue", - Handler: _LogsDataSourceService_SearchLogsTimeValue_Handler, - }, - { - MethodName: "SearchLogsAnnotationEvents", - Handler: _LogsDataSourceService_SearchLogsAnnotationEvents_Handler, - }, - { - MethodName: "SearchLogsGroupedValues", - Handler: _LogsDataSourceService_SearchLogsGroupedValues_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/dashboards/v1/services/logs_data_source_service.proto", -} diff --git a/coralogix/clientset/grpc/dashboards/markdown.pb.go b/coralogix/clientset/grpc/dashboards/markdown.pb.go deleted file mode 100644 index ee9dbd1d..00000000 --- a/coralogix/clientset/grpc/dashboards/markdown.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/markdown.proto - -package v1 - -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 Markdown struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MarkdownText *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=markdown_text,json=markdownText,proto3" json:"markdown_text,omitempty"` - TooltipText *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=tooltip_text,json=tooltipText,proto3" json:"tooltip_text,omitempty"` -} - -func (x *Markdown) Reset() { - *x = Markdown{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Markdown) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Markdown) ProtoMessage() {} - -func (x *Markdown) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_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 Markdown.ProtoReflect.Descriptor instead. -func (*Markdown) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescGZIP(), []int{0} -} - -func (x *Markdown) GetMarkdownText() *wrapperspb.StringValue { - if x != nil { - return x.MarkdownText - } - return nil -} - -func (x *Markdown) GetTooltipText() *wrapperspb.StringValue { - if x != nil { - return x.TooltipText - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDesc = []byte{ - 0x0a, 0x3a, 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, 0x6d, 0x61, - 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 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, 0x8e, 0x01, 0x0a, 0x08, 0x4d, 0x61, - 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, - 0x77, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 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, 0x0c, 0x6d, 0x61, 0x72, - 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x3f, 0x0a, 0x0c, 0x74, 0x6f, 0x6f, - 0x6c, 0x74, 0x69, 0x70, 0x5f, 0x74, 0x65, 0x78, 0x74, 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, 0x74, - 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x54, 0x65, 0x78, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_goTypes = []any{ - (*Markdown)(nil), // 0: com.coralogixapis.dashboards.v1.ast.widgets.Markdown - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.ast.widgets.Markdown.markdown_text:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.dashboards.v1.ast.widgets.Markdown.tooltip_text: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_markdown_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Markdown); 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_markdown_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/metrics_aggregation_type.pb.go b/coralogix/clientset/grpc/dashboards/metrics_aggregation_type.pb.go deleted file mode 100644 index 7c3acca1..00000000 --- a/coralogix/clientset/grpc/dashboards/metrics_aggregation_type.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/metrics_aggregation_type.proto - -package v1 - -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 Aggregation int32 - -const ( - Aggregation_AGGREGATION_UNSPECIFIED Aggregation = 0 - Aggregation_AGGREGATION_LAST Aggregation = 1 - Aggregation_AGGREGATION_MIN Aggregation = 2 - Aggregation_AGGREGATION_MAX Aggregation = 3 - Aggregation_AGGREGATION_AVG Aggregation = 4 - Aggregation_AGGREGATION_SUM Aggregation = 5 -) - -// Enum value maps for Aggregation. -var ( - Aggregation_name = map[int32]string{ - 0: "AGGREGATION_UNSPECIFIED", - 1: "AGGREGATION_LAST", - 2: "AGGREGATION_MIN", - 3: "AGGREGATION_MAX", - 4: "AGGREGATION_AVG", - 5: "AGGREGATION_SUM", - } - Aggregation_value = map[string]int32{ - "AGGREGATION_UNSPECIFIED": 0, - "AGGREGATION_LAST": 1, - "AGGREGATION_MIN": 2, - "AGGREGATION_MAX": 3, - "AGGREGATION_AVG": 4, - "AGGREGATION_SUM": 5, - } -) - -func (x Aggregation) Enum() *Aggregation { - p := new(Aggregation) - *p = x - return p -} - -func (x Aggregation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Aggregation) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_enumTypes[0].Descriptor() -} - -func (Aggregation) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_enumTypes[0] -} - -func (x Aggregation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Aggregation.Descriptor instead. -func (Aggregation) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDesc = []byte{ - 0x0a, 0x51, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 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, 0x2a, 0x94, 0x01, 0x0a, 0x0b, 0x41, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x47, 0x47, 0x52, 0x45, - 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, - 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, - 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, - 0x41, 0x58, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, - 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x05, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_goTypes = []any{ - (Aggregation)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.Aggregation -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_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_widgets_common_metrics_aggregation_type_proto_init() -} -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_aggregation_type_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/metrics_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/metrics_data_source_service.pb.go deleted file mode 100644 index 6213d4ca..00000000 --- a/coralogix/clientset/grpc/dashboards/metrics_data_source_service.pb.go +++ /dev/null @@ -1,2318 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/metrics_data_source_service.proto - -package v1 - -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"` - 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) 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 SearchMetricsGroupedValuesRequest 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"` - Filters []*Filter_MetricsFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *SearchMetricsGroupedValuesRequest) Reset() { - *x = SearchMetricsGroupedValuesRequest{} - 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 *SearchMetricsGroupedValuesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchMetricsGroupedValuesRequest) ProtoMessage() {} - -func (x *SearchMetricsGroupedValuesRequest) 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 SearchMetricsGroupedValuesRequest.ProtoReflect.Descriptor instead. -func (*SearchMetricsGroupedValuesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{13} -} - -func (x *SearchMetricsGroupedValuesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchMetricsGroupedValuesRequest) GetPromqlQuery() *wrapperspb.StringValue { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *SearchMetricsGroupedValuesRequest) GetGroupBy() []*wrapperspb.StringValue { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *SearchMetricsGroupedValuesRequest) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchMetricsGroupedValuesRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchMetricsGroupedValuesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,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 *SearchMetricsGroupedValuesResponse) Reset() { - *x = SearchMetricsGroupedValuesResponse{} - 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 *SearchMetricsGroupedValuesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchMetricsGroupedValuesResponse) ProtoMessage() {} - -func (x *SearchMetricsGroupedValuesResponse) 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 SearchMetricsGroupedValuesResponse.ProtoReflect.Descriptor instead. -func (*SearchMetricsGroupedValuesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_rawDescGZIP(), []int{14} -} - -func (x *SearchMetricsGroupedValuesResponse) GetGroups() []*Group { - if x != nil { - return x.Groups - } - return nil -} - -func (x *SearchMetricsGroupedValuesResponse) GetIsLimitExceeded() bool { - if x != nil { - return x.IsLimitExceeded - } - return false -} - -func (x *SearchMetricsGroupedValuesResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - 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[15] - 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[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 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[16] - 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[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 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[17] - 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[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 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[18] - 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[18] - 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[19] - 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[19] - 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, 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, 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, 0xa9, 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, 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, 0x22, 0xf7, 0x02, - 0x0a, 0x21, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 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, 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, - 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, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 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, 0xca, 0x01, 0x0a, 0x22, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, - 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, - 0x72, 0x6f, 0x75, 0x70, 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, 0x32, 0xff, 0x0b, 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, 0x12, 0xda, 0x01, 0x0a, 0x1a, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 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, 0x56, 0x61, 0x6c, 0x75, 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, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x21, 0xba, 0xb8, 0x02, 0x1d, 0x0a, 0x1b, 0x73, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 20) -var file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_goTypes = []any{ - (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 - (*SearchMetricsGroupedValuesRequest)(nil), // 14: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesRequest - (*SearchMetricsGroupedValuesResponse)(nil), // 15: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesResponse - (*SearchMetricsGroupedSeriesRequest_Limit)(nil), // 16: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit - (*SearchMetricsGroupedTimeSeriesRequest_GroupBy)(nil), // 17: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy - (*SearchMetricsEventsRequest_OrderBy)(nil), // 18: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy - (*SearchMetricsEventsRequest_Pagination)(nil), // 19: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination - (*MetricsEvent_Aggregation)(nil), // 20: com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation - (*TimeFrame)(nil), // 21: com.coralogixapis.dashboards.v1.common.TimeFrame - (*durationpb.Duration)(nil), // 22: google.protobuf.Duration - (*wrapperspb.StringValue)(nil), // 23: google.protobuf.StringValue - (*wrapperspb.Int32Value)(nil), // 24: google.protobuf.Int32Value - (*Filter_MetricsFilter)(nil), // 25: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (*TimeSeries)(nil), // 26: com.coralogixapis.dashboards.v1.common.TimeSeries - (*wrapperspb.Int64Value)(nil), // 27: google.protobuf.Int64Value - (*LabelledValue)(nil), // 28: com.coralogixapis.dashboards.v1.common.LabelledValue - (*GroupedSeries)(nil), // 29: com.coralogixapis.dashboards.v1.common.GroupedSeries - (*Annotation_MetricsSource_Strategy)(nil), // 30: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy - (*AnnotationEvent)(nil), // 31: com.coralogixapis.dashboards.v1.common.AnnotationEvent - (*Group)(nil), // 32: com.coralogixapis.dashboards.v1.common.Group - (OrderDirection)(0), // 33: com.coralogixapis.dashboards.v1.common.OrderDirection - (*wrapperspb.DoubleValue)(nil), // 34: google.protobuf.DoubleValue -} -var file_com_coralogixapis_dashboards_v1_services_metrics_data_source_service_proto_depIdxs = []int32{ - 21, // 0: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 1: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 23, // 2: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.promql_query:type_name -> google.protobuf.StringValue - 24, // 3: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value - 25, // 4: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 26, // 5: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries - 27, // 6: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value - 21, // 7: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 23, // 8: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.promql_query:type_name -> google.protobuf.StringValue - 24, // 9: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.limit:type_name -> google.protobuf.Int32Value - 25, // 10: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 28, // 11: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesResponse.values:type_name -> com.coralogixapis.dashboards.v1.common.LabelledValue - 27, // 12: com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesResponse.total:type_name -> google.protobuf.Int64Value - 21, // 13: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 23, // 14: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.promql_query:type_name -> google.protobuf.StringValue - 23, // 15: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.group_by:type_name -> google.protobuf.StringValue - 16, // 16: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit - 25, // 17: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 29, // 18: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 21, // 19: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 20: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 23, // 21: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.promql_query:type_name -> google.protobuf.StringValue - 17, // 22: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy - 25, // 23: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 29, // 24: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 21, // 25: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 26: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.time_series_interval:type_name -> google.protobuf.Duration - 23, // 27: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.promql_query:type_name -> google.protobuf.StringValue - 19, // 28: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination - 25, // 29: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 18, // 30: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.order_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy - 23, // 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 - 27, // 33: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsResponse.total:type_name -> google.protobuf.Int64Value - 20, // 34: com.coralogixapis.dashboards.v1.services.MetricsEvent.aggregations:type_name -> com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation - 26, // 35: com.coralogixapis.dashboards.v1.services.MetricsEvent.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries - 21, // 36: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 22, // 37: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.interval:type_name -> google.protobuf.Duration - 25, // 38: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 23, // 39: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.promql_query:type_name -> google.protobuf.StringValue - 30, // 40: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy - 24, // 41: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest.limit:type_name -> google.protobuf.Int32Value - 31, // 42: com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsResponse.annotation_events:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent - 21, // 43: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 23, // 44: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesRequest.promql_query:type_name -> google.protobuf.StringValue - 23, // 45: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesRequest.group_by:type_name -> google.protobuf.StringValue - 25, // 46: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 24, // 47: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesRequest.limit:type_name -> google.protobuf.Int32Value - 32, // 48: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.Group - 27, // 49: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesResponse.total:type_name -> google.protobuf.Int64Value - 23, // 50: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit.group_by:type_name -> google.protobuf.StringValue - 24, // 51: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit.limit:type_name -> google.protobuf.Int32Value - 24, // 52: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest.Limit.min_percentage:type_name -> google.protobuf.Int32Value - 23, // 53: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy.labels:type_name -> google.protobuf.StringValue - 24, // 54: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy.limit:type_name -> google.protobuf.Int32Value - 24, // 55: com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest.GroupBy.min_percentage:type_name -> google.protobuf.Int32Value - 33, // 56: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy.direction:type_name -> com.coralogixapis.dashboards.v1.common.OrderDirection - 23, // 57: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy.label:type_name -> google.protobuf.StringValue - 0, // 58: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.OrderBy.agg_type:type_name -> com.coralogixapis.dashboards.v1.services.MetricsEvent.AggregationType - 24, // 59: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination.offset:type_name -> google.protobuf.Int32Value - 24, // 60: com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest.Pagination.limit:type_name -> google.protobuf.Int32Value - 0, // 61: com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation.aggregation_type:type_name -> com.coralogixapis.dashboards.v1.services.MetricsEvent.AggregationType - 34, // 62: com.coralogixapis.dashboards.v1.services.MetricsEvent.Aggregation.value:type_name -> google.protobuf.DoubleValue - 1, // 63: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesRequest - 3, // 64: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeValues:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesRequest - 5, // 65: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesRequest - 7, // 66: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesRequest - 9, // 67: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsRequest - 12, // 68: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsAnnotationEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsRequest - 14, // 69: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedValues:input_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesRequest - 2, // 70: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeSeriesResponse - 4, // 71: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsTimeValues:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsTimeValuesResponse - 6, // 72: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedSeriesResponse - 8, // 73: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedTimeSeriesResponse - 10, // 74: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsEventsResponse - 13, // 75: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsAnnotationEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsAnnotationEventsResponse - 15, // 76: com.coralogixapis.dashboards.v1.services.MetricsDataSourceService.SearchMetricsGroupedValues:output_type -> com.coralogixapis.dashboards.v1.services.SearchMetricsGroupedValuesResponse - 70, // [70:77] is the sub-list for method output_type - 63, // [63:70] is the sub-list for method input_type - 63, // [63:63] is the sub-list for extension type_name - 63, // [63:63] is the sub-list for extension extendee - 0, // [0:63] 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_group_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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - 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 any, i int) any { - switch v := v.(*SearchMetricsGroupedValuesRequest); 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 any, i int) any { - switch v := v.(*SearchMetricsGroupedValuesResponse); 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 any, i int) any { - 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[16].Exporter = func(v any, i int) any { - 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[17].Exporter = func(v any, i int) any { - 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[18].Exporter = func(v any, i int) any { - 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[19].Exporter = func(v any, i int) any { - 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[17].OneofWrappers = []any{ - (*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: 20, - 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 deleted file mode 100644 index 12bc82e7..00000000 --- a/coralogix/clientset/grpc/dashboards/metrics_data_source_service_grpc.pb.go +++ /dev/null @@ -1,339 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/metrics_data_source_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - MetricsDataSourceService_SearchMetricsTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsTimeSeries" - MetricsDataSourceService_SearchMetricsTimeValues_FullMethodName = "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsTimeValues" - MetricsDataSourceService_SearchMetricsGroupedSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsGroupedSeries" - MetricsDataSourceService_SearchMetricsGroupedTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsGroupedTimeSeries" - MetricsDataSourceService_SearchMetricsEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsEvents" - MetricsDataSourceService_SearchMetricsAnnotationEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsAnnotationEvents" - MetricsDataSourceService_SearchMetricsGroupedValues_FullMethodName = "/com.coralogixapis.dashboards.v1.services.MetricsDataSourceService/SearchMetricsGroupedValues" -) - -// 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) - SearchMetricsGroupedValues(ctx context.Context, in *SearchMetricsGroupedValuesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedValuesResponse, 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) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchMetricsTimeSeriesResponse) - err := c.cc.Invoke(ctx, MetricsDataSourceService_SearchMetricsTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsDataSourceServiceClient) SearchMetricsTimeValues(ctx context.Context, in *SearchMetricsTimeValuesRequest, opts ...grpc.CallOption) (*SearchMetricsTimeValuesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchMetricsTimeValuesResponse) - err := c.cc.Invoke(ctx, MetricsDataSourceService_SearchMetricsTimeValues_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsDataSourceServiceClient) SearchMetricsGroupedSeries(ctx context.Context, in *SearchMetricsGroupedSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchMetricsGroupedSeriesResponse) - err := c.cc.Invoke(ctx, MetricsDataSourceService_SearchMetricsGroupedSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsDataSourceServiceClient) SearchMetricsGroupedTimeSeries(ctx context.Context, in *SearchMetricsGroupedTimeSeriesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedTimeSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchMetricsGroupedTimeSeriesResponse) - err := c.cc.Invoke(ctx, MetricsDataSourceService_SearchMetricsGroupedTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsDataSourceServiceClient) SearchMetricsEvents(ctx context.Context, in *SearchMetricsEventsRequest, opts ...grpc.CallOption) (*SearchMetricsEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchMetricsEventsResponse) - err := c.cc.Invoke(ctx, MetricsDataSourceService_SearchMetricsEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsDataSourceServiceClient) SearchMetricsAnnotationEvents(ctx context.Context, in *SearchMetricsAnnotationEventsRequest, opts ...grpc.CallOption) (*SearchMetricsAnnotationEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchMetricsAnnotationEventsResponse) - err := c.cc.Invoke(ctx, MetricsDataSourceService_SearchMetricsAnnotationEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *metricsDataSourceServiceClient) SearchMetricsGroupedValues(ctx context.Context, in *SearchMetricsGroupedValuesRequest, opts ...grpc.CallOption) (*SearchMetricsGroupedValuesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchMetricsGroupedValuesResponse) - err := c.cc.Invoke(ctx, MetricsDataSourceService_SearchMetricsGroupedValues_FullMethodName, in, out, cOpts...) - 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) - SearchMetricsGroupedValues(context.Context, *SearchMetricsGroupedValuesRequest) (*SearchMetricsGroupedValuesResponse, 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) SearchMetricsGroupedValues(context.Context, *SearchMetricsGroupedValuesRequest) (*SearchMetricsGroupedValuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchMetricsGroupedValues 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: MetricsDataSourceService_SearchMetricsTimeSeries_FullMethodName, - } - 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: MetricsDataSourceService_SearchMetricsTimeValues_FullMethodName, - } - 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: MetricsDataSourceService_SearchMetricsGroupedSeries_FullMethodName, - } - 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: MetricsDataSourceService_SearchMetricsGroupedTimeSeries_FullMethodName, - } - 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: MetricsDataSourceService_SearchMetricsEvents_FullMethodName, - } - 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: MetricsDataSourceService_SearchMetricsAnnotationEvents_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsDataSourceServiceServer).SearchMetricsAnnotationEvents(ctx, req.(*SearchMetricsAnnotationEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _MetricsDataSourceService_SearchMetricsGroupedValues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchMetricsGroupedValuesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MetricsDataSourceServiceServer).SearchMetricsGroupedValues(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: MetricsDataSourceService_SearchMetricsGroupedValues_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MetricsDataSourceServiceServer).SearchMetricsGroupedValues(ctx, req.(*SearchMetricsGroupedValuesRequest)) - } - 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, - }, - { - MethodName: "SearchMetricsGroupedValues", - Handler: _MetricsDataSourceService_SearchMetricsGroupedValues_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/dashboards/v1/services/metrics_data_source_service.proto", -} diff --git a/coralogix/clientset/grpc/dashboards/metrics_query_editor_mode.pb.go b/coralogix/clientset/grpc/dashboards/metrics_query_editor_mode.pb.go deleted file mode 100644 index 035cb3ea..00000000 --- a/coralogix/clientset/grpc/dashboards/metrics_query_editor_mode.pb.go +++ /dev/null @@ -1,145 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/metrics_query_editor_mode.proto - -package v1 - -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 MetricsQueryEditorMode int32 - -const ( - MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED MetricsQueryEditorMode = 0 - MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_TEXT MetricsQueryEditorMode = 1 - MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_BUILDER MetricsQueryEditorMode = 2 -) - -// Enum value maps for MetricsQueryEditorMode. -var ( - MetricsQueryEditorMode_name = map[int32]string{ - 0: "METRICS_QUERY_EDITOR_MODE_UNSPECIFIED", - 1: "METRICS_QUERY_EDITOR_MODE_TEXT", - 2: "METRICS_QUERY_EDITOR_MODE_BUILDER", - } - MetricsQueryEditorMode_value = map[string]int32{ - "METRICS_QUERY_EDITOR_MODE_UNSPECIFIED": 0, - "METRICS_QUERY_EDITOR_MODE_TEXT": 1, - "METRICS_QUERY_EDITOR_MODE_BUILDER": 2, - } -) - -func (x MetricsQueryEditorMode) Enum() *MetricsQueryEditorMode { - p := new(MetricsQueryEditorMode) - *p = x - return p -} - -func (x MetricsQueryEditorMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MetricsQueryEditorMode) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_enumTypes[0].Descriptor() -} - -func (MetricsQueryEditorMode) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_enumTypes[0] -} - -func (x MetricsQueryEditorMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MetricsQueryEditorMode.Descriptor instead. -func (MetricsQueryEditorMode) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDesc = []byte{ - 0x0a, 0x52, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 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, 0x2a, 0x8e, 0x01, 0x0a, 0x16, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, - 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x25, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x5f, 0x51, - 0x55, 0x45, 0x52, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, - 0x0a, 0x1e, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, - 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, - 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x5f, 0x51, 0x55, - 0x45, 0x52, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, - 0x42, 0x55, 0x49, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_goTypes = []any{ - (MetricsQueryEditorMode)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_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_widgets_common_metrics_query_editor_mode_proto_init() -} -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_metrics_query_editor_mode_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/observation_field.pb.go b/coralogix/clientset/grpc/dashboards/observation_field.pb.go deleted file mode 100644 index f46cce9a..00000000 --- a/coralogix/clientset/grpc/dashboards/observation_field.pb.go +++ /dev/null @@ -1,230 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/observation_field.proto - -package v1 - -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 DatasetScope int32 - -const ( - DatasetScope_DATASET_SCOPE_UNSPECIFIED DatasetScope = 0 - DatasetScope_DATASET_SCOPE_USER_DATA DatasetScope = 1 - DatasetScope_DATASET_SCOPE_LABEL DatasetScope = 2 - DatasetScope_DATASET_SCOPE_METADATA DatasetScope = 3 -) - -// Enum value maps for DatasetScope. -var ( - DatasetScope_name = map[int32]string{ - 0: "DATASET_SCOPE_UNSPECIFIED", - 1: "DATASET_SCOPE_USER_DATA", - 2: "DATASET_SCOPE_LABEL", - 3: "DATASET_SCOPE_METADATA", - } - DatasetScope_value = map[string]int32{ - "DATASET_SCOPE_UNSPECIFIED": 0, - "DATASET_SCOPE_USER_DATA": 1, - "DATASET_SCOPE_LABEL": 2, - "DATASET_SCOPE_METADATA": 3, - } -) - -func (x DatasetScope) Enum() *DatasetScope { - p := new(DatasetScope) - *p = x - return p -} - -func (x DatasetScope) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DatasetScope) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_observation_field_proto_enumTypes[0].Descriptor() -} - -func (DatasetScope) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_observation_field_proto_enumTypes[0] -} - -func (x DatasetScope) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DatasetScope.Descriptor instead. -func (DatasetScope) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescGZIP(), []int{0} -} - -type ObservationField struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Keypath []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=keypath,proto3" json:"keypath,omitempty"` - Scope DatasetScope `protobuf:"varint,2,opt,name=scope,proto3,enum=com.coralogixapis.dashboards.v1.common.DatasetScope" json:"scope,omitempty"` -} - -func (x *ObservationField) Reset() { - *x = ObservationField{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_observation_field_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ObservationField) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ObservationField) ProtoMessage() {} - -func (x *ObservationField) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_observation_field_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 ObservationField.ProtoReflect.Descriptor instead. -func (*ObservationField) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescGZIP(), []int{0} -} - -func (x *ObservationField) GetKeypath() []*wrapperspb.StringValue { - if x != nil { - return x.Keypath - } - return nil -} - -func (x *ObservationField) GetScope() DatasetScope { - if x != nil { - return x.Scope - } - return DatasetScope_DATASET_SCOPE_UNSPECIFIED -} - -var File_com_coralogixapis_dashboards_v1_common_observation_field_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDesc = []byte{ - 0x0a, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x96, 0x01, 0x0a, 0x10, 0x4f, 0x62, 0x73, - 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x36, 0x0a, - 0x07, 0x6b, 0x65, 0x79, 0x70, 0x61, 0x74, 0x68, 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, 0x6b, 0x65, - 0x79, 0x70, 0x61, 0x74, 0x68, 0x12, 0x4a, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, - 0x65, 0x2a, 0x7f, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, - 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4f, - 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, - 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x01, 0x12, 0x17, 0x0a, - 0x13, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x4c, - 0x41, 0x42, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, - 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, - 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_observation_field_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_observation_field_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_observation_field_proto_goTypes = []any{ - (DatasetScope)(0), // 0: com.coralogixapis.dashboards.v1.common.DatasetScope - (*ObservationField)(nil), // 1: com.coralogixapis.dashboards.v1.common.ObservationField - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_common_observation_field_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.common.ObservationField.keypath:type_name -> google.protobuf.StringValue - 0, // 1: com.coralogixapis.dashboards.v1.common.ObservationField.scope:type_name -> com.coralogixapis.dashboards.v1.common.DatasetScope - 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_observation_field_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_observation_field_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ObservationField); 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_observation_field_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_observation_field_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_observation_field_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_common_observation_field_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_observation_field_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_observation_field_proto = out.File - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/order_direction.pb.go b/coralogix/clientset/grpc/dashboards/order_direction.pb.go deleted file mode 100644 index 37b19db8..00000000 --- a/coralogix/clientset/grpc/dashboards/order_direction.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/order_direction.proto - -package v1 - -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 OrderDirection int32 - -const ( - OrderDirection_ORDER_DIRECTION_UNSPECIFIED OrderDirection = 0 - OrderDirection_ORDER_DIRECTION_ASC OrderDirection = 1 - OrderDirection_ORDER_DIRECTION_DESC OrderDirection = 2 -) - -// Enum value maps for OrderDirection. -var ( - OrderDirection_name = map[int32]string{ - 0: "ORDER_DIRECTION_UNSPECIFIED", - 1: "ORDER_DIRECTION_ASC", - 2: "ORDER_DIRECTION_DESC", - } - OrderDirection_value = map[string]int32{ - "ORDER_DIRECTION_UNSPECIFIED": 0, - "ORDER_DIRECTION_ASC": 1, - "ORDER_DIRECTION_DESC": 2, - } -) - -func (x OrderDirection) Enum() *OrderDirection { - p := new(OrderDirection) - *p = x - return p -} - -func (x OrderDirection) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrderDirection) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_order_direction_proto_enumTypes[0].Descriptor() -} - -func (OrderDirection) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_order_direction_proto_enumTypes[0] -} - -func (x OrderDirection) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use OrderDirection.Descriptor instead. -func (OrderDirection) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_common_order_direction_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDesc = []byte{ - 0x0a, 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, 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, 0x2a, 0x64, 0x0a, 0x0e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x1b, 0x4f, 0x52, 0x44, 0x45, - 0x52, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x52, 0x44, - 0x45, 0x52, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x53, 0x43, - 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x52, 0x45, - 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_order_direction_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_order_direction_proto_goTypes = []any{ - (OrderDirection)(0), // 0: com.coralogixapis.dashboards.v1.common.OrderDirection -} -var file_com_coralogixapis_dashboards_v1_common_order_direction_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_common_order_direction_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_order_direction_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_order_direction_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_order_direction_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_order_direction_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_common_order_direction_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_order_direction_proto = out.File - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/ordering_field.pb.go b/coralogix/clientset/grpc/dashboards/ordering_field.pb.go deleted file mode 100644 index 60a848b7..00000000 --- a/coralogix/clientset/grpc/dashboards/ordering_field.pb.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/ordering_field.proto - -package v1 - -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 OrderingField struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - OrderDirection OrderDirection `protobuf:"varint,2,opt,name=order_direction,json=orderDirection,proto3,enum=com.coralogixapis.dashboards.v1.common.OrderDirection" json:"order_direction,omitempty"` -} - -func (x *OrderingField) Reset() { - *x = OrderingField{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrderingField) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrderingField) ProtoMessage() {} - -func (x *OrderingField) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_ordering_field_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 OrderingField.ProtoReflect.Descriptor instead. -func (*OrderingField) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescGZIP(), []int{0} -} - -func (x *OrderingField) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *OrderingField) GetOrderDirection() OrderDirection { - if x != nil { - return x.OrderDirection - } - return OrderDirection_ORDER_DIRECTION_UNSPECIFIED -} - -var File_com_coralogixapis_dashboards_v1_common_ordering_field_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDesc = []byte{ - 0x0a, 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, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, - 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 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, 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, 0xa4, 0x01, 0x0a, 0x0d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x6e, 0x67, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x5f, 0x0a, 0x0f, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 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, 0x0e, 0x6f, 0x72, 0x64, 0x65, - 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_goTypes = []any{ - (*OrderingField)(nil), // 0: com.coralogixapis.dashboards.v1.common.OrderingField - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (OrderDirection)(0), // 2: com.coralogixapis.dashboards.v1.common.OrderDirection -} -var file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.OrderingField.field:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogixapis.dashboards.v1.common.OrderingField.order_direction:type_name -> com.coralogixapis.dashboards.v1.common.OrderDirection - 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_ordering_field_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_ordering_field_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*OrderingField); 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_ordering_field_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_ordering_field_proto = out.File - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/pagination.pb.go b/coralogix/clientset/grpc/dashboards/pagination.pb.go deleted file mode 100644 index 141047a2..00000000 --- a/coralogix/clientset/grpc/dashboards/pagination.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/pagination.proto - -package v1 - -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 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 *Pagination) Reset() { - *x = Pagination{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_pagination_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Pagination) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Pagination) ProtoMessage() {} - -func (x *Pagination) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_pagination_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 Pagination.ProtoReflect.Descriptor instead. -func (*Pagination) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescGZIP(), []int{0} -} - -func (x *Pagination) GetOffset() *wrapperspb.Int32Value { - if x != nil { - return x.Offset - } - return nil -} - -func (x *Pagination) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_pagination_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDesc = []byte{ - 0x0a, 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, 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, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_pagination_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_pagination_proto_goTypes = []any{ - (*Pagination)(nil), // 0: com.coralogixapis.dashboards.v1.common.Pagination - (*wrapperspb.Int32Value)(nil), // 1: google.protobuf.Int32Value -} -var file_com_coralogixapis_dashboards_v1_common_pagination_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.Pagination.offset:type_name -> google.protobuf.Int32Value - 1, // 1: com.coralogixapis.dashboards.v1.common.Pagination.limit:type_name -> google.protobuf.Int32Value - 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_pagination_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_pagination_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_pagination_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_pagination_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Pagination); 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_pagination_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_pagination_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_pagination_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_pagination_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_pagination_proto = out.File - file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_pagination_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_pagination_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/pie_chart.pb.go b/coralogix/clientset/grpc/dashboards/pie_chart.pb.go deleted file mode 100644 index cb4d2479..00000000 --- a/coralogix/clientset/grpc/dashboards/pie_chart.pb.go +++ /dev/null @@ -1,1370 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/pie_chart.proto - -package v1 - -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 PieChart_LabelSource int32 - -const ( - PieChart_LABEL_SOURCE_UNSPECIFIED PieChart_LabelSource = 0 - PieChart_LABEL_SOURCE_INNER PieChart_LabelSource = 1 - PieChart_LABEL_SOURCE_STACK PieChart_LabelSource = 2 -) - -// Enum value maps for PieChart_LabelSource. -var ( - PieChart_LabelSource_name = map[int32]string{ - 0: "LABEL_SOURCE_UNSPECIFIED", - 1: "LABEL_SOURCE_INNER", - 2: "LABEL_SOURCE_STACK", - } - PieChart_LabelSource_value = map[string]int32{ - "LABEL_SOURCE_UNSPECIFIED": 0, - "LABEL_SOURCE_INNER": 1, - "LABEL_SOURCE_STACK": 2, - } -) - -func (x PieChart_LabelSource) Enum() *PieChart_LabelSource { - p := new(PieChart_LabelSource) - *p = x - return p -} - -func (x PieChart_LabelSource) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PieChart_LabelSource) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_enumTypes[0].Descriptor() -} - -func (PieChart_LabelSource) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_enumTypes[0] -} - -func (x PieChart_LabelSource) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PieChart_LabelSource.Descriptor instead. -func (PieChart_LabelSource) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 0} -} - -type PieChart struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Query *PieChart_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - MaxSlicesPerChart *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=max_slices_per_chart,json=maxSlicesPerChart,proto3" json:"max_slices_per_chart,omitempty"` - MinSlicePercentage *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=min_slice_percentage,json=minSlicePercentage,proto3" json:"min_slice_percentage,omitempty"` - StackDefinition *PieChart_StackDefinition `protobuf:"bytes,4,opt,name=stack_definition,json=stackDefinition,proto3" json:"stack_definition,omitempty"` - LabelDefinition *PieChart_LabelDefinition `protobuf:"bytes,5,opt,name=label_definition,json=labelDefinition,proto3" json:"label_definition,omitempty"` - ShowLegend *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=show_legend,json=showLegend,proto3" json:"show_legend,omitempty"` - GroupNameTemplate *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=group_name_template,json=groupNameTemplate,proto3" json:"group_name_template,omitempty"` - Unit Unit `protobuf:"varint,8,opt,name=unit,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.Unit" json:"unit,omitempty"` - ColorScheme *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=color_scheme,json=colorScheme,proto3" json:"color_scheme,omitempty"` - DataModeType DataModeType `protobuf:"varint,10,opt,name=data_mode_type,json=dataModeType,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.DataModeType" json:"data_mode_type,omitempty"` - CustomUnit *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=custom_unit,json=customUnit,proto3" json:"custom_unit,omitempty"` - Decimal *wrapperspb.Int32Value `protobuf:"bytes,12,opt,name=decimal,proto3" json:"decimal,omitempty"` -} - -func (x *PieChart) Reset() { - *x = PieChart{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PieChart) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PieChart) ProtoMessage() {} - -func (x *PieChart) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_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 PieChart.ProtoReflect.Descriptor instead. -func (*PieChart) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0} -} - -func (x *PieChart) GetQuery() *PieChart_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *PieChart) GetMaxSlicesPerChart() *wrapperspb.Int32Value { - if x != nil { - return x.MaxSlicesPerChart - } - return nil -} - -func (x *PieChart) GetMinSlicePercentage() *wrapperspb.Int32Value { - if x != nil { - return x.MinSlicePercentage - } - return nil -} - -func (x *PieChart) GetStackDefinition() *PieChart_StackDefinition { - if x != nil { - return x.StackDefinition - } - return nil -} - -func (x *PieChart) GetLabelDefinition() *PieChart_LabelDefinition { - if x != nil { - return x.LabelDefinition - } - return nil -} - -func (x *PieChart) GetShowLegend() *wrapperspb.BoolValue { - if x != nil { - return x.ShowLegend - } - return nil -} - -func (x *PieChart) GetGroupNameTemplate() *wrapperspb.StringValue { - if x != nil { - return x.GroupNameTemplate - } - return nil -} - -func (x *PieChart) GetUnit() Unit { - if x != nil { - return x.Unit - } - return Unit_UNIT_UNSPECIFIED -} - -func (x *PieChart) GetColorScheme() *wrapperspb.StringValue { - if x != nil { - return x.ColorScheme - } - return nil -} - -func (x *PieChart) GetDataModeType() DataModeType { - if x != nil { - return x.DataModeType - } - return DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED -} - -func (x *PieChart) GetCustomUnit() *wrapperspb.StringValue { - if x != nil { - return x.CustomUnit - } - return nil -} - -func (x *PieChart) GetDecimal() *wrapperspb.Int32Value { - if x != nil { - return x.Decimal - } - return nil -} - -type PieChart_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *PieChart_Query_Logs - // *PieChart_Query_Spans - // *PieChart_Query_Metrics - // *PieChart_Query_Dataprime - Value isPieChart_Query_Value `protobuf_oneof:"value"` -} - -func (x *PieChart_Query) Reset() { - *x = PieChart_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PieChart_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PieChart_Query) ProtoMessage() {} - -func (x *PieChart_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_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 PieChart_Query.ProtoReflect.Descriptor instead. -func (*PieChart_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *PieChart_Query) GetValue() isPieChart_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *PieChart_Query) GetLogs() *PieChart_LogsQuery { - if x, ok := x.GetValue().(*PieChart_Query_Logs); ok { - return x.Logs - } - return nil -} - -func (x *PieChart_Query) GetSpans() *PieChart_SpansQuery { - if x, ok := x.GetValue().(*PieChart_Query_Spans); ok { - return x.Spans - } - return nil -} - -func (x *PieChart_Query) GetMetrics() *PieChart_MetricsQuery { - if x, ok := x.GetValue().(*PieChart_Query_Metrics); ok { - return x.Metrics - } - 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() -} - -type PieChart_Query_Logs struct { - Logs *PieChart_LogsQuery `protobuf:"bytes,1,opt,name=logs,proto3,oneof"` -} - -type PieChart_Query_Spans struct { - Spans *PieChart_SpansQuery `protobuf:"bytes,2,opt,name=spans,proto3,oneof"` -} - -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 - unknownFields protoimpl.UnknownFields - - MaxSlicesPerStack *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=max_slices_per_stack,json=maxSlicesPerStack,proto3" json:"max_slices_per_stack,omitempty"` - StackNameTemplate *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=stack_name_template,json=stackNameTemplate,proto3" json:"stack_name_template,omitempty"` -} - -func (x *PieChart_StackDefinition) Reset() { - *x = PieChart_StackDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PieChart_StackDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PieChart_StackDefinition) ProtoMessage() {} - -func (x *PieChart_StackDefinition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_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 PieChart_StackDefinition.ProtoReflect.Descriptor instead. -func (*PieChart_StackDefinition) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *PieChart_StackDefinition) GetMaxSlicesPerStack() *wrapperspb.Int32Value { - if x != nil { - return x.MaxSlicesPerStack - } - return nil -} - -func (x *PieChart_StackDefinition) GetStackNameTemplate() *wrapperspb.StringValue { - if x != nil { - return x.StackNameTemplate - } - return nil -} - -type PieChart_LabelDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LabelSource PieChart_LabelSource `protobuf:"varint,1,opt,name=label_source,json=labelSource,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.PieChart_LabelSource" json:"label_source,omitempty"` - IsVisible *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"` - ShowName *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=show_name,json=showName,proto3" json:"show_name,omitempty"` - ShowValue *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=show_value,json=showValue,proto3" json:"show_value,omitempty"` - ShowPercentage *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=show_percentage,json=showPercentage,proto3" json:"show_percentage,omitempty"` -} - -func (x *PieChart_LabelDefinition) Reset() { - *x = PieChart_LabelDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PieChart_LabelDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PieChart_LabelDefinition) ProtoMessage() {} - -func (x *PieChart_LabelDefinition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_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 PieChart_LabelDefinition.ProtoReflect.Descriptor instead. -func (*PieChart_LabelDefinition) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 2} -} - -func (x *PieChart_LabelDefinition) GetLabelSource() PieChart_LabelSource { - if x != nil { - return x.LabelSource - } - return PieChart_LABEL_SOURCE_UNSPECIFIED -} - -func (x *PieChart_LabelDefinition) GetIsVisible() *wrapperspb.BoolValue { - if x != nil { - return x.IsVisible - } - return nil -} - -func (x *PieChart_LabelDefinition) GetShowName() *wrapperspb.BoolValue { - if x != nil { - return x.ShowName - } - return nil -} - -func (x *PieChart_LabelDefinition) GetShowValue() *wrapperspb.BoolValue { - if x != nil { - return x.ShowValue - } - return nil -} - -func (x *PieChart_LabelDefinition) GetShowPercentage() *wrapperspb.BoolValue { - if x != nil { - return x.ShowPercentage - } - return nil -} - -type PieChart_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *LogsAggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupNames []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` - StackedGroupName *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` - GroupNamesFields []*ObservationField `protobuf:"bytes,6,rep,name=group_names_fields,json=groupNamesFields,proto3" json:"group_names_fields,omitempty"` - StackedGroupNameField *ObservationField `protobuf:"bytes,7,opt,name=stacked_group_name_field,json=stackedGroupNameField,proto3" json:"stacked_group_name_field,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,8,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *PieChart_LogsQuery) Reset() { - *x = PieChart_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PieChart_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PieChart_LogsQuery) ProtoMessage() {} - -func (x *PieChart_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_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 PieChart_LogsQuery.ProtoReflect.Descriptor instead. -func (*PieChart_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 3} -} - -func (x *PieChart_LogsQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *PieChart_LogsQuery) GetAggregation() *LogsAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *PieChart_LogsQuery) GetFilters() []*Filter_LogsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *PieChart_LogsQuery) GetGroupNames() []*wrapperspb.StringValue { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *PieChart_LogsQuery) GetStackedGroupName() *wrapperspb.StringValue { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *PieChart_LogsQuery) GetGroupNamesFields() []*ObservationField { - if x != nil { - return x.GroupNamesFields - } - return nil -} - -func (x *PieChart_LogsQuery) GetStackedGroupNameField() *ObservationField { - if x != nil { - return x.StackedGroupNameField - } - return nil -} - -func (x *PieChart_LogsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type PieChart_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,2,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - GroupNames []*SpanField `protobuf:"bytes,4,rep,name=group_names,json=groupNames,proto3" json:"group_names,omitempty"` - StackedGroupName *SpanField `protobuf:"bytes,5,opt,name=stacked_group_name,json=stackedGroupName,proto3" json:"stacked_group_name,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *PieChart_SpansQuery) Reset() { - *x = PieChart_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PieChart_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PieChart_SpansQuery) ProtoMessage() {} - -func (x *PieChart_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_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 PieChart_SpansQuery.ProtoReflect.Descriptor instead. -func (*PieChart_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 4} -} - -func (x *PieChart_SpansQuery) GetLuceneQuery() *LuceneQuery { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *PieChart_SpansQuery) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *PieChart_SpansQuery) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *PieChart_SpansQuery) GetGroupNames() []*SpanField { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *PieChart_SpansQuery) GetStackedGroupName() *SpanField { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *PieChart_SpansQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - return nil -} - -type PieChart_MetricsQuery 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"` - Filters []*Filter_MetricsFilter `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"` - EditorMode MetricsQueryEditorMode `protobuf:"varint,5,opt,name=editor_mode,json=editorMode,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode" json:"editor_mode,omitempty"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,6,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` -} - -func (x *PieChart_MetricsQuery) Reset() { - *x = PieChart_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PieChart_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PieChart_MetricsQuery) ProtoMessage() {} - -func (x *PieChart_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_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 PieChart_MetricsQuery.ProtoReflect.Descriptor instead. -func (*PieChart_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP(), []int{0, 5} -} - -func (x *PieChart_MetricsQuery) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery - } - return nil -} - -func (x *PieChart_MetricsQuery) GetFilters() []*Filter_MetricsFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *PieChart_MetricsQuery) GetGroupNames() []*wrapperspb.StringValue { - if x != nil { - return x.GroupNames - } - return nil -} - -func (x *PieChart_MetricsQuery) GetStackedGroupName() *wrapperspb.StringValue { - if x != nil { - return x.StackedGroupName - } - return nil -} - -func (x *PieChart_MetricsQuery) GetEditorMode() MetricsQueryEditorMode { - if x != nil { - return x.EditorMode - } - return MetricsQueryEditorMode_METRICS_QUERY_EDITOR_MODE_UNSPECIFIED -} - -func (x *PieChart_MetricsQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - 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"` - TimeFrame *TimeFrameSelect `protobuf:"bytes,5,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,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 -} - -func (x *PieChart_DataprimeQuery) GetTimeFrame() *TimeFrameSelect { - if x != nil { - return x.TimeFrame - } - 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{ - 0x0a, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x69, - 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 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, 0x47, 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, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x52, 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, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x6d, - 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 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, 0x61, 0x73, 0x74, - 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, - 0x75, 0x6e, 0x69, 0x74, 0x73, 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, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 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, 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, 0xa6, 0x21, 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, 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, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x75, 0x6e, - 0x69, 0x74, 0x18, 0x0b, 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, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x55, 0x6e, - 0x69, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x18, 0x0c, 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, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 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, 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, 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, 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, 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, 0xda, 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, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xac, - 0x04, 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, 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, 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, 0x72, 0x61, 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, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0x97, 0x04, - 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, 0x12, 0x6b, 0x0a, 0x0b, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x5f, 0x6d, 0x6f, 0x64, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, - 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, - 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, - 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x06, 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, 0x54, 0x69, 0x6d, - 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x09, 0x74, 0x69, - 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x1a, 0xa2, 0x03, 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, 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, 0x12, 0x56, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, - 0x6d, 0x65, 0x18, 0x05, 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, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDescData -} - -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, 8) -var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_goTypes = []any{ - (PieChart_LabelSource)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelSource - (*PieChart)(nil), // 1: com.coralogixapis.dashboards.v1.ast.widgets.PieChart - (*PieChart_Query)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query - (*PieChart_StackDefinition)(nil), // 3: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition - (*PieChart_LabelDefinition)(nil), // 4: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition - (*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 - (*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 - (*TimeFrameSelect)(nil), // 18: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (*SpansAggregation)(nil), // 19: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*Filter_SpansFilter)(nil), // 20: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*SpanField)(nil), // 21: com.coralogixapis.dashboards.v1.common.SpanField - (*PromQlQuery)(nil), // 22: com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - (*Filter_MetricsFilter)(nil), // 23: com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - (MetricsQueryEditorMode)(0), // 24: com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - (*DataprimeQuery)(nil), // 25: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*Filter_Source)(nil), // 26: 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 - 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 - 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 - 11, // 10: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.custom_unit:type_name -> google.protobuf.StringValue - 9, // 11: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.decimal:type_name -> google.protobuf.Int32Value - 5, // 12: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.logs:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery - 6, // 13: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.spans:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery - 7, // 14: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery - 8, // 15: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.Query.dataprime:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery - 9, // 16: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition.max_slices_per_stack:type_name -> google.protobuf.Int32Value - 11, // 17: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.StackDefinition.stack_name_template:type_name -> google.protobuf.StringValue - 0, // 18: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.label_source:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelSource - 10, // 19: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.is_visible:type_name -> google.protobuf.BoolValue - 10, // 20: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_name:type_name -> google.protobuf.BoolValue - 10, // 21: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_value:type_name -> google.protobuf.BoolValue - 10, // 22: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LabelDefinition.show_percentage:type_name -> google.protobuf.BoolValue - 14, // 23: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 15, // 24: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.LogsAggregation - 16, // 25: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.LogsFilter - 11, // 26: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.group_names:type_name -> google.protobuf.StringValue - 11, // 27: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 17, // 28: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.group_names_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 17, // 29: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.stacked_group_name_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 18, // 30: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.LogsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 14, // 31: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.lucene_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.LuceneQuery - 19, // 32: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 20, // 33: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 21, // 34: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.group_names:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 21, // 35: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.stacked_group_name:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 18, // 36: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.SpansQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 22, // 37: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.promql_query:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.PromQlQuery - 23, // 38: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.MetricsFilter - 11, // 39: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.group_names:type_name -> google.protobuf.StringValue - 11, // 40: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 24, // 41: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.editor_mode:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.common.MetricsQueryEditorMode - 18, // 42: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.MetricsQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 25, // 43: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.dataprime_query:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 26, // 44: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.Source - 11, // 45: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.group_names:type_name -> google.protobuf.StringValue - 11, // 46: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.stacked_group_name:type_name -> google.protobuf.StringValue - 18, // 47: com.coralogixapis.dashboards.v1.ast.widgets.PieChart.DataprimeQuery.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrameSelect - 48, // [48:48] is the sub-list for method output_type - 48, // [48:48] is the sub-list for method input_type - 48, // [48:48] is the sub-list for extension type_name - 48, // [48:48] is the sub-list for extension extendee - 0, // [0:48] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto != nil { - return - } - 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_metrics_query_editor_mode_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() - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*PieChart); 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].Exporter = func(v any, i int) any { - switch v := v.(*PieChart_Query); 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[2].Exporter = func(v any, i int) any { - switch v := v.(*PieChart_StackDefinition); 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[3].Exporter = func(v any, i int) any { - switch v := v.(*PieChart_LabelDefinition); 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[4].Exporter = func(v any, i int) any { - switch v := v.(*PieChart_LogsQuery); 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[5].Exporter = func(v any, i int) any { - switch v := v.(*PieChart_SpansQuery); 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[6].Exporter = func(v any, i int) any { - switch v := v.(*PieChart_MetricsQuery); 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[7].Exporter = func(v any, i int) any { - 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 = []any{ - (*PieChart_Query_Logs)(nil), - (*PieChart_Query_Spans)(nil), - (*PieChart_Query_Metrics)(nil), - (*PieChart_Query_Dataprime)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDesc, - NumEnums: 1, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/query.pb.go b/coralogix/clientset/grpc/dashboards/query.pb.go deleted file mode 100644 index 162590ed..00000000 --- a/coralogix/clientset/grpc/dashboards/query.pb.go +++ /dev/null @@ -1,425 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/query.proto - -package v1 - -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 DataprimeQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` -} - -func (x *DataprimeQuery) Reset() { - *x = DataprimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataprimeQuery) ProtoMessage() {} - -func (x *DataprimeQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_query_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 DataprimeQuery.ProtoReflect.Descriptor instead. -func (*DataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{0} -} - -func (x *DataprimeQuery) GetText() string { - if x != nil { - return x.Text - } - return "" -} - -type SerializedDataprimeQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *SerializedDataprimeQuery) Reset() { - *x = SerializedDataprimeQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SerializedDataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SerializedDataprimeQuery) ProtoMessage() {} - -func (x *SerializedDataprimeQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_query_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 SerializedDataprimeQuery.ProtoReflect.Descriptor instead. -func (*SerializedDataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{1} -} - -func (x *SerializedDataprimeQuery) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -type FullDataprimeQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Serialized *SerializedDataprimeQuery `protobuf:"bytes,1,opt,name=serialized,proto3" json:"serialized,omitempty"` - Raw *DataprimeQuery `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"` -} - -func (x *FullDataprimeQuery) Reset() { - *x = FullDataprimeQuery{} - 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 *FullDataprimeQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FullDataprimeQuery) ProtoMessage() {} - -func (x *FullDataprimeQuery) 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 FullDataprimeQuery.ProtoReflect.Descriptor instead. -func (*FullDataprimeQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{2} -} - -func (x *FullDataprimeQuery) GetSerialized() *SerializedDataprimeQuery { - if x != nil { - return x.Serialized - } - return nil -} - -func (x *FullDataprimeQuery) GetRaw() *DataprimeQuery { - if x != nil { - return x.Raw - } - 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[3] - 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[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 PromQlQuery.ProtoReflect.Descriptor instead. -func (*PromQlQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{3} -} - -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[4] - 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[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 LuceneQuery.ProtoReflect.Descriptor instead. -func (*LuceneQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{4} -} - -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{ - 0x0a, 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, 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, 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, 0x22, 0xc0, 0x01, 0x0a, 0x12, 0x46, 0x75, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x70, - 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x60, 0x0a, 0x0a, 0x73, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 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, - 0x0a, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x03, 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, 0x03, 0x72, 0x61, 0x77, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_query_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_com_coralogixapis_dashboards_v1_common_query_proto_goTypes = []any{ - (*DataprimeQuery)(nil), // 0: com.coralogixapis.dashboards.v1.common.DataprimeQuery - (*SerializedDataprimeQuery)(nil), // 1: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - (*FullDataprimeQuery)(nil), // 2: com.coralogixapis.dashboards.v1.common.FullDataprimeQuery - (*PromQlQuery)(nil), // 3: com.coralogixapis.dashboards.v1.common.PromQlQuery - (*LuceneQuery)(nil), // 4: com.coralogixapis.dashboards.v1.common.LuceneQuery - (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_common_query_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.FullDataprimeQuery.serialized:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - 0, // 1: com.coralogixapis.dashboards.v1.common.FullDataprimeQuery.raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery - 5, // 2: com.coralogixapis.dashboards.v1.common.PromQlQuery.value:type_name -> google.protobuf.StringValue - 5, // 3: com.coralogixapis.dashboards.v1.common.LuceneQuery.value:type_name -> google.protobuf.StringValue - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_query_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_query_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_query_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*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_common_query_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*SerializedDataprimeQuery); 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[2].Exporter = func(v any, i int) any { - switch v := v.(*FullDataprimeQuery); 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 any, i int) any { - 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[4].Exporter = func(v any, i int) any { - 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_common_query_proto_rawDesc, - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_query_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_query_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_query_proto = out.File - file_com_coralogixapis_dashboards_v1_common_query_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_query_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_query_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/scale.pb.go b/coralogix/clientset/grpc/dashboards/scale.pb.go deleted file mode 100644 index 4bfdb440..00000000 --- a/coralogix/clientset/grpc/dashboards/scale.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/scale.proto - -package v1 - -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 ScaleType int32 - -const ( - ScaleType_SCALE_TYPE_UNSPECIFIED ScaleType = 0 - ScaleType_SCALE_TYPE_LINEAR ScaleType = 1 - ScaleType_SCALE_TYPE_LOGARITHMIC ScaleType = 2 -) - -// Enum value maps for ScaleType. -var ( - ScaleType_name = map[int32]string{ - 0: "SCALE_TYPE_UNSPECIFIED", - 1: "SCALE_TYPE_LINEAR", - 2: "SCALE_TYPE_LOGARITHMIC", - } - ScaleType_value = map[string]int32{ - "SCALE_TYPE_UNSPECIFIED": 0, - "SCALE_TYPE_LINEAR": 1, - "SCALE_TYPE_LOGARITHMIC": 2, - } -) - -func (x ScaleType) Enum() *ScaleType { - p := new(ScaleType) - *p = x - return p -} - -func (x ScaleType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ScaleType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_enumTypes[0].Descriptor() -} - -func (ScaleType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_enumTypes[0] -} - -func (x ScaleType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ScaleType.Descriptor instead. -func (ScaleType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDesc = []byte{ - 0x0a, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x63, 0x61, 0x6c, 0x65, 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, 0x2a, 0x5a, 0x0a, 0x09, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, - 0x11, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, - 0x41, 0x52, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x47, 0x41, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x49, 0x43, 0x10, 0x02, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_goTypes = []any{ - (ScaleType)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.ScaleType -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_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_widgets_common_scale_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/sort_by.pb.go b/coralogix/clientset/grpc/dashboards/sort_by.pb.go deleted file mode 100644 index fa3629bc..00000000 --- a/coralogix/clientset/grpc/dashboards/sort_by.pb.go +++ /dev/null @@ -1,138 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/sort_by.proto - -package v1 - -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 SortByType int32 - -const ( - SortByType_SORT_BY_TYPE_UNSPECIFIED SortByType = 0 - SortByType_SORT_BY_TYPE_VALUE SortByType = 1 - SortByType_SORT_BY_TYPE_NAME SortByType = 2 -) - -// Enum value maps for SortByType. -var ( - SortByType_name = map[int32]string{ - 0: "SORT_BY_TYPE_UNSPECIFIED", - 1: "SORT_BY_TYPE_VALUE", - 2: "SORT_BY_TYPE_NAME", - } - SortByType_value = map[string]int32{ - "SORT_BY_TYPE_UNSPECIFIED": 0, - "SORT_BY_TYPE_VALUE": 1, - "SORT_BY_TYPE_NAME": 2, - } -) - -func (x SortByType) Enum() *SortByType { - p := new(SortByType) - *p = x - return p -} - -func (x SortByType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SortByType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_enumTypes[0].Descriptor() -} - -func (SortByType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_enumTypes[0] -} - -func (x SortByType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SortByType.Descriptor instead. -func (SortByType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_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, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 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, 0x2a, 0x59, 0x0a, 0x0a, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x4f, 0x52, 0x54, 0x5f, 0x42, 0x59, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x52, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x4f, - 0x52, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, - 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_goTypes = []any{ - (SortByType)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.SortByType -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_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_widgets_common_sort_by_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/span_field.pb.go b/coralogix/clientset/grpc/dashboards/span_field.pb.go deleted file mode 100644 index 5859c9fb..00000000 --- a/coralogix/clientset/grpc/dashboards/span_field.pb.go +++ /dev/null @@ -1,290 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/span_field.proto - -package v1 - -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 SpanField_MetadataField int32 - -const ( - SpanField_METADATA_FIELD_UNSPECIFIED SpanField_MetadataField = 0 - SpanField_METADATA_FIELD_APPLICATION_NAME SpanField_MetadataField = 1 - SpanField_METADATA_FIELD_SUBSYSTEM_NAME SpanField_MetadataField = 2 - SpanField_METADATA_FIELD_SERVICE_NAME SpanField_MetadataField = 3 - SpanField_METADATA_FIELD_OPERATION_NAME SpanField_MetadataField = 4 -) - -// Enum value maps for SpanField_MetadataField. -var ( - SpanField_MetadataField_name = map[int32]string{ - 0: "METADATA_FIELD_UNSPECIFIED", - 1: "METADATA_FIELD_APPLICATION_NAME", - 2: "METADATA_FIELD_SUBSYSTEM_NAME", - 3: "METADATA_FIELD_SERVICE_NAME", - 4: "METADATA_FIELD_OPERATION_NAME", - } - SpanField_MetadataField_value = map[string]int32{ - "METADATA_FIELD_UNSPECIFIED": 0, - "METADATA_FIELD_APPLICATION_NAME": 1, - "METADATA_FIELD_SUBSYSTEM_NAME": 2, - "METADATA_FIELD_SERVICE_NAME": 3, - "METADATA_FIELD_OPERATION_NAME": 4, - } -) - -func (x SpanField_MetadataField) Enum() *SpanField_MetadataField { - p := new(SpanField_MetadataField) - *p = x - return p -} - -func (x SpanField_MetadataField) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SpanField_MetadataField) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_span_field_proto_enumTypes[0].Descriptor() -} - -func (SpanField_MetadataField) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_span_field_proto_enumTypes[0] -} - -func (x SpanField_MetadataField) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SpanField_MetadataField.Descriptor instead. -func (SpanField_MetadataField) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescGZIP(), []int{0, 0} -} - -type SpanField struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *SpanField_MetadataField_ - // *SpanField_TagField - // *SpanField_ProcessTagField - Value isSpanField_Value `protobuf_oneof:"value"` -} - -func (x *SpanField) Reset() { - *x = SpanField{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_span_field_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpanField) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpanField) ProtoMessage() {} - -func (x *SpanField) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_span_field_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 SpanField.ProtoReflect.Descriptor instead. -func (*SpanField) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescGZIP(), []int{0} -} - -func (m *SpanField) GetValue() isSpanField_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *SpanField) GetMetadataField() SpanField_MetadataField { - if x, ok := x.GetValue().(*SpanField_MetadataField_); ok { - return x.MetadataField - } - return SpanField_METADATA_FIELD_UNSPECIFIED -} - -func (x *SpanField) GetTagField() *wrapperspb.StringValue { - if x, ok := x.GetValue().(*SpanField_TagField); ok { - return x.TagField - } - return nil -} - -func (x *SpanField) GetProcessTagField() *wrapperspb.StringValue { - if x, ok := x.GetValue().(*SpanField_ProcessTagField); ok { - return x.ProcessTagField - } - return nil -} - -type isSpanField_Value interface { - isSpanField_Value() -} - -type SpanField_MetadataField_ struct { - MetadataField SpanField_MetadataField `protobuf:"varint,1,opt,name=metadata_field,json=metadataField,proto3,enum=com.coralogixapis.dashboards.v1.common.SpanField_MetadataField,oneof"` -} - -type SpanField_TagField struct { - TagField *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=tag_field,json=tagField,proto3,oneof"` -} - -type SpanField_ProcessTagField struct { - ProcessTagField *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=process_tag_field,json=processTagField,proto3,oneof"` -} - -func (*SpanField_MetadataField_) isSpanField_Value() {} - -func (*SpanField_TagField) isSpanField_Value() {} - -func (*SpanField_ProcessTagField) isSpanField_Value() {} - -var File_com_coralogixapis_dashboards_v1_common_span_field_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDesc = []byte{ - 0x0a, 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, 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, 0xc5, 0x03, 0x0a, 0x09, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, - 0x68, 0x0a, 0x0e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 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, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3b, 0x0a, 0x09, 0x74, 0x61, 0x67, - 0x5f, 0x66, 0x69, 0x65, 0x6c, 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, 0x48, 0x00, 0x52, 0x08, 0x74, 0x61, - 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x4a, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, - 0x73, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 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, 0x48, - 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x61, 0x67, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x22, 0xbb, 0x01, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, - 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, - 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x4d, 0x45, 0x54, - 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x55, 0x42, 0x53, - 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, - 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x53, - 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x03, 0x12, 0x21, 0x0a, - 0x1d, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, - 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x04, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_span_field_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_span_field_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_common_span_field_proto_goTypes = []any{ - (SpanField_MetadataField)(0), // 0: com.coralogixapis.dashboards.v1.common.SpanField.MetadataField - (*SpanField)(nil), // 1: com.coralogixapis.dashboards.v1.common.SpanField - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_common_span_field_proto_depIdxs = []int32{ - 0, // 0: com.coralogixapis.dashboards.v1.common.SpanField.metadata_field:type_name -> com.coralogixapis.dashboards.v1.common.SpanField.MetadataField - 2, // 1: com.coralogixapis.dashboards.v1.common.SpanField.tag_field:type_name -> google.protobuf.StringValue - 2, // 2: com.coralogixapis.dashboards.v1.common.SpanField.process_tag_field:type_name -> google.protobuf.StringValue - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_span_field_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_span_field_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*SpanField); 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_span_field_proto_msgTypes[0].OneofWrappers = []any{ - (*SpanField_MetadataField_)(nil), - (*SpanField_TagField)(nil), - (*SpanField_ProcessTagField)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_span_field_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_span_field_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_common_span_field_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_span_field_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_span_field_proto = out.File - file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_span_field_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_span_field_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go b/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go deleted file mode 100644 index e14c806a..00000000 --- a/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go +++ /dev/null @@ -1,631 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/spans_aggregation.proto - -package v1 - -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 SpansAggregation_MetricAggregation_MetricField int32 - -const ( - SpansAggregation_MetricAggregation_METRIC_FIELD_UNSPECIFIED SpansAggregation_MetricAggregation_MetricField = 0 - SpansAggregation_MetricAggregation_METRIC_FIELD_DURATION SpansAggregation_MetricAggregation_MetricField = 1 -) - -// Enum value maps for SpansAggregation_MetricAggregation_MetricField. -var ( - SpansAggregation_MetricAggregation_MetricField_name = map[int32]string{ - 0: "METRIC_FIELD_UNSPECIFIED", - 1: "METRIC_FIELD_DURATION", - } - SpansAggregation_MetricAggregation_MetricField_value = map[string]int32{ - "METRIC_FIELD_UNSPECIFIED": 0, - "METRIC_FIELD_DURATION": 1, - } -) - -func (x SpansAggregation_MetricAggregation_MetricField) Enum() *SpansAggregation_MetricAggregation_MetricField { - p := new(SpansAggregation_MetricAggregation_MetricField) - *p = x - return p -} - -func (x SpansAggregation_MetricAggregation_MetricField) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SpansAggregation_MetricAggregation_MetricField) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[0].Descriptor() -} - -func (SpansAggregation_MetricAggregation_MetricField) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[0] -} - -func (x SpansAggregation_MetricAggregation_MetricField) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SpansAggregation_MetricAggregation_MetricField.Descriptor instead. -func (SpansAggregation_MetricAggregation_MetricField) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP(), []int{0, 0, 0} -} - -type SpansAggregation_MetricAggregation_MetricAggregationType int32 - -const ( - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_UNSPECIFIED SpansAggregation_MetricAggregation_MetricAggregationType = 0 - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_MIN SpansAggregation_MetricAggregation_MetricAggregationType = 1 - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_MAX SpansAggregation_MetricAggregation_MetricAggregationType = 2 - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_AVERAGE SpansAggregation_MetricAggregation_MetricAggregationType = 3 - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_SUM SpansAggregation_MetricAggregation_MetricAggregationType = 4 - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_PERCENTILE_99 SpansAggregation_MetricAggregation_MetricAggregationType = 5 - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_PERCENTILE_95 SpansAggregation_MetricAggregation_MetricAggregationType = 6 - SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_PERCENTILE_50 SpansAggregation_MetricAggregation_MetricAggregationType = 7 -) - -// Enum value maps for SpansAggregation_MetricAggregation_MetricAggregationType. -var ( - SpansAggregation_MetricAggregation_MetricAggregationType_name = map[int32]string{ - 0: "METRIC_AGGREGATION_TYPE_UNSPECIFIED", - 1: "METRIC_AGGREGATION_TYPE_MIN", - 2: "METRIC_AGGREGATION_TYPE_MAX", - 3: "METRIC_AGGREGATION_TYPE_AVERAGE", - 4: "METRIC_AGGREGATION_TYPE_SUM", - 5: "METRIC_AGGREGATION_TYPE_PERCENTILE_99", - 6: "METRIC_AGGREGATION_TYPE_PERCENTILE_95", - 7: "METRIC_AGGREGATION_TYPE_PERCENTILE_50", - } - SpansAggregation_MetricAggregation_MetricAggregationType_value = map[string]int32{ - "METRIC_AGGREGATION_TYPE_UNSPECIFIED": 0, - "METRIC_AGGREGATION_TYPE_MIN": 1, - "METRIC_AGGREGATION_TYPE_MAX": 2, - "METRIC_AGGREGATION_TYPE_AVERAGE": 3, - "METRIC_AGGREGATION_TYPE_SUM": 4, - "METRIC_AGGREGATION_TYPE_PERCENTILE_99": 5, - "METRIC_AGGREGATION_TYPE_PERCENTILE_95": 6, - "METRIC_AGGREGATION_TYPE_PERCENTILE_50": 7, - } -) - -func (x SpansAggregation_MetricAggregation_MetricAggregationType) Enum() *SpansAggregation_MetricAggregation_MetricAggregationType { - p := new(SpansAggregation_MetricAggregation_MetricAggregationType) - *p = x - return p -} - -func (x SpansAggregation_MetricAggregation_MetricAggregationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SpansAggregation_MetricAggregation_MetricAggregationType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[1].Descriptor() -} - -func (SpansAggregation_MetricAggregation_MetricAggregationType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[1] -} - -func (x SpansAggregation_MetricAggregation_MetricAggregationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SpansAggregation_MetricAggregation_MetricAggregationType.Descriptor instead. -func (SpansAggregation_MetricAggregation_MetricAggregationType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP(), []int{0, 0, 1} -} - -type SpansAggregation_DimensionAggregation_DimensionField int32 - -const ( - SpansAggregation_DimensionAggregation_DIMENSION_FIELD_UNSPECIFIED SpansAggregation_DimensionAggregation_DimensionField = 0 - SpansAggregation_DimensionAggregation_DIMENSION_FIELD_TRACE_ID SpansAggregation_DimensionAggregation_DimensionField = 1 -) - -// Enum value maps for SpansAggregation_DimensionAggregation_DimensionField. -var ( - SpansAggregation_DimensionAggregation_DimensionField_name = map[int32]string{ - 0: "DIMENSION_FIELD_UNSPECIFIED", - 1: "DIMENSION_FIELD_TRACE_ID", - } - SpansAggregation_DimensionAggregation_DimensionField_value = map[string]int32{ - "DIMENSION_FIELD_UNSPECIFIED": 0, - "DIMENSION_FIELD_TRACE_ID": 1, - } -) - -func (x SpansAggregation_DimensionAggregation_DimensionField) Enum() *SpansAggregation_DimensionAggregation_DimensionField { - p := new(SpansAggregation_DimensionAggregation_DimensionField) - *p = x - return p -} - -func (x SpansAggregation_DimensionAggregation_DimensionField) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SpansAggregation_DimensionAggregation_DimensionField) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[2].Descriptor() -} - -func (SpansAggregation_DimensionAggregation_DimensionField) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[2] -} - -func (x SpansAggregation_DimensionAggregation_DimensionField) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SpansAggregation_DimensionAggregation_DimensionField.Descriptor instead. -func (SpansAggregation_DimensionAggregation_DimensionField) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP(), []int{0, 1, 0} -} - -type SpansAggregation_DimensionAggregation_DimensionAggregationType int32 - -const ( - SpansAggregation_DimensionAggregation_DIMENSION_AGGREGATION_TYPE_UNSPECIFIED SpansAggregation_DimensionAggregation_DimensionAggregationType = 0 - SpansAggregation_DimensionAggregation_DIMENSION_AGGREGATION_TYPE_UNIQUE_COUNT SpansAggregation_DimensionAggregation_DimensionAggregationType = 1 - SpansAggregation_DimensionAggregation_DIMENSION_AGGREGATION_TYPE_ERROR_COUNT SpansAggregation_DimensionAggregation_DimensionAggregationType = 2 -) - -// Enum value maps for SpansAggregation_DimensionAggregation_DimensionAggregationType. -var ( - SpansAggregation_DimensionAggregation_DimensionAggregationType_name = map[int32]string{ - 0: "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED", - 1: "DIMENSION_AGGREGATION_TYPE_UNIQUE_COUNT", - 2: "DIMENSION_AGGREGATION_TYPE_ERROR_COUNT", - } - SpansAggregation_DimensionAggregation_DimensionAggregationType_value = map[string]int32{ - "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED": 0, - "DIMENSION_AGGREGATION_TYPE_UNIQUE_COUNT": 1, - "DIMENSION_AGGREGATION_TYPE_ERROR_COUNT": 2, - } -) - -func (x SpansAggregation_DimensionAggregation_DimensionAggregationType) Enum() *SpansAggregation_DimensionAggregation_DimensionAggregationType { - p := new(SpansAggregation_DimensionAggregation_DimensionAggregationType) - *p = x - return p -} - -func (x SpansAggregation_DimensionAggregation_DimensionAggregationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SpansAggregation_DimensionAggregation_DimensionAggregationType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[3].Descriptor() -} - -func (SpansAggregation_DimensionAggregation_DimensionAggregationType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes[3] -} - -func (x SpansAggregation_DimensionAggregation_DimensionAggregationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SpansAggregation_DimensionAggregation_DimensionAggregationType.Descriptor instead. -func (SpansAggregation_DimensionAggregation_DimensionAggregationType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP(), []int{0, 1, 1} -} - -type SpansAggregation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Aggregation: - // - // *SpansAggregation_MetricAggregation_ - // *SpansAggregation_DimensionAggregation_ - Aggregation isSpansAggregation_Aggregation `protobuf_oneof:"aggregation"` -} - -func (x *SpansAggregation) Reset() { - *x = SpansAggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansAggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansAggregation) ProtoMessage() {} - -func (x *SpansAggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_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 SpansAggregation.ProtoReflect.Descriptor instead. -func (*SpansAggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP(), []int{0} -} - -func (m *SpansAggregation) GetAggregation() isSpansAggregation_Aggregation { - if m != nil { - return m.Aggregation - } - return nil -} - -func (x *SpansAggregation) GetMetricAggregation() *SpansAggregation_MetricAggregation { - if x, ok := x.GetAggregation().(*SpansAggregation_MetricAggregation_); ok { - return x.MetricAggregation - } - return nil -} - -func (x *SpansAggregation) GetDimensionAggregation() *SpansAggregation_DimensionAggregation { - if x, ok := x.GetAggregation().(*SpansAggregation_DimensionAggregation_); ok { - return x.DimensionAggregation - } - return nil -} - -type isSpansAggregation_Aggregation interface { - isSpansAggregation_Aggregation() -} - -type SpansAggregation_MetricAggregation_ struct { - MetricAggregation *SpansAggregation_MetricAggregation `protobuf:"bytes,1,opt,name=metric_aggregation,json=metricAggregation,proto3,oneof"` -} - -type SpansAggregation_DimensionAggregation_ struct { - DimensionAggregation *SpansAggregation_DimensionAggregation `protobuf:"bytes,2,opt,name=dimension_aggregation,json=dimensionAggregation,proto3,oneof"` -} - -func (*SpansAggregation_MetricAggregation_) isSpansAggregation_Aggregation() {} - -func (*SpansAggregation_DimensionAggregation_) isSpansAggregation_Aggregation() {} - -type SpansAggregation_MetricAggregation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetricField SpansAggregation_MetricAggregation_MetricField `protobuf:"varint,1,opt,name=metric_field,json=metricField,proto3,enum=com.coralogixapis.dashboards.v1.common.SpansAggregation_MetricAggregation_MetricField" json:"metric_field,omitempty"` - AggregationType SpansAggregation_MetricAggregation_MetricAggregationType `protobuf:"varint,2,opt,name=aggregation_type,json=aggregationType,proto3,enum=com.coralogixapis.dashboards.v1.common.SpansAggregation_MetricAggregation_MetricAggregationType" json:"aggregation_type,omitempty"` -} - -func (x *SpansAggregation_MetricAggregation) Reset() { - *x = SpansAggregation_MetricAggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansAggregation_MetricAggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansAggregation_MetricAggregation) ProtoMessage() {} - -func (x *SpansAggregation_MetricAggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_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 SpansAggregation_MetricAggregation.ProtoReflect.Descriptor instead. -func (*SpansAggregation_MetricAggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *SpansAggregation_MetricAggregation) GetMetricField() SpansAggregation_MetricAggregation_MetricField { - if x != nil { - return x.MetricField - } - return SpansAggregation_MetricAggregation_METRIC_FIELD_UNSPECIFIED -} - -func (x *SpansAggregation_MetricAggregation) GetAggregationType() SpansAggregation_MetricAggregation_MetricAggregationType { - if x != nil { - return x.AggregationType - } - return SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_UNSPECIFIED -} - -type SpansAggregation_DimensionAggregation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DimensionField SpansAggregation_DimensionAggregation_DimensionField `protobuf:"varint,1,opt,name=dimension_field,json=dimensionField,proto3,enum=com.coralogixapis.dashboards.v1.common.SpansAggregation_DimensionAggregation_DimensionField" json:"dimension_field,omitempty"` - AggregationType SpansAggregation_DimensionAggregation_DimensionAggregationType `protobuf:"varint,2,opt,name=aggregation_type,json=aggregationType,proto3,enum=com.coralogixapis.dashboards.v1.common.SpansAggregation_DimensionAggregation_DimensionAggregationType" json:"aggregation_type,omitempty"` -} - -func (x *SpansAggregation_DimensionAggregation) Reset() { - *x = SpansAggregation_DimensionAggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansAggregation_DimensionAggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansAggregation_DimensionAggregation) ProtoMessage() {} - -func (x *SpansAggregation_DimensionAggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_spans_aggregation_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 SpansAggregation_DimensionAggregation.ProtoReflect.Descriptor instead. -func (*SpansAggregation_DimensionAggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *SpansAggregation_DimensionAggregation) GetDimensionField() SpansAggregation_DimensionAggregation_DimensionField { - if x != nil { - return x.DimensionField - } - return SpansAggregation_DimensionAggregation_DIMENSION_FIELD_UNSPECIFIED -} - -func (x *SpansAggregation_DimensionAggregation) GetAggregationType() SpansAggregation_DimensionAggregation_DimensionAggregationType { - if x != nil { - return x.AggregationType - } - return SpansAggregation_DimensionAggregation_DIMENSION_AGGREGATION_TYPE_UNSPECIFIED -} - -var File_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDesc = []byte{ - 0x0a, 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, - 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, 0x80, 0x0c, 0x0a, 0x10, 0x53, 0x70, 0x61, - 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7b, 0x0a, - 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x84, 0x01, 0x0a, 0x15, 0x64, - 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 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, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14, 0x64, 0x69, 0x6d, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x1a, 0xb0, 0x05, 0x0a, 0x11, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x79, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x56, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x60, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x41, 0x67, - 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 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, - 0x22, 0x46, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, - 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, - 0x15, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x44, 0x55, - 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x22, 0xc9, 0x02, 0x0a, 0x15, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x27, 0x0a, 0x23, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 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, 0x1f, 0x0a, 0x1b, 0x4d, - 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, - 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x02, 0x12, 0x23, 0x0a, - 0x1f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x56, 0x45, 0x52, 0x41, 0x47, 0x45, - 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x41, 0x47, 0x47, - 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x55, - 0x4d, 0x10, 0x04, 0x12, 0x29, 0x0a, 0x25, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x41, 0x47, - 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, - 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x39, 0x39, 0x10, 0x05, 0x12, 0x29, - 0x0a, 0x25, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, - 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x39, 0x35, 0x10, 0x06, 0x12, 0x29, 0x0a, 0x25, 0x4d, 0x45, 0x54, - 0x52, 0x49, 0x43, 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x49, 0x4c, 0x45, 0x5f, - 0x35, 0x30, 0x10, 0x07, 0x1a, 0xa5, 0x04, 0x0a, 0x14, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x85, 0x01, - 0x0a, 0x0f, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x5c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 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, 0x2e, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0e, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x91, 0x01, 0x0a, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x2e, 0x44, 0x69, 0x6d, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x44, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 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, 0x22, 0x4f, 0x0a, 0x0e, 0x44, 0x69, 0x6d, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1f, 0x0a, 0x1b, 0x44, - 0x49, 0x4d, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, - 0x44, 0x49, 0x4d, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, - 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x01, 0x22, 0x9f, 0x01, 0x0a, 0x18, 0x44, - 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x26, 0x44, 0x49, 0x4d, 0x45, 0x4e, - 0x53, 0x49, 0x4f, 0x4e, 0x5f, 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, 0x2b, 0x0a, 0x27, 0x44, 0x49, 0x4d, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, - 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x55, 0x4e, 0x49, 0x51, 0x55, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x01, - 0x12, 0x2a, 0x0a, 0x26, 0x44, 0x49, 0x4d, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x47, - 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x02, 0x42, 0x0d, 0x0a, 0x0b, - 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_goTypes = []any{ - (SpansAggregation_MetricAggregation_MetricField)(0), // 0: com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation.MetricField - (SpansAggregation_MetricAggregation_MetricAggregationType)(0), // 1: com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation.MetricAggregationType - (SpansAggregation_DimensionAggregation_DimensionField)(0), // 2: com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation.DimensionField - (SpansAggregation_DimensionAggregation_DimensionAggregationType)(0), // 3: com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation.DimensionAggregationType - (*SpansAggregation)(nil), // 4: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*SpansAggregation_MetricAggregation)(nil), // 5: com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation - (*SpansAggregation_DimensionAggregation)(nil), // 6: com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation -} -var file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_depIdxs = []int32{ - 5, // 0: com.coralogixapis.dashboards.v1.common.SpansAggregation.metric_aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation - 6, // 1: com.coralogixapis.dashboards.v1.common.SpansAggregation.dimension_aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation - 0, // 2: com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation.metric_field:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation.MetricField - 1, // 3: com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation.aggregation_type:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation.MetricAggregation.MetricAggregationType - 2, // 4: com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation.dimension_field:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation.DimensionField - 3, // 5: com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation.aggregation_type:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation.DimensionAggregation.DimensionAggregationType - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*SpansAggregation); 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_spans_aggregation_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*SpansAggregation_MetricAggregation); 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_spans_aggregation_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*SpansAggregation_DimensionAggregation); 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_spans_aggregation_proto_msgTypes[0].OneofWrappers = []any{ - (*SpansAggregation_MetricAggregation_)(nil), - (*SpansAggregation_DimensionAggregation_)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDesc, - NumEnums: 4, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto = out.File - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/spans_data_source_service.pb.go b/coralogix/clientset/grpc/dashboards/spans_data_source_service.pb.go deleted file mode 100644 index c718da03..00000000 --- a/coralogix/clientset/grpc/dashboards/spans_data_source_service.pb.go +++ /dev/null @@ -1,2631 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/spans_data_source_service.proto - -package v1 - -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 SearchSpansTimeSeriesRequest 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_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() { - *x = SearchSpansTimeSeriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansTimeSeriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansTimeSeriesRequest) ProtoMessage() {} - -func (x *SearchSpansTimeSeriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansTimeSeriesRequest.ProtoReflect.Descriptor instead. -func (*SearchSpansTimeSeriesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{0} -} - -func (x *SearchSpansTimeSeriesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchSpansTimeSeriesRequest) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval - } - return nil -} - -func (x *SearchSpansTimeSeriesRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchSpansTimeSeriesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchSpansTimeSeriesRequest) GetGroupBy() []*SpanField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *SearchSpansTimeSeriesRequest) GetAggregations() []*SpansAggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -func (x *SearchSpansTimeSeriesRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchSpansTimeSeriesResponse 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 *SearchSpansTimeSeriesResponse) Reset() { - *x = SearchSpansTimeSeriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansTimeSeriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansTimeSeriesResponse) ProtoMessage() {} - -func (x *SearchSpansTimeSeriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansTimeSeriesResponse.ProtoReflect.Descriptor instead. -func (*SearchSpansTimeSeriesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{1} -} - -func (x *SearchSpansTimeSeriesResponse) GetTimeSeries() []*TimeSeries { - if x != nil { - return x.TimeSeries - } - return nil -} - -func (x *SearchSpansTimeSeriesResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -type SearchSpansEventsRequest 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"` - 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"` -} - -func (x *SearchSpansEventsRequest) Reset() { - *x = SearchSpansEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansEventsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansEventsRequest) ProtoMessage() {} - -func (x *SearchSpansEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansEventsRequest.ProtoReflect.Descriptor instead. -func (*SearchSpansEventsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{2} -} - -func (x *SearchSpansEventsRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchSpansEventsRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchSpansEventsRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchSpansEventsRequest) GetPagination() *SearchSpansEventsRequest_Pagination { - if x != nil { - return x.Pagination - } - return nil -} - -type SearchSpansEventsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Total *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"` - SpansEvents []*SpansEvent `protobuf:"bytes,2,rep,name=spans_events,json=spansEvents,proto3" json:"spans_events,omitempty"` -} - -func (x *SearchSpansEventsResponse) Reset() { - *x = SearchSpansEventsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansEventsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansEventsResponse) ProtoMessage() {} - -func (x *SearchSpansEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansEventsResponse.ProtoReflect.Descriptor instead. -func (*SearchSpansEventsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{3} -} - -func (x *SearchSpansEventsResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -func (x *SearchSpansEventsResponse) GetSpansEvents() []*SpansEvent { - if x != nil { - return x.SpansEvents - } - return nil -} - -type SearchSpansEventGroupsRequest 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"` - 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() { - *x = SearchSpansEventGroupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansEventGroupsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansEventGroupsRequest) ProtoMessage() {} - -func (x *SearchSpansEventGroupsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansEventGroupsRequest.ProtoReflect.Descriptor instead. -func (*SearchSpansEventGroupsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{4} -} - -func (x *SearchSpansEventGroupsRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchSpansEventGroupsRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchSpansEventGroupsRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchSpansEventGroupsRequest) GetGroupByFields() []*SpanField { - if x != nil { - return x.GroupByFields - } - return nil -} - -func (x *SearchSpansEventGroupsRequest) GetAggregations() []*SpansAggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -func (x *SearchSpansEventGroupsRequest) GetPagination() *Pagination { - if x != nil { - return x.Pagination - } - return nil -} - -type SearchSpansEventGroupsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*MultiGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` -} - -func (x *SearchSpansEventGroupsResponse) Reset() { - *x = SearchSpansEventGroupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansEventGroupsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansEventGroupsResponse) ProtoMessage() {} - -func (x *SearchSpansEventGroupsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansEventGroupsResponse.ProtoReflect.Descriptor instead. -func (*SearchSpansEventGroupsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{5} -} - -func (x *SearchSpansEventGroupsResponse) GetGroups() []*MultiGroup { - if x != nil { - return x.Groups - } - return nil -} - -type SearchGroupedSpansSeriesRequest 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"` - 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"` -} - -func (x *SearchGroupedSpansSeriesRequest) Reset() { - *x = SearchGroupedSpansSeriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchGroupedSpansSeriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchGroupedSpansSeriesRequest) ProtoMessage() {} - -func (x *SearchGroupedSpansSeriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchGroupedSpansSeriesRequest.ProtoReflect.Descriptor instead. -func (*SearchGroupedSpansSeriesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{6} -} - -func (x *SearchGroupedSpansSeriesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchGroupedSpansSeriesRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchGroupedSpansSeriesRequest) GetGroupByFields() []*SpanField { - if x != nil { - return x.GroupByFields - } - return nil -} - -func (x *SearchGroupedSpansSeriesRequest) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *SearchGroupedSpansSeriesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchGroupedSpansSeriesRequest) GetLimits() []*SearchGroupedSpansSeriesRequest_Limit { - if x != nil { - return x.Limits - } - return nil -} - -type SearchGroupedSpansSeriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` -} - -func (x *SearchGroupedSpansSeriesResponse) Reset() { - *x = SearchGroupedSpansSeriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchGroupedSpansSeriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchGroupedSpansSeriesResponse) ProtoMessage() {} - -func (x *SearchGroupedSpansSeriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchGroupedSpansSeriesResponse.ProtoReflect.Descriptor instead. -func (*SearchGroupedSpansSeriesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{7} -} - -func (x *SearchGroupedSpansSeriesResponse) GetSeries() []*GroupedSeries { - if x != nil { - return x.Series - } - return nil -} - -type SearchSpansGroupedTimeSeriesRequest 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_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"` -} - -func (x *SearchSpansGroupedTimeSeriesRequest) Reset() { - *x = SearchSpansGroupedTimeSeriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansGroupedTimeSeriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansGroupedTimeSeriesRequest) ProtoMessage() {} - -func (x *SearchSpansGroupedTimeSeriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansGroupedTimeSeriesRequest.ProtoReflect.Descriptor instead. -func (*SearchSpansGroupedTimeSeriesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{8} -} - -func (x *SearchSpansGroupedTimeSeriesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchSpansGroupedTimeSeriesRequest) GetInterval() *durationpb.Duration { - if x != nil { - return x.Interval - } - return nil -} - -func (x *SearchSpansGroupedTimeSeriesRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchSpansGroupedTimeSeriesRequest) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *SearchSpansGroupedTimeSeriesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchSpansGroupedTimeSeriesRequest) GetGroupBy() []*SearchSpansGroupedTimeSeriesRequest_GroupBy { - if x != nil { - return x.GroupBy - } - return nil -} - -type SearchSpansGroupedTimeSeriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Series []*GroupedSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` -} - -func (x *SearchSpansGroupedTimeSeriesResponse) Reset() { - *x = SearchSpansGroupedTimeSeriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansGroupedTimeSeriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansGroupedTimeSeriesResponse) ProtoMessage() {} - -func (x *SearchSpansGroupedTimeSeriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansGroupedTimeSeriesResponse.ProtoReflect.Descriptor instead. -func (*SearchSpansGroupedTimeSeriesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{9} -} - -func (x *SearchSpansGroupedTimeSeriesResponse) GetSeries() []*GroupedSeries { - if x != nil { - return x.Series - } - return nil -} - -type SpansEvent 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 *SpansEvent_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 []*SpansEvent_Tag `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` - ProcessTags []*SpansEvent_Tag `protobuf:"bytes,8,rep,name=process_tags,json=processTags,proto3" json:"process_tags,omitempty"` - Logs []*SpansEvent_Log `protobuf:"bytes,9,rep,name=logs,proto3" json:"logs,omitempty"` -} - -func (x *SpansEvent) Reset() { - *x = SpansEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansEvent) ProtoMessage() {} - -func (x *SpansEvent) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SpansEvent.ProtoReflect.Descriptor instead. -func (*SpansEvent) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{10} -} - -func (x *SpansEvent) GetSpanId() *wrapperspb.StringValue { - if x != nil { - return x.SpanId - } - return nil -} - -func (x *SpansEvent) GetTraceId() *wrapperspb.StringValue { - if x != nil { - return x.TraceId - } - return nil -} - -func (x *SpansEvent) GetParentSpanId() *wrapperspb.StringValue { - if x != nil { - return x.ParentSpanId - } - return nil -} - -func (x *SpansEvent) GetMetadata() *SpansEvent_Metadata { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *SpansEvent) GetStartTime() *timestamppb.Timestamp { - if x != nil { - return x.StartTime - } - return nil -} - -func (x *SpansEvent) GetDuration() *durationpb.Duration { - if x != nil { - return x.Duration - } - return nil -} - -func (x *SpansEvent) GetTags() []*SpansEvent_Tag { - if x != nil { - return x.Tags - } - return nil -} - -func (x *SpansEvent) GetProcessTags() []*SpansEvent_Tag { - if x != nil { - return x.ProcessTags - } - return nil -} - -func (x *SpansEvent) GetLogs() []*SpansEvent_Log { - if x != nil { - return x.Logs - } - return nil -} - -type SearchSpansTimeValueRequest 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"` - 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() { - *x = SearchSpansTimeValueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansTimeValueRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansTimeValueRequest) ProtoMessage() {} - -func (x *SearchSpansTimeValueRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansTimeValueRequest.ProtoReflect.Descriptor instead. -func (*SearchSpansTimeValueRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{11} -} - -func (x *SearchSpansTimeValueRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchSpansTimeValueRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchSpansTimeValueRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchSpansTimeValueRequest) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -type SearchSpansTimeValueResponse 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 *SearchSpansTimeValueResponse) Reset() { - *x = SearchSpansTimeValueResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansTimeValueResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansTimeValueResponse) ProtoMessage() {} - -func (x *SearchSpansTimeValueResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansTimeValueResponse.ProtoReflect.Descriptor instead. -func (*SearchSpansTimeValueResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{12} -} - -func (x *SearchSpansTimeValueResponse) GetValue() *wrapperspb.DoubleValue { - if x != nil { - return x.Value - } - return nil -} - -type SearchSpansAnnotationEventsRequest 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"` - 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"` - Strategy *Annotation_SpansSource_Strategy `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *SearchSpansAnnotationEventsRequest) Reset() { - *x = SearchSpansAnnotationEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansAnnotationEventsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansAnnotationEventsRequest) ProtoMessage() {} - -func (x *SearchSpansAnnotationEventsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansAnnotationEventsRequest.ProtoReflect.Descriptor instead. -func (*SearchSpansAnnotationEventsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{13} -} - -func (x *SearchSpansAnnotationEventsRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchSpansAnnotationEventsRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchSpansAnnotationEventsRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchSpansAnnotationEventsRequest) GetStrategy() *Annotation_SpansSource_Strategy { - if x != nil { - return x.Strategy - } - return nil -} - -func (x *SearchSpansAnnotationEventsRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchSpansAnnotationEventsResponse 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 *SearchSpansAnnotationEventsResponse) Reset() { - *x = SearchSpansAnnotationEventsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansAnnotationEventsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansAnnotationEventsResponse) ProtoMessage() {} - -func (x *SearchSpansAnnotationEventsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansAnnotationEventsResponse.ProtoReflect.Descriptor instead. -func (*SearchSpansAnnotationEventsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{14} -} - -func (x *SearchSpansAnnotationEventsResponse) GetAnnotationEvents() []*AnnotationEvent { - if x != nil { - return x.AnnotationEvents - } - return nil -} - -type SearchSpansGroupedValuesRequest 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"` - 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"` - GroupBy []*SpanField `protobuf:"bytes,4,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Aggregation *SpansAggregation `protobuf:"bytes,5,opt,name=aggregation,proto3" json:"aggregation,omitempty"` - Limit *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *SearchSpansGroupedValuesRequest) Reset() { - *x = SearchSpansGroupedValuesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansGroupedValuesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansGroupedValuesRequest) ProtoMessage() {} - -func (x *SearchSpansGroupedValuesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansGroupedValuesRequest.ProtoReflect.Descriptor instead. -func (*SearchSpansGroupedValuesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{15} -} - -func (x *SearchSpansGroupedValuesRequest) GetTimeFrame() *TimeFrame { - if x != nil { - return x.TimeFrame - } - return nil -} - -func (x *SearchSpansGroupedValuesRequest) GetFilters() []*Filter_SpansFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *SearchSpansGroupedValuesRequest) GetLuceneQuery() *wrapperspb.StringValue { - if x != nil { - return x.LuceneQuery - } - return nil -} - -func (x *SearchSpansGroupedValuesRequest) GetGroupBy() []*SpanField { - if x != nil { - return x.GroupBy - } - return nil -} - -func (x *SearchSpansGroupedValuesRequest) GetAggregation() *SpansAggregation { - if x != nil { - return x.Aggregation - } - return nil -} - -func (x *SearchSpansGroupedValuesRequest) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchSpansGroupedValuesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,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 *SearchSpansGroupedValuesResponse) Reset() { - *x = SearchSpansGroupedValuesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansGroupedValuesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansGroupedValuesResponse) ProtoMessage() {} - -func (x *SearchSpansGroupedValuesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansGroupedValuesResponse.ProtoReflect.Descriptor instead. -func (*SearchSpansGroupedValuesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{16} -} - -func (x *SearchSpansGroupedValuesResponse) GetGroups() []*Group { - if x != nil { - return x.Groups - } - return nil -} - -func (x *SearchSpansGroupedValuesResponse) GetIsLimitExceeded() bool { - if x != nil { - return x.IsLimitExceeded - } - return false -} - -func (x *SearchSpansGroupedValuesResponse) GetTotal() *wrapperspb.Int64Value { - if x != nil { - return x.Total - } - return nil -} - -type SearchSpansEventsRequest_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 *SearchSpansEventsRequest_Pagination) Reset() { - *x = SearchSpansEventsRequest_Pagination{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansEventsRequest_Pagination) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansEventsRequest_Pagination) ProtoMessage() {} - -func (x *SearchSpansEventsRequest_Pagination) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_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 SearchSpansEventsRequest_Pagination.ProtoReflect.Descriptor instead. -func (*SearchSpansEventsRequest_Pagination) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *SearchSpansEventsRequest_Pagination) GetOffset() *wrapperspb.Int32Value { - if x != nil { - return x.Offset - } - return nil -} - -func (x *SearchSpansEventsRequest_Pagination) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -type SearchGroupedSpansSeriesRequest_Limit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - 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"` -} - -func (x *SearchGroupedSpansSeriesRequest_Limit) Reset() { - *x = SearchGroupedSpansSeriesRequest_Limit{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchGroupedSpansSeriesRequest_Limit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchGroupedSpansSeriesRequest_Limit) ProtoMessage() {} - -func (x *SearchGroupedSpansSeriesRequest_Limit) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[18] - 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 SearchGroupedSpansSeriesRequest_Limit.ProtoReflect.Descriptor instead. -func (*SearchGroupedSpansSeriesRequest_Limit) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{6, 0} -} - -func (x *SearchGroupedSpansSeriesRequest_Limit) GetGroupByFields() []*SpanField { - if x != nil { - return x.GroupByFields - } - return nil -} - -func (x *SearchGroupedSpansSeriesRequest_Limit) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -func (x *SearchGroupedSpansSeriesRequest_Limit) GetMinPercentage() *wrapperspb.Int32Value { - if x != nil { - return x.MinPercentage - } - return nil -} - -type SearchSpansGroupedTimeSeriesRequest_GroupBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - 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"` -} - -func (x *SearchSpansGroupedTimeSeriesRequest_GroupBy) Reset() { - *x = SearchSpansGroupedTimeSeriesRequest_GroupBy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchSpansGroupedTimeSeriesRequest_GroupBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchSpansGroupedTimeSeriesRequest_GroupBy) ProtoMessage() {} - -func (x *SearchSpansGroupedTimeSeriesRequest_GroupBy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[19] - 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 SearchSpansGroupedTimeSeriesRequest_GroupBy.ProtoReflect.Descriptor instead. -func (*SearchSpansGroupedTimeSeriesRequest_GroupBy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{8, 0} -} - -func (x *SearchSpansGroupedTimeSeriesRequest_GroupBy) GetFields() []*SpanField { - if x != nil { - return x.Fields - } - return nil -} - -func (x *SearchSpansGroupedTimeSeriesRequest_GroupBy) GetLimit() *wrapperspb.Int32Value { - if x != nil { - return x.Limit - } - return nil -} - -func (x *SearchSpansGroupedTimeSeriesRequest_GroupBy) GetMinPercentage() *wrapperspb.Int32Value { - if x != nil { - return x.MinPercentage - } - return nil -} - -type SpansEvent_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 *SpansEvent_Metadata) Reset() { - *x = SpansEvent_Metadata{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansEvent_Metadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansEvent_Metadata) ProtoMessage() {} - -func (x *SpansEvent_Metadata) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[20] - 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 SpansEvent_Metadata.ProtoReflect.Descriptor instead. -func (*SpansEvent_Metadata) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{10, 0} -} - -func (x *SpansEvent_Metadata) GetApplicationName() *wrapperspb.StringValue { - if x != nil { - return x.ApplicationName - } - return nil -} - -func (x *SpansEvent_Metadata) GetSubsystemName() *wrapperspb.StringValue { - if x != nil { - return x.SubsystemName - } - return nil -} - -func (x *SpansEvent_Metadata) GetServiceName() *wrapperspb.StringValue { - if x != nil { - return x.ServiceName - } - return nil -} - -func (x *SpansEvent_Metadata) GetOperationName() *wrapperspb.StringValue { - if x != nil { - return x.OperationName - } - return nil -} - -type SpansEvent_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 *SpansEvent_Tag) Reset() { - *x = SpansEvent_Tag{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansEvent_Tag) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansEvent_Tag) ProtoMessage() {} - -func (x *SpansEvent_Tag) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[21] - 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 SpansEvent_Tag.ProtoReflect.Descriptor instead. -func (*SpansEvent_Tag) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{10, 1} -} - -func (x *SpansEvent_Tag) GetKey() *wrapperspb.StringValue { - if x != nil { - return x.Key - } - return nil -} - -func (x *SpansEvent_Tag) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type SpansEvent_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 *SpansEvent_Log) Reset() { - *x = SpansEvent_Log{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansEvent_Log) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansEvent_Log) ProtoMessage() {} - -func (x *SpansEvent_Log) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes[22] - 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 SpansEvent_Log.ProtoReflect.Descriptor instead. -func (*SpansEvent_Log) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP(), []int{10, 2} -} - -func (x *SpansEvent_Log) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -func (x *SpansEvent_Log) GetFields() map[string]*wrapperspb.StringValue { - if x != nil { - return x.Fields - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_services_spans_data_source_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, 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, 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, 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, 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, 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, - 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, 0x9a, 0x04, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, - 0x61, 0x6e, 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, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x4c, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x05, 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, 0x53, 0x70, 0x61, - 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, - 0x5c, 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x53, - 0x70, 0x61, 0x6e, 0x73, 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, 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, - 0x22, 0xa7, 0x01, 0x0a, 0x1d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 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, 0xe5, 0x03, 0x0a, 0x18, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 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, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 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, 0x3f, 0x0a, 0x0c, - 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6d, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 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, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 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, 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, 0xa7, 0x01, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, - 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x31, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 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, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x12, 0x57, 0x0a, 0x0c, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 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, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, - 0x0b, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x92, 0x04, 0x0a, - 0x1d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x59, 0x0a, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, - 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x52, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, - 0x5c, 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x05, 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, 0x53, - 0x70, 0x61, 0x6e, 0x73, 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, 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, 0x22, 0x6c, 0x0a, 0x1e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 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, - 0x83, 0x06, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 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, 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, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, - 0x18, 0x02, 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, 0x59, 0x0a, 0x0f, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x12, 0x5a, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x04, 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, 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, - 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 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, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x67, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 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, 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, 0x2e, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x1a, 0xd9, 0x01, 0x0a, 0x05, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x12, 0x59, 0x0a, 0x0f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, - 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 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, 0x71, 0x0a, 0x20, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 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, 0xde, 0x05, 0x0a, 0x23, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 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, 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, 0x5a, 0x0a, 0x0b, - 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 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, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, - 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 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, 0x0b, 0x6c, 0x75, - 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x70, 0x0a, 0x08, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x53, 0x70, 0x61, - 0x6e, 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, 0x1a, 0xcb, 0x01, 0x0a, 0x07, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x49, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x18, 0x01, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, - 0x64, 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, 0x75, 0x0a, 0x24, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 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, 0x8b, 0x0a, 0x0a, 0x0a, 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, 0x59, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x04, 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, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 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, 0x4c, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 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, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x5b, - 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, - 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, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 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, 0x4c, 0x0a, 0x04, 0x6c, - 0x6f, 0x67, 0x73, 0x18, 0x09, 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, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 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, 0xf6, 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, 0x5c, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x03, 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, 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, 0xdf, - 0x02, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, - 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 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, 0x04, 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, 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, - 0x22, 0x52, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 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, 0x22, 0x9f, 0x03, 0x0a, 0x22, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, - 0x70, 0x61, 0x6e, 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, 0x51, 0x0a, - 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 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, 0x3f, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x60, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 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, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 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, 0x05, 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, 0x8b, 0x01, 0x0a, 0x23, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x53, 0x70, 0x61, 0x6e, 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, 0x22, 0xe4, 0x03, 0x0a, 0x1f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, - 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 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, 0x51, 0x0a, 0x07, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 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, 0x3f, 0x0a, - 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 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, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x4c, - 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x5a, 0x0a, 0x0b, - 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 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, 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, 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, 0xc8, 0x01, 0x0a, 0x20, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x45, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x32, 0xb4, 0x0d, 0x0a, 0x16, 0x53, 0x70, 0x61, 0x6e, 0x73, - 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0xcb, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, - 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 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, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, - 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 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, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, - 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0xba, 0xb8, - 0x02, 0x1d, 0x0a, 0x1b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, - 0x20, 0x61, 0x73, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, - 0xba, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 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, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 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, 0x53, 0x70, 0x61, 0x6e, 0x73, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, - 0xba, 0xb8, 0x02, 0x18, 0x0a, 0x16, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x70, 0x61, - 0x6e, 0x73, 0x20, 0x61, 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xcf, 0x01, 0x0a, - 0x16, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 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, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 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, 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, 0x22, 0xba, 0xb8, 0x02, 0x1e, - 0x0a, 0x1c, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x61, - 0x73, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xcd, - 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, - 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x69, 0x65, 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, 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, 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, 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, 0x1a, 0xba, 0xb8, 0x02, 0x16, 0x0a, 0x14, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, - 0x64, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xe5, - 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x65, 0x64, 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, 0x53, 0x70, 0x61, 0x6e, 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, 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, - 0x53, 0x70, 0x61, 0x6e, 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, 0x26, - 0xba, 0xb8, 0x02, 0x22, 0x0a, 0x20, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x70, 0x61, - 0x6e, 0x73, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, - 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xca, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, 0x53, 0x65, 0x61, 0x72, 0x63, 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, 0x12, 0xe0, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x70, - 0x61, 0x6e, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 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, 0x53, 0x70, 0x61, 0x6e, 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, 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, 0x53, 0x70, 0x61, 0x6e, 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, 0x24, 0xba, 0xb8, 0x02, 0x20, 0x0a, 0x1e, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, - 0x70, 0x61, 0x6e, 0x73, 0x20, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xd4, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, - 0x75, 0x65, 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, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, - 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 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, - 0x53, 0x70, 0x61, 0x6e, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0xba, 0xb8, 0x02, 0x1d, - 0x0a, 0x1b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x20, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes = make([]protoimpl.MessageInfo, 24) -var file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_goTypes = []any{ - (*SearchSpansTimeSeriesRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest - (*SearchSpansTimeSeriesResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesResponse - (*SearchSpansEventsRequest)(nil), // 2: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest - (*SearchSpansEventsResponse)(nil), // 3: com.coralogixapis.dashboards.v1.services.SearchSpansEventsResponse - (*SearchSpansEventGroupsRequest)(nil), // 4: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest - (*SearchSpansEventGroupsResponse)(nil), // 5: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsResponse - (*SearchGroupedSpansSeriesRequest)(nil), // 6: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest - (*SearchGroupedSpansSeriesResponse)(nil), // 7: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesResponse - (*SearchSpansGroupedTimeSeriesRequest)(nil), // 8: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest - (*SearchSpansGroupedTimeSeriesResponse)(nil), // 9: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesResponse - (*SpansEvent)(nil), // 10: com.coralogixapis.dashboards.v1.services.SpansEvent - (*SearchSpansTimeValueRequest)(nil), // 11: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest - (*SearchSpansTimeValueResponse)(nil), // 12: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueResponse - (*SearchSpansAnnotationEventsRequest)(nil), // 13: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsRequest - (*SearchSpansAnnotationEventsResponse)(nil), // 14: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsResponse - (*SearchSpansGroupedValuesRequest)(nil), // 15: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest - (*SearchSpansGroupedValuesResponse)(nil), // 16: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesResponse - (*SearchSpansEventsRequest_Pagination)(nil), // 17: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.Pagination - (*SearchGroupedSpansSeriesRequest_Limit)(nil), // 18: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit - (*SearchSpansGroupedTimeSeriesRequest_GroupBy)(nil), // 19: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy - (*SpansEvent_Metadata)(nil), // 20: com.coralogixapis.dashboards.v1.services.SpansEvent.Metadata - (*SpansEvent_Tag)(nil), // 21: com.coralogixapis.dashboards.v1.services.SpansEvent.Tag - (*SpansEvent_Log)(nil), // 22: com.coralogixapis.dashboards.v1.services.SpansEvent.Log - nil, // 23: com.coralogixapis.dashboards.v1.services.SpansEvent.Log.FieldsEntry - (*TimeFrame)(nil), // 24: com.coralogixapis.dashboards.v1.common.TimeFrame - (*durationpb.Duration)(nil), // 25: google.protobuf.Duration - (*Filter_SpansFilter)(nil), // 26: com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - (*wrapperspb.StringValue)(nil), // 27: google.protobuf.StringValue - (*SpanField)(nil), // 28: com.coralogixapis.dashboards.v1.common.SpanField - (*SpansAggregation)(nil), // 29: com.coralogixapis.dashboards.v1.common.SpansAggregation - (*wrapperspb.Int32Value)(nil), // 30: google.protobuf.Int32Value - (*TimeSeries)(nil), // 31: com.coralogixapis.dashboards.v1.common.TimeSeries - (*wrapperspb.Int64Value)(nil), // 32: google.protobuf.Int64Value - (*Pagination)(nil), // 33: com.coralogixapis.dashboards.v1.common.Pagination - (*MultiGroup)(nil), // 34: com.coralogixapis.dashboards.v1.common.MultiGroup - (*GroupedSeries)(nil), // 35: com.coralogixapis.dashboards.v1.common.GroupedSeries - (*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp - (*wrapperspb.DoubleValue)(nil), // 37: google.protobuf.DoubleValue - (*Annotation_SpansSource_Strategy)(nil), // 38: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy - (*AnnotationEvent)(nil), // 39: com.coralogixapis.dashboards.v1.common.AnnotationEvent - (*Group)(nil), // 40: com.coralogixapis.dashboards.v1.common.Group -} -var file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_depIdxs = []int32{ - 24, // 0: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 25, // 1: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 26, // 2: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 27, // 3: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 28, // 4: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 29, // 5: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 30, // 6: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest.limit:type_name -> google.protobuf.Int32Value - 31, // 7: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesResponse.time_series:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries - 32, // 8: com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesResponse.total:type_name -> google.protobuf.Int64Value - 24, // 9: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 26, // 10: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 27, // 11: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.lucene_query:type_name -> google.protobuf.StringValue - 17, // 12: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.Pagination - 32, // 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 - 24, // 15: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 26, // 16: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 27, // 17: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.lucene_query:type_name -> google.protobuf.StringValue - 28, // 18: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 29, // 19: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.aggregations:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 33, // 20: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest.pagination:type_name -> com.coralogixapis.dashboards.v1.common.Pagination - 34, // 21: com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.MultiGroup - 24, // 22: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 26, // 23: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 28, // 24: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 29, // 25: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 27, // 26: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 18, // 27: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.limits:type_name -> com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit - 35, // 28: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 24, // 29: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 25, // 30: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.interval:type_name -> google.protobuf.Duration - 26, // 31: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 29, // 32: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 27, // 33: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.lucene_query:type_name -> google.protobuf.StringValue - 19, // 34: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy - 35, // 35: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesResponse.series:type_name -> com.coralogixapis.dashboards.v1.common.GroupedSeries - 27, // 36: com.coralogixapis.dashboards.v1.services.SpansEvent.span_id:type_name -> google.protobuf.StringValue - 27, // 37: com.coralogixapis.dashboards.v1.services.SpansEvent.trace_id:type_name -> google.protobuf.StringValue - 27, // 38: com.coralogixapis.dashboards.v1.services.SpansEvent.parent_span_id:type_name -> google.protobuf.StringValue - 20, // 39: com.coralogixapis.dashboards.v1.services.SpansEvent.metadata:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Metadata - 36, // 40: com.coralogixapis.dashboards.v1.services.SpansEvent.start_time:type_name -> google.protobuf.Timestamp - 25, // 41: com.coralogixapis.dashboards.v1.services.SpansEvent.duration:type_name -> google.protobuf.Duration - 21, // 42: com.coralogixapis.dashboards.v1.services.SpansEvent.tags:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Tag - 21, // 43: com.coralogixapis.dashboards.v1.services.SpansEvent.process_tags:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Tag - 22, // 44: com.coralogixapis.dashboards.v1.services.SpansEvent.logs:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Log - 24, // 45: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 26, // 46: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 27, // 47: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.lucene_query:type_name -> google.protobuf.StringValue - 29, // 48: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 37, // 49: com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueResponse.value:type_name -> google.protobuf.DoubleValue - 24, // 50: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 26, // 51: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 27, // 52: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsRequest.lucene_query:type_name -> google.protobuf.StringValue - 38, // 53: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsRequest.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy - 30, // 54: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsRequest.limit:type_name -> google.protobuf.Int32Value - 39, // 55: com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsResponse.annotation_events:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent - 24, // 56: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest.time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 26, // 57: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter.SpansFilter - 27, // 58: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest.lucene_query:type_name -> google.protobuf.StringValue - 28, // 59: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest.group_by:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 29, // 60: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest.aggregation:type_name -> com.coralogixapis.dashboards.v1.common.SpansAggregation - 30, // 61: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest.limit:type_name -> google.protobuf.Int32Value - 40, // 62: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesResponse.groups:type_name -> com.coralogixapis.dashboards.v1.common.Group - 32, // 63: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesResponse.total:type_name -> google.protobuf.Int64Value - 30, // 64: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.Pagination.offset:type_name -> google.protobuf.Int32Value - 30, // 65: com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest.Pagination.limit:type_name -> google.protobuf.Int32Value - 28, // 66: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit.group_by_fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 30, // 67: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit.limit:type_name -> google.protobuf.Int32Value - 30, // 68: com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest.Limit.min_percentage:type_name -> google.protobuf.Int32Value - 28, // 69: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy.fields:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 30, // 70: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy.limit:type_name -> google.protobuf.Int32Value - 30, // 71: com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest.GroupBy.min_percentage:type_name -> google.protobuf.Int32Value - 27, // 72: com.coralogixapis.dashboards.v1.services.SpansEvent.Metadata.application_name:type_name -> google.protobuf.StringValue - 27, // 73: com.coralogixapis.dashboards.v1.services.SpansEvent.Metadata.subsystem_name:type_name -> google.protobuf.StringValue - 27, // 74: com.coralogixapis.dashboards.v1.services.SpansEvent.Metadata.service_name:type_name -> google.protobuf.StringValue - 27, // 75: com.coralogixapis.dashboards.v1.services.SpansEvent.Metadata.operation_name:type_name -> google.protobuf.StringValue - 27, // 76: com.coralogixapis.dashboards.v1.services.SpansEvent.Tag.key:type_name -> google.protobuf.StringValue - 27, // 77: com.coralogixapis.dashboards.v1.services.SpansEvent.Tag.value:type_name -> google.protobuf.StringValue - 36, // 78: com.coralogixapis.dashboards.v1.services.SpansEvent.Log.timestamp:type_name -> google.protobuf.Timestamp - 23, // 79: com.coralogixapis.dashboards.v1.services.SpansEvent.Log.fields:type_name -> com.coralogixapis.dashboards.v1.services.SpansEvent.Log.FieldsEntry - 27, // 80: com.coralogixapis.dashboards.v1.services.SpansEvent.Log.FieldsEntry.value:type_name -> google.protobuf.StringValue - 0, // 81: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesRequest - 2, // 82: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchSpansEventsRequest - 4, // 83: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansEventGroups:input_type -> com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsRequest - 6, // 84: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchGroupedSpansSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesRequest - 8, // 85: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansGroupedTimeSeries:input_type -> com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesRequest - 11, // 86: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansTimeValue:input_type -> com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueRequest - 13, // 87: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansAnnotationEvents:input_type -> com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsRequest - 15, // 88: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansGroupedValues:input_type -> com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesRequest - 1, // 89: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchSpansTimeSeriesResponse - 3, // 90: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchSpansEventsResponse - 5, // 91: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansEventGroups:output_type -> com.coralogixapis.dashboards.v1.services.SearchSpansEventGroupsResponse - 7, // 92: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchGroupedSpansSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchGroupedSpansSeriesResponse - 9, // 93: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansGroupedTimeSeries:output_type -> com.coralogixapis.dashboards.v1.services.SearchSpansGroupedTimeSeriesResponse - 12, // 94: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansTimeValue:output_type -> com.coralogixapis.dashboards.v1.services.SearchSpansTimeValueResponse - 14, // 95: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansAnnotationEvents:output_type -> com.coralogixapis.dashboards.v1.services.SearchSpansAnnotationEventsResponse - 16, // 96: com.coralogixapis.dashboards.v1.services.SpansDataSourceService.SearchSpansGroupedValues:output_type -> com.coralogixapis.dashboards.v1.services.SearchSpansGroupedValuesResponse - 89, // [89:97] is the sub-list for method output_type - 81, // [81:89] is the sub-list for method input_type - 81, // [81:81] is the sub-list for extension type_name - 81, // [81:81] is the sub-list for extension extendee - 0, // [0:81] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_init() } -func file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_init() { - if File_com_coralogixapis_dashboards_v1_services_spans_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_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 any, i int) any { - switch v := v.(*SearchSpansTimeSeriesRequest); 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_spans_data_source_service_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansTimeSeriesResponse); 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_spans_data_source_service_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansEventsRequest); 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_spans_data_source_service_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansEventsResponse); 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_spans_data_source_service_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansEventGroupsRequest); 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_spans_data_source_service_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansEventGroupsResponse); 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_spans_data_source_service_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*SearchGroupedSpansSeriesRequest); 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_spans_data_source_service_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*SearchGroupedSpansSeriesResponse); 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_spans_data_source_service_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansGroupedTimeSeriesRequest); 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_spans_data_source_service_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansGroupedTimeSeriesResponse); 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_spans_data_source_service_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*SpansEvent); 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_spans_data_source_service_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansTimeValueRequest); 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_spans_data_source_service_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansTimeValueResponse); 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_spans_data_source_service_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansAnnotationEventsRequest); 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_spans_data_source_service_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansAnnotationEventsResponse); 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_spans_data_source_service_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansGroupedValuesRequest); 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_spans_data_source_service_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansGroupedValuesResponse); 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_spans_data_source_service_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansEventsRequest_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_spans_data_source_service_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*SearchGroupedSpansSeriesRequest_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_spans_data_source_service_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*SearchSpansGroupedTimeSeriesRequest_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_spans_data_source_service_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*SpansEvent_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_spans_data_source_service_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*SpansEvent_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_spans_data_source_service_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*SpansEvent_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_spans_data_source_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 24, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto = out.File - file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_services_spans_data_source_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/spans_data_source_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/spans_data_source_service_grpc.pb.go deleted file mode 100644 index 5df8f145..00000000 --- a/coralogix/clientset/grpc/dashboards/spans_data_source_service_grpc.pb.go +++ /dev/null @@ -1,377 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/spans_data_source_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - SpansDataSourceService_SearchSpansTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchSpansTimeSeries" - SpansDataSourceService_SearchSpansEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchSpansEvents" - SpansDataSourceService_SearchSpansEventGroups_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchSpansEventGroups" - SpansDataSourceService_SearchGroupedSpansSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchGroupedSpansSeries" - SpansDataSourceService_SearchSpansGroupedTimeSeries_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchSpansGroupedTimeSeries" - SpansDataSourceService_SearchSpansTimeValue_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchSpansTimeValue" - SpansDataSourceService_SearchSpansAnnotationEvents_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchSpansAnnotationEvents" - SpansDataSourceService_SearchSpansGroupedValues_FullMethodName = "/com.coralogixapis.dashboards.v1.services.SpansDataSourceService/SearchSpansGroupedValues" -) - -// SpansDataSourceServiceClient is the client API for SpansDataSourceService 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 SpansDataSourceServiceClient interface { - SearchSpansTimeSeries(ctx context.Context, in *SearchSpansTimeSeriesRequest, opts ...grpc.CallOption) (*SearchSpansTimeSeriesResponse, error) - SearchSpansEvents(ctx context.Context, in *SearchSpansEventsRequest, opts ...grpc.CallOption) (*SearchSpansEventsResponse, error) - SearchSpansEventGroups(ctx context.Context, in *SearchSpansEventGroupsRequest, opts ...grpc.CallOption) (*SearchSpansEventGroupsResponse, error) - SearchGroupedSpansSeries(ctx context.Context, in *SearchGroupedSpansSeriesRequest, opts ...grpc.CallOption) (*SearchGroupedSpansSeriesResponse, error) - SearchSpansGroupedTimeSeries(ctx context.Context, in *SearchSpansGroupedTimeSeriesRequest, opts ...grpc.CallOption) (*SearchSpansGroupedTimeSeriesResponse, error) - SearchSpansTimeValue(ctx context.Context, in *SearchSpansTimeValueRequest, opts ...grpc.CallOption) (*SearchSpansTimeValueResponse, error) - SearchSpansAnnotationEvents(ctx context.Context, in *SearchSpansAnnotationEventsRequest, opts ...grpc.CallOption) (*SearchSpansAnnotationEventsResponse, error) - SearchSpansGroupedValues(ctx context.Context, in *SearchSpansGroupedValuesRequest, opts ...grpc.CallOption) (*SearchSpansGroupedValuesResponse, error) -} - -type spansDataSourceServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewSpansDataSourceServiceClient(cc grpc.ClientConnInterface) SpansDataSourceServiceClient { - return &spansDataSourceServiceClient{cc} -} - -func (c *spansDataSourceServiceClient) SearchSpansTimeSeries(ctx context.Context, in *SearchSpansTimeSeriesRequest, opts ...grpc.CallOption) (*SearchSpansTimeSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchSpansTimeSeriesResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchSpansTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spansDataSourceServiceClient) SearchSpansEvents(ctx context.Context, in *SearchSpansEventsRequest, opts ...grpc.CallOption) (*SearchSpansEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchSpansEventsResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchSpansEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spansDataSourceServiceClient) SearchSpansEventGroups(ctx context.Context, in *SearchSpansEventGroupsRequest, opts ...grpc.CallOption) (*SearchSpansEventGroupsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchSpansEventGroupsResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchSpansEventGroups_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spansDataSourceServiceClient) SearchGroupedSpansSeries(ctx context.Context, in *SearchGroupedSpansSeriesRequest, opts ...grpc.CallOption) (*SearchGroupedSpansSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchGroupedSpansSeriesResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchGroupedSpansSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spansDataSourceServiceClient) SearchSpansGroupedTimeSeries(ctx context.Context, in *SearchSpansGroupedTimeSeriesRequest, opts ...grpc.CallOption) (*SearchSpansGroupedTimeSeriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchSpansGroupedTimeSeriesResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchSpansGroupedTimeSeries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spansDataSourceServiceClient) SearchSpansTimeValue(ctx context.Context, in *SearchSpansTimeValueRequest, opts ...grpc.CallOption) (*SearchSpansTimeValueResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchSpansTimeValueResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchSpansTimeValue_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spansDataSourceServiceClient) SearchSpansAnnotationEvents(ctx context.Context, in *SearchSpansAnnotationEventsRequest, opts ...grpc.CallOption) (*SearchSpansAnnotationEventsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchSpansAnnotationEventsResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchSpansAnnotationEvents_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *spansDataSourceServiceClient) SearchSpansGroupedValues(ctx context.Context, in *SearchSpansGroupedValuesRequest, opts ...grpc.CallOption) (*SearchSpansGroupedValuesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchSpansGroupedValuesResponse) - err := c.cc.Invoke(ctx, SpansDataSourceService_SearchSpansGroupedValues_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SpansDataSourceServiceServer is the server API for SpansDataSourceService service. -// All implementations must embed UnimplementedSpansDataSourceServiceServer -// for forward compatibility -type SpansDataSourceServiceServer interface { - SearchSpansTimeSeries(context.Context, *SearchSpansTimeSeriesRequest) (*SearchSpansTimeSeriesResponse, error) - SearchSpansEvents(context.Context, *SearchSpansEventsRequest) (*SearchSpansEventsResponse, error) - SearchSpansEventGroups(context.Context, *SearchSpansEventGroupsRequest) (*SearchSpansEventGroupsResponse, error) - SearchGroupedSpansSeries(context.Context, *SearchGroupedSpansSeriesRequest) (*SearchGroupedSpansSeriesResponse, error) - SearchSpansGroupedTimeSeries(context.Context, *SearchSpansGroupedTimeSeriesRequest) (*SearchSpansGroupedTimeSeriesResponse, error) - SearchSpansTimeValue(context.Context, *SearchSpansTimeValueRequest) (*SearchSpansTimeValueResponse, error) - SearchSpansAnnotationEvents(context.Context, *SearchSpansAnnotationEventsRequest) (*SearchSpansAnnotationEventsResponse, error) - SearchSpansGroupedValues(context.Context, *SearchSpansGroupedValuesRequest) (*SearchSpansGroupedValuesResponse, error) - mustEmbedUnimplementedSpansDataSourceServiceServer() -} - -// UnimplementedSpansDataSourceServiceServer must be embedded to have forward compatible implementations. -type UnimplementedSpansDataSourceServiceServer struct { -} - -func (UnimplementedSpansDataSourceServiceServer) SearchSpansTimeSeries(context.Context, *SearchSpansTimeSeriesRequest) (*SearchSpansTimeSeriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchSpansTimeSeries not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) SearchSpansEvents(context.Context, *SearchSpansEventsRequest) (*SearchSpansEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchSpansEvents not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) SearchSpansEventGroups(context.Context, *SearchSpansEventGroupsRequest) (*SearchSpansEventGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchSpansEventGroups not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) SearchGroupedSpansSeries(context.Context, *SearchGroupedSpansSeriesRequest) (*SearchGroupedSpansSeriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchGroupedSpansSeries not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) SearchSpansGroupedTimeSeries(context.Context, *SearchSpansGroupedTimeSeriesRequest) (*SearchSpansGroupedTimeSeriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchSpansGroupedTimeSeries not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) SearchSpansTimeValue(context.Context, *SearchSpansTimeValueRequest) (*SearchSpansTimeValueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchSpansTimeValue not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) SearchSpansAnnotationEvents(context.Context, *SearchSpansAnnotationEventsRequest) (*SearchSpansAnnotationEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchSpansAnnotationEvents not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) SearchSpansGroupedValues(context.Context, *SearchSpansGroupedValuesRequest) (*SearchSpansGroupedValuesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SearchSpansGroupedValues not implemented") -} -func (UnimplementedSpansDataSourceServiceServer) mustEmbedUnimplementedSpansDataSourceServiceServer() { -} - -// UnsafeSpansDataSourceServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to SpansDataSourceServiceServer will -// result in compilation errors. -type UnsafeSpansDataSourceServiceServer interface { - mustEmbedUnimplementedSpansDataSourceServiceServer() -} - -func RegisterSpansDataSourceServiceServer(s grpc.ServiceRegistrar, srv SpansDataSourceServiceServer) { - s.RegisterService(&SpansDataSourceService_ServiceDesc, srv) -} - -func _SpansDataSourceService_SearchSpansTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchSpansTimeSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchSpansTimeSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchSpansTimeSeries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchSpansTimeSeries(ctx, req.(*SearchSpansTimeSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SpansDataSourceService_SearchSpansEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchSpansEventsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchSpansEvents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchSpansEvents_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchSpansEvents(ctx, req.(*SearchSpansEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SpansDataSourceService_SearchSpansEventGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchSpansEventGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchSpansEventGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchSpansEventGroups_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchSpansEventGroups(ctx, req.(*SearchSpansEventGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SpansDataSourceService_SearchGroupedSpansSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchGroupedSpansSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchGroupedSpansSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchGroupedSpansSeries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchGroupedSpansSeries(ctx, req.(*SearchGroupedSpansSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SpansDataSourceService_SearchSpansGroupedTimeSeries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchSpansGroupedTimeSeriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchSpansGroupedTimeSeries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchSpansGroupedTimeSeries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchSpansGroupedTimeSeries(ctx, req.(*SearchSpansGroupedTimeSeriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SpansDataSourceService_SearchSpansTimeValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchSpansTimeValueRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchSpansTimeValue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchSpansTimeValue_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchSpansTimeValue(ctx, req.(*SearchSpansTimeValueRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SpansDataSourceService_SearchSpansAnnotationEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchSpansAnnotationEventsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchSpansAnnotationEvents(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchSpansAnnotationEvents_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchSpansAnnotationEvents(ctx, req.(*SearchSpansAnnotationEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SpansDataSourceService_SearchSpansGroupedValues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchSpansGroupedValuesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SpansDataSourceServiceServer).SearchSpansGroupedValues(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SpansDataSourceService_SearchSpansGroupedValues_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SpansDataSourceServiceServer).SearchSpansGroupedValues(ctx, req.(*SearchSpansGroupedValuesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// SpansDataSourceService_ServiceDesc is the grpc.ServiceDesc for SpansDataSourceService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var SpansDataSourceService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.dashboards.v1.services.SpansDataSourceService", - HandlerType: (*SpansDataSourceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SearchSpansTimeSeries", - Handler: _SpansDataSourceService_SearchSpansTimeSeries_Handler, - }, - { - MethodName: "SearchSpansEvents", - Handler: _SpansDataSourceService_SearchSpansEvents_Handler, - }, - { - MethodName: "SearchSpansEventGroups", - Handler: _SpansDataSourceService_SearchSpansEventGroups_Handler, - }, - { - MethodName: "SearchGroupedSpansSeries", - Handler: _SpansDataSourceService_SearchGroupedSpansSeries_Handler, - }, - { - MethodName: "SearchSpansGroupedTimeSeries", - Handler: _SpansDataSourceService_SearchSpansGroupedTimeSeries_Handler, - }, - { - MethodName: "SearchSpansTimeValue", - Handler: _SpansDataSourceService_SearchSpansTimeValue_Handler, - }, - { - MethodName: "SearchSpansAnnotationEvents", - Handler: _SpansDataSourceService_SearchSpansAnnotationEvents_Handler, - }, - { - MethodName: "SearchSpansGroupedValues", - Handler: _SpansDataSourceService_SearchSpansGroupedValues_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/dashboards/v1/services/spans_data_source_service.proto", -} diff --git a/coralogix/clientset/grpc/dashboards/team_settings_service.pb.go b/coralogix/clientset/grpc/dashboards/team_settings_service.pb.go deleted file mode 100644 index faf02361..00000000 --- a/coralogix/clientset/grpc/dashboards/team_settings_service.pb.go +++ /dev/null @@ -1,258 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/team_settings_service.proto - -package v1 - -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 GetTeamSettingsRequest 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"` -} - -func (x *GetTeamSettingsRequest) Reset() { - *x = GetTeamSettingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamSettingsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamSettingsRequest) ProtoMessage() {} - -func (x *GetTeamSettingsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_team_settings_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 GetTeamSettingsRequest.ProtoReflect.Descriptor instead. -func (*GetTeamSettingsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescGZIP(), []int{0} -} - -func (x *GetTeamSettingsRequest) GetRequestId() *wrapperspb.StringValue { - if x != nil { - return x.RequestId - } - return nil -} - -type GetTeamSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MaxGroupByLogs *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=max_group_by_logs,json=maxGroupByLogs,proto3" json:"max_group_by_logs,omitempty"` - MaxGroupByMetrics *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=max_group_by_metrics,json=maxGroupByMetrics,proto3" json:"max_group_by_metrics,omitempty"` -} - -func (x *GetTeamSettingsResponse) Reset() { - *x = GetTeamSettingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamSettingsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamSettingsResponse) ProtoMessage() {} - -func (x *GetTeamSettingsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_services_team_settings_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 GetTeamSettingsResponse.ProtoReflect.Descriptor instead. -func (*GetTeamSettingsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetTeamSettingsResponse) GetMaxGroupByLogs() *wrapperspb.Int32Value { - if x != nil { - return x.MaxGroupByLogs - } - return nil -} - -func (x *GetTeamSettingsResponse) GetMaxGroupByMetrics() *wrapperspb.Int32Value { - if x != nil { - return x.MaxGroupByMetrics - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_services_team_settings_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDesc = []byte{ - 0x0a, 0x44, 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, 0x74, 0x65, 0x61, 0x6d, 0x5f, - 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 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, 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, 0x55, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 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, 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x47, - 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 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, 0x0e, - 0x6d, 0x61, 0x78, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x4c, - 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x5f, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 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, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x32, 0xc7, 0x01, 0x0a, - 0x13, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0xaf, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 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, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 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, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0xba, - 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x20, 0x74, 0x65, 0x61, 0x6d, 0x20, 0x73, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescData = file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_goTypes = []any{ - (*GetTeamSettingsRequest)(nil), // 0: com.coralogixapis.dashboards.v1.services.GetTeamSettingsRequest - (*GetTeamSettingsResponse)(nil), // 1: com.coralogixapis.dashboards.v1.services.GetTeamSettingsResponse - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue - (*wrapperspb.Int32Value)(nil), // 3: google.protobuf.Int32Value -} -var file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.dashboards.v1.services.GetTeamSettingsRequest.request_id:type_name -> google.protobuf.StringValue - 3, // 1: com.coralogixapis.dashboards.v1.services.GetTeamSettingsResponse.max_group_by_logs:type_name -> google.protobuf.Int32Value - 3, // 2: com.coralogixapis.dashboards.v1.services.GetTeamSettingsResponse.max_group_by_metrics:type_name -> google.protobuf.Int32Value - 0, // 3: com.coralogixapis.dashboards.v1.services.TeamSettingsService.GetTeamSettings:input_type -> com.coralogixapis.dashboards.v1.services.GetTeamSettingsRequest - 1, // 4: com.coralogixapis.dashboards.v1.services.TeamSettingsService.GetTeamSettings:output_type -> com.coralogixapis.dashboards.v1.services.GetTeamSettingsResponse - 4, // [4:5] is the sub-list for method output_type - 3, // [3:4] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_init() } -func file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_init() { - if File_com_coralogixapis_dashboards_v1_services_team_settings_service_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_audit_log_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GetTeamSettingsRequest); 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_team_settings_service_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*GetTeamSettingsResponse); 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_team_settings_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_services_team_settings_service_proto = out.File - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_services_team_settings_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/team_settings_service_grpc.pb.go b/coralogix/clientset/grpc/dashboards/team_settings_service_grpc.pb.go deleted file mode 100644 index ff9b33b8..00000000 --- a/coralogix/clientset/grpc/dashboards/team_settings_service_grpc.pb.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/services/team_settings_service.proto - -package v1 - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - TeamSettingsService_GetTeamSettings_FullMethodName = "/com.coralogixapis.dashboards.v1.services.TeamSettingsService/GetTeamSettings" -) - -// TeamSettingsServiceClient is the client API for TeamSettingsService 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 TeamSettingsServiceClient interface { - GetTeamSettings(ctx context.Context, in *GetTeamSettingsRequest, opts ...grpc.CallOption) (*GetTeamSettingsResponse, error) -} - -type teamSettingsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewTeamSettingsServiceClient(cc grpc.ClientConnInterface) TeamSettingsServiceClient { - return &teamSettingsServiceClient{cc} -} - -func (c *teamSettingsServiceClient) GetTeamSettings(ctx context.Context, in *GetTeamSettingsRequest, opts ...grpc.CallOption) (*GetTeamSettingsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTeamSettingsResponse) - err := c.cc.Invoke(ctx, TeamSettingsService_GetTeamSettings_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TeamSettingsServiceServer is the server API for TeamSettingsService service. -// All implementations must embed UnimplementedTeamSettingsServiceServer -// for forward compatibility -type TeamSettingsServiceServer interface { - GetTeamSettings(context.Context, *GetTeamSettingsRequest) (*GetTeamSettingsResponse, error) - mustEmbedUnimplementedTeamSettingsServiceServer() -} - -// UnimplementedTeamSettingsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedTeamSettingsServiceServer struct { -} - -func (UnimplementedTeamSettingsServiceServer) GetTeamSettings(context.Context, *GetTeamSettingsRequest) (*GetTeamSettingsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTeamSettings not implemented") -} -func (UnimplementedTeamSettingsServiceServer) mustEmbedUnimplementedTeamSettingsServiceServer() {} - -// UnsafeTeamSettingsServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to TeamSettingsServiceServer will -// result in compilation errors. -type UnsafeTeamSettingsServiceServer interface { - mustEmbedUnimplementedTeamSettingsServiceServer() -} - -func RegisterTeamSettingsServiceServer(s grpc.ServiceRegistrar, srv TeamSettingsServiceServer) { - s.RegisterService(&TeamSettingsService_ServiceDesc, srv) -} - -func _TeamSettingsService_GetTeamSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTeamSettingsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamSettingsServiceServer).GetTeamSettings(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: TeamSettingsService_GetTeamSettings_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamSettingsServiceServer).GetTeamSettings(ctx, req.(*GetTeamSettingsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// TeamSettingsService_ServiceDesc is the grpc.ServiceDesc for TeamSettingsService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var TeamSettingsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.dashboards.v1.services.TeamSettingsService", - HandlerType: (*TeamSettingsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTeamSettings", - Handler: _TeamSettingsService_GetTeamSettings_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/dashboards/v1/services/team_settings_service.proto", -} diff --git a/coralogix/clientset/grpc/dashboards/thresholds.pb.go b/coralogix/clientset/grpc/dashboards/thresholds.pb.go deleted file mode 100644 index dd09bfef..00000000 --- a/coralogix/clientset/grpc/dashboards/thresholds.pb.go +++ /dev/null @@ -1,282 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/thresholds.proto - -package v1 - -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 ThresholdType int32 - -const ( - ThresholdType_THRESHOLD_TYPE_UNSPECIFIED ThresholdType = 0 - ThresholdType_THRESHOLD_TYPE_RELATIVE ThresholdType = 1 - ThresholdType_THRESHOLD_TYPE_ABSOLUTE ThresholdType = 2 -) - -// Enum value maps for ThresholdType. -var ( - ThresholdType_name = map[int32]string{ - 0: "THRESHOLD_TYPE_UNSPECIFIED", - 1: "THRESHOLD_TYPE_RELATIVE", - 2: "THRESHOLD_TYPE_ABSOLUTE", - } - ThresholdType_value = map[string]int32{ - "THRESHOLD_TYPE_UNSPECIFIED": 0, - "THRESHOLD_TYPE_RELATIVE": 1, - "THRESHOLD_TYPE_ABSOLUTE": 2, - } -) - -func (x ThresholdType) Enum() *ThresholdType { - p := new(ThresholdType) - *p = x - return p -} - -func (x ThresholdType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ThresholdType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_enumTypes[0].Descriptor() -} - -func (ThresholdType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_enumTypes[0] -} - -func (x ThresholdType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ThresholdType.Descriptor instead. -func (ThresholdType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescGZIP(), []int{0} -} - -type ThresholdBy int32 - -const ( - ThresholdBy_THRESHOLD_BY_UNSPECIFIED ThresholdBy = 0 - ThresholdBy_THRESHOLD_BY_VALUE ThresholdBy = 1 - ThresholdBy_THRESHOLD_BY_BACKGROUND ThresholdBy = 2 -) - -// Enum value maps for ThresholdBy. -var ( - ThresholdBy_name = map[int32]string{ - 0: "THRESHOLD_BY_UNSPECIFIED", - 1: "THRESHOLD_BY_VALUE", - 2: "THRESHOLD_BY_BACKGROUND", - } - ThresholdBy_value = map[string]int32{ - "THRESHOLD_BY_UNSPECIFIED": 0, - "THRESHOLD_BY_VALUE": 1, - "THRESHOLD_BY_BACKGROUND": 2, - } -) - -func (x ThresholdBy) Enum() *ThresholdBy { - p := new(ThresholdBy) - *p = x - return p -} - -func (x ThresholdBy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ThresholdBy) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_enumTypes[1].Descriptor() -} - -func (ThresholdBy) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_enumTypes[1] -} - -func (x ThresholdBy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ThresholdBy.Descriptor instead. -func (ThresholdBy) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescGZIP(), []int{1} -} - -type Threshold struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - From *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - Color *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` -} - -func (x *Threshold) Reset() { - *x = Threshold{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Threshold) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Threshold) ProtoMessage() {} - -func (x *Threshold) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_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 Threshold.ProtoReflect.Descriptor instead. -func (*Threshold) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescGZIP(), []int{0} -} - -func (x *Threshold) GetFrom() *wrapperspb.DoubleValue { - if x != nil { - return x.From - } - return nil -} - -func (x *Threshold) GetColor() *wrapperspb.StringValue { - if x != nil { - return x.Color - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDesc = []byte{ - 0x0a, 0x43, 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, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 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, 0x71, 0x0a, 0x09, 0x54, 0x68, 0x72, - 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, - 0x72, 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, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2a, 0x69, 0x0a, 0x0d, - 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, - 0x1a, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, - 0x17, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x52, 0x45, 0x4c, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x48, - 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x42, 0x53, - 0x4f, 0x4c, 0x55, 0x54, 0x45, 0x10, 0x02, 0x2a, 0x60, 0x0a, 0x0b, 0x54, 0x68, 0x72, 0x65, 0x73, - 0x68, 0x6f, 0x6c, 0x64, 0x42, 0x79, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, - 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, - 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, - 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x42, 0x41, 0x43, - 0x4b, 0x47, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_goTypes = []any{ - (ThresholdType)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.ThresholdType - (ThresholdBy)(0), // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.ThresholdBy - (*Threshold)(nil), // 2: com.coralogixapis.dashboards.v1.ast.widgets.common.Threshold - (*wrapperspb.DoubleValue)(nil), // 3: google.protobuf.DoubleValue - (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_depIdxs = []int32{ - 3, // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.Threshold.from:type_name -> google.protobuf.DoubleValue - 4, // 1: com.coralogixapis.dashboards.v1.ast.widgets.common.Threshold.color: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_thresholds_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Threshold); 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_thresholds_proto_rawDesc, - NumEnums: 2, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_thresholds_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/time_frame.pb.go b/coralogix/clientset/grpc/dashboards/time_frame.pb.go deleted file mode 100644 index 5189ff39..00000000 --- a/coralogix/clientset/grpc/dashboards/time_frame.pb.go +++ /dev/null @@ -1,281 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/time_frame.proto - -package v1 - -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" - 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 TimeFrameSelect struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *TimeFrameSelect_AbsoluteTimeFrame - // *TimeFrameSelect_RelativeTimeFrame - Value isTimeFrameSelect_Value `protobuf_oneof:"value"` -} - -func (x *TimeFrameSelect) Reset() { - *x = TimeFrameSelect{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_time_frame_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TimeFrameSelect) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeFrameSelect) ProtoMessage() {} - -func (x *TimeFrameSelect) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_time_frame_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 TimeFrameSelect.ProtoReflect.Descriptor instead. -func (*TimeFrameSelect) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescGZIP(), []int{0} -} - -func (m *TimeFrameSelect) GetValue() isTimeFrameSelect_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *TimeFrameSelect) GetAbsoluteTimeFrame() *TimeFrame { - if x, ok := x.GetValue().(*TimeFrameSelect_AbsoluteTimeFrame); ok { - return x.AbsoluteTimeFrame - } - return nil -} - -func (x *TimeFrameSelect) GetRelativeTimeFrame() *durationpb.Duration { - if x, ok := x.GetValue().(*TimeFrameSelect_RelativeTimeFrame); ok { - return x.RelativeTimeFrame - } - return nil -} - -type isTimeFrameSelect_Value interface { - isTimeFrameSelect_Value() -} - -type TimeFrameSelect_AbsoluteTimeFrame struct { - AbsoluteTimeFrame *TimeFrame `protobuf:"bytes,1,opt,name=absolute_time_frame,json=absoluteTimeFrame,proto3,oneof"` -} - -type TimeFrameSelect_RelativeTimeFrame struct { - RelativeTimeFrame *durationpb.Duration `protobuf:"bytes,2,opt,name=relative_time_frame,json=relativeTimeFrame,proto3,oneof"` -} - -func (*TimeFrameSelect_AbsoluteTimeFrame) isTimeFrameSelect_Value() {} - -func (*TimeFrameSelect_RelativeTimeFrame) isTimeFrameSelect_Value() {} - -type TimeFrame struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - To *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` -} - -func (x *TimeFrame) Reset() { - *x = TimeFrame{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_time_frame_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TimeFrame) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeFrame) ProtoMessage() {} - -func (x *TimeFrame) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_time_frame_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 TimeFrame.ProtoReflect.Descriptor instead. -func (*TimeFrame) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescGZIP(), []int{1} -} - -func (x *TimeFrame) GetFrom() *timestamppb.Timestamp { - if x != nil { - return x.From - } - return nil -} - -func (x *TimeFrame) GetTo() *timestamppb.Timestamp { - if x != nil { - return x.To - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_time_frame_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDesc = []byte{ - 0x0a, 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, 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, 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, 0x22, 0xcc, 0x01, 0x0a, 0x0f, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x63, 0x0a, 0x13, 0x61, 0x62, 0x73, 0x6f, 0x6c, 0x75, - 0x74, 0x65, 0x5f, 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, 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, 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, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x67, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x2e, - 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x2a, - 0x0a, 0x02, 0x74, 0x6f, 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, 0x02, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_time_frame_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogixapis_dashboards_v1_common_time_frame_proto_goTypes = []any{ - (*TimeFrameSelect)(nil), // 0: com.coralogixapis.dashboards.v1.common.TimeFrameSelect - (*TimeFrame)(nil), // 1: com.coralogixapis.dashboards.v1.common.TimeFrame - (*durationpb.Duration)(nil), // 2: google.protobuf.Duration - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp -} -var file_com_coralogixapis_dashboards_v1_common_time_frame_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.common.TimeFrameSelect.absolute_time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 2, // 1: com.coralogixapis.dashboards.v1.common.TimeFrameSelect.relative_time_frame:type_name -> google.protobuf.Duration - 3, // 2: com.coralogixapis.dashboards.v1.common.TimeFrame.from:type_name -> google.protobuf.Timestamp - 3, // 3: com.coralogixapis.dashboards.v1.common.TimeFrame.to:type_name -> google.protobuf.Timestamp - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_time_frame_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_time_frame_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*TimeFrameSelect); 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_time_frame_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*TimeFrame); 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_time_frame_proto_msgTypes[0].OneofWrappers = []any{ - (*TimeFrameSelect_AbsoluteTimeFrame)(nil), - (*TimeFrameSelect_RelativeTimeFrame)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_time_frame_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_time_frame_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_time_frame_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_time_frame_proto = out.File - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_time_frame_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/time_series.pb.go b/coralogix/clientset/grpc/dashboards/time_series.pb.go deleted file mode 100644 index 08316e2f..00000000 --- a/coralogix/clientset/grpc/dashboards/time_series.pb.go +++ /dev/null @@ -1,268 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/common/time_series.proto - -package v1 - -import ( - 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 ( - // 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 TimeSeries struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Values []*DataPoint `protobuf:"bytes,2,rep,name=values,proto3" json:"values,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 *TimeSeries) Reset() { - *x = TimeSeries{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_time_series_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TimeSeries) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeSeries) ProtoMessage() {} - -func (x *TimeSeries) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_time_series_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 TimeSeries.ProtoReflect.Descriptor instead. -func (*TimeSeries) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescGZIP(), []int{0} -} - -func (x *TimeSeries) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *TimeSeries) GetValues() []*DataPoint { - if x != nil { - return x.Values - } - return nil -} - -func (x *TimeSeries) GetLabels() map[string]string { - if x != nil { - return x.Labels - } - return nil -} - -type DataPoint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - Value *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *DataPoint) Reset() { - *x = DataPoint{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_time_series_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataPoint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataPoint) ProtoMessage() {} - -func (x *DataPoint) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_time_series_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 DataPoint.ProtoReflect.Descriptor instead. -func (*DataPoint) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescGZIP(), []int{1} -} - -func (x *DataPoint) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -func (x *DataPoint) GetValue() *wrapperspb.DoubleValue { - if x != nil { - return x.Value - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_common_time_series_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDesc = []byte{ - 0x0a, 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, 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, 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, 0x9c, 0x02, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, - 0x65, 0x73, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, - 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, 0x44, 0x61, - 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, - 0x56, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 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, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, - 0x69, 0x65, 0x73, 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, 0x22, 0x79, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 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, 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, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescData = file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_common_time_series_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogixapis_dashboards_v1_common_time_series_proto_goTypes = []any{ - (*TimeSeries)(nil), // 0: com.coralogixapis.dashboards.v1.common.TimeSeries - (*DataPoint)(nil), // 1: com.coralogixapis.dashboards.v1.common.DataPoint - nil, // 2: com.coralogixapis.dashboards.v1.common.TimeSeries.LabelsEntry - (*wrapperspb.StringValue)(nil), // 3: google.protobuf.StringValue - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp - (*wrapperspb.DoubleValue)(nil), // 5: google.protobuf.DoubleValue -} -var file_com_coralogixapis_dashboards_v1_common_time_series_proto_depIdxs = []int32{ - 3, // 0: com.coralogixapis.dashboards.v1.common.TimeSeries.name:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.dashboards.v1.common.TimeSeries.values:type_name -> com.coralogixapis.dashboards.v1.common.DataPoint - 2, // 2: com.coralogixapis.dashboards.v1.common.TimeSeries.labels:type_name -> com.coralogixapis.dashboards.v1.common.TimeSeries.LabelsEntry - 4, // 3: com.coralogixapis.dashboards.v1.common.DataPoint.timestamp:type_name -> google.protobuf.Timestamp - 5, // 4: com.coralogixapis.dashboards.v1.common.DataPoint.value:type_name -> google.protobuf.DoubleValue - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_common_time_series_proto_init() } -func file_com_coralogixapis_dashboards_v1_common_time_series_proto_init() { - if File_com_coralogixapis_dashboards_v1_common_time_series_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_common_time_series_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*TimeSeries); 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_time_series_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*DataPoint); 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_time_series_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_common_time_series_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_common_time_series_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_common_time_series_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_common_time_series_proto = out.File - file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_common_time_series_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_common_time_series_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/types.pb.go b/coralogix/clientset/grpc/dashboards/types.pb.go deleted file mode 100644 index f030eac3..00000000 --- a/coralogix/clientset/grpc/dashboards/types.pb.go +++ /dev/null @@ -1,144 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/types.proto - -package v1 - -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 UUID struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *UUID) Reset() { - *x = UUID{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_types_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UUID) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UUID) ProtoMessage() {} - -func (x *UUID) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_types_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 UUID.ProtoReflect.Descriptor instead. -func (*UUID) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_types_proto_rawDescGZIP(), []int{0} -} - -func (x *UUID) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -var File_com_coralogixapis_dashboards_v1_types_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_types_proto_rawDesc = []byte{ - 0x0a, 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, 0x12, 0x1f, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x1c, - 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_types_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_types_proto_rawDescData = file_com_coralogixapis_dashboards_v1_types_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_types_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_types_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_types_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_types_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_types_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_dashboards_v1_types_proto_goTypes = []any{ - (*UUID)(nil), // 0: com.coralogixapis.dashboards.v1.UUID -} -var file_com_coralogixapis_dashboards_v1_types_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_types_proto_init() } -func file_com_coralogixapis_dashboards_v1_types_proto_init() { - if File_com_coralogixapis_dashboards_v1_types_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_types_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*UUID); 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_types_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_types_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_types_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_types_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_types_proto = out.File - file_com_coralogixapis_dashboards_v1_types_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_types_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_types_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/units.pb.go b/coralogix/clientset/grpc/dashboards/units.pb.go deleted file mode 100644 index ca1fb63a..00000000 --- a/coralogix/clientset/grpc/dashboards/units.pb.go +++ /dev/null @@ -1,212 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widgets/common/units.proto - -package v1 - -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 Unit int32 - -const ( - Unit_UNIT_UNSPECIFIED Unit = 0 - Unit_UNIT_MICROSECONDS Unit = 1 - Unit_UNIT_MILLISECONDS Unit = 2 - Unit_UNIT_SECONDS Unit = 3 - Unit_UNIT_BYTES Unit = 4 - Unit_UNIT_KBYTES Unit = 5 - Unit_UNIT_MBYTES Unit = 6 - Unit_UNIT_GBYTES Unit = 7 - Unit_UNIT_BYTES_IEC Unit = 8 - Unit_UNIT_KIBYTES Unit = 9 - Unit_UNIT_MIBYTES Unit = 10 - Unit_UNIT_GIBYTES Unit = 11 - Unit_UNIT_EUR_CENTS Unit = 12 - Unit_UNIT_EUR Unit = 13 - Unit_UNIT_USD_CENTS Unit = 14 - Unit_UNIT_USD Unit = 15 - Unit_UNIT_NANOSECONDS Unit = 16 - Unit_UNIT_CUSTOM Unit = 17 - Unit_UNIT_PERCENT_ZERO_ONE Unit = 18 - Unit_UNIT_PERCENT_ZERO_HUNDRED Unit = 19 - Unit_UNIT_PERCENT Unit = 20 -) - -// Enum value maps for Unit. -var ( - Unit_name = map[int32]string{ - 0: "UNIT_UNSPECIFIED", - 1: "UNIT_MICROSECONDS", - 2: "UNIT_MILLISECONDS", - 3: "UNIT_SECONDS", - 4: "UNIT_BYTES", - 5: "UNIT_KBYTES", - 6: "UNIT_MBYTES", - 7: "UNIT_GBYTES", - 8: "UNIT_BYTES_IEC", - 9: "UNIT_KIBYTES", - 10: "UNIT_MIBYTES", - 11: "UNIT_GIBYTES", - 12: "UNIT_EUR_CENTS", - 13: "UNIT_EUR", - 14: "UNIT_USD_CENTS", - 15: "UNIT_USD", - 16: "UNIT_NANOSECONDS", - 17: "UNIT_CUSTOM", - 18: "UNIT_PERCENT_ZERO_ONE", - 19: "UNIT_PERCENT_ZERO_HUNDRED", - 20: "UNIT_PERCENT", - } - Unit_value = map[string]int32{ - "UNIT_UNSPECIFIED": 0, - "UNIT_MICROSECONDS": 1, - "UNIT_MILLISECONDS": 2, - "UNIT_SECONDS": 3, - "UNIT_BYTES": 4, - "UNIT_KBYTES": 5, - "UNIT_MBYTES": 6, - "UNIT_GBYTES": 7, - "UNIT_BYTES_IEC": 8, - "UNIT_KIBYTES": 9, - "UNIT_MIBYTES": 10, - "UNIT_GIBYTES": 11, - "UNIT_EUR_CENTS": 12, - "UNIT_EUR": 13, - "UNIT_USD_CENTS": 14, - "UNIT_USD": 15, - "UNIT_NANOSECONDS": 16, - "UNIT_CUSTOM": 17, - "UNIT_PERCENT_ZERO_ONE": 18, - "UNIT_PERCENT_ZERO_HUNDRED": 19, - "UNIT_PERCENT": 20, - } -) - -func (x Unit) Enum() *Unit { - p := new(Unit) - *p = x - return p -} - -func (x Unit) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Unit) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_enumTypes[0].Descriptor() -} - -func (Unit) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_enumTypes[0] -} - -func (x Unit) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Unit.Descriptor instead. -func (Unit) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDesc = []byte{ - 0x0a, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x75, 0x6e, 0x69, 0x74, 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, 0x2a, 0xa0, 0x03, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x14, 0x0a, - 0x10, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x43, 0x52, - 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, - 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, - 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, - 0x53, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x42, 0x59, 0x54, 0x45, - 0x53, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4b, 0x42, 0x59, 0x54, - 0x45, 0x53, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x42, 0x59, - 0x54, 0x45, 0x53, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x47, 0x42, - 0x59, 0x54, 0x45, 0x53, 0x10, 0x07, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x42, - 0x59, 0x54, 0x45, 0x53, 0x5f, 0x49, 0x45, 0x43, 0x10, 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, - 0x49, 0x54, 0x5f, 0x4b, 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x10, 0x0a, 0x0c, - 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0a, 0x12, 0x10, - 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x47, 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0b, - 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x45, 0x55, 0x52, 0x5f, 0x43, 0x45, 0x4e, - 0x54, 0x53, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x45, 0x55, 0x52, - 0x10, 0x0d, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x53, 0x44, 0x5f, 0x43, - 0x45, 0x4e, 0x54, 0x53, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, - 0x53, 0x44, 0x10, 0x0f, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4e, 0x41, 0x4e, - 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, - 0x49, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x11, 0x12, 0x19, 0x0a, 0x15, 0x55, - 0x4e, 0x49, 0x54, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, - 0x5f, 0x4f, 0x4e, 0x45, 0x10, 0x12, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x50, - 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x5f, 0x48, 0x55, 0x4e, 0x44, - 0x52, 0x45, 0x44, 0x10, 0x13, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x50, 0x45, - 0x52, 0x43, 0x45, 0x4e, 0x54, 0x10, 0x14, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_goTypes = []any{ - (Unit)(0), // 0: com.coralogixapis.dashboards.v1.ast.widgets.common.Unit -} -var file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_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_widgets_common_units_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_enumTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/variable.pb.go b/coralogix/clientset/grpc/dashboards/variable.pb.go deleted file mode 100644 index 532b7542..00000000 --- a/coralogix/clientset/grpc/dashboards/variable.pb.go +++ /dev/null @@ -1,3525 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/variable.proto - -package v1 - -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 VariableDisplayType int32 - -const ( - VariableDisplayType_VARIABLE_DISPLAY_TYPE_UNSPECIFIED VariableDisplayType = 0 - VariableDisplayType_VARIABLE_DISPLAY_TYPE_LABEL_VALUE VariableDisplayType = 1 - VariableDisplayType_VARIABLE_DISPLAY_TYPE_VALUE VariableDisplayType = 2 - VariableDisplayType_VARIABLE_DISPLAY_TYPE_NOTHING VariableDisplayType = 3 -) - -// Enum value maps for VariableDisplayType. -var ( - VariableDisplayType_name = map[int32]string{ - 0: "VARIABLE_DISPLAY_TYPE_UNSPECIFIED", - 1: "VARIABLE_DISPLAY_TYPE_LABEL_VALUE", - 2: "VARIABLE_DISPLAY_TYPE_VALUE", - 3: "VARIABLE_DISPLAY_TYPE_NOTHING", - } - VariableDisplayType_value = map[string]int32{ - "VARIABLE_DISPLAY_TYPE_UNSPECIFIED": 0, - "VARIABLE_DISPLAY_TYPE_LABEL_VALUE": 1, - "VARIABLE_DISPLAY_TYPE_VALUE": 2, - "VARIABLE_DISPLAY_TYPE_NOTHING": 3, - } -) - -func (x VariableDisplayType) Enum() *VariableDisplayType { - p := new(VariableDisplayType) - *p = x - return p -} - -func (x VariableDisplayType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (VariableDisplayType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes[0].Descriptor() -} - -func (VariableDisplayType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes[0] -} - -func (x VariableDisplayType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use VariableDisplayType.Descriptor instead. -func (VariableDisplayType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{0} -} - -type MultiSelect_RefreshStrategy int32 - -const ( - MultiSelect_REFRESH_STRATEGY_UNSPECIFIED MultiSelect_RefreshStrategy = 0 - MultiSelect_REFRESH_STRATEGY_ON_DASHBOARD_LOAD MultiSelect_RefreshStrategy = 1 - MultiSelect_REFRESH_STRATEGY_ON_TIME_FRAME_CHANGE MultiSelect_RefreshStrategy = 2 -) - -// Enum value maps for MultiSelect_RefreshStrategy. -var ( - MultiSelect_RefreshStrategy_name = map[int32]string{ - 0: "REFRESH_STRATEGY_UNSPECIFIED", - 1: "REFRESH_STRATEGY_ON_DASHBOARD_LOAD", - 2: "REFRESH_STRATEGY_ON_TIME_FRAME_CHANGE", - } - MultiSelect_RefreshStrategy_value = map[string]int32{ - "REFRESH_STRATEGY_UNSPECIFIED": 0, - "REFRESH_STRATEGY_ON_DASHBOARD_LOAD": 1, - "REFRESH_STRATEGY_ON_TIME_FRAME_CHANGE": 2, - } -) - -func (x MultiSelect_RefreshStrategy) Enum() *MultiSelect_RefreshStrategy { - p := new(MultiSelect_RefreshStrategy) - *p = x - return p -} - -func (x MultiSelect_RefreshStrategy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MultiSelect_RefreshStrategy) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes[1].Descriptor() -} - -func (MultiSelect_RefreshStrategy) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes[1] -} - -func (x MultiSelect_RefreshStrategy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MultiSelect_RefreshStrategy.Descriptor instead. -func (MultiSelect_RefreshStrategy) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 0} -} - -type MultiSelect_VariableSelectionOptions_SelectionType int32 - -const ( - MultiSelect_VariableSelectionOptions_SELECTION_TYPE_UNSPECIFIED MultiSelect_VariableSelectionOptions_SelectionType = 0 - MultiSelect_VariableSelectionOptions_SELECTION_TYPE_MULTI_ALL MultiSelect_VariableSelectionOptions_SelectionType = 1 - MultiSelect_VariableSelectionOptions_SELECTION_TYPE_MULTI MultiSelect_VariableSelectionOptions_SelectionType = 2 - MultiSelect_VariableSelectionOptions_SELECTION_TYPE_SINGLE MultiSelect_VariableSelectionOptions_SelectionType = 3 -) - -// Enum value maps for MultiSelect_VariableSelectionOptions_SelectionType. -var ( - MultiSelect_VariableSelectionOptions_SelectionType_name = map[int32]string{ - 0: "SELECTION_TYPE_UNSPECIFIED", - 1: "SELECTION_TYPE_MULTI_ALL", - 2: "SELECTION_TYPE_MULTI", - 3: "SELECTION_TYPE_SINGLE", - } - MultiSelect_VariableSelectionOptions_SelectionType_value = map[string]int32{ - "SELECTION_TYPE_UNSPECIFIED": 0, - "SELECTION_TYPE_MULTI_ALL": 1, - "SELECTION_TYPE_MULTI": 2, - "SELECTION_TYPE_SINGLE": 3, - } -) - -func (x MultiSelect_VariableSelectionOptions_SelectionType) Enum() *MultiSelect_VariableSelectionOptions_SelectionType { - p := new(MultiSelect_VariableSelectionOptions_SelectionType) - *p = x - return p -} - -func (x MultiSelect_VariableSelectionOptions_SelectionType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MultiSelect_VariableSelectionOptions_SelectionType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes[2].Descriptor() -} - -func (MultiSelect_VariableSelectionOptions_SelectionType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes[2] -} - -func (x MultiSelect_VariableSelectionOptions_SelectionType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MultiSelect_VariableSelectionOptions_SelectionType.Descriptor instead. -func (MultiSelect_VariableSelectionOptions_SelectionType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 9, 0} -} - -type Variable struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Definition *Variable_Definition `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"` - DisplayName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - DisplayType VariableDisplayType `protobuf:"varint,5,opt,name=display_type,json=displayType,proto3,enum=com.coralogixapis.dashboards.v1.ast.VariableDisplayType" json:"display_type,omitempty"` -} - -func (x *Variable) Reset() { - *x = Variable{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Variable) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Variable) ProtoMessage() {} - -func (x *Variable) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 Variable.ProtoReflect.Descriptor instead. -func (*Variable) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{0} -} - -func (x *Variable) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Variable) GetDefinition() *Variable_Definition { - if x != nil { - return x.Definition - } - return nil -} - -func (x *Variable) GetDisplayName() *wrapperspb.StringValue { - if x != nil { - return x.DisplayName - } - return nil -} - -func (x *Variable) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Variable) GetDisplayType() VariableDisplayType { - if x != nil { - return x.DisplayType - } - return VariableDisplayType_VARIABLE_DISPLAY_TYPE_UNSPECIFIED -} - -type Constant 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 *Constant) Reset() { - *x = Constant{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Constant) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Constant) ProtoMessage() {} - -func (x *Constant) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 Constant.ProtoReflect.Descriptor instead. -func (*Constant) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{1} -} - -func (x *Constant) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type MultiSelect struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/variable.proto. - Selected []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=selected,proto3" json:"selected,omitempty"` - Source *MultiSelect_Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - Selection *MultiSelect_Selection `protobuf:"bytes,3,opt,name=selection,proto3" json:"selection,omitempty"` - ValuesOrderDirection OrderDirection `protobuf:"varint,4,opt,name=values_order_direction,json=valuesOrderDirection,proto3,enum=com.coralogixapis.dashboards.v1.common.OrderDirection" json:"values_order_direction,omitempty"` - SelectionOptions *MultiSelect_VariableSelectionOptions `protobuf:"bytes,5,opt,name=selection_options,json=selectionOptions,proto3" json:"selection_options,omitempty"` -} - -func (x *MultiSelect) Reset() { - *x = MultiSelect{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect) ProtoMessage() {} - -func (x *MultiSelect) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect.ProtoReflect.Descriptor instead. -func (*MultiSelect) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2} -} - -// Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/variable.proto. -func (x *MultiSelect) GetSelected() []*wrapperspb.StringValue { - if x != nil { - return x.Selected - } - return nil -} - -func (x *MultiSelect) GetSource() *MultiSelect_Source { - if x != nil { - return x.Source - } - return nil -} - -func (x *MultiSelect) GetSelection() *MultiSelect_Selection { - if x != nil { - return x.Selection - } - return nil -} - -func (x *MultiSelect) GetValuesOrderDirection() OrderDirection { - if x != nil { - return x.ValuesOrderDirection - } - return OrderDirection_ORDER_DIRECTION_UNSPECIFIED -} - -func (x *MultiSelect) GetSelectionOptions() *MultiSelect_VariableSelectionOptions { - if x != nil { - return x.SelectionOptions - } - return nil -} - -type Variable_Definition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *Variable_Definition_Constant - // *Variable_Definition_MultiSelect - Value isVariable_Definition_Value `protobuf_oneof:"value"` -} - -func (x *Variable_Definition) Reset() { - *x = Variable_Definition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Variable_Definition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Variable_Definition) ProtoMessage() {} - -func (x *Variable_Definition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 Variable_Definition.ProtoReflect.Descriptor instead. -func (*Variable_Definition) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *Variable_Definition) GetValue() isVariable_Definition_Value { - if m != nil { - return m.Value - } - return nil -} - -// Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/variable.proto. -func (x *Variable_Definition) GetConstant() *Constant { - if x, ok := x.GetValue().(*Variable_Definition_Constant); ok { - return x.Constant - } - return nil -} - -func (x *Variable_Definition) GetMultiSelect() *MultiSelect { - if x, ok := x.GetValue().(*Variable_Definition_MultiSelect); ok { - return x.MultiSelect - } - return nil -} - -type isVariable_Definition_Value interface { - isVariable_Definition_Value() -} - -type Variable_Definition_Constant struct { - // Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/variable.proto. - Constant *Constant `protobuf:"bytes,1,opt,name=constant,proto3,oneof"` -} - -type Variable_Definition_MultiSelect struct { - MultiSelect *MultiSelect `protobuf:"bytes,2,opt,name=multi_select,json=multiSelect,proto3,oneof"` -} - -func (*Variable_Definition_Constant) isVariable_Definition_Value() {} - -func (*Variable_Definition_MultiSelect) isVariable_Definition_Value() {} - -type MultiSelect_Source struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Source_LogsPath - // *MultiSelect_Source_MetricLabel - // *MultiSelect_Source_ConstantList - // *MultiSelect_Source_SpanField - // *MultiSelect_Source_Query - Value isMultiSelect_Source_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Source) Reset() { - *x = MultiSelect_Source{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Source) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Source) ProtoMessage() {} - -func (x *MultiSelect_Source) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_Source.ProtoReflect.Descriptor instead. -func (*MultiSelect_Source) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 0} -} - -func (m *MultiSelect_Source) GetValue() isMultiSelect_Source_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Source) GetLogsPath() *MultiSelect_LogsPathSource { - if x, ok := x.GetValue().(*MultiSelect_Source_LogsPath); ok { - return x.LogsPath - } - return nil -} - -func (x *MultiSelect_Source) GetMetricLabel() *MultiSelect_MetricLabelSource { - if x, ok := x.GetValue().(*MultiSelect_Source_MetricLabel); ok { - return x.MetricLabel - } - return nil -} - -func (x *MultiSelect_Source) GetConstantList() *MultiSelect_ConstantListSource { - if x, ok := x.GetValue().(*MultiSelect_Source_ConstantList); ok { - return x.ConstantList - } - return nil -} - -func (x *MultiSelect_Source) GetSpanField() *MultiSelect_SpanFieldSource { - if x, ok := x.GetValue().(*MultiSelect_Source_SpanField); ok { - return x.SpanField - } - return nil -} - -func (x *MultiSelect_Source) GetQuery() *MultiSelect_QuerySource { - if x, ok := x.GetValue().(*MultiSelect_Source_Query); ok { - return x.Query - } - return nil -} - -type isMultiSelect_Source_Value interface { - isMultiSelect_Source_Value() -} - -type MultiSelect_Source_LogsPath struct { - LogsPath *MultiSelect_LogsPathSource `protobuf:"bytes,1,opt,name=logs_path,json=logsPath,proto3,oneof"` -} - -type MultiSelect_Source_MetricLabel struct { - MetricLabel *MultiSelect_MetricLabelSource `protobuf:"bytes,2,opt,name=metric_label,json=metricLabel,proto3,oneof"` -} - -type MultiSelect_Source_ConstantList struct { - ConstantList *MultiSelect_ConstantListSource `protobuf:"bytes,3,opt,name=constant_list,json=constantList,proto3,oneof"` -} - -type MultiSelect_Source_SpanField struct { - SpanField *MultiSelect_SpanFieldSource `protobuf:"bytes,4,opt,name=span_field,json=spanField,proto3,oneof"` -} - -type MultiSelect_Source_Query struct { - Query *MultiSelect_QuerySource `protobuf:"bytes,5,opt,name=query,proto3,oneof"` -} - -func (*MultiSelect_Source_LogsPath) isMultiSelect_Source_Value() {} - -func (*MultiSelect_Source_MetricLabel) isMultiSelect_Source_Value() {} - -func (*MultiSelect_Source_ConstantList) isMultiSelect_Source_Value() {} - -func (*MultiSelect_Source_SpanField) isMultiSelect_Source_Value() {} - -func (*MultiSelect_Source_Query) isMultiSelect_Source_Value() {} - -type MultiSelect_LogsPathSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - ObservationField *ObservationField `protobuf:"bytes,3,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *MultiSelect_LogsPathSource) Reset() { - *x = MultiSelect_LogsPathSource{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_LogsPathSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_LogsPathSource) ProtoMessage() {} - -func (x *MultiSelect_LogsPathSource) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_LogsPathSource.ProtoReflect.Descriptor instead. -func (*MultiSelect_LogsPathSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 1} -} - -func (x *MultiSelect_LogsPathSource) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -func (x *MultiSelect_LogsPathSource) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -type MultiSelect_MetricLabelSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetricName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - Label *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` -} - -func (x *MultiSelect_MetricLabelSource) Reset() { - *x = MultiSelect_MetricLabelSource{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_MetricLabelSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_MetricLabelSource) ProtoMessage() {} - -func (x *MultiSelect_MetricLabelSource) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_MetricLabelSource.ProtoReflect.Descriptor instead. -func (*MultiSelect_MetricLabelSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 2} -} - -func (x *MultiSelect_MetricLabelSource) GetMetricName() *wrapperspb.StringValue { - if x != nil { - return x.MetricName - } - return nil -} - -func (x *MultiSelect_MetricLabelSource) GetLabel() *wrapperspb.StringValue { - if x != nil { - return x.Label - } - return nil -} - -type MultiSelect_SpanFieldSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *SpanField `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *MultiSelect_SpanFieldSource) Reset() { - *x = MultiSelect_SpanFieldSource{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_SpanFieldSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_SpanFieldSource) ProtoMessage() {} - -func (x *MultiSelect_SpanFieldSource) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_SpanFieldSource.ProtoReflect.Descriptor instead. -func (*MultiSelect_SpanFieldSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 3} -} - -func (x *MultiSelect_SpanFieldSource) GetValue() *SpanField { - if x != nil { - return x.Value - } - return nil -} - -type MultiSelect_ConstantListSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Values []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *MultiSelect_ConstantListSource) Reset() { - *x = MultiSelect_ConstantListSource{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_ConstantListSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_ConstantListSource) ProtoMessage() {} - -func (x *MultiSelect_ConstantListSource) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_ConstantListSource.ProtoReflect.Descriptor instead. -func (*MultiSelect_ConstantListSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 4} -} - -func (x *MultiSelect_ConstantListSource) GetValues() []*wrapperspb.StringValue { - if x != nil { - return x.Values - } - return nil -} - -type MultiSelect_QuerySource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Query *MultiSelect_Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` - RefreshStrategy MultiSelect_RefreshStrategy `protobuf:"varint,2,opt,name=refresh_strategy,json=refreshStrategy,proto3,enum=com.coralogixapis.dashboards.v1.ast.MultiSelect_RefreshStrategy" json:"refresh_strategy,omitempty"` - ValueDisplayOptions *MultiSelect_ValueDisplayOptions `protobuf:"bytes,3,opt,name=value_display_options,json=valueDisplayOptions,proto3" json:"value_display_options,omitempty"` -} - -func (x *MultiSelect_QuerySource) Reset() { - *x = MultiSelect_QuerySource{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_QuerySource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_QuerySource) ProtoMessage() {} - -func (x *MultiSelect_QuerySource) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_QuerySource.ProtoReflect.Descriptor instead. -func (*MultiSelect_QuerySource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 5} -} - -func (x *MultiSelect_QuerySource) GetQuery() *MultiSelect_Query { - if x != nil { - return x.Query - } - return nil -} - -func (x *MultiSelect_QuerySource) GetRefreshStrategy() MultiSelect_RefreshStrategy { - if x != nil { - return x.RefreshStrategy - } - return MultiSelect_REFRESH_STRATEGY_UNSPECIFIED -} - -func (x *MultiSelect_QuerySource) GetValueDisplayOptions() *MultiSelect_ValueDisplayOptions { - if x != nil { - return x.ValueDisplayOptions - } - return nil -} - -type MultiSelect_Query struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Query_LogsQuery_ - // *MultiSelect_Query_MetricsQuery_ - // *MultiSelect_Query_SpansQuery_ - Value isMultiSelect_Query_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Query) Reset() { - *x = MultiSelect_Query{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query) ProtoMessage() {} - -func (x *MultiSelect_Query) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_Query.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6} -} - -func (m *MultiSelect_Query) GetValue() isMultiSelect_Query_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Query) GetLogsQuery() *MultiSelect_Query_LogsQuery { - if x, ok := x.GetValue().(*MultiSelect_Query_LogsQuery_); ok { - return x.LogsQuery - } - return nil -} - -func (x *MultiSelect_Query) GetMetricsQuery() *MultiSelect_Query_MetricsQuery { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_); ok { - return x.MetricsQuery - } - return nil -} - -func (x *MultiSelect_Query) GetSpansQuery() *MultiSelect_Query_SpansQuery { - if x, ok := x.GetValue().(*MultiSelect_Query_SpansQuery_); ok { - return x.SpansQuery - } - return nil -} - -type isMultiSelect_Query_Value interface { - isMultiSelect_Query_Value() -} - -type MultiSelect_Query_LogsQuery_ struct { - LogsQuery *MultiSelect_Query_LogsQuery `protobuf:"bytes,1,opt,name=logs_query,json=logsQuery,proto3,oneof"` -} - -type MultiSelect_Query_MetricsQuery_ struct { - MetricsQuery *MultiSelect_Query_MetricsQuery `protobuf:"bytes,2,opt,name=metrics_query,json=metricsQuery,proto3,oneof"` -} - -type MultiSelect_Query_SpansQuery_ struct { - SpansQuery *MultiSelect_Query_SpansQuery `protobuf:"bytes,3,opt,name=spans_query,json=spansQuery,proto3,oneof"` -} - -func (*MultiSelect_Query_LogsQuery_) isMultiSelect_Query_Value() {} - -func (*MultiSelect_Query_MetricsQuery_) isMultiSelect_Query_Value() {} - -func (*MultiSelect_Query_SpansQuery_) isMultiSelect_Query_Value() {} - -type MultiSelect_ValueDisplayOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ValueRegex *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value_regex,json=valueRegex,proto3" json:"value_regex,omitempty"` - LabelRegex *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=label_regex,json=labelRegex,proto3" json:"label_regex,omitempty"` -} - -func (x *MultiSelect_ValueDisplayOptions) Reset() { - *x = MultiSelect_ValueDisplayOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_ValueDisplayOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_ValueDisplayOptions) ProtoMessage() {} - -func (x *MultiSelect_ValueDisplayOptions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_ValueDisplayOptions.ProtoReflect.Descriptor instead. -func (*MultiSelect_ValueDisplayOptions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 7} -} - -func (x *MultiSelect_ValueDisplayOptions) GetValueRegex() *wrapperspb.StringValue { - if x != nil { - return x.ValueRegex - } - return nil -} - -func (x *MultiSelect_ValueDisplayOptions) GetLabelRegex() *wrapperspb.StringValue { - if x != nil { - return x.LabelRegex - } - return nil -} - -type MultiSelect_Selection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Selection_All - // *MultiSelect_Selection_List - Value isMultiSelect_Selection_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Selection) Reset() { - *x = MultiSelect_Selection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Selection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Selection) ProtoMessage() {} - -func (x *MultiSelect_Selection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_Selection.ProtoReflect.Descriptor instead. -func (*MultiSelect_Selection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 8} -} - -func (m *MultiSelect_Selection) GetValue() isMultiSelect_Selection_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Selection) GetAll() *MultiSelect_Selection_AllSelection { - if x, ok := x.GetValue().(*MultiSelect_Selection_All); ok { - return x.All - } - return nil -} - -func (x *MultiSelect_Selection) GetList() *MultiSelect_Selection_ListSelection { - if x, ok := x.GetValue().(*MultiSelect_Selection_List); ok { - return x.List - } - return nil -} - -type isMultiSelect_Selection_Value interface { - isMultiSelect_Selection_Value() -} - -type MultiSelect_Selection_All struct { - All *MultiSelect_Selection_AllSelection `protobuf:"bytes,1,opt,name=all,proto3,oneof"` -} - -type MultiSelect_Selection_List struct { - List *MultiSelect_Selection_ListSelection `protobuf:"bytes,2,opt,name=list,proto3,oneof"` -} - -func (*MultiSelect_Selection_All) isMultiSelect_Selection_Value() {} - -func (*MultiSelect_Selection_List) isMultiSelect_Selection_Value() {} - -type MultiSelect_VariableSelectionOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectionType MultiSelect_VariableSelectionOptions_SelectionType `protobuf:"varint,1,opt,name=selection_type,json=selectionType,proto3,enum=com.coralogixapis.dashboards.v1.ast.MultiSelect_VariableSelectionOptions_SelectionType" json:"selection_type,omitempty"` -} - -func (x *MultiSelect_VariableSelectionOptions) Reset() { - *x = MultiSelect_VariableSelectionOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_VariableSelectionOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_VariableSelectionOptions) ProtoMessage() {} - -func (x *MultiSelect_VariableSelectionOptions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_VariableSelectionOptions.ProtoReflect.Descriptor instead. -func (*MultiSelect_VariableSelectionOptions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 9} -} - -func (x *MultiSelect_VariableSelectionOptions) GetSelectionType() MultiSelect_VariableSelectionOptions_SelectionType { - if x != nil { - return x.SelectionType - } - return MultiSelect_VariableSelectionOptions_SELECTION_TYPE_UNSPECIFIED -} - -type MultiSelect_Query_LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *MultiSelect_Query_LogsQuery_Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` -} - -func (x *MultiSelect_Query_LogsQuery) Reset() { - *x = MultiSelect_Query_LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_LogsQuery) ProtoMessage() {} - -func (x *MultiSelect_Query_LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_Query_LogsQuery.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 0} -} - -func (x *MultiSelect_Query_LogsQuery) GetType() *MultiSelect_Query_LogsQuery_Type { - if x != nil { - return x.Type - } - return nil -} - -type MultiSelect_Query_SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *MultiSelect_Query_SpansQuery_Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` -} - -func (x *MultiSelect_Query_SpansQuery) Reset() { - *x = MultiSelect_Query_SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_SpansQuery) ProtoMessage() {} - -func (x *MultiSelect_Query_SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_Query_SpansQuery.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 1} -} - -func (x *MultiSelect_Query_SpansQuery) GetType() *MultiSelect_Query_SpansQuery_Type { - if x != nil { - return x.Type - } - return nil -} - -type MultiSelect_Query_MetricsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *MultiSelect_Query_MetricsQuery_Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery) Reset() { - *x = MultiSelect_Query_MetricsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_Query_MetricsQuery.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2} -} - -func (x *MultiSelect_Query_MetricsQuery) GetType() *MultiSelect_Query_MetricsQuery_Type { - if x != nil { - return x.Type - } - return nil -} - -type MultiSelect_Query_LogsQuery_Type struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Query_LogsQuery_Type_FieldName_ - // *MultiSelect_Query_LogsQuery_Type_FieldValue_ - Value isMultiSelect_Query_LogsQuery_Type_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Query_LogsQuery_Type) Reset() { - *x = MultiSelect_Query_LogsQuery_Type{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_LogsQuery_Type) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_LogsQuery_Type) ProtoMessage() {} - -func (x *MultiSelect_Query_LogsQuery_Type) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_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 MultiSelect_Query_LogsQuery_Type.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_LogsQuery_Type) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 0, 0} -} - -func (m *MultiSelect_Query_LogsQuery_Type) GetValue() isMultiSelect_Query_LogsQuery_Type_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Query_LogsQuery_Type) GetFieldName() *MultiSelect_Query_LogsQuery_Type_FieldName { - if x, ok := x.GetValue().(*MultiSelect_Query_LogsQuery_Type_FieldName_); ok { - return x.FieldName - } - return nil -} - -func (x *MultiSelect_Query_LogsQuery_Type) GetFieldValue() *MultiSelect_Query_LogsQuery_Type_FieldValue { - if x, ok := x.GetValue().(*MultiSelect_Query_LogsQuery_Type_FieldValue_); ok { - return x.FieldValue - } - return nil -} - -type isMultiSelect_Query_LogsQuery_Type_Value interface { - isMultiSelect_Query_LogsQuery_Type_Value() -} - -type MultiSelect_Query_LogsQuery_Type_FieldName_ struct { - FieldName *MultiSelect_Query_LogsQuery_Type_FieldName `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3,oneof"` -} - -type MultiSelect_Query_LogsQuery_Type_FieldValue_ struct { - FieldValue *MultiSelect_Query_LogsQuery_Type_FieldValue `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3,oneof"` -} - -func (*MultiSelect_Query_LogsQuery_Type_FieldName_) isMultiSelect_Query_LogsQuery_Type_Value() {} - -func (*MultiSelect_Query_LogsQuery_Type_FieldValue_) isMultiSelect_Query_LogsQuery_Type_Value() {} - -type MultiSelect_Query_LogsQuery_Type_FieldName struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LogRegex *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=log_regex,json=logRegex,proto3" json:"log_regex,omitempty"` -} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldName) Reset() { - *x = MultiSelect_Query_LogsQuery_Type_FieldName{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldName) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_LogsQuery_Type_FieldName) ProtoMessage() {} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldName) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[18] - 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 MultiSelect_Query_LogsQuery_Type_FieldName.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_LogsQuery_Type_FieldName) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 0, 0, 0} -} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldName) GetLogRegex() *wrapperspb.StringValue { - if x != nil { - return x.LogRegex - } - return nil -} - -type MultiSelect_Query_LogsQuery_Type_FieldValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ObservationField *ObservationField `protobuf:"bytes,3,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` -} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldValue) Reset() { - *x = MultiSelect_Query_LogsQuery_Type_FieldValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_LogsQuery_Type_FieldValue) ProtoMessage() {} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[19] - 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 MultiSelect_Query_LogsQuery_Type_FieldValue.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_LogsQuery_Type_FieldValue) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 0, 0, 1} -} - -func (x *MultiSelect_Query_LogsQuery_Type_FieldValue) GetObservationField() *ObservationField { - if x != nil { - return x.ObservationField - } - return nil -} - -type MultiSelect_Query_SpansQuery_Type struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Query_SpansQuery_Type_FieldName_ - // *MultiSelect_Query_SpansQuery_Type_FieldValue_ - Value isMultiSelect_Query_SpansQuery_Type_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Query_SpansQuery_Type) Reset() { - *x = MultiSelect_Query_SpansQuery_Type{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_SpansQuery_Type) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_SpansQuery_Type) ProtoMessage() {} - -func (x *MultiSelect_Query_SpansQuery_Type) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[20] - 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 MultiSelect_Query_SpansQuery_Type.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_SpansQuery_Type) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 1, 0} -} - -func (m *MultiSelect_Query_SpansQuery_Type) GetValue() isMultiSelect_Query_SpansQuery_Type_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Query_SpansQuery_Type) GetFieldName() *MultiSelect_Query_SpansQuery_Type_FieldName { - if x, ok := x.GetValue().(*MultiSelect_Query_SpansQuery_Type_FieldName_); ok { - return x.FieldName - } - return nil -} - -func (x *MultiSelect_Query_SpansQuery_Type) GetFieldValue() *MultiSelect_Query_SpansQuery_Type_FieldValue { - if x, ok := x.GetValue().(*MultiSelect_Query_SpansQuery_Type_FieldValue_); ok { - return x.FieldValue - } - return nil -} - -type isMultiSelect_Query_SpansQuery_Type_Value interface { - isMultiSelect_Query_SpansQuery_Type_Value() -} - -type MultiSelect_Query_SpansQuery_Type_FieldName_ struct { - FieldName *MultiSelect_Query_SpansQuery_Type_FieldName `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3,oneof"` -} - -type MultiSelect_Query_SpansQuery_Type_FieldValue_ struct { - FieldValue *MultiSelect_Query_SpansQuery_Type_FieldValue `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3,oneof"` -} - -func (*MultiSelect_Query_SpansQuery_Type_FieldName_) isMultiSelect_Query_SpansQuery_Type_Value() {} - -func (*MultiSelect_Query_SpansQuery_Type_FieldValue_) isMultiSelect_Query_SpansQuery_Type_Value() {} - -type MultiSelect_Query_SpansQuery_Type_FieldName struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SpanRegex *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=span_regex,json=spanRegex,proto3" json:"span_regex,omitempty"` -} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldName) Reset() { - *x = MultiSelect_Query_SpansQuery_Type_FieldName{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldName) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_SpansQuery_Type_FieldName) ProtoMessage() {} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldName) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[21] - 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 MultiSelect_Query_SpansQuery_Type_FieldName.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_SpansQuery_Type_FieldName) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 1, 0, 0} -} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldName) GetSpanRegex() *wrapperspb.StringValue { - if x != nil { - return x.SpanRegex - } - return nil -} - -type MultiSelect_Query_SpansQuery_Type_FieldValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *SpanField `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldValue) Reset() { - *x = MultiSelect_Query_SpansQuery_Type_FieldValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_SpansQuery_Type_FieldValue) ProtoMessage() {} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[22] - 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 MultiSelect_Query_SpansQuery_Type_FieldValue.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_SpansQuery_Type_FieldValue) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 1, 0, 1} -} - -func (x *MultiSelect_Query_SpansQuery_Type_FieldValue) GetValue() *SpanField { - if x != nil { - return x.Value - } - return nil -} - -type MultiSelect_Query_MetricsQuery_Type struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Query_MetricsQuery_Type_MetricName_ - // *MultiSelect_Query_MetricsQuery_Type_LabelName_ - // *MultiSelect_Query_MetricsQuery_Type_LabelValue_ - Value isMultiSelect_Query_MetricsQuery_Type_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Query_MetricsQuery_Type) Reset() { - *x = MultiSelect_Query_MetricsQuery_Type{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Type) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Type) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Type) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[23] - 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 MultiSelect_Query_MetricsQuery_Type.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Type) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 0} -} - -func (m *MultiSelect_Query_MetricsQuery_Type) GetValue() isMultiSelect_Query_MetricsQuery_Type_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Type) GetMetricName() *MultiSelect_Query_MetricsQuery_Type_MetricName { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_Type_MetricName_); ok { - return x.MetricName - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Type) GetLabelName() *MultiSelect_Query_MetricsQuery_Type_LabelName { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_Type_LabelName_); ok { - return x.LabelName - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Type) GetLabelValue() *MultiSelect_Query_MetricsQuery_Type_LabelValue { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_Type_LabelValue_); ok { - return x.LabelValue - } - return nil -} - -type isMultiSelect_Query_MetricsQuery_Type_Value interface { - isMultiSelect_Query_MetricsQuery_Type_Value() -} - -type MultiSelect_Query_MetricsQuery_Type_MetricName_ struct { - MetricName *MultiSelect_Query_MetricsQuery_Type_MetricName `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3,oneof"` -} - -type MultiSelect_Query_MetricsQuery_Type_LabelName_ struct { - LabelName *MultiSelect_Query_MetricsQuery_Type_LabelName `protobuf:"bytes,2,opt,name=label_name,json=labelName,proto3,oneof"` -} - -type MultiSelect_Query_MetricsQuery_Type_LabelValue_ struct { - LabelValue *MultiSelect_Query_MetricsQuery_Type_LabelValue `protobuf:"bytes,3,opt,name=label_value,json=labelValue,proto3,oneof"` -} - -func (*MultiSelect_Query_MetricsQuery_Type_MetricName_) isMultiSelect_Query_MetricsQuery_Type_Value() { -} - -func (*MultiSelect_Query_MetricsQuery_Type_LabelName_) isMultiSelect_Query_MetricsQuery_Type_Value() { -} - -func (*MultiSelect_Query_MetricsQuery_Type_LabelValue_) isMultiSelect_Query_MetricsQuery_Type_Value() { -} - -type MultiSelect_Query_MetricsQuery_StringOrVariable struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Query_MetricsQuery_StringOrVariable_StringValue - // *MultiSelect_Query_MetricsQuery_StringOrVariable_VariableName - Value isMultiSelect_Query_MetricsQuery_StringOrVariable_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Query_MetricsQuery_StringOrVariable) Reset() { - *x = MultiSelect_Query_MetricsQuery_StringOrVariable{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_StringOrVariable) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_StringOrVariable) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_StringOrVariable) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[24] - 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 MultiSelect_Query_MetricsQuery_StringOrVariable.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_StringOrVariable) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 1} -} - -func (m *MultiSelect_Query_MetricsQuery_StringOrVariable) GetValue() isMultiSelect_Query_MetricsQuery_StringOrVariable_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_StringOrVariable) GetStringValue() *wrapperspb.StringValue { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_StringOrVariable_StringValue); ok { - return x.StringValue - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_StringOrVariable) GetVariableName() *wrapperspb.StringValue { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_StringOrVariable_VariableName); ok { - return x.VariableName - } - return nil -} - -type isMultiSelect_Query_MetricsQuery_StringOrVariable_Value interface { - isMultiSelect_Query_MetricsQuery_StringOrVariable_Value() -} - -type MultiSelect_Query_MetricsQuery_StringOrVariable_StringValue struct { - StringValue *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type MultiSelect_Query_MetricsQuery_StringOrVariable_VariableName struct { - VariableName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=variable_name,json=variableName,proto3,oneof"` -} - -func (*MultiSelect_Query_MetricsQuery_StringOrVariable_StringValue) isMultiSelect_Query_MetricsQuery_StringOrVariable_Value() { -} - -func (*MultiSelect_Query_MetricsQuery_StringOrVariable_VariableName) isMultiSelect_Query_MetricsQuery_StringOrVariable_Value() { -} - -type MultiSelect_Query_MetricsQuery_MetricsLabelFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Metric *MultiSelect_Query_MetricsQuery_StringOrVariable `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - Label *MultiSelect_Query_MetricsQuery_StringOrVariable `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` - Operator *MultiSelect_Query_MetricsQuery_Operator `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery_MetricsLabelFilter) Reset() { - *x = MultiSelect_Query_MetricsQuery_MetricsLabelFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_MetricsLabelFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_MetricsLabelFilter) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_MetricsLabelFilter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[25] - 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 MultiSelect_Query_MetricsQuery_MetricsLabelFilter.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_MetricsLabelFilter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 2} -} - -func (x *MultiSelect_Query_MetricsQuery_MetricsLabelFilter) GetMetric() *MultiSelect_Query_MetricsQuery_StringOrVariable { - if x != nil { - return x.Metric - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_MetricsLabelFilter) GetLabel() *MultiSelect_Query_MetricsQuery_StringOrVariable { - if x != nil { - return x.Label - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_MetricsLabelFilter) GetOperator() *MultiSelect_Query_MetricsQuery_Operator { - if x != nil { - return x.Operator - } - return nil -} - -type MultiSelect_Query_MetricsQuery_Operator struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Query_MetricsQuery_Operator_Equals - // *MultiSelect_Query_MetricsQuery_Operator_NotEquals - Value isMultiSelect_Query_MetricsQuery_Operator_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Query_MetricsQuery_Operator) Reset() { - *x = MultiSelect_Query_MetricsQuery_Operator{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Operator) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Operator) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Operator) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[26] - 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 MultiSelect_Query_MetricsQuery_Operator.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Operator) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 3} -} - -func (m *MultiSelect_Query_MetricsQuery_Operator) GetValue() isMultiSelect_Query_MetricsQuery_Operator_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Operator) GetEquals() *MultiSelect_Query_MetricsQuery_Equals { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_Operator_Equals); ok { - return x.Equals - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Operator) GetNotEquals() *MultiSelect_Query_MetricsQuery_NotEquals { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_Operator_NotEquals); ok { - return x.NotEquals - } - return nil -} - -type isMultiSelect_Query_MetricsQuery_Operator_Value interface { - isMultiSelect_Query_MetricsQuery_Operator_Value() -} - -type MultiSelect_Query_MetricsQuery_Operator_Equals struct { - Equals *MultiSelect_Query_MetricsQuery_Equals `protobuf:"bytes,1,opt,name=equals,proto3,oneof"` -} - -type MultiSelect_Query_MetricsQuery_Operator_NotEquals struct { - NotEquals *MultiSelect_Query_MetricsQuery_NotEquals `protobuf:"bytes,2,opt,name=not_equals,json=notEquals,proto3,oneof"` -} - -func (*MultiSelect_Query_MetricsQuery_Operator_Equals) isMultiSelect_Query_MetricsQuery_Operator_Value() { -} - -func (*MultiSelect_Query_MetricsQuery_Operator_NotEquals) isMultiSelect_Query_MetricsQuery_Operator_Value() { -} - -type MultiSelect_Query_MetricsQuery_Equals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Selection *MultiSelect_Query_MetricsQuery_Selection `protobuf:"bytes,1,opt,name=selection,proto3" json:"selection,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery_Equals) Reset() { - *x = MultiSelect_Query_MetricsQuery_Equals{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Equals) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Equals) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Equals) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[27] - 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 MultiSelect_Query_MetricsQuery_Equals.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Equals) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 4} -} - -func (x *MultiSelect_Query_MetricsQuery_Equals) GetSelection() *MultiSelect_Query_MetricsQuery_Selection { - if x != nil { - return x.Selection - } - return nil -} - -type MultiSelect_Query_MetricsQuery_NotEquals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Selection *MultiSelect_Query_MetricsQuery_Selection `protobuf:"bytes,1,opt,name=selection,proto3" json:"selection,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery_NotEquals) Reset() { - *x = MultiSelect_Query_MetricsQuery_NotEquals{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_NotEquals) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_NotEquals) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_NotEquals) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[28] - 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 MultiSelect_Query_MetricsQuery_NotEquals.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_NotEquals) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 5} -} - -func (x *MultiSelect_Query_MetricsQuery_NotEquals) GetSelection() *MultiSelect_Query_MetricsQuery_Selection { - if x != nil { - return x.Selection - } - return nil -} - -type MultiSelect_Query_MetricsQuery_Selection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *MultiSelect_Query_MetricsQuery_Selection_List - Value isMultiSelect_Query_MetricsQuery_Selection_Value `protobuf_oneof:"value"` -} - -func (x *MultiSelect_Query_MetricsQuery_Selection) Reset() { - *x = MultiSelect_Query_MetricsQuery_Selection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Selection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Selection) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Selection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[29] - 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 MultiSelect_Query_MetricsQuery_Selection.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Selection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 6} -} - -func (m *MultiSelect_Query_MetricsQuery_Selection) GetValue() isMultiSelect_Query_MetricsQuery_Selection_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Selection) GetList() *MultiSelect_Query_MetricsQuery_Selection_ListSelection { - if x, ok := x.GetValue().(*MultiSelect_Query_MetricsQuery_Selection_List); ok { - return x.List - } - return nil -} - -type isMultiSelect_Query_MetricsQuery_Selection_Value interface { - isMultiSelect_Query_MetricsQuery_Selection_Value() -} - -type MultiSelect_Query_MetricsQuery_Selection_List struct { - List *MultiSelect_Query_MetricsQuery_Selection_ListSelection `protobuf:"bytes,1,opt,name=list,proto3,oneof"` -} - -func (*MultiSelect_Query_MetricsQuery_Selection_List) isMultiSelect_Query_MetricsQuery_Selection_Value() { -} - -type MultiSelect_Query_MetricsQuery_Type_MetricName struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetricRegex *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=metric_regex,json=metricRegex,proto3" json:"metric_regex,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery_Type_MetricName) Reset() { - *x = MultiSelect_Query_MetricsQuery_Type_MetricName{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Type_MetricName) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Type_MetricName) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Type_MetricName) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[30] - 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 MultiSelect_Query_MetricsQuery_Type_MetricName.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Type_MetricName) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 0, 0} -} - -func (x *MultiSelect_Query_MetricsQuery_Type_MetricName) GetMetricRegex() *wrapperspb.StringValue { - if x != nil { - return x.MetricRegex - } - return nil -} - -type MultiSelect_Query_MetricsQuery_Type_LabelName struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetricRegex *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=metric_regex,json=metricRegex,proto3" json:"metric_regex,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelName) Reset() { - *x = MultiSelect_Query_MetricsQuery_Type_LabelName{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelName) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Type_LabelName) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelName) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[31] - 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 MultiSelect_Query_MetricsQuery_Type_LabelName.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Type_LabelName) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 0, 1} -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelName) GetMetricRegex() *wrapperspb.StringValue { - if x != nil { - return x.MetricRegex - } - return nil -} - -type MultiSelect_Query_MetricsQuery_Type_LabelValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetricName *MultiSelect_Query_MetricsQuery_StringOrVariable `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - LabelName *MultiSelect_Query_MetricsQuery_StringOrVariable `protobuf:"bytes,2,opt,name=label_name,json=labelName,proto3" json:"label_name,omitempty"` - LabelFilters []*MultiSelect_Query_MetricsQuery_MetricsLabelFilter `protobuf:"bytes,3,rep,name=label_filters,json=labelFilters,proto3" json:"label_filters,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelValue) Reset() { - *x = MultiSelect_Query_MetricsQuery_Type_LabelValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Type_LabelValue) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[32] - 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 MultiSelect_Query_MetricsQuery_Type_LabelValue.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Type_LabelValue) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 0, 2} -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelValue) GetMetricName() *MultiSelect_Query_MetricsQuery_StringOrVariable { - if x != nil { - return x.MetricName - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelValue) GetLabelName() *MultiSelect_Query_MetricsQuery_StringOrVariable { - if x != nil { - return x.LabelName - } - return nil -} - -func (x *MultiSelect_Query_MetricsQuery_Type_LabelValue) GetLabelFilters() []*MultiSelect_Query_MetricsQuery_MetricsLabelFilter { - if x != nil { - return x.LabelFilters - } - return nil -} - -type MultiSelect_Query_MetricsQuery_Selection_ListSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Values []*MultiSelect_Query_MetricsQuery_StringOrVariable `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *MultiSelect_Query_MetricsQuery_Selection_ListSelection) Reset() { - *x = MultiSelect_Query_MetricsQuery_Selection_ListSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Query_MetricsQuery_Selection_ListSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Query_MetricsQuery_Selection_ListSelection) ProtoMessage() {} - -func (x *MultiSelect_Query_MetricsQuery_Selection_ListSelection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[33] - 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 MultiSelect_Query_MetricsQuery_Selection_ListSelection.ProtoReflect.Descriptor instead. -func (*MultiSelect_Query_MetricsQuery_Selection_ListSelection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 6, 2, 6, 0} -} - -func (x *MultiSelect_Query_MetricsQuery_Selection_ListSelection) GetValues() []*MultiSelect_Query_MetricsQuery_StringOrVariable { - if x != nil { - return x.Values - } - return nil -} - -type MultiSelect_Selection_AllSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MultiSelect_Selection_AllSelection) Reset() { - *x = MultiSelect_Selection_AllSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Selection_AllSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Selection_AllSelection) ProtoMessage() {} - -func (x *MultiSelect_Selection_AllSelection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[34] - 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 MultiSelect_Selection_AllSelection.ProtoReflect.Descriptor instead. -func (*MultiSelect_Selection_AllSelection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 8, 0} -} - -type MultiSelect_Selection_ListSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Values []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` - Labels []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` -} - -func (x *MultiSelect_Selection_ListSelection) Reset() { - *x = MultiSelect_Selection_ListSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiSelect_Selection_ListSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiSelect_Selection_ListSelection) ProtoMessage() {} - -func (x *MultiSelect_Selection_ListSelection) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[35] - 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 MultiSelect_Selection_ListSelection.ProtoReflect.Descriptor instead. -func (*MultiSelect_Selection_ListSelection) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP(), []int{2, 8, 1} -} - -func (x *MultiSelect_Selection_ListSelection) GetValues() []*wrapperspb.StringValue { - if x != nil { - return x.Values - } - return nil -} - -func (x *MultiSelect_Selection_ListSelection) GetLabels() []*wrapperspb.StringValue { - if x != nil { - return x.Labels - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_variable_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDesc = []byte{ - 0x0a, 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, 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, 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, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 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, - 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0xb4, 0x04, 0x0a, 0x08, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, - 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x58, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 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, 0x61, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x2e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x64, - 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0c, 0x64, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 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, 0x64, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x0c, 0x64, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 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, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x44, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xbd, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x66, 0x69, - 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 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, 0x43, - 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x08, 0x63, - 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, - 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x48, - 0x00, 0x52, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x42, 0x07, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3e, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x74, 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, 0xf4, 0x31, 0x0a, 0x0b, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x3c, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x65, 0x64, 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, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x73, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x6c, 0x0a, 0x16, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 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, 0x14, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x76, - 0x0a, 0x11, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, - 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xff, 0x03, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x12, 0x5e, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x67, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x18, 0x02, 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, 0x4d, 0x75, - 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x6a, 0x0a, 0x0d, 0x63, 0x6f, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 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, 0x61, 0x73, 0x74, - 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x70, 0x61, - 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, - 0x73, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x54, 0x0a, 0x05, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x18, 0x05, 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, 0x4d, - 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x42, - 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xab, 0x01, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, - 0x73, 0x50, 0x61, 0x74, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 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, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x18, 0x03, 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, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0x86, 0x01, 0x0a, 0x11, 0x4d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x0b, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, - 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32, 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, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x1a, - 0x5a, 0x0a, 0x0f, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a, 0x0a, 0x12, 0x43, - 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0xc2, 0x02, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x05, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6b, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, - 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, - 0x79, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x12, 0x78, 0x0a, 0x15, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x13, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xcd, 0x1c, 0x0a, - 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x61, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x73, 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, 0x61, 0x73, 0x74, - 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, - 0x6c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6a, 0x0a, 0x0d, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x64, 0x0a, 0x0b, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, - 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x1a, 0x9c, 0x04, 0x0a, 0x09, - 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x59, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 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, 0x4d, 0x75, - 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x1a, 0xb3, 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x70, 0x0a, - 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, - 0x6d, 0x65, 0x48, 0x00, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x73, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4c, 0x6f, 0x67, - 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x46, 0x0a, 0x09, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x39, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x67, 0x65, 0x78, 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, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x67, 0x65, 0x78, 0x1a, 0x73, 0x0a, 0x0a, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, - 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, - 0x03, 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, - 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x84, 0x04, 0x0a, 0x0a, 0x53, - 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 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, 0x4d, 0x75, - 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x99, 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x71, - 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x74, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, - 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x48, 0x0a, 0x09, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x67, - 0x65, 0x78, 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, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x67, 0x65, - 0x78, 0x1a, 0x55, 0x0a, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x47, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 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, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x1a, 0xdf, 0x11, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x12, 0x5c, 0x0a, 0x04, 0x74, 0x79, 0x70, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x1a, 0x89, 0x07, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x76, 0x0a, 0x0b, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, - 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x73, 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 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, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x76, 0x0a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, - 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x48, 0x00, 0x52, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4d, - 0x0a, 0x0a, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0c, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x67, 0x65, 0x78, 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, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x65, 0x67, 0x65, 0x78, 0x1a, 0x4c, 0x0a, - 0x09, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x67, 0x65, 0x78, 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, 0x0b, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x65, 0x67, 0x65, 0x78, 0x1a, 0xf5, 0x02, 0x0a, 0x0a, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x75, 0x0a, 0x0b, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x56, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x73, 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x4f, 0x72, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x09, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x7b, 0x0a, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x56, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xa3, 0x01, 0x0a, - 0x10, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, - 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 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, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0d, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 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, 0x48, 0x00, 0x52, 0x0c, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x1a, 0xd8, 0x02, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x6c, 0x0a, 0x06, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, - 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x6a, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x4f, 0x72, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x12, 0x68, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, - 0x03, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0xe9, 0x01, - 0x0a, 0x08, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x64, 0x0a, 0x06, 0x65, 0x71, - 0x75, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x61, 0x73, 0x74, - 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x06, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, - 0x12, 0x6e, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x18, 0x02, - 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4e, 0x6f, 0x74, 0x45, 0x71, 0x75, - 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x6f, 0x74, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x75, 0x0a, 0x06, 0x45, 0x71, 0x75, - 0x61, 0x6c, 0x73, 0x12, 0x6b, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 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, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x1a, 0x78, 0x0a, 0x09, 0x4e, 0x6f, 0x74, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x12, 0x6b, 0x0a, - 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x86, 0x02, 0x0a, 0x09, 0x53, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x71, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 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, 0x4d, 0x75, 0x6c, - 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x7d, 0x0a, 0x0d, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, 0x06, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x61, - 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x93, 0x01, 0x0a, - 0x13, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x72, 0x65, - 0x67, 0x65, 0x78, 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, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, - 0x67, 0x65, 0x78, 0x12, 0x3d, 0x0a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x67, - 0x65, 0x78, 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, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x67, - 0x65, 0x78, 0x1a, 0xde, 0x02, 0x0a, 0x09, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x5b, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x5e, 0x0a, - 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 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, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x0e, 0x0a, - 0x0c, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x7b, 0x0a, - 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, - 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 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, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, - 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, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x1a, 0x9f, 0x02, 0x0a, 0x18, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x7e, 0x0a, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 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, 0x61, 0x73, 0x74, 0x2e, 0x4d, - 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0d, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x22, 0x82, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x01, - 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, - 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, - 0x47, 0x4c, 0x45, 0x10, 0x03, 0x22, 0x86, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, - 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x46, - 0x52, 0x45, 0x53, 0x48, 0x5f, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x52, - 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, 0x5f, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, - 0x4f, 0x4e, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x5f, 0x4c, 0x4f, 0x41, - 0x44, 0x10, 0x01, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, 0x5f, 0x53, - 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x4f, 0x4e, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, - 0x46, 0x52, 0x41, 0x4d, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x2a, 0xa7, - 0x01, 0x0a, 0x13, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x56, 0x41, 0x52, 0x49, 0x41, 0x42, - 0x4c, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x25, 0x0a, - 0x21, 0x56, 0x41, 0x52, 0x49, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, - 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x56, 0x41, 0x4c, - 0x55, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x56, 0x41, 0x52, 0x49, 0x41, 0x42, 0x4c, 0x45, - 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, 0x41, - 0x4c, 0x55, 0x45, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x56, 0x41, 0x52, 0x49, 0x41, 0x42, 0x4c, - 0x45, 0x5f, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, - 0x4f, 0x54, 0x48, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes = make([]protoimpl.MessageInfo, 36) -var file_com_coralogixapis_dashboards_v1_ast_variable_proto_goTypes = []any{ - (VariableDisplayType)(0), // 0: com.coralogixapis.dashboards.v1.ast.VariableDisplayType - (MultiSelect_RefreshStrategy)(0), // 1: com.coralogixapis.dashboards.v1.ast.MultiSelect.RefreshStrategy - (MultiSelect_VariableSelectionOptions_SelectionType)(0), // 2: com.coralogixapis.dashboards.v1.ast.MultiSelect.VariableSelectionOptions.SelectionType - (*Variable)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Variable - (*Constant)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Constant - (*MultiSelect)(nil), // 5: com.coralogixapis.dashboards.v1.ast.MultiSelect - (*Variable_Definition)(nil), // 6: com.coralogixapis.dashboards.v1.ast.Variable.Definition - (*MultiSelect_Source)(nil), // 7: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source - (*MultiSelect_LogsPathSource)(nil), // 8: com.coralogixapis.dashboards.v1.ast.MultiSelect.LogsPathSource - (*MultiSelect_MetricLabelSource)(nil), // 9: com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource - (*MultiSelect_SpanFieldSource)(nil), // 10: com.coralogixapis.dashboards.v1.ast.MultiSelect.SpanFieldSource - (*MultiSelect_ConstantListSource)(nil), // 11: com.coralogixapis.dashboards.v1.ast.MultiSelect.ConstantListSource - (*MultiSelect_QuerySource)(nil), // 12: com.coralogixapis.dashboards.v1.ast.MultiSelect.QuerySource - (*MultiSelect_Query)(nil), // 13: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query - (*MultiSelect_ValueDisplayOptions)(nil), // 14: com.coralogixapis.dashboards.v1.ast.MultiSelect.ValueDisplayOptions - (*MultiSelect_Selection)(nil), // 15: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection - (*MultiSelect_VariableSelectionOptions)(nil), // 16: com.coralogixapis.dashboards.v1.ast.MultiSelect.VariableSelectionOptions - (*MultiSelect_Query_LogsQuery)(nil), // 17: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery - (*MultiSelect_Query_SpansQuery)(nil), // 18: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery - (*MultiSelect_Query_MetricsQuery)(nil), // 19: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery - (*MultiSelect_Query_LogsQuery_Type)(nil), // 20: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type - (*MultiSelect_Query_LogsQuery_Type_FieldName)(nil), // 21: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.FieldName - (*MultiSelect_Query_LogsQuery_Type_FieldValue)(nil), // 22: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.FieldValue - (*MultiSelect_Query_SpansQuery_Type)(nil), // 23: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type - (*MultiSelect_Query_SpansQuery_Type_FieldName)(nil), // 24: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.FieldName - (*MultiSelect_Query_SpansQuery_Type_FieldValue)(nil), // 25: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.FieldValue - (*MultiSelect_Query_MetricsQuery_Type)(nil), // 26: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type - (*MultiSelect_Query_MetricsQuery_StringOrVariable)(nil), // 27: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable - (*MultiSelect_Query_MetricsQuery_MetricsLabelFilter)(nil), // 28: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.MetricsLabelFilter - (*MultiSelect_Query_MetricsQuery_Operator)(nil), // 29: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Operator - (*MultiSelect_Query_MetricsQuery_Equals)(nil), // 30: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Equals - (*MultiSelect_Query_MetricsQuery_NotEquals)(nil), // 31: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.NotEquals - (*MultiSelect_Query_MetricsQuery_Selection)(nil), // 32: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Selection - (*MultiSelect_Query_MetricsQuery_Type_MetricName)(nil), // 33: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.MetricName - (*MultiSelect_Query_MetricsQuery_Type_LabelName)(nil), // 34: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelName - (*MultiSelect_Query_MetricsQuery_Type_LabelValue)(nil), // 35: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelValue - (*MultiSelect_Query_MetricsQuery_Selection_ListSelection)(nil), // 36: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Selection.ListSelection - (*MultiSelect_Selection_AllSelection)(nil), // 37: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.AllSelection - (*MultiSelect_Selection_ListSelection)(nil), // 38: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection - (*wrapperspb.StringValue)(nil), // 39: google.protobuf.StringValue - (OrderDirection)(0), // 40: com.coralogixapis.dashboards.v1.common.OrderDirection - (*ObservationField)(nil), // 41: com.coralogixapis.dashboards.v1.common.ObservationField - (*SpanField)(nil), // 42: com.coralogixapis.dashboards.v1.common.SpanField -} -var file_com_coralogixapis_dashboards_v1_ast_variable_proto_depIdxs = []int32{ - 39, // 0: com.coralogixapis.dashboards.v1.ast.Variable.name:type_name -> google.protobuf.StringValue - 6, // 1: com.coralogixapis.dashboards.v1.ast.Variable.definition:type_name -> com.coralogixapis.dashboards.v1.ast.Variable.Definition - 39, // 2: com.coralogixapis.dashboards.v1.ast.Variable.display_name:type_name -> google.protobuf.StringValue - 39, // 3: com.coralogixapis.dashboards.v1.ast.Variable.description:type_name -> google.protobuf.StringValue - 0, // 4: com.coralogixapis.dashboards.v1.ast.Variable.display_type:type_name -> com.coralogixapis.dashboards.v1.ast.VariableDisplayType - 39, // 5: com.coralogixapis.dashboards.v1.ast.Constant.value:type_name -> google.protobuf.StringValue - 39, // 6: com.coralogixapis.dashboards.v1.ast.MultiSelect.selected:type_name -> google.protobuf.StringValue - 7, // 7: com.coralogixapis.dashboards.v1.ast.MultiSelect.source:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Source - 15, // 8: com.coralogixapis.dashboards.v1.ast.MultiSelect.selection:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection - 40, // 9: com.coralogixapis.dashboards.v1.ast.MultiSelect.values_order_direction:type_name -> com.coralogixapis.dashboards.v1.common.OrderDirection - 16, // 10: com.coralogixapis.dashboards.v1.ast.MultiSelect.selection_options:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.VariableSelectionOptions - 4, // 11: com.coralogixapis.dashboards.v1.ast.Variable.Definition.constant:type_name -> com.coralogixapis.dashboards.v1.ast.Constant - 5, // 12: com.coralogixapis.dashboards.v1.ast.Variable.Definition.multi_select:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect - 8, // 13: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source.logs_path:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.LogsPathSource - 9, // 14: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source.metric_label:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource - 11, // 15: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source.constant_list:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.ConstantListSource - 10, // 16: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source.span_field:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.SpanFieldSource - 12, // 17: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source.query:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.QuerySource - 39, // 18: com.coralogixapis.dashboards.v1.ast.MultiSelect.LogsPathSource.value:type_name -> google.protobuf.StringValue - 41, // 19: com.coralogixapis.dashboards.v1.ast.MultiSelect.LogsPathSource.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 39, // 20: com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource.metric_name:type_name -> google.protobuf.StringValue - 39, // 21: com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource.label:type_name -> google.protobuf.StringValue - 42, // 22: com.coralogixapis.dashboards.v1.ast.MultiSelect.SpanFieldSource.value:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 39, // 23: com.coralogixapis.dashboards.v1.ast.MultiSelect.ConstantListSource.values:type_name -> google.protobuf.StringValue - 13, // 24: com.coralogixapis.dashboards.v1.ast.MultiSelect.QuerySource.query:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query - 1, // 25: com.coralogixapis.dashboards.v1.ast.MultiSelect.QuerySource.refresh_strategy:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.RefreshStrategy - 14, // 26: com.coralogixapis.dashboards.v1.ast.MultiSelect.QuerySource.value_display_options:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.ValueDisplayOptions - 17, // 27: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.logs_query:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery - 19, // 28: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.metrics_query:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery - 18, // 29: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.spans_query:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery - 39, // 30: com.coralogixapis.dashboards.v1.ast.MultiSelect.ValueDisplayOptions.value_regex:type_name -> google.protobuf.StringValue - 39, // 31: com.coralogixapis.dashboards.v1.ast.MultiSelect.ValueDisplayOptions.label_regex:type_name -> google.protobuf.StringValue - 37, // 32: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.all:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.AllSelection - 38, // 33: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.list:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection - 2, // 34: com.coralogixapis.dashboards.v1.ast.MultiSelect.VariableSelectionOptions.selection_type:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.VariableSelectionOptions.SelectionType - 20, // 35: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.type:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type - 23, // 36: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.type:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type - 26, // 37: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.type:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type - 21, // 38: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.field_name:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.FieldName - 22, // 39: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.field_value:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.FieldValue - 39, // 40: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.FieldName.log_regex:type_name -> google.protobuf.StringValue - 41, // 41: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.LogsQuery.Type.FieldValue.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField - 24, // 42: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.field_name:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.FieldName - 25, // 43: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.field_value:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.FieldValue - 39, // 44: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.FieldName.span_regex:type_name -> google.protobuf.StringValue - 42, // 45: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.SpansQuery.Type.FieldValue.value:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 33, // 46: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.metric_name:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.MetricName - 34, // 47: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.label_name:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelName - 35, // 48: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.label_value:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelValue - 39, // 49: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable.string_value:type_name -> google.protobuf.StringValue - 39, // 50: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable.variable_name:type_name -> google.protobuf.StringValue - 27, // 51: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.MetricsLabelFilter.metric:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable - 27, // 52: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.MetricsLabelFilter.label:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable - 29, // 53: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.MetricsLabelFilter.operator:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Operator - 30, // 54: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Operator.equals:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Equals - 31, // 55: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Operator.not_equals:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.NotEquals - 32, // 56: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Equals.selection:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Selection - 32, // 57: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.NotEquals.selection:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Selection - 36, // 58: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Selection.list:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Selection.ListSelection - 39, // 59: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.MetricName.metric_regex:type_name -> google.protobuf.StringValue - 39, // 60: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelName.metric_regex:type_name -> google.protobuf.StringValue - 27, // 61: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelValue.metric_name:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable - 27, // 62: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelValue.label_name:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable - 28, // 63: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Type.LabelValue.label_filters:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.MetricsLabelFilter - 27, // 64: com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.Selection.ListSelection.values:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Query.MetricsQuery.StringOrVariable - 39, // 65: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection.values:type_name -> google.protobuf.StringValue - 39, // 66: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection.labels:type_name -> google.protobuf.StringValue - 67, // [67:67] is the sub-list for method output_type - 67, // [67:67] is the sub-list for method input_type - 67, // [67:67] is the sub-list for extension type_name - 67, // [67:67] is the sub-list for extension extendee - 0, // [0:67] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_variable_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_variable_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_variable_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() - file_com_coralogixapis_dashboards_v1_common_order_direction_proto_init() - file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Variable); 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_variable_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Constant); 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_variable_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect); 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_variable_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Variable_Definition); 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_variable_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_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_variable_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_LogsPathSource); 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_variable_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_MetricLabelSource); 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_variable_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_SpanFieldSource); 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_variable_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_ConstantListSource); 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_variable_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_QuerySource); 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_variable_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query); 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_variable_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_ValueDisplayOptions); 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_variable_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Selection); 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_variable_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_VariableSelectionOptions); 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_variable_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_LogsQuery); 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_variable_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_SpansQuery); 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_variable_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery); 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_variable_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_LogsQuery_Type); 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_variable_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_LogsQuery_Type_FieldName); 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_variable_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_LogsQuery_Type_FieldValue); 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_variable_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_SpansQuery_Type); 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_variable_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_SpansQuery_Type_FieldName); 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_variable_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_SpansQuery_Type_FieldValue); 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_variable_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Type); 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_variable_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_StringOrVariable); 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_variable_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_MetricsLabelFilter); 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_variable_proto_msgTypes[26].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Operator); 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_variable_proto_msgTypes[27].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Equals); 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_variable_proto_msgTypes[28].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_NotEquals); 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_variable_proto_msgTypes[29].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Selection); 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_variable_proto_msgTypes[30].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Type_MetricName); 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_variable_proto_msgTypes[31].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Type_LabelName); 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_variable_proto_msgTypes[32].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Type_LabelValue); 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_variable_proto_msgTypes[33].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Query_MetricsQuery_Selection_ListSelection); 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_variable_proto_msgTypes[34].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Selection_AllSelection); 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_variable_proto_msgTypes[35].Exporter = func(v any, i int) any { - switch v := v.(*MultiSelect_Selection_ListSelection); 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_variable_proto_msgTypes[3].OneofWrappers = []any{ - (*Variable_Definition_Constant)(nil), - (*Variable_Definition_MultiSelect)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[4].OneofWrappers = []any{ - (*MultiSelect_Source_LogsPath)(nil), - (*MultiSelect_Source_MetricLabel)(nil), - (*MultiSelect_Source_ConstantList)(nil), - (*MultiSelect_Source_SpanField)(nil), - (*MultiSelect_Source_Query)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[10].OneofWrappers = []any{ - (*MultiSelect_Query_LogsQuery_)(nil), - (*MultiSelect_Query_MetricsQuery_)(nil), - (*MultiSelect_Query_SpansQuery_)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[12].OneofWrappers = []any{ - (*MultiSelect_Selection_All)(nil), - (*MultiSelect_Selection_List)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[17].OneofWrappers = []any{ - (*MultiSelect_Query_LogsQuery_Type_FieldName_)(nil), - (*MultiSelect_Query_LogsQuery_Type_FieldValue_)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[20].OneofWrappers = []any{ - (*MultiSelect_Query_SpansQuery_Type_FieldName_)(nil), - (*MultiSelect_Query_SpansQuery_Type_FieldValue_)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[23].OneofWrappers = []any{ - (*MultiSelect_Query_MetricsQuery_Type_MetricName_)(nil), - (*MultiSelect_Query_MetricsQuery_Type_LabelName_)(nil), - (*MultiSelect_Query_MetricsQuery_Type_LabelValue_)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[24].OneofWrappers = []any{ - (*MultiSelect_Query_MetricsQuery_StringOrVariable_StringValue)(nil), - (*MultiSelect_Query_MetricsQuery_StringOrVariable_VariableName)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[26].OneofWrappers = []any{ - (*MultiSelect_Query_MetricsQuery_Operator_Equals)(nil), - (*MultiSelect_Query_MetricsQuery_Operator_NotEquals)(nil), - } - file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[29].OneofWrappers = []any{ - (*MultiSelect_Query_MetricsQuery_Selection_List)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDesc, - NumEnums: 3, - NumMessages: 36, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_variable_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_variable_proto_depIdxs, - EnumInfos: file_com_coralogixapis_dashboards_v1_ast_variable_proto_enumTypes, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_variable_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_variable_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_variable_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/dashboards/widget.pb.go b/coralogix/clientset/grpc/dashboards/widget.pb.go deleted file mode 100644 index ce7e1ab4..00000000 --- a/coralogix/clientset/grpc/dashboards/widget.pb.go +++ /dev/null @@ -1,597 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.28.2 -// source: com/coralogixapis/dashboards/v1/ast/widget.proto - -package v1 - -import ( - 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 ( - // 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 Widget struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Title *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Definition *Widget_Definition `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` - // Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/widget.proto. - Appearance *Widget_Appearance `protobuf:"bytes,5,opt,name=appearance,proto3" json:"appearance,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` -} - -func (x *Widget) Reset() { - *x = Widget{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widget_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Widget) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Widget) ProtoMessage() {} - -func (x *Widget) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widget_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 Widget.ProtoReflect.Descriptor instead. -func (*Widget) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescGZIP(), []int{0} -} - -func (x *Widget) GetId() *UUID { - if x != nil { - return x.Id - } - return nil -} - -func (x *Widget) GetTitle() *wrapperspb.StringValue { - if x != nil { - return x.Title - } - return nil -} - -func (x *Widget) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Widget) GetDefinition() *Widget_Definition { - if x != nil { - return x.Definition - } - return nil -} - -// Deprecated: Marked as deprecated in com/coralogixapis/dashboards/v1/ast/widget.proto. -func (x *Widget) GetAppearance() *Widget_Appearance { - if x != nil { - return x.Appearance - } - return nil -} - -func (x *Widget) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *Widget) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -type Widget_Definition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *Widget_Definition_LineChart - // *Widget_Definition_DataTable - // *Widget_Definition_Gauge - // *Widget_Definition_PieChart - // *Widget_Definition_BarChart - // *Widget_Definition_HorizontalBarChart - // *Widget_Definition_Markdown - // *Widget_Definition_Hexagon - Value isWidget_Definition_Value `protobuf_oneof:"value"` -} - -func (x *Widget_Definition) Reset() { - *x = Widget_Definition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widget_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Widget_Definition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Widget_Definition) ProtoMessage() {} - -func (x *Widget_Definition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widget_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 Widget_Definition.ProtoReflect.Descriptor instead. -func (*Widget_Definition) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescGZIP(), []int{0, 0} -} - -func (m *Widget_Definition) GetValue() isWidget_Definition_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Widget_Definition) GetLineChart() *LineChart { - if x, ok := x.GetValue().(*Widget_Definition_LineChart); ok { - return x.LineChart - } - return nil -} - -func (x *Widget_Definition) GetDataTable() *DataTable { - if x, ok := x.GetValue().(*Widget_Definition_DataTable); ok { - return x.DataTable - } - return nil -} - -func (x *Widget_Definition) GetGauge() *Gauge { - if x, ok := x.GetValue().(*Widget_Definition_Gauge); ok { - return x.Gauge - } - return nil -} - -func (x *Widget_Definition) GetPieChart() *PieChart { - if x, ok := x.GetValue().(*Widget_Definition_PieChart); ok { - return x.PieChart - } - return nil -} - -func (x *Widget_Definition) GetBarChart() *BarChart { - if x, ok := x.GetValue().(*Widget_Definition_BarChart); ok { - return x.BarChart - } - return nil -} - -func (x *Widget_Definition) GetHorizontalBarChart() *HorizontalBarChart { - if x, ok := x.GetValue().(*Widget_Definition_HorizontalBarChart); ok { - return x.HorizontalBarChart - } - return nil -} - -func (x *Widget_Definition) GetMarkdown() *Markdown { - if x, ok := x.GetValue().(*Widget_Definition_Markdown); ok { - return x.Markdown - } - return nil -} - -func (x *Widget_Definition) GetHexagon() *Hexagon { - if x, ok := x.GetValue().(*Widget_Definition_Hexagon); ok { - return x.Hexagon - } - return nil -} - -type isWidget_Definition_Value interface { - isWidget_Definition_Value() -} - -type Widget_Definition_LineChart struct { - LineChart *LineChart `protobuf:"bytes,1,opt,name=line_chart,json=lineChart,proto3,oneof"` -} - -type Widget_Definition_DataTable struct { - DataTable *DataTable `protobuf:"bytes,2,opt,name=data_table,json=dataTable,proto3,oneof"` -} - -type Widget_Definition_Gauge struct { - Gauge *Gauge `protobuf:"bytes,3,opt,name=gauge,proto3,oneof"` -} - -type Widget_Definition_PieChart struct { - PieChart *PieChart `protobuf:"bytes,4,opt,name=pie_chart,json=pieChart,proto3,oneof"` -} - -type Widget_Definition_BarChart struct { - BarChart *BarChart `protobuf:"bytes,5,opt,name=bar_chart,json=barChart,proto3,oneof"` -} - -type Widget_Definition_HorizontalBarChart struct { - HorizontalBarChart *HorizontalBarChart `protobuf:"bytes,6,opt,name=horizontal_bar_chart,json=horizontalBarChart,proto3,oneof"` -} - -type Widget_Definition_Markdown struct { - Markdown *Markdown `protobuf:"bytes,7,opt,name=markdown,proto3,oneof"` -} - -type Widget_Definition_Hexagon struct { - Hexagon *Hexagon `protobuf:"bytes,8,opt,name=hexagon,proto3,oneof"` -} - -func (*Widget_Definition_LineChart) isWidget_Definition_Value() {} - -func (*Widget_Definition_DataTable) isWidget_Definition_Value() {} - -func (*Widget_Definition_Gauge) isWidget_Definition_Value() {} - -func (*Widget_Definition_PieChart) isWidget_Definition_Value() {} - -func (*Widget_Definition_BarChart) isWidget_Definition_Value() {} - -func (*Widget_Definition_HorizontalBarChart) isWidget_Definition_Value() {} - -func (*Widget_Definition_Markdown) isWidget_Definition_Value() {} - -func (*Widget_Definition_Hexagon) isWidget_Definition_Value() {} - -type Widget_Appearance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Width *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=width,proto3" json:"width,omitempty"` -} - -func (x *Widget_Appearance) Reset() { - *x = Widget_Appearance{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_widget_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Widget_Appearance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Widget_Appearance) ProtoMessage() {} - -func (x *Widget_Appearance) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_widget_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 Widget_Appearance.ProtoReflect.Descriptor instead. -func (*Widget_Appearance) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *Widget_Appearance) GetWidth() *wrapperspb.Int32Value { - if x != nil { - return x.Width - } - return nil -} - -var File_com_coralogixapis_dashboards_v1_ast_widget_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDesc = []byte{ - 0x0a, 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, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 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, 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, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, - 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, - 0x74, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, - 0x2f, 0x67, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x46, 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, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, - 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 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, 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x3a, 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, - 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 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, - 0x61, 0x73, 0x74, 0x2f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x69, 0x65, 0x5f, - 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 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, 0x68, 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, - 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, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x09, 0x0a, 0x06, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x12, 0x35, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 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, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 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, 0x74, 0x69, 0x74, 0x6c, 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, 0x56, 0x0a, 0x0a, 0x64, 0x65, 0x66, - 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 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, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x44, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x5a, 0x0a, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 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, 0x61, 0x73, 0x74, 0x2e, 0x57, 0x69, 0x64, 0x67, - 0x65, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x02, 0x18, - 0x01, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x39, 0x0a, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, 0x09, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x64, 0x41, 0x74, 0x1a, 0xdb, 0x05, 0x0a, 0x0a, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, - 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, - 0x67, 0x65, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, - 0x52, 0x09, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x64, - 0x61, 0x74, 0x61, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, - 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x4a, 0x0a, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x18, 0x03, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, - 0x12, 0x54, 0x0a, 0x09, 0x70, 0x69, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x04, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x08, 0x70, 0x69, - 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x54, 0x0a, 0x09, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, - 0x61, 0x72, 0x74, 0x18, 0x05, 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, 0x61, 0x73, 0x74, 0x2e, - 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, - 0x48, 0x00, 0x52, 0x08, 0x62, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x73, 0x0a, 0x14, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x72, 0x5f, 0x63, - 0x68, 0x61, 0x72, 0x74, 0x18, 0x06, 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, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, - 0x74, 0x61, 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x12, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, - 0x74, 0x12, 0x53, 0x0a, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x07, 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, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, - 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x50, 0x0a, 0x07, 0x68, 0x65, 0x78, 0x61, 0x67, 0x6f, - 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 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, 0x48, 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, 0x48, 0x00, 0x52, - 0x07, 0x68, 0x65, 0x78, 0x61, 0x67, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x1a, 0x3f, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, - 0x31, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 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, 0x05, 0x77, 0x69, 0x64, - 0x74, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescOnce sync.Once - file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescData = file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDesc -) - -func file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescGZIP() []byte { - file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescData) - }) - return file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDescData -} - -var file_com_coralogixapis_dashboards_v1_ast_widget_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogixapis_dashboards_v1_ast_widget_proto_goTypes = []any{ - (*Widget)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Widget - (*Widget_Definition)(nil), // 1: com.coralogixapis.dashboards.v1.ast.Widget.Definition - (*Widget_Appearance)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Widget.Appearance - (*UUID)(nil), // 3: com.coralogixapis.dashboards.v1.UUID - (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp - (*LineChart)(nil), // 6: com.coralogixapis.dashboards.v1.ast.widgets.LineChart - (*DataTable)(nil), // 7: com.coralogixapis.dashboards.v1.ast.widgets.DataTable - (*Gauge)(nil), // 8: com.coralogixapis.dashboards.v1.ast.widgets.Gauge - (*PieChart)(nil), // 9: com.coralogixapis.dashboards.v1.ast.widgets.PieChart - (*BarChart)(nil), // 10: com.coralogixapis.dashboards.v1.ast.widgets.BarChart - (*HorizontalBarChart)(nil), // 11: com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart - (*Markdown)(nil), // 12: com.coralogixapis.dashboards.v1.ast.widgets.Markdown - (*Hexagon)(nil), // 13: com.coralogixapis.dashboards.v1.ast.widgets.Hexagon - (*wrapperspb.Int32Value)(nil), // 14: google.protobuf.Int32Value -} -var file_com_coralogixapis_dashboards_v1_ast_widget_proto_depIdxs = []int32{ - 3, // 0: com.coralogixapis.dashboards.v1.ast.Widget.id:type_name -> com.coralogixapis.dashboards.v1.UUID - 4, // 1: com.coralogixapis.dashboards.v1.ast.Widget.title:type_name -> google.protobuf.StringValue - 4, // 2: com.coralogixapis.dashboards.v1.ast.Widget.description:type_name -> google.protobuf.StringValue - 1, // 3: com.coralogixapis.dashboards.v1.ast.Widget.definition:type_name -> com.coralogixapis.dashboards.v1.ast.Widget.Definition - 2, // 4: com.coralogixapis.dashboards.v1.ast.Widget.appearance:type_name -> com.coralogixapis.dashboards.v1.ast.Widget.Appearance - 5, // 5: com.coralogixapis.dashboards.v1.ast.Widget.created_at:type_name -> google.protobuf.Timestamp - 5, // 6: com.coralogixapis.dashboards.v1.ast.Widget.updated_at:type_name -> google.protobuf.Timestamp - 6, // 7: com.coralogixapis.dashboards.v1.ast.Widget.Definition.line_chart:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.LineChart - 7, // 8: com.coralogixapis.dashboards.v1.ast.Widget.Definition.data_table:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.DataTable - 8, // 9: com.coralogixapis.dashboards.v1.ast.Widget.Definition.gauge:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Gauge - 9, // 10: com.coralogixapis.dashboards.v1.ast.Widget.Definition.pie_chart:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.PieChart - 10, // 11: com.coralogixapis.dashboards.v1.ast.Widget.Definition.bar_chart:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.BarChart - 11, // 12: com.coralogixapis.dashboards.v1.ast.Widget.Definition.horizontal_bar_chart:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.HorizontalBarChart - 12, // 13: com.coralogixapis.dashboards.v1.ast.Widget.Definition.markdown:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Markdown - 13, // 14: com.coralogixapis.dashboards.v1.ast.Widget.Definition.hexagon:type_name -> com.coralogixapis.dashboards.v1.ast.widgets.Hexagon - 14, // 15: com.coralogixapis.dashboards.v1.ast.Widget.Appearance.width:type_name -> google.protobuf.Int32Value - 16, // [16:16] is the sub-list for method output_type - 16, // [16:16] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_dashboards_v1_ast_widget_proto_init() } -func file_com_coralogixapis_dashboards_v1_ast_widget_proto_init() { - if File_com_coralogixapis_dashboards_v1_ast_widget_proto != nil { - return - } - file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_init() - file_com_coralogixapis_dashboards_v1_ast_widgets_hexagon_proto_init() - file_com_coralogixapis_dashboards_v1_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_dashboards_v1_ast_widget_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Widget); 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_widget_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Widget_Definition); 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_widget_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Widget_Appearance); 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_widget_proto_msgTypes[1].OneofWrappers = []any{ - (*Widget_Definition_LineChart)(nil), - (*Widget_Definition_DataTable)(nil), - (*Widget_Definition_Gauge)(nil), - (*Widget_Definition_PieChart)(nil), - (*Widget_Definition_BarChart)(nil), - (*Widget_Definition_HorizontalBarChart)(nil), - (*Widget_Definition_Markdown)(nil), - (*Widget_Definition_Hexagon)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_dashboards_v1_ast_widget_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_dashboards_v1_ast_widget_proto_depIdxs, - MessageInfos: file_com_coralogixapis_dashboards_v1_ast_widget_proto_msgTypes, - }.Build() - File_com_coralogixapis_dashboards_v1_ast_widget_proto = out.File - file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDesc = nil - file_com_coralogixapis_dashboards_v1_ast_widget_proto_goTypes = nil - file_com_coralogixapis_dashboards_v1_ast_widget_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/audit_log.pb.go b/coralogix/clientset/grpc/enrichment/v1/audit_log.pb.go deleted file mode 100644 index 43453edb..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/audit_log.pb.go +++ /dev/null @@ -1,179 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/audit_log.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" -) - -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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -var file_com_coralogix_enrichment_v1_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5003, - Name: "com.coralogix.enrichment.v1.audit_log_description", - Tag: "bytes,5003,opt,name=audit_log_description", - Filename: "com/coralogix/enrichment/v1/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogix.enrichment.v1.AuditLogDescription audit_log_description = 5003; - E_AuditLogDescription = &file_com_coralogix_enrichment_v1_audit_log_proto_extTypes[0] -) - -var File_com_coralogix_enrichment_v1_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_audit_log_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 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, 0x22, 0x37, 0x0a, 0x13, - 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x85, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, - 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x8b, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, - 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, - 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_audit_log_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_audit_log_proto_rawDescData = file_com_coralogix_enrichment_v1_audit_log_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_audit_log_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_audit_log_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_enrichment_v1_audit_log_proto_goTypes = []interface{}{ - (*AuditLogDescription)(nil), // 0: com.coralogix.enrichment.v1.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogix_enrichment_v1_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.enrichment.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogix.enrichment.v1.audit_log_description:type_name -> com.coralogix.enrichment.v1.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_com_coralogix_enrichment_v1_audit_log_proto_init() } -func file_com_coralogix_enrichment_v1_audit_log_proto_init() { - if File_com_coralogix_enrichment_v1_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_audit_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogDescription); 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_coralogix_enrichment_v1_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogix_enrichment_v1_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogix_enrichment_v1_audit_log_proto_extTypes, - }.Build() - File_com_coralogix_enrichment_v1_audit_log_proto = out.File - file_com_coralogix_enrichment_v1_audit_log_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_audit_log_proto_goTypes = nil - file_com_coralogix_enrichment_v1_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/aws_enrichment_service.pb.go b/coralogix/clientset/grpc/enrichment/v1/aws_enrichment_service.pb.go deleted file mode 100644 index 463f81e1..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/aws_enrichment_service.pb.go +++ /dev/null @@ -1,300 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/aws_enrichment_service.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 GetSupportedAwsResourceTypesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetSupportedAwsResourceTypesRequest) Reset() { - *x = GetSupportedAwsResourceTypesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSupportedAwsResourceTypesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSupportedAwsResourceTypesRequest) ProtoMessage() {} - -func (x *GetSupportedAwsResourceTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_aws_enrichment_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 GetSupportedAwsResourceTypesRequest.ProtoReflect.Descriptor instead. -func (*GetSupportedAwsResourceTypesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescGZIP(), []int{0} -} - -type GetSupportedAwsResourceTypesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ResourceTypes []*SupportedAwsResourceType `protobuf:"bytes,1,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"` -} - -func (x *GetSupportedAwsResourceTypesResponse) Reset() { - *x = GetSupportedAwsResourceTypesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSupportedAwsResourceTypesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSupportedAwsResourceTypesResponse) ProtoMessage() {} - -func (x *GetSupportedAwsResourceTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_aws_enrichment_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 GetSupportedAwsResourceTypesResponse.ProtoReflect.Descriptor instead. -func (*GetSupportedAwsResourceTypesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetSupportedAwsResourceTypesResponse) GetResourceTypes() []*SupportedAwsResourceType { - if x != nil { - return x.ResourceTypes - } - return nil -} - -type SupportedAwsResourceType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` -} - -func (x *SupportedAwsResourceType) Reset() { - *x = SupportedAwsResourceType{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SupportedAwsResourceType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SupportedAwsResourceType) ProtoMessage() {} - -func (x *SupportedAwsResourceType) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_aws_enrichment_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 SupportedAwsResourceType.ProtoReflect.Descriptor instead. -func (*SupportedAwsResourceType) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescGZIP(), []int{2} -} - -func (x *SupportedAwsResourceType) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *SupportedAwsResourceType) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -var File_com_coralogix_enrichment_v1_aws_enrichment_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDesc = []byte{ - 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x77, - 0x73, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x65, 0x64, 0x41, 0x77, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x84, 0x01, 0x0a, 0x24, - 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x41, 0x77, 0x73, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x65, 0x64, 0x41, 0x77, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x22, 0x51, 0x0a, 0x18, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x41, - 0x77, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xe4, 0x01, 0x0a, 0x14, 0x41, 0x77, 0x73, 0x45, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcb, - 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x41, - 0x77, 0x73, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, - 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x41, 0x77, 0x73, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x41, 0x77, 0x73, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0xc2, 0xb8, 0x02, 0x22, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x20, - 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x20, 0x41, 0x77, 0x73, 0x20, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0x73, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescData = file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_goTypes = []interface{}{ - (*GetSupportedAwsResourceTypesRequest)(nil), // 0: com.coralogix.enrichment.v1.GetSupportedAwsResourceTypesRequest - (*GetSupportedAwsResourceTypesResponse)(nil), // 1: com.coralogix.enrichment.v1.GetSupportedAwsResourceTypesResponse - (*SupportedAwsResourceType)(nil), // 2: com.coralogix.enrichment.v1.SupportedAwsResourceType -} -var file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_depIdxs = []int32{ - 2, // 0: com.coralogix.enrichment.v1.GetSupportedAwsResourceTypesResponse.resource_types:type_name -> com.coralogix.enrichment.v1.SupportedAwsResourceType - 0, // 1: com.coralogix.enrichment.v1.AwsEnrichmentService.GetSupportedAwsResourceTypes:input_type -> com.coralogix.enrichment.v1.GetSupportedAwsResourceTypesRequest - 1, // 2: com.coralogix.enrichment.v1.AwsEnrichmentService.GetSupportedAwsResourceTypes:output_type -> com.coralogix.enrichment.v1.GetSupportedAwsResourceTypesResponse - 2, // [2:3] is the sub-list for method output_type - 1, // [1:2] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_init() } -func file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_init() { - if File_com_coralogix_enrichment_v1_aws_enrichment_service_proto != nil { - return - } - file_com_coralogix_enrichment_v1_audit_log_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSupportedAwsResourceTypesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSupportedAwsResourceTypesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SupportedAwsResourceType); 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_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_msgTypes, - }.Build() - File_com_coralogix_enrichment_v1_aws_enrichment_service_proto = out.File - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_goTypes = nil - file_com_coralogix_enrichment_v1_aws_enrichment_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/aws_enrichment_service_grpc.pb.go b/coralogix/clientset/grpc/enrichment/v1/aws_enrichment_service_grpc.pb.go deleted file mode 100644 index 9b4db5f1..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/aws_enrichment_service_grpc.pb.go +++ /dev/null @@ -1,106 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/enrichment/v1/aws_enrichment_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 - -// AwsEnrichmentServiceClient is the client API for AwsEnrichmentService 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 AwsEnrichmentServiceClient interface { - GetSupportedAwsResourceTypes(ctx context.Context, in *GetSupportedAwsResourceTypesRequest, opts ...grpc.CallOption) (*GetSupportedAwsResourceTypesResponse, error) -} - -type awsEnrichmentServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAwsEnrichmentServiceClient(cc grpc.ClientConnInterface) AwsEnrichmentServiceClient { - return &awsEnrichmentServiceClient{cc} -} - -func (c *awsEnrichmentServiceClient) GetSupportedAwsResourceTypes(ctx context.Context, in *GetSupportedAwsResourceTypesRequest, opts ...grpc.CallOption) (*GetSupportedAwsResourceTypesResponse, error) { - out := new(GetSupportedAwsResourceTypesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.AwsEnrichmentService/GetSupportedAwsResourceTypes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AwsEnrichmentServiceServer is the server API for AwsEnrichmentService service. -// All implementations must embed UnimplementedAwsEnrichmentServiceServer -// for forward compatibility -type AwsEnrichmentServiceServer interface { - GetSupportedAwsResourceTypes(context.Context, *GetSupportedAwsResourceTypesRequest) (*GetSupportedAwsResourceTypesResponse, error) - mustEmbedUnimplementedAwsEnrichmentServiceServer() -} - -// UnimplementedAwsEnrichmentServiceServer must be embedded to have forward compatible implementations. -type UnimplementedAwsEnrichmentServiceServer struct { -} - -func (UnimplementedAwsEnrichmentServiceServer) GetSupportedAwsResourceTypes(context.Context, *GetSupportedAwsResourceTypesRequest) (*GetSupportedAwsResourceTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSupportedAwsResourceTypes not implemented") -} -func (UnimplementedAwsEnrichmentServiceServer) mustEmbedUnimplementedAwsEnrichmentServiceServer() {} - -// UnsafeAwsEnrichmentServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AwsEnrichmentServiceServer will -// result in compilation errors. -type UnsafeAwsEnrichmentServiceServer interface { - mustEmbedUnimplementedAwsEnrichmentServiceServer() -} - -func RegisterAwsEnrichmentServiceServer(s grpc.ServiceRegistrar, srv AwsEnrichmentServiceServer) { - s.RegisterService(&AwsEnrichmentService_ServiceDesc, srv) -} - -func _AwsEnrichmentService_GetSupportedAwsResourceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSupportedAwsResourceTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AwsEnrichmentServiceServer).GetSupportedAwsResourceTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.AwsEnrichmentService/GetSupportedAwsResourceTypes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AwsEnrichmentServiceServer).GetSupportedAwsResourceTypes(ctx, req.(*GetSupportedAwsResourceTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// AwsEnrichmentService_ServiceDesc is the grpc.ServiceDesc for AwsEnrichmentService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var AwsEnrichmentService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.enrichment.v1.AwsEnrichmentService", - HandlerType: (*AwsEnrichmentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetSupportedAwsResourceTypes", - Handler: _AwsEnrichmentService_GetSupportedAwsResourceTypes_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/enrichment/v1/aws_enrichment_service.proto", -} diff --git a/coralogix/clientset/grpc/enrichment/v1/custom_enrichment.pb.go b/coralogix/clientset/grpc/enrichment/v1/custom_enrichment.pb.go deleted file mode 100644 index 0b0524d3..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/custom_enrichment.pb.go +++ /dev/null @@ -1,175 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/custom_enrichment.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 CustomEnrichment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` -} - -func (x *CustomEnrichment) Reset() { - *x = CustomEnrichment{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomEnrichment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomEnrichment) ProtoMessage() {} - -func (x *CustomEnrichment) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 CustomEnrichment.ProtoReflect.Descriptor instead. -func (*CustomEnrichment) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescGZIP(), []int{0} -} - -func (x *CustomEnrichment) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *CustomEnrichment) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *CustomEnrichment) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *CustomEnrichment) GetVersion() uint32 { - if x != nil { - return x.Version - } - return 0 -} - -var File_com_coralogix_enrichment_v1_custom_enrichment_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x22, 0x72, 0x0a, 0x10, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescData = file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_custom_enrichment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_enrichment_v1_custom_enrichment_proto_goTypes = []interface{}{ - (*CustomEnrichment)(nil), // 0: com.coralogix.enrichment.v1.CustomEnrichment -} -var file_com_coralogix_enrichment_v1_custom_enrichment_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_coralogix_enrichment_v1_custom_enrichment_proto_init() } -func file_com_coralogix_enrichment_v1_custom_enrichment_proto_init() { - if File_com_coralogix_enrichment_v1_custom_enrichment_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_custom_enrichment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomEnrichment); 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_coralogix_enrichment_v1_custom_enrichment_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_enrichment_v1_custom_enrichment_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_custom_enrichment_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_custom_enrichment_proto_msgTypes, - }.Build() - File_com_coralogix_enrichment_v1_custom_enrichment_proto = out.File - file_com_coralogix_enrichment_v1_custom_enrichment_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_custom_enrichment_proto_goTypes = nil - file_com_coralogix_enrichment_v1_custom_enrichment_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/custom_enrichment_service.pb.go b/coralogix/clientset/grpc/enrichment/v1/custom_enrichment_service.pb.go deleted file mode 100644 index 649fbe66..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/custom_enrichment_service.pb.go +++ /dev/null @@ -1,1052 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/custom_enrichment_service.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -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 File struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Extension *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"` - // Types that are assignable to Content: - // *File_Textual - // *File_Binary - Content isFile_Content `protobuf_oneof:"content"` -} - -func (x *File) Reset() { - *x = File{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *File) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*File) ProtoMessage() {} - -func (x *File) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 File.ProtoReflect.Descriptor instead. -func (*File) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{0} -} - -func (x *File) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *File) GetExtension() *wrapperspb.StringValue { - if x != nil { - return x.Extension - } - return nil -} - -func (m *File) GetContent() isFile_Content { - if m != nil { - return m.Content - } - return nil -} - -func (x *File) GetTextual() *wrapperspb.StringValue { - if x, ok := x.GetContent().(*File_Textual); ok { - return x.Textual - } - return nil -} - -func (x *File) GetBinary() *wrapperspb.BytesValue { - if x, ok := x.GetContent().(*File_Binary); ok { - return x.Binary - } - return nil -} - -type isFile_Content interface { - isFile_Content() -} - -type File_Textual struct { - Textual *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=textual,proto3,oneof"` -} - -type File_Binary struct { - Binary *wrapperspb.BytesValue `protobuf:"bytes,4,opt,name=binary,proto3,oneof"` -} - -func (*File_Textual) isFile_Content() {} - -func (*File_Binary) isFile_Content() {} - -type GetCustomEnrichmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetCustomEnrichmentRequest) Reset() { - *x = GetCustomEnrichmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCustomEnrichmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCustomEnrichmentRequest) ProtoMessage() {} - -func (x *GetCustomEnrichmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 GetCustomEnrichmentRequest.ProtoReflect.Descriptor instead. -func (*GetCustomEnrichmentRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetCustomEnrichmentRequest) GetId() *wrapperspb.UInt32Value { - if x != nil { - return x.Id - } - return nil -} - -type GetCustomEnrichmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CustomEnrichment *CustomEnrichment `protobuf:"bytes,1,opt,name=custom_enrichment,json=customEnrichment,proto3" json:"custom_enrichment,omitempty"` -} - -func (x *GetCustomEnrichmentResponse) Reset() { - *x = GetCustomEnrichmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCustomEnrichmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCustomEnrichmentResponse) ProtoMessage() {} - -func (x *GetCustomEnrichmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 GetCustomEnrichmentResponse.ProtoReflect.Descriptor instead. -func (*GetCustomEnrichmentResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{2} -} - -func (x *GetCustomEnrichmentResponse) GetCustomEnrichment() *CustomEnrichment { - if x != nil { - return x.CustomEnrichment - } - return nil -} - -type GetCustomEnrichmentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetCustomEnrichmentsRequest) Reset() { - *x = GetCustomEnrichmentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCustomEnrichmentsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCustomEnrichmentsRequest) ProtoMessage() {} - -func (x *GetCustomEnrichmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 GetCustomEnrichmentsRequest.ProtoReflect.Descriptor instead. -func (*GetCustomEnrichmentsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{3} -} - -type GetCustomEnrichmentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CustomEnrichments []*CustomEnrichment `protobuf:"bytes,1,rep,name=custom_enrichments,json=customEnrichments,proto3" json:"custom_enrichments,omitempty"` -} - -func (x *GetCustomEnrichmentsResponse) Reset() { - *x = GetCustomEnrichmentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCustomEnrichmentsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCustomEnrichmentsResponse) ProtoMessage() {} - -func (x *GetCustomEnrichmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 GetCustomEnrichmentsResponse.ProtoReflect.Descriptor instead. -func (*GetCustomEnrichmentsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{4} -} - -func (x *GetCustomEnrichmentsResponse) GetCustomEnrichments() []*CustomEnrichment { - if x != nil { - return x.CustomEnrichments - } - return nil -} - -type CreateCustomEnrichmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - File *File `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` -} - -func (x *CreateCustomEnrichmentRequest) Reset() { - *x = CreateCustomEnrichmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateCustomEnrichmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateCustomEnrichmentRequest) ProtoMessage() {} - -func (x *CreateCustomEnrichmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 CreateCustomEnrichmentRequest.ProtoReflect.Descriptor instead. -func (*CreateCustomEnrichmentRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{5} -} - -func (x *CreateCustomEnrichmentRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateCustomEnrichmentRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreateCustomEnrichmentRequest) GetFile() *File { - if x != nil { - return x.File - } - return nil -} - -type CreateCustomEnrichmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - CustomEnrichment *CustomEnrichment `protobuf:"bytes,2,opt,name=custom_enrichment,json=customEnrichment,proto3" json:"custom_enrichment,omitempty"` -} - -func (x *CreateCustomEnrichmentResponse) Reset() { - *x = CreateCustomEnrichmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateCustomEnrichmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateCustomEnrichmentResponse) ProtoMessage() {} - -func (x *CreateCustomEnrichmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 CreateCustomEnrichmentResponse.ProtoReflect.Descriptor instead. -func (*CreateCustomEnrichmentResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{6} -} - -func (x *CreateCustomEnrichmentResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *CreateCustomEnrichmentResponse) GetCustomEnrichment() *CustomEnrichment { - if x != nil { - return x.CustomEnrichment - } - return nil -} - -type UpdateCustomEnrichmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CustomEnrichmentId *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=custom_enrichment_id,json=customEnrichmentId,proto3" json:"custom_enrichment_id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - File *File `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` -} - -func (x *UpdateCustomEnrichmentRequest) Reset() { - *x = UpdateCustomEnrichmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateCustomEnrichmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateCustomEnrichmentRequest) ProtoMessage() {} - -func (x *UpdateCustomEnrichmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 UpdateCustomEnrichmentRequest.ProtoReflect.Descriptor instead. -func (*UpdateCustomEnrichmentRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{7} -} - -func (x *UpdateCustomEnrichmentRequest) GetCustomEnrichmentId() *wrapperspb.UInt32Value { - if x != nil { - return x.CustomEnrichmentId - } - return nil -} - -func (x *UpdateCustomEnrichmentRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *UpdateCustomEnrichmentRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *UpdateCustomEnrichmentRequest) GetFile() *File { - if x != nil { - return x.File - } - return nil -} - -type UpdateCustomEnrichmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - CustomEnrichment *CustomEnrichment `protobuf:"bytes,2,opt,name=custom_enrichment,json=customEnrichment,proto3" json:"custom_enrichment,omitempty"` -} - -func (x *UpdateCustomEnrichmentResponse) Reset() { - *x = UpdateCustomEnrichmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateCustomEnrichmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateCustomEnrichmentResponse) ProtoMessage() {} - -func (x *UpdateCustomEnrichmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 UpdateCustomEnrichmentResponse.ProtoReflect.Descriptor instead. -func (*UpdateCustomEnrichmentResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{8} -} - -func (x *UpdateCustomEnrichmentResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *UpdateCustomEnrichmentResponse) GetCustomEnrichment() *CustomEnrichment { - if x != nil { - return x.CustomEnrichment - } - return nil -} - -type DeleteCustomEnrichmentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CustomEnrichmentId *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=custom_enrichment_id,json=customEnrichmentId,proto3" json:"custom_enrichment_id,omitempty"` -} - -func (x *DeleteCustomEnrichmentRequest) Reset() { - *x = DeleteCustomEnrichmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteCustomEnrichmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteCustomEnrichmentRequest) ProtoMessage() {} - -func (x *DeleteCustomEnrichmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 DeleteCustomEnrichmentRequest.ProtoReflect.Descriptor instead. -func (*DeleteCustomEnrichmentRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{9} -} - -func (x *DeleteCustomEnrichmentRequest) GetCustomEnrichmentId() *wrapperspb.UInt32Value { - if x != nil { - return x.CustomEnrichmentId - } - return nil -} - -type DeleteCustomEnrichmentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - CustomEnrichmentId uint32 `protobuf:"varint,2,opt,name=custom_enrichment_id,json=customEnrichmentId,proto3" json:"custom_enrichment_id,omitempty"` -} - -func (x *DeleteCustomEnrichmentResponse) Reset() { - *x = DeleteCustomEnrichmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteCustomEnrichmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteCustomEnrichmentResponse) ProtoMessage() {} - -func (x *DeleteCustomEnrichmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_custom_enrichment_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 DeleteCustomEnrichmentResponse.ProtoReflect.Descriptor instead. -func (*DeleteCustomEnrichmentResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP(), []int{10} -} - -func (x *DeleteCustomEnrichmentResponse) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *DeleteCustomEnrichmentResponse) GetCustomEnrichmentId() uint32 { - if x != nil { - return x.CustomEnrichmentId - } - return 0 -} - -var File_com_coralogix_enrichment_v1_custom_enrichment_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDesc = []byte{ - 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 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, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x65, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x01, 0x0a, - 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 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, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 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, 0x48, 0x00, 0x52, 0x07, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x12, 0x35, 0x0a, - 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 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, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x06, 0x62, 0x69, - 0x6e, 0x61, 0x72, 0x79, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, - 0x4a, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x55, 0x49, 0x6e, 0x74, - 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x22, 0x79, 0x0a, 0x1b, 0x47, - 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x11, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7c, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x96, - 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5a, 0x0a, 0x11, 0x63, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, - 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x98, 0x02, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x14, 0x63, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x49, 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, 0x35, 0x0a, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x5a, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, - 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x6f, 0x0a, 0x1d, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, - 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x14, - 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 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, 0x55, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x6c, 0x0a, 0x1e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x32, 0x93, 0x07, 0x0a, 0x17, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x37, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x21, 0xc2, 0xb8, 0x02, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x20, 0x63, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x62, - 0x79, 0x20, 0x69, 0x64, 0x12, 0xad, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x20, 0xc2, 0xb8, 0x02, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x20, 0x61, 0x6c, - 0x6c, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x12, 0xb1, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0xc2, 0xb8, 0x02, 0x1a, 0x0a, 0x18, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xb1, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0xc2, 0xb8, - 0x02, 0x1a, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xb1, 0x01, 0x0a, - 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x1e, 0xc2, 0xb8, 0x02, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x63, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescData = file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_goTypes = []interface{}{ - (*File)(nil), // 0: com.coralogix.enrichment.v1.File - (*GetCustomEnrichmentRequest)(nil), // 1: com.coralogix.enrichment.v1.GetCustomEnrichmentRequest - (*GetCustomEnrichmentResponse)(nil), // 2: com.coralogix.enrichment.v1.GetCustomEnrichmentResponse - (*GetCustomEnrichmentsRequest)(nil), // 3: com.coralogix.enrichment.v1.GetCustomEnrichmentsRequest - (*GetCustomEnrichmentsResponse)(nil), // 4: com.coralogix.enrichment.v1.GetCustomEnrichmentsResponse - (*CreateCustomEnrichmentRequest)(nil), // 5: com.coralogix.enrichment.v1.CreateCustomEnrichmentRequest - (*CreateCustomEnrichmentResponse)(nil), // 6: com.coralogix.enrichment.v1.CreateCustomEnrichmentResponse - (*UpdateCustomEnrichmentRequest)(nil), // 7: com.coralogix.enrichment.v1.UpdateCustomEnrichmentRequest - (*UpdateCustomEnrichmentResponse)(nil), // 8: com.coralogix.enrichment.v1.UpdateCustomEnrichmentResponse - (*DeleteCustomEnrichmentRequest)(nil), // 9: com.coralogix.enrichment.v1.DeleteCustomEnrichmentRequest - (*DeleteCustomEnrichmentResponse)(nil), // 10: com.coralogix.enrichment.v1.DeleteCustomEnrichmentResponse - (*wrapperspb.StringValue)(nil), // 11: google.protobuf.StringValue - (*wrapperspb.BytesValue)(nil), // 12: google.protobuf.BytesValue - (*wrapperspb.UInt32Value)(nil), // 13: google.protobuf.UInt32Value - (*CustomEnrichment)(nil), // 14: com.coralogix.enrichment.v1.CustomEnrichment -} -var file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_depIdxs = []int32{ - 11, // 0: com.coralogix.enrichment.v1.File.name:type_name -> google.protobuf.StringValue - 11, // 1: com.coralogix.enrichment.v1.File.extension:type_name -> google.protobuf.StringValue - 11, // 2: com.coralogix.enrichment.v1.File.textual:type_name -> google.protobuf.StringValue - 12, // 3: com.coralogix.enrichment.v1.File.binary:type_name -> google.protobuf.BytesValue - 13, // 4: com.coralogix.enrichment.v1.GetCustomEnrichmentRequest.id:type_name -> google.protobuf.UInt32Value - 14, // 5: com.coralogix.enrichment.v1.GetCustomEnrichmentResponse.custom_enrichment:type_name -> com.coralogix.enrichment.v1.CustomEnrichment - 14, // 6: com.coralogix.enrichment.v1.GetCustomEnrichmentsResponse.custom_enrichments:type_name -> com.coralogix.enrichment.v1.CustomEnrichment - 11, // 7: com.coralogix.enrichment.v1.CreateCustomEnrichmentRequest.name:type_name -> google.protobuf.StringValue - 11, // 8: com.coralogix.enrichment.v1.CreateCustomEnrichmentRequest.description:type_name -> google.protobuf.StringValue - 0, // 9: com.coralogix.enrichment.v1.CreateCustomEnrichmentRequest.file:type_name -> com.coralogix.enrichment.v1.File - 14, // 10: com.coralogix.enrichment.v1.CreateCustomEnrichmentResponse.custom_enrichment:type_name -> com.coralogix.enrichment.v1.CustomEnrichment - 13, // 11: com.coralogix.enrichment.v1.UpdateCustomEnrichmentRequest.custom_enrichment_id:type_name -> google.protobuf.UInt32Value - 11, // 12: com.coralogix.enrichment.v1.UpdateCustomEnrichmentRequest.name:type_name -> google.protobuf.StringValue - 11, // 13: com.coralogix.enrichment.v1.UpdateCustomEnrichmentRequest.description:type_name -> google.protobuf.StringValue - 0, // 14: com.coralogix.enrichment.v1.UpdateCustomEnrichmentRequest.file:type_name -> com.coralogix.enrichment.v1.File - 14, // 15: com.coralogix.enrichment.v1.UpdateCustomEnrichmentResponse.custom_enrichment:type_name -> com.coralogix.enrichment.v1.CustomEnrichment - 13, // 16: com.coralogix.enrichment.v1.DeleteCustomEnrichmentRequest.custom_enrichment_id:type_name -> google.protobuf.UInt32Value - 1, // 17: com.coralogix.enrichment.v1.CustomEnrichmentService.GetCustomEnrichment:input_type -> com.coralogix.enrichment.v1.GetCustomEnrichmentRequest - 3, // 18: com.coralogix.enrichment.v1.CustomEnrichmentService.GetCustomEnrichments:input_type -> com.coralogix.enrichment.v1.GetCustomEnrichmentsRequest - 5, // 19: com.coralogix.enrichment.v1.CustomEnrichmentService.CreateCustomEnrichment:input_type -> com.coralogix.enrichment.v1.CreateCustomEnrichmentRequest - 7, // 20: com.coralogix.enrichment.v1.CustomEnrichmentService.UpdateCustomEnrichment:input_type -> com.coralogix.enrichment.v1.UpdateCustomEnrichmentRequest - 9, // 21: com.coralogix.enrichment.v1.CustomEnrichmentService.DeleteCustomEnrichment:input_type -> com.coralogix.enrichment.v1.DeleteCustomEnrichmentRequest - 2, // 22: com.coralogix.enrichment.v1.CustomEnrichmentService.GetCustomEnrichment:output_type -> com.coralogix.enrichment.v1.GetCustomEnrichmentResponse - 4, // 23: com.coralogix.enrichment.v1.CustomEnrichmentService.GetCustomEnrichments:output_type -> com.coralogix.enrichment.v1.GetCustomEnrichmentsResponse - 6, // 24: com.coralogix.enrichment.v1.CustomEnrichmentService.CreateCustomEnrichment:output_type -> com.coralogix.enrichment.v1.CreateCustomEnrichmentResponse - 8, // 25: com.coralogix.enrichment.v1.CustomEnrichmentService.UpdateCustomEnrichment:output_type -> com.coralogix.enrichment.v1.UpdateCustomEnrichmentResponse - 10, // 26: com.coralogix.enrichment.v1.CustomEnrichmentService.DeleteCustomEnrichment:output_type -> com.coralogix.enrichment.v1.DeleteCustomEnrichmentResponse - 22, // [22:27] is the sub-list for method output_type - 17, // [17:22] 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_coralogix_enrichment_v1_custom_enrichment_service_proto_init() } -func file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_init() { - if File_com_coralogix_enrichment_v1_custom_enrichment_service_proto != nil { - return - } - file_com_coralogix_enrichment_v1_custom_enrichment_proto_init() - file_com_coralogix_enrichment_v1_audit_log_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*File); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCustomEnrichmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCustomEnrichmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCustomEnrichmentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCustomEnrichmentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateCustomEnrichmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateCustomEnrichmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateCustomEnrichmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateCustomEnrichmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCustomEnrichmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCustomEnrichmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*File_Textual)(nil), - (*File_Binary)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_msgTypes, - }.Build() - File_com_coralogix_enrichment_v1_custom_enrichment_service_proto = out.File - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_goTypes = nil - file_com_coralogix_enrichment_v1_custom_enrichment_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/custom_enrichment_service_grpc.pb.go b/coralogix/clientset/grpc/enrichment/v1/custom_enrichment_service_grpc.pb.go deleted file mode 100644 index b4d7ce91..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/custom_enrichment_service_grpc.pb.go +++ /dev/null @@ -1,251 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/enrichment/v1/custom_enrichment_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 - -// CustomEnrichmentServiceClient is the client API for CustomEnrichmentService 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 CustomEnrichmentServiceClient interface { - GetCustomEnrichment(ctx context.Context, in *GetCustomEnrichmentRequest, opts ...grpc.CallOption) (*GetCustomEnrichmentResponse, error) - GetCustomEnrichments(ctx context.Context, in *GetCustomEnrichmentsRequest, opts ...grpc.CallOption) (*GetCustomEnrichmentsResponse, error) - CreateCustomEnrichment(ctx context.Context, in *CreateCustomEnrichmentRequest, opts ...grpc.CallOption) (*CreateCustomEnrichmentResponse, error) - UpdateCustomEnrichment(ctx context.Context, in *UpdateCustomEnrichmentRequest, opts ...grpc.CallOption) (*UpdateCustomEnrichmentResponse, error) - DeleteCustomEnrichment(ctx context.Context, in *DeleteCustomEnrichmentRequest, opts ...grpc.CallOption) (*DeleteCustomEnrichmentResponse, error) -} - -type customEnrichmentServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewCustomEnrichmentServiceClient(cc grpc.ClientConnInterface) CustomEnrichmentServiceClient { - return &customEnrichmentServiceClient{cc} -} - -func (c *customEnrichmentServiceClient) GetCustomEnrichment(ctx context.Context, in *GetCustomEnrichmentRequest, opts ...grpc.CallOption) (*GetCustomEnrichmentResponse, error) { - out := new(GetCustomEnrichmentResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.CustomEnrichmentService/GetCustomEnrichment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customEnrichmentServiceClient) GetCustomEnrichments(ctx context.Context, in *GetCustomEnrichmentsRequest, opts ...grpc.CallOption) (*GetCustomEnrichmentsResponse, error) { - out := new(GetCustomEnrichmentsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.CustomEnrichmentService/GetCustomEnrichments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customEnrichmentServiceClient) CreateCustomEnrichment(ctx context.Context, in *CreateCustomEnrichmentRequest, opts ...grpc.CallOption) (*CreateCustomEnrichmentResponse, error) { - out := new(CreateCustomEnrichmentResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.CustomEnrichmentService/CreateCustomEnrichment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customEnrichmentServiceClient) UpdateCustomEnrichment(ctx context.Context, in *UpdateCustomEnrichmentRequest, opts ...grpc.CallOption) (*UpdateCustomEnrichmentResponse, error) { - out := new(UpdateCustomEnrichmentResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.CustomEnrichmentService/UpdateCustomEnrichment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *customEnrichmentServiceClient) DeleteCustomEnrichment(ctx context.Context, in *DeleteCustomEnrichmentRequest, opts ...grpc.CallOption) (*DeleteCustomEnrichmentResponse, error) { - out := new(DeleteCustomEnrichmentResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.CustomEnrichmentService/DeleteCustomEnrichment", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CustomEnrichmentServiceServer is the server API for CustomEnrichmentService service. -// All implementations must embed UnimplementedCustomEnrichmentServiceServer -// for forward compatibility -type CustomEnrichmentServiceServer interface { - GetCustomEnrichment(context.Context, *GetCustomEnrichmentRequest) (*GetCustomEnrichmentResponse, error) - GetCustomEnrichments(context.Context, *GetCustomEnrichmentsRequest) (*GetCustomEnrichmentsResponse, error) - CreateCustomEnrichment(context.Context, *CreateCustomEnrichmentRequest) (*CreateCustomEnrichmentResponse, error) - UpdateCustomEnrichment(context.Context, *UpdateCustomEnrichmentRequest) (*UpdateCustomEnrichmentResponse, error) - DeleteCustomEnrichment(context.Context, *DeleteCustomEnrichmentRequest) (*DeleteCustomEnrichmentResponse, error) - mustEmbedUnimplementedCustomEnrichmentServiceServer() -} - -// UnimplementedCustomEnrichmentServiceServer must be embedded to have forward compatible implementations. -type UnimplementedCustomEnrichmentServiceServer struct { -} - -func (UnimplementedCustomEnrichmentServiceServer) GetCustomEnrichment(context.Context, *GetCustomEnrichmentRequest) (*GetCustomEnrichmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomEnrichment not implemented") -} -func (UnimplementedCustomEnrichmentServiceServer) GetCustomEnrichments(context.Context, *GetCustomEnrichmentsRequest) (*GetCustomEnrichmentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomEnrichments not implemented") -} -func (UnimplementedCustomEnrichmentServiceServer) CreateCustomEnrichment(context.Context, *CreateCustomEnrichmentRequest) (*CreateCustomEnrichmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCustomEnrichment not implemented") -} -func (UnimplementedCustomEnrichmentServiceServer) UpdateCustomEnrichment(context.Context, *UpdateCustomEnrichmentRequest) (*UpdateCustomEnrichmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateCustomEnrichment not implemented") -} -func (UnimplementedCustomEnrichmentServiceServer) DeleteCustomEnrichment(context.Context, *DeleteCustomEnrichmentRequest) (*DeleteCustomEnrichmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomEnrichment not implemented") -} -func (UnimplementedCustomEnrichmentServiceServer) mustEmbedUnimplementedCustomEnrichmentServiceServer() { -} - -// UnsafeCustomEnrichmentServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to CustomEnrichmentServiceServer will -// result in compilation errors. -type UnsafeCustomEnrichmentServiceServer interface { - mustEmbedUnimplementedCustomEnrichmentServiceServer() -} - -func RegisterCustomEnrichmentServiceServer(s grpc.ServiceRegistrar, srv CustomEnrichmentServiceServer) { - s.RegisterService(&CustomEnrichmentService_ServiceDesc, srv) -} - -func _CustomEnrichmentService_GetCustomEnrichment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomEnrichmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomEnrichmentServiceServer).GetCustomEnrichment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.CustomEnrichmentService/GetCustomEnrichment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomEnrichmentServiceServer).GetCustomEnrichment(ctx, req.(*GetCustomEnrichmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomEnrichmentService_GetCustomEnrichments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomEnrichmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomEnrichmentServiceServer).GetCustomEnrichments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.CustomEnrichmentService/GetCustomEnrichments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomEnrichmentServiceServer).GetCustomEnrichments(ctx, req.(*GetCustomEnrichmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomEnrichmentService_CreateCustomEnrichment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateCustomEnrichmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomEnrichmentServiceServer).CreateCustomEnrichment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.CustomEnrichmentService/CreateCustomEnrichment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomEnrichmentServiceServer).CreateCustomEnrichment(ctx, req.(*CreateCustomEnrichmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomEnrichmentService_UpdateCustomEnrichment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateCustomEnrichmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomEnrichmentServiceServer).UpdateCustomEnrichment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.CustomEnrichmentService/UpdateCustomEnrichment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomEnrichmentServiceServer).UpdateCustomEnrichment(ctx, req.(*UpdateCustomEnrichmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CustomEnrichmentService_DeleteCustomEnrichment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteCustomEnrichmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CustomEnrichmentServiceServer).DeleteCustomEnrichment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.CustomEnrichmentService/DeleteCustomEnrichment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CustomEnrichmentServiceServer).DeleteCustomEnrichment(ctx, req.(*DeleteCustomEnrichmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// CustomEnrichmentService_ServiceDesc is the grpc.ServiceDesc for CustomEnrichmentService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var CustomEnrichmentService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.enrichment.v1.CustomEnrichmentService", - HandlerType: (*CustomEnrichmentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetCustomEnrichment", - Handler: _CustomEnrichmentService_GetCustomEnrichment_Handler, - }, - { - MethodName: "GetCustomEnrichments", - Handler: _CustomEnrichmentService_GetCustomEnrichments_Handler, - }, - { - MethodName: "CreateCustomEnrichment", - Handler: _CustomEnrichmentService_CreateCustomEnrichment_Handler, - }, - { - MethodName: "UpdateCustomEnrichment", - Handler: _CustomEnrichmentService_UpdateCustomEnrichment_Handler, - }, - { - MethodName: "DeleteCustomEnrichment", - Handler: _CustomEnrichmentService_DeleteCustomEnrichment_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/enrichment/v1/custom_enrichment_service.proto", -} diff --git a/coralogix/clientset/grpc/enrichment/v1/enrichment.pb.go b/coralogix/clientset/grpc/enrichment/v1/enrichment.pb.go deleted file mode 100644 index fa06c10a..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/enrichment.pb.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/enrichment.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 Enrichment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - EnrichmentType *EnrichmentType `protobuf:"bytes,3,opt,name=enrichment_type,json=enrichmentType,proto3" json:"enrichment_type,omitempty"` -} - -func (x *Enrichment) Reset() { - *x = Enrichment{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Enrichment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Enrichment) ProtoMessage() {} - -func (x *Enrichment) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 Enrichments.ProtoReflect.Descriptor instead. -func (*Enrichment) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_proto_rawDescGZIP(), []int{0} -} - -func (x *Enrichment) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *Enrichment) GetFieldName() string { - if x != nil { - return x.FieldName - } - return "" -} - -func (x *Enrichment) GetEnrichmentType() *EnrichmentType { - if x != nil { - return x.EnrichmentType - } - return nil -} - -var File_com_coralogix_enrichment_v1_enrichment_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_enrichment_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x31, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, - 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, - 0x01, 0x0a, 0x0a, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_enrichment_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_enrichment_proto_rawDescData = file_com_coralogix_enrichment_v1_enrichment_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_enrichment_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_enrichment_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_enrichment_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_enrichment_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_enrichment_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_enrichment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_enrichment_v1_enrichment_proto_goTypes = []interface{}{ - (*Enrichment)(nil), // 0: com.coralogix.enrichment.v1.Enrichments - (*EnrichmentType)(nil), // 1: com.coralogix.enrichment.v1.EnrichmentType -} -var file_com_coralogix_enrichment_v1_enrichment_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.enrichment.v1.Enrichments.enrichment_type:type_name -> com.coralogix.enrichment.v1.EnrichmentType - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_enrichment_v1_enrichment_proto_init() } -func file_com_coralogix_enrichment_v1_enrichment_proto_init() { - if File_com_coralogix_enrichment_v1_enrichment_proto != nil { - return - } - file_com_coralogix_enrichment_v1_enrichment_type_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_enrichment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Enrichment); 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_coralogix_enrichment_v1_enrichment_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_enrichment_v1_enrichment_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_enrichment_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_enrichment_proto_msgTypes, - }.Build() - File_com_coralogix_enrichment_v1_enrichment_proto = out.File - file_com_coralogix_enrichment_v1_enrichment_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_enrichment_proto_goTypes = nil - file_com_coralogix_enrichment_v1_enrichment_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/enrichment_request_model.pb.go b/coralogix/clientset/grpc/enrichment/v1/enrichment_request_model.pb.go deleted file mode 100644 index 368b2384..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/enrichment_request_model.pb.go +++ /dev/null @@ -1,174 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/enrichment_request_model.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -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 EnrichmentRequestModel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FieldName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - EnrichmentType *EnrichmentType `protobuf:"bytes,2,opt,name=enrichment_type,json=enrichmentType,proto3" json:"enrichment_type,omitempty"` -} - -func (x *EnrichmentRequestModel) Reset() { - *x = EnrichmentRequestModel{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_request_model_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EnrichmentRequestModel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnrichmentRequestModel) ProtoMessage() {} - -func (x *EnrichmentRequestModel) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_request_model_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 EnrichmentRequestModel.ProtoReflect.Descriptor instead. -func (*EnrichmentRequestModel) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescGZIP(), []int{0} -} - -func (x *EnrichmentRequestModel) GetFieldName() *wrapperspb.StringValue { - if x != nil { - return x.FieldName - } - return nil -} - -func (x *EnrichmentRequestModel) GetEnrichmentType() *EnrichmentType { - if x != nil { - return x.EnrichmentType - } - return nil -} - -var File_com_coralogix_enrichment_v1_enrichment_request_model_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDesc = []byte{ - 0x0a, 0x3a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 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, 0x1a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x01, 0x0a, - 0x16, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x3b, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, - 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, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x65, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescData = file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_enrichment_request_model_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_enrichment_v1_enrichment_request_model_proto_goTypes = []interface{}{ - (*EnrichmentRequestModel)(nil), // 0: com.coralogix.enrichment.v1.EnrichmentRequestModel - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*EnrichmentType)(nil), // 2: com.coralogix.enrichment.v1.EnrichmentType -} -var file_com_coralogix_enrichment_v1_enrichment_request_model_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.enrichment.v1.EnrichmentRequestModel.field_name:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.enrichment.v1.EnrichmentRequestModel.enrichment_type:type_name -> com.coralogix.enrichment.v1.EnrichmentType - 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_coralogix_enrichment_v1_enrichment_request_model_proto_init() } -func file_com_coralogix_enrichment_v1_enrichment_request_model_proto_init() { - if File_com_coralogix_enrichment_v1_enrichment_request_model_proto != nil { - return - } - file_com_coralogix_enrichment_v1_enrichment_type_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnrichmentRequestModel); 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_coralogix_enrichment_v1_enrichment_request_model_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_enrichment_v1_enrichment_request_model_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_enrichment_request_model_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_enrichment_request_model_proto_msgTypes, - }.Build() - File_com_coralogix_enrichment_v1_enrichment_request_model_proto = out.File - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_goTypes = nil - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/enrichment_service.pb.go b/coralogix/clientset/grpc/enrichment/v1/enrichment_service.pb.go deleted file mode 100644 index cf321ebc..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/enrichment_service.pb.go +++ /dev/null @@ -1,658 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/enrichment_service.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -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 GetEnrichmentLimitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetEnrichmentLimitRequest) Reset() { - *x = GetEnrichmentLimitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetEnrichmentLimitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetEnrichmentLimitRequest) ProtoMessage() {} - -func (x *GetEnrichmentLimitRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 GetEnrichmentLimitRequest.ProtoReflect.Descriptor instead. -func (*GetEnrichmentLimitRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{0} -} - -type GetEnrichmentLimitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *GetEnrichmentLimitResponse) Reset() { - *x = GetEnrichmentLimitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetEnrichmentLimitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetEnrichmentLimitResponse) ProtoMessage() {} - -func (x *GetEnrichmentLimitResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 GetEnrichmentLimitResponse.ProtoReflect.Descriptor instead. -func (*GetEnrichmentLimitResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetEnrichmentLimitResponse) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -type GetEnrichmentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetEnrichmentsRequest) Reset() { - *x = GetEnrichmentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetEnrichmentsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetEnrichmentsRequest) ProtoMessage() {} - -func (x *GetEnrichmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 GetEnrichmentsRequest.ProtoReflect.Descriptor instead. -func (*GetEnrichmentsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{2} -} - -type GetEnrichmentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enrichments []*Enrichment `protobuf:"bytes,1,rep,name=enrichments,proto3" json:"enrichments,omitempty"` -} - -func (x *GetEnrichmentsResponse) Reset() { - *x = GetEnrichmentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetEnrichmentsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetEnrichmentsResponse) ProtoMessage() {} - -func (x *GetEnrichmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 GetEnrichmentsResponse.ProtoReflect.Descriptor instead. -func (*GetEnrichmentsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{3} -} - -func (x *GetEnrichmentsResponse) GetEnrichments() []*Enrichment { - if x != nil { - return x.Enrichments - } - return nil -} - -type AddEnrichmentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RequestEnrichments []*EnrichmentRequestModel `protobuf:"bytes,1,rep,name=request_enrichments,json=requestEnrichments,proto3" json:"request_enrichments,omitempty"` -} - -func (x *AddEnrichmentsRequest) Reset() { - *x = AddEnrichmentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddEnrichmentsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddEnrichmentsRequest) ProtoMessage() {} - -func (x *AddEnrichmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 AddEnrichmentsRequest.ProtoReflect.Descriptor instead. -func (*AddEnrichmentsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{4} -} - -func (x *AddEnrichmentsRequest) GetRequestEnrichments() []*EnrichmentRequestModel { - if x != nil { - return x.RequestEnrichments - } - return nil -} - -type AddEnrichmentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enrichments []*Enrichment `protobuf:"bytes,1,rep,name=enrichments,proto3" json:"enrichments,omitempty"` -} - -func (x *AddEnrichmentsResponse) Reset() { - *x = AddEnrichmentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddEnrichmentsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddEnrichmentsResponse) ProtoMessage() {} - -func (x *AddEnrichmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 AddEnrichmentsResponse.ProtoReflect.Descriptor instead. -func (*AddEnrichmentsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{5} -} - -func (x *AddEnrichmentsResponse) GetEnrichments() []*Enrichment { - if x != nil { - return x.Enrichments - } - return nil -} - -type RemoveEnrichmentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnrichmentIds []*wrapperspb.UInt32Value `protobuf:"bytes,1,rep,name=enrichment_ids,json=enrichmentIds,proto3" json:"enrichment_ids,omitempty"` -} - -func (x *RemoveEnrichmentsRequest) Reset() { - *x = RemoveEnrichmentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveEnrichmentsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveEnrichmentsRequest) ProtoMessage() {} - -func (x *RemoveEnrichmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 RemoveEnrichmentsRequest.ProtoReflect.Descriptor instead. -func (*RemoveEnrichmentsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{6} -} - -func (x *RemoveEnrichmentsRequest) GetEnrichmentIds() []*wrapperspb.UInt32Value { - if x != nil { - return x.EnrichmentIds - } - return nil -} - -type RemoveEnrichmentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RemainingEnrichments []*Enrichment `protobuf:"bytes,1,rep,name=remaining_enrichments,json=remainingEnrichments,proto3" json:"remaining_enrichments,omitempty"` -} - -func (x *RemoveEnrichmentsResponse) Reset() { - *x = RemoveEnrichmentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveEnrichmentsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveEnrichmentsResponse) ProtoMessage() {} - -func (x *RemoveEnrichmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_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 RemoveEnrichmentsResponse.ProtoReflect.Descriptor instead. -func (*RemoveEnrichmentsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP(), []int{7} -} - -func (x *RemoveEnrichmentsResponse) GetRemainingEnrichments() []*Enrichment { - if x != nil { - return x.RemainingEnrichments - } - return nil -} - -var File_com_coralogix_enrichment_v1_enrichment_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDesc = []byte{ - 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 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, 0x1a, 0x2c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, - 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x3a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x65, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, - 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x32, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x45, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x63, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, - 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, - 0x0a, 0x0b, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x7d, 0x0a, 0x15, 0x41, 0x64, 0x64, - 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x64, 0x0a, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, - 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x12, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x63, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x45, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x0b, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x5f, 0x0a, - 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0e, 0x65, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x0d, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0x79, - 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x72, - 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, - 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x14, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x32, 0xfd, 0x04, 0x0a, 0x11, 0x45, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x90, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0xc2, 0xb8, 0x02, - 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x12, 0x90, 0x01, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x45, 0x6e, 0x72, 0x69, 0x63, - 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, - 0xc2, 0xb8, 0x02, 0x11, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x9c, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x35, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0xc2, 0xb8, 0x02, 0x14, - 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x12, 0xa2, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x36, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x72, - 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0xc2, 0xb8, - 0x02, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x20, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x20, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescData = file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_com_coralogix_enrichment_v1_enrichment_service_proto_goTypes = []interface{}{ - (*GetEnrichmentLimitRequest)(nil), // 0: com.coralogix.enrichment.v1.GetEnrichmentLimitRequest - (*GetEnrichmentLimitResponse)(nil), // 1: com.coralogix.enrichment.v1.GetEnrichmentLimitResponse - (*GetEnrichmentsRequest)(nil), // 2: com.coralogix.enrichment.v1.GetEnrichmentsRequest - (*GetEnrichmentsResponse)(nil), // 3: com.coralogix.enrichment.v1.GetEnrichmentsResponse - (*AddEnrichmentsRequest)(nil), // 4: com.coralogix.enrichment.v1.AddEnrichmentsRequest - (*AddEnrichmentsResponse)(nil), // 5: com.coralogix.enrichment.v1.AddEnrichmentsResponse - (*RemoveEnrichmentsRequest)(nil), // 6: com.coralogix.enrichment.v1.RemoveEnrichmentsRequest - (*RemoveEnrichmentsResponse)(nil), // 7: com.coralogix.enrichment.v1.RemoveEnrichmentsResponse - (*Enrichment)(nil), // 8: com.coralogix.enrichment.v1.Enrichments - (*EnrichmentRequestModel)(nil), // 9: com.coralogix.enrichment.v1.EnrichmentRequestModel - (*wrapperspb.UInt32Value)(nil), // 10: google.protobuf.UInt32Value -} -var file_com_coralogix_enrichment_v1_enrichment_service_proto_depIdxs = []int32{ - 8, // 0: com.coralogix.enrichment.v1.GetEnrichmentsResponse.enrichments:type_name -> com.coralogix.enrichment.v1.Enrichments - 9, // 1: com.coralogix.enrichment.v1.AddEnrichmentsRequest.request_enrichments:type_name -> com.coralogix.enrichment.v1.EnrichmentRequestModel - 8, // 2: com.coralogix.enrichment.v1.AddEnrichmentsResponse.enrichments:type_name -> com.coralogix.enrichment.v1.Enrichments - 10, // 3: com.coralogix.enrichment.v1.RemoveEnrichmentsRequest.enrichment_ids:type_name -> google.protobuf.UInt32Value - 8, // 4: com.coralogix.enrichment.v1.RemoveEnrichmentsResponse.remaining_enrichments:type_name -> com.coralogix.enrichment.v1.Enrichments - 2, // 5: com.coralogix.enrichment.v1.EnrichmentService.GetEnrichments:input_type -> com.coralogix.enrichment.v1.GetEnrichmentsRequest - 4, // 6: com.coralogix.enrichment.v1.EnrichmentService.AddEnrichments:input_type -> com.coralogix.enrichment.v1.AddEnrichmentsRequest - 6, // 7: com.coralogix.enrichment.v1.EnrichmentService.RemoveEnrichments:input_type -> com.coralogix.enrichment.v1.RemoveEnrichmentsRequest - 0, // 8: com.coralogix.enrichment.v1.EnrichmentService.GetEnrichmentLimit:input_type -> com.coralogix.enrichment.v1.GetEnrichmentLimitRequest - 3, // 9: com.coralogix.enrichment.v1.EnrichmentService.GetEnrichments:output_type -> com.coralogix.enrichment.v1.GetEnrichmentsResponse - 5, // 10: com.coralogix.enrichment.v1.EnrichmentService.AddEnrichments:output_type -> com.coralogix.enrichment.v1.AddEnrichmentsResponse - 7, // 11: com.coralogix.enrichment.v1.EnrichmentService.RemoveEnrichments:output_type -> com.coralogix.enrichment.v1.RemoveEnrichmentsResponse - 1, // 12: com.coralogix.enrichment.v1.EnrichmentService.GetEnrichmentLimit:output_type -> com.coralogix.enrichment.v1.GetEnrichmentLimitResponse - 9, // [9:13] is the sub-list for method output_type - 5, // [5:9] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_com_coralogix_enrichment_v1_enrichment_service_proto_init() } -func file_com_coralogix_enrichment_v1_enrichment_service_proto_init() { - if File_com_coralogix_enrichment_v1_enrichment_service_proto != nil { - return - } - file_com_coralogix_enrichment_v1_enrichment_proto_init() - file_com_coralogix_enrichment_v1_enrichment_request_model_proto_init() - file_com_coralogix_enrichment_v1_audit_log_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEnrichmentLimitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEnrichmentLimitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEnrichmentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEnrichmentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddEnrichmentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddEnrichmentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveEnrichmentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveEnrichmentsResponse); 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_coralogix_enrichment_v1_enrichment_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_enrichment_v1_enrichment_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_enrichment_service_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_enrichment_service_proto_msgTypes, - }.Build() - File_com_coralogix_enrichment_v1_enrichment_service_proto = out.File - file_com_coralogix_enrichment_v1_enrichment_service_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_enrichment_service_proto_goTypes = nil - file_com_coralogix_enrichment_v1_enrichment_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/enrichment/v1/enrichment_service_grpc.pb.go b/coralogix/clientset/grpc/enrichment/v1/enrichment_service_grpc.pb.go deleted file mode 100644 index dcb45ca1..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/enrichment_service_grpc.pb.go +++ /dev/null @@ -1,214 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/enrichment/v1/enrichment_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 - -// EnrichmentServiceClient is the client API for EnrichmentService 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 EnrichmentServiceClient interface { - GetEnrichments(ctx context.Context, in *GetEnrichmentsRequest, opts ...grpc.CallOption) (*GetEnrichmentsResponse, error) - AddEnrichments(ctx context.Context, in *AddEnrichmentsRequest, opts ...grpc.CallOption) (*AddEnrichmentsResponse, error) - RemoveEnrichments(ctx context.Context, in *RemoveEnrichmentsRequest, opts ...grpc.CallOption) (*RemoveEnrichmentsResponse, error) - GetEnrichmentLimit(ctx context.Context, in *GetEnrichmentLimitRequest, opts ...grpc.CallOption) (*GetEnrichmentLimitResponse, error) -} - -type enrichmentServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewEnrichmentServiceClient(cc grpc.ClientConnInterface) EnrichmentServiceClient { - return &enrichmentServiceClient{cc} -} - -func (c *enrichmentServiceClient) GetEnrichments(ctx context.Context, in *GetEnrichmentsRequest, opts ...grpc.CallOption) (*GetEnrichmentsResponse, error) { - out := new(GetEnrichmentsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.EnrichmentService/GetEnrichments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *enrichmentServiceClient) AddEnrichments(ctx context.Context, in *AddEnrichmentsRequest, opts ...grpc.CallOption) (*AddEnrichmentsResponse, error) { - out := new(AddEnrichmentsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.EnrichmentService/AddEnrichments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *enrichmentServiceClient) RemoveEnrichments(ctx context.Context, in *RemoveEnrichmentsRequest, opts ...grpc.CallOption) (*RemoveEnrichmentsResponse, error) { - out := new(RemoveEnrichmentsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.EnrichmentService/RemoveEnrichments", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *enrichmentServiceClient) GetEnrichmentLimit(ctx context.Context, in *GetEnrichmentLimitRequest, opts ...grpc.CallOption) (*GetEnrichmentLimitResponse, error) { - out := new(GetEnrichmentLimitResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.enrichment.v1.EnrichmentService/GetEnrichmentLimit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EnrichmentServiceServer is the server API for EnrichmentService service. -// All implementations must embed UnimplementedEnrichmentServiceServer -// for forward compatibility -type EnrichmentServiceServer interface { - GetEnrichments(context.Context, *GetEnrichmentsRequest) (*GetEnrichmentsResponse, error) - AddEnrichments(context.Context, *AddEnrichmentsRequest) (*AddEnrichmentsResponse, error) - RemoveEnrichments(context.Context, *RemoveEnrichmentsRequest) (*RemoveEnrichmentsResponse, error) - GetEnrichmentLimit(context.Context, *GetEnrichmentLimitRequest) (*GetEnrichmentLimitResponse, error) - mustEmbedUnimplementedEnrichmentServiceServer() -} - -// UnimplementedEnrichmentServiceServer must be embedded to have forward compatible implementations. -type UnimplementedEnrichmentServiceServer struct { -} - -func (UnimplementedEnrichmentServiceServer) GetEnrichments(context.Context, *GetEnrichmentsRequest) (*GetEnrichmentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEnrichments not implemented") -} -func (UnimplementedEnrichmentServiceServer) AddEnrichments(context.Context, *AddEnrichmentsRequest) (*AddEnrichmentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddEnrichments not implemented") -} -func (UnimplementedEnrichmentServiceServer) RemoveEnrichments(context.Context, *RemoveEnrichmentsRequest) (*RemoveEnrichmentsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveEnrichments not implemented") -} -func (UnimplementedEnrichmentServiceServer) GetEnrichmentLimit(context.Context, *GetEnrichmentLimitRequest) (*GetEnrichmentLimitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetEnrichmentLimit not implemented") -} -func (UnimplementedEnrichmentServiceServer) mustEmbedUnimplementedEnrichmentServiceServer() {} - -// UnsafeEnrichmentServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to EnrichmentServiceServer will -// result in compilation errors. -type UnsafeEnrichmentServiceServer interface { - mustEmbedUnimplementedEnrichmentServiceServer() -} - -func RegisterEnrichmentServiceServer(s grpc.ServiceRegistrar, srv EnrichmentServiceServer) { - s.RegisterService(&EnrichmentService_ServiceDesc, srv) -} - -func _EnrichmentService_GetEnrichments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEnrichmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EnrichmentServiceServer).GetEnrichments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.EnrichmentService/GetEnrichments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EnrichmentServiceServer).GetEnrichments(ctx, req.(*GetEnrichmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EnrichmentService_AddEnrichments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddEnrichmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EnrichmentServiceServer).AddEnrichments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.EnrichmentService/AddEnrichments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EnrichmentServiceServer).AddEnrichments(ctx, req.(*AddEnrichmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EnrichmentService_RemoveEnrichments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveEnrichmentsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EnrichmentServiceServer).RemoveEnrichments(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.EnrichmentService/RemoveEnrichments", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EnrichmentServiceServer).RemoveEnrichments(ctx, req.(*RemoveEnrichmentsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EnrichmentService_GetEnrichmentLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetEnrichmentLimitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EnrichmentServiceServer).GetEnrichmentLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.enrichment.v1.EnrichmentService/GetEnrichmentLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EnrichmentServiceServer).GetEnrichmentLimit(ctx, req.(*GetEnrichmentLimitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// EnrichmentService_ServiceDesc is the grpc.ServiceDesc for EnrichmentService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var EnrichmentService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.enrichment.v1.EnrichmentService", - HandlerType: (*EnrichmentServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetEnrichments", - Handler: _EnrichmentService_GetEnrichments_Handler, - }, - { - MethodName: "AddEnrichments", - Handler: _EnrichmentService_AddEnrichments_Handler, - }, - { - MethodName: "RemoveEnrichments", - Handler: _EnrichmentService_RemoveEnrichments_Handler, - }, - { - MethodName: "GetEnrichmentLimit", - Handler: _EnrichmentService_GetEnrichmentLimit_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/enrichment/v1/enrichment_service.proto", -} diff --git a/coralogix/clientset/grpc/enrichment/v1/enrichment_type.pb.go b/coralogix/clientset/grpc/enrichment/v1/enrichment_type.pb.go deleted file mode 100644 index 145c426a..00000000 --- a/coralogix/clientset/grpc/enrichment/v1/enrichment_type.pb.go +++ /dev/null @@ -1,476 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/enrichment/v1/enrichment_type.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -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 EnrichmentType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Type: - // *EnrichmentType_GeoIp - // *EnrichmentType_SuspiciousIp - // *EnrichmentType_Aws - // *EnrichmentType_CustomEnrichment - Type isEnrichmentType_Type `protobuf_oneof:"type"` -} - -func (x *EnrichmentType) Reset() { - *x = EnrichmentType{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EnrichmentType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EnrichmentType) ProtoMessage() {} - -func (x *EnrichmentType) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_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 EnrichmentType.ProtoReflect.Descriptor instead. -func (*EnrichmentType) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescGZIP(), []int{0} -} - -func (m *EnrichmentType) GetType() isEnrichmentType_Type { - if m != nil { - return m.Type - } - return nil -} - -func (x *EnrichmentType) GetGeoIp() *GeoIpType { - if x, ok := x.GetType().(*EnrichmentType_GeoIp); ok { - return x.GeoIp - } - return nil -} - -func (x *EnrichmentType) GetSuspiciousIp() *SuspiciousIpType { - if x, ok := x.GetType().(*EnrichmentType_SuspiciousIp); ok { - return x.SuspiciousIp - } - return nil -} - -func (x *EnrichmentType) GetAws() *AwsType { - if x, ok := x.GetType().(*EnrichmentType_Aws); ok { - return x.Aws - } - return nil -} - -func (x *EnrichmentType) GetCustomEnrichment() *CustomEnrichmentType { - if x, ok := x.GetType().(*EnrichmentType_CustomEnrichment); ok { - return x.CustomEnrichment - } - return nil -} - -type isEnrichmentType_Type interface { - isEnrichmentType_Type() -} - -type EnrichmentType_GeoIp struct { - GeoIp *GeoIpType `protobuf:"bytes,1,opt,name=geo_ip,json=geoIp,proto3,oneof"` -} - -type EnrichmentType_SuspiciousIp struct { - SuspiciousIp *SuspiciousIpType `protobuf:"bytes,2,opt,name=suspicious_ip,json=suspiciousIp,proto3,oneof"` -} - -type EnrichmentType_Aws struct { - Aws *AwsType `protobuf:"bytes,3,opt,name=aws,proto3,oneof"` -} - -type EnrichmentType_CustomEnrichment struct { - CustomEnrichment *CustomEnrichmentType `protobuf:"bytes,4,opt,name=custom_enrichment,json=customEnrichment,proto3,oneof"` -} - -func (*EnrichmentType_GeoIp) isEnrichmentType_Type() {} - -func (*EnrichmentType_SuspiciousIp) isEnrichmentType_Type() {} - -func (*EnrichmentType_Aws) isEnrichmentType_Type() {} - -func (*EnrichmentType_CustomEnrichment) isEnrichmentType_Type() {} - -type GeoIpType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GeoIpType) Reset() { - *x = GeoIpType{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GeoIpType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GeoIpType) ProtoMessage() {} - -func (x *GeoIpType) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_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 GeoIpType.ProtoReflect.Descriptor instead. -func (*GeoIpType) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescGZIP(), []int{1} -} - -type SuspiciousIpType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *SuspiciousIpType) Reset() { - *x = SuspiciousIpType{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SuspiciousIpType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SuspiciousIpType) ProtoMessage() {} - -func (x *SuspiciousIpType) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_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 SuspiciousIpType.ProtoReflect.Descriptor instead. -func (*SuspiciousIpType) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescGZIP(), []int{2} -} - -type AwsType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ResourceType *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` -} - -func (x *AwsType) Reset() { - *x = AwsType{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AwsType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AwsType) ProtoMessage() {} - -func (x *AwsType) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_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 AwsType.ProtoReflect.Descriptor instead. -func (*AwsType) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescGZIP(), []int{3} -} - -func (x *AwsType) GetResourceType() *wrapperspb.StringValue { - if x != nil { - return x.ResourceType - } - return nil -} - -type CustomEnrichmentType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *CustomEnrichmentType) Reset() { - *x = CustomEnrichmentType{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomEnrichmentType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomEnrichmentType) ProtoMessage() {} - -func (x *CustomEnrichmentType) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_enrichment_v1_enrichment_type_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 CustomEnrichmentType.ProtoReflect.Descriptor instead. -func (*CustomEnrichmentType) Descriptor() ([]byte, []int) { - return file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescGZIP(), []int{4} -} - -func (x *CustomEnrichmentType) GetId() *wrapperspb.UInt32Value { - if x != nil { - return x.Id - } - return nil -} - -var File_com_coralogix_enrichment_v1_enrichment_type_proto protoreflect.FileDescriptor - -var file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, - 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 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, 0xcb, 0x02, 0x0a, 0x0e, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x67, 0x65, 0x6f, 0x5f, 0x69, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x70, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x05, 0x67, - 0x65, 0x6f, 0x49, 0x70, 0x12, 0x54, 0x0a, 0x0d, 0x73, 0x75, 0x73, 0x70, 0x69, 0x63, 0x69, 0x6f, - 0x75, 0x73, 0x5f, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x73, 0x70, 0x69, 0x63, - 0x69, 0x6f, 0x75, 0x73, 0x49, 0x70, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x75, - 0x73, 0x70, 0x69, 0x63, 0x69, 0x6f, 0x75, 0x73, 0x49, 0x70, 0x12, 0x38, 0x0a, 0x03, 0x61, 0x77, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x77, 0x73, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, - 0x03, 0x61, 0x77, 0x73, 0x12, 0x60, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, - 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x48, 0x00, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, - 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x0b, - 0x0a, 0x09, 0x47, 0x65, 0x6f, 0x49, 0x70, 0x54, 0x79, 0x70, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x53, - 0x75, 0x73, 0x70, 0x69, 0x63, 0x69, 0x6f, 0x75, 0x73, 0x49, 0x70, 0x54, 0x79, 0x70, 0x65, 0x22, - 0x4c, 0x0a, 0x07, 0x41, 0x77, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x0d, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 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, - 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x44, 0x0a, - 0x14, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x54, 0x79, 0x70, 0x65, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x02, 0x69, 0x64, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescOnce sync.Once - file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescData = file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDesc -) - -func file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescGZIP() []byte { - file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescOnce.Do(func() { - file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescData) - }) - return file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDescData -} - -var file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_com_coralogix_enrichment_v1_enrichment_type_proto_goTypes = []interface{}{ - (*EnrichmentType)(nil), // 0: com.coralogix.enrichment.v1.EnrichmentType - (*GeoIpType)(nil), // 1: com.coralogix.enrichment.v1.GeoIpType - (*SuspiciousIpType)(nil), // 2: com.coralogix.enrichment.v1.SuspiciousIpType - (*AwsType)(nil), // 3: com.coralogix.enrichment.v1.AwsType - (*CustomEnrichmentType)(nil), // 4: com.coralogix.enrichment.v1.CustomEnrichmentType - (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue - (*wrapperspb.UInt32Value)(nil), // 6: google.protobuf.UInt32Value -} -var file_com_coralogix_enrichment_v1_enrichment_type_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.enrichment.v1.EnrichmentType.geo_ip:type_name -> com.coralogix.enrichment.v1.GeoIpType - 2, // 1: com.coralogix.enrichment.v1.EnrichmentType.suspicious_ip:type_name -> com.coralogix.enrichment.v1.SuspiciousIpType - 3, // 2: com.coralogix.enrichment.v1.EnrichmentType.aws:type_name -> com.coralogix.enrichment.v1.AwsType - 4, // 3: com.coralogix.enrichment.v1.EnrichmentType.custom_enrichment:type_name -> com.coralogix.enrichment.v1.CustomEnrichmentType - 5, // 4: com.coralogix.enrichment.v1.AwsType.resource_type:type_name -> google.protobuf.StringValue - 6, // 5: com.coralogix.enrichment.v1.CustomEnrichmentType.id:type_name -> google.protobuf.UInt32Value - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_com_coralogix_enrichment_v1_enrichment_type_proto_init() } -func file_com_coralogix_enrichment_v1_enrichment_type_proto_init() { - if File_com_coralogix_enrichment_v1_enrichment_type_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnrichmentType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GeoIpType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SuspiciousIpType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AwsType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomEnrichmentType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*EnrichmentType_GeoIp)(nil), - (*EnrichmentType_SuspiciousIp)(nil), - (*EnrichmentType_Aws)(nil), - (*EnrichmentType_CustomEnrichment)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDesc, - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_enrichment_v1_enrichment_type_proto_goTypes, - DependencyIndexes: file_com_coralogix_enrichment_v1_enrichment_type_proto_depIdxs, - MessageInfos: file_com_coralogix_enrichment_v1_enrichment_type_proto_msgTypes, - }.Build() - File_com_coralogix_enrichment_v1_enrichment_type_proto = out.File - file_com_coralogix_enrichment_v1_enrichment_type_proto_rawDesc = nil - file_com_coralogix_enrichment_v1_enrichment_type_proto_goTypes = nil - file_com_coralogix_enrichment_v1_enrichment_type_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_definition.pb.go b/coralogix/clientset/grpc/events2metrics/v2/events2metrics_definition.pb.go deleted file mode 100644 index 99cbc2af..00000000 --- a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_definition.pb.go +++ /dev/null @@ -1,1236 +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/events2metrics/v2/events2metrics_definition.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" - l2m "terraform-provider-coralogix/coralogix/clientset/grpc/logs2metrics/v2" -) - -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 E2MType int32 - -const ( - E2MType_E2M_TYPE_UNSPECIFIED E2MType = 0 - E2MType_E2M_TYPE_LOGS2METRICS E2MType = 1 - E2MType_E2M_TYPE_SPANS2METRICS E2MType = 2 -) - -// Enum value maps for E2MType. -var ( - E2MType_name = map[int32]string{ - 0: "E2M_TYPE_UNSPECIFIED", - 1: "E2M_TYPE_LOGS2METRICS", - 2: "E2M_TYPE_SPANS2METRICS", - } - E2MType_value = map[string]int32{ - "E2M_TYPE_UNSPECIFIED": 0, - "E2M_TYPE_LOGS2METRICS": 1, - "E2M_TYPE_SPANS2METRICS": 2, - } -) - -func (x E2MType) Enum() *E2MType { - p := new(E2MType) - *p = x - return p -} - -func (x E2MType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (E2MType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes[0].Descriptor() -} - -func (E2MType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes[0] -} - -func (x E2MType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use E2MType.Descriptor instead. -func (E2MType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{0} -} - -type Aggregation_AggType int32 - -const ( - Aggregation_AGG_TYPE_UNSPECIFIED Aggregation_AggType = 0 - Aggregation_AGG_TYPE_MIN Aggregation_AggType = 1 - Aggregation_AGG_TYPE_MAX Aggregation_AggType = 2 - Aggregation_AGG_TYPE_COUNT Aggregation_AggType = 3 - Aggregation_AGG_TYPE_AVG Aggregation_AggType = 4 - Aggregation_AGG_TYPE_SUM Aggregation_AggType = 5 - Aggregation_AGG_TYPE_HISTOGRAM Aggregation_AggType = 6 - Aggregation_AGG_TYPE_SAMPLES Aggregation_AggType = 7 -) - -// Enum value maps for Aggregation_AggType. -var ( - Aggregation_AggType_name = map[int32]string{ - 0: "AGG_TYPE_UNSPECIFIED", - 1: "AGG_TYPE_MIN", - 2: "AGG_TYPE_MAX", - 3: "AGG_TYPE_COUNT", - 4: "AGG_TYPE_AVG", - 5: "AGG_TYPE_SUM", - 6: "AGG_TYPE_HISTOGRAM", - 7: "AGG_TYPE_SAMPLES", - } - Aggregation_AggType_value = map[string]int32{ - "AGG_TYPE_UNSPECIFIED": 0, - "AGG_TYPE_MIN": 1, - "AGG_TYPE_MAX": 2, - "AGG_TYPE_COUNT": 3, - "AGG_TYPE_AVG": 4, - "AGG_TYPE_SUM": 5, - "AGG_TYPE_HISTOGRAM": 6, - "AGG_TYPE_SAMPLES": 7, - } -) - -func (x Aggregation_AggType) Enum() *Aggregation_AggType { - p := new(Aggregation_AggType) - *p = x - return p -} - -func (x Aggregation_AggType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Aggregation_AggType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes[1].Descriptor() -} - -func (Aggregation_AggType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes[1] -} - -func (x Aggregation_AggType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Aggregation_AggType.Descriptor instead. -func (Aggregation_AggType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{5, 0} -} - -type E2MAggSamples_SampleType int32 - -const ( - E2MAggSamples_SAMPLE_TYPE_UNSPECIFIED E2MAggSamples_SampleType = 0 - E2MAggSamples_SAMPLE_TYPE_MIN E2MAggSamples_SampleType = 1 - E2MAggSamples_SAMPLE_TYPE_MAX E2MAggSamples_SampleType = 2 -) - -// Enum value maps for E2MAggSamples_SampleType. -var ( - E2MAggSamples_SampleType_name = map[int32]string{ - 0: "SAMPLE_TYPE_UNSPECIFIED", - 1: "SAMPLE_TYPE_MIN", - 2: "SAMPLE_TYPE_MAX", - } - E2MAggSamples_SampleType_value = map[string]int32{ - "SAMPLE_TYPE_UNSPECIFIED": 0, - "SAMPLE_TYPE_MIN": 1, - "SAMPLE_TYPE_MAX": 2, - } -) - -func (x E2MAggSamples_SampleType) Enum() *E2MAggSamples_SampleType { - p := new(E2MAggSamples_SampleType) - *p = x - return p -} - -func (x E2MAggSamples_SampleType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (E2MAggSamples_SampleType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes[2].Descriptor() -} - -func (E2MAggSamples_SampleType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes[2] -} - -func (x E2MAggSamples_SampleType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use E2MAggSamples_SampleType.Descriptor instead. -func (E2MAggSamples_SampleType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{6, 0} -} - -type E2M 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - CreateTime *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - UpdateTime *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - Permutations *E2MPermutations `protobuf:"bytes,6,opt,name=permutations,proto3" json:"permutations,omitempty"` - MetricLabels []*MetricLabel `protobuf:"bytes,7,rep,name=metric_labels,json=metricLabels,proto3" json:"metric_labels,omitempty"` - MetricFields []*MetricField `protobuf:"bytes,8,rep,name=metric_fields,json=metricFields,proto3" json:"metric_fields,omitempty"` - Type E2MType `protobuf:"varint,9,opt,name=type,proto3,enum=com.coralogixapis.events2metrics.v2.E2MType" json:"type,omitempty"` - // Types that are assignable to Query: - // *E2M_SpansQuery - // *E2M_LogsQuery - Query isE2M_Query `protobuf_oneof:"query"` -} - -func (x *E2M) Reset() { - *x = E2M{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *E2M) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*E2M) ProtoMessage() {} - -func (x *E2M) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 E2M.ProtoReflect.Descriptor instead. -func (*E2M) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{0} -} - -func (x *E2M) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *E2M) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *E2M) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *E2M) GetCreateTime() *wrapperspb.StringValue { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *E2M) GetUpdateTime() *wrapperspb.StringValue { - if x != nil { - return x.UpdateTime - } - return nil -} - -func (x *E2M) GetPermutations() *E2MPermutations { - if x != nil { - return x.Permutations - } - return nil -} - -func (x *E2M) GetMetricLabels() []*MetricLabel { - if x != nil { - return x.MetricLabels - } - return nil -} - -func (x *E2M) GetMetricFields() []*MetricField { - if x != nil { - return x.MetricFields - } - return nil -} - -func (x *E2M) GetType() E2MType { - if x != nil { - return x.Type - } - return E2MType_E2M_TYPE_UNSPECIFIED -} - -func (m *E2M) GetQuery() isE2M_Query { - if m != nil { - return m.Query - } - return nil -} - -func (x *E2M) GetSpansQuery() *SpansQuery { - if x, ok := x.GetQuery().(*E2M_SpansQuery); ok { - return x.SpansQuery - } - return nil -} - -func (x *E2M) GetLogsQuery() *l2m.LogsQuery { - if x, ok := x.GetQuery().(*E2M_LogsQuery); ok { - return x.LogsQuery - } - return nil -} - -type isE2M_Query interface { - isE2M_Query() -} - -type E2M_SpansQuery struct { - SpansQuery *SpansQuery `protobuf:"bytes,10,opt,name=spans_query,json=spansQuery,proto3,oneof"` -} - -type E2M_LogsQuery struct { - LogsQuery *l2m.LogsQuery `protobuf:"bytes,11,opt,name=logs_query,json=logsQuery,proto3,oneof"` -} - -func (*E2M_SpansQuery) isE2M_Query() {} - -func (*E2M_LogsQuery) isE2M_Query() {} - -type E2MCreateParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - PermutationsLimit *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=permutations_limit,json=permutationsLimit,proto3" json:"permutations_limit,omitempty"` - MetricLabels []*MetricLabel `protobuf:"bytes,4,rep,name=metric_labels,json=metricLabels,proto3" json:"metric_labels,omitempty"` - MetricFields []*MetricField `protobuf:"bytes,5,rep,name=metric_fields,json=metricFields,proto3" json:"metric_fields,omitempty"` - Type E2MType `protobuf:"varint,6,opt,name=type,proto3,enum=com.coralogixapis.events2metrics.v2.E2MType" json:"type,omitempty"` - // Types that are assignable to Query: - // *E2MCreateParams_SpansQuery - // *E2MCreateParams_LogsQuery - Query isE2MCreateParams_Query `protobuf_oneof:"query"` -} - -func (x *E2MCreateParams) Reset() { - *x = E2MCreateParams{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *E2MCreateParams) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*E2MCreateParams) ProtoMessage() {} - -func (x *E2MCreateParams) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 E2MCreateParams.ProtoReflect.Descriptor instead. -func (*E2MCreateParams) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{1} -} - -func (x *E2MCreateParams) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *E2MCreateParams) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *E2MCreateParams) GetPermutationsLimit() *wrapperspb.Int32Value { - if x != nil { - return x.PermutationsLimit - } - return nil -} - -func (x *E2MCreateParams) GetMetricLabels() []*MetricLabel { - if x != nil { - return x.MetricLabels - } - return nil -} - -func (x *E2MCreateParams) GetMetricFields() []*MetricField { - if x != nil { - return x.MetricFields - } - return nil -} - -func (x *E2MCreateParams) GetType() E2MType { - if x != nil { - return x.Type - } - return E2MType_E2M_TYPE_UNSPECIFIED -} - -func (m *E2MCreateParams) GetQuery() isE2MCreateParams_Query { - if m != nil { - return m.Query - } - return nil -} - -func (x *E2MCreateParams) GetSpansQuery() *SpansQuery { - if x, ok := x.GetQuery().(*E2MCreateParams_SpansQuery); ok { - return x.SpansQuery - } - return nil -} - -func (x *E2MCreateParams) GetLogsQuery() *l2m.LogsQuery { - if x, ok := x.GetQuery().(*E2MCreateParams_LogsQuery); ok { - return x.LogsQuery - } - return nil -} - -type isE2MCreateParams_Query interface { - isE2MCreateParams_Query() -} - -type E2MCreateParams_SpansQuery struct { - SpansQuery *SpansQuery `protobuf:"bytes,7,opt,name=spans_query,json=spansQuery,proto3,oneof"` -} - -type E2MCreateParams_LogsQuery struct { - LogsQuery *l2m.LogsQuery `protobuf:"bytes,8,opt,name=logs_query,json=logsQuery,proto3,oneof"` -} - -func (*E2MCreateParams_SpansQuery) isE2MCreateParams_Query() {} - -func (*E2MCreateParams_LogsQuery) isE2MCreateParams_Query() {} - -type E2MPermutations struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` - HasExceededLimit bool `protobuf:"varint,2,opt,name=has_exceeded_limit,json=hasExceededLimit,proto3" json:"has_exceeded_limit,omitempty"` -} - -func (x *E2MPermutations) Reset() { - *x = E2MPermutations{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *E2MPermutations) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*E2MPermutations) ProtoMessage() {} - -func (x *E2MPermutations) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 E2MPermutations.ProtoReflect.Descriptor instead. -func (*E2MPermutations) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{2} -} - -func (x *E2MPermutations) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *E2MPermutations) GetHasExceededLimit() bool { - if x != nil { - return x.HasExceededLimit - } - return false -} - -type MetricLabel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TargetLabel *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target_label,json=targetLabel,proto3" json:"target_label,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` -} - -func (x *MetricLabel) Reset() { - *x = MetricLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetricLabel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetricLabel) ProtoMessage() {} - -func (x *MetricLabel) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 MetricLabel.ProtoReflect.Descriptor instead. -func (*MetricLabel) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{3} -} - -func (x *MetricLabel) GetTargetLabel() *wrapperspb.StringValue { - if x != nil { - return x.TargetLabel - } - return nil -} - -func (x *MetricLabel) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -type MetricField struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TargetBaseMetricName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target_base_metric_name,json=targetBaseMetricName,proto3" json:"target_base_metric_name,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` - Aggregations []*Aggregation `protobuf:"bytes,7,rep,name=aggregations,proto3" json:"aggregations,omitempty"` -} - -func (x *MetricField) Reset() { - *x = MetricField{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetricField) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetricField) ProtoMessage() {} - -func (x *MetricField) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 MetricField.ProtoReflect.Descriptor instead. -func (*MetricField) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{4} -} - -func (x *MetricField) GetTargetBaseMetricName() *wrapperspb.StringValue { - if x != nil { - return x.TargetBaseMetricName - } - return nil -} - -func (x *MetricField) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -func (x *MetricField) GetAggregations() []*Aggregation { - if x != nil { - return x.Aggregations - } - return nil -} - -type Aggregation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` - AggType Aggregation_AggType `protobuf:"varint,2,opt,name=agg_type,json=aggType,proto3,enum=com.coralogixapis.events2metrics.v2.Aggregation_AggType" json:"agg_type,omitempty"` - TargetMetricName string `protobuf:"bytes,3,opt,name=target_metric_name,json=targetMetricName,proto3" json:"target_metric_name,omitempty"` - // Types that are assignable to AggMetadata: - // *Aggregation_Samples - // *Aggregation_Histogram - AggMetadata isAggregation_AggMetadata `protobuf_oneof:"agg_metadata"` -} - -func (x *Aggregation) Reset() { - *x = Aggregation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Aggregation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Aggregation) ProtoMessage() {} - -func (x *Aggregation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 Aggregation.ProtoReflect.Descriptor instead. -func (*Aggregation) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{5} -} - -func (x *Aggregation) GetEnabled() bool { - if x != nil { - return x.Enabled - } - return false -} - -func (x *Aggregation) GetAggType() Aggregation_AggType { - if x != nil { - return x.AggType - } - return Aggregation_AGG_TYPE_UNSPECIFIED -} - -func (x *Aggregation) GetTargetMetricName() string { - if x != nil { - return x.TargetMetricName - } - return "" -} - -func (m *Aggregation) GetAggMetadata() isAggregation_AggMetadata { - if m != nil { - return m.AggMetadata - } - return nil -} - -func (x *Aggregation) GetSamples() *E2MAggSamples { - if x, ok := x.GetAggMetadata().(*Aggregation_Samples); ok { - return x.Samples - } - return nil -} - -func (x *Aggregation) GetHistogram() *E2MAggHistogram { - if x, ok := x.GetAggMetadata().(*Aggregation_Histogram); ok { - return x.Histogram - } - return nil -} - -type isAggregation_AggMetadata interface { - isAggregation_AggMetadata() -} - -type Aggregation_Samples struct { - Samples *E2MAggSamples `protobuf:"bytes,4,opt,name=samples,proto3,oneof"` -} - -type Aggregation_Histogram struct { - Histogram *E2MAggHistogram `protobuf:"bytes,5,opt,name=histogram,proto3,oneof"` -} - -func (*Aggregation_Samples) isAggregation_AggMetadata() {} - -func (*Aggregation_Histogram) isAggregation_AggMetadata() {} - -type E2MAggSamples struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SampleType E2MAggSamples_SampleType `protobuf:"varint,2,opt,name=sample_type,json=sampleType,proto3,enum=com.coralogixapis.events2metrics.v2.E2MAggSamples_SampleType" json:"sample_type,omitempty"` -} - -func (x *E2MAggSamples) Reset() { - *x = E2MAggSamples{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *E2MAggSamples) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*E2MAggSamples) ProtoMessage() {} - -func (x *E2MAggSamples) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 E2MAggSamples.ProtoReflect.Descriptor instead. -func (*E2MAggSamples) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{6} -} - -func (x *E2MAggSamples) GetSampleType() E2MAggSamples_SampleType { - if x != nil { - return x.SampleType - } - return E2MAggSamples_SAMPLE_TYPE_UNSPECIFIED -} - -type E2MAggHistogram struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Buckets []float32 `protobuf:"fixed32,1,rep,packed,name=buckets,proto3" json:"buckets,omitempty"` -} - -func (x *E2MAggHistogram) Reset() { - *x = E2MAggHistogram{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *E2MAggHistogram) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*E2MAggHistogram) ProtoMessage() {} - -func (x *E2MAggHistogram) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_definition_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 E2MAggHistogram.ProtoReflect.Descriptor instead. -func (*E2MAggHistogram) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP(), []int{7} -} - -func (x *E2MAggHistogram) GetBuckets() []float32 { - if x != nil { - return x.Buckets - } - return nil -} - -var File_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDesc = []byte{ - 0x0a, 0x43, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, - 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, - 0x67, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, - 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, - 0x76, 0x32, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 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, 0x98, 0x06, 0x0a, 0x03, 0x45, 0x32, 0x4d, 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, 0x3d, 0x0a, 0x0b, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 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, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 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, 0x0a, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x0c, 0x70, 0x65, - 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x50, 0x65, 0x72, 0x6d, 0x75, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0c, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x55, 0x0a, 0x0d, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x70, - 0x61, 0x6e, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, - 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x70, 0x61, - 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x4d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x73, 0x5f, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x67, - 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, - 0xea, 0x04, 0x0a, 0x0f, 0x45, 0x32, 0x4d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x12, 0x30, 0x0a, 0x04, 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, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 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, 0x11, - 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x12, 0x55, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x62, 0x65, - 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x55, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, - 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x70, 0x61, 0x6e, - 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x4d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, - 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, - 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x73, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x55, 0x0a, 0x0f, - 0x45, 0x32, 0x4d, 0x50, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x61, 0x73, 0x5f, 0x65, 0x78, 0x63, - 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x10, 0x68, 0x61, 0x73, 0x45, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0x8f, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x12, 0x3f, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 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, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 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, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xf9, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x53, 0x0a, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, - 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 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, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x54, 0x0a, 0x0c, 0x61, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 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, 0x22, 0x90, 0x04, 0x0a, 0x0b, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x53, 0x0a, 0x08, 0x61, - 0x67, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x41, 0x67, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x61, 0x67, 0x67, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4e, - 0x0a, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x04, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x41, 0x67, 0x67, 0x53, 0x61, 0x6d, 0x70, - 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x54, - 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x41, 0x67, 0x67, 0x48, 0x69, - 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, - 0x67, 0x72, 0x61, 0x6d, 0x22, 0xad, 0x01, 0x0a, 0x07, 0x41, 0x67, 0x67, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x18, 0x0a, 0x14, 0x41, 0x47, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, - 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, - 0x41, 0x47, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x02, 0x12, 0x12, - 0x0a, 0x0e, 0x41, 0x47, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, - 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, - 0x56, 0x47, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x47, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x47, 0x47, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x06, 0x12, 0x14, - 0x0a, 0x10, 0x41, 0x47, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x41, 0x4d, 0x50, 0x4c, - 0x45, 0x53, 0x10, 0x07, 0x42, 0x0e, 0x0a, 0x0c, 0x61, 0x67, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x22, 0xc4, 0x01, 0x0a, 0x0d, 0x45, 0x32, 0x4d, 0x41, 0x67, 0x67, 0x53, - 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x5e, 0x0a, 0x0b, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 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, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x41, 0x67, 0x67, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, - 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x61, 0x6d, 0x70, - 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x53, 0x0a, 0x0a, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x02, 0x22, 0x2b, 0x0a, 0x0f, 0x45, - 0x32, 0x4d, 0x41, 0x67, 0x67, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x18, - 0x0a, 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x02, 0x52, - 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x2a, 0x5a, 0x0a, 0x07, 0x45, 0x32, 0x4d, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x32, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, - 0x15, 0x45, 0x32, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x47, 0x53, 0x32, 0x4d, - 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x32, 0x4d, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x4e, 0x53, 0x32, 0x4d, 0x45, 0x54, 0x52, 0x49, - 0x43, 0x53, 0x10, 0x02, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescOnce sync.Once - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescData = file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDesc -) - -func file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescGZIP() []byte { - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescData) - }) - return file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDescData -} - -var file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_goTypes = []interface{}{ - (E2MType)(0), // 0: com.coralogixapis.events2metrics.v2.E2MType - (Aggregation_AggType)(0), // 1: com.coralogixapis.events2metrics.v2.Aggregation.AggType - (E2MAggSamples_SampleType)(0), // 2: com.coralogixapis.events2metrics.v2.E2MAggSamples.SampleType - (*E2M)(nil), // 3: com.coralogixapis.events2metrics.v2.E2M - (*E2MCreateParams)(nil), // 4: com.coralogixapis.events2metrics.v2.E2MCreateParams - (*E2MPermutations)(nil), // 5: com.coralogixapis.events2metrics.v2.E2MPermutations - (*MetricLabel)(nil), // 6: com.coralogixapis.events2metrics.v2.MetricLabel - (*MetricField)(nil), // 7: com.coralogixapis.events2metrics.v2.MetricField - (*Aggregation)(nil), // 8: com.coralogixapis.events2metrics.v2.Aggregation - (*E2MAggSamples)(nil), // 9: com.coralogixapis.events2metrics.v2.E2MAggSamples - (*E2MAggHistogram)(nil), // 10: com.coralogixapis.events2metrics.v2.E2MAggHistogram - (*wrapperspb.StringValue)(nil), // 11: google.protobuf.StringValue - (*SpansQuery)(nil), // 12: com.coralogixapis.spans2metrics.v2.SpansQuery - (*l2m.LogsQuery)(nil), // 13: com.coralogixapis.logs2metrics.v2.LogsQuery - (*wrapperspb.Int32Value)(nil), // 14: google.protobuf.Int32Value -} -var file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_depIdxs = []int32{ - 11, // 0: com.coralogixapis.events2metrics.v2.E2M.id:type_name -> google.protobuf.StringValue - 11, // 1: com.coralogixapis.events2metrics.v2.E2M.name:type_name -> google.protobuf.StringValue - 11, // 2: com.coralogixapis.events2metrics.v2.E2M.description:type_name -> google.protobuf.StringValue - 11, // 3: com.coralogixapis.events2metrics.v2.E2M.create_time:type_name -> google.protobuf.StringValue - 11, // 4: com.coralogixapis.events2metrics.v2.E2M.update_time:type_name -> google.protobuf.StringValue - 5, // 5: com.coralogixapis.events2metrics.v2.E2M.permutations:type_name -> com.coralogixapis.events2metrics.v2.E2MPermutations - 6, // 6: com.coralogixapis.events2metrics.v2.E2M.metric_labels:type_name -> com.coralogixapis.events2metrics.v2.MetricLabel - 7, // 7: com.coralogixapis.events2metrics.v2.E2M.metric_fields:type_name -> com.coralogixapis.events2metrics.v2.MetricField - 0, // 8: com.coralogixapis.events2metrics.v2.E2M.type:type_name -> com.coralogixapis.events2metrics.v2.E2MType - 12, // 9: com.coralogixapis.events2metrics.v2.E2M.spans_query:type_name -> com.coralogixapis.spans2metrics.v2.SpansQuery - 13, // 10: com.coralogixapis.events2metrics.v2.E2M.logs_query:type_name -> com.coralogixapis.logs2metrics.v2.LogsQuery - 11, // 11: com.coralogixapis.events2metrics.v2.E2MCreateParams.name:type_name -> google.protobuf.StringValue - 11, // 12: com.coralogixapis.events2metrics.v2.E2MCreateParams.description:type_name -> google.protobuf.StringValue - 14, // 13: com.coralogixapis.events2metrics.v2.E2MCreateParams.permutations_limit:type_name -> google.protobuf.Int32Value - 6, // 14: com.coralogixapis.events2metrics.v2.E2MCreateParams.metric_labels:type_name -> com.coralogixapis.events2metrics.v2.MetricLabel - 7, // 15: com.coralogixapis.events2metrics.v2.E2MCreateParams.metric_fields:type_name -> com.coralogixapis.events2metrics.v2.MetricField - 0, // 16: com.coralogixapis.events2metrics.v2.E2MCreateParams.type:type_name -> com.coralogixapis.events2metrics.v2.E2MType - 12, // 17: com.coralogixapis.events2metrics.v2.E2MCreateParams.spans_query:type_name -> com.coralogixapis.spans2metrics.v2.SpansQuery - 13, // 18: com.coralogixapis.events2metrics.v2.E2MCreateParams.logs_query:type_name -> com.coralogixapis.logs2metrics.v2.LogsQuery - 11, // 19: com.coralogixapis.events2metrics.v2.MetricLabel.target_label:type_name -> google.protobuf.StringValue - 11, // 20: com.coralogixapis.events2metrics.v2.MetricLabel.source_field:type_name -> google.protobuf.StringValue - 11, // 21: com.coralogixapis.events2metrics.v2.MetricField.target_base_metric_name:type_name -> google.protobuf.StringValue - 11, // 22: com.coralogixapis.events2metrics.v2.MetricField.source_field:type_name -> google.protobuf.StringValue - 8, // 23: com.coralogixapis.events2metrics.v2.MetricField.aggregations:type_name -> com.coralogixapis.events2metrics.v2.Aggregation - 1, // 24: com.coralogixapis.events2metrics.v2.Aggregation.agg_type:type_name -> com.coralogixapis.events2metrics.v2.Aggregation.AggType - 9, // 25: com.coralogixapis.events2metrics.v2.Aggregation.samples:type_name -> com.coralogixapis.events2metrics.v2.E2MAggSamples - 10, // 26: com.coralogixapis.events2metrics.v2.Aggregation.histogram:type_name -> com.coralogixapis.events2metrics.v2.E2MAggHistogram - 2, // 27: com.coralogixapis.events2metrics.v2.E2MAggSamples.sample_type:type_name -> com.coralogixapis.events2metrics.v2.E2MAggSamples.SampleType - 28, // [28:28] is the sub-list for method output_type - 28, // [28:28] is the sub-list for method input_type - 28, // [28:28] is the sub-list for extension type_name - 28, // [28:28] is the sub-list for extension extendee - 0, // [0:28] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_init() } -func file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_init() { - if File_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto != nil { - return - } - //file_com_coralogixapis_logs2metrics_v2_logs_query_proto_init() - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*E2M); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*E2MCreateParams); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*E2MPermutations); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricLabel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricField); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Aggregation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*E2MAggSamples); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*E2MAggHistogram); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*E2M_SpansQuery)(nil), - (*E2M_LogsQuery)(nil), - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[1].OneofWrappers = []interface{}{ - (*E2MCreateParams_SpansQuery)(nil), - (*E2MCreateParams_LogsQuery)(nil), - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes[5].OneofWrappers = []interface{}{ - (*Aggregation_Samples)(nil), - (*Aggregation_Histogram)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDesc, - NumEnums: 3, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_depIdxs, - EnumInfos: file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_enumTypes, - MessageInfos: file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_msgTypes, - }.Build() - File_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto = out.File - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_rawDesc = nil - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_goTypes = nil - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_internal_service.pb.go b/coralogix/clientset/grpc/events2metrics/v2/events2metrics_internal_service.pb.go deleted file mode 100644 index 79435876..00000000 --- a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_internal_service.pb.go +++ /dev/null @@ -1,385 +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/events2metrics/v2/events2metrics_internal_service.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - l2m "terraform-provider-coralogix/coralogix/clientset/grpc/logs2metrics/v2" - - 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 ListE2MRequestInternal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListE2MRequestInternal) Reset() { - *x = ListE2MRequestInternal{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListE2MRequestInternal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListE2MRequestInternal) ProtoMessage() {} - -func (x *ListE2MRequestInternal) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_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 ListE2MRequestInternal.ProtoReflect.Descriptor instead. -func (*ListE2MRequestInternal) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescGZIP(), []int{0} -} - -type ListE2MResponseInternal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M []*E2M `protobuf:"bytes,1,rep,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *ListE2MResponseInternal) Reset() { - *x = ListE2MResponseInternal{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListE2MResponseInternal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListE2MResponseInternal) ProtoMessage() {} - -func (x *ListE2MResponseInternal) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_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 ListE2MResponseInternal.ProtoReflect.Descriptor instead. -func (*ListE2MResponseInternal) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescGZIP(), []int{1} -} - -func (x *ListE2MResponseInternal) GetE2M() []*E2M { - if x != nil { - return x.E2M - } - return nil -} - -type CreateE2MRequestInternal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M *E2MCreateParams `protobuf:"bytes,1,opt,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *CreateE2MRequestInternal) Reset() { - *x = CreateE2MRequestInternal{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateE2MRequestInternal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateE2MRequestInternal) ProtoMessage() {} - -func (x *CreateE2MRequestInternal) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_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 CreateE2MRequestInternal.ProtoReflect.Descriptor instead. -func (*CreateE2MRequestInternal) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescGZIP(), []int{2} -} - -func (x *CreateE2MRequestInternal) GetE2M() *E2MCreateParams { - if x != nil { - return x.E2M - } - return nil -} - -type CreateE2MResponseInternal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M *E2M `protobuf:"bytes,1,opt,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *CreateE2MResponseInternal) Reset() { - *x = CreateE2MResponseInternal{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateE2MResponseInternal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateE2MResponseInternal) ProtoMessage() {} - -func (x *CreateE2MResponseInternal) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_internal_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 CreateE2MResponseInternal.ProtoReflect.Descriptor instead. -func (*CreateE2MResponseInternal) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescGZIP(), []int{3} -} - -func (x *CreateE2MResponseInternal) GetE2M() *E2M { - if x != nil { - return x.E2M - } - return nil -} - -var File_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDesc = []byte{ - 0x0a, 0x49, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, - 0x1a, 0x43, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, - 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, - 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x22, 0x55, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x3a, 0x0a, 0x03, 0x65, - 0x32, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, - 0x32, 0x4d, 0x52, 0x03, 0x65, 0x32, 0x6d, 0x22, 0x62, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x12, 0x46, 0x0a, 0x03, 0x65, 0x32, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x03, 0x65, 0x32, 0x6d, 0x22, 0x57, 0x0a, 0x19, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x3a, 0x0a, 0x03, 0x65, 0x32, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x52, - 0x03, 0x65, 0x32, 0x6d, 0x32, 0xb6, 0x03, 0x0a, 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc7, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, - 0x4d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x1a, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x22, 0x39, 0xc2, 0xb8, 0x02, 0x17, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, - 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x45, 0x32, 0x4d, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, - 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, - 0xcb, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x49, 0x6e, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x1a, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x22, 0x37, 0xc2, 0xb8, 0x02, 0x10, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x45, 0x32, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, - 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x3a, 0x03, 0x65, 0x32, 0x6d, 0x42, 0x04, 0x5a, - 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescData = file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDesc -) - -func file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescData) - }) - return file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDescData -} - -var file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_goTypes = []interface{}{ - (*ListE2MRequestInternal)(nil), // 0: com.coralogixapis.events2metrics.v2.ListE2MRequestInternal - (*ListE2MResponseInternal)(nil), // 1: com.coralogixapis.events2metrics.v2.ListE2MResponseInternal - (*CreateE2MRequestInternal)(nil), // 2: com.coralogixapis.events2metrics.v2.CreateE2MRequestInternal - (*CreateE2MResponseInternal)(nil), // 3: com.coralogixapis.events2metrics.v2.CreateE2MResponseInternal - (*E2M)(nil), // 4: com.coralogixapis.events2metrics.v2.E2M - (*E2MCreateParams)(nil), // 5: com.coralogixapis.events2metrics.v2.E2MCreateParams -} -var file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_depIdxs = []int32{ - 4, // 0: com.coralogixapis.events2metrics.v2.ListE2MResponseInternal.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2M - 5, // 1: com.coralogixapis.events2metrics.v2.CreateE2MRequestInternal.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2MCreateParams - 4, // 2: com.coralogixapis.events2metrics.v2.CreateE2MResponseInternal.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2M - 0, // 3: com.coralogixapis.events2metrics.v2.Events2MetricInternalService.ListE2MInternal:input_type -> com.coralogixapis.events2metrics.v2.ListE2MRequestInternal - 2, // 4: com.coralogixapis.events2metrics.v2.Events2MetricInternalService.CreateE2MInternal:input_type -> com.coralogixapis.events2metrics.v2.CreateE2MRequestInternal - 1, // 5: com.coralogixapis.events2metrics.v2.Events2MetricInternalService.ListE2MInternal:output_type -> com.coralogixapis.events2metrics.v2.ListE2MResponseInternal - 3, // 6: com.coralogixapis.events2metrics.v2.Events2MetricInternalService.CreateE2MInternal:output_type -> com.coralogixapis.events2metrics.v2.CreateE2MResponseInternal - 5, // [5:7] is the sub-list for method output_type - 3, // [3:5] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_init() } -func file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_init() { - if File_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto != nil { - return - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_init() - l2m.File_com_coralogixapis_logs2metrics_v2_audit_log_proto_init() - //file_google_api_annotations_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListE2MRequestInternal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListE2MResponseInternal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateE2MRequestInternal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateE2MResponseInternal); 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_events2metrics_v2_events2metrics_internal_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto = out.File - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_rawDesc = nil - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_goTypes = nil - file_com_coralogixapis_events2metrics_v2_events2metrics_internal_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_internal_service_grpc.pb.go b/coralogix/clientset/grpc/events2metrics/v2/events2metrics_internal_service_grpc.pb.go deleted file mode 100644 index 768da8dd..00000000 --- a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_internal_service_grpc.pb.go +++ /dev/null @@ -1,142 +0,0 @@ -// 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/events2metrics/v2/events2metrics_internal_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 - -// Events2MetricInternalServiceClient is the client API for Events2MetricInternalService 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 Events2MetricInternalServiceClient interface { - ListE2MInternal(ctx context.Context, in *ListE2MRequestInternal, opts ...grpc.CallOption) (*ListE2MResponseInternal, error) - CreateE2MInternal(ctx context.Context, in *CreateE2MRequestInternal, opts ...grpc.CallOption) (*CreateE2MResponseInternal, error) -} - -type events2MetricInternalServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewEvents2MetricInternalServiceClient(cc grpc.ClientConnInterface) Events2MetricInternalServiceClient { - return &events2MetricInternalServiceClient{cc} -} - -func (c *events2MetricInternalServiceClient) ListE2MInternal(ctx context.Context, in *ListE2MRequestInternal, opts ...grpc.CallOption) (*ListE2MResponseInternal, error) { - out := new(ListE2MResponseInternal) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricInternalService/ListE2MInternal", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *events2MetricInternalServiceClient) CreateE2MInternal(ctx context.Context, in *CreateE2MRequestInternal, opts ...grpc.CallOption) (*CreateE2MResponseInternal, error) { - out := new(CreateE2MResponseInternal) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricInternalService/CreateE2MInternal", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Events2MetricInternalServiceServer is the server API for Events2MetricInternalService service. -// All implementations must embed UnimplementedEvents2MetricInternalServiceServer -// for forward compatibility -type Events2MetricInternalServiceServer interface { - ListE2MInternal(context.Context, *ListE2MRequestInternal) (*ListE2MResponseInternal, error) - CreateE2MInternal(context.Context, *CreateE2MRequestInternal) (*CreateE2MResponseInternal, error) - mustEmbedUnimplementedEvents2MetricInternalServiceServer() -} - -// UnimplementedEvents2MetricInternalServiceServer must be embedded to have forward compatible implementations. -type UnimplementedEvents2MetricInternalServiceServer struct { -} - -func (UnimplementedEvents2MetricInternalServiceServer) ListE2MInternal(context.Context, *ListE2MRequestInternal) (*ListE2MResponseInternal, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListE2MInternal not implemented") -} -func (UnimplementedEvents2MetricInternalServiceServer) CreateE2MInternal(context.Context, *CreateE2MRequestInternal) (*CreateE2MResponseInternal, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateE2MInternal not implemented") -} -func (UnimplementedEvents2MetricInternalServiceServer) mustEmbedUnimplementedEvents2MetricInternalServiceServer() { -} - -// UnsafeEvents2MetricInternalServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to Events2MetricInternalServiceServer will -// result in compilation errors. -type UnsafeEvents2MetricInternalServiceServer interface { - mustEmbedUnimplementedEvents2MetricInternalServiceServer() -} - -func RegisterEvents2MetricInternalServiceServer(s grpc.ServiceRegistrar, srv Events2MetricInternalServiceServer) { - s.RegisterService(&Events2MetricInternalService_ServiceDesc, srv) -} - -func _Events2MetricInternalService_ListE2MInternal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListE2MRequestInternal) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricInternalServiceServer).ListE2MInternal(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricInternalService/ListE2MInternal", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricInternalServiceServer).ListE2MInternal(ctx, req.(*ListE2MRequestInternal)) - } - return interceptor(ctx, in, info, handler) -} - -func _Events2MetricInternalService_CreateE2MInternal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateE2MRequestInternal) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricInternalServiceServer).CreateE2MInternal(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricInternalService/CreateE2MInternal", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricInternalServiceServer).CreateE2MInternal(ctx, req.(*CreateE2MRequestInternal)) - } - return interceptor(ctx, in, info, handler) -} - -// Events2MetricInternalService_ServiceDesc is the grpc.ServiceDesc for Events2MetricInternalService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var Events2MetricInternalService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.events2metrics.v2.Events2MetricInternalService", - HandlerType: (*Events2MetricInternalServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListE2MInternal", - Handler: _Events2MetricInternalService_ListE2MInternal_Handler, - }, - { - MethodName: "CreateE2MInternal", - Handler: _Events2MetricInternalService_CreateE2MInternal_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/events2metrics/v2/events2metrics_internal_service.proto", -} diff --git a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_service.pb.go b/coralogix/clientset/grpc/events2metrics/v2/events2metrics_service.pb.go deleted file mode 100644 index cc57ad5e..00000000 --- a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_service.pb.go +++ /dev/null @@ -1,1534 +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/events2metrics/v2/events2metrics_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" - l2m "terraform-provider-coralogix/coralogix/clientset/grpc/logs2metrics/v2" - - 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 CreateE2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M *E2MCreateParams `protobuf:"bytes,1,opt,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *CreateE2MRequest) Reset() { - *x = CreateE2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateE2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateE2MRequest) ProtoMessage() {} - -func (x *CreateE2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 CreateE2MRequest.ProtoReflect.Descriptor instead. -func (*CreateE2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateE2MRequest) GetE2M() *E2MCreateParams { - if x != nil { - return x.E2M - } - return nil -} - -type CreateE2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M *E2M `protobuf:"bytes,1,opt,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *CreateE2MResponse) Reset() { - *x = CreateE2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateE2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateE2MResponse) ProtoMessage() {} - -func (x *CreateE2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 CreateE2MResponse.ProtoReflect.Descriptor instead. -func (*CreateE2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateE2MResponse) GetE2M() *E2M { - if x != nil { - return x.E2M - } - return nil -} - -type ListE2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListE2MRequest) Reset() { - *x = ListE2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListE2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListE2MRequest) ProtoMessage() {} - -func (x *ListE2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 ListE2MRequest.ProtoReflect.Descriptor instead. -func (*ListE2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{2} -} - -type ListE2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M []*E2M `protobuf:"bytes,1,rep,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *ListE2MResponse) Reset() { - *x = ListE2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListE2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListE2MResponse) ProtoMessage() {} - -func (x *ListE2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 ListE2MResponse.ProtoReflect.Descriptor instead. -func (*ListE2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{3} -} - -func (x *ListE2MResponse) GetE2M() []*E2M { - if x != nil { - return x.E2M - } - return nil -} - -type ReplaceE2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M *E2M `protobuf:"bytes,1,opt,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *ReplaceE2MRequest) Reset() { - *x = ReplaceE2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceE2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceE2MRequest) ProtoMessage() {} - -func (x *ReplaceE2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 ReplaceE2MRequest.ProtoReflect.Descriptor instead. -func (*ReplaceE2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{4} -} - -func (x *ReplaceE2MRequest) GetE2M() *E2M { - if x != nil { - return x.E2M - } - return nil -} - -type ReplaceE2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M *E2M `protobuf:"bytes,1,opt,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *ReplaceE2MResponse) Reset() { - *x = ReplaceE2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceE2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceE2MResponse) ProtoMessage() {} - -func (x *ReplaceE2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 ReplaceE2MResponse.ProtoReflect.Descriptor instead. -func (*ReplaceE2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{5} -} - -func (x *ReplaceE2MResponse) GetE2M() *E2M { - if x != nil { - return x.E2M - } - return nil -} - -type GetE2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetE2MRequest) Reset() { - *x = GetE2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetE2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetE2MRequest) ProtoMessage() {} - -func (x *GetE2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 GetE2MRequest.ProtoReflect.Descriptor instead. -func (*GetE2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{6} -} - -func (x *GetE2MRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type GetE2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - E2M *E2M `protobuf:"bytes,1,opt,name=e2m,proto3" json:"e2m,omitempty"` -} - -func (x *GetE2MResponse) Reset() { - *x = GetE2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetE2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetE2MResponse) ProtoMessage() {} - -func (x *GetE2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 GetE2MResponse.ProtoReflect.Descriptor instead. -func (*GetE2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{7} -} - -func (x *GetE2MResponse) GetE2M() *E2M { - if x != nil { - return x.E2M - } - return nil -} - -type DeleteE2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteE2MRequest) Reset() { - *x = DeleteE2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteE2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteE2MRequest) ProtoMessage() {} - -func (x *DeleteE2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 DeleteE2MRequest.ProtoReflect.Descriptor instead. -func (*DeleteE2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{8} -} - -func (x *DeleteE2MRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteE2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteE2MResponse) Reset() { - *x = DeleteE2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteE2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteE2MResponse) ProtoMessage() {} - -func (x *DeleteE2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 DeleteE2MResponse.ProtoReflect.Descriptor instead. -func (*DeleteE2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{9} -} - -func (x *DeleteE2MResponse) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type E2MExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Request: - // *E2MExecutionRequest_Create - // *E2MExecutionRequest_Replace - // *E2MExecutionRequest_Delete - Request isE2MExecutionRequest_Request `protobuf_oneof:"request"` -} - -func (x *E2MExecutionRequest) Reset() { - *x = E2MExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *E2MExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*E2MExecutionRequest) ProtoMessage() {} - -func (x *E2MExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 E2MExecutionRequest.ProtoReflect.Descriptor instead. -func (*E2MExecutionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{10} -} - -func (m *E2MExecutionRequest) GetRequest() isE2MExecutionRequest_Request { - if m != nil { - return m.Request - } - return nil -} - -func (x *E2MExecutionRequest) GetCreate() *CreateE2MRequest { - if x, ok := x.GetRequest().(*E2MExecutionRequest_Create); ok { - return x.Create - } - return nil -} - -func (x *E2MExecutionRequest) GetReplace() *ReplaceE2MRequest { - if x, ok := x.GetRequest().(*E2MExecutionRequest_Replace); ok { - return x.Replace - } - return nil -} - -func (x *E2MExecutionRequest) GetDelete() *DeleteE2MRequest { - if x, ok := x.GetRequest().(*E2MExecutionRequest_Delete); ok { - return x.Delete - } - return nil -} - -type isE2MExecutionRequest_Request interface { - isE2MExecutionRequest_Request() -} - -type E2MExecutionRequest_Create struct { - Create *CreateE2MRequest `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type E2MExecutionRequest_Replace struct { - Replace *ReplaceE2MRequest `protobuf:"bytes,2,opt,name=replace,proto3,oneof"` -} - -type E2MExecutionRequest_Delete struct { - Delete *DeleteE2MRequest `protobuf:"bytes,3,opt,name=delete,proto3,oneof"` -} - -func (*E2MExecutionRequest_Create) isE2MExecutionRequest_Request() {} - -func (*E2MExecutionRequest_Replace) isE2MExecutionRequest_Request() {} - -func (*E2MExecutionRequest_Delete) isE2MExecutionRequest_Request() {} - -type AtomicBatchExecuteE2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Requests []*E2MExecutionRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` -} - -func (x *AtomicBatchExecuteE2MRequest) Reset() { - *x = AtomicBatchExecuteE2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchExecuteE2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchExecuteE2MRequest) ProtoMessage() {} - -func (x *AtomicBatchExecuteE2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 AtomicBatchExecuteE2MRequest.ProtoReflect.Descriptor instead. -func (*AtomicBatchExecuteE2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{11} -} - -func (x *AtomicBatchExecuteE2MRequest) GetRequests() []*E2MExecutionRequest { - if x != nil { - return x.Requests - } - return nil -} - -type E2MExecutionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Response: - // *E2MExecutionResponse_Created - // *E2MExecutionResponse_Replaced - // *E2MExecutionResponse_Deleted - Response isE2MExecutionResponse_Response `protobuf_oneof:"response"` -} - -func (x *E2MExecutionResponse) Reset() { - *x = E2MExecutionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *E2MExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*E2MExecutionResponse) ProtoMessage() {} - -func (x *E2MExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 E2MExecutionResponse.ProtoReflect.Descriptor instead. -func (*E2MExecutionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{12} -} - -func (m *E2MExecutionResponse) GetResponse() isE2MExecutionResponse_Response { - if m != nil { - return m.Response - } - return nil -} - -func (x *E2MExecutionResponse) GetCreated() *CreateE2MResponse { - if x, ok := x.GetResponse().(*E2MExecutionResponse_Created); ok { - return x.Created - } - return nil -} - -func (x *E2MExecutionResponse) GetReplaced() *ReplaceE2MResponse { - if x, ok := x.GetResponse().(*E2MExecutionResponse_Replaced); ok { - return x.Replaced - } - return nil -} - -func (x *E2MExecutionResponse) GetDeleted() *DeleteE2MResponse { - if x, ok := x.GetResponse().(*E2MExecutionResponse_Deleted); ok { - return x.Deleted - } - return nil -} - -type isE2MExecutionResponse_Response interface { - isE2MExecutionResponse_Response() -} - -type E2MExecutionResponse_Created struct { - Created *CreateE2MResponse `protobuf:"bytes,1,opt,name=created,proto3,oneof"` -} - -type E2MExecutionResponse_Replaced struct { - Replaced *ReplaceE2MResponse `protobuf:"bytes,2,opt,name=replaced,proto3,oneof"` -} - -type E2MExecutionResponse_Deleted struct { - Deleted *DeleteE2MResponse `protobuf:"bytes,3,opt,name=deleted,proto3,oneof"` -} - -func (*E2MExecutionResponse_Created) isE2MExecutionResponse_Response() {} - -func (*E2MExecutionResponse_Replaced) isE2MExecutionResponse_Response() {} - -func (*E2MExecutionResponse_Deleted) isE2MExecutionResponse_Response() {} - -type AtomicBatchExecuteE2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MatchingResponses []*E2MExecutionResponse `protobuf:"bytes,1,rep,name=matching_responses,json=matchingResponses,proto3" json:"matching_responses,omitempty"` -} - -func (x *AtomicBatchExecuteE2MResponse) Reset() { - *x = AtomicBatchExecuteE2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchExecuteE2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchExecuteE2MResponse) ProtoMessage() {} - -func (x *AtomicBatchExecuteE2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 AtomicBatchExecuteE2MResponse.ProtoReflect.Descriptor instead. -func (*AtomicBatchExecuteE2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{13} -} - -func (x *AtomicBatchExecuteE2MResponse) GetMatchingResponses() []*E2MExecutionResponse { - if x != nil { - return x.MatchingResponses - } - return nil -} - -type ListLabelsCardinalityRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Query: - // *ListLabelsCardinalityRequest_SpansQuery - // *ListLabelsCardinalityRequest_LogsQuery - Query isListLabelsCardinalityRequest_Query `protobuf_oneof:"query"` - MetricLabels []*MetricLabel `protobuf:"bytes,3,rep,name=metric_labels,json=metricLabels,proto3" json:"metric_labels,omitempty"` -} - -func (x *ListLabelsCardinalityRequest) Reset() { - *x = ListLabelsCardinalityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListLabelsCardinalityRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListLabelsCardinalityRequest) ProtoMessage() {} - -func (x *ListLabelsCardinalityRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 ListLabelsCardinalityRequest.ProtoReflect.Descriptor instead. -func (*ListLabelsCardinalityRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{14} -} - -func (m *ListLabelsCardinalityRequest) GetQuery() isListLabelsCardinalityRequest_Query { - if m != nil { - return m.Query - } - return nil -} - -func (x *ListLabelsCardinalityRequest) GetSpansQuery() *SpansQuery { - if x, ok := x.GetQuery().(*ListLabelsCardinalityRequest_SpansQuery); ok { - return x.SpansQuery - } - return nil -} - -func (x *ListLabelsCardinalityRequest) GetLogsQuery() *l2m.LogsQuery { - if x, ok := x.GetQuery().(*ListLabelsCardinalityRequest_LogsQuery); ok { - return x.LogsQuery - } - return nil -} - -func (x *ListLabelsCardinalityRequest) GetMetricLabels() []*MetricLabel { - if x != nil { - return x.MetricLabels - } - return nil -} - -type isListLabelsCardinalityRequest_Query interface { - isListLabelsCardinalityRequest_Query() -} - -type ListLabelsCardinalityRequest_SpansQuery struct { - SpansQuery *SpansQuery `protobuf:"bytes,1,opt,name=spans_query,json=spansQuery,proto3,oneof"` -} - -type ListLabelsCardinalityRequest_LogsQuery struct { - LogsQuery *l2m.LogsQuery `protobuf:"bytes,2,opt,name=logs_query,json=logsQuery,proto3,oneof"` -} - -func (*ListLabelsCardinalityRequest_SpansQuery) isListLabelsCardinalityRequest_Query() {} - -func (*ListLabelsCardinalityRequest_LogsQuery) isListLabelsCardinalityRequest_Query() {} - -type LabelsPermutationsCardinalityDay struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"` - Permutations int32 `protobuf:"varint,2,opt,name=permutations,proto3" json:"permutations,omitempty"` -} - -func (x *LabelsPermutationsCardinalityDay) Reset() { - *x = LabelsPermutationsCardinalityDay{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LabelsPermutationsCardinalityDay) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LabelsPermutationsCardinalityDay) ProtoMessage() {} - -func (x *LabelsPermutationsCardinalityDay) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 LabelsPermutationsCardinalityDay.ProtoReflect.Descriptor instead. -func (*LabelsPermutationsCardinalityDay) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{15} -} - -func (x *LabelsPermutationsCardinalityDay) GetDay() string { - if x != nil { - return x.Day - } - return "" -} - -func (x *LabelsPermutationsCardinalityDay) GetPermutations() int32 { - if x != nil { - return x.Permutations - } - return 0 -} - -type ListLabelsCardinalityResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Permutations []*LabelsPermutationsCardinalityDay `protobuf:"bytes,1,rep,name=permutations,proto3" json:"permutations,omitempty"` -} - -func (x *ListLabelsCardinalityResponse) Reset() { - *x = ListLabelsCardinalityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListLabelsCardinalityResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListLabelsCardinalityResponse) ProtoMessage() {} - -func (x *ListLabelsCardinalityResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_events2metrics_v2_events2metrics_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 ListLabelsCardinalityResponse.ProtoReflect.Descriptor instead. -func (*ListLabelsCardinalityResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP(), []int{16} -} - -func (x *ListLabelsCardinalityResponse) GetPermutations() []*LabelsPermutationsCardinalityDay { - if x != nil { - return x.Permutations - } - return nil -} - -var File_com_coralogixapis_events2metrics_v2_events2metrics_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDesc = []byte{ - 0x0a, 0x40, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x43, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x69, - 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 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, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, - 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 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, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x03, 0x65, - 0x32, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, - 0x32, 0x4d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x03, - 0x65, 0x32, 0x6d, 0x22, 0x4f, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x32, 0x4d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x03, 0x65, 0x32, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x52, - 0x03, 0x65, 0x32, 0x6d, 0x22, 0x10, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, 0x4d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, - 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x03, 0x65, 0x32, 0x6d, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, - 0x52, 0x03, 0x65, 0x32, 0x6d, 0x22, 0x4f, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x03, 0x65, 0x32, - 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, - 0x4d, 0x52, 0x03, 0x65, 0x32, 0x6d, 0x22, 0x50, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x03, - 0x65, 0x32, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x45, 0x32, 0x4d, 0x52, 0x03, 0x65, 0x32, 0x6d, 0x22, 0x3d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x45, - 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x4c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x32, - 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x03, 0x65, 0x32, 0x6d, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, - 0x52, 0x03, 0x65, 0x32, 0x6d, 0x22, 0x40, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, - 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x41, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x22, 0x96, 0x02, 0x0a, 0x13, 0x45, - 0x32, 0x4d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, - 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x12, 0x52, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x07, - 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x18, 0x03, 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, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, - 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, - 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, - 0x01, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0xa1, 0x02, 0x0a, 0x14, 0x45, 0x32, - 0x4d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x52, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x55, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x64, 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, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x12, 0x52, 0x0a, - 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x03, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x01, - 0x0a, 0x1d, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x68, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 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, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x45, 0x32, 0x4d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0xa0, 0x02, 0x0a, 0x1c, 0x4c, 0x69, - 0x73, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, - 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x0b, 0x73, 0x70, - 0x61, 0x6e, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, - 0x00, 0x52, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x4d, 0x0a, - 0x0a, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, - 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x0d, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x58, 0x0a, 0x20, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x44, 0x61, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, - 0x61, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x6d, - 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x75, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, - 0x74, 0x79, 0x44, 0x61, 0x79, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x32, 0xe5, 0x0a, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb3, 0x01, 0x0a, - 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x32, - 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0xc2, 0xb8, 0x02, 0x10, 0x0a, - 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x45, 0x32, 0x4d, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x3a, 0x03, 0x65, - 0x32, 0x6d, 0x12, 0xa6, 0x01, 0x0a, 0x07, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, 0x4d, 0x12, 0x33, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x32, - 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0xc2, 0xb8, 0x02, 0x0e, 0x0a, - 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x45, 0x32, 0x4d, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0xb3, 0x01, 0x0a, 0x0a, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x45, 0x32, 0x4d, 0x12, 0x36, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0xc2, 0xb8, 0x02, - 0x0d, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x20, 0x45, 0x32, 0x4d, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1d, 0x1a, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x3a, 0x03, 0x65, 0x32, - 0x6d, 0x12, 0xa2, 0x01, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x45, 0x32, 0x4d, 0x12, 0x32, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xc2, 0xb8, 0x02, 0x09, 0x0a, 0x07, 0x47, 0x65, 0x74, - 0x20, 0x45, 0x32, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x45, 0x32, 0x4d, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x33, 0xc2, 0xb8, 0x02, 0x0c, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x20, 0x45, 0x32, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x2a, 0x1b, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xef, 0x01, 0x0a, 0x15, 0x41, 0x74, 0x6f, - 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x45, - 0x32, 0x4d, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x45, 0x32, 0x4d, 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, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x6f, 0x6d, - 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x45, 0x32, - 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0xc2, 0xb8, 0x02, 0x1a, 0x0a, - 0x18, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x20, 0x42, 0x61, 0x74, 0x63, 0x68, 0x20, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x65, 0x20, 0x45, 0x32, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, - 0x29, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x3a, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x12, 0xee, 0x01, 0x0a, 0x15, 0x4c, - 0x69, 0x73, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, - 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, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, - 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0xc2, 0xb8, 0x02, - 0x19, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x20, 0x43, - 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, - 0x22, 0x29, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2d, - 0x63, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, - 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescData = file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDesc -) - -func file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescData) - }) - return file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDescData -} - -var file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_goTypes = []interface{}{ - (*CreateE2MRequest)(nil), // 0: com.coralogixapis.events2metrics.v2.CreateE2MRequest - (*CreateE2MResponse)(nil), // 1: com.coralogixapis.events2metrics.v2.CreateE2MResponse - (*ListE2MRequest)(nil), // 2: com.coralogixapis.events2metrics.v2.ListE2MRequest - (*ListE2MResponse)(nil), // 3: com.coralogixapis.events2metrics.v2.ListE2MResponse - (*ReplaceE2MRequest)(nil), // 4: com.coralogixapis.events2metrics.v2.ReplaceE2MRequest - (*ReplaceE2MResponse)(nil), // 5: com.coralogixapis.events2metrics.v2.ReplaceE2MResponse - (*GetE2MRequest)(nil), // 6: com.coralogixapis.events2metrics.v2.GetE2MRequest - (*GetE2MResponse)(nil), // 7: com.coralogixapis.events2metrics.v2.GetE2MResponse - (*DeleteE2MRequest)(nil), // 8: com.coralogixapis.events2metrics.v2.DeleteE2MRequest - (*DeleteE2MResponse)(nil), // 9: com.coralogixapis.events2metrics.v2.DeleteE2MResponse - (*E2MExecutionRequest)(nil), // 10: com.coralogixapis.events2metrics.v2.E2MExecutionRequest - (*AtomicBatchExecuteE2MRequest)(nil), // 11: com.coralogixapis.events2metrics.v2.AtomicBatchExecuteE2MRequest - (*E2MExecutionResponse)(nil), // 12: com.coralogixapis.events2metrics.v2.E2MExecutionResponse - (*AtomicBatchExecuteE2MResponse)(nil), // 13: com.coralogixapis.events2metrics.v2.AtomicBatchExecuteE2MResponse - (*ListLabelsCardinalityRequest)(nil), // 14: com.coralogixapis.events2metrics.v2.ListLabelsCardinalityRequest - (*LabelsPermutationsCardinalityDay)(nil), // 15: com.coralogixapis.events2metrics.v2.LabelsPermutationsCardinalityDay - (*ListLabelsCardinalityResponse)(nil), // 16: com.coralogixapis.events2metrics.v2.ListLabelsCardinalityResponse - (*E2MCreateParams)(nil), // 17: com.coralogixapis.events2metrics.v2.E2MCreateParams - (*E2M)(nil), // 18: com.coralogixapis.events2metrics.v2.E2M - (*wrapperspb.StringValue)(nil), // 19: google.protobuf.StringValue - (*SpansQuery)(nil), // 20: com.coralogixapis.spans2metrics.v2.SpansQuery - (*l2m.LogsQuery)(nil), // 21: com.coralogixapis.logs2metrics.v2.LogsQuery - (*MetricLabel)(nil), // 22: com.coralogixapis.events2metrics.v2.MetricLabel -} -var file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_depIdxs = []int32{ - 17, // 0: com.coralogixapis.events2metrics.v2.CreateE2MRequest.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2MCreateParams - 18, // 1: com.coralogixapis.events2metrics.v2.CreateE2MResponse.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2M - 18, // 2: com.coralogixapis.events2metrics.v2.ListE2MResponse.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2M - 18, // 3: com.coralogixapis.events2metrics.v2.ReplaceE2MRequest.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2M - 18, // 4: com.coralogixapis.events2metrics.v2.ReplaceE2MResponse.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2M - 19, // 5: com.coralogixapis.events2metrics.v2.GetE2MRequest.id:type_name -> google.protobuf.StringValue - 18, // 6: com.coralogixapis.events2metrics.v2.GetE2MResponse.e2m:type_name -> com.coralogixapis.events2metrics.v2.E2M - 19, // 7: com.coralogixapis.events2metrics.v2.DeleteE2MRequest.id:type_name -> google.protobuf.StringValue - 19, // 8: com.coralogixapis.events2metrics.v2.DeleteE2MResponse.id:type_name -> google.protobuf.StringValue - 0, // 9: com.coralogixapis.events2metrics.v2.E2MExecutionRequest.create:type_name -> com.coralogixapis.events2metrics.v2.CreateE2MRequest - 4, // 10: com.coralogixapis.events2metrics.v2.E2MExecutionRequest.replace:type_name -> com.coralogixapis.events2metrics.v2.ReplaceE2MRequest - 8, // 11: com.coralogixapis.events2metrics.v2.E2MExecutionRequest.delete:type_name -> com.coralogixapis.events2metrics.v2.DeleteE2MRequest - 10, // 12: com.coralogixapis.events2metrics.v2.AtomicBatchExecuteE2MRequest.requests:type_name -> com.coralogixapis.events2metrics.v2.E2MExecutionRequest - 1, // 13: com.coralogixapis.events2metrics.v2.E2MExecutionResponse.created:type_name -> com.coralogixapis.events2metrics.v2.CreateE2MResponse - 5, // 14: com.coralogixapis.events2metrics.v2.E2MExecutionResponse.replaced:type_name -> com.coralogixapis.events2metrics.v2.ReplaceE2MResponse - 9, // 15: com.coralogixapis.events2metrics.v2.E2MExecutionResponse.deleted:type_name -> com.coralogixapis.events2metrics.v2.DeleteE2MResponse - 12, // 16: com.coralogixapis.events2metrics.v2.AtomicBatchExecuteE2MResponse.matching_responses:type_name -> com.coralogixapis.events2metrics.v2.E2MExecutionResponse - 20, // 17: com.coralogixapis.events2metrics.v2.ListLabelsCardinalityRequest.spans_query:type_name -> com.coralogixapis.spans2metrics.v2.SpansQuery - 21, // 18: com.coralogixapis.events2metrics.v2.ListLabelsCardinalityRequest.logs_query:type_name -> com.coralogixapis.logs2metrics.v2.LogsQuery - 22, // 19: com.coralogixapis.events2metrics.v2.ListLabelsCardinalityRequest.metric_labels:type_name -> com.coralogixapis.events2metrics.v2.MetricLabel - 15, // 20: com.coralogixapis.events2metrics.v2.ListLabelsCardinalityResponse.permutations:type_name -> com.coralogixapis.events2metrics.v2.LabelsPermutationsCardinalityDay - 0, // 21: com.coralogixapis.events2metrics.v2.Events2MetricService.CreateE2M:input_type -> com.coralogixapis.events2metrics.v2.CreateE2MRequest - 2, // 22: com.coralogixapis.events2metrics.v2.Events2MetricService.ListE2M:input_type -> com.coralogixapis.events2metrics.v2.ListE2MRequest - 4, // 23: com.coralogixapis.events2metrics.v2.Events2MetricService.ReplaceE2M:input_type -> com.coralogixapis.events2metrics.v2.ReplaceE2MRequest - 6, // 24: com.coralogixapis.events2metrics.v2.Events2MetricService.GetE2M:input_type -> com.coralogixapis.events2metrics.v2.GetE2MRequest - 8, // 25: com.coralogixapis.events2metrics.v2.Events2MetricService.DeleteE2M:input_type -> com.coralogixapis.events2metrics.v2.DeleteE2MRequest - 11, // 26: com.coralogixapis.events2metrics.v2.Events2MetricService.AtomicBatchExecuteE2M:input_type -> com.coralogixapis.events2metrics.v2.AtomicBatchExecuteE2MRequest - 14, // 27: com.coralogixapis.events2metrics.v2.Events2MetricService.ListLabelsCardinality:input_type -> com.coralogixapis.events2metrics.v2.ListLabelsCardinalityRequest - 1, // 28: com.coralogixapis.events2metrics.v2.Events2MetricService.CreateE2M:output_type -> com.coralogixapis.events2metrics.v2.CreateE2MResponse - 3, // 29: com.coralogixapis.events2metrics.v2.Events2MetricService.ListE2M:output_type -> com.coralogixapis.events2metrics.v2.ListE2MResponse - 5, // 30: com.coralogixapis.events2metrics.v2.Events2MetricService.ReplaceE2M:output_type -> com.coralogixapis.events2metrics.v2.ReplaceE2MResponse - 7, // 31: com.coralogixapis.events2metrics.v2.Events2MetricService.GetE2M:output_type -> com.coralogixapis.events2metrics.v2.GetE2MResponse - 9, // 32: com.coralogixapis.events2metrics.v2.Events2MetricService.DeleteE2M:output_type -> com.coralogixapis.events2metrics.v2.DeleteE2MResponse - 13, // 33: com.coralogixapis.events2metrics.v2.Events2MetricService.AtomicBatchExecuteE2M:output_type -> com.coralogixapis.events2metrics.v2.AtomicBatchExecuteE2MResponse - 16, // 34: com.coralogixapis.events2metrics.v2.Events2MetricService.ListLabelsCardinality:output_type -> com.coralogixapis.events2metrics.v2.ListLabelsCardinalityResponse - 28, // [28:35] is the sub-list for method output_type - 21, // [21:28] is the sub-list for method input_type - 21, // [21:21] is the sub-list for extension type_name - 21, // [21:21] is the sub-list for extension extendee - 0, // [0:21] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_init() } -func file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_init() { - if File_com_coralogixapis_events2metrics_v2_events2metrics_service_proto != nil { - return - } - file_com_coralogixapis_events2metrics_v2_events2metrics_definition_proto_init() - l2m.File_com_coralogixapis_logs2metrics_v2_audit_log_proto_init() - l2m.File_com_coralogixapis_logs2metrics_v2_logs_query_proto_init() - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_init() - //file_google_api_annotations_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateE2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateE2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListE2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListE2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceE2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceE2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetE2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetE2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteE2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteE2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*E2MExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchExecuteE2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*E2MExecutionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchExecuteE2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLabelsCardinalityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelsPermutationsCardinalityDay); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLabelsCardinalityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[10].OneofWrappers = []interface{}{ - (*E2MExecutionRequest_Create)(nil), - (*E2MExecutionRequest_Replace)(nil), - (*E2MExecutionRequest_Delete)(nil), - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[12].OneofWrappers = []interface{}{ - (*E2MExecutionResponse_Created)(nil), - (*E2MExecutionResponse_Replaced)(nil), - (*E2MExecutionResponse_Deleted)(nil), - } - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes[14].OneofWrappers = []interface{}{ - (*ListLabelsCardinalityRequest_SpansQuery)(nil), - (*ListLabelsCardinalityRequest_LogsQuery)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 17, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_events2metrics_v2_events2metrics_service_proto = out.File - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_rawDesc = nil - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_goTypes = nil - file_com_coralogixapis_events2metrics_v2_events2metrics_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_service_grpc.pb.go b/coralogix/clientset/grpc/events2metrics/v2/events2metrics_service_grpc.pb.go deleted file mode 100644 index 358a3503..00000000 --- a/coralogix/clientset/grpc/events2metrics/v2/events2metrics_service_grpc.pb.go +++ /dev/null @@ -1,321 +0,0 @@ -// 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/events2metrics/v2/events2metrics_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 - -// Events2MetricServiceClient is the client API for Events2MetricService 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 Events2MetricServiceClient interface { - CreateE2M(ctx context.Context, in *CreateE2MRequest, opts ...grpc.CallOption) (*CreateE2MResponse, error) - ListE2M(ctx context.Context, in *ListE2MRequest, opts ...grpc.CallOption) (*ListE2MResponse, error) - ReplaceE2M(ctx context.Context, in *ReplaceE2MRequest, opts ...grpc.CallOption) (*ReplaceE2MResponse, error) - GetE2M(ctx context.Context, in *GetE2MRequest, opts ...grpc.CallOption) (*GetE2MResponse, error) - DeleteE2M(ctx context.Context, in *DeleteE2MRequest, opts ...grpc.CallOption) (*DeleteE2MResponse, error) - AtomicBatchExecuteE2M(ctx context.Context, in *AtomicBatchExecuteE2MRequest, opts ...grpc.CallOption) (*AtomicBatchExecuteE2MResponse, error) - ListLabelsCardinality(ctx context.Context, in *ListLabelsCardinalityRequest, opts ...grpc.CallOption) (*ListLabelsCardinalityResponse, error) -} - -type events2MetricServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewEvents2MetricServiceClient(cc grpc.ClientConnInterface) Events2MetricServiceClient { - return &events2MetricServiceClient{cc} -} - -func (c *events2MetricServiceClient) CreateE2M(ctx context.Context, in *CreateE2MRequest, opts ...grpc.CallOption) (*CreateE2MResponse, error) { - out := new(CreateE2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricService/CreateE2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *events2MetricServiceClient) ListE2M(ctx context.Context, in *ListE2MRequest, opts ...grpc.CallOption) (*ListE2MResponse, error) { - out := new(ListE2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricService/ListE2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *events2MetricServiceClient) ReplaceE2M(ctx context.Context, in *ReplaceE2MRequest, opts ...grpc.CallOption) (*ReplaceE2MResponse, error) { - out := new(ReplaceE2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricService/ReplaceE2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *events2MetricServiceClient) GetE2M(ctx context.Context, in *GetE2MRequest, opts ...grpc.CallOption) (*GetE2MResponse, error) { - out := new(GetE2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricService/GetE2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *events2MetricServiceClient) DeleteE2M(ctx context.Context, in *DeleteE2MRequest, opts ...grpc.CallOption) (*DeleteE2MResponse, error) { - out := new(DeleteE2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricService/DeleteE2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *events2MetricServiceClient) AtomicBatchExecuteE2M(ctx context.Context, in *AtomicBatchExecuteE2MRequest, opts ...grpc.CallOption) (*AtomicBatchExecuteE2MResponse, error) { - out := new(AtomicBatchExecuteE2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricService/AtomicBatchExecuteE2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *events2MetricServiceClient) ListLabelsCardinality(ctx context.Context, in *ListLabelsCardinalityRequest, opts ...grpc.CallOption) (*ListLabelsCardinalityResponse, error) { - out := new(ListLabelsCardinalityResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.events2metrics.v2.Events2MetricService/ListLabelsCardinality", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Events2MetricServiceServer is the server API for Events2MetricService service. -// All implementations must embed UnimplementedEvents2MetricServiceServer -// for forward compatibility -type Events2MetricServiceServer interface { - CreateE2M(context.Context, *CreateE2MRequest) (*CreateE2MResponse, error) - ListE2M(context.Context, *ListE2MRequest) (*ListE2MResponse, error) - ReplaceE2M(context.Context, *ReplaceE2MRequest) (*ReplaceE2MResponse, error) - GetE2M(context.Context, *GetE2MRequest) (*GetE2MResponse, error) - DeleteE2M(context.Context, *DeleteE2MRequest) (*DeleteE2MResponse, error) - AtomicBatchExecuteE2M(context.Context, *AtomicBatchExecuteE2MRequest) (*AtomicBatchExecuteE2MResponse, error) - ListLabelsCardinality(context.Context, *ListLabelsCardinalityRequest) (*ListLabelsCardinalityResponse, error) - mustEmbedUnimplementedEvents2MetricServiceServer() -} - -// UnimplementedEvents2MetricServiceServer must be embedded to have forward compatible implementations. -type UnimplementedEvents2MetricServiceServer struct { -} - -func (UnimplementedEvents2MetricServiceServer) CreateE2M(context.Context, *CreateE2MRequest) (*CreateE2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateE2M not implemented") -} -func (UnimplementedEvents2MetricServiceServer) ListE2M(context.Context, *ListE2MRequest) (*ListE2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListE2M not implemented") -} -func (UnimplementedEvents2MetricServiceServer) ReplaceE2M(context.Context, *ReplaceE2MRequest) (*ReplaceE2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReplaceE2M not implemented") -} -func (UnimplementedEvents2MetricServiceServer) GetE2M(context.Context, *GetE2MRequest) (*GetE2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetE2M not implemented") -} -func (UnimplementedEvents2MetricServiceServer) DeleteE2M(context.Context, *DeleteE2MRequest) (*DeleteE2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteE2M not implemented") -} -func (UnimplementedEvents2MetricServiceServer) AtomicBatchExecuteE2M(context.Context, *AtomicBatchExecuteE2MRequest) (*AtomicBatchExecuteE2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AtomicBatchExecuteE2M not implemented") -} -func (UnimplementedEvents2MetricServiceServer) ListLabelsCardinality(context.Context, *ListLabelsCardinalityRequest) (*ListLabelsCardinalityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListLabelsCardinality not implemented") -} -func (UnimplementedEvents2MetricServiceServer) mustEmbedUnimplementedEvents2MetricServiceServer() {} - -// UnsafeEvents2MetricServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to Events2MetricServiceServer will -// result in compilation errors. -type UnsafeEvents2MetricServiceServer interface { - mustEmbedUnimplementedEvents2MetricServiceServer() -} - -func RegisterEvents2MetricServiceServer(s grpc.ServiceRegistrar, srv Events2MetricServiceServer) { - s.RegisterService(&Events2MetricService_ServiceDesc, srv) -} - -func _Events2MetricService_CreateE2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateE2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricServiceServer).CreateE2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricService/CreateE2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricServiceServer).CreateE2M(ctx, req.(*CreateE2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Events2MetricService_ListE2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListE2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricServiceServer).ListE2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricService/ListE2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricServiceServer).ListE2M(ctx, req.(*ListE2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Events2MetricService_ReplaceE2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReplaceE2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricServiceServer).ReplaceE2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricService/ReplaceE2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricServiceServer).ReplaceE2M(ctx, req.(*ReplaceE2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Events2MetricService_GetE2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetE2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricServiceServer).GetE2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricService/GetE2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricServiceServer).GetE2M(ctx, req.(*GetE2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Events2MetricService_DeleteE2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteE2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricServiceServer).DeleteE2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricService/DeleteE2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricServiceServer).DeleteE2M(ctx, req.(*DeleteE2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Events2MetricService_AtomicBatchExecuteE2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AtomicBatchExecuteE2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricServiceServer).AtomicBatchExecuteE2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricService/AtomicBatchExecuteE2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricServiceServer).AtomicBatchExecuteE2M(ctx, req.(*AtomicBatchExecuteE2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Events2MetricService_ListLabelsCardinality_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListLabelsCardinalityRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Events2MetricServiceServer).ListLabelsCardinality(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.events2metrics.v2.Events2MetricService/ListLabelsCardinality", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Events2MetricServiceServer).ListLabelsCardinality(ctx, req.(*ListLabelsCardinalityRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// Events2MetricService_ServiceDesc is the grpc.ServiceDesc for Events2MetricService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var Events2MetricService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.events2metrics.v2.Events2MetricService", - HandlerType: (*Events2MetricServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateE2M", - Handler: _Events2MetricService_CreateE2M_Handler, - }, - { - MethodName: "ListE2M", - Handler: _Events2MetricService_ListE2M_Handler, - }, - { - MethodName: "ReplaceE2M", - Handler: _Events2MetricService_ReplaceE2M_Handler, - }, - { - MethodName: "GetE2M", - Handler: _Events2MetricService_GetE2M_Handler, - }, - { - MethodName: "DeleteE2M", - Handler: _Events2MetricService_DeleteE2M_Handler, - }, - { - MethodName: "AtomicBatchExecuteE2M", - Handler: _Events2MetricService_AtomicBatchExecuteE2M_Handler, - }, - { - MethodName: "ListLabelsCardinality", - Handler: _Events2MetricService_ListLabelsCardinality_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/events2metrics/v2/events2metrics_service.proto", -} diff --git a/coralogix/clientset/grpc/events2metrics/v2/spans_query.pb.go b/coralogix/clientset/grpc/events2metrics/v2/spans_query.pb.go deleted file mode 100644 index 8788cf30..00000000 --- a/coralogix/clientset/grpc/events2metrics/v2/spans_query.pb.go +++ /dev/null @@ -1,208 +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/spans2metrics/v2/spans_query.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 SpansQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Lucene *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=lucene,proto3" json:"lucene,omitempty"` - ApplicationnameFilters []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=applicationname_filters,json=applicationnameFilters,proto3" json:"applicationname_filters,omitempty"` - SubsystemnameFilters []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=subsystemname_filters,json=subsystemnameFilters,proto3" json:"subsystemname_filters,omitempty"` - ActionFilters []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=action_filters,json=actionFilters,proto3" json:"action_filters,omitempty"` - ServiceFilters []*wrapperspb.StringValue `protobuf:"bytes,5,rep,name=service_filters,json=serviceFilters,proto3" json:"service_filters,omitempty"` -} - -func (x *SpansQuery) Reset() { - *x = SpansQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_spans2metrics_v2_spans_query_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpansQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpansQuery) ProtoMessage() {} - -func (x *SpansQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_spans2metrics_v2_spans_query_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 SpansQuery.ProtoReflect.Descriptor instead. -func (*SpansQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescGZIP(), []int{0} -} - -func (x *SpansQuery) GetLucene() *wrapperspb.StringValue { - if x != nil { - return x.Lucene - } - return nil -} - -func (x *SpansQuery) GetApplicationnameFilters() []*wrapperspb.StringValue { - if x != nil { - return x.ApplicationnameFilters - } - return nil -} - -func (x *SpansQuery) GetSubsystemnameFilters() []*wrapperspb.StringValue { - if x != nil { - return x.SubsystemnameFilters - } - return nil -} - -func (x *SpansQuery) GetActionFilters() []*wrapperspb.StringValue { - if x != nil { - return x.ActionFilters - } - return nil -} - -func (x *SpansQuery) GetServiceFilters() []*wrapperspb.StringValue { - if x != nil { - return x.ServiceFilters - } - return nil -} - -var File_com_coralogixapis_spans2metrics_v2_spans_query_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDesc = []byte{ - 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 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, 0xf8, 0x02, 0x0a, 0x0a, 0x53, - 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x75, 0x63, - 0x65, 0x6e, 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, 0x06, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x12, - 0x55, 0x0a, 0x17, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x6e, 0x61, - 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 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, 0x16, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x6e, 0x61, 0x6d, 0x65, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x15, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 0x14, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x6e, 0x61, - 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x43, 0x0a, 0x0e, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, - 0x0d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x45, - 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x73, 0x18, 0x05, 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, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescOnce sync.Once - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescData = file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDesc -) - -func file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescGZIP() []byte { - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescData) - }) - return file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDescData -} - -var file_com_coralogixapis_spans2metrics_v2_spans_query_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_spans2metrics_v2_spans_query_proto_goTypes = []interface{}{ - (*SpansQuery)(nil), // 0: com.coralogixapis.spans2metrics.v2.SpansQuery - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogixapis_spans2metrics_v2_spans_query_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.spans2metrics.v2.SpansQuery.lucene:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.spans2metrics.v2.SpansQuery.applicationname_filters:type_name -> google.protobuf.StringValue - 1, // 2: com.coralogixapis.spans2metrics.v2.SpansQuery.subsystemname_filters:type_name -> google.protobuf.StringValue - 1, // 3: com.coralogixapis.spans2metrics.v2.SpansQuery.action_filters:type_name -> google.protobuf.StringValue - 1, // 4: com.coralogixapis.spans2metrics.v2.SpansQuery.service_filters:type_name -> google.protobuf.StringValue - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_spans2metrics_v2_spans_query_proto_init() } -func file_com_coralogixapis_spans2metrics_v2_spans_query_proto_init() { - if File_com_coralogixapis_spans2metrics_v2_spans_query_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpansQuery); 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_spans2metrics_v2_spans_query_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_spans2metrics_v2_spans_query_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_spans2metrics_v2_spans_query_proto_depIdxs, - MessageInfos: file_com_coralogixapis_spans2metrics_v2_spans_query_proto_msgTypes, - }.Build() - File_com_coralogixapis_spans2metrics_v2_spans_query_proto = out.File - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_rawDesc = nil - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_goTypes = nil - file_com_coralogixapis_spans2metrics_v2_spans_query_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/integrations/audit_log.pb.go b/coralogix/clientset/grpc/integrations/audit_log.pb.go deleted file mode 100644 index 07e5c9c4..00000000 --- a/coralogix/clientset/grpc/integrations/audit_log.pb.go +++ /dev/null @@ -1,181 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 -// source: com/coralogix/integrations/v1/audit_log.proto - -package integrations - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - 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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -var file_com_coralogix_integrations_v1_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5007, - Name: "com.coralogix.integrations.v1.audit_log_description", - Tag: "bytes,5007,opt,name=audit_log_description", - Filename: "com/coralogix/integrations/v1/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogix.integrations.v1.AuditLogDescription audit_log_description = 5007; - E_AuditLogDescription = &file_com_coralogix_integrations_v1_audit_log_proto_extTypes[0] -) - -var File_com_coralogix_integrations_v1_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogix_integrations_v1_audit_log_proto_rawDesc = []byte{ - 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 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, - 0x22, 0x4c, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, - 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x8a, - 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x8f, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_integrations_v1_audit_log_proto_rawDescOnce sync.Once - file_com_coralogix_integrations_v1_audit_log_proto_rawDescData = file_com_coralogix_integrations_v1_audit_log_proto_rawDesc -) - -func file_com_coralogix_integrations_v1_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogix_integrations_v1_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogix_integrations_v1_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_integrations_v1_audit_log_proto_rawDescData) - }) - return file_com_coralogix_integrations_v1_audit_log_proto_rawDescData -} - -var file_com_coralogix_integrations_v1_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_integrations_v1_audit_log_proto_goTypes = []any{ - (*AuditLogDescription)(nil), // 0: com.coralogix.integrations.v1.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogix_integrations_v1_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.integrations.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogix.integrations.v1.audit_log_description:type_name -> com.coralogix.integrations.v1.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_com_coralogix_integrations_v1_audit_log_proto_init() } -func file_com_coralogix_integrations_v1_audit_log_proto_init() { - if File_com_coralogix_integrations_v1_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_integrations_v1_audit_log_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*AuditLogDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_integrations_v1_audit_log_proto_msgTypes[0].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_integrations_v1_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogix_integrations_v1_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogix_integrations_v1_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogix_integrations_v1_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogix_integrations_v1_audit_log_proto_extTypes, - }.Build() - File_com_coralogix_integrations_v1_audit_log_proto = out.File - file_com_coralogix_integrations_v1_audit_log_proto_rawDesc = nil - file_com_coralogix_integrations_v1_audit_log_proto_goTypes = nil - file_com_coralogix_integrations_v1_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/integrations/extension.pb.go b/coralogix/clientset/grpc/integrations/extension.pb.go deleted file mode 100644 index de2b4e89..00000000 --- a/coralogix/clientset/grpc/integrations/extension.pb.go +++ /dev/null @@ -1,1981 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 -// source: com/coralogix/extensions/v1/extension.proto - -package integrations - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - 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 TargetDomain int32 - -const ( - TargetDomain_ACTION TargetDomain = 0 - TargetDomain_ALERT TargetDomain = 1 - TargetDomain_ENRICHMENT TargetDomain = 2 - TargetDomain_GRAFANA_DASHBOARD TargetDomain = 3 - TargetDomain_KIBANA_DASHBOARD TargetDomain = 4 - TargetDomain_PARSING_RULE TargetDomain = 6 - TargetDomain_SAVED_VIEW TargetDomain = 7 - TargetDomain_CX_CUSTOM_DASHBOARD TargetDomain = 8 - TargetDomain_METRICS_RULE_GROUP TargetDomain = 9 - TargetDomain_EVENTS_TO_METRICS TargetDomain = 10 -) - -// Enum value maps for TargetDomain. -var ( - TargetDomain_name = map[int32]string{ - 0: "ACTION", - 1: "ALERT", - 2: "ENRICHMENT", - 3: "GRAFANA_DASHBOARD", - 4: "KIBANA_DASHBOARD", - 6: "PARSING_RULE", - 7: "SAVED_VIEW", - 8: "CX_CUSTOM_DASHBOARD", - 9: "METRICS_RULE_GROUP", - 10: "EVENTS_TO_METRICS", - } - TargetDomain_value = map[string]int32{ - "ACTION": 0, - "ALERT": 1, - "ENRICHMENT": 2, - "GRAFANA_DASHBOARD": 3, - "KIBANA_DASHBOARD": 4, - "PARSING_RULE": 6, - "SAVED_VIEW": 7, - "CX_CUSTOM_DASHBOARD": 8, - "METRICS_RULE_GROUP": 9, - "EVENTS_TO_METRICS": 10, - } -) - -func (x TargetDomain) Enum() *TargetDomain { - p := new(TargetDomain) - *p = x - return p -} - -func (x TargetDomain) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TargetDomain) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_extensions_v1_extension_proto_enumTypes[0].Descriptor() -} - -func (TargetDomain) Type() protoreflect.EnumType { - return &file_com_coralogix_extensions_v1_extension_proto_enumTypes[0] -} - -func (x TargetDomain) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TargetDomain.Descriptor instead. -func (TargetDomain) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{0} -} - -type ExtensionItemBinary_BinaryType int32 - -const ( - ExtensionItemBinary_PREVIEW_IMAGE ExtensionItemBinary_BinaryType = 0 - ExtensionItemBinary_KIBANA_DASHBOARD_DEFINITION ExtensionItemBinary_BinaryType = 1 - ExtensionItemBinary_GRAFANA_DASHBOARD_DEFINITION ExtensionItemBinary_BinaryType = 2 - ExtensionItemBinary_ENRICHMENT_CSV ExtensionItemBinary_BinaryType = 3 - ExtensionItemBinary_CX_CUSTOM_DASHBOARD_DEFINITION ExtensionItemBinary_BinaryType = 4 -) - -// Enum value maps for ExtensionItemBinary_BinaryType. -var ( - ExtensionItemBinary_BinaryType_name = map[int32]string{ - 0: "PREVIEW_IMAGE", - 1: "KIBANA_DASHBOARD_DEFINITION", - 2: "GRAFANA_DASHBOARD_DEFINITION", - 3: "ENRICHMENT_CSV", - 4: "CX_CUSTOM_DASHBOARD_DEFINITION", - } - ExtensionItemBinary_BinaryType_value = map[string]int32{ - "PREVIEW_IMAGE": 0, - "KIBANA_DASHBOARD_DEFINITION": 1, - "GRAFANA_DASHBOARD_DEFINITION": 2, - "ENRICHMENT_CSV": 3, - "CX_CUSTOM_DASHBOARD_DEFINITION": 4, - } -) - -func (x ExtensionItemBinary_BinaryType) Enum() *ExtensionItemBinary_BinaryType { - p := new(ExtensionItemBinary_BinaryType) - *p = x - return p -} - -func (x ExtensionItemBinary_BinaryType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtensionItemBinary_BinaryType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_extensions_v1_extension_proto_enumTypes[1].Descriptor() -} - -func (ExtensionItemBinary_BinaryType) Type() protoreflect.EnumType { - return &file_com_coralogix_extensions_v1_extension_proto_enumTypes[1] -} - -func (x ExtensionItemBinary_BinaryType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ExtensionItemBinary_BinaryType.Descriptor instead. -func (ExtensionItemBinary_BinaryType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{0, 0} -} - -type ExtensionItem_PermissionResource int32 - -const ( - ExtensionItem_UNKNOWN ExtensionItem_PermissionResource = 0 - ExtensionItem_ACTION ExtensionItem_PermissionResource = 1 - ExtensionItem_ALERT ExtensionItem_PermissionResource = 2 - ExtensionItem_CUSTOM_ENRICHMENT ExtensionItem_PermissionResource = 3 - ExtensionItem_GEO_ENRICHMENT ExtensionItem_PermissionResource = 4 - ExtensionItem_SECURITY_ENRICHMENT ExtensionItem_PermissionResource = 5 - ExtensionItem_RESOURCE_CLOUD_METADATA_ENRICHMENT ExtensionItem_PermissionResource = 6 - ExtensionItem_GRAFANA_DASHBOARD ExtensionItem_PermissionResource = 7 - ExtensionItem_KIBANA_DASHBOARD ExtensionItem_PermissionResource = 8 - ExtensionItem_PARSING_RULE ExtensionItem_PermissionResource = 9 - ExtensionItem_SAVED_VIEW ExtensionItem_PermissionResource = 10 - ExtensionItem_CX_CUSTOM_DASHBOARD ExtensionItem_PermissionResource = 11 - ExtensionItem_METRICS_RULE_GROUP ExtensionItem_PermissionResource = 12 - ExtensionItem_SPAN_EVENTS_TO_METRICS ExtensionItem_PermissionResource = 13 - ExtensionItem_LOGS_EVENTS_TO_METRICS ExtensionItem_PermissionResource = 14 -) - -// Enum value maps for ExtensionItem_PermissionResource. -var ( - ExtensionItem_PermissionResource_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ACTION", - 2: "ALERT", - 3: "CUSTOM_ENRICHMENT", - 4: "GEO_ENRICHMENT", - 5: "SECURITY_ENRICHMENT", - 6: "RESOURCE_CLOUD_METADATA_ENRICHMENT", - 7: "GRAFANA_DASHBOARD", - 8: "KIBANA_DASHBOARD", - 9: "PARSING_RULE", - 10: "SAVED_VIEW", - 11: "CX_CUSTOM_DASHBOARD", - 12: "METRICS_RULE_GROUP", - 13: "SPAN_EVENTS_TO_METRICS", - 14: "LOGS_EVENTS_TO_METRICS", - } - ExtensionItem_PermissionResource_value = map[string]int32{ - "UNKNOWN": 0, - "ACTION": 1, - "ALERT": 2, - "CUSTOM_ENRICHMENT": 3, - "GEO_ENRICHMENT": 4, - "SECURITY_ENRICHMENT": 5, - "RESOURCE_CLOUD_METADATA_ENRICHMENT": 6, - "GRAFANA_DASHBOARD": 7, - "KIBANA_DASHBOARD": 8, - "PARSING_RULE": 9, - "SAVED_VIEW": 10, - "CX_CUSTOM_DASHBOARD": 11, - "METRICS_RULE_GROUP": 12, - "SPAN_EVENTS_TO_METRICS": 13, - "LOGS_EVENTS_TO_METRICS": 14, - } -) - -func (x ExtensionItem_PermissionResource) Enum() *ExtensionItem_PermissionResource { - p := new(ExtensionItem_PermissionResource) - *p = x - return p -} - -func (x ExtensionItem_PermissionResource) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtensionItem_PermissionResource) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_extensions_v1_extension_proto_enumTypes[2].Descriptor() -} - -func (ExtensionItem_PermissionResource) Type() protoreflect.EnumType { - return &file_com_coralogix_extensions_v1_extension_proto_enumTypes[2] -} - -func (x ExtensionItem_PermissionResource) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ExtensionItem_PermissionResource.Descriptor instead. -func (ExtensionItem_PermissionResource) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{1, 0} -} - -type ExtensionBinary_BinaryType int32 - -const ( - ExtensionBinary_KIBANA_INDEX_PATTERN ExtensionBinary_BinaryType = 0 -) - -// Enum value maps for ExtensionBinary_BinaryType. -var ( - ExtensionBinary_BinaryType_name = map[int32]string{ - 0: "KIBANA_INDEX_PATTERN", - } - ExtensionBinary_BinaryType_value = map[string]int32{ - "KIBANA_INDEX_PATTERN": 0, - } -) - -func (x ExtensionBinary_BinaryType) Enum() *ExtensionBinary_BinaryType { - p := new(ExtensionBinary_BinaryType) - *p = x - return p -} - -func (x ExtensionBinary_BinaryType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtensionBinary_BinaryType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_extensions_v1_extension_proto_enumTypes[3].Descriptor() -} - -func (ExtensionBinary_BinaryType) Type() protoreflect.EnumType { - return &file_com_coralogix_extensions_v1_extension_proto_enumTypes[3] -} - -func (x ExtensionBinary_BinaryType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ExtensionBinary_BinaryType.Descriptor instead. -func (ExtensionBinary_BinaryType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{4, 0} -} - -type ExtensionItemBinary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type ExtensionItemBinary_BinaryType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.extensions.v1.ExtensionItemBinary_BinaryType" json:"type,omitempty"` - Data *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - FileName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` -} - -func (x *ExtensionItemBinary) Reset() { - *x = ExtensionItemBinary{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtensionItemBinary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionItemBinary) ProtoMessage() {} - -func (x *ExtensionItemBinary) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ExtensionItemBinary.ProtoReflect.Descriptor instead. -func (*ExtensionItemBinary) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{0} -} - -func (x *ExtensionItemBinary) GetType() ExtensionItemBinary_BinaryType { - if x != nil { - return x.Type - } - return ExtensionItemBinary_PREVIEW_IMAGE -} - -func (x *ExtensionItemBinary) GetData() *wrapperspb.StringValue { - if x != nil { - return x.Data - } - return nil -} - -func (x *ExtensionItemBinary) GetFileName() *wrapperspb.StringValue { - if x != nil { - return x.FileName - } - return nil -} - -type ExtensionItem 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - TargetDomain TargetDomain `protobuf:"varint,4,opt,name=target_domain,json=targetDomain,proto3,enum=com.coralogix.extensions.v1.TargetDomain" json:"target_domain,omitempty"` - Data *structpb.Struct `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` - Binaries []*ExtensionItemBinary `protobuf:"bytes,6,rep,name=binaries,proto3" json:"binaries,omitempty"` - IsMandatory *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=is_mandatory,json=isMandatory,proto3" json:"is_mandatory,omitempty"` - PermissionResource ExtensionItem_PermissionResource `protobuf:"varint,9,opt,name=permission_resource,json=permissionResource,proto3,enum=com.coralogix.extensions.v1.ExtensionItem_PermissionResource" json:"permission_resource,omitempty"` - ExtendedInternalId *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=extended_internal_id,json=extendedInternalId,proto3" json:"extended_internal_id,omitempty"` - UniqueId *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` -} - -func (x *ExtensionItem) Reset() { - *x = ExtensionItem{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtensionItem) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionItem) ProtoMessage() {} - -func (x *ExtensionItem) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ExtensionItem.ProtoReflect.Descriptor instead. -func (*ExtensionItem) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{1} -} - -func (x *ExtensionItem) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *ExtensionItem) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *ExtensionItem) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *ExtensionItem) GetTargetDomain() TargetDomain { - if x != nil { - return x.TargetDomain - } - return TargetDomain_ACTION -} - -func (x *ExtensionItem) GetData() *structpb.Struct { - if x != nil { - return x.Data - } - return nil -} - -func (x *ExtensionItem) GetBinaries() []*ExtensionItemBinary { - if x != nil { - return x.Binaries - } - return nil -} - -func (x *ExtensionItem) GetIsMandatory() *wrapperspb.BoolValue { - if x != nil { - return x.IsMandatory - } - return nil -} - -func (x *ExtensionItem) GetPermissionResource() ExtensionItem_PermissionResource { - if x != nil { - return x.PermissionResource - } - return ExtensionItem_UNKNOWN -} - -func (x *ExtensionItem) GetExtendedInternalId() *wrapperspb.StringValue { - if x != nil { - return x.ExtendedInternalId - } - return nil -} - -func (x *ExtensionItem) GetUniqueId() *wrapperspb.StringValue { - if x != nil { - return x.UniqueId - } - return nil -} - -type ItemCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Actions *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=actions,proto3" json:"actions,omitempty"` - Alerts *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=alerts,proto3" json:"alerts,omitempty"` - CustomDashboards *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=custom_dashboards,json=customDashboards,proto3" json:"custom_dashboards,omitempty"` - Enrichments *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=enrichments,proto3" json:"enrichments,omitempty"` - EventsToMetrics *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=events_to_metrics,json=eventsToMetrics,proto3" json:"events_to_metrics,omitempty"` - GrafanaDashboards *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=grafana_dashboards,json=grafanaDashboards,proto3" json:"grafana_dashboards,omitempty"` - KibanaDashboards *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=kibana_dashboards,json=kibanaDashboards,proto3" json:"kibana_dashboards,omitempty"` - MetricsRuleGroup *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=metrics_rule_group,json=metricsRuleGroup,proto3" json:"metrics_rule_group,omitempty"` - ParsingRules *wrapperspb.UInt32Value `protobuf:"bytes,9,opt,name=parsing_rules,json=parsingRules,proto3" json:"parsing_rules,omitempty"` - SavedViews *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=saved_views,json=savedViews,proto3" json:"saved_views,omitempty"` -} - -func (x *ItemCounts) Reset() { - *x = ItemCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ItemCounts) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ItemCounts) ProtoMessage() {} - -func (x *ItemCounts) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ItemCounts.ProtoReflect.Descriptor instead. -func (*ItemCounts) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{2} -} - -func (x *ItemCounts) GetActions() *wrapperspb.UInt32Value { - if x != nil { - return x.Actions - } - return nil -} - -func (x *ItemCounts) GetAlerts() *wrapperspb.UInt32Value { - if x != nil { - return x.Alerts - } - return nil -} - -func (x *ItemCounts) GetCustomDashboards() *wrapperspb.UInt32Value { - if x != nil { - return x.CustomDashboards - } - return nil -} - -func (x *ItemCounts) GetEnrichments() *wrapperspb.UInt32Value { - if x != nil { - return x.Enrichments - } - return nil -} - -func (x *ItemCounts) GetEventsToMetrics() *wrapperspb.UInt32Value { - if x != nil { - return x.EventsToMetrics - } - return nil -} - -func (x *ItemCounts) GetGrafanaDashboards() *wrapperspb.UInt32Value { - if x != nil { - return x.GrafanaDashboards - } - return nil -} - -func (x *ItemCounts) GetKibanaDashboards() *wrapperspb.UInt32Value { - if x != nil { - return x.KibanaDashboards - } - return nil -} - -func (x *ItemCounts) GetMetricsRuleGroup() *wrapperspb.UInt32Value { - if x != nil { - return x.MetricsRuleGroup - } - return nil -} - -func (x *ItemCounts) GetParsingRules() *wrapperspb.UInt32Value { - if x != nil { - return x.ParsingRules - } - return nil -} - -func (x *ItemCounts) GetSavedViews() *wrapperspb.UInt32Value { - if x != nil { - return x.SavedViews - } - return nil -} - -type IntegrationDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Link *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` -} - -func (x *IntegrationDetail) Reset() { - *x = IntegrationDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationDetail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationDetail) ProtoMessage() {} - -func (x *IntegrationDetail) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 IntegrationDetail.ProtoReflect.Descriptor instead. -func (*IntegrationDetail) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{3} -} - -func (x *IntegrationDetail) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *IntegrationDetail) GetLink() *wrapperspb.StringValue { - if x != nil { - return x.Link - } - return nil -} - -type ExtensionBinary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type ExtensionBinary_BinaryType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.extensions.v1.ExtensionBinary_BinaryType" json:"type,omitempty"` - Data *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *ExtensionBinary) Reset() { - *x = ExtensionBinary{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtensionBinary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionBinary) ProtoMessage() {} - -func (x *ExtensionBinary) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ExtensionBinary.ProtoReflect.Descriptor instead. -func (*ExtensionBinary) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{4} -} - -func (x *ExtensionBinary) GetType() ExtensionBinary_BinaryType { - if x != nil { - return x.Type - } - return ExtensionBinary_KIBANA_INDEX_PATTERN -} - -func (x *ExtensionBinary) GetData() *wrapperspb.StringValue { - if x != nil { - return x.Data - } - return nil -} - -type ChangelogEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - DescriptionMd *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description_md,json=descriptionMd,proto3" json:"description_md,omitempty"` -} - -func (x *ChangelogEntry) Reset() { - *x = ChangelogEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangelogEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangelogEntry) ProtoMessage() {} - -func (x *ChangelogEntry) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ChangelogEntry.ProtoReflect.Descriptor instead. -func (*ChangelogEntry) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{5} -} - -func (x *ChangelogEntry) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version - } - return nil -} - -func (x *ChangelogEntry) GetDescriptionMd() *wrapperspb.StringValue { - if x != nil { - return x.DescriptionMd - } - return nil -} - -type Deprecation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Reason *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - ReplacementExtensions []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=replacement_extensions,json=replacementExtensions,proto3" json:"replacement_extensions,omitempty"` -} - -func (x *Deprecation) Reset() { - *x = Deprecation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Deprecation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Deprecation) ProtoMessage() {} - -func (x *Deprecation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 Deprecation.ProtoReflect.Descriptor instead. -func (*Deprecation) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{6} -} - -func (x *Deprecation) GetReason() *wrapperspb.StringValue { - if x != nil { - return x.Reason - } - return nil -} - -func (x *Deprecation) GetReplacementExtensions() []*wrapperspb.StringValue { - if x != nil { - return x.ReplacementExtensions - } - return nil -} - -type ExtensionRevision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Excerpt *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=excerpt,proto3" json:"excerpt,omitempty"` - Labels []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` - IntegrationDetails []*IntegrationDetail `protobuf:"bytes,5,rep,name=integration_details,json=integrationDetails,proto3" json:"integration_details,omitempty"` - Items []*ExtensionItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"` - Binaries []*ExtensionBinary `protobuf:"bytes,7,rep,name=binaries,proto3" json:"binaries,omitempty"` - PermissionDeniedItems []*ExtensionItem `protobuf:"bytes,8,rep,name=permission_denied_items,json=permissionDeniedItems,proto3" json:"permission_denied_items,omitempty"` - IsTesting *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=is_testing,json=isTesting,proto3" json:"is_testing,omitempty"` -} - -func (x *ExtensionRevision) Reset() { - *x = ExtensionRevision{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtensionRevision) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionRevision) ProtoMessage() {} - -func (x *ExtensionRevision) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ExtensionRevision.ProtoReflect.Descriptor instead. -func (*ExtensionRevision) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{7} -} - -func (x *ExtensionRevision) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version - } - return nil -} - -func (x *ExtensionRevision) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *ExtensionRevision) GetExcerpt() *wrapperspb.StringValue { - if x != nil { - return x.Excerpt - } - return nil -} - -func (x *ExtensionRevision) GetLabels() []*wrapperspb.StringValue { - if x != nil { - return x.Labels - } - return nil -} - -func (x *ExtensionRevision) GetIntegrationDetails() []*IntegrationDetail { - if x != nil { - return x.IntegrationDetails - } - return nil -} - -func (x *ExtensionRevision) GetItems() []*ExtensionItem { - if x != nil { - return x.Items - } - return nil -} - -func (x *ExtensionRevision) GetBinaries() []*ExtensionBinary { - if x != nil { - return x.Binaries - } - return nil -} - -func (x *ExtensionRevision) GetPermissionDeniedItems() []*ExtensionItem { - if x != nil { - return x.PermissionDeniedItems - } - return nil -} - -func (x *ExtensionRevision) GetIsTesting() *wrapperspb.BoolValue { - if x != nil { - return x.IsTesting - } - return nil -} - -type Extension 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"` - Image *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` - DarkModeImage *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=dark_mode_image,json=darkModeImage,proto3" json:"dark_mode_image,omitempty"` - Revisions []*ExtensionRevision `protobuf:"bytes,5,rep,name=revisions,proto3" json:"revisions,omitempty"` - IsHidden *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` - Integrations []string `protobuf:"bytes,7,rep,name=integrations,proto3" json:"integrations,omitempty"` - Keywords []*wrapperspb.StringValue `protobuf:"bytes,8,rep,name=keywords,proto3" json:"keywords,omitempty"` - PermissionDeniedRevisions []*ExtensionRevision `protobuf:"bytes,9,rep,name=permission_denied_revisions,json=permissionDeniedRevisions,proto3" json:"permission_denied_revisions,omitempty"` - Changelog []*ChangelogEntry `protobuf:"bytes,10,rep,name=changelog,proto3" json:"changelog,omitempty"` - Deprecation *Deprecation `protobuf:"bytes,11,opt,name=deprecation,proto3" json:"deprecation,omitempty"` -} - -func (x *Extension) Reset() { - *x = Extension{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Extension) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Extension) ProtoMessage() {} - -func (x *Extension) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 Extension.ProtoReflect.Descriptor instead. -func (*Extension) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{8} -} - -func (x *Extension) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Extension) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Extension) GetImage() *wrapperspb.StringValue { - if x != nil { - return x.Image - } - return nil -} - -func (x *Extension) GetDarkModeImage() *wrapperspb.StringValue { - if x != nil { - return x.DarkModeImage - } - return nil -} - -func (x *Extension) GetRevisions() []*ExtensionRevision { - if x != nil { - return x.Revisions - } - return nil -} - -func (x *Extension) GetIsHidden() *wrapperspb.BoolValue { - if x != nil { - return x.IsHidden - } - return nil -} - -func (x *Extension) GetIntegrations() []string { - if x != nil { - return x.Integrations - } - return nil -} - -func (x *Extension) GetKeywords() []*wrapperspb.StringValue { - if x != nil { - return x.Keywords - } - return nil -} - -func (x *Extension) GetPermissionDeniedRevisions() []*ExtensionRevision { - if x != nil { - return x.PermissionDeniedRevisions - } - return nil -} - -func (x *Extension) GetChangelog() []*ChangelogEntry { - if x != nil { - return x.Changelog - } - return nil -} - -func (x *Extension) GetDeprecation() *Deprecation { - if x != nil { - return x.Deprecation - } - return nil -} - -// Extension details for ingestion -type ExtensionData 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Excerpt *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=excerpt,proto3" json:"excerpt,omitempty"` - Image *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` - DarkModeImage *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=dark_mode_image,json=darkModeImage,proto3" json:"dark_mode_image,omitempty"` - Labels []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"` - Version *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` - Items []*ExtensionItemData `protobuf:"bytes,9,rep,name=items,proto3" json:"items,omitempty"` - IntegrationDetails []*IntegrationDetail `protobuf:"bytes,10,rep,name=integration_details,json=integrationDetails,proto3" json:"integration_details,omitempty"` - IsHidden *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` - Binaries []*ExtensionBinary `protobuf:"bytes,12,rep,name=binaries,proto3" json:"binaries,omitempty"` - Integrations []string `protobuf:"bytes,13,rep,name=integrations,proto3" json:"integrations,omitempty"` - Keywords []*wrapperspb.StringValue `protobuf:"bytes,14,rep,name=keywords,proto3" json:"keywords,omitempty"` - Changelog []*ChangelogEntry `protobuf:"bytes,15,rep,name=changelog,proto3" json:"changelog,omitempty"` - Deprecation *Deprecation `protobuf:"bytes,16,opt,name=deprecation,proto3" json:"deprecation,omitempty"` -} - -func (x *ExtensionData) Reset() { - *x = ExtensionData{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtensionData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionData) ProtoMessage() {} - -func (x *ExtensionData) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ExtensionData.ProtoReflect.Descriptor instead. -func (*ExtensionData) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{9} -} - -func (x *ExtensionData) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *ExtensionData) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *ExtensionData) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *ExtensionData) GetExcerpt() *wrapperspb.StringValue { - if x != nil { - return x.Excerpt - } - return nil -} - -func (x *ExtensionData) GetImage() *wrapperspb.StringValue { - if x != nil { - return x.Image - } - return nil -} - -func (x *ExtensionData) GetDarkModeImage() *wrapperspb.StringValue { - if x != nil { - return x.DarkModeImage - } - return nil -} - -func (x *ExtensionData) GetLabels() []*wrapperspb.StringValue { - if x != nil { - return x.Labels - } - return nil -} - -func (x *ExtensionData) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version - } - return nil -} - -func (x *ExtensionData) GetItems() []*ExtensionItemData { - if x != nil { - return x.Items - } - return nil -} - -func (x *ExtensionData) GetIntegrationDetails() []*IntegrationDetail { - if x != nil { - return x.IntegrationDetails - } - return nil -} - -func (x *ExtensionData) GetIsHidden() *wrapperspb.BoolValue { - if x != nil { - return x.IsHidden - } - return nil -} - -func (x *ExtensionData) GetBinaries() []*ExtensionBinary { - if x != nil { - return x.Binaries - } - return nil -} - -func (x *ExtensionData) GetIntegrations() []string { - if x != nil { - return x.Integrations - } - return nil -} - -func (x *ExtensionData) GetKeywords() []*wrapperspb.StringValue { - if x != nil { - return x.Keywords - } - return nil -} - -func (x *ExtensionData) GetChangelog() []*ChangelogEntry { - if x != nil { - return x.Changelog - } - return nil -} - -func (x *ExtensionData) GetDeprecation() *Deprecation { - if x != nil { - return x.Deprecation - } - return nil -} - -type ExtensionItemData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - TargetDomain TargetDomain `protobuf:"varint,3,opt,name=target_domain,json=targetDomain,proto3,enum=com.coralogix.extensions.v1.TargetDomain" json:"target_domain,omitempty"` - Data *structpb.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - Binaries []*ExtensionItemBinary `protobuf:"bytes,5,rep,name=binaries,proto3" json:"binaries,omitempty"` - IsMandatory *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=is_mandatory,json=isMandatory,proto3" json:"is_mandatory,omitempty"` - InternalId *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=internal_id,json=internalId,proto3" json:"internal_id,omitempty"` - UniqueId *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` - PermissionResource ExtensionItem_PermissionResource `protobuf:"varint,9,opt,name=permission_resource,json=permissionResource,proto3,enum=com.coralogix.extensions.v1.ExtensionItem_PermissionResource" json:"permission_resource,omitempty"` -} - -func (x *ExtensionItemData) Reset() { - *x = ExtensionItemData{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_extensions_v1_extension_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtensionItemData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtensionItemData) ProtoMessage() {} - -func (x *ExtensionItemData) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_extensions_v1_extension_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 ExtensionItemData.ProtoReflect.Descriptor instead. -func (*ExtensionItemData) Descriptor() ([]byte, []int) { - return file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP(), []int{10} -} - -func (x *ExtensionItemData) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *ExtensionItemData) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *ExtensionItemData) GetTargetDomain() TargetDomain { - if x != nil { - return x.TargetDomain - } - return TargetDomain_ACTION -} - -func (x *ExtensionItemData) GetData() *structpb.Struct { - if x != nil { - return x.Data - } - return nil -} - -func (x *ExtensionItemData) GetBinaries() []*ExtensionItemBinary { - if x != nil { - return x.Binaries - } - return nil -} - -func (x *ExtensionItemData) GetIsMandatory() *wrapperspb.BoolValue { - if x != nil { - return x.IsMandatory - } - return nil -} - -func (x *ExtensionItemData) GetInternalId() *wrapperspb.Int32Value { - if x != nil { - return x.InternalId - } - return nil -} - -func (x *ExtensionItemData) GetUniqueId() *wrapperspb.StringValue { - if x != nil { - return x.UniqueId - } - return nil -} - -func (x *ExtensionItemData) GetPermissionResource() ExtensionItem_PermissionResource { - if x != nil { - return x.PermissionResource - } - return ExtensionItem_UNKNOWN -} - -var File_com_coralogix_extensions_v1_extension_proto protoreflect.FileDescriptor - -var file_com_coralogix_extensions_v1_extension_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 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, 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, 0x22, 0xf0, 0x02, 0x0a, 0x13, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, - 0x12, 0x4f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, - 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 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, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x09, 0x66, 0x69, 0x6c, 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, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x9a, - 0x01, 0x0a, 0x0a, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, - 0x0d, 0x50, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x00, - 0x12, 0x1f, 0x0a, 0x1b, 0x4b, 0x49, 0x42, 0x41, 0x4e, 0x41, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, - 0x4f, 0x41, 0x52, 0x44, 0x5f, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x47, 0x52, 0x41, 0x46, 0x41, 0x4e, 0x41, 0x5f, 0x44, 0x41, 0x53, - 0x48, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x5f, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x4f, - 0x4e, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x4e, 0x52, 0x49, 0x43, 0x48, 0x4d, 0x45, 0x4e, - 0x54, 0x5f, 0x43, 0x53, 0x56, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x58, 0x5f, 0x43, 0x55, - 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x5f, 0x44, - 0x45, 0x46, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0xa6, 0x08, 0x0a, 0x0d, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 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, 0x4e, 0x0a, - 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, - 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x2b, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 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, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x08, 0x62, 0x69, - 0x6e, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x52, 0x08, - 0x62, 0x69, 0x6e, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x6d, - 0x61, 0x6e, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x79, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x69, 0x73, 0x4d, 0x61, - 0x6e, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x6e, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, - 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x52, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x64, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 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, 0x12, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x75, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 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, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, - 0x49, 0x64, 0x22, 0xdc, 0x02, 0x0a, 0x12, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, - 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, - 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x10, 0x02, 0x12, 0x15, 0x0a, - 0x11, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x45, 0x4e, 0x52, 0x49, 0x43, 0x48, 0x4d, 0x45, - 0x4e, 0x54, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x45, 0x4f, 0x5f, 0x45, 0x4e, 0x52, 0x49, - 0x43, 0x48, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x43, 0x55, - 0x52, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x4e, 0x52, 0x49, 0x43, 0x48, 0x4d, 0x45, 0x4e, 0x54, 0x10, - 0x05, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x43, 0x4c, - 0x4f, 0x55, 0x44, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x45, 0x4e, 0x52, - 0x49, 0x43, 0x48, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x47, 0x52, 0x41, - 0x46, 0x41, 0x4e, 0x41, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x10, 0x07, - 0x12, 0x14, 0x0a, 0x10, 0x4b, 0x49, 0x42, 0x41, 0x4e, 0x41, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, - 0x4f, 0x41, 0x52, 0x44, 0x10, 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x41, 0x52, 0x53, 0x49, 0x4e, - 0x47, 0x5f, 0x52, 0x55, 0x4c, 0x45, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x41, 0x56, 0x45, - 0x44, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x58, 0x5f, 0x43, - 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x10, - 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x5f, 0x52, 0x55, 0x4c, - 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x0c, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x50, 0x41, - 0x4e, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x54, 0x4f, 0x5f, 0x4d, 0x45, 0x54, 0x52, - 0x49, 0x43, 0x53, 0x10, 0x0d, 0x12, 0x1a, 0x0a, 0x16, 0x4c, 0x4f, 0x47, 0x53, 0x5f, 0x45, 0x56, - 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x54, 0x4f, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x10, - 0x0e, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x5f, 0x69, 0x64, 0x22, 0xb5, 0x05, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x61, - 0x6c, 0x65, 0x72, 0x74, 0x73, 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, 0x55, 0x49, - 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x73, 0x12, 0x49, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x64, 0x61, 0x73, 0x68, - 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 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, 0x55, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x3e, 0x0a, 0x0b, - 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x0b, 0x65, 0x6e, 0x72, 0x69, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x11, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x6f, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x4b, 0x0a, 0x12, 0x67, 0x72, 0x61, 0x66, 0x61, 0x6e, - 0x61, 0x5f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x11, 0x67, 0x72, 0x61, 0x66, 0x61, 0x6e, 0x61, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x6b, 0x69, 0x62, 0x61, 0x6e, 0x61, 0x5f, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x6b, 0x69, - 0x62, 0x61, 0x6e, 0x61, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x4a, - 0x0a, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, - 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x41, 0x0a, 0x0d, 0x70, 0x61, - 0x72, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x0c, 0x70, 0x61, 0x72, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3d, 0x0a, - 0x0b, 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x0a, 0x73, 0x61, 0x76, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0x77, 0x0a, 0x11, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 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, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0xb8, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, - 0x69, 0x6e, 0x61, 0x72, 0x79, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 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, 0x64, 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a, 0x0a, 0x42, 0x69, 0x6e, 0x61, - 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4b, 0x49, 0x42, 0x41, 0x4e, 0x41, - 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x5f, 0x50, 0x41, 0x54, 0x54, 0x45, 0x52, 0x4e, 0x10, 0x00, - 0x22, 0x8d, 0x01, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0e, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 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, 0x0d, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x64, - 0x22, 0x98, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x34, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 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, - 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x16, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x02, 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, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x85, 0x05, 0x0a, 0x11, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x65, 0x78, 0x63, - 0x65, 0x72, 0x70, 0x74, 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, 0x07, 0x65, 0x78, 0x63, 0x65, 0x72, 0x70, - 0x74, 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, 0x12, 0x5f, 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x52, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, - 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, - 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x48, 0x0a, 0x08, 0x62, 0x69, - 0x6e, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x61, - 0x72, 0x69, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x17, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, - 0x6d, 0x52, 0x15, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6e, - 0x69, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x74, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x09, 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, 0x54, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x22, 0xd1, 0x05, 0x0a, 0x09, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 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, 0x32, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 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, 0x05, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x64, 0x61, 0x72, 0x6b, 0x5f, 0x6d, 0x6f, - 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 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, 0x64, 0x61, - 0x72, 0x6b, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x72, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73, 0x5f, - 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 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, 0x48, 0x69, 0x64, 0x64, - 0x65, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, - 0x64, 0x73, 0x18, 0x08, 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, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, - 0x12, 0x6e, 0x0a, 0x1b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, - 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x19, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x44, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x49, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x18, 0x0a, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x4a, 0x0a, 0x0b, 0x64, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x72, - 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xee, 0x07, 0x0a, 0x0d, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 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, 0x36, 0x0a, 0x07, 0x65, 0x78, 0x63, - 0x65, 0x72, 0x70, 0x74, 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, 0x07, 0x65, 0x78, 0x63, 0x65, 0x72, 0x70, - 0x74, 0x12, 0x32, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 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, 0x05, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x64, 0x61, 0x72, 0x6b, 0x5f, 0x6d, 0x6f, - 0x64, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 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, 0x0d, 0x64, 0x61, - 0x72, 0x6b, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 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, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 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, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x05, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, - 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, - 0x5f, 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x12, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x0b, 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, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x48, 0x0a, 0x08, 0x62, 0x69, 0x6e, - 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x61, 0x72, - 0x69, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, - 0x72, 0x64, 0x73, 0x18, 0x0e, 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, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, - 0x73, 0x12, 0x49, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x18, 0x0f, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x4a, 0x0a, 0x0b, - 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x70, - 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf8, 0x04, 0x0a, 0x11, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x30, - 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x4e, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, - 0x69, 0x6e, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, - 0x12, 0x2b, 0x0a, 0x04, 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, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4c, 0x0a, - 0x08, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x42, 0x69, 0x6e, 0x61, 0x72, - 0x79, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x69, - 0x73, 0x5f, 0x6d, 0x61, 0x6e, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x79, 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, 0x0b, 0x69, - 0x73, 0x4d, 0x61, 0x6e, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3c, 0x0a, 0x0b, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 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, 0x0a, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x75, 0x6e, 0x69, 0x71, - 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 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, 0x75, 0x6e, 0x69, 0x71, 0x75, - 0x65, 0x49, 0x64, 0x12, 0x6e, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, - 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x2a, 0xe3, 0x01, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6f, - 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x00, - 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x45, 0x52, 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x45, - 0x4e, 0x52, 0x49, 0x43, 0x48, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x47, - 0x52, 0x41, 0x46, 0x41, 0x4e, 0x41, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, 0x4f, 0x41, 0x52, 0x44, - 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x4b, 0x49, 0x42, 0x41, 0x4e, 0x41, 0x5f, 0x44, 0x41, 0x53, - 0x48, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x41, 0x52, 0x53, - 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x55, 0x4c, 0x45, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x41, - 0x56, 0x45, 0x44, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x58, - 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x44, 0x41, 0x53, 0x48, 0x42, 0x4f, 0x41, 0x52, - 0x44, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x5f, 0x52, - 0x55, 0x4c, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x09, 0x12, 0x15, 0x0a, 0x11, 0x45, - 0x56, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x54, 0x4f, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, - 0x10, 0x0a, 0x22, 0x04, 0x08, 0x05, 0x10, 0x05, 0x2a, 0x0f, 0x4c, 0x4f, 0x47, 0x53, 0x5f, 0x54, - 0x4f, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_extensions_v1_extension_proto_rawDescOnce sync.Once - file_com_coralogix_extensions_v1_extension_proto_rawDescData = file_com_coralogix_extensions_v1_extension_proto_rawDesc -) - -func file_com_coralogix_extensions_v1_extension_proto_rawDescGZIP() []byte { - file_com_coralogix_extensions_v1_extension_proto_rawDescOnce.Do(func() { - file_com_coralogix_extensions_v1_extension_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_extensions_v1_extension_proto_rawDescData) - }) - return file_com_coralogix_extensions_v1_extension_proto_rawDescData -} - -var file_com_coralogix_extensions_v1_extension_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_com_coralogix_extensions_v1_extension_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_com_coralogix_extensions_v1_extension_proto_goTypes = []any{ - (TargetDomain)(0), // 0: com.coralogix.extensions.v1.TargetDomain - (ExtensionItemBinary_BinaryType)(0), // 1: com.coralogix.extensions.v1.ExtensionItemBinary.BinaryType - (ExtensionItem_PermissionResource)(0), // 2: com.coralogix.extensions.v1.ExtensionItem.PermissionResource - (ExtensionBinary_BinaryType)(0), // 3: com.coralogix.extensions.v1.ExtensionBinary.BinaryType - (*ExtensionItemBinary)(nil), // 4: com.coralogix.extensions.v1.ExtensionItemBinary - (*ExtensionItem)(nil), // 5: com.coralogix.extensions.v1.ExtensionItem - (*ItemCounts)(nil), // 6: com.coralogix.extensions.v1.ItemCounts - (*IntegrationDetail)(nil), // 7: com.coralogix.extensions.v1.IntegrationDetail - (*ExtensionBinary)(nil), // 8: com.coralogix.extensions.v1.ExtensionBinary - (*ChangelogEntry)(nil), // 9: com.coralogix.extensions.v1.ChangelogEntry - (*Deprecation)(nil), // 10: com.coralogix.extensions.v1.Deprecation - (*ExtensionRevision)(nil), // 11: com.coralogix.extensions.v1.ExtensionRevision - (*Extension)(nil), // 12: com.coralogix.extensions.v1.Extension - (*ExtensionData)(nil), // 13: com.coralogix.extensions.v1.ExtensionData - (*ExtensionItemData)(nil), // 14: com.coralogix.extensions.v1.ExtensionItemData - (*wrapperspb.StringValue)(nil), // 15: google.protobuf.StringValue - (*structpb.Struct)(nil), // 16: google.protobuf.Struct - (*wrapperspb.BoolValue)(nil), // 17: google.protobuf.BoolValue - (*wrapperspb.UInt32Value)(nil), // 18: google.protobuf.UInt32Value - (*wrapperspb.Int32Value)(nil), // 19: google.protobuf.Int32Value -} -var file_com_coralogix_extensions_v1_extension_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.extensions.v1.ExtensionItemBinary.type:type_name -> com.coralogix.extensions.v1.ExtensionItemBinary.BinaryType - 15, // 1: com.coralogix.extensions.v1.ExtensionItemBinary.data:type_name -> google.protobuf.StringValue - 15, // 2: com.coralogix.extensions.v1.ExtensionItemBinary.file_name:type_name -> google.protobuf.StringValue - 15, // 3: com.coralogix.extensions.v1.ExtensionItem.id:type_name -> google.protobuf.StringValue - 15, // 4: com.coralogix.extensions.v1.ExtensionItem.name:type_name -> google.protobuf.StringValue - 15, // 5: com.coralogix.extensions.v1.ExtensionItem.description:type_name -> google.protobuf.StringValue - 0, // 6: com.coralogix.extensions.v1.ExtensionItem.target_domain:type_name -> com.coralogix.extensions.v1.TargetDomain - 16, // 7: com.coralogix.extensions.v1.ExtensionItem.data:type_name -> google.protobuf.Struct - 4, // 8: com.coralogix.extensions.v1.ExtensionItem.binaries:type_name -> com.coralogix.extensions.v1.ExtensionItemBinary - 17, // 9: com.coralogix.extensions.v1.ExtensionItem.is_mandatory:type_name -> google.protobuf.BoolValue - 2, // 10: com.coralogix.extensions.v1.ExtensionItem.permission_resource:type_name -> com.coralogix.extensions.v1.ExtensionItem.PermissionResource - 15, // 11: com.coralogix.extensions.v1.ExtensionItem.extended_internal_id:type_name -> google.protobuf.StringValue - 15, // 12: com.coralogix.extensions.v1.ExtensionItem.unique_id:type_name -> google.protobuf.StringValue - 18, // 13: com.coralogix.extensions.v1.ItemCounts.actions:type_name -> google.protobuf.UInt32Value - 18, // 14: com.coralogix.extensions.v1.ItemCounts.alerts:type_name -> google.protobuf.UInt32Value - 18, // 15: com.coralogix.extensions.v1.ItemCounts.custom_dashboards:type_name -> google.protobuf.UInt32Value - 18, // 16: com.coralogix.extensions.v1.ItemCounts.enrichments:type_name -> google.protobuf.UInt32Value - 18, // 17: com.coralogix.extensions.v1.ItemCounts.events_to_metrics:type_name -> google.protobuf.UInt32Value - 18, // 18: com.coralogix.extensions.v1.ItemCounts.grafana_dashboards:type_name -> google.protobuf.UInt32Value - 18, // 19: com.coralogix.extensions.v1.ItemCounts.kibana_dashboards:type_name -> google.protobuf.UInt32Value - 18, // 20: com.coralogix.extensions.v1.ItemCounts.metrics_rule_group:type_name -> google.protobuf.UInt32Value - 18, // 21: com.coralogix.extensions.v1.ItemCounts.parsing_rules:type_name -> google.protobuf.UInt32Value - 18, // 22: com.coralogix.extensions.v1.ItemCounts.saved_views:type_name -> google.protobuf.UInt32Value - 15, // 23: com.coralogix.extensions.v1.IntegrationDetail.name:type_name -> google.protobuf.StringValue - 15, // 24: com.coralogix.extensions.v1.IntegrationDetail.link:type_name -> google.protobuf.StringValue - 3, // 25: com.coralogix.extensions.v1.ExtensionBinary.type:type_name -> com.coralogix.extensions.v1.ExtensionBinary.BinaryType - 15, // 26: com.coralogix.extensions.v1.ExtensionBinary.data:type_name -> google.protobuf.StringValue - 15, // 27: com.coralogix.extensions.v1.ChangelogEntry.version:type_name -> google.protobuf.StringValue - 15, // 28: com.coralogix.extensions.v1.ChangelogEntry.description_md:type_name -> google.protobuf.StringValue - 15, // 29: com.coralogix.extensions.v1.Deprecation.reason:type_name -> google.protobuf.StringValue - 15, // 30: com.coralogix.extensions.v1.Deprecation.replacement_extensions:type_name -> google.protobuf.StringValue - 15, // 31: com.coralogix.extensions.v1.ExtensionRevision.version:type_name -> google.protobuf.StringValue - 15, // 32: com.coralogix.extensions.v1.ExtensionRevision.description:type_name -> google.protobuf.StringValue - 15, // 33: com.coralogix.extensions.v1.ExtensionRevision.excerpt:type_name -> google.protobuf.StringValue - 15, // 34: com.coralogix.extensions.v1.ExtensionRevision.labels:type_name -> google.protobuf.StringValue - 7, // 35: com.coralogix.extensions.v1.ExtensionRevision.integration_details:type_name -> com.coralogix.extensions.v1.IntegrationDetail - 5, // 36: com.coralogix.extensions.v1.ExtensionRevision.items:type_name -> com.coralogix.extensions.v1.ExtensionItem - 8, // 37: com.coralogix.extensions.v1.ExtensionRevision.binaries:type_name -> com.coralogix.extensions.v1.ExtensionBinary - 5, // 38: com.coralogix.extensions.v1.ExtensionRevision.permission_denied_items:type_name -> com.coralogix.extensions.v1.ExtensionItem - 17, // 39: com.coralogix.extensions.v1.ExtensionRevision.is_testing:type_name -> google.protobuf.BoolValue - 15, // 40: com.coralogix.extensions.v1.Extension.id:type_name -> google.protobuf.StringValue - 15, // 41: com.coralogix.extensions.v1.Extension.name:type_name -> google.protobuf.StringValue - 15, // 42: com.coralogix.extensions.v1.Extension.image:type_name -> google.protobuf.StringValue - 15, // 43: com.coralogix.extensions.v1.Extension.dark_mode_image:type_name -> google.protobuf.StringValue - 11, // 44: com.coralogix.extensions.v1.Extension.revisions:type_name -> com.coralogix.extensions.v1.ExtensionRevision - 17, // 45: com.coralogix.extensions.v1.Extension.is_hidden:type_name -> google.protobuf.BoolValue - 15, // 46: com.coralogix.extensions.v1.Extension.keywords:type_name -> google.protobuf.StringValue - 11, // 47: com.coralogix.extensions.v1.Extension.permission_denied_revisions:type_name -> com.coralogix.extensions.v1.ExtensionRevision - 9, // 48: com.coralogix.extensions.v1.Extension.changelog:type_name -> com.coralogix.extensions.v1.ChangelogEntry - 10, // 49: com.coralogix.extensions.v1.Extension.deprecation:type_name -> com.coralogix.extensions.v1.Deprecation - 15, // 50: com.coralogix.extensions.v1.ExtensionData.id:type_name -> google.protobuf.StringValue - 15, // 51: com.coralogix.extensions.v1.ExtensionData.name:type_name -> google.protobuf.StringValue - 15, // 52: com.coralogix.extensions.v1.ExtensionData.description:type_name -> google.protobuf.StringValue - 15, // 53: com.coralogix.extensions.v1.ExtensionData.excerpt:type_name -> google.protobuf.StringValue - 15, // 54: com.coralogix.extensions.v1.ExtensionData.image:type_name -> google.protobuf.StringValue - 15, // 55: com.coralogix.extensions.v1.ExtensionData.dark_mode_image:type_name -> google.protobuf.StringValue - 15, // 56: com.coralogix.extensions.v1.ExtensionData.labels:type_name -> google.protobuf.StringValue - 15, // 57: com.coralogix.extensions.v1.ExtensionData.version:type_name -> google.protobuf.StringValue - 14, // 58: com.coralogix.extensions.v1.ExtensionData.items:type_name -> com.coralogix.extensions.v1.ExtensionItemData - 7, // 59: com.coralogix.extensions.v1.ExtensionData.integration_details:type_name -> com.coralogix.extensions.v1.IntegrationDetail - 17, // 60: com.coralogix.extensions.v1.ExtensionData.is_hidden:type_name -> google.protobuf.BoolValue - 8, // 61: com.coralogix.extensions.v1.ExtensionData.binaries:type_name -> com.coralogix.extensions.v1.ExtensionBinary - 15, // 62: com.coralogix.extensions.v1.ExtensionData.keywords:type_name -> google.protobuf.StringValue - 9, // 63: com.coralogix.extensions.v1.ExtensionData.changelog:type_name -> com.coralogix.extensions.v1.ChangelogEntry - 10, // 64: com.coralogix.extensions.v1.ExtensionData.deprecation:type_name -> com.coralogix.extensions.v1.Deprecation - 15, // 65: com.coralogix.extensions.v1.ExtensionItemData.name:type_name -> google.protobuf.StringValue - 15, // 66: com.coralogix.extensions.v1.ExtensionItemData.description:type_name -> google.protobuf.StringValue - 0, // 67: com.coralogix.extensions.v1.ExtensionItemData.target_domain:type_name -> com.coralogix.extensions.v1.TargetDomain - 16, // 68: com.coralogix.extensions.v1.ExtensionItemData.data:type_name -> google.protobuf.Struct - 4, // 69: com.coralogix.extensions.v1.ExtensionItemData.binaries:type_name -> com.coralogix.extensions.v1.ExtensionItemBinary - 17, // 70: com.coralogix.extensions.v1.ExtensionItemData.is_mandatory:type_name -> google.protobuf.BoolValue - 19, // 71: com.coralogix.extensions.v1.ExtensionItemData.internal_id:type_name -> google.protobuf.Int32Value - 15, // 72: com.coralogix.extensions.v1.ExtensionItemData.unique_id:type_name -> google.protobuf.StringValue - 2, // 73: com.coralogix.extensions.v1.ExtensionItemData.permission_resource:type_name -> com.coralogix.extensions.v1.ExtensionItem.PermissionResource - 74, // [74:74] is the sub-list for method output_type - 74, // [74:74] is the sub-list for method input_type - 74, // [74:74] is the sub-list for extension type_name - 74, // [74:74] is the sub-list for extension extendee - 0, // [0:74] is the sub-list for field type_name -} - -func init() { file_com_coralogix_extensions_v1_extension_proto_init() } -func file_com_coralogix_extensions_v1_extension_proto_init() { - if File_com_coralogix_extensions_v1_extension_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_extensions_v1_extension_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ExtensionItemBinary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ExtensionItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ItemCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*ExtensionBinary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*ChangelogEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*Deprecation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*ExtensionRevision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*Extension); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*ExtensionData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_extensions_v1_extension_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*ExtensionItemData); 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_coralogix_extensions_v1_extension_proto_rawDesc, - NumEnums: 4, - NumMessages: 11, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_extensions_v1_extension_proto_goTypes, - DependencyIndexes: file_com_coralogix_extensions_v1_extension_proto_depIdxs, - EnumInfos: file_com_coralogix_extensions_v1_extension_proto_enumTypes, - MessageInfos: file_com_coralogix_extensions_v1_extension_proto_msgTypes, - }.Build() - File_com_coralogix_extensions_v1_extension_proto = out.File - file_com_coralogix_extensions_v1_extension_proto_rawDesc = nil - file_com_coralogix_extensions_v1_extension_proto_goTypes = nil - file_com_coralogix_extensions_v1_extension_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/integrations/integration.pb.go b/coralogix/clientset/grpc/integrations/integration.pb.go deleted file mode 100644 index 048b8c93..00000000 --- a/coralogix/clientset/grpc/integrations/integration.pb.go +++ /dev/null @@ -1,5155 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 -// source: com/coralogix/integrations/v1/integration.proto - -package integrations - -import ( - 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 ( - // 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 ConnectionStatus int32 - -const ( - ConnectionStatus_PENDING ConnectionStatus = 0 - ConnectionStatus_ACTIVE ConnectionStatus = 1 - ConnectionStatus_FAILING ConnectionStatus = 2 - ConnectionStatus_STATUS_UNKNOWN ConnectionStatus = 3 -) - -// Enum value maps for ConnectionStatus. -var ( - ConnectionStatus_name = map[int32]string{ - 0: "PENDING", - 1: "ACTIVE", - 2: "FAILING", - 3: "STATUS_UNKNOWN", - } - ConnectionStatus_value = map[string]int32{ - "PENDING": 0, - "ACTIVE": 1, - "FAILING": 2, - "STATUS_UNKNOWN": 3, - } -) - -func (x ConnectionStatus) Enum() *ConnectionStatus { - p := new(ConnectionStatus) - *p = x - return p -} - -func (x ConnectionStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ConnectionStatus) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_integrations_v1_integration_proto_enumTypes[0].Descriptor() -} - -func (ConnectionStatus) Type() protoreflect.EnumType { - return &file_com_coralogix_integrations_v1_integration_proto_enumTypes[0] -} - -func (x ConnectionStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ConnectionStatus.Descriptor instead. -func (ConnectionStatus) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{0} -} - -type IntegrationRevision_InputType int32 - -const ( - IntegrationRevision_API_KEY IntegrationRevision_InputType = 0 - IntegrationRevision_TEXT IntegrationRevision_InputType = 1 - IntegrationRevision_LIST_TEXT IntegrationRevision_InputType = 2 - IntegrationRevision_MULTIPLE_SELECTION IntegrationRevision_InputType = 3 - IntegrationRevision_BOOLEAN IntegrationRevision_InputType = 4 - IntegrationRevision_SELECT IntegrationRevision_InputType = 5 - IntegrationRevision_JSON IntegrationRevision_InputType = 6 - IntegrationRevision_NUMBER IntegrationRevision_InputType = 7 - IntegrationRevision_SENSITIVE_DATA IntegrationRevision_InputType = 8 -) - -// Enum value maps for IntegrationRevision_InputType. -var ( - IntegrationRevision_InputType_name = map[int32]string{ - 0: "API_KEY", - 1: "TEXT", - 2: "LIST_TEXT", - 3: "MULTIPLE_SELECTION", - 4: "BOOLEAN", - 5: "SELECT", - 6: "JSON", - 7: "NUMBER", - 8: "SENSITIVE_DATA", - } - IntegrationRevision_InputType_value = map[string]int32{ - "API_KEY": 0, - "TEXT": 1, - "LIST_TEXT": 2, - "MULTIPLE_SELECTION": 3, - "BOOLEAN": 4, - "SELECT": 5, - "JSON": 6, - "NUMBER": 7, - "SENSITIVE_DATA": 8, - } -) - -func (x IntegrationRevision_InputType) Enum() *IntegrationRevision_InputType { - p := new(IntegrationRevision_InputType) - *p = x - return p -} - -func (x IntegrationRevision_InputType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (IntegrationRevision_InputType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_integrations_v1_integration_proto_enumTypes[1].Descriptor() -} - -func (IntegrationRevision_InputType) Type() protoreflect.EnumType { - return &file_com_coralogix_integrations_v1_integration_proto_enumTypes[1] -} - -func (x IntegrationRevision_InputType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use IntegrationRevision_InputType.Descriptor instead. -func (IntegrationRevision_InputType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 0} -} - -type IntegrationRevision_FieldCondition_ConditionType int32 - -const ( - IntegrationRevision_FieldCondition_UNKNOWN IntegrationRevision_FieldCondition_ConditionType = 0 - IntegrationRevision_FieldCondition_OR IntegrationRevision_FieldCondition_ConditionType = 1 - IntegrationRevision_FieldCondition_AND IntegrationRevision_FieldCondition_ConditionType = 2 -) - -// Enum value maps for IntegrationRevision_FieldCondition_ConditionType. -var ( - IntegrationRevision_FieldCondition_ConditionType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "OR", - 2: "AND", - } - IntegrationRevision_FieldCondition_ConditionType_value = map[string]int32{ - "UNKNOWN": 0, - "OR": 1, - "AND": 2, - } -) - -func (x IntegrationRevision_FieldCondition_ConditionType) Enum() *IntegrationRevision_FieldCondition_ConditionType { - p := new(IntegrationRevision_FieldCondition_ConditionType) - *p = x - return p -} - -func (x IntegrationRevision_FieldCondition_ConditionType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (IntegrationRevision_FieldCondition_ConditionType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_integrations_v1_integration_proto_enumTypes[2].Descriptor() -} - -func (IntegrationRevision_FieldCondition_ConditionType) Type() protoreflect.EnumType { - return &file_com_coralogix_integrations_v1_integration_proto_enumTypes[2] -} - -func (x IntegrationRevision_FieldCondition_ConditionType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use IntegrationRevision_FieldCondition_ConditionType.Descriptor instead. -func (IntegrationRevision_FieldCondition_ConditionType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 12, 0} -} - -type IntegrationRevision_CommandInformation_Language int32 - -const ( - IntegrationRevision_CommandInformation_UNKNOWN IntegrationRevision_CommandInformation_Language = 0 - IntegrationRevision_CommandInformation_BASH IntegrationRevision_CommandInformation_Language = 1 - IntegrationRevision_CommandInformation_JAVASCRIPT IntegrationRevision_CommandInformation_Language = 2 -) - -// Enum value maps for IntegrationRevision_CommandInformation_Language. -var ( - IntegrationRevision_CommandInformation_Language_name = map[int32]string{ - 0: "UNKNOWN", - 1: "BASH", - 2: "JAVASCRIPT", - } - IntegrationRevision_CommandInformation_Language_value = map[string]int32{ - "UNKNOWN": 0, - "BASH": 1, - "JAVASCRIPT": 2, - } -) - -func (x IntegrationRevision_CommandInformation_Language) Enum() *IntegrationRevision_CommandInformation_Language { - p := new(IntegrationRevision_CommandInformation_Language) - *p = x - return p -} - -func (x IntegrationRevision_CommandInformation_Language) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (IntegrationRevision_CommandInformation_Language) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_integrations_v1_integration_proto_enumTypes[3].Descriptor() -} - -func (IntegrationRevision_CommandInformation_Language) Type() protoreflect.EnumType { - return &file_com_coralogix_integrations_v1_integration_proto_enumTypes[3] -} - -func (x IntegrationRevision_CommandInformation_Language) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use IntegrationRevision_CommandInformation_Language.Descriptor instead. -func (IntegrationRevision_CommandInformation_Language) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 15, 0} -} - -type CloudFormationStack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Arn *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=arn,proto3" json:"arn,omitempty"` - Region *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` -} - -func (x *CloudFormationStack) Reset() { - *x = CloudFormationStack{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CloudFormationStack) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CloudFormationStack) ProtoMessage() {} - -func (x *CloudFormationStack) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 CloudFormationStack.ProtoReflect.Descriptor instead. -func (*CloudFormationStack) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{0} -} - -func (x *CloudFormationStack) GetArn() *wrapperspb.StringValue { - if x != nil { - return x.Arn - } - return nil -} - -func (x *CloudFormationStack) GetRegion() *wrapperspb.StringValue { - if x != nil { - return x.Region - } - return nil -} - -type ARMStack struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SubscriptionId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` - ResourceGroupName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=resource_group_name,json=resourceGroupName,proto3" json:"resource_group_name,omitempty"` -} - -func (x *ARMStack) Reset() { - *x = ARMStack{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ARMStack) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ARMStack) ProtoMessage() {} - -func (x *ARMStack) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 ARMStack.ProtoReflect.Descriptor instead. -func (*ARMStack) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{1} -} - -func (x *ARMStack) GetSubscriptionId() *wrapperspb.StringValue { - if x != nil { - return x.SubscriptionId - } - return nil -} - -func (x *ARMStack) GetResourceGroupName() *wrapperspb.StringValue { - if x != nil { - return x.ResourceGroupName - } - return nil -} - -type NoDeployment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *NoDeployment) Reset() { - *x = NoDeployment{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NoDeployment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NoDeployment) ProtoMessage() {} - -func (x *NoDeployment) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 NoDeployment.ProtoReflect.Descriptor instead. -func (*NoDeployment) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{2} -} - -type IntegrationStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ConnectionStatus ConnectionStatus `protobuf:"varint,1,opt,name=connection_status,json=connectionStatus,proto3,enum=com.coralogix.integrations.v1.ConnectionStatus" json:"connection_status,omitempty"` - Details map[string]string `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Messages []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"` -} - -func (x *IntegrationStatus) Reset() { - *x = IntegrationStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationStatus) ProtoMessage() {} - -func (x *IntegrationStatus) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 IntegrationStatus.ProtoReflect.Descriptor instead. -func (*IntegrationStatus) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{3} -} - -func (x *IntegrationStatus) GetConnectionStatus() ConnectionStatus { - if x != nil { - return x.ConnectionStatus - } - return ConnectionStatus_PENDING -} - -func (x *IntegrationStatus) GetDetails() map[string]string { - if x != nil { - return x.Details - } - return nil -} - -func (x *IntegrationStatus) GetMessages() []*wrapperspb.StringValue { - if x != nil { - return x.Messages - } - return nil -} - -type IntegrationDoc struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Link *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` -} - -func (x *IntegrationDoc) Reset() { - *x = IntegrationDoc{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationDoc) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationDoc) ProtoMessage() {} - -func (x *IntegrationDoc) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 IntegrationDoc.ProtoReflect.Descriptor instead. -func (*IntegrationDoc) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{4} -} - -func (x *IntegrationDoc) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *IntegrationDoc) GetLink() *wrapperspb.StringValue { - if x != nil { - return x.Link - } - return nil -} - -type Integration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // short_name in the integrations.integration_definitions - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Icon *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"` - DarkIcon *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=dark_icon,json=darkIcon,proto3" json:"dark_icon,omitempty"` - Tags []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` - Versions []*wrapperspb.StringValue `protobuf:"bytes,8,rep,name=versions,proto3" json:"versions,omitempty"` -} - -func (x *Integration) Reset() { - *x = Integration{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Integration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Integration) ProtoMessage() {} - -func (x *Integration) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 Integration.ProtoReflect.Descriptor instead. -func (*Integration) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{5} -} - -func (x *Integration) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Integration) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Integration) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Integration) GetIcon() *wrapperspb.StringValue { - if x != nil { - return x.Icon - } - return nil -} - -func (x *Integration) GetDarkIcon() *wrapperspb.StringValue { - if x != nil { - return x.DarkIcon - } - return nil -} - -func (x *Integration) GetTags() []*wrapperspb.StringValue { - if x != nil { - return x.Tags - } - return nil -} - -func (x *Integration) GetVersions() []*wrapperspb.StringValue { - if x != nil { - return x.Versions - } - return nil -} - -type RevisionRef struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` //integration revision version - DescriptionMd string `protobuf:"bytes,2,opt,name=description_md,json=descriptionMd,proto3" json:"description_md,omitempty"` -} - -func (x *RevisionRef) Reset() { - *x = RevisionRef{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RevisionRef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RevisionRef) ProtoMessage() {} - -func (x *RevisionRef) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 RevisionRef.ProtoReflect.Descriptor instead. -func (*RevisionRef) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{6} -} - -func (x *RevisionRef) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *RevisionRef) GetDescriptionMd() string { - if x != nil { - return x.DescriptionMd - } - return "" -} - -type LocalChangelog struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Changes []*RevisionRef `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` -} - -func (x *LocalChangelog) Reset() { - *x = LocalChangelog{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalChangelog) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalChangelog) ProtoMessage() {} - -func (x *LocalChangelog) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 LocalChangelog.ProtoReflect.Descriptor instead. -func (*LocalChangelog) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{7} -} - -func (x *LocalChangelog) GetChanges() []*RevisionRef { - if x != nil { - return x.Changes - } - return nil -} - -type ExternalUrl struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` -} - -func (x *ExternalUrl) Reset() { - *x = ExternalUrl{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExternalUrl) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExternalUrl) ProtoMessage() {} - -func (x *ExternalUrl) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 ExternalUrl.ProtoReflect.Descriptor instead. -func (*ExternalUrl) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{8} -} - -func (x *ExternalUrl) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -type IntegrationDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Integration *Integration `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"` - Extensions []*Extension `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"` - Docs []*IntegrationDoc `protobuf:"bytes,4,rep,name=docs,proto3" json:"docs,omitempty"` - // Types that are assignable to IntegrationTypeDetails: - // - // *IntegrationDetails_Default - IntegrationTypeDetails isIntegrationDetails_IntegrationTypeDetails `protobuf_oneof:"integration_type_details"` - // Types that are assignable to Changelog: - // - // *IntegrationDetails_Local - // *IntegrationDetails_External - Changelog isIntegrationDetails_Changelog `protobuf_oneof:"changelog"` -} - -func (x *IntegrationDetails) Reset() { - *x = IntegrationDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationDetails) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationDetails) ProtoMessage() {} - -func (x *IntegrationDetails) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 IntegrationDetails.ProtoReflect.Descriptor instead. -func (*IntegrationDetails) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{9} -} - -func (x *IntegrationDetails) GetIntegration() *Integration { - if x != nil { - return x.Integration - } - return nil -} - -func (x *IntegrationDetails) GetExtensions() []*Extension { - if x != nil { - return x.Extensions - } - return nil -} - -func (x *IntegrationDetails) GetDocs() []*IntegrationDoc { - if x != nil { - return x.Docs - } - return nil -} - -func (m *IntegrationDetails) GetIntegrationTypeDetails() isIntegrationDetails_IntegrationTypeDetails { - if m != nil { - return m.IntegrationTypeDetails - } - return nil -} - -func (x *IntegrationDetails) GetDefault() *IntegrationDetails_DefaultIntegrationDetails { - if x, ok := x.GetIntegrationTypeDetails().(*IntegrationDetails_Default); ok { - return x.Default - } - return nil -} - -func (m *IntegrationDetails) GetChangelog() isIntegrationDetails_Changelog { - if m != nil { - return m.Changelog - } - return nil -} - -func (x *IntegrationDetails) GetLocal() *LocalChangelog { - if x, ok := x.GetChangelog().(*IntegrationDetails_Local); ok { - return x.Local - } - return nil -} - -func (x *IntegrationDetails) GetExternal() *ExternalUrl { - if x, ok := x.GetChangelog().(*IntegrationDetails_External); ok { - return x.External - } - return nil -} - -type isIntegrationDetails_IntegrationTypeDetails interface { - isIntegrationDetails_IntegrationTypeDetails() -} - -type IntegrationDetails_Default struct { - Default *IntegrationDetails_DefaultIntegrationDetails `protobuf:"bytes,500,opt,name=default,proto3,oneof"` -} - -func (*IntegrationDetails_Default) isIntegrationDetails_IntegrationTypeDetails() {} - -type isIntegrationDetails_Changelog interface { - isIntegrationDetails_Changelog() -} - -type IntegrationDetails_Local struct { - Local *LocalChangelog `protobuf:"bytes,201,opt,name=local,proto3,oneof"` -} - -type IntegrationDetails_External struct { - External *ExternalUrl `protobuf:"bytes,202,opt,name=external,proto3,oneof"` -} - -func (*IntegrationDetails_Local) isIntegrationDetails_Changelog() {} - -func (*IntegrationDetails_External) isIntegrationDetails_Changelog() {} - -type IntegrationDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // short_name in the integrations.integration_definitions - Revisions []*IntegrationRevision `protobuf:"bytes,3,rep,name=revisions,proto3" json:"revisions,omitempty"` -} - -func (x *IntegrationDefinition) Reset() { - *x = IntegrationDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationDefinition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationDefinition) ProtoMessage() {} - -func (x *IntegrationDefinition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 IntegrationDefinition.ProtoReflect.Descriptor instead. -func (*IntegrationDefinition) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{10} -} - -func (x *IntegrationDefinition) GetKey() *wrapperspb.StringValue { - if x != nil { - return x.Key - } - return nil -} - -func (x *IntegrationDefinition) GetRevisions() []*IntegrationRevision { - if x != nil { - return x.Revisions - } - return nil -} - -type IntegrationRevision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //version from the integrations.integration_definitions_revision - Fields []*IntegrationRevision_FieldInformation `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` - Groups []*IntegrationRevision_Group `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"` - // Types that are assignable to DeploymentMethod: - // - // *IntegrationRevision_CloudFormation - // *IntegrationRevision_ManagedService_ - // *IntegrationRevision_HelmChart_ - // *IntegrationRevision_AzureArmTemplate_ - // *IntegrationRevision_Rum_ - // *IntegrationRevision_Terraform_ - DeploymentMethod isIntegrationRevision_DeploymentMethod `protobuf_oneof:"deployment_method"` - UpgradeInstructionsMd *string `protobuf:"bytes,5,opt,name=upgrade_instructions_md,json=upgradeInstructionsMd,proto3,oneof" json:"upgrade_instructions_md,omitempty"` - RevisionDeploymentSupported bool `protobuf:"varint,6,opt,name=revision_deployment_supported,json=revisionDeploymentSupported,proto3" json:"revision_deployment_supported,omitempty"` -} - -func (x *IntegrationRevision) Reset() { - *x = IntegrationRevision{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision) ProtoMessage() {} - -func (x *IntegrationRevision) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 IntegrationRevision.ProtoReflect.Descriptor instead. -func (*IntegrationRevision) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11} -} - -func (x *IntegrationRevision) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *IntegrationRevision) GetFields() []*IntegrationRevision_FieldInformation { - if x != nil { - return x.Fields - } - return nil -} - -func (x *IntegrationRevision) GetGroups() []*IntegrationRevision_Group { - if x != nil { - return x.Groups - } - return nil -} - -func (m *IntegrationRevision) GetDeploymentMethod() isIntegrationRevision_DeploymentMethod { - if m != nil { - return m.DeploymentMethod - } - return nil -} - -func (x *IntegrationRevision) GetCloudFormation() *IntegrationRevision_CloudFormationTemplate { - if x, ok := x.GetDeploymentMethod().(*IntegrationRevision_CloudFormation); ok { - return x.CloudFormation - } - return nil -} - -func (x *IntegrationRevision) GetManagedService() *IntegrationRevision_ManagedService { - if x, ok := x.GetDeploymentMethod().(*IntegrationRevision_ManagedService_); ok { - return x.ManagedService - } - return nil -} - -func (x *IntegrationRevision) GetHelmChart() *IntegrationRevision_HelmChart { - if x, ok := x.GetDeploymentMethod().(*IntegrationRevision_HelmChart_); ok { - return x.HelmChart - } - return nil -} - -func (x *IntegrationRevision) GetAzureArmTemplate() *IntegrationRevision_AzureArmTemplate { - if x, ok := x.GetDeploymentMethod().(*IntegrationRevision_AzureArmTemplate_); ok { - return x.AzureArmTemplate - } - return nil -} - -func (x *IntegrationRevision) GetRum() *IntegrationRevision_Rum { - if x, ok := x.GetDeploymentMethod().(*IntegrationRevision_Rum_); ok { - return x.Rum - } - return nil -} - -func (x *IntegrationRevision) GetTerraform() *IntegrationRevision_Terraform { - if x, ok := x.GetDeploymentMethod().(*IntegrationRevision_Terraform_); ok { - return x.Terraform - } - return nil -} - -func (x *IntegrationRevision) GetUpgradeInstructionsMd() string { - if x != nil && x.UpgradeInstructionsMd != nil { - return *x.UpgradeInstructionsMd - } - return "" -} - -func (x *IntegrationRevision) GetRevisionDeploymentSupported() bool { - if x != nil { - return x.RevisionDeploymentSupported - } - return false -} - -type isIntegrationRevision_DeploymentMethod interface { - isIntegrationRevision_DeploymentMethod() -} - -type IntegrationRevision_CloudFormation struct { - CloudFormation *IntegrationRevision_CloudFormationTemplate `protobuf:"bytes,101,opt,name=cloud_formation,json=cloudFormation,proto3,oneof"` -} - -type IntegrationRevision_ManagedService_ struct { - ManagedService *IntegrationRevision_ManagedService `protobuf:"bytes,102,opt,name=managed_service,json=managedService,proto3,oneof"` -} - -type IntegrationRevision_HelmChart_ struct { - HelmChart *IntegrationRevision_HelmChart `protobuf:"bytes,103,opt,name=helm_chart,json=helmChart,proto3,oneof"` -} - -type IntegrationRevision_AzureArmTemplate_ struct { - AzureArmTemplate *IntegrationRevision_AzureArmTemplate `protobuf:"bytes,104,opt,name=azure_arm_template,json=azureArmTemplate,proto3,oneof"` -} - -type IntegrationRevision_Rum_ struct { - Rum *IntegrationRevision_Rum `protobuf:"bytes,105,opt,name=rum,proto3,oneof"` -} - -type IntegrationRevision_Terraform_ struct { - Terraform *IntegrationRevision_Terraform `protobuf:"bytes,106,opt,name=terraform,proto3,oneof"` -} - -func (*IntegrationRevision_CloudFormation) isIntegrationRevision_DeploymentMethod() {} - -func (*IntegrationRevision_ManagedService_) isIntegrationRevision_DeploymentMethod() {} - -func (*IntegrationRevision_HelmChart_) isIntegrationRevision_DeploymentMethod() {} - -func (*IntegrationRevision_AzureArmTemplate_) isIntegrationRevision_DeploymentMethod() {} - -func (*IntegrationRevision_Rum_) isIntegrationRevision_DeploymentMethod() {} - -func (*IntegrationRevision_Terraform_) isIntegrationRevision_DeploymentMethod() {} - -type Parameter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Types that are assignable to Value: - // - // *Parameter_StringValue - // *Parameter_BooleanValue - // *Parameter_StringList_ - // *Parameter_ApiKey - // *Parameter_NumericValue - // *Parameter_SensitiveData - Value isParameter_Value `protobuf_oneof:"value"` -} - -func (x *Parameter) Reset() { - *x = Parameter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Parameter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Parameter) ProtoMessage() {} - -func (x *Parameter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 Parameter.ProtoReflect.Descriptor instead. -func (*Parameter) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{12} -} - -func (x *Parameter) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (m *Parameter) GetValue() isParameter_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *Parameter) GetStringValue() *wrapperspb.StringValue { - if x, ok := x.GetValue().(*Parameter_StringValue); ok { - return x.StringValue - } - return nil -} - -func (x *Parameter) GetBooleanValue() *wrapperspb.BoolValue { - if x, ok := x.GetValue().(*Parameter_BooleanValue); ok { - return x.BooleanValue - } - return nil -} - -func (x *Parameter) GetStringList() *Parameter_StringList { - if x, ok := x.GetValue().(*Parameter_StringList_); ok { - return x.StringList - } - return nil -} - -func (x *Parameter) GetApiKey() *Parameter_ApiKeyData { - if x, ok := x.GetValue().(*Parameter_ApiKey); ok { - return x.ApiKey - } - return nil -} - -func (x *Parameter) GetNumericValue() *wrapperspb.DoubleValue { - if x, ok := x.GetValue().(*Parameter_NumericValue); ok { - return x.NumericValue - } - return nil -} - -func (x *Parameter) GetSensitiveData() *Parameter_SensitiveDataPlaceholder { - if x, ok := x.GetValue().(*Parameter_SensitiveData); ok { - return x.SensitiveData - } - return nil -} - -type isParameter_Value interface { - isParameter_Value() -} - -type Parameter_StringValue struct { - StringValue *wrapperspb.StringValue `protobuf:"bytes,101,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type Parameter_BooleanValue struct { - BooleanValue *wrapperspb.BoolValue `protobuf:"bytes,102,opt,name=boolean_value,json=booleanValue,proto3,oneof"` -} - -type Parameter_StringList_ struct { - StringList *Parameter_StringList `protobuf:"bytes,103,opt,name=string_list,json=stringList,proto3,oneof"` -} - -type Parameter_ApiKey struct { - ApiKey *Parameter_ApiKeyData `protobuf:"bytes,104,opt,name=api_key,json=apiKey,proto3,oneof"` -} - -type Parameter_NumericValue struct { - NumericValue *wrapperspb.DoubleValue `protobuf:"bytes,105,opt,name=numeric_value,json=numericValue,proto3,oneof"` -} - -type Parameter_SensitiveData struct { - SensitiveData *Parameter_SensitiveDataPlaceholder `protobuf:"bytes,106,opt,name=sensitive_data,json=sensitiveData,proto3,oneof"` -} - -func (*Parameter_StringValue) isParameter_Value() {} - -func (*Parameter_BooleanValue) isParameter_Value() {} - -func (*Parameter_StringList_) isParameter_Value() {} - -func (*Parameter_ApiKey) isParameter_Value() {} - -func (*Parameter_NumericValue) isParameter_Value() {} - -func (*Parameter_SensitiveData) isParameter_Value() {} - -type GenericIntegrationParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameters []*Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"` -} - -func (x *GenericIntegrationParameters) Reset() { - *x = GenericIntegrationParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GenericIntegrationParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GenericIntegrationParameters) ProtoMessage() {} - -func (x *GenericIntegrationParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GenericIntegrationParameters.ProtoReflect.Descriptor instead. -func (*GenericIntegrationParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{13} -} - -func (x *GenericIntegrationParameters) GetParameters() []*Parameter { - if x != nil { - return x.Parameters - } - return nil -} - -type IntegrationMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationKey *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=integration_key,json=integrationKey,proto3" json:"integration_key,omitempty"` - Version *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` - // Types that are assignable to SpecificData: - // - // *IntegrationMetadata_IntegrationParameters - SpecificData isIntegrationMetadata_SpecificData `protobuf_oneof:"specific_data"` -} - -func (x *IntegrationMetadata) Reset() { - *x = IntegrationMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationMetadata) ProtoMessage() {} - -func (x *IntegrationMetadata) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 IntegrationMetadata.ProtoReflect.Descriptor instead. -func (*IntegrationMetadata) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{14} -} - -func (x *IntegrationMetadata) GetIntegrationKey() *wrapperspb.StringValue { - if x != nil { - return x.IntegrationKey - } - return nil -} - -func (x *IntegrationMetadata) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version - } - return nil -} - -func (m *IntegrationMetadata) GetSpecificData() isIntegrationMetadata_SpecificData { - if m != nil { - return m.SpecificData - } - return nil -} - -func (x *IntegrationMetadata) GetIntegrationParameters() *GenericIntegrationParameters { - if x, ok := x.GetSpecificData().(*IntegrationMetadata_IntegrationParameters); ok { - return x.IntegrationParameters - } - return nil -} - -type isIntegrationMetadata_SpecificData interface { - isIntegrationMetadata_SpecificData() -} - -type IntegrationMetadata_IntegrationParameters struct { - IntegrationParameters *GenericIntegrationParameters `protobuf:"bytes,113,opt,name=integration_parameters,json=integrationParameters,proto3,oneof"` -} - -func (*IntegrationMetadata_IntegrationParameters) isIntegrationMetadata_SpecificData() {} - -type TestIntegrationResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Result: - // - // *TestIntegrationResult_Success_ - // *TestIntegrationResult_Failure_ - Result isTestIntegrationResult_Result `protobuf_oneof:"result"` -} - -func (x *TestIntegrationResult) Reset() { - *x = TestIntegrationResult{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestIntegrationResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestIntegrationResult) ProtoMessage() {} - -func (x *TestIntegrationResult) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 TestIntegrationResult.ProtoReflect.Descriptor instead. -func (*TestIntegrationResult) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{15} -} - -func (m *TestIntegrationResult) GetResult() isTestIntegrationResult_Result { - if m != nil { - return m.Result - } - return nil -} - -func (x *TestIntegrationResult) GetSuccess() *TestIntegrationResult_Success { - if x, ok := x.GetResult().(*TestIntegrationResult_Success_); ok { - return x.Success - } - return nil -} - -func (x *TestIntegrationResult) GetFailure() *TestIntegrationResult_Failure { - if x, ok := x.GetResult().(*TestIntegrationResult_Failure_); ok { - return x.Failure - } - return nil -} - -type isTestIntegrationResult_Result interface { - isTestIntegrationResult_Result() -} - -type TestIntegrationResult_Success_ struct { - Success *TestIntegrationResult_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof"` -} - -type TestIntegrationResult_Failure_ struct { - Failure *TestIntegrationResult_Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"` -} - -func (*TestIntegrationResult_Success_) isTestIntegrationResult_Result() {} - -func (*TestIntegrationResult_Failure_) isTestIntegrationResult_Result() {} - -type RumVersionData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Versions []*RumVersionData_Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` - SyncedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=synced_at,json=syncedAt,proto3" json:"synced_at,omitempty"` -} - -func (x *RumVersionData) Reset() { - *x = RumVersionData{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RumVersionData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RumVersionData) ProtoMessage() {} - -func (x *RumVersionData) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 RumVersionData.ProtoReflect.Descriptor instead. -func (*RumVersionData) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{16} -} - -func (x *RumVersionData) GetVersions() []*RumVersionData_Version { - if x != nil { - return x.Versions - } - return nil -} - -func (x *RumVersionData) GetSyncedAt() *timestamppb.Timestamp { - if x != nil { - return x.SyncedAt - } - return nil -} - -type DeployedIntegrationInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DefinitionKey *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=definition_key,json=definitionKey,proto3" json:"definition_key,omitempty"` - DefinitionVersion *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=definition_version,json=definitionVersion,proto3" json:"definition_version,omitempty"` - Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` - IntegrationStatus *IntegrationStatus `protobuf:"bytes,5,opt,name=integration_status,json=integrationStatus,proto3" json:"integration_status,omitempty"` -} - -func (x *DeployedIntegrationInformation) Reset() { - *x = DeployedIntegrationInformation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeployedIntegrationInformation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeployedIntegrationInformation) ProtoMessage() {} - -func (x *DeployedIntegrationInformation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 DeployedIntegrationInformation.ProtoReflect.Descriptor instead. -func (*DeployedIntegrationInformation) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{17} -} - -func (x *DeployedIntegrationInformation) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *DeployedIntegrationInformation) GetDefinitionKey() *wrapperspb.StringValue { - if x != nil { - return x.DefinitionKey - } - return nil -} - -func (x *DeployedIntegrationInformation) GetDefinitionVersion() *wrapperspb.StringValue { - if x != nil { - return x.DefinitionVersion - } - return nil -} - -func (x *DeployedIntegrationInformation) GetParameters() []*Parameter { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *DeployedIntegrationInformation) GetIntegrationStatus() *IntegrationStatus { - if x != nil { - return x.IntegrationStatus - } - return nil -} - -type IntegrationDetails_DefaultIntegrationDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Registered []*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance `protobuf:"bytes,1,rep,name=registered,proto3" json:"registered,omitempty"` -} - -func (x *IntegrationDetails_DefaultIntegrationDetails) Reset() { - *x = IntegrationDetails_DefaultIntegrationDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationDetails_DefaultIntegrationDetails) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationDetails_DefaultIntegrationDetails) ProtoMessage() {} - -func (x *IntegrationDetails_DefaultIntegrationDetails) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[19] - 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 IntegrationDetails_DefaultIntegrationDetails.ProtoReflect.Descriptor instead. -func (*IntegrationDetails_DefaultIntegrationDetails) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{9, 0} -} - -func (x *IntegrationDetails_DefaultIntegrationDetails) GetRegistered() []*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance { - if x != nil { - return x.Registered - } - return nil -} - -type IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DefinitionVersion *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=definition_version,json=definitionVersion,proto3" json:"definition_version,omitempty"` - LastUpdated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` - Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` - IntegrationStatus *IntegrationStatus `protobuf:"bytes,7,opt,name=integration_status,json=integrationStatus,proto3" json:"integration_status,omitempty"` - // Types that are assignable to Deployment: - // - // *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Empty - // *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Cloudformation - // *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Arm - Deployment isIntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Deployment `protobuf_oneof:"deployment"` - IsTesting *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=is_testing,json=isTesting,proto3" json:"is_testing,omitempty"` -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) Reset() { - *x = IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) ProtoMessage() {} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[20] - 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 IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance.ProtoReflect.Descriptor instead. -func (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{9, 0, 0} -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetDefinitionVersion() *wrapperspb.StringValue { - if x != nil { - return x.DefinitionVersion - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetLastUpdated() *timestamppb.Timestamp { - if x != nil { - return x.LastUpdated - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetParameters() []*Parameter { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetIntegrationStatus() *IntegrationStatus { - if x != nil { - return x.IntegrationStatus - } - return nil -} - -func (m *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetDeployment() isIntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Deployment { - if m != nil { - return m.Deployment - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetEmpty() *NoDeployment { - if x, ok := x.GetDeployment().(*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Empty); ok { - return x.Empty - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetCloudformation() *CloudFormationStack { - if x, ok := x.GetDeployment().(*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Cloudformation); ok { - return x.Cloudformation - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetArm() *ARMStack { - if x, ok := x.GetDeployment().(*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Arm); ok { - return x.Arm - } - return nil -} - -func (x *IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance) GetIsTesting() *wrapperspb.BoolValue { - if x != nil { - return x.IsTesting - } - return nil -} - -type isIntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Deployment interface { - isIntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Deployment() -} - -type IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Empty struct { - Empty *NoDeployment `protobuf:"bytes,100,opt,name=empty,proto3,oneof"` -} - -type IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Cloudformation struct { - Cloudformation *CloudFormationStack `protobuf:"bytes,101,opt,name=cloudformation,proto3,oneof"` -} - -type IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Arm struct { - Arm *ARMStack `protobuf:"bytes,102,opt,name=arm,proto3,oneof"` -} - -func (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Empty) isIntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Deployment() { -} - -func (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Cloudformation) isIntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Deployment() { -} - -func (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Arm) isIntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Deployment() { -} - -type IntegrationRevision_CloudFormationTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TemplateUrl *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=template_url,json=templateUrl,proto3" json:"template_url,omitempty"` - Parameters map[string]string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - PostInstallationSteps map[string]string `protobuf:"bytes,3,rep,name=post_installation_steps,json=postInstallationSteps,proto3" json:"post_installation_steps,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *IntegrationRevision_CloudFormationTemplate) Reset() { - *x = IntegrationRevision_CloudFormationTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_CloudFormationTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_CloudFormationTemplate) ProtoMessage() {} - -func (x *IntegrationRevision_CloudFormationTemplate) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[21] - 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 IntegrationRevision_CloudFormationTemplate.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_CloudFormationTemplate) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 0} -} - -func (x *IntegrationRevision_CloudFormationTemplate) GetTemplateUrl() *wrapperspb.StringValue { - if x != nil { - return x.TemplateUrl - } - return nil -} - -func (x *IntegrationRevision_CloudFormationTemplate) GetParameters() map[string]string { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *IntegrationRevision_CloudFormationTemplate) GetPostInstallationSteps() map[string]string { - if x != nil { - return x.PostInstallationSteps - } - return nil -} - -type IntegrationRevision_ManagedService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *IntegrationRevision_ManagedService) Reset() { - *x = IntegrationRevision_ManagedService{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_ManagedService) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_ManagedService) ProtoMessage() {} - -func (x *IntegrationRevision_ManagedService) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[22] - 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 IntegrationRevision_ManagedService.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_ManagedService) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 1} -} - -type IntegrationRevision_HelmChart struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Template *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=template,proto3,oneof" json:"template,omitempty"` - Commands []*IntegrationRevision_CommandInformation `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"` - Guide *IntegrationRevision_IntegrationGuide `protobuf:"bytes,3,opt,name=guide,proto3,oneof" json:"guide,omitempty"` -} - -func (x *IntegrationRevision_HelmChart) Reset() { - *x = IntegrationRevision_HelmChart{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_HelmChart) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_HelmChart) ProtoMessage() {} - -func (x *IntegrationRevision_HelmChart) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[23] - 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 IntegrationRevision_HelmChart.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_HelmChart) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 2} -} - -func (x *IntegrationRevision_HelmChart) GetTemplate() *wrapperspb.StringValue { - if x != nil { - return x.Template - } - return nil -} - -func (x *IntegrationRevision_HelmChart) GetCommands() []*IntegrationRevision_CommandInformation { - if x != nil { - return x.Commands - } - return nil -} - -func (x *IntegrationRevision_HelmChart) GetGuide() *IntegrationRevision_IntegrationGuide { - if x != nil { - return x.Guide - } - return nil -} - -type IntegrationRevision_Terraform struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ConfigurationBlocks []*IntegrationRevision_ConfigurationBlock `protobuf:"bytes,1,rep,name=configuration_blocks,json=configurationBlocks,proto3" json:"configuration_blocks,omitempty"` -} - -func (x *IntegrationRevision_Terraform) Reset() { - *x = IntegrationRevision_Terraform{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_Terraform) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_Terraform) ProtoMessage() {} - -func (x *IntegrationRevision_Terraform) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[24] - 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 IntegrationRevision_Terraform.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_Terraform) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 3} -} - -func (x *IntegrationRevision_Terraform) GetConfigurationBlocks() []*IntegrationRevision_ConfigurationBlock { - if x != nil { - return x.ConfigurationBlocks - } - return nil -} - -type IntegrationRevision_Rum struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BrowserSdkCommands []*IntegrationRevision_CommandInformation `protobuf:"bytes,1,rep,name=browser_sdk_commands,json=browserSdkCommands,proto3" json:"browser_sdk_commands,omitempty"` - SourceMapCommands []*IntegrationRevision_CommandInformation `protobuf:"bytes,2,rep,name=source_map_commands,json=sourceMapCommands,proto3" json:"source_map_commands,omitempty"` -} - -func (x *IntegrationRevision_Rum) Reset() { - *x = IntegrationRevision_Rum{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_Rum) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_Rum) ProtoMessage() {} - -func (x *IntegrationRevision_Rum) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[25] - 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 IntegrationRevision_Rum.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_Rum) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 4} -} - -func (x *IntegrationRevision_Rum) GetBrowserSdkCommands() []*IntegrationRevision_CommandInformation { - if x != nil { - return x.BrowserSdkCommands - } - return nil -} - -func (x *IntegrationRevision_Rum) GetSourceMapCommands() []*IntegrationRevision_CommandInformation { - if x != nil { - return x.SourceMapCommands - } - return nil -} - -type IntegrationRevision_AzureArmTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TemplateUrl *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=template_url,json=templateUrl,proto3" json:"template_url,omitempty"` -} - -func (x *IntegrationRevision_AzureArmTemplate) Reset() { - *x = IntegrationRevision_AzureArmTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_AzureArmTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_AzureArmTemplate) ProtoMessage() {} - -func (x *IntegrationRevision_AzureArmTemplate) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[26] - 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 IntegrationRevision_AzureArmTemplate.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_AzureArmTemplate) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 5} -} - -func (x *IntegrationRevision_AzureArmTemplate) GetTemplateUrl() *wrapperspb.StringValue { - if x != nil { - return x.TemplateUrl - } - return nil -} - -type IntegrationRevision_ListTextValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Options []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` - DefaultValues []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=default_values,json=defaultValues,proto3" json:"default_values,omitempty"` -} - -func (x *IntegrationRevision_ListTextValue) Reset() { - *x = IntegrationRevision_ListTextValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_ListTextValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_ListTextValue) ProtoMessage() {} - -func (x *IntegrationRevision_ListTextValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[27] - 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 IntegrationRevision_ListTextValue.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_ListTextValue) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 6} -} - -func (x *IntegrationRevision_ListTextValue) GetOptions() []*wrapperspb.StringValue { - if x != nil { - return x.Options - } - return nil -} - -func (x *IntegrationRevision_ListTextValue) GetDefaultValues() []*wrapperspb.StringValue { - if x != nil { - return x.DefaultValues - } - return nil -} - -type IntegrationRevision_SingleValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DefaultValue *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3,oneof" json:"default_value,omitempty"` -} - -func (x *IntegrationRevision_SingleValue) Reset() { - *x = IntegrationRevision_SingleValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_SingleValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_SingleValue) ProtoMessage() {} - -func (x *IntegrationRevision_SingleValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[28] - 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 IntegrationRevision_SingleValue.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_SingleValue) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 7} -} - -func (x *IntegrationRevision_SingleValue) GetDefaultValue() *wrapperspb.StringValue { - if x != nil { - return x.DefaultValue - } - return nil -} - -type IntegrationRevision_SingleBooleanValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DefaultValue *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3,oneof" json:"default_value,omitempty"` -} - -func (x *IntegrationRevision_SingleBooleanValue) Reset() { - *x = IntegrationRevision_SingleBooleanValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_SingleBooleanValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_SingleBooleanValue) ProtoMessage() {} - -func (x *IntegrationRevision_SingleBooleanValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[29] - 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 IntegrationRevision_SingleBooleanValue.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_SingleBooleanValue) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 8} -} - -func (x *IntegrationRevision_SingleBooleanValue) GetDefaultValue() *wrapperspb.BoolValue { - if x != nil { - return x.DefaultValue - } - return nil -} - -type IntegrationRevision_SingleNumericValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DefaultValue *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3,oneof" json:"default_value,omitempty"` -} - -func (x *IntegrationRevision_SingleNumericValue) Reset() { - *x = IntegrationRevision_SingleNumericValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_SingleNumericValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_SingleNumericValue) ProtoMessage() {} - -func (x *IntegrationRevision_SingleNumericValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[30] - 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 IntegrationRevision_SingleNumericValue.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_SingleNumericValue) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 9} -} - -func (x *IntegrationRevision_SingleNumericValue) GetDefaultValue() *wrapperspb.DoubleValue { - if x != nil { - return x.DefaultValue - } - return nil -} - -type IntegrationRevision_MultipleSelectionValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Options []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` -} - -func (x *IntegrationRevision_MultipleSelectionValue) Reset() { - *x = IntegrationRevision_MultipleSelectionValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_MultipleSelectionValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_MultipleSelectionValue) ProtoMessage() {} - -func (x *IntegrationRevision_MultipleSelectionValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[31] - 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 IntegrationRevision_MultipleSelectionValue.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_MultipleSelectionValue) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 10} -} - -func (x *IntegrationRevision_MultipleSelectionValue) GetOptions() []*wrapperspb.StringValue { - if x != nil { - return x.Options - } - return nil -} - -type IntegrationRevision_SelectionValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Options []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` - DefaultValue *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3,oneof" json:"default_value,omitempty"` -} - -func (x *IntegrationRevision_SelectionValue) Reset() { - *x = IntegrationRevision_SelectionValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_SelectionValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_SelectionValue) ProtoMessage() {} - -func (x *IntegrationRevision_SelectionValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[32] - 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 IntegrationRevision_SelectionValue.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_SelectionValue) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 11} -} - -func (x *IntegrationRevision_SelectionValue) GetOptions() []*wrapperspb.StringValue { - if x != nil { - return x.Options - } - return nil -} - -func (x *IntegrationRevision_SelectionValue) GetDefaultValue() *wrapperspb.StringValue { - if x != nil { - return x.DefaultValue - } - return nil -} - -type IntegrationRevision_FieldCondition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type IntegrationRevision_FieldCondition_ConditionType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.integrations.v1.IntegrationRevision_FieldCondition_ConditionType" json:"type,omitempty"` - Values []*IntegrationRevision_FieldCondition_FieldValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *IntegrationRevision_FieldCondition) Reset() { - *x = IntegrationRevision_FieldCondition{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_FieldCondition) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_FieldCondition) ProtoMessage() {} - -func (x *IntegrationRevision_FieldCondition) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[33] - 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 IntegrationRevision_FieldCondition.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_FieldCondition) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 12} -} - -func (x *IntegrationRevision_FieldCondition) GetType() IntegrationRevision_FieldCondition_ConditionType { - if x != nil { - return x.Type - } - return IntegrationRevision_FieldCondition_UNKNOWN -} - -func (x *IntegrationRevision_FieldCondition) GetValues() []*IntegrationRevision_FieldCondition_FieldValue { - if x != nil { - return x.Values - } - return nil -} - -type IntegrationRevision_Group 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 *IntegrationRevision_Group) Reset() { - *x = IntegrationRevision_Group{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_Group) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_Group) ProtoMessage() {} - -func (x *IntegrationRevision_Group) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[34] - 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 IntegrationRevision_Group.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_Group) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 13} -} - -func (x *IntegrationRevision_Group) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *IntegrationRevision_Group) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -type IntegrationRevision_FieldInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *IntegrationRevision_FieldInformation_Single - // *IntegrationRevision_FieldInformation_MultiText - // *IntegrationRevision_FieldInformation_MultipleSelection - // *IntegrationRevision_FieldInformation_SingleBoolean - // *IntegrationRevision_FieldInformation_Selection - // *IntegrationRevision_FieldInformation_SingleNumber - Value isIntegrationRevision_FieldInformation_Value `protobuf_oneof:"value"` - Type IntegrationRevision_InputType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.integrations.v1.IntegrationRevision_InputType" json:"type,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Tooltip *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=tooltip,proto3,oneof" json:"tooltip,omitempty"` - TemplateParamName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=template_param_name,json=templateParamName,proto3" json:"template_param_name,omitempty"` - Placeholder *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=placeholder,proto3,oneof" json:"placeholder,omitempty"` - Required *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=required,proto3" json:"required,omitempty"` - Predefined *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=predefined,proto3" json:"predefined,omitempty"` - Visible *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=visible,proto3" json:"visible,omitempty"` - Readonly *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=readonly,proto3" json:"readonly,omitempty"` - ApplicableIf *IntegrationRevision_FieldCondition `protobuf:"bytes,10,opt,name=applicable_if,json=applicableIf,proto3,oneof" json:"applicable_if,omitempty"` - GroupId *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=group_id,json=groupId,proto3,oneof" json:"group_id,omitempty"` - UpgradeNotice *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=upgrade_notice,json=upgradeNotice,proto3,oneof" json:"upgrade_notice,omitempty"` - AllowedPattern *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=allowed_pattern,json=allowedPattern,proto3,oneof" json:"allowed_pattern,omitempty"` -} - -func (x *IntegrationRevision_FieldInformation) Reset() { - *x = IntegrationRevision_FieldInformation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_FieldInformation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_FieldInformation) ProtoMessage() {} - -func (x *IntegrationRevision_FieldInformation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[35] - 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 IntegrationRevision_FieldInformation.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_FieldInformation) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 14} -} - -func (m *IntegrationRevision_FieldInformation) GetValue() isIntegrationRevision_FieldInformation_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetSingle() *IntegrationRevision_SingleValue { - if x, ok := x.GetValue().(*IntegrationRevision_FieldInformation_Single); ok { - return x.Single - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetMultiText() *IntegrationRevision_ListTextValue { - if x, ok := x.GetValue().(*IntegrationRevision_FieldInformation_MultiText); ok { - return x.MultiText - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetMultipleSelection() *IntegrationRevision_MultipleSelectionValue { - if x, ok := x.GetValue().(*IntegrationRevision_FieldInformation_MultipleSelection); ok { - return x.MultipleSelection - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetSingleBoolean() *IntegrationRevision_SingleBooleanValue { - if x, ok := x.GetValue().(*IntegrationRevision_FieldInformation_SingleBoolean); ok { - return x.SingleBoolean - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetSelection() *IntegrationRevision_SelectionValue { - if x, ok := x.GetValue().(*IntegrationRevision_FieldInformation_Selection); ok { - return x.Selection - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetSingleNumber() *IntegrationRevision_SingleNumericValue { - if x, ok := x.GetValue().(*IntegrationRevision_FieldInformation_SingleNumber); ok { - return x.SingleNumber - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetType() IntegrationRevision_InputType { - if x != nil { - return x.Type - } - return IntegrationRevision_API_KEY -} - -func (x *IntegrationRevision_FieldInformation) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetTooltip() *wrapperspb.StringValue { - if x != nil { - return x.Tooltip - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetTemplateParamName() *wrapperspb.StringValue { - if x != nil { - return x.TemplateParamName - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetPlaceholder() *wrapperspb.StringValue { - if x != nil { - return x.Placeholder - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetRequired() *wrapperspb.BoolValue { - if x != nil { - return x.Required - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetPredefined() *wrapperspb.BoolValue { - if x != nil { - return x.Predefined - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetVisible() *wrapperspb.BoolValue { - if x != nil { - return x.Visible - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetReadonly() *wrapperspb.BoolValue { - if x != nil { - return x.Readonly - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetApplicableIf() *IntegrationRevision_FieldCondition { - if x != nil { - return x.ApplicableIf - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetGroupId() *wrapperspb.StringValue { - if x != nil { - return x.GroupId - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetUpgradeNotice() *wrapperspb.StringValue { - if x != nil { - return x.UpgradeNotice - } - return nil -} - -func (x *IntegrationRevision_FieldInformation) GetAllowedPattern() *wrapperspb.StringValue { - if x != nil { - return x.AllowedPattern - } - return nil -} - -type isIntegrationRevision_FieldInformation_Value interface { - isIntegrationRevision_FieldInformation_Value() -} - -type IntegrationRevision_FieldInformation_Single struct { - Single *IntegrationRevision_SingleValue `protobuf:"bytes,101,opt,name=single,proto3,oneof"` -} - -type IntegrationRevision_FieldInformation_MultiText struct { - MultiText *IntegrationRevision_ListTextValue `protobuf:"bytes,102,opt,name=multi_text,json=multiText,proto3,oneof"` -} - -type IntegrationRevision_FieldInformation_MultipleSelection struct { - MultipleSelection *IntegrationRevision_MultipleSelectionValue `protobuf:"bytes,103,opt,name=multiple_selection,json=multipleSelection,proto3,oneof"` -} - -type IntegrationRevision_FieldInformation_SingleBoolean struct { - SingleBoolean *IntegrationRevision_SingleBooleanValue `protobuf:"bytes,104,opt,name=single_boolean,json=singleBoolean,proto3,oneof"` -} - -type IntegrationRevision_FieldInformation_Selection struct { - Selection *IntegrationRevision_SelectionValue `protobuf:"bytes,105,opt,name=selection,proto3,oneof"` -} - -type IntegrationRevision_FieldInformation_SingleNumber struct { - SingleNumber *IntegrationRevision_SingleNumericValue `protobuf:"bytes,106,opt,name=single_number,json=singleNumber,proto3,oneof"` -} - -func (*IntegrationRevision_FieldInformation_Single) isIntegrationRevision_FieldInformation_Value() {} - -func (*IntegrationRevision_FieldInformation_MultiText) isIntegrationRevision_FieldInformation_Value() { -} - -func (*IntegrationRevision_FieldInformation_MultipleSelection) isIntegrationRevision_FieldInformation_Value() { -} - -func (*IntegrationRevision_FieldInformation_SingleBoolean) isIntegrationRevision_FieldInformation_Value() { -} - -func (*IntegrationRevision_FieldInformation_Selection) isIntegrationRevision_FieldInformation_Value() { -} - -func (*IntegrationRevision_FieldInformation_SingleNumber) isIntegrationRevision_FieldInformation_Value() { -} - -type IntegrationRevision_CommandInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Command *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - TooltipText *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=tooltip_text,json=tooltipText,proto3,oneof" json:"tooltip_text,omitempty"` - Language *IntegrationRevision_CommandInformation_Language `protobuf:"varint,5,opt,name=language,proto3,enum=com.coralogix.integrations.v1.IntegrationRevision_CommandInformation_Language,oneof" json:"language,omitempty"` - Links []*IntegrationRevision_CommandInformation_Link `protobuf:"bytes,6,rep,name=links,proto3" json:"links,omitempty"` -} - -func (x *IntegrationRevision_CommandInformation) Reset() { - *x = IntegrationRevision_CommandInformation{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_CommandInformation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_CommandInformation) ProtoMessage() {} - -func (x *IntegrationRevision_CommandInformation) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[36] - 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 IntegrationRevision_CommandInformation.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_CommandInformation) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 15} -} - -func (x *IntegrationRevision_CommandInformation) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *IntegrationRevision_CommandInformation) GetCommand() *wrapperspb.StringValue { - if x != nil { - return x.Command - } - return nil -} - -func (x *IntegrationRevision_CommandInformation) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *IntegrationRevision_CommandInformation) GetTooltipText() *wrapperspb.StringValue { - if x != nil { - return x.TooltipText - } - return nil -} - -func (x *IntegrationRevision_CommandInformation) GetLanguage() IntegrationRevision_CommandInformation_Language { - if x != nil && x.Language != nil { - return *x.Language - } - return IntegrationRevision_CommandInformation_UNKNOWN -} - -func (x *IntegrationRevision_CommandInformation) GetLinks() []*IntegrationRevision_CommandInformation_Link { - if x != nil { - return x.Links - } - return nil -} - -type IntegrationRevision_ConfigurationBlock struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` -} - -func (x *IntegrationRevision_ConfigurationBlock) Reset() { - *x = IntegrationRevision_ConfigurationBlock{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_ConfigurationBlock) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_ConfigurationBlock) ProtoMessage() {} - -func (x *IntegrationRevision_ConfigurationBlock) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[37] - 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 IntegrationRevision_ConfigurationBlock.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_ConfigurationBlock) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 16} -} - -func (x *IntegrationRevision_ConfigurationBlock) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *IntegrationRevision_ConfigurationBlock) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -func (x *IntegrationRevision_ConfigurationBlock) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -type IntegrationRevision_IntegrationGuide struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Introduction *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=introduction,proto3" json:"introduction,omitempty"` - InstallationRequirements *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=installation_requirements,json=installationRequirements,proto3,oneof" json:"installation_requirements,omitempty"` -} - -func (x *IntegrationRevision_IntegrationGuide) Reset() { - *x = IntegrationRevision_IntegrationGuide{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_IntegrationGuide) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_IntegrationGuide) ProtoMessage() {} - -func (x *IntegrationRevision_IntegrationGuide) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[38] - 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 IntegrationRevision_IntegrationGuide.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_IntegrationGuide) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 17} -} - -func (x *IntegrationRevision_IntegrationGuide) GetIntroduction() *wrapperspb.StringValue { - if x != nil { - return x.Introduction - } - return nil -} - -func (x *IntegrationRevision_IntegrationGuide) GetInstallationRequirements() *wrapperspb.StringValue { - if x != nil { - return x.InstallationRequirements - } - return nil -} - -type IntegrationRevision_FieldCondition_FieldValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - ValuePattern string `protobuf:"bytes,2,opt,name=value_pattern,json=valuePattern,proto3" json:"value_pattern,omitempty"` -} - -func (x *IntegrationRevision_FieldCondition_FieldValue) Reset() { - *x = IntegrationRevision_FieldCondition_FieldValue{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_FieldCondition_FieldValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_FieldCondition_FieldValue) ProtoMessage() {} - -func (x *IntegrationRevision_FieldCondition_FieldValue) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[41] - 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 IntegrationRevision_FieldCondition_FieldValue.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_FieldCondition_FieldValue) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 12, 0} -} - -func (x *IntegrationRevision_FieldCondition_FieldValue) GetFieldName() string { - if x != nil { - return x.FieldName - } - return "" -} - -func (x *IntegrationRevision_FieldCondition_FieldValue) GetValuePattern() string { - if x != nil { - return x.ValuePattern - } - return "" -} - -type IntegrationRevision_CommandInformation_Link struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` -} - -func (x *IntegrationRevision_CommandInformation_Link) Reset() { - *x = IntegrationRevision_CommandInformation_Link{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IntegrationRevision_CommandInformation_Link) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IntegrationRevision_CommandInformation_Link) ProtoMessage() {} - -func (x *IntegrationRevision_CommandInformation_Link) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[42] - 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 IntegrationRevision_CommandInformation_Link.ProtoReflect.Descriptor instead. -func (*IntegrationRevision_CommandInformation_Link) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{11, 15, 0} -} - -func (x *IntegrationRevision_CommandInformation_Link) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *IntegrationRevision_CommandInformation_Link) GetText() string { - if x != nil { - return x.Text - } - return "" -} - -func (x *IntegrationRevision_CommandInformation_Link) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -type Parameter_StringList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Values []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` -} - -func (x *Parameter_StringList) Reset() { - *x = Parameter_StringList{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Parameter_StringList) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Parameter_StringList) ProtoMessage() {} - -func (x *Parameter_StringList) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[43] - 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 Parameter_StringList.ProtoReflect.Descriptor instead. -func (*Parameter_StringList) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{12, 0} -} - -func (x *Parameter_StringList) GetValues() []*wrapperspb.StringValue { - if x != nil { - return x.Values - } - return nil -} - -type Parameter_ApiKeyData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"` -} - -func (x *Parameter_ApiKeyData) Reset() { - *x = Parameter_ApiKeyData{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Parameter_ApiKeyData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Parameter_ApiKeyData) ProtoMessage() {} - -func (x *Parameter_ApiKeyData) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[44] - 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 Parameter_ApiKeyData.ProtoReflect.Descriptor instead. -func (*Parameter_ApiKeyData) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{12, 1} -} - -func (x *Parameter_ApiKeyData) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Parameter_ApiKeyData) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type Parameter_SensitiveDataPlaceholder struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Parameter_SensitiveDataPlaceholder) Reset() { - *x = Parameter_SensitiveDataPlaceholder{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Parameter_SensitiveDataPlaceholder) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Parameter_SensitiveDataPlaceholder) ProtoMessage() {} - -func (x *Parameter_SensitiveDataPlaceholder) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[45] - 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 Parameter_SensitiveDataPlaceholder.ProtoReflect.Descriptor instead. -func (*Parameter_SensitiveDataPlaceholder) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{12, 2} -} - -type TestIntegrationResult_Success struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *TestIntegrationResult_Success) Reset() { - *x = TestIntegrationResult_Success{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestIntegrationResult_Success) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestIntegrationResult_Success) ProtoMessage() {} - -func (x *TestIntegrationResult_Success) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[46] - 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 TestIntegrationResult_Success.ProtoReflect.Descriptor instead. -func (*TestIntegrationResult_Success) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{15, 0} -} - -type TestIntegrationResult_Failure struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrorMessage *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` -} - -func (x *TestIntegrationResult_Failure) Reset() { - *x = TestIntegrationResult_Failure{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestIntegrationResult_Failure) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestIntegrationResult_Failure) ProtoMessage() {} - -func (x *TestIntegrationResult_Failure) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[47] - 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 TestIntegrationResult_Failure.ProtoReflect.Descriptor instead. -func (*TestIntegrationResult_Failure) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{15, 1} -} - -func (x *TestIntegrationResult_Failure) GetErrorMessage() *wrapperspb.StringValue { - if x != nil { - return x.ErrorMessage - } - return nil -} - -type RumVersionData_SourceMapMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - IsUploadedSuccessful *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=is_uploaded_successful,json=isUploadedSuccessful,proto3" json:"is_uploaded_successful,omitempty"` -} - -func (x *RumVersionData_SourceMapMetadata) Reset() { - *x = RumVersionData_SourceMapMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RumVersionData_SourceMapMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RumVersionData_SourceMapMetadata) ProtoMessage() {} - -func (x *RumVersionData_SourceMapMetadata) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[48] - 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 RumVersionData_SourceMapMetadata.ProtoReflect.Descriptor instead. -func (*RumVersionData_SourceMapMetadata) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{16, 0} -} - -func (x *RumVersionData_SourceMapMetadata) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *RumVersionData_SourceMapMetadata) GetIsUploadedSuccessful() *wrapperspb.BoolValue { - if x != nil { - return x.IsUploadedSuccessful - } - return nil -} - -type RumVersionData_LogMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FirstOccurrence *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=first_occurrence,json=firstOccurrence,proto3" json:"first_occurrence,omitempty"` - LastOccurrence *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_occurrence,json=lastOccurrence,proto3" json:"last_occurrence,omitempty"` -} - -func (x *RumVersionData_LogMetadata) Reset() { - *x = RumVersionData_LogMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RumVersionData_LogMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RumVersionData_LogMetadata) ProtoMessage() {} - -func (x *RumVersionData_LogMetadata) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[49] - 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 RumVersionData_LogMetadata.ProtoReflect.Descriptor instead. -func (*RumVersionData_LogMetadata) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{16, 1} -} - -func (x *RumVersionData_LogMetadata) GetFirstOccurrence() *timestamppb.Timestamp { - if x != nil { - return x.FirstOccurrence - } - return nil -} - -func (x *RumVersionData_LogMetadata) GetLastOccurrence() *timestamppb.Timestamp { - if x != nil { - return x.LastOccurrence - } - return nil -} - -type RumVersionData_Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - LogMetadata *RumVersionData_LogMetadata `protobuf:"bytes,2,opt,name=log_metadata,json=logMetadata,proto3" json:"log_metadata,omitempty"` - SourceMapMetadata *RumVersionData_SourceMapMetadata `protobuf:"bytes,3,opt,name=source_map_metadata,json=sourceMapMetadata,proto3" json:"source_map_metadata,omitempty"` -} - -func (x *RumVersionData_Version) Reset() { - *x = RumVersionData_Version{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RumVersionData_Version) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RumVersionData_Version) ProtoMessage() {} - -func (x *RumVersionData_Version) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_proto_msgTypes[50] - 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 RumVersionData_Version.ProtoReflect.Descriptor instead. -func (*RumVersionData_Version) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP(), []int{16, 2} -} - -func (x *RumVersionData_Version) GetVersion() *wrapperspb.StringValue { - if x != nil { - return x.Version - } - return nil -} - -func (x *RumVersionData_Version) GetLogMetadata() *RumVersionData_LogMetadata { - if x != nil { - return x.LogMetadata - } - return nil -} - -func (x *RumVersionData_Version) GetSourceMapMetadata() *RumVersionData_SourceMapMetadata { - if x != nil { - return x.SourceMapMetadata - } - return nil -} - -var File_com_coralogix_integrations_v1_integration_proto protoreflect.FileDescriptor - -var file_com_coralogix_integrations_v1_integration_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, - 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, - 0x74, 0x65, 0x6e, 0x73, 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, 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, 0x7b, - 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x03, 0x61, 0x72, 0x6e, 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, 0x61, 0x72, 0x6e, 0x12, 0x34, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 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, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x9f, 0x01, 0x0a, 0x08, - 0x41, 0x52, 0x4d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x75, 0x62, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 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, - 0x0e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x4c, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, - 0x70, 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, 0x11, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x0e, 0x0a, - 0x0c, 0x4e, 0x6f, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xcf, 0x02, - 0x0a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x5c, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x57, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 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, 0x08, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x44, 0x65, 0x74, 0x61, 0x69, 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, - 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x74, 0x0a, 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x6f, - 0x63, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 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, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x86, 0x03, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 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, 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, 0x30, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 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, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x64, 0x61, 0x72, 0x6b, 0x5f, - 0x69, 0x63, 0x6f, 0x6e, 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, 0x64, 0x61, 0x72, 0x6b, 0x49, 0x63, - 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x61, 0x67, 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, 0x04, - 0x74, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x08, 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, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4e, - 0x0a, 0x0b, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x64, 0x22, 0x56, - 0x0a, 0x0e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, - 0x12, 0x44, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x52, 0x07, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xb7, 0x0d, 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x4c, - 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0a, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x04, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x6f, - 0x63, 0x52, 0x04, 0x64, 0x6f, 0x63, 0x73, 0x12, 0x68, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x18, 0xf4, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x12, 0x46, 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, - 0x48, 0x01, 0x52, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x49, 0x0a, 0x08, 0x65, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0xca, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x48, 0x01, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x1a, 0xe4, 0x06, 0x0a, 0x19, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x12, 0x7e, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x65, 0x64, 0x1a, 0xc6, 0x05, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, - 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 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, 0x4b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, - 0x61, 0x74, 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, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5f, 0x0a, - 0x12, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x43, - 0x0a, 0x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, - 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, - 0x70, 0x74, 0x79, 0x12, 0x5c, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, - 0x00, 0x52, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x3b, 0x0a, 0x03, 0x61, 0x72, 0x6d, 0x18, 0x66, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x52, 0x4d, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x03, 0x61, 0x72, 0x6d, 0x12, 0x39, - 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x08, 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, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x0c, 0x0a, 0x0a, 0x64, 0x65, 0x70, - 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, - 0x06, 0x10, 0x07, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x1a, 0x0a, 0x18, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, - 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x6c, 0x6f, 0x67, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x65, 0x10, 0x66, - 0x4a, 0x04, 0x08, 0x66, 0x10, 0x67, 0x4a, 0x04, 0x08, 0x67, 0x10, 0x68, 0x4a, 0x04, 0x08, 0x68, - 0x10, 0x69, 0x4a, 0x04, 0x08, 0x69, 0x10, 0x6a, 0x4a, 0x04, 0x08, 0x6a, 0x10, 0x6b, 0x4a, 0x04, - 0x08, 0x6b, 0x10, 0x6c, 0x4a, 0x04, 0x08, 0x6c, 0x10, 0x6d, 0x4a, 0x04, 0x08, 0x6d, 0x10, 0x6e, - 0x4a, 0x04, 0x08, 0x6e, 0x10, 0x6f, 0x4a, 0x04, 0x08, 0x6f, 0x10, 0x70, 0x4a, 0x04, 0x08, 0x70, - 0x10, 0x71, 0x4a, 0x04, 0x08, 0x71, 0x10, 0x72, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x72, - 0x61, 0x69, 0x6c, 0x52, 0x04, 0x6f, 0x6b, 0x74, 0x61, 0x52, 0x0a, 0x68, 0x65, 0x6c, 0x6d, 0x5f, - 0x63, 0x68, 0x61, 0x72, 0x74, 0x52, 0x15, 0x67, 0x63, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0a, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x5f, 0x66, 0x65, 0x65, 0x64, 0x52, 0x13, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x14, 0x67, 0x63, 0x70, 0x5f, - 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, - 0x52, 0x17, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, - 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x03, 0x72, 0x75, 0x6d, 0x52, 0x16, - 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x52, 0x12, 0x67, 0x63, 0x70, 0x5f, 0x6c, 0x6f, 0x67, 0x73, - 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x15, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x69, 0x65, - 0x6d, 0x22, 0x99, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 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, 0x50, 0x0a, 0x09, 0x72, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xca, 0x31, - 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, - 0x69, 0x73, 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, 0x5b, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x12, 0x50, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x73, 0x12, 0x74, 0x0a, 0x0f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, - 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x46, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, 0x0f, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x66, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x0a, 0x68, 0x65, 0x6c, 0x6d, 0x5f, 0x63, - 0x68, 0x61, 0x72, 0x74, 0x18, 0x67, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x48, - 0x65, 0x6c, 0x6d, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, 0x68, 0x65, 0x6c, 0x6d, - 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x73, 0x0a, 0x12, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x61, - 0x72, 0x6d, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x68, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x41, 0x72, 0x6d, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x41, - 0x72, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x4a, 0x0a, 0x03, 0x72, 0x75, - 0x6d, 0x18, 0x69, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x75, 0x6d, 0x48, - 0x00, 0x52, 0x03, 0x72, 0x75, 0x6d, 0x12, 0x5c, 0x0a, 0x09, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, - 0x6f, 0x72, 0x6d, 0x18, 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, - 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x72, 0x72, 0x61, - 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3b, 0x0a, 0x17, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, - 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x6d, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x15, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, - 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x64, 0x88, 0x01, - 0x01, 0x12, 0x42, 0x0a, 0x1d, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, - 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x65, 0x64, 0x1a, 0xfc, 0x03, 0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x12, 0x3f, 0x0a, 0x0c, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, - 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, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x55, 0x72, - 0x6c, 0x12, 0x79, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x59, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x9c, 0x01, 0x0a, - 0x17, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x64, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x65, 0x70, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x15, 0x70, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x65, 0x70, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 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, 0x48, 0x0a, 0x1a, 0x50, 0x6f, - 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x65, 0x70, 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, 0x10, 0x0a, 0x0e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0xa4, 0x02, 0x0a, 0x09, 0x48, 0x65, 0x6c, 0x6d, 0x43, - 0x68, 0x61, 0x72, 0x74, 0x12, 0x3d, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 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, 0x48, 0x00, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x61, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x5e, 0x0a, 0x05, 0x67, 0x75, 0x69, 0x64, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x65, 0x48, 0x01, 0x52, 0x05, 0x67, 0x75, - 0x69, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x67, 0x75, 0x69, 0x64, 0x65, 0x1a, 0x85, 0x01, - 0x0a, 0x09, 0x54, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x78, 0x0a, 0x14, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0xf5, 0x01, 0x0a, 0x03, 0x52, 0x75, 0x6d, 0x12, 0x77, 0x0a, - 0x14, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x64, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x12, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x53, 0x64, 0x6b, 0x43, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, 0x75, 0x0a, 0x13, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, - 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x4d, 0x61, 0x70, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x1a, 0x53, 0x0a, - 0x10, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x41, 0x72, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x72, - 0x6c, 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, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x55, - 0x72, 0x6c, 0x1a, 0xb1, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x65, 0x78, 0x74, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x02, 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, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x43, 0x0a, 0x0e, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 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, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x06, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x1a, 0x67, 0x0a, 0x0b, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x5f, 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, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a, - 0x0e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, - 0x6c, 0x0a, 0x12, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 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, 0x42, - 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x5f, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x6e, 0x0a, - 0x12, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 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, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x5f, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x50, 0x0a, - 0x16, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 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, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, - 0xa2, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 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, 0x48, - 0x00, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, - 0x01, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xdc, 0x02, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, - 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x64, 0x0a, 0x06, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x1a, 0x50, 0x0a, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x74, - 0x74, 0x65, 0x72, 0x6e, 0x22, 0x2d, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, - 0x44, 0x10, 0x02, 0x1a, 0x67, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x1a, 0xee, 0x0c, 0x0a, - 0x10, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x58, 0x0a, 0x06, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x65, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x6d, - 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x66, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x65, 0x78, 0x74, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x54, 0x65, 0x78, 0x74, 0x12, 0x7a, - 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x67, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, - 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, - 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6e, 0x0a, 0x0e, 0x73, 0x69, - 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x18, 0x68, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x42, 0x6f, 0x6f, - 0x6c, 0x65, 0x61, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x69, 0x6e, - 0x67, 0x6c, 0x65, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x12, 0x61, 0x0a, 0x09, 0x73, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x69, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, - 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x6a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4e, - 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x73, - 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x50, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, - 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 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, - 0x3b, 0x0a, 0x07, 0x74, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 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, 0x48, 0x01, - 0x52, 0x07, 0x74, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x88, 0x01, 0x01, 0x12, 0x4c, 0x0a, 0x13, - 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 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, 0x11, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 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, 0x48, 0x02, 0x52, - 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, - 0x36, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 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, 0x08, 0x72, - 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x64, 0x65, - 0x66, 0x69, 0x6e, 0x65, 0x64, 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, 0x42, 0x6f, - 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, - 0x6e, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x08, - 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, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x72, 0x65, 0x61, - 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x09, 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, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, - 0x79, 0x12, 0x6b, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x69, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x03, 0x52, 0x0c, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x66, 0x88, 0x01, 0x01, 0x12, 0x3c, - 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0b, 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, 0x04, - 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x48, 0x0a, 0x0e, - 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x18, 0x0c, - 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, 0x05, 0x52, 0x0d, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x74, - 0x69, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, 0x4a, 0x0a, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, - 0x64, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x0d, 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, 0x06, 0x52, - 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x88, - 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, - 0x74, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x66, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x75, 0x70, 0x67, 0x72, 0x61, - 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x1a, 0xe8, 0x04, - 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 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, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 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, 0x44, - 0x0a, 0x0c, 0x74, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x5f, 0x74, 0x65, 0x78, 0x74, 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, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x54, 0x65, 0x78, - 0x74, 0x88, 0x01, 0x01, 0x12, 0x6f, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x61, - 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x48, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x60, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x06, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, - 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x1a, 0x3e, 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x31, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, - 0x61, 0x67, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x08, 0x0a, 0x04, 0x42, 0x41, 0x53, 0x48, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x41, - 0x56, 0x41, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x02, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x74, - 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f, - 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x1a, 0xba, 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, - 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, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 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, 0x1a, 0xd2, 0x01, 0x0a, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x75, 0x69, 0x64, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x69, 0x6e, - 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x0c, - 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5e, 0x0a, 0x19, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, - 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 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, - 0x18, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x88, 0x01, 0x01, 0x42, 0x1c, 0x0a, 0x1a, - 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x09, 0x49, - 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x50, 0x49, 0x5f, - 0x4b, 0x45, 0x59, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, - 0x0d, 0x0a, 0x09, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x02, 0x12, 0x16, - 0x0a, 0x12, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, - 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, - 0x4e, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x10, 0x05, 0x12, - 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d, - 0x42, 0x45, 0x52, 0x10, 0x07, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x45, 0x4e, 0x53, 0x49, 0x54, 0x49, - 0x56, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x08, 0x42, 0x13, 0x0a, 0x11, 0x64, 0x65, 0x70, - 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x42, 0x1a, - 0x0a, 0x18, 0x5f, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x6d, 0x64, 0x22, 0xe4, 0x05, 0x0a, 0x09, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x41, 0x0a, 0x0c, 0x73, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x65, 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, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, - 0x0d, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x66, - 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, - 0x48, 0x00, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x56, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, - 0x67, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, - 0x6b, 0x65, 0x79, 0x18, 0x68, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, - 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x6e, 0x75, 0x6d, 0x65, - 0x72, 0x69, 0x63, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x69, 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, 0x48, 0x00, 0x52, - 0x0c, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x6a, 0x0a, - 0x0e, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, - 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6c, 0x61, - 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x65, 0x6e, 0x73, - 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x42, 0x0a, 0x0a, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 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, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x7d, 0x0a, - 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x44, 0x61, 0x74, 0x61, 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, 0x37, 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, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x88, - 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x1a, 0x0a, 0x18, - 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6c, 0x61, - 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x68, 0x0a, 0x1c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, - 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x8b, 0x05, 0x0a, 0x13, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x45, 0x0a, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 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, 0x0e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x74, 0x0a, 0x16, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x71, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, - 0x00, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x73, 0x70, 0x65, 0x63, - 0x69, 0x66, 0x69, 0x63, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, - 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, 0x10, - 0x06, 0x4a, 0x04, 0x08, 0x65, 0x10, 0x66, 0x4a, 0x04, 0x08, 0x66, 0x10, 0x67, 0x4a, 0x04, 0x08, - 0x67, 0x10, 0x68, 0x4a, 0x04, 0x08, 0x68, 0x10, 0x69, 0x4a, 0x04, 0x08, 0x69, 0x10, 0x6a, 0x4a, - 0x04, 0x08, 0x6a, 0x10, 0x6b, 0x4a, 0x04, 0x08, 0x6b, 0x10, 0x6c, 0x4a, 0x04, 0x08, 0x6c, 0x10, - 0x6d, 0x4a, 0x04, 0x08, 0x6d, 0x10, 0x6e, 0x4a, 0x04, 0x08, 0x6e, 0x10, 0x6f, 0x4a, 0x04, 0x08, - 0x6f, 0x10, 0x70, 0x4a, 0x04, 0x08, 0x70, 0x10, 0x71, 0x4a, 0x04, 0x08, 0x72, 0x10, 0x73, 0x52, - 0x0a, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x52, 0x0b, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x6f, 0x6b, - 0x74, 0x61, 0x52, 0x0a, 0x68, 0x65, 0x6c, 0x6d, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x52, 0x15, - 0x67, 0x63, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, - 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, - 0x65, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x66, 0x65, 0x65, 0x64, 0x52, 0x13, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, - 0x6b, 0x65, 0x72, 0x52, 0x14, 0x67, 0x63, 0x70, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x5f, - 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x17, 0x61, 0x7a, 0x75, 0x72, 0x65, - 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x6f, 0x72, 0x52, 0x03, 0x72, 0x75, 0x6d, 0x52, 0x16, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x52, - 0x11, 0x67, 0x63, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x6f, 0x72, 0x52, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x69, 0x65, 0x6d, 0x22, 0xae, 0x02, 0x0a, 0x15, 0x54, 0x65, - 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x58, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x48, 0x00, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x58, 0x0a, - 0x07, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, - 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x07, - 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x1a, 0x09, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x1a, 0x4c, 0x0a, 0x07, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x41, 0x0a, - 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 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, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xee, 0x05, 0x0a, 0x0e, 0x52, - 0x75, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x51, 0x0a, - 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x75, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x37, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, - 0x08, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x41, 0x74, 0x1a, 0xa0, 0x01, 0x0a, 0x11, 0x53, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 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, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x50, 0x0a, 0x16, 0x69, 0x73, - 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x66, 0x75, 0x6c, 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, 0x14, 0x69, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x65, 0x64, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x1a, 0x99, 0x01, 0x0a, - 0x0b, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x45, 0x0a, 0x10, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, - 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, 0x0f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6f, 0x63, 0x63, 0x75, - 0x72, 0x72, 0x65, 0x6e, 0x63, 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, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x4f, 0x63, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0x90, 0x02, 0x0a, 0x07, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x0c, - 0x6c, 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, - 0x61, 0x2e, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x6c, - 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x6f, 0x0a, 0x13, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x61, 0x70, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8b, 0x03, 0x0a, 0x1e, - 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 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, 0x43, 0x0a, 0x0e, - 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 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, 0x0d, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, - 0x79, 0x12, 0x4b, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x76, 0x65, 0x72, 0x73, 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, 0x11, 0x64, 0x65, 0x66, - 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, - 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x4c, 0x0a, 0x10, 0x43, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, - 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, - 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x41, 0x49, 0x4c, 0x49, 0x4e, - 0x47, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_integrations_v1_integration_proto_rawDescOnce sync.Once - file_com_coralogix_integrations_v1_integration_proto_rawDescData = file_com_coralogix_integrations_v1_integration_proto_rawDesc -) - -func file_com_coralogix_integrations_v1_integration_proto_rawDescGZIP() []byte { - file_com_coralogix_integrations_v1_integration_proto_rawDescOnce.Do(func() { - file_com_coralogix_integrations_v1_integration_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_integrations_v1_integration_proto_rawDescData) - }) - return file_com_coralogix_integrations_v1_integration_proto_rawDescData -} - -var file_com_coralogix_integrations_v1_integration_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_com_coralogix_integrations_v1_integration_proto_msgTypes = make([]protoimpl.MessageInfo, 51) -var file_com_coralogix_integrations_v1_integration_proto_goTypes = []any{ - (ConnectionStatus)(0), // 0: com.coralogix.integrations.v1.ConnectionStatus - (IntegrationRevision_InputType)(0), // 1: com.coralogix.integrations.v1.IntegrationRevision.InputType - (IntegrationRevision_FieldCondition_ConditionType)(0), // 2: com.coralogix.integrations.v1.IntegrationRevision.FieldCondition.ConditionType - (IntegrationRevision_CommandInformation_Language)(0), // 3: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.Language - (*CloudFormationStack)(nil), // 4: com.coralogix.integrations.v1.CloudFormationStack - (*ARMStack)(nil), // 5: com.coralogix.integrations.v1.ARMStack - (*NoDeployment)(nil), // 6: com.coralogix.integrations.v1.NoDeployment - (*IntegrationStatus)(nil), // 7: com.coralogix.integrations.v1.IntegrationStatus - (*IntegrationDoc)(nil), // 8: com.coralogix.integrations.v1.IntegrationDoc - (*Integration)(nil), // 9: com.coralogix.integrations.v1.Integration - (*RevisionRef)(nil), // 10: com.coralogix.integrations.v1.RevisionRef - (*LocalChangelog)(nil), // 11: com.coralogix.integrations.v1.LocalChangelog - (*ExternalUrl)(nil), // 12: com.coralogix.integrations.v1.ExternalUrl - (*IntegrationDetails)(nil), // 13: com.coralogix.integrations.v1.IntegrationDetails - (*IntegrationDefinition)(nil), // 14: com.coralogix.integrations.v1.IntegrationDefinition - (*IntegrationRevision)(nil), // 15: com.coralogix.integrations.v1.IntegrationRevision - (*Parameter)(nil), // 16: com.coralogix.integrations.v1.Parameter - (*GenericIntegrationParameters)(nil), // 17: com.coralogix.integrations.v1.GenericIntegrationParameters - (*IntegrationMetadata)(nil), // 18: com.coralogix.integrations.v1.IntegrationMetadata - (*TestIntegrationResult)(nil), // 19: com.coralogix.integrations.v1.TestIntegrationResult - (*RumVersionData)(nil), // 20: com.coralogix.integrations.v1.RumVersionData - (*DeployedIntegrationInformation)(nil), // 21: com.coralogix.integrations.v1.DeployedIntegrationInformation - nil, // 22: com.coralogix.integrations.v1.IntegrationStatus.DetailsEntry - (*IntegrationDetails_DefaultIntegrationDetails)(nil), // 23: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails - (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance)(nil), // 24: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance - (*IntegrationRevision_CloudFormationTemplate)(nil), // 25: com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate - (*IntegrationRevision_ManagedService)(nil), // 26: com.coralogix.integrations.v1.IntegrationRevision.ManagedService - (*IntegrationRevision_HelmChart)(nil), // 27: com.coralogix.integrations.v1.IntegrationRevision.HelmChart - (*IntegrationRevision_Terraform)(nil), // 28: com.coralogix.integrations.v1.IntegrationRevision.Terraform - (*IntegrationRevision_Rum)(nil), // 29: com.coralogix.integrations.v1.IntegrationRevision.Rum - (*IntegrationRevision_AzureArmTemplate)(nil), // 30: com.coralogix.integrations.v1.IntegrationRevision.AzureArmTemplate - (*IntegrationRevision_ListTextValue)(nil), // 31: com.coralogix.integrations.v1.IntegrationRevision.ListTextValue - (*IntegrationRevision_SingleValue)(nil), // 32: com.coralogix.integrations.v1.IntegrationRevision.SingleValue - (*IntegrationRevision_SingleBooleanValue)(nil), // 33: com.coralogix.integrations.v1.IntegrationRevision.SingleBooleanValue - (*IntegrationRevision_SingleNumericValue)(nil), // 34: com.coralogix.integrations.v1.IntegrationRevision.SingleNumericValue - (*IntegrationRevision_MultipleSelectionValue)(nil), // 35: com.coralogix.integrations.v1.IntegrationRevision.MultipleSelectionValue - (*IntegrationRevision_SelectionValue)(nil), // 36: com.coralogix.integrations.v1.IntegrationRevision.SelectionValue - (*IntegrationRevision_FieldCondition)(nil), // 37: com.coralogix.integrations.v1.IntegrationRevision.FieldCondition - (*IntegrationRevision_Group)(nil), // 38: com.coralogix.integrations.v1.IntegrationRevision.Group - (*IntegrationRevision_FieldInformation)(nil), // 39: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation - (*IntegrationRevision_CommandInformation)(nil), // 40: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation - (*IntegrationRevision_ConfigurationBlock)(nil), // 41: com.coralogix.integrations.v1.IntegrationRevision.ConfigurationBlock - (*IntegrationRevision_IntegrationGuide)(nil), // 42: com.coralogix.integrations.v1.IntegrationRevision.IntegrationGuide - nil, // 43: com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate.ParametersEntry - nil, // 44: com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate.PostInstallationStepsEntry - (*IntegrationRevision_FieldCondition_FieldValue)(nil), // 45: com.coralogix.integrations.v1.IntegrationRevision.FieldCondition.FieldValue - (*IntegrationRevision_CommandInformation_Link)(nil), // 46: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.Link - (*Parameter_StringList)(nil), // 47: com.coralogix.integrations.v1.Parameter.StringList - (*Parameter_ApiKeyData)(nil), // 48: com.coralogix.integrations.v1.Parameter.ApiKeyData - (*Parameter_SensitiveDataPlaceholder)(nil), // 49: com.coralogix.integrations.v1.Parameter.SensitiveDataPlaceholder - (*TestIntegrationResult_Success)(nil), // 50: com.coralogix.integrations.v1.TestIntegrationResult.Success - (*TestIntegrationResult_Failure)(nil), // 51: com.coralogix.integrations.v1.TestIntegrationResult.Failure - (*RumVersionData_SourceMapMetadata)(nil), // 52: com.coralogix.integrations.v1.RumVersionData.SourceMapMetadata - (*RumVersionData_LogMetadata)(nil), // 53: com.coralogix.integrations.v1.RumVersionData.LogMetadata - (*RumVersionData_Version)(nil), // 54: com.coralogix.integrations.v1.RumVersionData.Version - (*wrapperspb.StringValue)(nil), // 55: google.protobuf.StringValue - (*Extension)(nil), // 56: com.coralogix.extensions.v1.Extension - (*wrapperspb.BoolValue)(nil), // 57: google.protobuf.BoolValue - (*wrapperspb.DoubleValue)(nil), // 58: google.protobuf.DoubleValue - (*timestamppb.Timestamp)(nil), // 59: google.protobuf.Timestamp -} -var file_com_coralogix_integrations_v1_integration_proto_depIdxs = []int32{ - 55, // 0: com.coralogix.integrations.v1.CloudFormationStack.arn:type_name -> google.protobuf.StringValue - 55, // 1: com.coralogix.integrations.v1.CloudFormationStack.region:type_name -> google.protobuf.StringValue - 55, // 2: com.coralogix.integrations.v1.ARMStack.subscription_id:type_name -> google.protobuf.StringValue - 55, // 3: com.coralogix.integrations.v1.ARMStack.resource_group_name:type_name -> google.protobuf.StringValue - 0, // 4: com.coralogix.integrations.v1.IntegrationStatus.connection_status:type_name -> com.coralogix.integrations.v1.ConnectionStatus - 22, // 5: com.coralogix.integrations.v1.IntegrationStatus.details:type_name -> com.coralogix.integrations.v1.IntegrationStatus.DetailsEntry - 55, // 6: com.coralogix.integrations.v1.IntegrationStatus.messages:type_name -> google.protobuf.StringValue - 55, // 7: com.coralogix.integrations.v1.IntegrationDoc.name:type_name -> google.protobuf.StringValue - 55, // 8: com.coralogix.integrations.v1.IntegrationDoc.link:type_name -> google.protobuf.StringValue - 55, // 9: com.coralogix.integrations.v1.Integration.id:type_name -> google.protobuf.StringValue - 55, // 10: com.coralogix.integrations.v1.Integration.name:type_name -> google.protobuf.StringValue - 55, // 11: com.coralogix.integrations.v1.Integration.description:type_name -> google.protobuf.StringValue - 55, // 12: com.coralogix.integrations.v1.Integration.icon:type_name -> google.protobuf.StringValue - 55, // 13: com.coralogix.integrations.v1.Integration.dark_icon:type_name -> google.protobuf.StringValue - 55, // 14: com.coralogix.integrations.v1.Integration.tags:type_name -> google.protobuf.StringValue - 55, // 15: com.coralogix.integrations.v1.Integration.versions:type_name -> google.protobuf.StringValue - 10, // 16: com.coralogix.integrations.v1.LocalChangelog.changes:type_name -> com.coralogix.integrations.v1.RevisionRef - 9, // 17: com.coralogix.integrations.v1.IntegrationDetails.integration:type_name -> com.coralogix.integrations.v1.Integration - 56, // 18: com.coralogix.integrations.v1.IntegrationDetails.extensions:type_name -> com.coralogix.extensions.v1.Extension - 8, // 19: com.coralogix.integrations.v1.IntegrationDetails.docs:type_name -> com.coralogix.integrations.v1.IntegrationDoc - 23, // 20: com.coralogix.integrations.v1.IntegrationDetails.default:type_name -> com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails - 11, // 21: com.coralogix.integrations.v1.IntegrationDetails.local:type_name -> com.coralogix.integrations.v1.LocalChangelog - 12, // 22: com.coralogix.integrations.v1.IntegrationDetails.external:type_name -> com.coralogix.integrations.v1.ExternalUrl - 55, // 23: com.coralogix.integrations.v1.IntegrationDefinition.key:type_name -> google.protobuf.StringValue - 15, // 24: com.coralogix.integrations.v1.IntegrationDefinition.revisions:type_name -> com.coralogix.integrations.v1.IntegrationRevision - 55, // 25: com.coralogix.integrations.v1.IntegrationRevision.id:type_name -> google.protobuf.StringValue - 39, // 26: com.coralogix.integrations.v1.IntegrationRevision.fields:type_name -> com.coralogix.integrations.v1.IntegrationRevision.FieldInformation - 38, // 27: com.coralogix.integrations.v1.IntegrationRevision.groups:type_name -> com.coralogix.integrations.v1.IntegrationRevision.Group - 25, // 28: com.coralogix.integrations.v1.IntegrationRevision.cloud_formation:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate - 26, // 29: com.coralogix.integrations.v1.IntegrationRevision.managed_service:type_name -> com.coralogix.integrations.v1.IntegrationRevision.ManagedService - 27, // 30: com.coralogix.integrations.v1.IntegrationRevision.helm_chart:type_name -> com.coralogix.integrations.v1.IntegrationRevision.HelmChart - 30, // 31: com.coralogix.integrations.v1.IntegrationRevision.azure_arm_template:type_name -> com.coralogix.integrations.v1.IntegrationRevision.AzureArmTemplate - 29, // 32: com.coralogix.integrations.v1.IntegrationRevision.rum:type_name -> com.coralogix.integrations.v1.IntegrationRevision.Rum - 28, // 33: com.coralogix.integrations.v1.IntegrationRevision.terraform:type_name -> com.coralogix.integrations.v1.IntegrationRevision.Terraform - 55, // 34: com.coralogix.integrations.v1.Parameter.string_value:type_name -> google.protobuf.StringValue - 57, // 35: com.coralogix.integrations.v1.Parameter.boolean_value:type_name -> google.protobuf.BoolValue - 47, // 36: com.coralogix.integrations.v1.Parameter.string_list:type_name -> com.coralogix.integrations.v1.Parameter.StringList - 48, // 37: com.coralogix.integrations.v1.Parameter.api_key:type_name -> com.coralogix.integrations.v1.Parameter.ApiKeyData - 58, // 38: com.coralogix.integrations.v1.Parameter.numeric_value:type_name -> google.protobuf.DoubleValue - 49, // 39: com.coralogix.integrations.v1.Parameter.sensitive_data:type_name -> com.coralogix.integrations.v1.Parameter.SensitiveDataPlaceholder - 16, // 40: com.coralogix.integrations.v1.GenericIntegrationParameters.parameters:type_name -> com.coralogix.integrations.v1.Parameter - 55, // 41: com.coralogix.integrations.v1.IntegrationMetadata.integration_key:type_name -> google.protobuf.StringValue - 55, // 42: com.coralogix.integrations.v1.IntegrationMetadata.version:type_name -> google.protobuf.StringValue - 17, // 43: com.coralogix.integrations.v1.IntegrationMetadata.integration_parameters:type_name -> com.coralogix.integrations.v1.GenericIntegrationParameters - 50, // 44: com.coralogix.integrations.v1.TestIntegrationResult.success:type_name -> com.coralogix.integrations.v1.TestIntegrationResult.Success - 51, // 45: com.coralogix.integrations.v1.TestIntegrationResult.failure:type_name -> com.coralogix.integrations.v1.TestIntegrationResult.Failure - 54, // 46: com.coralogix.integrations.v1.RumVersionData.versions:type_name -> com.coralogix.integrations.v1.RumVersionData.Version - 59, // 47: com.coralogix.integrations.v1.RumVersionData.synced_at:type_name -> google.protobuf.Timestamp - 55, // 48: com.coralogix.integrations.v1.DeployedIntegrationInformation.id:type_name -> google.protobuf.StringValue - 55, // 49: com.coralogix.integrations.v1.DeployedIntegrationInformation.definition_key:type_name -> google.protobuf.StringValue - 55, // 50: com.coralogix.integrations.v1.DeployedIntegrationInformation.definition_version:type_name -> google.protobuf.StringValue - 16, // 51: com.coralogix.integrations.v1.DeployedIntegrationInformation.parameters:type_name -> com.coralogix.integrations.v1.Parameter - 7, // 52: com.coralogix.integrations.v1.DeployedIntegrationInformation.integration_status:type_name -> com.coralogix.integrations.v1.IntegrationStatus - 24, // 53: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.registered:type_name -> com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance - 55, // 54: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.id:type_name -> google.protobuf.StringValue - 55, // 55: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.definition_version:type_name -> google.protobuf.StringValue - 59, // 56: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.last_updated:type_name -> google.protobuf.Timestamp - 16, // 57: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.parameters:type_name -> com.coralogix.integrations.v1.Parameter - 7, // 58: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.integration_status:type_name -> com.coralogix.integrations.v1.IntegrationStatus - 6, // 59: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.empty:type_name -> com.coralogix.integrations.v1.NoDeployment - 4, // 60: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.cloudformation:type_name -> com.coralogix.integrations.v1.CloudFormationStack - 5, // 61: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.arm:type_name -> com.coralogix.integrations.v1.ARMStack - 57, // 62: com.coralogix.integrations.v1.IntegrationDetails.DefaultIntegrationDetails.RegisteredInstance.is_testing:type_name -> google.protobuf.BoolValue - 55, // 63: com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate.template_url:type_name -> google.protobuf.StringValue - 43, // 64: com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate.parameters:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate.ParametersEntry - 44, // 65: com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate.post_installation_steps:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CloudFormationTemplate.PostInstallationStepsEntry - 55, // 66: com.coralogix.integrations.v1.IntegrationRevision.HelmChart.template:type_name -> google.protobuf.StringValue - 40, // 67: com.coralogix.integrations.v1.IntegrationRevision.HelmChart.commands:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CommandInformation - 42, // 68: com.coralogix.integrations.v1.IntegrationRevision.HelmChart.guide:type_name -> com.coralogix.integrations.v1.IntegrationRevision.IntegrationGuide - 41, // 69: com.coralogix.integrations.v1.IntegrationRevision.Terraform.configuration_blocks:type_name -> com.coralogix.integrations.v1.IntegrationRevision.ConfigurationBlock - 40, // 70: com.coralogix.integrations.v1.IntegrationRevision.Rum.browser_sdk_commands:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CommandInformation - 40, // 71: com.coralogix.integrations.v1.IntegrationRevision.Rum.source_map_commands:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CommandInformation - 55, // 72: com.coralogix.integrations.v1.IntegrationRevision.AzureArmTemplate.template_url:type_name -> google.protobuf.StringValue - 55, // 73: com.coralogix.integrations.v1.IntegrationRevision.ListTextValue.options:type_name -> google.protobuf.StringValue - 55, // 74: com.coralogix.integrations.v1.IntegrationRevision.ListTextValue.default_values:type_name -> google.protobuf.StringValue - 55, // 75: com.coralogix.integrations.v1.IntegrationRevision.SingleValue.default_value:type_name -> google.protobuf.StringValue - 57, // 76: com.coralogix.integrations.v1.IntegrationRevision.SingleBooleanValue.default_value:type_name -> google.protobuf.BoolValue - 58, // 77: com.coralogix.integrations.v1.IntegrationRevision.SingleNumericValue.default_value:type_name -> google.protobuf.DoubleValue - 55, // 78: com.coralogix.integrations.v1.IntegrationRevision.MultipleSelectionValue.options:type_name -> google.protobuf.StringValue - 55, // 79: com.coralogix.integrations.v1.IntegrationRevision.SelectionValue.options:type_name -> google.protobuf.StringValue - 55, // 80: com.coralogix.integrations.v1.IntegrationRevision.SelectionValue.default_value:type_name -> google.protobuf.StringValue - 2, // 81: com.coralogix.integrations.v1.IntegrationRevision.FieldCondition.type:type_name -> com.coralogix.integrations.v1.IntegrationRevision.FieldCondition.ConditionType - 45, // 82: com.coralogix.integrations.v1.IntegrationRevision.FieldCondition.values:type_name -> com.coralogix.integrations.v1.IntegrationRevision.FieldCondition.FieldValue - 55, // 83: com.coralogix.integrations.v1.IntegrationRevision.Group.id:type_name -> google.protobuf.StringValue - 55, // 84: com.coralogix.integrations.v1.IntegrationRevision.Group.name:type_name -> google.protobuf.StringValue - 32, // 85: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.single:type_name -> com.coralogix.integrations.v1.IntegrationRevision.SingleValue - 31, // 86: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.multi_text:type_name -> com.coralogix.integrations.v1.IntegrationRevision.ListTextValue - 35, // 87: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.multiple_selection:type_name -> com.coralogix.integrations.v1.IntegrationRevision.MultipleSelectionValue - 33, // 88: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.single_boolean:type_name -> com.coralogix.integrations.v1.IntegrationRevision.SingleBooleanValue - 36, // 89: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.selection:type_name -> com.coralogix.integrations.v1.IntegrationRevision.SelectionValue - 34, // 90: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.single_number:type_name -> com.coralogix.integrations.v1.IntegrationRevision.SingleNumericValue - 1, // 91: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.type:type_name -> com.coralogix.integrations.v1.IntegrationRevision.InputType - 55, // 92: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.name:type_name -> google.protobuf.StringValue - 55, // 93: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.tooltip:type_name -> google.protobuf.StringValue - 55, // 94: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.template_param_name:type_name -> google.protobuf.StringValue - 55, // 95: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.placeholder:type_name -> google.protobuf.StringValue - 57, // 96: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.required:type_name -> google.protobuf.BoolValue - 57, // 97: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.predefined:type_name -> google.protobuf.BoolValue - 57, // 98: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.visible:type_name -> google.protobuf.BoolValue - 57, // 99: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.readonly:type_name -> google.protobuf.BoolValue - 37, // 100: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.applicable_if:type_name -> com.coralogix.integrations.v1.IntegrationRevision.FieldCondition - 55, // 101: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.group_id:type_name -> google.protobuf.StringValue - 55, // 102: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.upgrade_notice:type_name -> google.protobuf.StringValue - 55, // 103: com.coralogix.integrations.v1.IntegrationRevision.FieldInformation.allowed_pattern:type_name -> google.protobuf.StringValue - 55, // 104: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.name:type_name -> google.protobuf.StringValue - 55, // 105: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.command:type_name -> google.protobuf.StringValue - 55, // 106: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.description:type_name -> google.protobuf.StringValue - 55, // 107: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.tooltip_text:type_name -> google.protobuf.StringValue - 3, // 108: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.language:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.Language - 46, // 109: com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.links:type_name -> com.coralogix.integrations.v1.IntegrationRevision.CommandInformation.Link - 55, // 110: com.coralogix.integrations.v1.IntegrationRevision.ConfigurationBlock.name:type_name -> google.protobuf.StringValue - 55, // 111: com.coralogix.integrations.v1.IntegrationRevision.ConfigurationBlock.value:type_name -> google.protobuf.StringValue - 55, // 112: com.coralogix.integrations.v1.IntegrationRevision.ConfigurationBlock.description:type_name -> google.protobuf.StringValue - 55, // 113: com.coralogix.integrations.v1.IntegrationRevision.IntegrationGuide.introduction:type_name -> google.protobuf.StringValue - 55, // 114: com.coralogix.integrations.v1.IntegrationRevision.IntegrationGuide.installation_requirements:type_name -> google.protobuf.StringValue - 55, // 115: com.coralogix.integrations.v1.Parameter.StringList.values:type_name -> google.protobuf.StringValue - 55, // 116: com.coralogix.integrations.v1.Parameter.ApiKeyData.id:type_name -> google.protobuf.StringValue - 55, // 117: com.coralogix.integrations.v1.Parameter.ApiKeyData.value:type_name -> google.protobuf.StringValue - 55, // 118: com.coralogix.integrations.v1.TestIntegrationResult.Failure.error_message:type_name -> google.protobuf.StringValue - 59, // 119: com.coralogix.integrations.v1.RumVersionData.SourceMapMetadata.created_at:type_name -> google.protobuf.Timestamp - 57, // 120: com.coralogix.integrations.v1.RumVersionData.SourceMapMetadata.is_uploaded_successful:type_name -> google.protobuf.BoolValue - 59, // 121: com.coralogix.integrations.v1.RumVersionData.LogMetadata.first_occurrence:type_name -> google.protobuf.Timestamp - 59, // 122: com.coralogix.integrations.v1.RumVersionData.LogMetadata.last_occurrence:type_name -> google.protobuf.Timestamp - 55, // 123: com.coralogix.integrations.v1.RumVersionData.Version.version:type_name -> google.protobuf.StringValue - 53, // 124: com.coralogix.integrations.v1.RumVersionData.Version.log_metadata:type_name -> com.coralogix.integrations.v1.RumVersionData.LogMetadata - 52, // 125: com.coralogix.integrations.v1.RumVersionData.Version.source_map_metadata:type_name -> com.coralogix.integrations.v1.RumVersionData.SourceMapMetadata - 126, // [126:126] is the sub-list for method output_type - 126, // [126:126] is the sub-list for method input_type - 126, // [126:126] is the sub-list for extension type_name - 126, // [126:126] is the sub-list for extension extendee - 0, // [0:126] is the sub-list for field type_name -} - -func init() { file_com_coralogix_integrations_v1_integration_proto_init() } -func file_com_coralogix_integrations_v1_integration_proto_init() { - if File_com_coralogix_integrations_v1_integration_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_integrations_v1_integration_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*CloudFormationStack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ARMStack); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*NoDeployment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationDoc); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*Integration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*RevisionRef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*LocalChangelog); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*ExternalUrl); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationDefinition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*Parameter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*GenericIntegrationParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*TestIntegrationResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*RumVersionData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*DeployedIntegrationInformation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationDetails_DefaultIntegrationDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_CloudFormationTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_ManagedService); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_HelmChart); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_Terraform); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_Rum); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[26].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_AzureArmTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[27].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_ListTextValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[28].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_SingleValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[29].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_SingleBooleanValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[30].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_SingleNumericValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[31].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_MultipleSelectionValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[32].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_SelectionValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[33].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_FieldCondition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[34].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_Group); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[35].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_FieldInformation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[36].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_CommandInformation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[37].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_ConfigurationBlock); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[38].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_IntegrationGuide); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[41].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_FieldCondition_FieldValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[42].Exporter = func(v any, i int) any { - switch v := v.(*IntegrationRevision_CommandInformation_Link); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[43].Exporter = func(v any, i int) any { - switch v := v.(*Parameter_StringList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[44].Exporter = func(v any, i int) any { - switch v := v.(*Parameter_ApiKeyData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[45].Exporter = func(v any, i int) any { - switch v := v.(*Parameter_SensitiveDataPlaceholder); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[46].Exporter = func(v any, i int) any { - switch v := v.(*TestIntegrationResult_Success); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[47].Exporter = func(v any, i int) any { - switch v := v.(*TestIntegrationResult_Failure); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[48].Exporter = func(v any, i int) any { - switch v := v.(*RumVersionData_SourceMapMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[49].Exporter = func(v any, i int) any { - switch v := v.(*RumVersionData_LogMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[50].Exporter = func(v any, i int) any { - switch v := v.(*RumVersionData_Version); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[9].OneofWrappers = []any{ - (*IntegrationDetails_Default)(nil), - (*IntegrationDetails_Local)(nil), - (*IntegrationDetails_External)(nil), - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[11].OneofWrappers = []any{ - (*IntegrationRevision_CloudFormation)(nil), - (*IntegrationRevision_ManagedService_)(nil), - (*IntegrationRevision_HelmChart_)(nil), - (*IntegrationRevision_AzureArmTemplate_)(nil), - (*IntegrationRevision_Rum_)(nil), - (*IntegrationRevision_Terraform_)(nil), - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[12].OneofWrappers = []any{ - (*Parameter_StringValue)(nil), - (*Parameter_BooleanValue)(nil), - (*Parameter_StringList_)(nil), - (*Parameter_ApiKey)(nil), - (*Parameter_NumericValue)(nil), - (*Parameter_SensitiveData)(nil), - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[14].OneofWrappers = []any{ - (*IntegrationMetadata_IntegrationParameters)(nil), - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[15].OneofWrappers = []any{ - (*TestIntegrationResult_Success_)(nil), - (*TestIntegrationResult_Failure_)(nil), - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[20].OneofWrappers = []any{ - (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Empty)(nil), - (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Cloudformation)(nil), - (*IntegrationDetails_DefaultIntegrationDetails_RegisteredInstance_Arm)(nil), - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[23].OneofWrappers = []any{} - file_com_coralogix_integrations_v1_integration_proto_msgTypes[28].OneofWrappers = []any{} - file_com_coralogix_integrations_v1_integration_proto_msgTypes[29].OneofWrappers = []any{} - file_com_coralogix_integrations_v1_integration_proto_msgTypes[30].OneofWrappers = []any{} - file_com_coralogix_integrations_v1_integration_proto_msgTypes[32].OneofWrappers = []any{} - file_com_coralogix_integrations_v1_integration_proto_msgTypes[35].OneofWrappers = []any{ - (*IntegrationRevision_FieldInformation_Single)(nil), - (*IntegrationRevision_FieldInformation_MultiText)(nil), - (*IntegrationRevision_FieldInformation_MultipleSelection)(nil), - (*IntegrationRevision_FieldInformation_SingleBoolean)(nil), - (*IntegrationRevision_FieldInformation_Selection)(nil), - (*IntegrationRevision_FieldInformation_SingleNumber)(nil), - } - file_com_coralogix_integrations_v1_integration_proto_msgTypes[36].OneofWrappers = []any{} - file_com_coralogix_integrations_v1_integration_proto_msgTypes[38].OneofWrappers = []any{} - file_com_coralogix_integrations_v1_integration_proto_msgTypes[44].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_integrations_v1_integration_proto_rawDesc, - NumEnums: 4, - NumMessages: 51, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_integrations_v1_integration_proto_goTypes, - DependencyIndexes: file_com_coralogix_integrations_v1_integration_proto_depIdxs, - EnumInfos: file_com_coralogix_integrations_v1_integration_proto_enumTypes, - MessageInfos: file_com_coralogix_integrations_v1_integration_proto_msgTypes, - }.Build() - File_com_coralogix_integrations_v1_integration_proto = out.File - file_com_coralogix_integrations_v1_integration_proto_rawDesc = nil - file_com_coralogix_integrations_v1_integration_proto_goTypes = nil - file_com_coralogix_integrations_v1_integration_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/integrations/integration_service.pb.go b/coralogix/clientset/grpc/integrations/integration_service.pb.go deleted file mode 100644 index 5744958f..00000000 --- a/coralogix/clientset/grpc/integrations/integration_service.pb.go +++ /dev/null @@ -1,2436 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 -// source: com/coralogix/integrations/v1/integration_service.proto - -package integrations - -import ( - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/descriptorpb" - 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 ListManagedIntegrationKeysRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListManagedIntegrationKeysRequest) Reset() { - *x = ListManagedIntegrationKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListManagedIntegrationKeysRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListManagedIntegrationKeysRequest) ProtoMessage() {} - -func (x *ListManagedIntegrationKeysRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 ListManagedIntegrationKeysRequest.ProtoReflect.Descriptor instead. -func (*ListManagedIntegrationKeysRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{0} -} - -type ListManagedIntegrationKeysResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationKeys []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=integration_keys,json=integrationKeys,proto3" json:"integration_keys,omitempty"` -} - -func (x *ListManagedIntegrationKeysResponse) Reset() { - *x = ListManagedIntegrationKeysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListManagedIntegrationKeysResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListManagedIntegrationKeysResponse) ProtoMessage() {} - -func (x *ListManagedIntegrationKeysResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 ListManagedIntegrationKeysResponse.ProtoReflect.Descriptor instead. -func (*ListManagedIntegrationKeysResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{1} -} - -func (x *ListManagedIntegrationKeysResponse) GetIntegrationKeys() []*wrapperspb.StringValue { - if x != nil { - return x.IntegrationKeys - } - return nil -} - -type GetDeployedIntegrationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"` -} - -func (x *GetDeployedIntegrationRequest) Reset() { - *x = GetDeployedIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDeployedIntegrationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDeployedIntegrationRequest) ProtoMessage() {} - -func (x *GetDeployedIntegrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetDeployedIntegrationRequest.ProtoReflect.Descriptor instead. -func (*GetDeployedIntegrationRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{2} -} - -func (x *GetDeployedIntegrationRequest) GetIntegrationId() *wrapperspb.StringValue { - if x != nil { - return x.IntegrationId - } - return nil -} - -type GetDeployedIntegrationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Integration *DeployedIntegrationInformation `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"` -} - -func (x *GetDeployedIntegrationResponse) Reset() { - *x = GetDeployedIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetDeployedIntegrationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDeployedIntegrationResponse) ProtoMessage() {} - -func (x *GetDeployedIntegrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetDeployedIntegrationResponse.ProtoReflect.Descriptor instead. -func (*GetDeployedIntegrationResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{3} -} - -func (x *GetDeployedIntegrationResponse) GetIntegration() *DeployedIntegrationInformation { - if x != nil { - return x.Integration - } - return nil -} - -type UpdateIntegrationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //This is the integration id generated at creation time - Metadata *IntegrationMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` -} - -func (x *UpdateIntegrationRequest) Reset() { - *x = UpdateIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateIntegrationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateIntegrationRequest) ProtoMessage() {} - -func (x *UpdateIntegrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 UpdateIntegrationRequest.ProtoReflect.Descriptor instead. -func (*UpdateIntegrationRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{4} -} - -func (x *UpdateIntegrationRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *UpdateIntegrationRequest) GetMetadata() *IntegrationMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -type UpdateIntegrationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UpdateIntegrationResponse) Reset() { - *x = UpdateIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateIntegrationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateIntegrationResponse) ProtoMessage() {} - -func (x *UpdateIntegrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 UpdateIntegrationResponse.ProtoReflect.Descriptor instead. -func (*UpdateIntegrationResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{5} -} - -type GetIntegrationDefinitionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - IncludeTestingRevision *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=include_testing_revision,json=includeTestingRevision,proto3" json:"include_testing_revision,omitempty"` -} - -func (x *GetIntegrationDefinitionRequest) Reset() { - *x = GetIntegrationDefinitionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetIntegrationDefinitionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIntegrationDefinitionRequest) ProtoMessage() {} - -func (x *GetIntegrationDefinitionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetIntegrationDefinitionRequest.ProtoReflect.Descriptor instead. -func (*GetIntegrationDefinitionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{6} -} - -func (x *GetIntegrationDefinitionRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *GetIntegrationDefinitionRequest) GetIncludeTestingRevision() *wrapperspb.BoolValue { - if x != nil { - return x.IncludeTestingRevision - } - return nil -} - -type GetIntegrationDefinitionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationDefinition *IntegrationDefinition `protobuf:"bytes,1,opt,name=integration_definition,json=integrationDefinition,proto3" json:"integration_definition,omitempty"` -} - -func (x *GetIntegrationDefinitionResponse) Reset() { - *x = GetIntegrationDefinitionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetIntegrationDefinitionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIntegrationDefinitionResponse) ProtoMessage() {} - -func (x *GetIntegrationDefinitionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetIntegrationDefinitionResponse.ProtoReflect.Descriptor instead. -func (*GetIntegrationDefinitionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{7} -} - -func (x *GetIntegrationDefinitionResponse) GetIntegrationDefinition() *IntegrationDefinition { - if x != nil { - return x.IntegrationDefinition - } - return nil -} - -type GetIntegrationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IncludeTestingRevision *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=include_testing_revision,json=includeTestingRevision,proto3" json:"include_testing_revision,omitempty"` -} - -func (x *GetIntegrationsRequest) Reset() { - *x = GetIntegrationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetIntegrationsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIntegrationsRequest) ProtoMessage() {} - -func (x *GetIntegrationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetIntegrationsRequest.ProtoReflect.Descriptor instead. -func (*GetIntegrationsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{8} -} - -func (x *GetIntegrationsRequest) GetIncludeTestingRevision() *wrapperspb.BoolValue { - if x != nil { - return x.IncludeTestingRevision - } - return nil -} - -type GetIntegrationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Integrations []*GetIntegrationsResponse_IntegrationWithCounts `protobuf:"bytes,1,rep,name=integrations,proto3" json:"integrations,omitempty"` -} - -func (x *GetIntegrationsResponse) Reset() { - *x = GetIntegrationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetIntegrationsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIntegrationsResponse) ProtoMessage() {} - -func (x *GetIntegrationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetIntegrationsResponse.ProtoReflect.Descriptor instead. -func (*GetIntegrationsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{9} -} - -func (x *GetIntegrationsResponse) GetIntegrations() []*GetIntegrationsResponse_IntegrationWithCounts { - if x != nil { - return x.Integrations - } - return nil -} - -type GetIntegrationDetailsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - IncludeTestingRevision *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=include_testing_revision,json=includeTestingRevision,proto3" json:"include_testing_revision,omitempty"` -} - -func (x *GetIntegrationDetailsRequest) Reset() { - *x = GetIntegrationDetailsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetIntegrationDetailsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIntegrationDetailsRequest) ProtoMessage() {} - -func (x *GetIntegrationDetailsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetIntegrationDetailsRequest.ProtoReflect.Descriptor instead. -func (*GetIntegrationDetailsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{10} -} - -func (x *GetIntegrationDetailsRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *GetIntegrationDetailsRequest) GetIncludeTestingRevision() *wrapperspb.BoolValue { - if x != nil { - return x.IncludeTestingRevision - } - return nil -} - -type GetIntegrationDetailsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationDetail *IntegrationDetails `protobuf:"bytes,1,opt,name=integration_detail,json=integrationDetail,proto3" json:"integration_detail,omitempty"` -} - -func (x *GetIntegrationDetailsResponse) Reset() { - *x = GetIntegrationDetailsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetIntegrationDetailsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIntegrationDetailsResponse) ProtoMessage() {} - -func (x *GetIntegrationDetailsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetIntegrationDetailsResponse.ProtoReflect.Descriptor instead. -func (*GetIntegrationDetailsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{11} -} - -func (x *GetIntegrationDetailsResponse) GetIntegrationDetail() *IntegrationDetails { - if x != nil { - return x.IntegrationDetail - } - return nil -} - -type GetManagedIntegrationStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationId string `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"` -} - -func (x *GetManagedIntegrationStatusRequest) Reset() { - *x = GetManagedIntegrationStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetManagedIntegrationStatusRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetManagedIntegrationStatusRequest) ProtoMessage() {} - -func (x *GetManagedIntegrationStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetManagedIntegrationStatusRequest.ProtoReflect.Descriptor instead. -func (*GetManagedIntegrationStatusRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{12} -} - -func (x *GetManagedIntegrationStatusRequest) GetIntegrationId() string { - if x != nil { - return x.IntegrationId - } - return "" -} - -type GetManagedIntegrationStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationId string `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"` - Status *IntegrationStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` -} - -func (x *GetManagedIntegrationStatusResponse) Reset() { - *x = GetManagedIntegrationStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetManagedIntegrationStatusResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetManagedIntegrationStatusResponse) ProtoMessage() {} - -func (x *GetManagedIntegrationStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 GetManagedIntegrationStatusResponse.ProtoReflect.Descriptor instead. -func (*GetManagedIntegrationStatusResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{13} -} - -func (x *GetManagedIntegrationStatusResponse) GetIntegrationId() string { - if x != nil { - return x.IntegrationId - } - return "" -} - -func (x *GetManagedIntegrationStatusResponse) GetStatus() *IntegrationStatus { - if x != nil { - return x.Status - } - return nil -} - -type SaveIntegrationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Metadata *IntegrationMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` -} - -func (x *SaveIntegrationRequest) Reset() { - *x = SaveIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SaveIntegrationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SaveIntegrationRequest) ProtoMessage() {} - -func (x *SaveIntegrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 SaveIntegrationRequest.ProtoReflect.Descriptor instead. -func (*SaveIntegrationRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{14} -} - -func (x *SaveIntegrationRequest) GetMetadata() *IntegrationMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -type SaveIntegrationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"` -} - -func (x *SaveIntegrationResponse) Reset() { - *x = SaveIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SaveIntegrationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SaveIntegrationResponse) ProtoMessage() {} - -func (x *SaveIntegrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 SaveIntegrationResponse.ProtoReflect.Descriptor instead. -func (*SaveIntegrationResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{15} -} - -func (x *SaveIntegrationResponse) GetIntegrationId() *wrapperspb.StringValue { - if x != nil { - return x.IntegrationId - } - return nil -} - -type DeleteIntegrationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"` -} - -func (x *DeleteIntegrationRequest) Reset() { - *x = DeleteIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteIntegrationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteIntegrationRequest) ProtoMessage() {} - -func (x *DeleteIntegrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 DeleteIntegrationRequest.ProtoReflect.Descriptor instead. -func (*DeleteIntegrationRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{16} -} - -func (x *DeleteIntegrationRequest) GetIntegrationId() *wrapperspb.StringValue { - if x != nil { - return x.IntegrationId - } - return nil -} - -type DeleteIntegrationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteIntegrationResponse) Reset() { - *x = DeleteIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteIntegrationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteIntegrationResponse) ProtoMessage() {} - -func (x *DeleteIntegrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_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 DeleteIntegrationResponse.ProtoReflect.Descriptor instead. -func (*DeleteIntegrationResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{17} -} - -type GetTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"` - // Types that are assignable to ExtraParams: - // - // *GetTemplateRequest_CommonArmParams - // *GetTemplateRequest_Empty_ - ExtraParams isGetTemplateRequest_ExtraParams `protobuf_oneof:"extra_params"` -} - -func (x *GetTemplateRequest) Reset() { - *x = GetTemplateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTemplateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTemplateRequest) ProtoMessage() {} - -func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[18] - 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 GetTemplateRequest.ProtoReflect.Descriptor instead. -func (*GetTemplateRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{18} -} - -func (x *GetTemplateRequest) GetIntegrationId() *wrapperspb.StringValue { - if x != nil { - return x.IntegrationId - } - return nil -} - -func (m *GetTemplateRequest) GetExtraParams() isGetTemplateRequest_ExtraParams { - if m != nil { - return m.ExtraParams - } - return nil -} - -func (x *GetTemplateRequest) GetCommonArmParams() *GetTemplateRequest_CommonARMParams { - if x, ok := x.GetExtraParams().(*GetTemplateRequest_CommonArmParams); ok { - return x.CommonArmParams - } - return nil -} - -func (x *GetTemplateRequest) GetEmpty() *GetTemplateRequest_Empty { - if x, ok := x.GetExtraParams().(*GetTemplateRequest_Empty_); ok { - return x.Empty - } - return nil -} - -type isGetTemplateRequest_ExtraParams interface { - isGetTemplateRequest_ExtraParams() -} - -type GetTemplateRequest_CommonArmParams struct { - CommonArmParams *GetTemplateRequest_CommonARMParams `protobuf:"bytes,101,opt,name=common_arm_params,json=commonArmParams,proto3,oneof"` -} - -type GetTemplateRequest_Empty_ struct { - Empty *GetTemplateRequest_Empty `protobuf:"bytes,102,opt,name=empty,proto3,oneof"` -} - -func (*GetTemplateRequest_CommonArmParams) isGetTemplateRequest_ExtraParams() {} - -func (*GetTemplateRequest_Empty_) isGetTemplateRequest_ExtraParams() {} - -type GetTemplateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TemplateUrl *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=template_url,json=templateUrl,proto3" json:"template_url,omitempty"` -} - -func (x *GetTemplateResponse) Reset() { - *x = GetTemplateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTemplateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTemplateResponse) ProtoMessage() {} - -func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[19] - 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 GetTemplateResponse.ProtoReflect.Descriptor instead. -func (*GetTemplateResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{19} -} - -func (x *GetTemplateResponse) GetTemplateUrl() *wrapperspb.StringValue { - if x != nil { - return x.TemplateUrl - } - return nil -} - -type GetRumApplicationVersionDataRequest 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"` -} - -func (x *GetRumApplicationVersionDataRequest) Reset() { - *x = GetRumApplicationVersionDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRumApplicationVersionDataRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRumApplicationVersionDataRequest) ProtoMessage() {} - -func (x *GetRumApplicationVersionDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[20] - 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 GetRumApplicationVersionDataRequest.ProtoReflect.Descriptor instead. -func (*GetRumApplicationVersionDataRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{20} -} - -func (x *GetRumApplicationVersionDataRequest) GetApplicationName() *wrapperspb.StringValue { - if x != nil { - return x.ApplicationName - } - return nil -} - -type GetRumApplicationVersionDataResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - VersionData *RumVersionData `protobuf:"bytes,1,opt,name=version_data,json=versionData,proto3" json:"version_data,omitempty"` -} - -func (x *GetRumApplicationVersionDataResponse) Reset() { - *x = GetRumApplicationVersionDataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRumApplicationVersionDataResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRumApplicationVersionDataResponse) ProtoMessage() {} - -func (x *GetRumApplicationVersionDataResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[21] - 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 GetRumApplicationVersionDataResponse.ProtoReflect.Descriptor instead. -func (*GetRumApplicationVersionDataResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{21} -} - -func (x *GetRumApplicationVersionDataResponse) GetVersionData() *RumVersionData { - if x != nil { - return x.VersionData - } - return nil -} - -type SyncRumDataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // If set to false, it may not be triggered if it was synced just recently. - // The period amount when the sync is not triggered is determined by configuration. - Force *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=force,proto3" json:"force,omitempty"` -} - -func (x *SyncRumDataRequest) Reset() { - *x = SyncRumDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncRumDataRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncRumDataRequest) ProtoMessage() {} - -func (x *SyncRumDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[22] - 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 SyncRumDataRequest.ProtoReflect.Descriptor instead. -func (*SyncRumDataRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{22} -} - -func (x *SyncRumDataRequest) GetForce() *wrapperspb.BoolValue { - if x != nil { - return x.Force - } - return nil -} - -type SyncRumDataResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SyncExecuted *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=sync_executed,json=syncExecuted,proto3" json:"sync_executed,omitempty"` - SyncedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=synced_at,json=syncedAt,proto3" json:"synced_at,omitempty"` -} - -func (x *SyncRumDataResponse) Reset() { - *x = SyncRumDataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncRumDataResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncRumDataResponse) ProtoMessage() {} - -func (x *SyncRumDataResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[23] - 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 SyncRumDataResponse.ProtoReflect.Descriptor instead. -func (*SyncRumDataResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{23} -} - -func (x *SyncRumDataResponse) GetSyncExecuted() *wrapperspb.BoolValue { - if x != nil { - return x.SyncExecuted - } - return nil -} - -func (x *SyncRumDataResponse) GetSyncedAt() *timestamppb.Timestamp { - if x != nil { - return x.SyncedAt - } - return nil -} - -type TestIntegrationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IntegrationData *IntegrationMetadata `protobuf:"bytes,1,opt,name=integration_data,json=integrationData,proto3" json:"integration_data,omitempty"` - IntegrationId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=integration_id,json=integrationId,proto3" json:"integration_id,omitempty"` -} - -func (x *TestIntegrationRequest) Reset() { - *x = TestIntegrationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestIntegrationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestIntegrationRequest) ProtoMessage() {} - -func (x *TestIntegrationRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[24] - 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 TestIntegrationRequest.ProtoReflect.Descriptor instead. -func (*TestIntegrationRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{24} -} - -func (x *TestIntegrationRequest) GetIntegrationData() *IntegrationMetadata { - if x != nil { - return x.IntegrationData - } - return nil -} - -func (x *TestIntegrationRequest) GetIntegrationId() *wrapperspb.StringValue { - if x != nil { - return x.IntegrationId - } - return nil -} - -type TestIntegrationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *TestIntegrationResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` -} - -func (x *TestIntegrationResponse) Reset() { - *x = TestIntegrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestIntegrationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestIntegrationResponse) ProtoMessage() {} - -func (x *TestIntegrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[25] - 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 TestIntegrationResponse.ProtoReflect.Descriptor instead. -func (*TestIntegrationResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{25} -} - -func (x *TestIntegrationResponse) GetResult() *TestIntegrationResult { - if x != nil { - return x.Result - } - return nil -} - -type GetIntegrationsResponse_IntegrationWithCounts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Integration *Integration `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"` - AmountIntegrations *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=amount_integrations,json=amountIntegrations,proto3" json:"amount_integrations,omitempty"` - Errors []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` - UpgradeAvailable *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=upgrade_available,json=upgradeAvailable,proto3" json:"upgrade_available,omitempty"` - IsNew *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` -} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) Reset() { - *x = GetIntegrationsResponse_IntegrationWithCounts{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIntegrationsResponse_IntegrationWithCounts) ProtoMessage() {} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[26] - 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 GetIntegrationsResponse_IntegrationWithCounts.ProtoReflect.Descriptor instead. -func (*GetIntegrationsResponse_IntegrationWithCounts) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{9, 0} -} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) GetIntegration() *Integration { - if x != nil { - return x.Integration - } - return nil -} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) GetAmountIntegrations() *wrapperspb.UInt32Value { - if x != nil { - return x.AmountIntegrations - } - return nil -} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) GetErrors() []*wrapperspb.StringValue { - if x != nil { - return x.Errors - } - return nil -} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) GetUpgradeAvailable() *wrapperspb.BoolValue { - if x != nil { - return x.UpgradeAvailable - } - return nil -} - -func (x *GetIntegrationsResponse_IntegrationWithCounts) GetIsNew() *wrapperspb.BoolValue { - if x != nil { - return x.IsNew - } - return nil -} - -type GetTemplateRequest_CommonARMParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LogsUrl *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=logs_url,json=logsUrl,proto3" json:"logs_url,omitempty"` - ApiKey *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` - CgxDomain *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=cgx_domain,json=cgxDomain,proto3" json:"cgx_domain,omitempty"` -} - -func (x *GetTemplateRequest_CommonARMParams) Reset() { - *x = GetTemplateRequest_CommonARMParams{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTemplateRequest_CommonARMParams) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTemplateRequest_CommonARMParams) ProtoMessage() {} - -func (x *GetTemplateRequest_CommonARMParams) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[27] - 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 GetTemplateRequest_CommonARMParams.ProtoReflect.Descriptor instead. -func (*GetTemplateRequest_CommonARMParams) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{18, 0} -} - -func (x *GetTemplateRequest_CommonARMParams) GetLogsUrl() *wrapperspb.StringValue { - if x != nil { - return x.LogsUrl - } - return nil -} - -func (x *GetTemplateRequest_CommonARMParams) GetApiKey() *wrapperspb.StringValue { - if x != nil { - return x.ApiKey - } - return nil -} - -func (x *GetTemplateRequest_CommonARMParams) GetCgxDomain() *wrapperspb.StringValue { - if x != nil { - return x.CgxDomain - } - return nil -} - -type GetTemplateRequest_Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetTemplateRequest_Empty) Reset() { - *x = GetTemplateRequest_Empty{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTemplateRequest_Empty) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTemplateRequest_Empty) ProtoMessage() {} - -func (x *GetTemplateRequest_Empty) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[28] - 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 GetTemplateRequest_Empty.ProtoReflect.Descriptor instead. -func (*GetTemplateRequest_Empty) Descriptor() ([]byte, []int) { - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP(), []int{18, 1} -} - -var File_com_coralogix_integrations_v1_integration_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_integrations_v1_integration_service_proto_rawDesc = []byte{ - 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, - 0x6f, 0x67, 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, 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, 0x1c, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 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, 0x22, 0x23, 0x0a, 0x21, 0x4c, 0x69, 0x73, - 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x6d, - 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 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, 0x0f, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x64, 0x0a, - 0x1d, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, - 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 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, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6c, - 0x6f, 0x79, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 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, 0x4e, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xa5, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 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, 0x54, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, - 0x16, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x16, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x69, - 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0x0a, 0x16, 0x47, 0x65, 0x74, - 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x16, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf4, 0x03, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, - 0x69, 0x74, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xe6, 0x02, 0x0a, 0x15, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x4d, 0x0a, 0x13, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x55, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x12, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, - 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 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, 0x06, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, - 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 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, 0x10, 0x75, 0x70, 0x67, - 0x72, 0x61, 0x64, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, - 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 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, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, - 0x22, 0xa2, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 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, - 0x54, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x16, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x4b, 0x0a, 0x22, 0x47, 0x65, 0x74, - 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x96, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x4d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, - 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, - 0x68, 0x0a, 0x16, 0x53, 0x61, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x5e, 0x0a, 0x17, 0x53, 0x61, 0x76, - 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 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, 0x0d, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x18, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 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, 0x0d, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf5, 0x03, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, - 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 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, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x6f, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x61, 0x72, - 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x41, 0x52, 0x4d, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x41, 0x72, 0x6d, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x12, 0x4f, 0x0a, 0x05, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x66, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x48, 0x00, 0x52, 0x05, - 0x65, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0xbe, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x41, 0x52, 0x4d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x6c, 0x6f, 0x67, - 0x73, 0x5f, 0x75, 0x72, 0x6c, 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, 0x07, 0x6c, 0x6f, 0x67, 0x73, 0x55, - 0x72, 0x6c, 0x12, 0x35, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 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, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x67, 0x78, - 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 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, 0x09, 0x63, 0x67, 0x78, - 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x1a, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, - 0x0e, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, - 0x56, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 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, 0x0b, 0x74, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x6e, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x52, 0x75, - 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x78, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x52, 0x75, - 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x50, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, - 0x61, 0x22, 0x46, 0x0a, 0x12, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x75, 0x6d, 0x44, 0x61, 0x74, 0x61, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, - 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x13, 0x53, 0x79, - 0x6e, 0x63, 0x52, 0x75, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x64, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x73, 0x79, 0x6e, 0x63, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x41, 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, - 0x04, 0x52, 0x12, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x16, 0x54, 0x65, 0x73, 0x74, 0x49, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x5d, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, - 0x43, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x17, 0x54, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4c, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xa0, 0x16, - 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0xec, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, - 0x65, 0x79, 0x73, 0x12, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0xfa, 0xb8, 0x02, 0x20, 0x0a, 0x1e, - 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x12, 0xe7, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0xfa, 0xb8, 0x02, - 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x20, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x2c, 0x12, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x2f, 0x7b, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb4, 0x01, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x32, 0xfa, 0xb8, 0x02, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xe5, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x48, 0xfa, 0xb8, 0x02, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x20, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x31, 0x2f, - 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x66, - 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xce, 0x01, 0x0a, - 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x3a, 0xfa, 0xb8, 0x02, 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x20, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x82, 0x02, - 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x41, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0xfa, 0xb8, 0x02, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x20, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x20, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, - 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x7d, 0x12, 0xd2, 0x01, 0x0a, 0x0f, 0x53, 0x61, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, - 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0xfa, 0xb8, 0x02, 0x28, 0x0a, 0x26, 0x53, 0x61, 0x76, - 0x65, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x76, - 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xc4, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x3c, 0xfa, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, - 0x3a, 0x01, 0x2a, 0x1a, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xd2, - 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, - 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0xfa, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x2a, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, - 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x2f, 0x7b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x7d, 0x12, 0xc3, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xfa, 0xb8, 0x02, 0x1a, - 0x0a, 0x18, 0x47, 0x65, 0x74, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x20, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, - 0x12, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x7b, 0x74, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xf9, 0x01, 0x0a, 0x1c, 0x47, 0x65, - 0x74, 0x52, 0x75, 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x42, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, - 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, - 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x52, 0x75, 0x6d, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x50, 0xfa, 0xb8, 0x02, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x20, 0x52, - 0x55, 0x4d, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x64, 0x61, 0x74, 0x61, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x75, 0x6d, 0x2f, 0x61, 0x70, 0x70, 0x2d, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xc4, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x75, - 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x75, 0x6d, 0x44, 0x61, 0x74, - 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x75, 0x6d, - 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0xfa, 0xb8, - 0x02, 0x26, 0x0a, 0x24, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x20, 0x73, 0x79, 0x6e, 0x63, - 0x20, 0x6f, 0x66, 0x20, 0x52, 0x55, 0x4d, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x61, 0x74, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, - 0x2a, 0x22, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x75, 0x6d, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x12, 0xc1, 0x01, 0x0a, - 0x0f, 0x54, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x3f, 0xfa, 0xb8, 0x02, 0x12, 0x0a, 0x10, 0x54, 0x65, 0x73, 0x74, 0x20, 0x69, 0x6e, 0x74, 0x65, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, - 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x74, 0x65, 0x73, 0x74, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_integrations_v1_integration_service_proto_rawDescOnce sync.Once - file_com_coralogix_integrations_v1_integration_service_proto_rawDescData = file_com_coralogix_integrations_v1_integration_service_proto_rawDesc -) - -func file_com_coralogix_integrations_v1_integration_service_proto_rawDescGZIP() []byte { - file_com_coralogix_integrations_v1_integration_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_integrations_v1_integration_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_integrations_v1_integration_service_proto_rawDescData) - }) - return file_com_coralogix_integrations_v1_integration_service_proto_rawDescData -} - -var file_com_coralogix_integrations_v1_integration_service_proto_msgTypes = make([]protoimpl.MessageInfo, 29) -var file_com_coralogix_integrations_v1_integration_service_proto_goTypes = []any{ - (*ListManagedIntegrationKeysRequest)(nil), // 0: com.coralogix.integrations.v1.ListManagedIntegrationKeysRequest - (*ListManagedIntegrationKeysResponse)(nil), // 1: com.coralogix.integrations.v1.ListManagedIntegrationKeysResponse - (*GetDeployedIntegrationRequest)(nil), // 2: com.coralogix.integrations.v1.GetDeployedIntegrationRequest - (*GetDeployedIntegrationResponse)(nil), // 3: com.coralogix.integrations.v1.GetDeployedIntegrationResponse - (*UpdateIntegrationRequest)(nil), // 4: com.coralogix.integrations.v1.UpdateIntegrationRequest - (*UpdateIntegrationResponse)(nil), // 5: com.coralogix.integrations.v1.UpdateIntegrationResponse - (*GetIntegrationDefinitionRequest)(nil), // 6: com.coralogix.integrations.v1.GetIntegrationDefinitionRequest - (*GetIntegrationDefinitionResponse)(nil), // 7: com.coralogix.integrations.v1.GetIntegrationDefinitionResponse - (*GetIntegrationsRequest)(nil), // 8: com.coralogix.integrations.v1.GetIntegrationsRequest - (*GetIntegrationsResponse)(nil), // 9: com.coralogix.integrations.v1.GetIntegrationsResponse - (*GetIntegrationDetailsRequest)(nil), // 10: com.coralogix.integrations.v1.GetIntegrationDetailsRequest - (*GetIntegrationDetailsResponse)(nil), // 11: com.coralogix.integrations.v1.GetIntegrationDetailsResponse - (*GetManagedIntegrationStatusRequest)(nil), // 12: com.coralogix.integrations.v1.GetManagedIntegrationStatusRequest - (*GetManagedIntegrationStatusResponse)(nil), // 13: com.coralogix.integrations.v1.GetManagedIntegrationStatusResponse - (*SaveIntegrationRequest)(nil), // 14: com.coralogix.integrations.v1.SaveIntegrationRequest - (*SaveIntegrationResponse)(nil), // 15: com.coralogix.integrations.v1.SaveIntegrationResponse - (*DeleteIntegrationRequest)(nil), // 16: com.coralogix.integrations.v1.DeleteIntegrationRequest - (*DeleteIntegrationResponse)(nil), // 17: com.coralogix.integrations.v1.DeleteIntegrationResponse - (*GetTemplateRequest)(nil), // 18: com.coralogix.integrations.v1.GetTemplateRequest - (*GetTemplateResponse)(nil), // 19: com.coralogix.integrations.v1.GetTemplateResponse - (*GetRumApplicationVersionDataRequest)(nil), // 20: com.coralogix.integrations.v1.GetRumApplicationVersionDataRequest - (*GetRumApplicationVersionDataResponse)(nil), // 21: com.coralogix.integrations.v1.GetRumApplicationVersionDataResponse - (*SyncRumDataRequest)(nil), // 22: com.coralogix.integrations.v1.SyncRumDataRequest - (*SyncRumDataResponse)(nil), // 23: com.coralogix.integrations.v1.SyncRumDataResponse - (*TestIntegrationRequest)(nil), // 24: com.coralogix.integrations.v1.TestIntegrationRequest - (*TestIntegrationResponse)(nil), // 25: com.coralogix.integrations.v1.TestIntegrationResponse - (*GetIntegrationsResponse_IntegrationWithCounts)(nil), // 26: com.coralogix.integrations.v1.GetIntegrationsResponse.IntegrationWithCounts - (*GetTemplateRequest_CommonARMParams)(nil), // 27: com.coralogix.integrations.v1.GetTemplateRequest.CommonARMParams - (*GetTemplateRequest_Empty)(nil), // 28: com.coralogix.integrations.v1.GetTemplateRequest.Empty - (*wrapperspb.StringValue)(nil), // 29: google.protobuf.StringValue - (*DeployedIntegrationInformation)(nil), // 30: com.coralogix.integrations.v1.DeployedIntegrationInformation - (*IntegrationMetadata)(nil), // 31: com.coralogix.integrations.v1.IntegrationMetadata - (*wrapperspb.BoolValue)(nil), // 32: google.protobuf.BoolValue - (*IntegrationDefinition)(nil), // 33: com.coralogix.integrations.v1.IntegrationDefinition - (*IntegrationDetails)(nil), // 34: com.coralogix.integrations.v1.IntegrationDetails - (*IntegrationStatus)(nil), // 35: com.coralogix.integrations.v1.IntegrationStatus - (*RumVersionData)(nil), // 36: com.coralogix.integrations.v1.RumVersionData - (*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp - (*TestIntegrationResult)(nil), // 38: com.coralogix.integrations.v1.TestIntegrationResult - (*Integration)(nil), // 39: com.coralogix.integrations.v1.Integration - (*wrapperspb.UInt32Value)(nil), // 40: google.protobuf.UInt32Value -} -var file_com_coralogix_integrations_v1_integration_service_proto_depIdxs = []int32{ - 29, // 0: com.coralogix.integrations.v1.ListManagedIntegrationKeysResponse.integration_keys:type_name -> google.protobuf.StringValue - 29, // 1: com.coralogix.integrations.v1.GetDeployedIntegrationRequest.integration_id:type_name -> google.protobuf.StringValue - 30, // 2: com.coralogix.integrations.v1.GetDeployedIntegrationResponse.integration:type_name -> com.coralogix.integrations.v1.DeployedIntegrationInformation - 29, // 3: com.coralogix.integrations.v1.UpdateIntegrationRequest.id:type_name -> google.protobuf.StringValue - 31, // 4: com.coralogix.integrations.v1.UpdateIntegrationRequest.metadata:type_name -> com.coralogix.integrations.v1.IntegrationMetadata - 29, // 5: com.coralogix.integrations.v1.GetIntegrationDefinitionRequest.id:type_name -> google.protobuf.StringValue - 32, // 6: com.coralogix.integrations.v1.GetIntegrationDefinitionRequest.include_testing_revision:type_name -> google.protobuf.BoolValue - 33, // 7: com.coralogix.integrations.v1.GetIntegrationDefinitionResponse.integration_definition:type_name -> com.coralogix.integrations.v1.IntegrationDefinition - 32, // 8: com.coralogix.integrations.v1.GetIntegrationsRequest.include_testing_revision:type_name -> google.protobuf.BoolValue - 26, // 9: com.coralogix.integrations.v1.GetIntegrationsResponse.integrations:type_name -> com.coralogix.integrations.v1.GetIntegrationsResponse.IntegrationWithCounts - 29, // 10: com.coralogix.integrations.v1.GetIntegrationDetailsRequest.id:type_name -> google.protobuf.StringValue - 32, // 11: com.coralogix.integrations.v1.GetIntegrationDetailsRequest.include_testing_revision:type_name -> google.protobuf.BoolValue - 34, // 12: com.coralogix.integrations.v1.GetIntegrationDetailsResponse.integration_detail:type_name -> com.coralogix.integrations.v1.IntegrationDetails - 35, // 13: com.coralogix.integrations.v1.GetManagedIntegrationStatusResponse.status:type_name -> com.coralogix.integrations.v1.IntegrationStatus - 31, // 14: com.coralogix.integrations.v1.SaveIntegrationRequest.metadata:type_name -> com.coralogix.integrations.v1.IntegrationMetadata - 29, // 15: com.coralogix.integrations.v1.SaveIntegrationResponse.integration_id:type_name -> google.protobuf.StringValue - 29, // 16: com.coralogix.integrations.v1.DeleteIntegrationRequest.integration_id:type_name -> google.protobuf.StringValue - 29, // 17: com.coralogix.integrations.v1.GetTemplateRequest.integration_id:type_name -> google.protobuf.StringValue - 27, // 18: com.coralogix.integrations.v1.GetTemplateRequest.common_arm_params:type_name -> com.coralogix.integrations.v1.GetTemplateRequest.CommonARMParams - 28, // 19: com.coralogix.integrations.v1.GetTemplateRequest.empty:type_name -> com.coralogix.integrations.v1.GetTemplateRequest.Empty - 29, // 20: com.coralogix.integrations.v1.GetTemplateResponse.template_url:type_name -> google.protobuf.StringValue - 29, // 21: com.coralogix.integrations.v1.GetRumApplicationVersionDataRequest.application_name:type_name -> google.protobuf.StringValue - 36, // 22: com.coralogix.integrations.v1.GetRumApplicationVersionDataResponse.version_data:type_name -> com.coralogix.integrations.v1.RumVersionData - 32, // 23: com.coralogix.integrations.v1.SyncRumDataRequest.force:type_name -> google.protobuf.BoolValue - 32, // 24: com.coralogix.integrations.v1.SyncRumDataResponse.sync_executed:type_name -> google.protobuf.BoolValue - 37, // 25: com.coralogix.integrations.v1.SyncRumDataResponse.synced_at:type_name -> google.protobuf.Timestamp - 31, // 26: com.coralogix.integrations.v1.TestIntegrationRequest.integration_data:type_name -> com.coralogix.integrations.v1.IntegrationMetadata - 29, // 27: com.coralogix.integrations.v1.TestIntegrationRequest.integration_id:type_name -> google.protobuf.StringValue - 38, // 28: com.coralogix.integrations.v1.TestIntegrationResponse.result:type_name -> com.coralogix.integrations.v1.TestIntegrationResult - 39, // 29: com.coralogix.integrations.v1.GetIntegrationsResponse.IntegrationWithCounts.integration:type_name -> com.coralogix.integrations.v1.Integration - 40, // 30: com.coralogix.integrations.v1.GetIntegrationsResponse.IntegrationWithCounts.amount_integrations:type_name -> google.protobuf.UInt32Value - 29, // 31: com.coralogix.integrations.v1.GetIntegrationsResponse.IntegrationWithCounts.errors:type_name -> google.protobuf.StringValue - 32, // 32: com.coralogix.integrations.v1.GetIntegrationsResponse.IntegrationWithCounts.upgrade_available:type_name -> google.protobuf.BoolValue - 32, // 33: com.coralogix.integrations.v1.GetIntegrationsResponse.IntegrationWithCounts.is_new:type_name -> google.protobuf.BoolValue - 29, // 34: com.coralogix.integrations.v1.GetTemplateRequest.CommonARMParams.logs_url:type_name -> google.protobuf.StringValue - 29, // 35: com.coralogix.integrations.v1.GetTemplateRequest.CommonARMParams.api_key:type_name -> google.protobuf.StringValue - 29, // 36: com.coralogix.integrations.v1.GetTemplateRequest.CommonARMParams.cgx_domain:type_name -> google.protobuf.StringValue - 0, // 37: com.coralogix.integrations.v1.IntegrationService.ListManagedIntegrationKeys:input_type -> com.coralogix.integrations.v1.ListManagedIntegrationKeysRequest - 2, // 38: com.coralogix.integrations.v1.IntegrationService.GetDeployedIntegration:input_type -> com.coralogix.integrations.v1.GetDeployedIntegrationRequest - 8, // 39: com.coralogix.integrations.v1.IntegrationService.GetIntegrations:input_type -> com.coralogix.integrations.v1.GetIntegrationsRequest - 6, // 40: com.coralogix.integrations.v1.IntegrationService.GetIntegrationDefinition:input_type -> com.coralogix.integrations.v1.GetIntegrationDefinitionRequest - 10, // 41: com.coralogix.integrations.v1.IntegrationService.GetIntegrationDetails:input_type -> com.coralogix.integrations.v1.GetIntegrationDetailsRequest - 12, // 42: com.coralogix.integrations.v1.IntegrationService.GetManagedIntegrationStatus:input_type -> com.coralogix.integrations.v1.GetManagedIntegrationStatusRequest - 14, // 43: com.coralogix.integrations.v1.IntegrationService.SaveIntegration:input_type -> com.coralogix.integrations.v1.SaveIntegrationRequest - 4, // 44: com.coralogix.integrations.v1.IntegrationService.UpdateIntegration:input_type -> com.coralogix.integrations.v1.UpdateIntegrationRequest - 16, // 45: com.coralogix.integrations.v1.IntegrationService.DeleteIntegration:input_type -> com.coralogix.integrations.v1.DeleteIntegrationRequest - 18, // 46: com.coralogix.integrations.v1.IntegrationService.GetTemplate:input_type -> com.coralogix.integrations.v1.GetTemplateRequest - 20, // 47: com.coralogix.integrations.v1.IntegrationService.GetRumApplicationVersionData:input_type -> com.coralogix.integrations.v1.GetRumApplicationVersionDataRequest - 22, // 48: com.coralogix.integrations.v1.IntegrationService.SyncRumData:input_type -> com.coralogix.integrations.v1.SyncRumDataRequest - 24, // 49: com.coralogix.integrations.v1.IntegrationService.TestIntegration:input_type -> com.coralogix.integrations.v1.TestIntegrationRequest - 1, // 50: com.coralogix.integrations.v1.IntegrationService.ListManagedIntegrationKeys:output_type -> com.coralogix.integrations.v1.ListManagedIntegrationKeysResponse - 3, // 51: com.coralogix.integrations.v1.IntegrationService.GetDeployedIntegration:output_type -> com.coralogix.integrations.v1.GetDeployedIntegrationResponse - 9, // 52: com.coralogix.integrations.v1.IntegrationService.GetIntegrations:output_type -> com.coralogix.integrations.v1.GetIntegrationsResponse - 7, // 53: com.coralogix.integrations.v1.IntegrationService.GetIntegrationDefinition:output_type -> com.coralogix.integrations.v1.GetIntegrationDefinitionResponse - 11, // 54: com.coralogix.integrations.v1.IntegrationService.GetIntegrationDetails:output_type -> com.coralogix.integrations.v1.GetIntegrationDetailsResponse - 13, // 55: com.coralogix.integrations.v1.IntegrationService.GetManagedIntegrationStatus:output_type -> com.coralogix.integrations.v1.GetManagedIntegrationStatusResponse - 15, // 56: com.coralogix.integrations.v1.IntegrationService.SaveIntegration:output_type -> com.coralogix.integrations.v1.SaveIntegrationResponse - 5, // 57: com.coralogix.integrations.v1.IntegrationService.UpdateIntegration:output_type -> com.coralogix.integrations.v1.UpdateIntegrationResponse - 17, // 58: com.coralogix.integrations.v1.IntegrationService.DeleteIntegration:output_type -> com.coralogix.integrations.v1.DeleteIntegrationResponse - 19, // 59: com.coralogix.integrations.v1.IntegrationService.GetTemplate:output_type -> com.coralogix.integrations.v1.GetTemplateResponse - 21, // 60: com.coralogix.integrations.v1.IntegrationService.GetRumApplicationVersionData:output_type -> com.coralogix.integrations.v1.GetRumApplicationVersionDataResponse - 23, // 61: com.coralogix.integrations.v1.IntegrationService.SyncRumData:output_type -> com.coralogix.integrations.v1.SyncRumDataResponse - 25, // 62: com.coralogix.integrations.v1.IntegrationService.TestIntegration:output_type -> com.coralogix.integrations.v1.TestIntegrationResponse - 50, // [50:63] is the sub-list for method output_type - 37, // [37:50] is the sub-list for method input_type - 37, // [37:37] is the sub-list for extension type_name - 37, // [37:37] is the sub-list for extension extendee - 0, // [0:37] is the sub-list for field type_name -} - -func init() { file_com_coralogix_integrations_v1_integration_service_proto_init() } -func file_com_coralogix_integrations_v1_integration_service_proto_init() { - if File_com_coralogix_integrations_v1_integration_service_proto != nil { - return - } - file_com_coralogix_integrations_v1_integration_proto_init() - file_com_coralogix_integrations_v1_audit_log_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ListManagedIntegrationKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ListManagedIntegrationKeysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetDeployedIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetDeployedIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*UpdateIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*UpdateIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationDefinitionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationDefinitionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationDetailsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationDetailsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*GetManagedIntegrationStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*GetManagedIntegrationStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*SaveIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*SaveIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*DeleteIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*DeleteIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*GetTemplateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*GetTemplateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*GetRumApplicationVersionDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*GetRumApplicationVersionDataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*SyncRumDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*SyncRumDataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*TestIntegrationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*TestIntegrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[26].Exporter = func(v any, i int) any { - switch v := v.(*GetIntegrationsResponse_IntegrationWithCounts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[27].Exporter = func(v any, i int) any { - switch v := v.(*GetTemplateRequest_CommonARMParams); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[28].Exporter = func(v any, i int) any { - switch v := v.(*GetTemplateRequest_Empty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_integrations_v1_integration_service_proto_msgTypes[18].OneofWrappers = []any{ - (*GetTemplateRequest_CommonArmParams)(nil), - (*GetTemplateRequest_Empty_)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_integrations_v1_integration_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 29, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_integrations_v1_integration_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_integrations_v1_integration_service_proto_depIdxs, - MessageInfos: file_com_coralogix_integrations_v1_integration_service_proto_msgTypes, - }.Build() - File_com_coralogix_integrations_v1_integration_service_proto = out.File - file_com_coralogix_integrations_v1_integration_service_proto_rawDesc = nil - file_com_coralogix_integrations_v1_integration_service_proto_goTypes = nil - file_com_coralogix_integrations_v1_integration_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/integrations/integration_service_grpc.pb.go b/coralogix/clientset/grpc/integrations/integration_service_grpc.pb.go deleted file mode 100644 index aa603653..00000000 --- a/coralogix/clientset/grpc/integrations/integration_service_grpc.pb.go +++ /dev/null @@ -1,566 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.27.0 -// source: com/coralogix/integrations/v1/integration_service.proto - -package integrations - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - IntegrationService_ListManagedIntegrationKeys_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/ListManagedIntegrationKeys" - IntegrationService_GetDeployedIntegration_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/GetDeployedIntegration" - IntegrationService_GetIntegrations_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/GetIntegrations" - IntegrationService_GetIntegrationDefinition_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/GetIntegrationDefinition" - IntegrationService_GetIntegrationDetails_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/GetIntegrationDetails" - IntegrationService_GetManagedIntegrationStatus_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/GetManagedIntegrationStatus" - IntegrationService_SaveIntegration_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/SaveIntegration" - IntegrationService_UpdateIntegration_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/UpdateIntegration" - IntegrationService_DeleteIntegration_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/DeleteIntegration" - IntegrationService_GetTemplate_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/GetTemplate" - IntegrationService_GetRumApplicationVersionData_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/GetRumApplicationVersionData" - IntegrationService_SyncRumData_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/SyncRumData" - IntegrationService_TestIntegration_FullMethodName = "/com.coralogix.integrations.v1.IntegrationService/TestIntegration" -) - -// IntegrationServiceClient is the client API for IntegrationService 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 IntegrationServiceClient interface { - ListManagedIntegrationKeys(ctx context.Context, in *ListManagedIntegrationKeysRequest, opts ...grpc.CallOption) (*ListManagedIntegrationKeysResponse, error) - GetDeployedIntegration(ctx context.Context, in *GetDeployedIntegrationRequest, opts ...grpc.CallOption) (*GetDeployedIntegrationResponse, error) - GetIntegrations(ctx context.Context, in *GetIntegrationsRequest, opts ...grpc.CallOption) (*GetIntegrationsResponse, error) - GetIntegrationDefinition(ctx context.Context, in *GetIntegrationDefinitionRequest, opts ...grpc.CallOption) (*GetIntegrationDefinitionResponse, error) - GetIntegrationDetails(ctx context.Context, in *GetIntegrationDetailsRequest, opts ...grpc.CallOption) (*GetIntegrationDetailsResponse, error) - GetManagedIntegrationStatus(ctx context.Context, in *GetManagedIntegrationStatusRequest, opts ...grpc.CallOption) (*GetManagedIntegrationStatusResponse, error) - SaveIntegration(ctx context.Context, in *SaveIntegrationRequest, opts ...grpc.CallOption) (*SaveIntegrationResponse, error) - UpdateIntegration(ctx context.Context, in *UpdateIntegrationRequest, opts ...grpc.CallOption) (*UpdateIntegrationResponse, error) - DeleteIntegration(ctx context.Context, in *DeleteIntegrationRequest, opts ...grpc.CallOption) (*DeleteIntegrationResponse, error) - GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error) - GetRumApplicationVersionData(ctx context.Context, in *GetRumApplicationVersionDataRequest, opts ...grpc.CallOption) (*GetRumApplicationVersionDataResponse, error) - SyncRumData(ctx context.Context, in *SyncRumDataRequest, opts ...grpc.CallOption) (*SyncRumDataResponse, error) - TestIntegration(ctx context.Context, in *TestIntegrationRequest, opts ...grpc.CallOption) (*TestIntegrationResponse, error) -} - -type integrationServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewIntegrationServiceClient(cc grpc.ClientConnInterface) IntegrationServiceClient { - return &integrationServiceClient{cc} -} - -func (c *integrationServiceClient) ListManagedIntegrationKeys(ctx context.Context, in *ListManagedIntegrationKeysRequest, opts ...grpc.CallOption) (*ListManagedIntegrationKeysResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListManagedIntegrationKeysResponse) - err := c.cc.Invoke(ctx, IntegrationService_ListManagedIntegrationKeys_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) GetDeployedIntegration(ctx context.Context, in *GetDeployedIntegrationRequest, opts ...grpc.CallOption) (*GetDeployedIntegrationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetDeployedIntegrationResponse) - err := c.cc.Invoke(ctx, IntegrationService_GetDeployedIntegration_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) GetIntegrations(ctx context.Context, in *GetIntegrationsRequest, opts ...grpc.CallOption) (*GetIntegrationsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetIntegrationsResponse) - err := c.cc.Invoke(ctx, IntegrationService_GetIntegrations_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) GetIntegrationDefinition(ctx context.Context, in *GetIntegrationDefinitionRequest, opts ...grpc.CallOption) (*GetIntegrationDefinitionResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetIntegrationDefinitionResponse) - err := c.cc.Invoke(ctx, IntegrationService_GetIntegrationDefinition_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) GetIntegrationDetails(ctx context.Context, in *GetIntegrationDetailsRequest, opts ...grpc.CallOption) (*GetIntegrationDetailsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetIntegrationDetailsResponse) - err := c.cc.Invoke(ctx, IntegrationService_GetIntegrationDetails_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) GetManagedIntegrationStatus(ctx context.Context, in *GetManagedIntegrationStatusRequest, opts ...grpc.CallOption) (*GetManagedIntegrationStatusResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetManagedIntegrationStatusResponse) - err := c.cc.Invoke(ctx, IntegrationService_GetManagedIntegrationStatus_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) SaveIntegration(ctx context.Context, in *SaveIntegrationRequest, opts ...grpc.CallOption) (*SaveIntegrationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SaveIntegrationResponse) - err := c.cc.Invoke(ctx, IntegrationService_SaveIntegration_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) UpdateIntegration(ctx context.Context, in *UpdateIntegrationRequest, opts ...grpc.CallOption) (*UpdateIntegrationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateIntegrationResponse) - err := c.cc.Invoke(ctx, IntegrationService_UpdateIntegration_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) DeleteIntegration(ctx context.Context, in *DeleteIntegrationRequest, opts ...grpc.CallOption) (*DeleteIntegrationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteIntegrationResponse) - err := c.cc.Invoke(ctx, IntegrationService_DeleteIntegration_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTemplateResponse) - err := c.cc.Invoke(ctx, IntegrationService_GetTemplate_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) GetRumApplicationVersionData(ctx context.Context, in *GetRumApplicationVersionDataRequest, opts ...grpc.CallOption) (*GetRumApplicationVersionDataResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetRumApplicationVersionDataResponse) - err := c.cc.Invoke(ctx, IntegrationService_GetRumApplicationVersionData_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) SyncRumData(ctx context.Context, in *SyncRumDataRequest, opts ...grpc.CallOption) (*SyncRumDataResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SyncRumDataResponse) - err := c.cc.Invoke(ctx, IntegrationService_SyncRumData_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *integrationServiceClient) TestIntegration(ctx context.Context, in *TestIntegrationRequest, opts ...grpc.CallOption) (*TestIntegrationResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(TestIntegrationResponse) - err := c.cc.Invoke(ctx, IntegrationService_TestIntegration_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// IntegrationServiceServer is the server API for IntegrationService service. -// All implementations must embed UnimplementedIntegrationServiceServer -// for forward compatibility -type IntegrationServiceServer interface { - ListManagedIntegrationKeys(context.Context, *ListManagedIntegrationKeysRequest) (*ListManagedIntegrationKeysResponse, error) - GetDeployedIntegration(context.Context, *GetDeployedIntegrationRequest) (*GetDeployedIntegrationResponse, error) - GetIntegrations(context.Context, *GetIntegrationsRequest) (*GetIntegrationsResponse, error) - GetIntegrationDefinition(context.Context, *GetIntegrationDefinitionRequest) (*GetIntegrationDefinitionResponse, error) - GetIntegrationDetails(context.Context, *GetIntegrationDetailsRequest) (*GetIntegrationDetailsResponse, error) - GetManagedIntegrationStatus(context.Context, *GetManagedIntegrationStatusRequest) (*GetManagedIntegrationStatusResponse, error) - SaveIntegration(context.Context, *SaveIntegrationRequest) (*SaveIntegrationResponse, error) - UpdateIntegration(context.Context, *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error) - DeleteIntegration(context.Context, *DeleteIntegrationRequest) (*DeleteIntegrationResponse, error) - GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error) - GetRumApplicationVersionData(context.Context, *GetRumApplicationVersionDataRequest) (*GetRumApplicationVersionDataResponse, error) - SyncRumData(context.Context, *SyncRumDataRequest) (*SyncRumDataResponse, error) - TestIntegration(context.Context, *TestIntegrationRequest) (*TestIntegrationResponse, error) - mustEmbedUnimplementedIntegrationServiceServer() -} - -// UnimplementedIntegrationServiceServer must be embedded to have forward compatible implementations. -type UnimplementedIntegrationServiceServer struct { -} - -func (UnimplementedIntegrationServiceServer) ListManagedIntegrationKeys(context.Context, *ListManagedIntegrationKeysRequest) (*ListManagedIntegrationKeysResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListManagedIntegrationKeys not implemented") -} -func (UnimplementedIntegrationServiceServer) GetDeployedIntegration(context.Context, *GetDeployedIntegrationRequest) (*GetDeployedIntegrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDeployedIntegration not implemented") -} -func (UnimplementedIntegrationServiceServer) GetIntegrations(context.Context, *GetIntegrationsRequest) (*GetIntegrationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIntegrations not implemented") -} -func (UnimplementedIntegrationServiceServer) GetIntegrationDefinition(context.Context, *GetIntegrationDefinitionRequest) (*GetIntegrationDefinitionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIntegrationDefinition not implemented") -} -func (UnimplementedIntegrationServiceServer) GetIntegrationDetails(context.Context, *GetIntegrationDetailsRequest) (*GetIntegrationDetailsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIntegrationDetails not implemented") -} -func (UnimplementedIntegrationServiceServer) GetManagedIntegrationStatus(context.Context, *GetManagedIntegrationStatusRequest) (*GetManagedIntegrationStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetManagedIntegrationStatus not implemented") -} -func (UnimplementedIntegrationServiceServer) SaveIntegration(context.Context, *SaveIntegrationRequest) (*SaveIntegrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SaveIntegration not implemented") -} -func (UnimplementedIntegrationServiceServer) UpdateIntegration(context.Context, *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateIntegration not implemented") -} -func (UnimplementedIntegrationServiceServer) DeleteIntegration(context.Context, *DeleteIntegrationRequest) (*DeleteIntegrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteIntegration not implemented") -} -func (UnimplementedIntegrationServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTemplate not implemented") -} -func (UnimplementedIntegrationServiceServer) GetRumApplicationVersionData(context.Context, *GetRumApplicationVersionDataRequest) (*GetRumApplicationVersionDataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRumApplicationVersionData not implemented") -} -func (UnimplementedIntegrationServiceServer) SyncRumData(context.Context, *SyncRumDataRequest) (*SyncRumDataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SyncRumData not implemented") -} -func (UnimplementedIntegrationServiceServer) TestIntegration(context.Context, *TestIntegrationRequest) (*TestIntegrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestIntegration not implemented") -} -func (UnimplementedIntegrationServiceServer) mustEmbedUnimplementedIntegrationServiceServer() {} - -// UnsafeIntegrationServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to IntegrationServiceServer will -// result in compilation errors. -type UnsafeIntegrationServiceServer interface { - mustEmbedUnimplementedIntegrationServiceServer() -} - -func RegisterIntegrationServiceServer(s grpc.ServiceRegistrar, srv IntegrationServiceServer) { - s.RegisterService(&IntegrationService_ServiceDesc, srv) -} - -func _IntegrationService_ListManagedIntegrationKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListManagedIntegrationKeysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).ListManagedIntegrationKeys(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_ListManagedIntegrationKeys_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).ListManagedIntegrationKeys(ctx, req.(*ListManagedIntegrationKeysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_GetDeployedIntegration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDeployedIntegrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).GetDeployedIntegration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_GetDeployedIntegration_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).GetDeployedIntegration(ctx, req.(*GetDeployedIntegrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_GetIntegrations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIntegrationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).GetIntegrations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_GetIntegrations_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).GetIntegrations(ctx, req.(*GetIntegrationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_GetIntegrationDefinition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIntegrationDefinitionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).GetIntegrationDefinition(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_GetIntegrationDefinition_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).GetIntegrationDefinition(ctx, req.(*GetIntegrationDefinitionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_GetIntegrationDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIntegrationDetailsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).GetIntegrationDetails(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_GetIntegrationDetails_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).GetIntegrationDetails(ctx, req.(*GetIntegrationDetailsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_GetManagedIntegrationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetManagedIntegrationStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).GetManagedIntegrationStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_GetManagedIntegrationStatus_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).GetManagedIntegrationStatus(ctx, req.(*GetManagedIntegrationStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_SaveIntegration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SaveIntegrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).SaveIntegration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_SaveIntegration_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).SaveIntegration(ctx, req.(*SaveIntegrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_UpdateIntegration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateIntegrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).UpdateIntegration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_UpdateIntegration_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).UpdateIntegration(ctx, req.(*UpdateIntegrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_DeleteIntegration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteIntegrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).DeleteIntegration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_DeleteIntegration_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).DeleteIntegration(ctx, req.(*DeleteIntegrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_GetTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTemplateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).GetTemplate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_GetTemplate_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).GetTemplate(ctx, req.(*GetTemplateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_GetRumApplicationVersionData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRumApplicationVersionDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).GetRumApplicationVersionData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_GetRumApplicationVersionData_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).GetRumApplicationVersionData(ctx, req.(*GetRumApplicationVersionDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_SyncRumData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SyncRumDataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).SyncRumData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_SyncRumData_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).SyncRumData(ctx, req.(*SyncRumDataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _IntegrationService_TestIntegration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestIntegrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(IntegrationServiceServer).TestIntegration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: IntegrationService_TestIntegration_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IntegrationServiceServer).TestIntegration(ctx, req.(*TestIntegrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// IntegrationService_ServiceDesc is the grpc.ServiceDesc for IntegrationService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var IntegrationService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.integrations.v1.IntegrationService", - HandlerType: (*IntegrationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListManagedIntegrationKeys", - Handler: _IntegrationService_ListManagedIntegrationKeys_Handler, - }, - { - MethodName: "GetDeployedIntegration", - Handler: _IntegrationService_GetDeployedIntegration_Handler, - }, - { - MethodName: "GetIntegrations", - Handler: _IntegrationService_GetIntegrations_Handler, - }, - { - MethodName: "GetIntegrationDefinition", - Handler: _IntegrationService_GetIntegrationDefinition_Handler, - }, - { - MethodName: "GetIntegrationDetails", - Handler: _IntegrationService_GetIntegrationDetails_Handler, - }, - { - MethodName: "GetManagedIntegrationStatus", - Handler: _IntegrationService_GetManagedIntegrationStatus_Handler, - }, - { - MethodName: "SaveIntegration", - Handler: _IntegrationService_SaveIntegration_Handler, - }, - { - MethodName: "UpdateIntegration", - Handler: _IntegrationService_UpdateIntegration_Handler, - }, - { - MethodName: "DeleteIntegration", - Handler: _IntegrationService_DeleteIntegration_Handler, - }, - { - MethodName: "GetTemplate", - Handler: _IntegrationService_GetTemplate_Handler, - }, - { - MethodName: "GetRumApplicationVersionData", - Handler: _IntegrationService_GetRumApplicationVersionData_Handler, - }, - { - MethodName: "SyncRumData", - Handler: _IntegrationService_SyncRumData_Handler, - }, - { - MethodName: "TestIntegration", - Handler: _IntegrationService_TestIntegration_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/integrations/v1/integration_service.proto", -} diff --git a/coralogix/clientset/grpc/logs2metrics/v2/audit_log.pb.go b/coralogix/clientset/grpc/logs2metrics/v2/audit_log.pb.go deleted file mode 100644 index f10953e5..00000000 --- a/coralogix/clientset/grpc/logs2metrics/v2/audit_log.pb.go +++ /dev/null @@ -1,183 +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/logs2metrics/v2/audit_log.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" -) - -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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -var file_com_coralogixapis_logs2metrics_v2_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5002, - Name: "com.coralogixapis.logs2metrics.v2.audit_log_description", - Tag: "bytes,5002,opt,name=audit_log_description", - Filename: "com/coralogixapis/logs2metrics/v2/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogixapis.logs2metrics.v2.AuditLogDescription audit_log_description = 5002; - E_AuditLogDescription = &file_com_coralogixapis_logs2metrics_v2_audit_log_proto_extTypes[0] -) - -var File_com_coralogixapis_logs2metrics_v2_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 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, 0x22, 0x4c, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, - 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x8e, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x8a, 0x27, 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, 0x6c, 0x6f, 0x67, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x75, 0x64, 0x69, - 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescOnce sync.Once - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescData = file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDesc -) - -func file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescData) - }) - return file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDescData -} - -var file_com_coralogixapis_logs2metrics_v2_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_logs2metrics_v2_audit_log_proto_goTypes = []interface{}{ - (*AuditLogDescription)(nil), // 0: com.coralogixapis.logs2metrics.v2.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogixapis_logs2metrics_v2_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.logs2metrics.v2.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogixapis.logs2metrics.v2.audit_log_description:type_name -> com.coralogixapis.logs2metrics.v2.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { File_com_coralogixapis_logs2metrics_v2_audit_log_proto_init() } -func File_com_coralogixapis_logs2metrics_v2_audit_log_proto_init() { - if File_com_coralogixapis_logs2metrics_v2_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_logs2metrics_v2_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_logs2metrics_v2_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogixapis_logs2metrics_v2_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogixapis_logs2metrics_v2_audit_log_proto_extTypes, - }.Build() - File_com_coralogixapis_logs2metrics_v2_audit_log_proto = out.File - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_rawDesc = nil - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_goTypes = nil - file_com_coralogixapis_logs2metrics_v2_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_definition.pb.go b/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_definition.pb.go deleted file mode 100644 index ed856f1f..00000000 --- a/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_definition.pb.go +++ /dev/null @@ -1,502 +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/logs2metrics/v2/logs2metrics_definition.proto - -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" -) - -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 L2M 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Query *LogsQuery `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` - CreateTime *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - UpdateTime *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` - Permutations *L2MPermutations `protobuf:"bytes,10,opt,name=permutations,proto3" json:"permutations,omitempty"` - MetricLabels []*MetricLabel `protobuf:"bytes,12,rep,name=metric_labels,json=metricLabels,proto3" json:"metric_labels,omitempty"` - MetricFields []*MetricField `protobuf:"bytes,13,rep,name=metric_fields,json=metricFields,proto3" json:"metric_fields,omitempty"` -} - -func (x *L2M) Reset() { - *x = L2M{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *L2M) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*L2M) ProtoMessage() {} - -func (x *L2M) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_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 L2M.ProtoReflect.Descriptor instead. -func (*L2M) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescGZIP(), []int{0} -} - -func (x *L2M) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *L2M) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *L2M) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *L2M) GetQuery() *LogsQuery { - if x != nil { - return x.Query - } - return nil -} - -func (x *L2M) GetCreateTime() *wrapperspb.StringValue { - if x != nil { - return x.CreateTime - } - return nil -} - -func (x *L2M) GetUpdateTime() *wrapperspb.StringValue { - if x != nil { - return x.UpdateTime - } - return nil -} - -func (x *L2M) GetPermutations() *L2MPermutations { - if x != nil { - return x.Permutations - } - return nil -} - -func (x *L2M) GetMetricLabels() []*MetricLabel { - if x != nil { - return x.MetricLabels - } - return nil -} - -func (x *L2M) GetMetricFields() []*MetricField { - if x != nil { - return x.MetricFields - } - return nil -} - -type L2MPermutations struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` - HasExceededLimit bool `protobuf:"varint,2,opt,name=has_exceeded_limit,json=hasExceededLimit,proto3" json:"has_exceeded_limit,omitempty"` -} - -func (x *L2MPermutations) Reset() { - *x = L2MPermutations{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *L2MPermutations) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*L2MPermutations) ProtoMessage() {} - -func (x *L2MPermutations) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_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 L2MPermutations.ProtoReflect.Descriptor instead. -func (*L2MPermutations) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescGZIP(), []int{1} -} - -func (x *L2MPermutations) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *L2MPermutations) GetHasExceededLimit() bool { - if x != nil { - return x.HasExceededLimit - } - return false -} - -type MetricLabel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TargetLabel *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target_label,json=targetLabel,proto3" json:"target_label,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` -} - -func (x *MetricLabel) Reset() { - *x = MetricLabel{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetricLabel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetricLabel) ProtoMessage() {} - -func (x *MetricLabel) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_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 MetricLabel.ProtoReflect.Descriptor instead. -func (*MetricLabel) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescGZIP(), []int{2} -} - -func (x *MetricLabel) GetTargetLabel() *wrapperspb.StringValue { - if x != nil { - return x.TargetLabel - } - return nil -} - -func (x *MetricLabel) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -type MetricField struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TargetBaseMetricName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=target_base_metric_name,json=targetBaseMetricName,proto3" json:"target_base_metric_name,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` -} - -func (x *MetricField) Reset() { - *x = MetricField{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetricField) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetricField) ProtoMessage() {} - -func (x *MetricField) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_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 MetricField.ProtoReflect.Descriptor instead. -func (*MetricField) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescGZIP(), []int{3} -} - -func (x *MetricField) GetTargetBaseMetricName() *wrapperspb.StringValue { - if x != nil { - return x.TargetBaseMetricName - } - return nil -} - -func (x *MetricField) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -var File_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDesc = []byte{ - 0x0a, 0x3f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2e, 0x76, 0x32, 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, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x04, 0x0a, 0x03, 0x4c, - 0x32, 0x4d, 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, 0x42, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3d, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, - 0x74, 0x69, 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, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 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, 0x6c, - 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, - 0x32, 0x4d, 0x50, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, - 0x70, 0x65, 0x72, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x53, 0x0a, 0x0d, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0c, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, - 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x55, 0x0a, 0x0f, 0x4c, 0x32, 0x4d, 0x50, 0x65, 0x72, - 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x2c, 0x0a, 0x12, 0x68, 0x61, 0x73, 0x5f, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x68, 0x61, 0x73, - 0x45, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x8f, 0x01, - 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3f, 0x0a, - 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 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, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3f, - 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 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, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x22, - 0xa3, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, - 0x53, 0x0a, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x14, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 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, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescOnce sync.Once - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescData = file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDesc -) - -func file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescGZIP() []byte { - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescData) - }) - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDescData -} - -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_goTypes = []interface{}{ - (*L2M)(nil), // 0: com.coralogixapis.logs2metrics.v2.L2M - (*L2MPermutations)(nil), // 1: com.coralogixapis.logs2metrics.v2.L2MPermutations - (*MetricLabel)(nil), // 2: com.coralogixapis.logs2metrics.v2.MetricLabel - (*MetricField)(nil), // 3: com.coralogixapis.logs2metrics.v2.MetricField - (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue - (*LogsQuery)(nil), // 5: com.coralogixapis.logs2metrics.v2.LogsQuery -} -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_depIdxs = []int32{ - 4, // 0: com.coralogixapis.logs2metrics.v2.L2M.id:type_name -> google.protobuf.StringValue - 4, // 1: com.coralogixapis.logs2metrics.v2.L2M.name:type_name -> google.protobuf.StringValue - 4, // 2: com.coralogixapis.logs2metrics.v2.L2M.description:type_name -> google.protobuf.StringValue - 5, // 3: com.coralogixapis.logs2metrics.v2.L2M.query:type_name -> com.coralogixapis.logs2metrics.v2.LogsQuery - 4, // 4: com.coralogixapis.logs2metrics.v2.L2M.create_time:type_name -> google.protobuf.StringValue - 4, // 5: com.coralogixapis.logs2metrics.v2.L2M.update_time:type_name -> google.protobuf.StringValue - 1, // 6: com.coralogixapis.logs2metrics.v2.L2M.permutations:type_name -> com.coralogixapis.logs2metrics.v2.L2MPermutations - 2, // 7: com.coralogixapis.logs2metrics.v2.L2M.metric_labels:type_name -> com.coralogixapis.logs2metrics.v2.MetricLabel - 3, // 8: com.coralogixapis.logs2metrics.v2.L2M.metric_fields:type_name -> com.coralogixapis.logs2metrics.v2.MetricField - 4, // 9: com.coralogixapis.logs2metrics.v2.MetricLabel.target_label:type_name -> google.protobuf.StringValue - 4, // 10: com.coralogixapis.logs2metrics.v2.MetricLabel.source_field:type_name -> google.protobuf.StringValue - 4, // 11: com.coralogixapis.logs2metrics.v2.MetricField.target_base_metric_name:type_name -> google.protobuf.StringValue - 4, // 12: com.coralogixapis.logs2metrics.v2.MetricField.source_field:type_name -> google.protobuf.StringValue - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_init() } -func file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_init() { - if File_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto != nil { - return - } - File_com_coralogixapis_logs2metrics_v2_logs_query_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*L2M); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*L2MPermutations); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricLabel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricField); 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_logs2metrics_v2_logs2metrics_definition_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_depIdxs, - MessageInfos: file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_msgTypes, - }.Build() - File_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto = out.File - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_rawDesc = nil - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_goTypes = nil - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_service.pb.go b/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_service.pb.go deleted file mode 100644 index a64db3a3..00000000 --- a/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_service.pb.go +++ /dev/null @@ -1,972 +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/logs2metrics/v2/logs2metrics_service.proto - -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" - emptypb "google.golang.org/protobuf/types/known/emptypb" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -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 CreateL2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - L2M *L2M `protobuf:"bytes,1,opt,name=l2m,proto3" json:"l2m,omitempty"` -} - -func (x *CreateL2MRequest) Reset() { - *x = CreateL2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateL2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateL2MRequest) ProtoMessage() {} - -func (x *CreateL2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 CreateL2MRequest.ProtoReflect.Descriptor instead. -func (*CreateL2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateL2MRequest) GetL2M() *L2M { - if x != nil { - return x.L2M - } - return nil -} - -type ListL2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListL2MRequest) Reset() { - *x = ListL2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListL2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListL2MRequest) ProtoMessage() {} - -func (x *ListL2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 ListL2MRequest.ProtoReflect.Descriptor instead. -func (*ListL2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{1} -} - -type ListL2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - L2M []*L2M `protobuf:"bytes,1,rep,name=l2m,proto3" json:"l2m,omitempty"` -} - -func (x *ListL2MResponse) Reset() { - *x = ListL2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListL2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListL2MResponse) ProtoMessage() {} - -func (x *ListL2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 ListL2MResponse.ProtoReflect.Descriptor instead. -func (*ListL2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{2} -} - -func (x *ListL2MResponse) GetL2M() []*L2M { - if x != nil { - return x.L2M - } - return nil -} - -type ReplaceL2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - L2M *L2M `protobuf:"bytes,1,opt,name=l2m,proto3" json:"l2m,omitempty"` -} - -func (x *ReplaceL2MRequest) Reset() { - *x = ReplaceL2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceL2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceL2MRequest) ProtoMessage() {} - -func (x *ReplaceL2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 ReplaceL2MRequest.ProtoReflect.Descriptor instead. -func (*ReplaceL2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{3} -} - -func (x *ReplaceL2MRequest) GetL2M() *L2M { - if x != nil { - return x.L2M - } - return nil -} - -type GetL2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetL2MRequest) Reset() { - *x = GetL2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetL2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetL2MRequest) ProtoMessage() {} - -func (x *GetL2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 GetL2MRequest.ProtoReflect.Descriptor instead. -func (*GetL2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{4} -} - -func (x *GetL2MRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteL2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteL2MRequest) Reset() { - *x = DeleteL2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteL2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteL2MRequest) ProtoMessage() {} - -func (x *DeleteL2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 DeleteL2MRequest.ProtoReflect.Descriptor instead. -func (*DeleteL2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{5} -} - -func (x *DeleteL2MRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type L2MExecutionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Request: - // *L2MExecutionRequest_Create - // *L2MExecutionRequest_Replace - // *L2MExecutionRequest_Delete - Request isL2MExecutionRequest_Request `protobuf_oneof:"request"` -} - -func (x *L2MExecutionRequest) Reset() { - *x = L2MExecutionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *L2MExecutionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*L2MExecutionRequest) ProtoMessage() {} - -func (x *L2MExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 L2MExecutionRequest.ProtoReflect.Descriptor instead. -func (*L2MExecutionRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{6} -} - -func (m *L2MExecutionRequest) GetRequest() isL2MExecutionRequest_Request { - if m != nil { - return m.Request - } - return nil -} - -func (x *L2MExecutionRequest) GetCreate() *CreateL2MRequest { - if x, ok := x.GetRequest().(*L2MExecutionRequest_Create); ok { - return x.Create - } - return nil -} - -func (x *L2MExecutionRequest) GetReplace() *ReplaceL2MRequest { - if x, ok := x.GetRequest().(*L2MExecutionRequest_Replace); ok { - return x.Replace - } - return nil -} - -func (x *L2MExecutionRequest) GetDelete() *DeleteL2MRequest { - if x, ok := x.GetRequest().(*L2MExecutionRequest_Delete); ok { - return x.Delete - } - return nil -} - -type isL2MExecutionRequest_Request interface { - isL2MExecutionRequest_Request() -} - -type L2MExecutionRequest_Create struct { - Create *CreateL2MRequest `protobuf:"bytes,1,opt,name=create,proto3,oneof"` -} - -type L2MExecutionRequest_Replace struct { - Replace *ReplaceL2MRequest `protobuf:"bytes,2,opt,name=replace,proto3,oneof"` -} - -type L2MExecutionRequest_Delete struct { - Delete *DeleteL2MRequest `protobuf:"bytes,3,opt,name=delete,proto3,oneof"` -} - -func (*L2MExecutionRequest_Create) isL2MExecutionRequest_Request() {} - -func (*L2MExecutionRequest_Replace) isL2MExecutionRequest_Request() {} - -func (*L2MExecutionRequest_Delete) isL2MExecutionRequest_Request() {} - -type AtomicBatchExecuteL2MRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Requests []*L2MExecutionRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` -} - -func (x *AtomicBatchExecuteL2MRequest) Reset() { - *x = AtomicBatchExecuteL2MRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchExecuteL2MRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchExecuteL2MRequest) ProtoMessage() {} - -func (x *AtomicBatchExecuteL2MRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 AtomicBatchExecuteL2MRequest.ProtoReflect.Descriptor instead. -func (*AtomicBatchExecuteL2MRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{7} -} - -func (x *AtomicBatchExecuteL2MRequest) GetRequests() []*L2MExecutionRequest { - if x != nil { - return x.Requests - } - return nil -} - -type L2MExecutionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Response: - // *L2MExecutionResponse_Created - // *L2MExecutionResponse_Replaced - // *L2MExecutionResponse_Deleted - Response isL2MExecutionResponse_Response `protobuf_oneof:"response"` -} - -func (x *L2MExecutionResponse) Reset() { - *x = L2MExecutionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *L2MExecutionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*L2MExecutionResponse) ProtoMessage() {} - -func (x *L2MExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 L2MExecutionResponse.ProtoReflect.Descriptor instead. -func (*L2MExecutionResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{8} -} - -func (m *L2MExecutionResponse) GetResponse() isL2MExecutionResponse_Response { - if m != nil { - return m.Response - } - return nil -} - -func (x *L2MExecutionResponse) GetCreated() *CreateL2MRequest { - if x, ok := x.GetResponse().(*L2MExecutionResponse_Created); ok { - return x.Created - } - return nil -} - -func (x *L2MExecutionResponse) GetReplaced() *ReplaceL2MRequest { - if x, ok := x.GetResponse().(*L2MExecutionResponse_Replaced); ok { - return x.Replaced - } - return nil -} - -func (x *L2MExecutionResponse) GetDeleted() *DeleteL2MRequest { - if x, ok := x.GetResponse().(*L2MExecutionResponse_Deleted); ok { - return x.Deleted - } - return nil -} - -type isL2MExecutionResponse_Response interface { - isL2MExecutionResponse_Response() -} - -type L2MExecutionResponse_Created struct { - Created *CreateL2MRequest `protobuf:"bytes,1,opt,name=created,proto3,oneof"` -} - -type L2MExecutionResponse_Replaced struct { - Replaced *ReplaceL2MRequest `protobuf:"bytes,2,opt,name=replaced,proto3,oneof"` -} - -type L2MExecutionResponse_Deleted struct { - Deleted *DeleteL2MRequest `protobuf:"bytes,3,opt,name=deleted,proto3,oneof"` -} - -func (*L2MExecutionResponse_Created) isL2MExecutionResponse_Response() {} - -func (*L2MExecutionResponse_Replaced) isL2MExecutionResponse_Response() {} - -func (*L2MExecutionResponse_Deleted) isL2MExecutionResponse_Response() {} - -type AtomicBatchExecuteL2MResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MatchingResponses []*L2MExecutionResponse `protobuf:"bytes,1,rep,name=matching_responses,json=matchingResponses,proto3" json:"matching_responses,omitempty"` -} - -func (x *AtomicBatchExecuteL2MResponse) Reset() { - *x = AtomicBatchExecuteL2MResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchExecuteL2MResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchExecuteL2MResponse) ProtoMessage() {} - -func (x *AtomicBatchExecuteL2MResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs2metrics_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 AtomicBatchExecuteL2MResponse.ProtoReflect.Descriptor instead. -func (*AtomicBatchExecuteL2MResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP(), []int{9} -} - -func (x *AtomicBatchExecuteL2MResponse) GetMatchingResponses() []*L2MExecutionResponse { - if x != nil { - return x.MatchingResponses - } - return nil -} - -var File_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDesc = []byte{ - 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, - 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, - 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, - 0x76, 0x32, 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, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, - 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, 0x3f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x03, 0x6c, 0x32, - 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, 0x4d, 0x52, - 0x03, 0x6c, 0x32, 0x6d, 0x22, 0x10, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x32, 0x4d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4b, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x32, - 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x03, 0x6c, 0x32, 0x6d, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, 0x4d, 0x52, 0x03, - 0x6c, 0x32, 0x6d, 0x22, 0x4d, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x32, - 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x03, 0x6c, 0x32, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, 0x4d, 0x52, 0x03, 0x6c, - 0x32, 0x6d, 0x22, 0x3d, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 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, 0x22, 0x40, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x90, 0x02, 0x0a, 0x13, 0x4c, 0x32, 0x4d, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x06, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 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, - 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x50, 0x0a, 0x07, 0x72, 0x65, - 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x06, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x03, 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, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x72, 0x0a, 0x1c, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, - 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x18, 0x01, 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, 0x6c, 0x6f, 0x67, - 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, 0x4d, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x98, 0x02, 0x0a, 0x14, 0x4c, - 0x32, 0x4d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 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, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, - 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x08, - 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x12, 0x4f, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x64, 0x18, 0x03, 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, 0x6c, 0x6f, - 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, - 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x1d, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, - 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x63, 0x68, - 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, 0x4d, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x11, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x32, - 0x89, 0x08, 0x0a, 0x12, 0x4c, 0x6f, 0x67, 0x73, 0x32, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4c, 0x32, 0x4d, 0x12, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, - 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, - 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, - 0x4d, 0x22, 0x35, 0xd2, 0xb8, 0x02, 0x10, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, - 0x6e, 0x65, 0x77, 0x20, 0x4c, 0x32, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x14, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x3a, 0x03, 0x6c, 0x32, 0x6d, 0x12, 0xa0, 0x01, 0x0a, 0x07, 0x4c, 0x69, 0x73, - 0x74, 0x4c, 0x32, 0x4d, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x32, 0x4d, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0xd2, 0xb8, 0x02, - 0x0e, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x4c, 0x32, 0x4d, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6c, - 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x0a, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x32, 0x4d, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, - 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, 0x4d, 0x22, 0x32, 0xd2, 0xb8, 0x02, 0x0d, 0x0a, 0x0b, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x20, 0x4c, 0x32, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1b, 0x1a, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x3a, 0x03, 0x6c, 0x32, 0x6d, 0x12, 0x92, 0x01, 0x0a, - 0x06, 0x47, 0x65, 0x74, 0x4c, 0x32, 0x4d, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4c, - 0x32, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, - 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x32, - 0x4d, 0x22, 0x2e, 0xd2, 0xb8, 0x02, 0x09, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x20, 0x4c, 0x32, 0x4d, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, - 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x7b, 0x69, 0x64, - 0x7d, 0x12, 0x8b, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x12, - 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x31, 0xd2, 0xb8, - 0x02, 0x0c, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x4c, 0x32, 0x4d, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1b, 0x2a, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, - 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, - 0xe9, 0x01, 0x0a, 0x15, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4c, 0x32, 0x4d, 0x12, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, - 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, - 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, - 0x4c, 0x32, 0x4d, 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, 0x6c, - 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x41, - 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x4c, 0x32, 0x4d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0xd2, 0xb8, - 0x02, 0x1a, 0x0a, 0x18, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x20, 0x42, 0x61, 0x74, 0x63, 0x68, - 0x20, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x20, 0x4c, 0x32, 0x4d, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x29, 0x22, 0x27, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, - 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x3a, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, - 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescData = file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDesc -) - -func file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescData) - }) - return file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDescData -} - -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_goTypes = []interface{}{ - (*CreateL2MRequest)(nil), // 0: com.coralogixapis.logs2metrics.v2.CreateL2MRequest - (*ListL2MRequest)(nil), // 1: com.coralogixapis.logs2metrics.v2.ListL2MRequest - (*ListL2MResponse)(nil), // 2: com.coralogixapis.logs2metrics.v2.ListL2MResponse - (*ReplaceL2MRequest)(nil), // 3: com.coralogixapis.logs2metrics.v2.ReplaceL2MRequest - (*GetL2MRequest)(nil), // 4: com.coralogixapis.logs2metrics.v2.GetL2MRequest - (*DeleteL2MRequest)(nil), // 5: com.coralogixapis.logs2metrics.v2.DeleteL2MRequest - (*L2MExecutionRequest)(nil), // 6: com.coralogixapis.logs2metrics.v2.L2MExecutionRequest - (*AtomicBatchExecuteL2MRequest)(nil), // 7: com.coralogixapis.logs2metrics.v2.AtomicBatchExecuteL2MRequest - (*L2MExecutionResponse)(nil), // 8: com.coralogixapis.logs2metrics.v2.L2MExecutionResponse - (*AtomicBatchExecuteL2MResponse)(nil), // 9: com.coralogixapis.logs2metrics.v2.AtomicBatchExecuteL2MResponse - (*L2M)(nil), // 10: com.coralogixapis.logs2metrics.v2.L2M - (*wrapperspb.StringValue)(nil), // 11: google.protobuf.StringValue - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty -} -var file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_depIdxs = []int32{ - 10, // 0: com.coralogixapis.logs2metrics.v2.CreateL2MRequest.l2m:type_name -> com.coralogixapis.logs2metrics.v2.L2M - 10, // 1: com.coralogixapis.logs2metrics.v2.ListL2MResponse.l2m:type_name -> com.coralogixapis.logs2metrics.v2.L2M - 10, // 2: com.coralogixapis.logs2metrics.v2.ReplaceL2MRequest.l2m:type_name -> com.coralogixapis.logs2metrics.v2.L2M - 11, // 3: com.coralogixapis.logs2metrics.v2.GetL2MRequest.id:type_name -> google.protobuf.StringValue - 11, // 4: com.coralogixapis.logs2metrics.v2.DeleteL2MRequest.id:type_name -> google.protobuf.StringValue - 0, // 5: com.coralogixapis.logs2metrics.v2.L2MExecutionRequest.create:type_name -> com.coralogixapis.logs2metrics.v2.CreateL2MRequest - 3, // 6: com.coralogixapis.logs2metrics.v2.L2MExecutionRequest.replace:type_name -> com.coralogixapis.logs2metrics.v2.ReplaceL2MRequest - 5, // 7: com.coralogixapis.logs2metrics.v2.L2MExecutionRequest.delete:type_name -> com.coralogixapis.logs2metrics.v2.DeleteL2MRequest - 6, // 8: com.coralogixapis.logs2metrics.v2.AtomicBatchExecuteL2MRequest.requests:type_name -> com.coralogixapis.logs2metrics.v2.L2MExecutionRequest - 0, // 9: com.coralogixapis.logs2metrics.v2.L2MExecutionResponse.created:type_name -> com.coralogixapis.logs2metrics.v2.CreateL2MRequest - 3, // 10: com.coralogixapis.logs2metrics.v2.L2MExecutionResponse.replaced:type_name -> com.coralogixapis.logs2metrics.v2.ReplaceL2MRequest - 5, // 11: com.coralogixapis.logs2metrics.v2.L2MExecutionResponse.deleted:type_name -> com.coralogixapis.logs2metrics.v2.DeleteL2MRequest - 8, // 12: com.coralogixapis.logs2metrics.v2.AtomicBatchExecuteL2MResponse.matching_responses:type_name -> com.coralogixapis.logs2metrics.v2.L2MExecutionResponse - 0, // 13: com.coralogixapis.logs2metrics.v2.Logs2MetricService.CreateL2M:input_type -> com.coralogixapis.logs2metrics.v2.CreateL2MRequest - 1, // 14: com.coralogixapis.logs2metrics.v2.Logs2MetricService.ListL2M:input_type -> com.coralogixapis.logs2metrics.v2.ListL2MRequest - 3, // 15: com.coralogixapis.logs2metrics.v2.Logs2MetricService.ReplaceL2M:input_type -> com.coralogixapis.logs2metrics.v2.ReplaceL2MRequest - 4, // 16: com.coralogixapis.logs2metrics.v2.Logs2MetricService.GetL2M:input_type -> com.coralogixapis.logs2metrics.v2.GetL2MRequest - 5, // 17: com.coralogixapis.logs2metrics.v2.Logs2MetricService.DeleteL2M:input_type -> com.coralogixapis.logs2metrics.v2.DeleteL2MRequest - 7, // 18: com.coralogixapis.logs2metrics.v2.Logs2MetricService.AtomicBatchExecuteL2M:input_type -> com.coralogixapis.logs2metrics.v2.AtomicBatchExecuteL2MRequest - 10, // 19: com.coralogixapis.logs2metrics.v2.Logs2MetricService.CreateL2M:output_type -> com.coralogixapis.logs2metrics.v2.L2M - 2, // 20: com.coralogixapis.logs2metrics.v2.Logs2MetricService.ListL2M:output_type -> com.coralogixapis.logs2metrics.v2.ListL2MResponse - 10, // 21: com.coralogixapis.logs2metrics.v2.Logs2MetricService.ReplaceL2M:output_type -> com.coralogixapis.logs2metrics.v2.L2M - 10, // 22: com.coralogixapis.logs2metrics.v2.Logs2MetricService.GetL2M:output_type -> com.coralogixapis.logs2metrics.v2.L2M - 12, // 23: com.coralogixapis.logs2metrics.v2.Logs2MetricService.DeleteL2M:output_type -> google.protobuf.Empty - 9, // 24: com.coralogixapis.logs2metrics.v2.Logs2MetricService.AtomicBatchExecuteL2M:output_type -> com.coralogixapis.logs2metrics.v2.AtomicBatchExecuteL2MResponse - 19, // [19:25] is the sub-list for method output_type - 13, // [13:19] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_init() } -func file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_init() { - if File_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto != nil { - return - } - //file_google_api_annotations_proto_init() - File_com_coralogixapis_logs2metrics_v2_audit_log_proto_init() - File_com_coralogixapis_logs2metrics_v2_logs_query_proto_init() - file_com_coralogixapis_logs2metrics_v2_logs2metrics_definition_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateL2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListL2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListL2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceL2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetL2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteL2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*L2MExecutionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchExecuteL2MRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*L2MExecutionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchExecuteL2MResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[6].OneofWrappers = []interface{}{ - (*L2MExecutionRequest_Create)(nil), - (*L2MExecutionRequest_Replace)(nil), - (*L2MExecutionRequest_Delete)(nil), - } - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes[8].OneofWrappers = []interface{}{ - (*L2MExecutionResponse_Created)(nil), - (*L2MExecutionResponse_Replaced)(nil), - (*L2MExecutionResponse_Deleted)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto = out.File - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_rawDesc = nil - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_goTypes = nil - file_com_coralogixapis_logs2metrics_v2_logs2metrics_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_service_grpc.pb.go b/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_service_grpc.pb.go deleted file mode 100644 index 023998c5..00000000 --- a/coralogix/clientset/grpc/logs2metrics/v2/logs2metrics_service_grpc.pb.go +++ /dev/null @@ -1,287 +0,0 @@ -// 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/logs2metrics/v2/logs2metrics_service.proto - -package __ - -import ( - context "context" - - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - emptypb "google.golang.org/protobuf/types/known/emptypb" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// Logs2MetricServiceClient is the client API for Logs2MetricService 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 Logs2MetricServiceClient interface { - CreateL2M(ctx context.Context, in *CreateL2MRequest, opts ...grpc.CallOption) (*L2M, error) - ListL2M(ctx context.Context, in *ListL2MRequest, opts ...grpc.CallOption) (*ListL2MResponse, error) - ReplaceL2M(ctx context.Context, in *ReplaceL2MRequest, opts ...grpc.CallOption) (*L2M, error) - GetL2M(ctx context.Context, in *GetL2MRequest, opts ...grpc.CallOption) (*L2M, error) - DeleteL2M(ctx context.Context, in *DeleteL2MRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) - AtomicBatchExecuteL2M(ctx context.Context, in *AtomicBatchExecuteL2MRequest, opts ...grpc.CallOption) (*AtomicBatchExecuteL2MResponse, error) -} - -type logs2MetricServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewLogs2MetricServiceClient(cc grpc.ClientConnInterface) Logs2MetricServiceClient { - return &logs2MetricServiceClient{cc} -} - -func (c *logs2MetricServiceClient) CreateL2M(ctx context.Context, in *CreateL2MRequest, opts ...grpc.CallOption) (*L2M, error) { - out := new(L2M) - err := c.cc.Invoke(ctx, "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/CreateL2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logs2MetricServiceClient) ListL2M(ctx context.Context, in *ListL2MRequest, opts ...grpc.CallOption) (*ListL2MResponse, error) { - out := new(ListL2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/ListL2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logs2MetricServiceClient) ReplaceL2M(ctx context.Context, in *ReplaceL2MRequest, opts ...grpc.CallOption) (*L2M, error) { - out := new(L2M) - err := c.cc.Invoke(ctx, "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/ReplaceL2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logs2MetricServiceClient) GetL2M(ctx context.Context, in *GetL2MRequest, opts ...grpc.CallOption) (*L2M, error) { - out := new(L2M) - err := c.cc.Invoke(ctx, "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/GetL2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logs2MetricServiceClient) DeleteL2M(ctx context.Context, in *DeleteL2MRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/DeleteL2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *logs2MetricServiceClient) AtomicBatchExecuteL2M(ctx context.Context, in *AtomicBatchExecuteL2MRequest, opts ...grpc.CallOption) (*AtomicBatchExecuteL2MResponse, error) { - out := new(AtomicBatchExecuteL2MResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/AtomicBatchExecuteL2M", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Logs2MetricServiceServer is the server API for Logs2MetricService service. -// All implementations must embed UnimplementedLogs2MetricServiceServer -// for forward compatibility -type Logs2MetricServiceServer interface { - CreateL2M(context.Context, *CreateL2MRequest) (*L2M, error) - ListL2M(context.Context, *ListL2MRequest) (*ListL2MResponse, error) - ReplaceL2M(context.Context, *ReplaceL2MRequest) (*L2M, error) - GetL2M(context.Context, *GetL2MRequest) (*L2M, error) - DeleteL2M(context.Context, *DeleteL2MRequest) (*emptypb.Empty, error) - AtomicBatchExecuteL2M(context.Context, *AtomicBatchExecuteL2MRequest) (*AtomicBatchExecuteL2MResponse, error) - mustEmbedUnimplementedLogs2MetricServiceServer() -} - -// UnimplementedLogs2MetricServiceServer must be embedded to have forward compatible implementations. -type UnimplementedLogs2MetricServiceServer struct { -} - -func (UnimplementedLogs2MetricServiceServer) CreateL2M(context.Context, *CreateL2MRequest) (*L2M, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateL2M not implemented") -} -func (UnimplementedLogs2MetricServiceServer) ListL2M(context.Context, *ListL2MRequest) (*ListL2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListL2M not implemented") -} -func (UnimplementedLogs2MetricServiceServer) ReplaceL2M(context.Context, *ReplaceL2MRequest) (*L2M, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReplaceL2M not implemented") -} -func (UnimplementedLogs2MetricServiceServer) GetL2M(context.Context, *GetL2MRequest) (*L2M, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetL2M not implemented") -} -func (UnimplementedLogs2MetricServiceServer) DeleteL2M(context.Context, *DeleteL2MRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteL2M not implemented") -} -func (UnimplementedLogs2MetricServiceServer) AtomicBatchExecuteL2M(context.Context, *AtomicBatchExecuteL2MRequest) (*AtomicBatchExecuteL2MResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AtomicBatchExecuteL2M not implemented") -} -func (UnimplementedLogs2MetricServiceServer) mustEmbedUnimplementedLogs2MetricServiceServer() {} - -// UnsafeLogs2MetricServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to Logs2MetricServiceServer will -// result in compilation errors. -type UnsafeLogs2MetricServiceServer interface { - mustEmbedUnimplementedLogs2MetricServiceServer() -} - -func RegisterLogs2MetricServiceServer(s grpc.ServiceRegistrar, srv Logs2MetricServiceServer) { - s.RegisterService(&Logs2MetricService_ServiceDesc, srv) -} - -func _Logs2MetricService_CreateL2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateL2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Logs2MetricServiceServer).CreateL2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/CreateL2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Logs2MetricServiceServer).CreateL2M(ctx, req.(*CreateL2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Logs2MetricService_ListL2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListL2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Logs2MetricServiceServer).ListL2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/ListL2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Logs2MetricServiceServer).ListL2M(ctx, req.(*ListL2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Logs2MetricService_ReplaceL2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReplaceL2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Logs2MetricServiceServer).ReplaceL2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/ReplaceL2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Logs2MetricServiceServer).ReplaceL2M(ctx, req.(*ReplaceL2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Logs2MetricService_GetL2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetL2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Logs2MetricServiceServer).GetL2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/GetL2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Logs2MetricServiceServer).GetL2M(ctx, req.(*GetL2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Logs2MetricService_DeleteL2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteL2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Logs2MetricServiceServer).DeleteL2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/DeleteL2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Logs2MetricServiceServer).DeleteL2M(ctx, req.(*DeleteL2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Logs2MetricService_AtomicBatchExecuteL2M_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AtomicBatchExecuteL2MRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Logs2MetricServiceServer).AtomicBatchExecuteL2M(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.logs2metrics.v2.Logs2MetricService/AtomicBatchExecuteL2M", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Logs2MetricServiceServer).AtomicBatchExecuteL2M(ctx, req.(*AtomicBatchExecuteL2MRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// Logs2MetricService_ServiceDesc is the grpc.ServiceDesc for Logs2MetricService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var Logs2MetricService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.logs2metrics.v2.Logs2MetricService", - HandlerType: (*Logs2MetricServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateL2M", - Handler: _Logs2MetricService_CreateL2M_Handler, - }, - { - MethodName: "ListL2M", - Handler: _Logs2MetricService_ListL2M_Handler, - }, - { - MethodName: "ReplaceL2M", - Handler: _Logs2MetricService_ReplaceL2M_Handler, - }, - { - MethodName: "GetL2M", - Handler: _Logs2MetricService_GetL2M_Handler, - }, - { - MethodName: "DeleteL2M", - Handler: _Logs2MetricService_DeleteL2M_Handler, - }, - { - MethodName: "AtomicBatchExecuteL2M", - Handler: _Logs2MetricService_AtomicBatchExecuteL2M_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/logs2metrics/v2/logs2metrics_service.proto", -} diff --git a/coralogix/clientset/grpc/logs2metrics/v2/logs_query.pb.go b/coralogix/clientset/grpc/logs2metrics/v2/logs_query.pb.go deleted file mode 100644 index 5181621c..00000000 --- a/coralogix/clientset/grpc/logs2metrics/v2/logs_query.pb.go +++ /dev/null @@ -1,279 +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/logs2metrics/v2/logs_query.proto - -package __ - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" -) - -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 Severity int32 - -const ( - Severity_Unspecified Severity = 0 - Severity_Debug Severity = 1 - Severity_Verbose Severity = 2 - Severity_Info Severity = 3 - Severity_Warning Severity = 4 - Severity_Error Severity = 5 - Severity_Critical Severity = 6 -) - -// Enum value maps for Severity. -var ( - Severity_name = map[int32]string{ - 0: "Unspecified", - 1: "Debug", - 2: "Verbose", - 3: "Info", - 4: "Warning", - 5: "Error", - 6: "Critical", - } - Severity_value = map[string]int32{ - "Unspecified": 0, - "Debug": 1, - "Verbose": 2, - "Info": 3, - "Warning": 4, - "Error": 5, - "Critical": 6, - } -) - -func (x Severity) Enum() *Severity { - p := new(Severity) - *p = x - return p -} - -func (x Severity) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Severity) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_logs2metrics_v2_logs_query_proto_enumTypes[0].Descriptor() -} - -func (Severity) Type() protoreflect.EnumType { - return &file_com_coralogixapis_logs2metrics_v2_logs_query_proto_enumTypes[0] -} - -func (x Severity) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Severity.Descriptor instead. -func (Severity) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescGZIP(), []int{0} -} - -type LogsQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Lucene *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=lucene,proto3" json:"lucene,omitempty"` - Alias *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` - ApplicationnameFilters []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=applicationname_filters,json=applicationnameFilters,proto3" json:"applicationname_filters,omitempty"` - SubsystemnameFilters []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=subsystemname_filters,json=subsystemnameFilters,proto3" json:"subsystemname_filters,omitempty"` - SeverityFilters []Severity `protobuf:"varint,5,rep,packed,name=severity_filters,json=severityFilters,proto3,enum=com.coralogixapis.logs2metrics.v2.Severity" json:"severity_filters,omitempty"` -} - -func (x *LogsQuery) Reset() { - *x = LogsQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_logs2metrics_v2_logs_query_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogsQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogsQuery) ProtoMessage() {} - -func (x *LogsQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_logs2metrics_v2_logs_query_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 LogsQuery.ProtoReflect.Descriptor instead. -func (*LogsQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescGZIP(), []int{0} -} - -func (x *LogsQuery) GetLucene() *wrapperspb.StringValue { - if x != nil { - return x.Lucene - } - return nil -} - -func (x *LogsQuery) GetAlias() *wrapperspb.StringValue { - if x != nil { - return x.Alias - } - return nil -} - -func (x *LogsQuery) GetApplicationnameFilters() []*wrapperspb.StringValue { - if x != nil { - return x.ApplicationnameFilters - } - return nil -} - -func (x *LogsQuery) GetSubsystemnameFilters() []*wrapperspb.StringValue { - if x != nil { - return x.SubsystemnameFilters - } - return nil -} - -func (x *LogsQuery) GetSeverityFilters() []Severity { - if x != nil { - return x.SeverityFilters - } - return nil -} - -var File_com_coralogixapis_logs2metrics_v2_logs_query_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 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, 0xf7, 0x02, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x73, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x75, 0x63, 0x65, 0x6e, 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, 0x06, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x61, - 0x6c, 0x69, 0x61, 0x73, 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, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, - 0x55, 0x0a, 0x17, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x6e, 0x61, - 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 0x16, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x6e, 0x61, 0x6d, 0x65, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x15, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 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, 0x14, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x6e, 0x61, - 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x56, 0x0a, 0x10, 0x73, 0x65, 0x76, - 0x65, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, - 0x52, 0x0f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x73, 0x2a, 0x63, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x0f, 0x0a, - 0x0b, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x09, - 0x0a, 0x05, 0x44, 0x65, 0x62, 0x75, 0x67, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x65, 0x72, - 0x62, 0x6f, 0x73, 0x65, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0x03, - 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x04, 0x12, 0x09, 0x0a, - 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x72, 0x69, 0x74, - 0x69, 0x63, 0x61, 0x6c, 0x10, 0x06, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescOnce sync.Once - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescData = file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDesc -) - -func file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescGZIP() []byte { - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescData) - }) - return file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDescData -} - -var file_com_coralogixapis_logs2metrics_v2_logs_query_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_logs2metrics_v2_logs_query_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_logs2metrics_v2_logs_query_proto_goTypes = []interface{}{ - (Severity)(0), // 0: com.coralogixapis.logs2metrics.v2.Severity - (*LogsQuery)(nil), // 1: com.coralogixapis.logs2metrics.v2.LogsQuery - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogixapis_logs2metrics_v2_logs_query_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.logs2metrics.v2.LogsQuery.lucene:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogixapis.logs2metrics.v2.LogsQuery.alias:type_name -> google.protobuf.StringValue - 2, // 2: com.coralogixapis.logs2metrics.v2.LogsQuery.applicationname_filters:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogixapis.logs2metrics.v2.LogsQuery.subsystemname_filters:type_name -> google.protobuf.StringValue - 0, // 4: com.coralogixapis.logs2metrics.v2.LogsQuery.severity_filters:type_name -> com.coralogixapis.logs2metrics.v2.Severity - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { File_com_coralogixapis_logs2metrics_v2_logs_query_proto_init() } -func File_com_coralogixapis_logs2metrics_v2_logs_query_proto_init() { - if File_com_coralogixapis_logs2metrics_v2_logs_query_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogsQuery); 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_logs2metrics_v2_logs_query_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_logs2metrics_v2_logs_query_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_logs2metrics_v2_logs_query_proto_depIdxs, - EnumInfos: file_com_coralogixapis_logs2metrics_v2_logs_query_proto_enumTypes, - MessageInfos: file_com_coralogixapis_logs2metrics_v2_logs_query_proto_msgTypes, - }.Build() - File_com_coralogixapis_logs2metrics_v2_logs_query_proto = out.File - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_rawDesc = nil - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_goTypes = nil - file_com_coralogixapis_logs2metrics_v2_logs_query_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/recording-rules-groups-sets/v1/groups.pb.go b/coralogix/clientset/grpc/recording-rules-groups-sets/v1/groups.pb.go deleted file mode 100644 index df94fcfc..00000000 --- a/coralogix/clientset/grpc/recording-rules-groups-sets/v1/groups.pb.go +++ /dev/null @@ -1,1326 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: proto/groups.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -//* -// A group of recording rules. Rules within a group are run sequentially at a regular interval, -// with the same evaluation time. -type InRuleGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Name of the group. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // How often rules in the group are evaluated. - Interval *uint32 `protobuf:"varint,2,opt,name=interval,proto3,oneof" json:"interval,omitempty"` // optional, default = 60 secs - // Limits the number of series a rule can produce. - Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // optional, 0 is no limit, default = 0 - // Rules of the group. - Rules []*InRule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"` -} - -func (x *InRuleGroup) Reset() { - *x = InRuleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InRuleGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InRuleGroup) ProtoMessage() {} - -func (x *InRuleGroup) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 InRuleGroup.ProtoReflect.Descriptor instead. -func (*InRuleGroup) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{0} -} - -func (x *InRuleGroup) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *InRuleGroup) GetInterval() uint32 { - if x != nil && x.Interval != nil { - return *x.Interval - } - return 0 -} - -func (x *InRuleGroup) GetLimit() uint64 { - if x != nil && x.Limit != nil { - return *x.Limit - } - return 0 -} - -func (x *InRuleGroup) GetRules() []*InRule { - if x != nil { - return x.Rules - } - return nil -} - -type InRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The name of the time series to output to. Must be a valid metric name. - Record string `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` - //* - // The PromQL expression to evaluate. Every evaluation cycle this is - // evaluated at the current time, and the result recorded as a new set of - // time series with the metric name as given by 'record'. - Expr string `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"` - // Labels to add or overwrite before storing the result. - 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 *InRule) Reset() { - *x = InRule{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InRule) ProtoMessage() {} - -func (x *InRule) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 InRule.ProtoReflect.Descriptor instead. -func (*InRule) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{1} -} - -func (x *InRule) GetRecord() string { - if x != nil { - return x.Record - } - return "" -} - -func (x *InRule) GetExpr() string { - if x != nil { - return x.Expr - } - return "" -} - -func (x *InRule) GetLabels() map[string]string { - if x != nil { - return x.Labels - } - return nil -} - -type OutRuleGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Interval *uint32 `protobuf:"varint,2,opt,name=interval,proto3,oneof" json:"interval,omitempty"` - Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"` - Rules []*OutRule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"` - LastEvalAt *uint64 `protobuf:"varint,5,opt,name=last_eval_at,json=lastEvalAt,proto3,oneof" json:"last_eval_at,omitempty"` -} - -func (x *OutRuleGroup) Reset() { - *x = OutRuleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutRuleGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutRuleGroup) ProtoMessage() {} - -func (x *OutRuleGroup) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 OutRuleGroup.ProtoReflect.Descriptor instead. -func (*OutRuleGroup) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{2} -} - -func (x *OutRuleGroup) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *OutRuleGroup) GetInterval() uint32 { - if x != nil && x.Interval != nil { - return *x.Interval - } - return 0 -} - -func (x *OutRuleGroup) GetLimit() uint64 { - if x != nil && x.Limit != nil { - return *x.Limit - } - return 0 -} - -func (x *OutRuleGroup) GetRules() []*OutRule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *OutRuleGroup) GetLastEvalAt() uint64 { - if x != nil && x.LastEvalAt != nil { - return *x.LastEvalAt - } - return 0 -} - -type OutRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Record string `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` - Expr string `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,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"` - LastEvalDurationMs *uint64 `protobuf:"varint,4,opt,name=last_eval_duration_ms,json=lastEvalDurationMs,proto3,oneof" json:"last_eval_duration_ms,omitempty"` -} - -func (x *OutRule) Reset() { - *x = OutRule{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutRule) ProtoMessage() {} - -func (x *OutRule) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 OutRule.ProtoReflect.Descriptor instead. -func (*OutRule) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{3} -} - -func (x *OutRule) GetRecord() string { - if x != nil { - return x.Record - } - return "" -} - -func (x *OutRule) GetExpr() string { - if x != nil { - return x.Expr - } - return "" -} - -func (x *OutRule) GetLabels() map[string]string { - if x != nil { - return x.Labels - } - return nil -} - -func (x *OutRule) GetLastEvalDurationMs() uint64 { - if x != nil && x.LastEvalDurationMs != nil { - return *x.LastEvalDurationMs - } - return 0 -} - -//* A matcher specifying a group to delete. -type DeleteRuleGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Name of the group. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *DeleteRuleGroup) Reset() { - *x = DeleteRuleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRuleGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRuleGroup) ProtoMessage() {} - -func (x *DeleteRuleGroup) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 DeleteRuleGroup.ProtoReflect.Descriptor instead. -func (*DeleteRuleGroup) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{4} -} - -func (x *DeleteRuleGroup) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -//* A listing of rule groups. -type RuleGroupListing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // List of groups. - RuleGroups []*OutRuleGroup `protobuf:"bytes,1,rep,name=rule_groups,json=ruleGroups,proto3" json:"rule_groups,omitempty"` -} - -func (x *RuleGroupListing) Reset() { - *x = RuleGroupListing{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleGroupListing) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleGroupListing) ProtoMessage() {} - -func (x *RuleGroupListing) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 RuleGroupListing.ProtoReflect.Descriptor instead. -func (*RuleGroupListing) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{5} -} - -func (x *RuleGroupListing) GetRuleGroups() []*OutRuleGroup { - if x != nil { - return x.RuleGroups - } - return nil -} - -//* A matcher specifying a group to fetch. -type FetchRuleGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Name of the group. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *FetchRuleGroup) Reset() { - *x = FetchRuleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchRuleGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchRuleGroup) ProtoMessage() {} - -func (x *FetchRuleGroup) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 FetchRuleGroup.ProtoReflect.Descriptor instead. -func (*FetchRuleGroup) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{6} -} - -func (x *FetchRuleGroup) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -//* Result of a rule group fetch operation. -type FetchRuleGroupResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // A fetched rule group. - RuleGroup *OutRuleGroup `protobuf:"bytes,1,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` // optional, empty if not found -} - -func (x *FetchRuleGroupResult) Reset() { - *x = FetchRuleGroupResult{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchRuleGroupResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchRuleGroupResult) ProtoMessage() {} - -func (x *FetchRuleGroupResult) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 FetchRuleGroupResult.ProtoReflect.Descriptor instead. -func (*FetchRuleGroupResult) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{7} -} - -func (x *FetchRuleGroupResult) GetRuleGroup() *OutRuleGroup { - if x != nil { - return x.RuleGroup - } - return nil -} - -type CreateRuleGroupSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Groups []*InRuleGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` - Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` -} - -func (x *CreateRuleGroupSet) Reset() { - *x = CreateRuleGroupSet{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupSet) ProtoMessage() {} - -func (x *CreateRuleGroupSet) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 CreateRuleGroupSet.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupSet) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{8} -} - -func (x *CreateRuleGroupSet) GetGroups() []*InRuleGroup { - if x != nil { - return x.Groups - } - return nil -} - -func (x *CreateRuleGroupSet) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -type CreateRuleGroupSetResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *CreateRuleGroupSetResult) Reset() { - *x = CreateRuleGroupSetResult{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupSetResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupSetResult) ProtoMessage() {} - -func (x *CreateRuleGroupSetResult) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 CreateRuleGroupSetResult.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupSetResult) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{9} -} - -func (x *CreateRuleGroupSetResult) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type UpdateRuleGroupSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Groups []*InRuleGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` - Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` -} - -func (x *UpdateRuleGroupSet) Reset() { - *x = UpdateRuleGroupSet{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRuleGroupSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRuleGroupSet) ProtoMessage() {} - -func (x *UpdateRuleGroupSet) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 UpdateRuleGroupSet.ProtoReflect.Descriptor instead. -func (*UpdateRuleGroupSet) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{10} -} - -func (x *UpdateRuleGroupSet) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UpdateRuleGroupSet) GetGroups() []*InRuleGroup { - if x != nil { - return x.Groups - } - return nil -} - -func (x *UpdateRuleGroupSet) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -type RuleGroupSetListing struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sets []*OutRuleGroupSet `protobuf:"bytes,1,rep,name=sets,proto3" json:"sets,omitempty"` -} - -func (x *RuleGroupSetListing) Reset() { - *x = RuleGroupSetListing{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleGroupSetListing) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleGroupSetListing) ProtoMessage() {} - -func (x *RuleGroupSetListing) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 RuleGroupSetListing.ProtoReflect.Descriptor instead. -func (*RuleGroupSetListing) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{11} -} - -func (x *RuleGroupSetListing) GetSets() []*OutRuleGroupSet { - if x != nil { - return x.Sets - } - return nil -} - -type FetchRuleGroupSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *FetchRuleGroupSet) Reset() { - *x = FetchRuleGroupSet{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchRuleGroupSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchRuleGroupSet) ProtoMessage() {} - -func (x *FetchRuleGroupSet) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 FetchRuleGroupSet.ProtoReflect.Descriptor instead. -func (*FetchRuleGroupSet) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{12} -} - -func (x *FetchRuleGroupSet) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type DeleteRuleGroupSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteRuleGroupSet) Reset() { - *x = DeleteRuleGroupSet{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRuleGroupSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRuleGroupSet) ProtoMessage() {} - -func (x *DeleteRuleGroupSet) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 DeleteRuleGroupSet.ProtoReflect.Descriptor instead. -func (*DeleteRuleGroupSet) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{13} -} - -func (x *DeleteRuleGroupSet) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type OutRuleGroupSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Groups []*OutRuleGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *OutRuleGroupSet) Reset() { - *x = OutRuleGroupSet{} - if protoimpl.UnsafeEnabled { - mi := &file_proto_groups_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutRuleGroupSet) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutRuleGroupSet) ProtoMessage() {} - -func (x *OutRuleGroupSet) ProtoReflect() protoreflect.Message { - mi := &file_proto_groups_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 OutRuleGroupSet.ProtoReflect.Descriptor instead. -func (*OutRuleGroupSet) Descriptor() ([]byte, []int) { - return file_proto_groups_proto_rawDescGZIP(), []int{14} -} - -func (x *OutRuleGroupSet) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *OutRuleGroupSet) GetGroups() []*OutRuleGroup { - if x != nil { - return x.Groups - } - return nil -} - -func (x *OutRuleGroupSet) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -var File_proto_groups_proto protoreflect.FileDescriptor - -var file_proto_groups_proto_rawDesc = []byte{ - 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x05, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x52, 0x75, - 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x22, 0xb0, 0x01, 0x0a, 0x06, 0x49, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, 0x3f, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x49, 0x6e, - 0x52, 0x75, 0x6c, 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, 0x22, 0xe1, 0x01, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x88, 0x01, 0x01, 0x12, 0x32, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, - 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, - 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x48, 0x02, - 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x76, 0x61, 0x6c, 0x41, 0x74, 0x88, 0x01, 0x01, 0x42, - 0x0b, 0x0a, 0x09, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42, 0x08, 0x0a, 0x06, - 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, - 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x61, 0x74, 0x22, 0x84, 0x02, 0x0a, 0x07, 0x4f, 0x75, 0x74, 0x52, - 0x75, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x65, - 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, - 0x40, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x28, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x12, 0x36, 0x0a, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x64, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, - 0x48, 0x00, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x45, 0x76, 0x61, 0x6c, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x88, 0x01, 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, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x65, 0x76, - 0x61, 0x6c, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x22, 0x25, - 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x56, 0x0a, 0x10, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x42, 0x0a, 0x0b, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x24, 0x0a, - 0x0e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x14, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x72, - 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x70, 0x0a, - 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x53, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x17, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x2a, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x12, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, - 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x17, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4f, - 0x0a, 0x13, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x4c, 0x69, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x04, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x52, 0x04, 0x73, 0x65, 0x74, 0x73, 0x22, - 0x23, 0x0a, 0x11, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x22, 0x24, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x70, 0x0a, 0x0f, 0x4f, 0x75, - 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, - 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xbe, 0x02, 0x0a, - 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x42, 0x0a, 0x04, 0x53, - 0x61, 0x76, 0x65, 0x12, 0x20, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, - 0x48, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x04, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x25, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, - 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, - 0x22, 0x00, 0x12, 0x59, 0x0a, 0x05, 0x46, 0x65, 0x74, 0x63, 0x68, 0x12, 0x23, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x1a, 0x29, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x32, 0xb2, 0x03, - 0x0a, 0x0d, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x73, 0x12, - 0x62, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, - 0x65, 0x74, 0x1a, 0x2d, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, - 0x12, 0x4a, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x1a, 0x28, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x53, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x05, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x12, 0x26, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x46, 0x65, 0x74, 0x63, - 0x68, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x1a, 0x24, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x73, 0x2e, 0x4f, 0x75, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x53, 0x65, 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, - 0x27, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x22, 0x00, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_proto_groups_proto_rawDescOnce sync.Once - file_proto_groups_proto_rawDescData = file_proto_groups_proto_rawDesc -) - -func file_proto_groups_proto_rawDescGZIP() []byte { - file_proto_groups_proto_rawDescOnce.Do(func() { - file_proto_groups_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_groups_proto_rawDescData) - }) - return file_proto_groups_proto_rawDescData -} - -var file_proto_groups_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_proto_groups_proto_goTypes = []interface{}{ - (*InRuleGroup)(nil), // 0: rule_manager.groups.InRuleGroup - (*InRule)(nil), // 1: rule_manager.groups.InRule - (*OutRuleGroup)(nil), // 2: rule_manager.groups.OutRuleGroup - (*OutRule)(nil), // 3: rule_manager.groups.OutRule - (*DeleteRuleGroup)(nil), // 4: rule_manager.groups.DeleteRuleGroup - (*RuleGroupListing)(nil), // 5: rule_manager.groups.RuleGroupListing - (*FetchRuleGroup)(nil), // 6: rule_manager.groups.FetchRuleGroup - (*FetchRuleGroupResult)(nil), // 7: rule_manager.groups.FetchRuleGroupResult - (*CreateRuleGroupSet)(nil), // 8: rule_manager.groups.CreateRuleGroupSet - (*CreateRuleGroupSetResult)(nil), // 9: rule_manager.groups.CreateRuleGroupSetResult - (*UpdateRuleGroupSet)(nil), // 10: rule_manager.groups.UpdateRuleGroupSet - (*RuleGroupSetListing)(nil), // 11: rule_manager.groups.RuleGroupSetListing - (*FetchRuleGroupSet)(nil), // 12: rule_manager.groups.FetchRuleGroupSet - (*DeleteRuleGroupSet)(nil), // 13: rule_manager.groups.DeleteRuleGroupSet - (*OutRuleGroupSet)(nil), // 14: rule_manager.groups.OutRuleGroupSet - nil, // 15: rule_manager.groups.InRule.LabelsEntry - nil, // 16: rule_manager.groups.OutRule.LabelsEntry - (*emptypb.Empty)(nil), // 17: google.protobuf.Empty -} -var file_proto_groups_proto_depIdxs = []int32{ - 1, // 0: rule_manager.groups.InRuleGroup.rules:type_name -> rule_manager.groups.InRule - 15, // 1: rule_manager.groups.InRule.labels:type_name -> rule_manager.groups.InRule.LabelsEntry - 3, // 2: rule_manager.groups.OutRuleGroup.rules:type_name -> rule_manager.groups.OutRule - 16, // 3: rule_manager.groups.OutRule.labels:type_name -> rule_manager.groups.OutRule.LabelsEntry - 2, // 4: rule_manager.groups.RuleGroupListing.rule_groups:type_name -> rule_manager.groups.OutRuleGroup - 2, // 5: rule_manager.groups.FetchRuleGroupResult.rule_group:type_name -> rule_manager.groups.OutRuleGroup - 0, // 6: rule_manager.groups.CreateRuleGroupSet.groups:type_name -> rule_manager.groups.InRuleGroup - 0, // 7: rule_manager.groups.UpdateRuleGroupSet.groups:type_name -> rule_manager.groups.InRuleGroup - 14, // 8: rule_manager.groups.RuleGroupSetListing.sets:type_name -> rule_manager.groups.OutRuleGroupSet - 2, // 9: rule_manager.groups.OutRuleGroupSet.groups:type_name -> rule_manager.groups.OutRuleGroup - 0, // 10: rule_manager.groups.RuleGroups.Save:input_type -> rule_manager.groups.InRuleGroup - 4, // 11: rule_manager.groups.RuleGroups.Delete:input_type -> rule_manager.groups.DeleteRuleGroup - 17, // 12: rule_manager.groups.RuleGroups.List:input_type -> google.protobuf.Empty - 6, // 13: rule_manager.groups.RuleGroups.Fetch:input_type -> rule_manager.groups.FetchRuleGroup - 8, // 14: rule_manager.groups.RuleGroupSets.Create:input_type -> rule_manager.groups.CreateRuleGroupSet - 10, // 15: rule_manager.groups.RuleGroupSets.Update:input_type -> rule_manager.groups.UpdateRuleGroupSet - 17, // 16: rule_manager.groups.RuleGroupSets.List:input_type -> google.protobuf.Empty - 12, // 17: rule_manager.groups.RuleGroupSets.Fetch:input_type -> rule_manager.groups.FetchRuleGroupSet - 13, // 18: rule_manager.groups.RuleGroupSets.Delete:input_type -> rule_manager.groups.DeleteRuleGroupSet - 17, // 19: rule_manager.groups.RuleGroups.Save:output_type -> google.protobuf.Empty - 17, // 20: rule_manager.groups.RuleGroups.Delete:output_type -> google.protobuf.Empty - 5, // 21: rule_manager.groups.RuleGroups.List:output_type -> rule_manager.groups.RuleGroupListing - 7, // 22: rule_manager.groups.RuleGroups.Fetch:output_type -> rule_manager.groups.FetchRuleGroupResult - 9, // 23: rule_manager.groups.RuleGroupSets.Create:output_type -> rule_manager.groups.CreateRuleGroupSetResult - 17, // 24: rule_manager.groups.RuleGroupSets.Update:output_type -> google.protobuf.Empty - 11, // 25: rule_manager.groups.RuleGroupSets.List:output_type -> rule_manager.groups.RuleGroupSetListing - 14, // 26: rule_manager.groups.RuleGroupSets.Fetch:output_type -> rule_manager.groups.OutRuleGroupSet - 17, // 27: rule_manager.groups.RuleGroupSets.Delete:output_type -> google.protobuf.Empty - 19, // [19:28] is the sub-list for method output_type - 10, // [10:19] 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_proto_groups_proto_init() } -func file_proto_groups_proto_init() { - if File_proto_groups_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_proto_groups_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InRuleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutRuleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleGroupListing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchRuleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchRuleGroupResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupSetResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleGroupSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleGroupSetListing); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchRuleGroupSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleGroupSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proto_groups_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutRuleGroupSet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_proto_groups_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_proto_groups_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_proto_groups_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_proto_groups_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_proto_groups_proto_msgTypes[10].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proto_groups_proto_rawDesc, - NumEnums: 0, - NumMessages: 17, - NumExtensions: 0, - NumServices: 2, - }, - GoTypes: file_proto_groups_proto_goTypes, - DependencyIndexes: file_proto_groups_proto_depIdxs, - MessageInfos: file_proto_groups_proto_msgTypes, - }.Build() - File_proto_groups_proto = out.File - file_proto_groups_proto_rawDesc = nil - file_proto_groups_proto_goTypes = nil - file_proto_groups_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/recording-rules-groups-sets/v1/groups_grpc.pb.go b/coralogix/clientset/grpc/recording-rules-groups-sets/v1/groups_grpc.pb.go deleted file mode 100644 index f8411c4e..00000000 --- a/coralogix/clientset/grpc/recording-rules-groups-sets/v1/groups_grpc.pb.go +++ /dev/null @@ -1,452 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: proto/groups.proto - -package __ - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - emptypb "google.golang.org/protobuf/types/known/emptypb" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// RuleGroupsClient is the client API for RuleGroups 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 RuleGroupsClient interface { - // Creates or updates a rule group. - Save(ctx context.Context, in *InRuleGroup, opts ...grpc.CallOption) (*emptypb.Empty, error) - // Deletes a rule group matching the given input. - Delete(ctx context.Context, in *DeleteRuleGroup, opts ...grpc.CallOption) (*emptypb.Empty, error) - // Lists all the rule groups. - List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RuleGroupListing, error) - // Fetches a rule group matching a given input. - Fetch(ctx context.Context, in *FetchRuleGroup, opts ...grpc.CallOption) (*FetchRuleGroupResult, error) -} - -type ruleGroupsClient struct { - cc grpc.ClientConnInterface -} - -func NewRuleGroupsClient(cc grpc.ClientConnInterface) RuleGroupsClient { - return &ruleGroupsClient{cc} -} - -func (c *ruleGroupsClient) Save(ctx context.Context, in *InRuleGroup, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroups/Save", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsClient) Delete(ctx context.Context, in *DeleteRuleGroup, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroups/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsClient) List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RuleGroupListing, error) { - out := new(RuleGroupListing) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroups/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsClient) Fetch(ctx context.Context, in *FetchRuleGroup, opts ...grpc.CallOption) (*FetchRuleGroupResult, error) { - out := new(FetchRuleGroupResult) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroups/Fetch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RuleGroupsServer is the server API for RuleGroups service. -// All implementations must embed UnimplementedRuleGroupsServer -// for forward compatibility -type RuleGroupsServer interface { - // Creates or updates a rule group. - Save(context.Context, *InRuleGroup) (*emptypb.Empty, error) - // Deletes a rule group matching the given input. - Delete(context.Context, *DeleteRuleGroup) (*emptypb.Empty, error) - // Lists all the rule groups. - List(context.Context, *emptypb.Empty) (*RuleGroupListing, error) - // Fetches a rule group matching a given input. - Fetch(context.Context, *FetchRuleGroup) (*FetchRuleGroupResult, error) - mustEmbedUnimplementedRuleGroupsServer() -} - -// UnimplementedRuleGroupsServer must be embedded to have forward compatible implementations. -type UnimplementedRuleGroupsServer struct { -} - -func (UnimplementedRuleGroupsServer) Save(context.Context, *InRuleGroup) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method Save not implemented") -} -func (UnimplementedRuleGroupsServer) Delete(context.Context, *DeleteRuleGroup) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (UnimplementedRuleGroupsServer) List(context.Context, *emptypb.Empty) (*RuleGroupListing, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (UnimplementedRuleGroupsServer) Fetch(context.Context, *FetchRuleGroup) (*FetchRuleGroupResult, error) { - return nil, status.Errorf(codes.Unimplemented, "method Fetch not implemented") -} -func (UnimplementedRuleGroupsServer) mustEmbedUnimplementedRuleGroupsServer() {} - -// UnsafeRuleGroupsServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RuleGroupsServer will -// result in compilation errors. -type UnsafeRuleGroupsServer interface { - mustEmbedUnimplementedRuleGroupsServer() -} - -func RegisterRuleGroupsServer(s grpc.ServiceRegistrar, srv RuleGroupsServer) { - s.RegisterService(&RuleGroups_ServiceDesc, srv) -} - -func _RuleGroups_Save_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InRuleGroup) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServer).Save(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroups/Save", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServer).Save(ctx, req.(*InRuleGroup)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroups_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRuleGroup) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroups/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServer).Delete(ctx, req.(*DeleteRuleGroup)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroups_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(emptypb.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroups/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServer).List(ctx, req.(*emptypb.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroups_Fetch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FetchRuleGroup) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServer).Fetch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroups/Fetch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServer).Fetch(ctx, req.(*FetchRuleGroup)) - } - return interceptor(ctx, in, info, handler) -} - -// RuleGroups_ServiceDesc is the grpc.ServiceDesc for RuleGroups service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RuleGroups_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "rule_manager.groups.RuleGroups", - HandlerType: (*RuleGroupsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Save", - Handler: _RuleGroups_Save_Handler, - }, - { - MethodName: "Delete", - Handler: _RuleGroups_Delete_Handler, - }, - { - MethodName: "List", - Handler: _RuleGroups_List_Handler, - }, - { - MethodName: "Fetch", - Handler: _RuleGroups_Fetch_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "proto/groups.proto", -} - -// RuleGroupSetsClient is the client API for RuleGroupSets 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 RuleGroupSetsClient interface { - Create(ctx context.Context, in *CreateRuleGroupSet, opts ...grpc.CallOption) (*CreateRuleGroupSetResult, error) - Update(ctx context.Context, in *UpdateRuleGroupSet, opts ...grpc.CallOption) (*emptypb.Empty, error) - List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RuleGroupSetListing, error) - Fetch(ctx context.Context, in *FetchRuleGroupSet, opts ...grpc.CallOption) (*OutRuleGroupSet, error) - Delete(ctx context.Context, in *DeleteRuleGroupSet, opts ...grpc.CallOption) (*emptypb.Empty, error) -} - -type ruleGroupSetsClient struct { - cc grpc.ClientConnInterface -} - -func NewRuleGroupSetsClient(cc grpc.ClientConnInterface) RuleGroupSetsClient { - return &ruleGroupSetsClient{cc} -} - -func (c *ruleGroupSetsClient) Create(ctx context.Context, in *CreateRuleGroupSet, opts ...grpc.CallOption) (*CreateRuleGroupSetResult, error) { - out := new(CreateRuleGroupSetResult) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroupSets/Create", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupSetsClient) Update(ctx context.Context, in *UpdateRuleGroupSet, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroupSets/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupSetsClient) List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RuleGroupSetListing, error) { - out := new(RuleGroupSetListing) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroupSets/List", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupSetsClient) Fetch(ctx context.Context, in *FetchRuleGroupSet, opts ...grpc.CallOption) (*OutRuleGroupSet, error) { - out := new(OutRuleGroupSet) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroupSets/Fetch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupSetsClient) Delete(ctx context.Context, in *DeleteRuleGroupSet, opts ...grpc.CallOption) (*emptypb.Empty, error) { - out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/rule_manager.groups.RuleGroupSets/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RuleGroupSetsServer is the server API for RuleGroupSets service. -// All implementations must embed UnimplementedRuleGroupSetsServer -// for forward compatibility -type RuleGroupSetsServer interface { - Create(context.Context, *CreateRuleGroupSet) (*CreateRuleGroupSetResult, error) - Update(context.Context, *UpdateRuleGroupSet) (*emptypb.Empty, error) - List(context.Context, *emptypb.Empty) (*RuleGroupSetListing, error) - Fetch(context.Context, *FetchRuleGroupSet) (*OutRuleGroupSet, error) - Delete(context.Context, *DeleteRuleGroupSet) (*emptypb.Empty, error) - mustEmbedUnimplementedRuleGroupSetsServer() -} - -// UnimplementedRuleGroupSetsServer must be embedded to have forward compatible implementations. -type UnimplementedRuleGroupSetsServer struct { -} - -func (UnimplementedRuleGroupSetsServer) Create(context.Context, *CreateRuleGroupSet) (*CreateRuleGroupSetResult, error) { - return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") -} -func (UnimplementedRuleGroupSetsServer) Update(context.Context, *UpdateRuleGroupSet) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} -func (UnimplementedRuleGroupSetsServer) List(context.Context, *emptypb.Empty) (*RuleGroupSetListing, error) { - return nil, status.Errorf(codes.Unimplemented, "method List not implemented") -} -func (UnimplementedRuleGroupSetsServer) Fetch(context.Context, *FetchRuleGroupSet) (*OutRuleGroupSet, error) { - return nil, status.Errorf(codes.Unimplemented, "method Fetch not implemented") -} -func (UnimplementedRuleGroupSetsServer) Delete(context.Context, *DeleteRuleGroupSet) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") -} -func (UnimplementedRuleGroupSetsServer) mustEmbedUnimplementedRuleGroupSetsServer() {} - -// UnsafeRuleGroupSetsServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RuleGroupSetsServer will -// result in compilation errors. -type UnsafeRuleGroupSetsServer interface { - mustEmbedUnimplementedRuleGroupSetsServer() -} - -func RegisterRuleGroupSetsServer(s grpc.ServiceRegistrar, srv RuleGroupSetsServer) { - s.RegisterService(&RuleGroupSets_ServiceDesc, srv) -} - -func _RuleGroupSets_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRuleGroupSet) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupSetsServer).Create(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroupSets/Create", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupSetsServer).Create(ctx, req.(*CreateRuleGroupSet)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupSets_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRuleGroupSet) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupSetsServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroupSets/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupSetsServer).Update(ctx, req.(*UpdateRuleGroupSet)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupSets_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(emptypb.Empty) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupSetsServer).List(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroupSets/List", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupSetsServer).List(ctx, req.(*emptypb.Empty)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupSets_Fetch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FetchRuleGroupSet) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupSetsServer).Fetch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroupSets/Fetch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupSetsServer).Fetch(ctx, req.(*FetchRuleGroupSet)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupSets_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRuleGroupSet) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupSetsServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rule_manager.groups.RuleGroupSets/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupSetsServer).Delete(ctx, req.(*DeleteRuleGroupSet)) - } - return interceptor(ctx, in, info, handler) -} - -// RuleGroupSets_ServiceDesc is the grpc.ServiceDesc for RuleGroupSets service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RuleGroupSets_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "rule_manager.groups.RuleGroupSets", - HandlerType: (*RuleGroupSetsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Create", - Handler: _RuleGroupSets_Create_Handler, - }, - { - MethodName: "Update", - Handler: _RuleGroupSets_Update_Handler, - }, - { - MethodName: "List", - Handler: _RuleGroupSets_List_Handler, - }, - { - MethodName: "Fetch", - Handler: _RuleGroupSets_Fetch_Handler, - }, - { - MethodName: "Delete", - Handler: _RuleGroupSets_Delete_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "proto/groups.proto", -} diff --git a/coralogix/clientset/grpc/roles/permissions.pb.go b/coralogix/clientset/grpc/roles/permissions.pb.go deleted file mode 100644 index 07042a31..00000000 --- a/coralogix/clientset/grpc/roles/permissions.pb.go +++ /dev/null @@ -1,314 +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/aaa/rbac/v2/permissions.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 ListAllPermissionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListAllPermissionsRequest) Reset() { - *x = ListAllPermissionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllPermissionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllPermissionsRequest) ProtoMessage() {} - -func (x *ListAllPermissionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_permissions_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 ListAllPermissionsRequest.ProtoReflect.Descriptor instead. -func (*ListAllPermissionsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescGZIP(), []int{0} -} - -type Permission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Expression *string `protobuf:"bytes,1,opt,name=expression,proto3,oneof" json:"expression,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` - DocLink *string `protobuf:"bytes,3,opt,name=doc_link,json=docLink,proto3,oneof" json:"doc_link,omitempty"` - Explanation *string `protobuf:"bytes,4,opt,name=explanation,proto3,oneof" json:"explanation,omitempty"` -} - -func (x *Permission) Reset() { - *x = Permission{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Permission) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Permission) ProtoMessage() {} - -func (x *Permission) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_permissions_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 Permission.ProtoReflect.Descriptor instead. -func (*Permission) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescGZIP(), []int{1} -} - -func (x *Permission) GetExpression() string { - if x != nil && x.Expression != nil { - return *x.Expression - } - return "" -} - -func (x *Permission) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *Permission) GetDocLink() string { - if x != nil && x.DocLink != nil { - return *x.DocLink - } - return "" -} - -func (x *Permission) GetExplanation() string { - if x != nil && x.Explanation != nil { - return *x.Explanation - } - return "" -} - -type ListAllPermissionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *ListAllPermissionsResponse) Reset() { - *x = ListAllPermissionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllPermissionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllPermissionsResponse) ProtoMessage() {} - -func (x *ListAllPermissionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_permissions_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 ListAllPermissionsResponse.ProtoReflect.Descriptor instead. -func (*ListAllPermissionsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescGZIP(), []int{2} -} - -func (x *ListAllPermissionsResponse) GetPermissions() []*Permission { - if x != nil { - return x.Permissions - } - return nil -} - -var File_com_coralogixapis_aaa_rbac_v2_permissions_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x61, 0x61, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x2f, 0x76, 0x32, 0x2f, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, - 0x22, 0x1b, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdb, 0x01, - 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0a, - 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, - 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x5f, - 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x07, 0x64, 0x6f, - 0x63, 0x4c, 0x69, 0x6e, 0x6b, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x6c, - 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, - 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0e, - 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, - 0x0a, 0x09, 0x5f, 0x64, 0x6f, 0x63, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, - 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x1a, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0xa0, 0x01, 0x0a, 0x12, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x89, 0x01, - 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, - 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescOnce sync.Once - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescData = file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDesc -) - -func file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescGZIP() []byte { - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescData) - }) - return file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDescData -} - -var file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogixapis_aaa_rbac_v2_permissions_proto_goTypes = []interface{}{ - (*ListAllPermissionsRequest)(nil), // 0: com.coralogixapis.aaa.rbac.v2.ListAllPermissionsRequest - (*Permission)(nil), // 1: com.coralogixapis.aaa.rbac.v2.Permission - (*ListAllPermissionsResponse)(nil), // 2: com.coralogixapis.aaa.rbac.v2.ListAllPermissionsResponse -} -var file_com_coralogixapis_aaa_rbac_v2_permissions_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.aaa.rbac.v2.ListAllPermissionsResponse.permissions:type_name -> com.coralogixapis.aaa.rbac.v2.Permission - 0, // 1: com.coralogixapis.aaa.rbac.v2.PermissionsService.ListAllPermissions:input_type -> com.coralogixapis.aaa.rbac.v2.ListAllPermissionsRequest - 2, // 2: com.coralogixapis.aaa.rbac.v2.PermissionsService.ListAllPermissions:output_type -> com.coralogixapis.aaa.rbac.v2.ListAllPermissionsResponse - 2, // [2:3] is the sub-list for method output_type - 1, // [1:2] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_aaa_rbac_v2_permissions_proto_init() } -func file_com_coralogixapis_aaa_rbac_v2_permissions_proto_init() { - if File_com_coralogixapis_aaa_rbac_v2_permissions_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllPermissionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Permission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllPermissionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes[1].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_aaa_rbac_v2_permissions_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_aaa_rbac_v2_permissions_proto_depIdxs, - MessageInfos: file_com_coralogixapis_aaa_rbac_v2_permissions_proto_msgTypes, - }.Build() - File_com_coralogixapis_aaa_rbac_v2_permissions_proto = out.File - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_rawDesc = nil - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_goTypes = nil - file_com_coralogixapis_aaa_rbac_v2_permissions_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/roles/permissions_grpc.pb.go b/coralogix/clientset/grpc/roles/permissions_grpc.pb.go deleted file mode 100644 index e23f0a2e..00000000 --- a/coralogix/clientset/grpc/roles/permissions_grpc.pb.go +++ /dev/null @@ -1,105 +0,0 @@ -// 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/aaa/rbac/v2/permissions.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 - -// PermissionsServiceClient is the client API for PermissionsService 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 PermissionsServiceClient interface { - ListAllPermissions(ctx context.Context, in *ListAllPermissionsRequest, opts ...grpc.CallOption) (*ListAllPermissionsResponse, error) -} - -type permissionsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewPermissionsServiceClient(cc grpc.ClientConnInterface) PermissionsServiceClient { - return &permissionsServiceClient{cc} -} - -func (c *permissionsServiceClient) ListAllPermissions(ctx context.Context, in *ListAllPermissionsRequest, opts ...grpc.CallOption) (*ListAllPermissionsResponse, error) { - out := new(ListAllPermissionsResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.rbac.v2.PermissionsService/ListAllPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PermissionsServiceServer is the server API for PermissionsService service. -// All implementations must embed UnimplementedPermissionsServiceServer -// for forward compatibility -type PermissionsServiceServer interface { - ListAllPermissions(context.Context, *ListAllPermissionsRequest) (*ListAllPermissionsResponse, error) - mustEmbedUnimplementedPermissionsServiceServer() -} - -// UnimplementedPermissionsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedPermissionsServiceServer struct { -} - -func (UnimplementedPermissionsServiceServer) ListAllPermissions(context.Context, *ListAllPermissionsRequest) (*ListAllPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAllPermissions not implemented") -} -func (UnimplementedPermissionsServiceServer) mustEmbedUnimplementedPermissionsServiceServer() {} - -// UnsafePermissionsServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to PermissionsServiceServer will -// result in compilation errors. -type UnsafePermissionsServiceServer interface { - mustEmbedUnimplementedPermissionsServiceServer() -} - -func RegisterPermissionsServiceServer(s grpc.ServiceRegistrar, srv PermissionsServiceServer) { - s.RegisterService(&PermissionsService_ServiceDesc, srv) -} - -func _PermissionsService_ListAllPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAllPermissionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PermissionsServiceServer).ListAllPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.rbac.v2.PermissionsService/ListAllPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PermissionsServiceServer).ListAllPermissions(ctx, req.(*ListAllPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// PermissionsService_ServiceDesc is the grpc.ServiceDesc for PermissionsService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var PermissionsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.aaa.rbac.v2.PermissionsService", - HandlerType: (*PermissionsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListAllPermissions", - Handler: _PermissionsService_ListAllPermissions_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/aaa/rbac/v2/permissions.proto", -} diff --git a/coralogix/clientset/grpc/roles/roles.pb.go b/coralogix/clientset/grpc/roles/roles.pb.go deleted file mode 100644 index 7934fb1c..00000000 --- a/coralogix/clientset/grpc/roles/roles.pb.go +++ /dev/null @@ -1,1281 +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/aaa/rbac/v2/roles.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 SystemRole struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Permissions []string `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *SystemRole) Reset() { - *x = SystemRole{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SystemRole) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SystemRole) ProtoMessage() {} - -func (x *SystemRole) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 SystemRole.ProtoReflect.Descriptor instead. -func (*SystemRole) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{0} -} - -func (x *SystemRole) GetRoleId() uint32 { - if x != nil { - return x.RoleId - } - return 0 -} - -func (x *SystemRole) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *SystemRole) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *SystemRole) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -type CustomRole struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` - TeamId uint32 `protobuf:"varint,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - ParentRoleId uint32 `protobuf:"varint,5,opt,name=parent_role_id,json=parentRoleId,proto3" json:"parent_role_id,omitempty"` - Permissions []string `protobuf:"bytes,6,rep,name=permissions,proto3" json:"permissions,omitempty"` - ParentRoleName string `protobuf:"bytes,7,opt,name=parent_role_name,json=parentRoleName,proto3" json:"parent_role_name,omitempty"` -} - -func (x *CustomRole) Reset() { - *x = CustomRole{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomRole) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomRole) ProtoMessage() {} - -func (x *CustomRole) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 CustomRole.ProtoReflect.Descriptor instead. -func (*CustomRole) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{1} -} - -func (x *CustomRole) GetRoleId() uint32 { - if x != nil { - return x.RoleId - } - return 0 -} - -func (x *CustomRole) GetTeamId() uint32 { - if x != nil { - return x.TeamId - } - return 0 -} - -func (x *CustomRole) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *CustomRole) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *CustomRole) GetParentRoleId() uint32 { - if x != nil { - return x.ParentRoleId - } - return 0 -} - -func (x *CustomRole) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -func (x *CustomRole) GetParentRoleName() string { - if x != nil { - return x.ParentRoleName - } - return "" -} - -type GetCustomRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` -} - -func (x *GetCustomRoleRequest) Reset() { - *x = GetCustomRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCustomRoleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCustomRoleRequest) ProtoMessage() {} - -func (x *GetCustomRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 GetCustomRoleRequest.ProtoReflect.Descriptor instead. -func (*GetCustomRoleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{2} -} - -func (x *GetCustomRoleRequest) GetRoleId() uint32 { - if x != nil { - return x.RoleId - } - return 0 -} - -type GetCustomRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Role *CustomRole `protobuf:"bytes,1,opt,name=role,proto3,oneof" json:"role,omitempty"` -} - -func (x *GetCustomRoleResponse) Reset() { - *x = GetCustomRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCustomRoleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCustomRoleResponse) ProtoMessage() {} - -func (x *GetCustomRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 GetCustomRoleResponse.ProtoReflect.Descriptor instead. -func (*GetCustomRoleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{3} -} - -func (x *GetCustomRoleResponse) GetRole() *CustomRole { - if x != nil { - return x.Role - } - return nil -} - -type ListSystemRolesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListSystemRolesRequest) Reset() { - *x = ListSystemRolesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListSystemRolesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSystemRolesRequest) ProtoMessage() {} - -func (x *ListSystemRolesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 ListSystemRolesRequest.ProtoReflect.Descriptor instead. -func (*ListSystemRolesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{4} -} - -type ListSystemRolesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Roles []*SystemRole `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` -} - -func (x *ListSystemRolesResponse) Reset() { - *x = ListSystemRolesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListSystemRolesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSystemRolesResponse) ProtoMessage() {} - -func (x *ListSystemRolesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 ListSystemRolesResponse.ProtoReflect.Descriptor instead. -func (*ListSystemRolesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{5} -} - -func (x *ListSystemRolesResponse) GetRoles() []*SystemRole { - if x != nil { - return x.Roles - } - return nil -} - -type CreateRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // If not specified, team_id attached to your credential will be used. - TeamId *uint32 `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3,oneof" json:"team_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Permissions []string `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` - // Types that are assignable to ParentRole: - // *CreateRoleRequest_ParentRoleId - // *CreateRoleRequest_ParentRoleName - ParentRole isCreateRoleRequest_ParentRole `protobuf_oneof:"parent_role"` -} - -func (x *CreateRoleRequest) Reset() { - *x = CreateRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRoleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRoleRequest) ProtoMessage() {} - -func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 CreateRoleRequest.ProtoReflect.Descriptor instead. -func (*CreateRoleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{6} -} - -func (x *CreateRoleRequest) GetTeamId() uint32 { - if x != nil && x.TeamId != nil { - return *x.TeamId - } - return 0 -} - -func (x *CreateRoleRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *CreateRoleRequest) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *CreateRoleRequest) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -func (m *CreateRoleRequest) GetParentRole() isCreateRoleRequest_ParentRole { - if m != nil { - return m.ParentRole - } - return nil -} - -func (x *CreateRoleRequest) GetParentRoleId() uint32 { - if x, ok := x.GetParentRole().(*CreateRoleRequest_ParentRoleId); ok { - return x.ParentRoleId - } - return 0 -} - -func (x *CreateRoleRequest) GetParentRoleName() string { - if x, ok := x.GetParentRole().(*CreateRoleRequest_ParentRoleName); ok { - return x.ParentRoleName - } - return "" -} - -type isCreateRoleRequest_ParentRole interface { - isCreateRoleRequest_ParentRole() -} - -type CreateRoleRequest_ParentRoleId struct { - ParentRoleId uint32 `protobuf:"varint,6,opt,name=parent_role_id,json=parentRoleId,proto3,oneof"` -} - -type CreateRoleRequest_ParentRoleName struct { - ParentRoleName string `protobuf:"bytes,7,opt,name=parent_role_name,json=parentRoleName,proto3,oneof"` -} - -func (*CreateRoleRequest_ParentRoleId) isCreateRoleRequest_ParentRole() {} - -func (*CreateRoleRequest_ParentRoleName) isCreateRoleRequest_ParentRole() {} - -type CreateRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *CreateRoleResponse) Reset() { - *x = CreateRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRoleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRoleResponse) ProtoMessage() {} - -func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 CreateRoleResponse.ProtoReflect.Descriptor instead. -func (*CreateRoleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{7} -} - -func (x *CreateRoleResponse) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -type UpdateRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` - NewName *string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3,oneof" json:"new_name,omitempty"` - NewDescription *string `protobuf:"bytes,3,opt,name=new_description,json=newDescription,proto3,oneof" json:"new_description,omitempty"` - NewPermissions *Permissions `protobuf:"bytes,4,opt,name=new_permissions,json=newPermissions,proto3,oneof" json:"new_permissions,omitempty"` -} - -func (x *UpdateRoleRequest) Reset() { - *x = UpdateRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRoleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRoleRequest) ProtoMessage() {} - -func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 UpdateRoleRequest.ProtoReflect.Descriptor instead. -func (*UpdateRoleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{8} -} - -func (x *UpdateRoleRequest) GetRoleId() uint32 { - if x != nil { - return x.RoleId - } - return 0 -} - -func (x *UpdateRoleRequest) GetNewName() string { - if x != nil && x.NewName != nil { - return *x.NewName - } - return "" -} - -func (x *UpdateRoleRequest) GetNewDescription() string { - if x != nil && x.NewDescription != nil { - return *x.NewDescription - } - return "" -} - -func (x *UpdateRoleRequest) GetNewPermissions() *Permissions { - if x != nil { - return x.NewPermissions - } - return nil -} - -type Permissions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *Permissions) Reset() { - *x = Permissions{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Permissions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Permissions) ProtoMessage() {} - -func (x *Permissions) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 Permissions.ProtoReflect.Descriptor instead. -func (*Permissions) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{9} -} - -func (x *Permissions) GetPermissions() []string { - if x != nil { - return x.Permissions - } - return nil -} - -type UpdateRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UpdateRoleResponse) Reset() { - *x = UpdateRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRoleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRoleResponse) ProtoMessage() {} - -func (x *UpdateRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 UpdateRoleResponse.ProtoReflect.Descriptor instead. -func (*UpdateRoleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{10} -} - -type ListCustomRolesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // If not specified, team_id attached to your credential will be used. - TeamId *uint32 `protobuf:"varint,1,opt,name=team_id,json=teamId,proto3,oneof" json:"team_id,omitempty"` -} - -func (x *ListCustomRolesRequest) Reset() { - *x = ListCustomRolesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCustomRolesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCustomRolesRequest) ProtoMessage() {} - -func (x *ListCustomRolesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 ListCustomRolesRequest.ProtoReflect.Descriptor instead. -func (*ListCustomRolesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{11} -} - -func (x *ListCustomRolesRequest) GetTeamId() uint32 { - if x != nil && x.TeamId != nil { - return *x.TeamId - } - return 0 -} - -type ListCustomRolesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Roles []*CustomRole `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` -} - -func (x *ListCustomRolesResponse) Reset() { - *x = ListCustomRolesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCustomRolesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCustomRolesResponse) ProtoMessage() {} - -func (x *ListCustomRolesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 ListCustomRolesResponse.ProtoReflect.Descriptor instead. -func (*ListCustomRolesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{12} -} - -func (x *ListCustomRolesResponse) GetRoles() []*CustomRole { - if x != nil { - return x.Roles - } - return nil -} - -type DeleteRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` -} - -func (x *DeleteRoleRequest) Reset() { - *x = DeleteRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRoleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRoleRequest) ProtoMessage() {} - -func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 DeleteRoleRequest.ProtoReflect.Descriptor instead. -func (*DeleteRoleRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{13} -} - -func (x *DeleteRoleRequest) GetRoleId() uint32 { - if x != nil { - return x.RoleId - } - return 0 -} - -type DeleteRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteRoleResponse) Reset() { - *x = DeleteRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRoleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRoleResponse) ProtoMessage() {} - -func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_rbac_v2_roles_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 DeleteRoleResponse.ProtoReflect.Descriptor instead. -func (*DeleteRoleResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP(), []int{14} -} - -var File_com_coralogixapis_aaa_rbac_v2_roles_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x61, 0x61, 0x2f, 0x72, 0x62, 0x61, 0x63, 0x2f, 0x76, 0x32, 0x2f, - 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x22, 0x7d, 0x0a, 0x0a, 0x53, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x0a, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, - 0x64, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, - 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, - 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x6f, 0x6c, - 0x65, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x04, - 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x88, 0x01, 0x01, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, - 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, - 0xfe, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, - 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6c, - 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, - 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, - 0x0d, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x0a, - 0x0a, 0x08, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, - 0x22, 0x24, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x89, 0x02, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, - 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, - 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, - 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, - 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x88, 0x01, 0x01, 0x12, 0x58, 0x0a, 0x0f, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x02, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, - 0x09, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6e, - 0x65, 0x77, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x12, - 0x0a, 0x10, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x2f, 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x0a, 0x16, 0x4c, 0x69, 0x73, - 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x88, 0x01, - 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x22, 0x5a, 0x0a, - 0x17, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, - 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x11, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, - 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf2, 0x05, - 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x35, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, - 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x6f, 0x6c, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0f, 0x4c, - 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x35, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, - 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x33, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x47, - 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, - 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0a, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, - 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, - 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x0a, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x71, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x30, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x72, 0x62, 0x61, 0x63, 0x2e, 0x76, 0x32, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescOnce sync.Once - file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescData = file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDesc -) - -func file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescGZIP() []byte { - file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescData) - }) - return file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDescData -} - -var file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_com_coralogixapis_aaa_rbac_v2_roles_proto_goTypes = []interface{}{ - (*SystemRole)(nil), // 0: com.coralogixapis.aaa.rbac.v2.SystemRole - (*CustomRole)(nil), // 1: com.coralogixapis.aaa.rbac.v2.CustomRole - (*GetCustomRoleRequest)(nil), // 2: com.coralogixapis.aaa.rbac.v2.GetCustomRoleRequest - (*GetCustomRoleResponse)(nil), // 3: com.coralogixapis.aaa.rbac.v2.GetCustomRoleResponse - (*ListSystemRolesRequest)(nil), // 4: com.coralogixapis.aaa.rbac.v2.ListSystemRolesRequest - (*ListSystemRolesResponse)(nil), // 5: com.coralogixapis.aaa.rbac.v2.ListSystemRolesResponse - (*CreateRoleRequest)(nil), // 6: com.coralogixapis.aaa.rbac.v2.CreateRoleRequest - (*CreateRoleResponse)(nil), // 7: com.coralogixapis.aaa.rbac.v2.CreateRoleResponse - (*UpdateRoleRequest)(nil), // 8: com.coralogixapis.aaa.rbac.v2.UpdateRoleRequest - (*Permissions)(nil), // 9: com.coralogixapis.aaa.rbac.v2.Permissions - (*UpdateRoleResponse)(nil), // 10: com.coralogixapis.aaa.rbac.v2.UpdateRoleResponse - (*ListCustomRolesRequest)(nil), // 11: com.coralogixapis.aaa.rbac.v2.ListCustomRolesRequest - (*ListCustomRolesResponse)(nil), // 12: com.coralogixapis.aaa.rbac.v2.ListCustomRolesResponse - (*DeleteRoleRequest)(nil), // 13: com.coralogixapis.aaa.rbac.v2.DeleteRoleRequest - (*DeleteRoleResponse)(nil), // 14: com.coralogixapis.aaa.rbac.v2.DeleteRoleResponse -} -var file_com_coralogixapis_aaa_rbac_v2_roles_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.aaa.rbac.v2.GetCustomRoleResponse.role:type_name -> com.coralogixapis.aaa.rbac.v2.CustomRole - 0, // 1: com.coralogixapis.aaa.rbac.v2.ListSystemRolesResponse.roles:type_name -> com.coralogixapis.aaa.rbac.v2.SystemRole - 9, // 2: com.coralogixapis.aaa.rbac.v2.UpdateRoleRequest.new_permissions:type_name -> com.coralogixapis.aaa.rbac.v2.Permissions - 1, // 3: com.coralogixapis.aaa.rbac.v2.ListCustomRolesResponse.roles:type_name -> com.coralogixapis.aaa.rbac.v2.CustomRole - 4, // 4: com.coralogixapis.aaa.rbac.v2.RoleManagementService.ListSystemRoles:input_type -> com.coralogixapis.aaa.rbac.v2.ListSystemRolesRequest - 11, // 5: com.coralogixapis.aaa.rbac.v2.RoleManagementService.ListCustomRoles:input_type -> com.coralogixapis.aaa.rbac.v2.ListCustomRolesRequest - 2, // 6: com.coralogixapis.aaa.rbac.v2.RoleManagementService.GetCustomRole:input_type -> com.coralogixapis.aaa.rbac.v2.GetCustomRoleRequest - 6, // 7: com.coralogixapis.aaa.rbac.v2.RoleManagementService.CreateRole:input_type -> com.coralogixapis.aaa.rbac.v2.CreateRoleRequest - 8, // 8: com.coralogixapis.aaa.rbac.v2.RoleManagementService.UpdateRole:input_type -> com.coralogixapis.aaa.rbac.v2.UpdateRoleRequest - 13, // 9: com.coralogixapis.aaa.rbac.v2.RoleManagementService.DeleteRole:input_type -> com.coralogixapis.aaa.rbac.v2.DeleteRoleRequest - 5, // 10: com.coralogixapis.aaa.rbac.v2.RoleManagementService.ListSystemRoles:output_type -> com.coralogixapis.aaa.rbac.v2.ListSystemRolesResponse - 12, // 11: com.coralogixapis.aaa.rbac.v2.RoleManagementService.ListCustomRoles:output_type -> com.coralogixapis.aaa.rbac.v2.ListCustomRolesResponse - 3, // 12: com.coralogixapis.aaa.rbac.v2.RoleManagementService.GetCustomRole:output_type -> com.coralogixapis.aaa.rbac.v2.GetCustomRoleResponse - 7, // 13: com.coralogixapis.aaa.rbac.v2.RoleManagementService.CreateRole:output_type -> com.coralogixapis.aaa.rbac.v2.CreateRoleResponse - 10, // 14: com.coralogixapis.aaa.rbac.v2.RoleManagementService.UpdateRole:output_type -> com.coralogixapis.aaa.rbac.v2.UpdateRoleResponse - 14, // 15: com.coralogixapis.aaa.rbac.v2.RoleManagementService.DeleteRole:output_type -> com.coralogixapis.aaa.rbac.v2.DeleteRoleResponse - 10, // [10:16] is the sub-list for method output_type - 4, // [4:10] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_aaa_rbac_v2_roles_proto_init() } -func file_com_coralogixapis_aaa_rbac_v2_roles_proto_init() { - if File_com_coralogixapis_aaa_rbac_v2_roles_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SystemRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomRole); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCustomRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCustomRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSystemRolesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSystemRolesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Permissions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCustomRolesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCustomRolesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[6].OneofWrappers = []interface{}{ - (*CreateRoleRequest_ParentRoleId)(nil), - (*CreateRoleRequest_ParentRoleName)(nil), - } - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[8].OneofWrappers = []interface{}{} - file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes[11].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDesc, - NumEnums: 0, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_aaa_rbac_v2_roles_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_aaa_rbac_v2_roles_proto_depIdxs, - MessageInfos: file_com_coralogixapis_aaa_rbac_v2_roles_proto_msgTypes, - }.Build() - File_com_coralogixapis_aaa_rbac_v2_roles_proto = out.File - file_com_coralogixapis_aaa_rbac_v2_roles_proto_rawDesc = nil - file_com_coralogixapis_aaa_rbac_v2_roles_proto_goTypes = nil - file_com_coralogixapis_aaa_rbac_v2_roles_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/roles/roles_grpc.pb.go b/coralogix/clientset/grpc/roles/roles_grpc.pb.go deleted file mode 100644 index 6a363beb..00000000 --- a/coralogix/clientset/grpc/roles/roles_grpc.pb.go +++ /dev/null @@ -1,285 +0,0 @@ -// 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/aaa/rbac/v2/roles.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 - -// RoleManagementServiceClient is the client API for RoleManagementService 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 RoleManagementServiceClient interface { - ListSystemRoles(ctx context.Context, in *ListSystemRolesRequest, opts ...grpc.CallOption) (*ListSystemRolesResponse, error) - ListCustomRoles(ctx context.Context, in *ListCustomRolesRequest, opts ...grpc.CallOption) (*ListCustomRolesResponse, error) - GetCustomRole(ctx context.Context, in *GetCustomRoleRequest, opts ...grpc.CallOption) (*GetCustomRoleResponse, error) - CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error) - UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*UpdateRoleResponse, error) - DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error) -} - -type roleManagementServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRoleManagementServiceClient(cc grpc.ClientConnInterface) RoleManagementServiceClient { - return &roleManagementServiceClient{cc} -} - -func (c *roleManagementServiceClient) ListSystemRoles(ctx context.Context, in *ListSystemRolesRequest, opts ...grpc.CallOption) (*ListSystemRolesResponse, error) { - out := new(ListSystemRolesResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/ListSystemRoles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *roleManagementServiceClient) ListCustomRoles(ctx context.Context, in *ListCustomRolesRequest, opts ...grpc.CallOption) (*ListCustomRolesResponse, error) { - out := new(ListCustomRolesResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/ListCustomRoles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *roleManagementServiceClient) GetCustomRole(ctx context.Context, in *GetCustomRoleRequest, opts ...grpc.CallOption) (*GetCustomRoleResponse, error) { - out := new(GetCustomRoleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/GetCustomRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *roleManagementServiceClient) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error) { - out := new(CreateRoleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/CreateRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *roleManagementServiceClient) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*UpdateRoleResponse, error) { - out := new(UpdateRoleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/UpdateRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *roleManagementServiceClient) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error) { - out := new(DeleteRoleResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/DeleteRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RoleManagementServiceServer is the server API for RoleManagementService service. -// All implementations must embed UnimplementedRoleManagementServiceServer -// for forward compatibility -type RoleManagementServiceServer interface { - ListSystemRoles(context.Context, *ListSystemRolesRequest) (*ListSystemRolesResponse, error) - ListCustomRoles(context.Context, *ListCustomRolesRequest) (*ListCustomRolesResponse, error) - GetCustomRole(context.Context, *GetCustomRoleRequest) (*GetCustomRoleResponse, error) - CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error) - UpdateRole(context.Context, *UpdateRoleRequest) (*UpdateRoleResponse, error) - DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error) - mustEmbedUnimplementedRoleManagementServiceServer() -} - -// UnimplementedRoleManagementServiceServer must be embedded to have forward compatible implementations. -type UnimplementedRoleManagementServiceServer struct { -} - -func (UnimplementedRoleManagementServiceServer) ListSystemRoles(context.Context, *ListSystemRolesRequest) (*ListSystemRolesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSystemRoles not implemented") -} -func (UnimplementedRoleManagementServiceServer) ListCustomRoles(context.Context, *ListCustomRolesRequest) (*ListCustomRolesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListCustomRoles not implemented") -} -func (UnimplementedRoleManagementServiceServer) GetCustomRole(context.Context, *GetCustomRoleRequest) (*GetCustomRoleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCustomRole not implemented") -} -func (UnimplementedRoleManagementServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRole not implemented") -} -func (UnimplementedRoleManagementServiceServer) UpdateRole(context.Context, *UpdateRoleRequest) (*UpdateRoleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateRole not implemented") -} -func (UnimplementedRoleManagementServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteRole not implemented") -} -func (UnimplementedRoleManagementServiceServer) mustEmbedUnimplementedRoleManagementServiceServer() {} - -// UnsafeRoleManagementServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RoleManagementServiceServer will -// result in compilation errors. -type UnsafeRoleManagementServiceServer interface { - mustEmbedUnimplementedRoleManagementServiceServer() -} - -func RegisterRoleManagementServiceServer(s grpc.ServiceRegistrar, srv RoleManagementServiceServer) { - s.RegisterService(&RoleManagementService_ServiceDesc, srv) -} - -func _RoleManagementService_ListSystemRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSystemRolesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoleManagementServiceServer).ListSystemRoles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/ListSystemRoles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleManagementServiceServer).ListSystemRoles(ctx, req.(*ListSystemRolesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RoleManagementService_ListCustomRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListCustomRolesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoleManagementServiceServer).ListCustomRoles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/ListCustomRoles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleManagementServiceServer).ListCustomRoles(ctx, req.(*ListCustomRolesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RoleManagementService_GetCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCustomRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoleManagementServiceServer).GetCustomRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/GetCustomRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleManagementServiceServer).GetCustomRole(ctx, req.(*GetCustomRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RoleManagementService_CreateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoleManagementServiceServer).CreateRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/CreateRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleManagementServiceServer).CreateRole(ctx, req.(*CreateRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RoleManagementService_UpdateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoleManagementServiceServer).UpdateRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/UpdateRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleManagementServiceServer).UpdateRole(ctx, req.(*UpdateRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RoleManagementService_DeleteRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RoleManagementServiceServer).DeleteRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.rbac.v2.RoleManagementService/DeleteRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleManagementServiceServer).DeleteRole(ctx, req.(*DeleteRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RoleManagementService_ServiceDesc is the grpc.ServiceDesc for RoleManagementService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RoleManagementService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.aaa.rbac.v2.RoleManagementService", - HandlerType: (*RoleManagementServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListSystemRoles", - Handler: _RoleManagementService_ListSystemRoles_Handler, - }, - { - MethodName: "ListCustomRoles", - Handler: _RoleManagementService_ListCustomRoles_Handler, - }, - { - MethodName: "GetCustomRole", - Handler: _RoleManagementService_GetCustomRole_Handler, - }, - { - MethodName: "CreateRole", - Handler: _RoleManagementService_CreateRole_Handler, - }, - { - MethodName: "UpdateRole", - Handler: _RoleManagementService_UpdateRole_Handler, - }, - { - MethodName: "DeleteRole", - Handler: _RoleManagementService_DeleteRole_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/aaa/rbac/v2/roles.proto", -} diff --git a/coralogix/clientset/grpc/rules-groups/v1/rule.pb.go b/coralogix/clientset/grpc/rules-groups/v1/rule.pb.go deleted file mode 100644 index 5915ffa8..00000000 --- a/coralogix/clientset/grpc/rules-groups/v1/rule.pb.go +++ /dev/null @@ -1,1495 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/rules/v1/rule.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 JsonExtractParameters_DestinationField int32 - -const ( - JsonExtractParameters_DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED JsonExtractParameters_DestinationField = 0 - JsonExtractParameters_DESTINATION_FIELD_CLASSNAME JsonExtractParameters_DestinationField = 1 - JsonExtractParameters_DESTINATION_FIELD_METHODNAME JsonExtractParameters_DestinationField = 2 - JsonExtractParameters_DESTINATION_FIELD_THREADID JsonExtractParameters_DestinationField = 3 - JsonExtractParameters_DESTINATION_FIELD_SEVERITY JsonExtractParameters_DestinationField = 4 - JsonExtractParameters_DESTINATION_FIELD_TEXT JsonExtractParameters_DestinationField = 5 -) - -// Enum value maps for JsonExtractParameters_DestinationField. -var ( - JsonExtractParameters_DestinationField_name = map[int32]string{ - 0: "DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED", - 1: "DESTINATION_FIELD_CLASSNAME", - 2: "DESTINATION_FIELD_METHODNAME", - 3: "DESTINATION_FIELD_THREADID", - 4: "DESTINATION_FIELD_SEVERITY", - 5: "DESTINATION_FIELD_TEXT", - } - JsonExtractParameters_DestinationField_value = map[string]int32{ - "DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED": 0, - "DESTINATION_FIELD_CLASSNAME": 1, - "DESTINATION_FIELD_METHODNAME": 2, - "DESTINATION_FIELD_THREADID": 3, - "DESTINATION_FIELD_SEVERITY": 4, - "DESTINATION_FIELD_TEXT": 5, - } -) - -func (x JsonExtractParameters_DestinationField) Enum() *JsonExtractParameters_DestinationField { - p := new(JsonExtractParameters_DestinationField) - *p = x - return p -} - -func (x JsonExtractParameters_DestinationField) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (JsonExtractParameters_DestinationField) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_rules_v1_rule_proto_enumTypes[0].Descriptor() -} - -func (JsonExtractParameters_DestinationField) Type() protoreflect.EnumType { - return &file_com_coralogix_rules_v1_rule_proto_enumTypes[0] -} - -func (x JsonExtractParameters_DestinationField) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use JsonExtractParameters_DestinationField.Descriptor instead. -func (JsonExtractParameters_DestinationField) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{3, 0} -} - -type ExtractTimestampParameters_FormatStandard int32 - -const ( - ExtractTimestampParameters_FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED ExtractTimestampParameters_FormatStandard = 0 - ExtractTimestampParameters_FORMAT_STANDARD_JAVASDF ExtractTimestampParameters_FormatStandard = 1 - ExtractTimestampParameters_FORMAT_STANDARD_GOLANG ExtractTimestampParameters_FormatStandard = 2 - ExtractTimestampParameters_FORMAT_STANDARD_SECONDSTS ExtractTimestampParameters_FormatStandard = 3 - ExtractTimestampParameters_FORMAT_STANDARD_MILLITS ExtractTimestampParameters_FormatStandard = 4 - ExtractTimestampParameters_FORMAT_STANDARD_MICROTS ExtractTimestampParameters_FormatStandard = 5 - ExtractTimestampParameters_FORMAT_STANDARD_NANOTS ExtractTimestampParameters_FormatStandard = 6 -) - -// Enum value maps for ExtractTimestampParameters_FormatStandard. -var ( - ExtractTimestampParameters_FormatStandard_name = map[int32]string{ - 0: "FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED", - 1: "FORMAT_STANDARD_JAVASDF", - 2: "FORMAT_STANDARD_GOLANG", - 3: "FORMAT_STANDARD_SECONDSTS", - 4: "FORMAT_STANDARD_MILLITS", - 5: "FORMAT_STANDARD_MICROTS", - 6: "FORMAT_STANDARD_NANOTS", - } - ExtractTimestampParameters_FormatStandard_value = map[string]int32{ - "FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED": 0, - "FORMAT_STANDARD_JAVASDF": 1, - "FORMAT_STANDARD_GOLANG": 2, - "FORMAT_STANDARD_SECONDSTS": 3, - "FORMAT_STANDARD_MILLITS": 4, - "FORMAT_STANDARD_MICROTS": 5, - "FORMAT_STANDARD_NANOTS": 6, - } -) - -func (x ExtractTimestampParameters_FormatStandard) Enum() *ExtractTimestampParameters_FormatStandard { - p := new(ExtractTimestampParameters_FormatStandard) - *p = x - return p -} - -func (x ExtractTimestampParameters_FormatStandard) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtractTimestampParameters_FormatStandard) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_rules_v1_rule_proto_enumTypes[1].Descriptor() -} - -func (ExtractTimestampParameters_FormatStandard) Type() protoreflect.EnumType { - return &file_com_coralogix_rules_v1_rule_proto_enumTypes[1] -} - -func (x ExtractTimestampParameters_FormatStandard) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ExtractTimestampParameters_FormatStandard.Descriptor instead. -func (ExtractTimestampParameters_FormatStandard) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{8, 0} -} - -type Rule 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` - Parameters *RuleParameters `protobuf:"bytes,6,opt,name=parameters,proto3" json:"parameters,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *Rule) Reset() { - *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Rule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Rule) ProtoMessage() {} - -func (x *Rule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 Rule.ProtoReflect.Descriptor instead. -func (*Rule) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{0} -} - -func (x *Rule) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Rule) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Rule) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Rule) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -func (x *Rule) GetParameters() *RuleParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *Rule) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *Rule) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type RuleParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to RuleParameters: - // *RuleParameters_ExtractParameters - // *RuleParameters_JsonExtractParameters - // *RuleParameters_ReplaceParameters - // *RuleParameters_ParseParameters - // *RuleParameters_AllowParameters - // *RuleParameters_BlockParameters - // *RuleParameters_ExtractTimestampParameters - // *RuleParameters_RemoveFieldsParameters - // *RuleParameters_JsonStringifyParameters - // *RuleParameters_JsonParseParameters - RuleParameters isRuleParameters_RuleParameters `protobuf_oneof:"rule_parameters"` -} - -func (x *RuleParameters) Reset() { - *x = RuleParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleParameters) ProtoMessage() {} - -func (x *RuleParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 RuleParameters.ProtoReflect.Descriptor instead. -func (*RuleParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{1} -} - -func (m *RuleParameters) GetRuleParameters() isRuleParameters_RuleParameters { - if m != nil { - return m.RuleParameters - } - return nil -} - -func (x *RuleParameters) GetExtractParameters() *ExtractParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ExtractParameters); ok { - return x.ExtractParameters - } - return nil -} - -func (x *RuleParameters) GetJsonExtractParameters() *JsonExtractParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_JsonExtractParameters); ok { - return x.JsonExtractParameters - } - return nil -} - -func (x *RuleParameters) GetReplaceParameters() *ReplaceParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ReplaceParameters); ok { - return x.ReplaceParameters - } - return nil -} - -func (x *RuleParameters) GetParseParameters() *ParseParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ParseParameters); ok { - return x.ParseParameters - } - return nil -} - -func (x *RuleParameters) GetAllowParameters() *AllowParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_AllowParameters); ok { - return x.AllowParameters - } - return nil -} - -func (x *RuleParameters) GetBlockParameters() *BlockParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_BlockParameters); ok { - return x.BlockParameters - } - return nil -} - -func (x *RuleParameters) GetExtractTimestampParameters() *ExtractTimestampParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_ExtractTimestampParameters); ok { - return x.ExtractTimestampParameters - } - return nil -} - -func (x *RuleParameters) GetRemoveFieldsParameters() *RemoveFieldsParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_RemoveFieldsParameters); ok { - return x.RemoveFieldsParameters - } - return nil -} - -func (x *RuleParameters) GetJsonStringifyParameters() *JsonStringifyParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_JsonStringifyParameters); ok { - return x.JsonStringifyParameters - } - return nil -} - -func (x *RuleParameters) GetJsonParseParameters() *JsonParseParameters { - if x, ok := x.GetRuleParameters().(*RuleParameters_JsonParseParameters); ok { - return x.JsonParseParameters - } - return nil -} - -type isRuleParameters_RuleParameters interface { - isRuleParameters_RuleParameters() -} - -type RuleParameters_ExtractParameters struct { - ExtractParameters *ExtractParameters `protobuf:"bytes,1,opt,name=extract_parameters,json=extractParameters,proto3,oneof"` -} - -type RuleParameters_JsonExtractParameters struct { - JsonExtractParameters *JsonExtractParameters `protobuf:"bytes,2,opt,name=json_extract_parameters,json=jsonExtractParameters,proto3,oneof"` -} - -type RuleParameters_ReplaceParameters struct { - ReplaceParameters *ReplaceParameters `protobuf:"bytes,3,opt,name=replace_parameters,json=replaceParameters,proto3,oneof"` -} - -type RuleParameters_ParseParameters struct { - ParseParameters *ParseParameters `protobuf:"bytes,4,opt,name=parse_parameters,json=parseParameters,proto3,oneof"` -} - -type RuleParameters_AllowParameters struct { - AllowParameters *AllowParameters `protobuf:"bytes,5,opt,name=allow_parameters,json=allowParameters,proto3,oneof"` -} - -type RuleParameters_BlockParameters struct { - BlockParameters *BlockParameters `protobuf:"bytes,6,opt,name=block_parameters,json=blockParameters,proto3,oneof"` -} - -type RuleParameters_ExtractTimestampParameters struct { - ExtractTimestampParameters *ExtractTimestampParameters `protobuf:"bytes,7,opt,name=extract_timestamp_parameters,json=extractTimestampParameters,proto3,oneof"` -} - -type RuleParameters_RemoveFieldsParameters struct { - RemoveFieldsParameters *RemoveFieldsParameters `protobuf:"bytes,8,opt,name=remove_fields_parameters,json=removeFieldsParameters,proto3,oneof"` -} - -type RuleParameters_JsonStringifyParameters struct { - JsonStringifyParameters *JsonStringifyParameters `protobuf:"bytes,9,opt,name=json_stringify_parameters,json=jsonStringifyParameters,proto3,oneof"` -} - -type RuleParameters_JsonParseParameters struct { - JsonParseParameters *JsonParseParameters `protobuf:"bytes,10,opt,name=json_parse_parameters,json=jsonParseParameters,proto3,oneof"` -} - -func (*RuleParameters_ExtractParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_JsonExtractParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_ReplaceParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_ParseParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_AllowParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_BlockParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_ExtractTimestampParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_RemoveFieldsParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_JsonStringifyParameters) isRuleParameters_RuleParameters() {} - -func (*RuleParameters_JsonParseParameters) isRuleParameters_RuleParameters() {} - -type ExtractParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *ExtractParameters) Reset() { - *x = ExtractParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtractParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtractParameters) ProtoMessage() {} - -func (x *ExtractParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 ExtractParameters.ProtoReflect.Descriptor instead. -func (*ExtractParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{2} -} - -func (x *ExtractParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type JsonExtractParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationFieldType JsonExtractParameters_DestinationField `protobuf:"varint,1,opt,name=destination_field_type,json=destinationFieldType,proto3,enum=com.coralogix.rules.v1.JsonExtractParameters_DestinationField" json:"destination_field_type,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` - DestinationFieldText *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=destination_field_text,json=destinationFieldText,proto3" json:"destination_field_text,omitempty"` -} - -func (x *JsonExtractParameters) Reset() { - *x = JsonExtractParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JsonExtractParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JsonExtractParameters) ProtoMessage() {} - -func (x *JsonExtractParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 JsonExtractParameters.ProtoReflect.Descriptor instead. -func (*JsonExtractParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{3} -} - -func (x *JsonExtractParameters) GetDestinationFieldType() JsonExtractParameters_DestinationField { - if x != nil { - return x.DestinationFieldType - } - return JsonExtractParameters_DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED -} - -func (x *JsonExtractParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -func (x *JsonExtractParameters) GetDestinationFieldText() *wrapperspb.StringValue { - if x != nil { - return x.DestinationFieldText - } - return nil -} - -type ReplaceParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - ReplaceNewVal *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=replace_new_val,json=replaceNewVal,proto3" json:"replace_new_val,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *ReplaceParameters) Reset() { - *x = ReplaceParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceParameters) ProtoMessage() {} - -func (x *ReplaceParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 ReplaceParameters.ProtoReflect.Descriptor instead. -func (*ReplaceParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{4} -} - -func (x *ReplaceParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *ReplaceParameters) GetReplaceNewVal() *wrapperspb.StringValue { - if x != nil { - return x.ReplaceNewVal - } - return nil -} - -func (x *ReplaceParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type ParseParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *ParseParameters) Reset() { - *x = ParseParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseParameters) ProtoMessage() {} - -func (x *ParseParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 ParseParameters.ProtoReflect.Descriptor instead. -func (*ParseParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{5} -} - -func (x *ParseParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *ParseParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type AllowParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeepBlockedLogs *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=keep_blocked_logs,json=keepBlockedLogs,proto3" json:"keep_blocked_logs,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *AllowParameters) Reset() { - *x = AllowParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AllowParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AllowParameters) ProtoMessage() {} - -func (x *AllowParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 AllowParameters.ProtoReflect.Descriptor instead. -func (*AllowParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{6} -} - -func (x *AllowParameters) GetKeepBlockedLogs() *wrapperspb.BoolValue { - if x != nil { - return x.KeepBlockedLogs - } - return nil -} - -func (x *AllowParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type BlockParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeepBlockedLogs *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=keep_blocked_logs,json=keepBlockedLogs,proto3" json:"keep_blocked_logs,omitempty"` - Rule *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` -} - -func (x *BlockParameters) Reset() { - *x = BlockParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BlockParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BlockParameters) ProtoMessage() {} - -func (x *BlockParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 BlockParameters.ProtoReflect.Descriptor instead. -func (*BlockParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{7} -} - -func (x *BlockParameters) GetKeepBlockedLogs() *wrapperspb.BoolValue { - if x != nil { - return x.KeepBlockedLogs - } - return nil -} - -func (x *BlockParameters) GetRule() *wrapperspb.StringValue { - if x != nil { - return x.Rule - } - return nil -} - -type ExtractTimestampParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Standard ExtractTimestampParameters_FormatStandard `protobuf:"varint,1,opt,name=standard,proto3,enum=com.coralogix.rules.v1.ExtractTimestampParameters_FormatStandard" json:"standard,omitempty"` - Format *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` -} - -func (x *ExtractTimestampParameters) Reset() { - *x = ExtractTimestampParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtractTimestampParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtractTimestampParameters) ProtoMessage() {} - -func (x *ExtractTimestampParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 ExtractTimestampParameters.ProtoReflect.Descriptor instead. -func (*ExtractTimestampParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{8} -} - -func (x *ExtractTimestampParameters) GetStandard() ExtractTimestampParameters_FormatStandard { - if x != nil { - return x.Standard - } - return ExtractTimestampParameters_FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED -} - -func (x *ExtractTimestampParameters) GetFormat() *wrapperspb.StringValue { - if x != nil { - return x.Format - } - return nil -} - -type RemoveFieldsParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` -} - -func (x *RemoveFieldsParameters) Reset() { - *x = RemoveFieldsParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveFieldsParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveFieldsParameters) ProtoMessage() {} - -func (x *RemoveFieldsParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 RemoveFieldsParameters.ProtoReflect.Descriptor instead. -func (*RemoveFieldsParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{9} -} - -func (x *RemoveFieldsParameters) GetFields() []string { - if x != nil { - return x.Fields - } - return nil -} - -type JsonStringifyParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - DeleteSource *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=delete_source,json=deleteSource,proto3" json:"delete_source,omitempty"` -} - -func (x *JsonStringifyParameters) Reset() { - *x = JsonStringifyParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JsonStringifyParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JsonStringifyParameters) ProtoMessage() {} - -func (x *JsonStringifyParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 JsonStringifyParameters.ProtoReflect.Descriptor instead. -func (*JsonStringifyParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{10} -} - -func (x *JsonStringifyParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *JsonStringifyParameters) GetDeleteSource() *wrapperspb.BoolValue { - if x != nil { - return x.DeleteSource - } - return nil -} - -type JsonParseParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationField *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=destination_field,json=destinationField,proto3" json:"destination_field,omitempty"` - DeleteSource *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=delete_source,json=deleteSource,proto3" json:"delete_source,omitempty"` - EscapedValue *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=escaped_value,json=escapedValue,proto3" json:"escaped_value,omitempty"` - OverrideDest *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=override_dest,json=overrideDest,proto3" json:"override_dest,omitempty"` -} - -func (x *JsonParseParameters) Reset() { - *x = JsonParseParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JsonParseParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JsonParseParameters) ProtoMessage() {} - -func (x *JsonParseParameters) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_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 JsonParseParameters.ProtoReflect.Descriptor instead. -func (*JsonParseParameters) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_proto_rawDescGZIP(), []int{11} -} - -func (x *JsonParseParameters) GetDestinationField() *wrapperspb.StringValue { - if x != nil { - return x.DestinationField - } - return nil -} - -func (x *JsonParseParameters) GetDeleteSource() *wrapperspb.BoolValue { - if x != nil { - return x.DeleteSource - } - return nil -} - -func (x *JsonParseParameters) GetEscapedValue() *wrapperspb.BoolValue { - if x != nil { - return x.EscapedValue - } - return nil -} - -func (x *JsonParseParameters) GetOverrideDest() *wrapperspb.BoolValue { - if x != nil { - return x.OverrideDest - } - return nil -} - -var File_com_coralogix_rules_v1_rule_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_proto_rawDesc = []byte{ - 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 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, 0xa5, 0x03, 0x0a, 0x04, - 0x52, 0x75, 0x6c, 0x65, 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, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 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, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x34, 0x0a, - 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x04, 0x72, - 0x75, 0x6c, 0x65, 0x22, 0xfc, 0x07, 0x0a, 0x0e, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x12, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, - 0x11, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x67, 0x0a, 0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x48, 0x00, 0x52, 0x15, 0x6a, 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x12, 0x72, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x48, 0x00, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x73, 0x65, - 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x61, - 0x72, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, - 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x76, 0x0a, 0x1c, 0x65, 0x78, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x1a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x6a, 0x0a, 0x18, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x6d, 0x0a, - 0x19, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x5f, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x48, 0x00, 0x52, 0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x69, - 0x66, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x61, 0x0a, 0x15, - 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x13, 0x6a, 0x73, 0x6f, 0x6e, - 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, - 0x11, 0x0a, 0x0f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x22, 0x5d, 0x0a, 0x11, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 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, 0x72, 0x75, 0x6c, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, - 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x22, 0xf6, 0x03, 0x0a, 0x15, 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x74, 0x0a, 0x16, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x14, 0x64, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 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, 0x72, - 0x75, 0x6c, 0x65, 0x12, 0x52, 0x0a, 0x16, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 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, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0xe0, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x2d, 0x0a, 0x29, - 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x45, 0x4c, - 0x44, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x44, - 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, - 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, - 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, 0x45, 0x4c, - 0x44, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x02, 0x12, 0x1e, - 0x0a, 0x1a, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, - 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x48, 0x52, 0x45, 0x41, 0x44, 0x49, 0x44, 0x10, 0x03, 0x12, 0x1e, - 0x0a, 0x1a, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, - 0x45, 0x4c, 0x44, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x10, 0x04, 0x12, 0x1a, - 0x0a, 0x16, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x49, - 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x05, 0x22, 0xd6, 0x01, 0x0a, 0x11, 0x52, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x66, 0x69, 0x65, 0x6c, 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, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x44, 0x0a, 0x0f, 0x72, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 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, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4e, 0x65, 0x77, 0x56, 0x61, - 0x6c, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 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, 0x04, 0x72, - 0x75, 0x6c, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 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, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 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, - 0x72, 0x75, 0x6c, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0f, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x46, 0x0a, 0x11, 0x6b, 0x65, 0x65, 0x70, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x0f, 0x6b, 0x65, 0x65, 0x70, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, - 0x12, 0x30, 0x0a, 0x04, 0x72, 0x75, 0x6c, 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, 0x72, 0x75, - 0x6c, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x46, 0x0a, 0x11, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6b, - 0x65, 0x65, 0x70, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x30, - 0x0a, 0x04, 0x72, 0x75, 0x6c, 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, 0x72, 0x75, 0x6c, 0x65, - 0x22, 0x9f, 0x03, 0x0a, 0x1a, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x5d, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x53, 0x74, 0x61, 0x6e, - 0x64, 0x61, 0x72, 0x64, 0x52, 0x08, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x12, 0x34, - 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 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, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x22, 0xeb, 0x01, 0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x53, - 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x12, 0x2b, 0x0a, 0x27, 0x46, 0x4f, 0x52, 0x4d, 0x41, - 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x54, 0x52, 0x46, 0x54, - 0x49, 0x4d, 0x45, 0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, - 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x4a, 0x41, 0x56, 0x41, 0x53, 0x44, 0x46, 0x10, - 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, - 0x44, 0x41, 0x52, 0x44, 0x5f, 0x47, 0x4f, 0x4c, 0x41, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x1d, 0x0a, - 0x19, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, - 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x54, 0x53, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, - 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, - 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x54, 0x53, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x4f, 0x52, - 0x4d, 0x41, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x4d, 0x49, 0x43, - 0x52, 0x4f, 0x54, 0x53, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, - 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x54, 0x53, - 0x10, 0x06, 0x22, 0x30, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x17, 0x4a, 0x73, 0x6f, 0x6e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x69, 0x66, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x66, 0x69, 0x65, 0x6c, 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, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x0c, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xa3, 0x02, 0x0a, - 0x13, 0x4a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 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, 0x10, 0x64, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, - 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 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, 0x0c, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x64, 0x65, - 0x73, 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, 0x0c, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x44, 0x65, - 0x73, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_proto_rawDescData = file_com_coralogix_rules_v1_rule_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_com_coralogix_rules_v1_rule_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_com_coralogix_rules_v1_rule_proto_goTypes = []interface{}{ - (JsonExtractParameters_DestinationField)(0), // 0: com.coralogix.rules.v1.JsonExtractParameters.DestinationField - (ExtractTimestampParameters_FormatStandard)(0), // 1: com.coralogix.rules.v1.ExtractTimestampParameters.FormatStandard - (*Rule)(nil), // 2: com.coralogix.rules.v1.Rule - (*RuleParameters)(nil), // 3: com.coralogix.rules.v1.RuleParameters - (*ExtractParameters)(nil), // 4: com.coralogix.rules.v1.ExtractParameters - (*JsonExtractParameters)(nil), // 5: com.coralogix.rules.v1.JsonExtractParameters - (*ReplaceParameters)(nil), // 6: com.coralogix.rules.v1.ReplaceParameters - (*ParseParameters)(nil), // 7: com.coralogix.rules.v1.ParseParameters - (*AllowParameters)(nil), // 8: com.coralogix.rules.v1.AllowParameters - (*BlockParameters)(nil), // 9: com.coralogix.rules.v1.BlockParameters - (*ExtractTimestampParameters)(nil), // 10: com.coralogix.rules.v1.ExtractTimestampParameters - (*RemoveFieldsParameters)(nil), // 11: com.coralogix.rules.v1.RemoveFieldsParameters - (*JsonStringifyParameters)(nil), // 12: com.coralogix.rules.v1.JsonStringifyParameters - (*JsonParseParameters)(nil), // 13: com.coralogix.rules.v1.JsonParseParameters - (*wrapperspb.StringValue)(nil), // 14: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 15: google.protobuf.BoolValue - (*wrapperspb.UInt32Value)(nil), // 16: google.protobuf.UInt32Value -} -var file_com_coralogix_rules_v1_rule_proto_depIdxs = []int32{ - 14, // 0: com.coralogix.rules.v1.Rule.id:type_name -> google.protobuf.StringValue - 14, // 1: com.coralogix.rules.v1.Rule.name:type_name -> google.protobuf.StringValue - 14, // 2: com.coralogix.rules.v1.Rule.description:type_name -> google.protobuf.StringValue - 14, // 3: com.coralogix.rules.v1.Rule.source_field:type_name -> google.protobuf.StringValue - 3, // 4: com.coralogix.rules.v1.Rule.parameters:type_name -> com.coralogix.rules.v1.RuleParameters - 15, // 5: com.coralogix.rules.v1.Rule.enabled:type_name -> google.protobuf.BoolValue - 16, // 6: com.coralogix.rules.v1.Rule.order:type_name -> google.protobuf.UInt32Value - 4, // 7: com.coralogix.rules.v1.RuleParameters.extract_parameters:type_name -> com.coralogix.rules.v1.ExtractParameters - 5, // 8: com.coralogix.rules.v1.RuleParameters.json_extract_parameters:type_name -> com.coralogix.rules.v1.JsonExtractParameters - 6, // 9: com.coralogix.rules.v1.RuleParameters.replace_parameters:type_name -> com.coralogix.rules.v1.ReplaceParameters - 7, // 10: com.coralogix.rules.v1.RuleParameters.parse_parameters:type_name -> com.coralogix.rules.v1.ParseParameters - 8, // 11: com.coralogix.rules.v1.RuleParameters.allow_parameters:type_name -> com.coralogix.rules.v1.AllowParameters - 9, // 12: com.coralogix.rules.v1.RuleParameters.block_parameters:type_name -> com.coralogix.rules.v1.BlockParameters - 10, // 13: com.coralogix.rules.v1.RuleParameters.extract_timestamp_parameters:type_name -> com.coralogix.rules.v1.ExtractTimestampParameters - 11, // 14: com.coralogix.rules.v1.RuleParameters.remove_fields_parameters:type_name -> com.coralogix.rules.v1.RemoveFieldsParameters - 12, // 15: com.coralogix.rules.v1.RuleParameters.json_stringify_parameters:type_name -> com.coralogix.rules.v1.JsonStringifyParameters - 13, // 16: com.coralogix.rules.v1.RuleParameters.json_parse_parameters:type_name -> com.coralogix.rules.v1.JsonParseParameters - 14, // 17: com.coralogix.rules.v1.ExtractParameters.rule:type_name -> google.protobuf.StringValue - 0, // 18: com.coralogix.rules.v1.JsonExtractParameters.destination_field_type:type_name -> com.coralogix.rules.v1.JsonExtractParameters.DestinationField - 14, // 19: com.coralogix.rules.v1.JsonExtractParameters.rule:type_name -> google.protobuf.StringValue - 14, // 20: com.coralogix.rules.v1.JsonExtractParameters.destination_field_text:type_name -> google.protobuf.StringValue - 14, // 21: com.coralogix.rules.v1.ReplaceParameters.destination_field:type_name -> google.protobuf.StringValue - 14, // 22: com.coralogix.rules.v1.ReplaceParameters.replace_new_val:type_name -> google.protobuf.StringValue - 14, // 23: com.coralogix.rules.v1.ReplaceParameters.rule:type_name -> google.protobuf.StringValue - 14, // 24: com.coralogix.rules.v1.ParseParameters.destination_field:type_name -> google.protobuf.StringValue - 14, // 25: com.coralogix.rules.v1.ParseParameters.rule:type_name -> google.protobuf.StringValue - 15, // 26: com.coralogix.rules.v1.AllowParameters.keep_blocked_logs:type_name -> google.protobuf.BoolValue - 14, // 27: com.coralogix.rules.v1.AllowParameters.rule:type_name -> google.protobuf.StringValue - 15, // 28: com.coralogix.rules.v1.BlockParameters.keep_blocked_logs:type_name -> google.protobuf.BoolValue - 14, // 29: com.coralogix.rules.v1.BlockParameters.rule:type_name -> google.protobuf.StringValue - 1, // 30: com.coralogix.rules.v1.ExtractTimestampParameters.standard:type_name -> com.coralogix.rules.v1.ExtractTimestampParameters.FormatStandard - 14, // 31: com.coralogix.rules.v1.ExtractTimestampParameters.format:type_name -> google.protobuf.StringValue - 14, // 32: com.coralogix.rules.v1.JsonStringifyParameters.destination_field:type_name -> google.protobuf.StringValue - 15, // 33: com.coralogix.rules.v1.JsonStringifyParameters.delete_source:type_name -> google.protobuf.BoolValue - 14, // 34: com.coralogix.rules.v1.JsonParseParameters.destination_field:type_name -> google.protobuf.StringValue - 15, // 35: com.coralogix.rules.v1.JsonParseParameters.delete_source:type_name -> google.protobuf.BoolValue - 15, // 36: com.coralogix.rules.v1.JsonParseParameters.escaped_value:type_name -> google.protobuf.BoolValue - 15, // 37: com.coralogix.rules.v1.JsonParseParameters.override_dest:type_name -> google.protobuf.BoolValue - 38, // [38:38] is the sub-list for method output_type - 38, // [38:38] is the sub-list for method input_type - 38, // [38:38] is the sub-list for extension type_name - 38, // [38:38] is the sub-list for extension extendee - 0, // [0:38] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_proto_init() } -func file_com_coralogix_rules_v1_rule_proto_init() { - if File_com_coralogix_rules_v1_rule_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtractParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JsonExtractParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AllowParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtractTimestampParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveFieldsParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JsonStringifyParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JsonParseParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_rules_v1_rule_proto_msgTypes[1].OneofWrappers = []interface{}{ - (*RuleParameters_ExtractParameters)(nil), - (*RuleParameters_JsonExtractParameters)(nil), - (*RuleParameters_ReplaceParameters)(nil), - (*RuleParameters_ParseParameters)(nil), - (*RuleParameters_AllowParameters)(nil), - (*RuleParameters_BlockParameters)(nil), - (*RuleParameters_ExtractTimestampParameters)(nil), - (*RuleParameters_RemoveFieldsParameters)(nil), - (*RuleParameters_JsonStringifyParameters)(nil), - (*RuleParameters_JsonParseParameters)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_proto_rawDesc, - NumEnums: 2, - NumMessages: 12, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_proto_depIdxs, - EnumInfos: file_com_coralogix_rules_v1_rule_proto_enumTypes, - MessageInfos: file_com_coralogix_rules_v1_rule_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_proto = out.File - file_com_coralogix_rules_v1_rule_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/rules-groups/v1/rule_group.pb.go b/coralogix/clientset/grpc/rules-groups/v1/rule_group.pb.go deleted file mode 100644 index 858b361a..00000000 --- a/coralogix/clientset/grpc/rules-groups/v1/rule_group.pb.go +++ /dev/null @@ -1,325 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/rules/v1/rule_group.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 RuleGroup 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Creator *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"` - Hidden *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=hidden,proto3" json:"hidden,omitempty"` - RuleMatchers []*RuleMatcher `protobuf:"bytes,9,rep,name=rule_matchers,json=ruleMatchers,proto3" json:"rule_matchers,omitempty"` - RuleSubgroups []*RuleSubgroup `protobuf:"bytes,10,rep,name=rule_subgroups,json=ruleSubgroups,proto3" json:"rule_subgroups,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,11,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *RuleGroup) Reset() { - *x = RuleGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_group_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleGroup) ProtoMessage() {} - -func (x *RuleGroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_group_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 RuleGroup.ProtoReflect.Descriptor instead. -func (*RuleGroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_group_proto_rawDescGZIP(), []int{0} -} - -func (x *RuleGroup) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *RuleGroup) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *RuleGroup) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *RuleGroup) GetCreator() *wrapperspb.StringValue { - if x != nil { - return x.Creator - } - return nil -} - -func (x *RuleGroup) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *RuleGroup) GetHidden() *wrapperspb.BoolValue { - if x != nil { - return x.Hidden - } - return nil -} - -func (x *RuleGroup) GetRuleMatchers() []*RuleMatcher { - if x != nil { - return x.RuleMatchers - } - return nil -} - -func (x *RuleGroup) GetRuleSubgroups() []*RuleSubgroup { - if x != nil { - return x.RuleSubgroups - } - return nil -} - -func (x *RuleGroup) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type TeamId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *TeamId) Reset() { - *x = TeamId{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_group_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TeamId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TeamId) ProtoMessage() {} - -func (x *TeamId) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_group_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 TeamId.ProtoReflect.Descriptor instead. -func (*TeamId) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_group_proto_rawDescGZIP(), []int{1} -} - -func (x *TeamId) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -var File_com_coralogix_rules_v1_rule_group_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_group_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 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, 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x04, 0x0a, 0x09, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x36, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 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, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x34, - 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x08, - 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, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x48, 0x0a, 0x0d, 0x72, 0x75, 0x6c, 0x65, - 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x65, 0x72, 0x52, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, - 0x72, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x52, 0x0d, 0x72, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, - 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x22, 0x18, 0x0a, 0x06, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x42, 0x04, 0x5a, - 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_group_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_group_proto_rawDescData = file_com_coralogix_rules_v1_rule_group_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_group_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_group_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_group_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_group_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_group_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogix_rules_v1_rule_group_proto_goTypes = []interface{}{ - (*RuleGroup)(nil), // 0: com.coralogix.rules.v1.RuleGroup - (*TeamId)(nil), // 1: com.coralogix.rules.v1.TeamId - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 3: google.protobuf.BoolValue - (*RuleMatcher)(nil), // 4: com.coralogix.rules.v1.RuleMatcher - (*RuleSubgroup)(nil), // 5: com.coralogix.rules.v1.RuleSubgroup - (*wrapperspb.UInt32Value)(nil), // 6: google.protobuf.UInt32Value -} -var file_com_coralogix_rules_v1_rule_group_proto_depIdxs = []int32{ - 2, // 0: com.coralogix.rules.v1.RuleGroup.id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.rules.v1.RuleGroup.name:type_name -> google.protobuf.StringValue - 2, // 2: com.coralogix.rules.v1.RuleGroup.description:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogix.rules.v1.RuleGroup.creator:type_name -> google.protobuf.StringValue - 3, // 4: com.coralogix.rules.v1.RuleGroup.enabled:type_name -> google.protobuf.BoolValue - 3, // 5: com.coralogix.rules.v1.RuleGroup.hidden:type_name -> google.protobuf.BoolValue - 4, // 6: com.coralogix.rules.v1.RuleGroup.rule_matchers:type_name -> com.coralogix.rules.v1.RuleMatcher - 5, // 7: com.coralogix.rules.v1.RuleGroup.rule_subgroups:type_name -> com.coralogix.rules.v1.RuleSubgroup - 6, // 8: com.coralogix.rules.v1.RuleGroup.order:type_name -> google.protobuf.UInt32Value - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] 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_coralogix_rules_v1_rule_group_proto_init() } -func file_com_coralogix_rules_v1_rule_group_proto_init() { - if File_com_coralogix_rules_v1_rule_group_proto != nil { - return - } - file_com_coralogix_rules_v1_rule_matcher_proto_init() - file_com_coralogix_rules_v1_rule_subgroup_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_group_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_group_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TeamId); 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_coralogix_rules_v1_rule_group_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_group_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_group_proto_depIdxs, - MessageInfos: file_com_coralogix_rules_v1_rule_group_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_group_proto = out.File - file_com_coralogix_rules_v1_rule_group_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_group_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_group_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/rules-groups/v1/rule_groups_service.pb.go b/coralogix/clientset/grpc/rules-groups/v1/rule_groups_service.pb.go deleted file mode 100644 index 79d7e3d0..00000000 --- a/coralogix/clientset/grpc/rules-groups/v1/rule_groups_service.pb.go +++ /dev/null @@ -1,2097 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/rules/v1/rule_groups_service.proto - -package __ - -import ( - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - structpb "google.golang.org/protobuf/types/known/structpb" - 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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -type GetRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` -} - -func (x *GetRuleGroupRequest) Reset() { - *x = GetRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupRequest) ProtoMessage() {} - -func (x *GetRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 GetRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*GetRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetRuleGroupRequest) GetGroupId() string { - if x != nil { - return x.GroupId - } - return "" -} - -type ListRuleGroupsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListRuleGroupsRequest) Reset() { - *x = ListRuleGroupsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListRuleGroupsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRuleGroupsRequest) ProtoMessage() {} - -func (x *ListRuleGroupsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 ListRuleGroupsRequest.ProtoReflect.Descriptor instead. -func (*ListRuleGroupsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{2} -} - -type ListRuleGroupsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleGroups []*RuleGroup `protobuf:"bytes,1,rep,name=rule_groups,json=ruleGroups,proto3" json:"rule_groups,omitempty"` -} - -func (x *ListRuleGroupsResponse) Reset() { - *x = ListRuleGroupsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListRuleGroupsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRuleGroupsResponse) ProtoMessage() {} - -func (x *ListRuleGroupsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 ListRuleGroupsResponse.ProtoReflect.Descriptor instead. -func (*ListRuleGroupsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{3} -} - -func (x *ListRuleGroupsResponse) GetRuleGroups() []*RuleGroup { - if x != nil { - return x.RuleGroups - } - return nil -} - -type GetRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleGroup *RuleGroup `protobuf:"bytes,1,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *GetRuleGroupResponse) Reset() { - *x = GetRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupResponse) ProtoMessage() {} - -func (x *GetRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 GetRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*GetRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{4} -} - -func (x *GetRuleGroupResponse) GetRuleGroup() *RuleGroup { - if x != nil { - return x.RuleGroup - } - return nil -} - -type CreateRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` - Hidden *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` - Creator *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` - RuleMatchers []*RuleMatcher `protobuf:"bytes,6,rep,name=rule_matchers,json=ruleMatchers,proto3" json:"rule_matchers,omitempty"` - RuleSubgroups []*CreateRuleGroupRequest_CreateRuleSubgroup `protobuf:"bytes,7,rep,name=rule_subgroups,json=ruleSubgroups,proto3" json:"rule_subgroups,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=order,proto3" json:"order,omitempty"` - TeamId *TeamId `protobuf:"bytes,9,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` -} - -func (x *CreateRuleGroupRequest) Reset() { - *x = CreateRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupRequest) ProtoMessage() {} - -func (x *CreateRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 CreateRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{5} -} - -func (x *CreateRuleGroupRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateRuleGroupRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreateRuleGroupRequest) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *CreateRuleGroupRequest) GetHidden() *wrapperspb.BoolValue { - if x != nil { - return x.Hidden - } - return nil -} - -func (x *CreateRuleGroupRequest) GetCreator() *wrapperspb.StringValue { - if x != nil { - return x.Creator - } - return nil -} - -func (x *CreateRuleGroupRequest) GetRuleMatchers() []*RuleMatcher { - if x != nil { - return x.RuleMatchers - } - return nil -} - -func (x *CreateRuleGroupRequest) GetRuleSubgroups() []*CreateRuleGroupRequest_CreateRuleSubgroup { - if x != nil { - return x.RuleSubgroups - } - return nil -} - -func (x *CreateRuleGroupRequest) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -func (x *CreateRuleGroupRequest) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -type CreateRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleGroup *RuleGroup `protobuf:"bytes,1,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *CreateRuleGroupResponse) Reset() { - *x = CreateRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupResponse) ProtoMessage() {} - -func (x *CreateRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 CreateRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{6} -} - -func (x *CreateRuleGroupResponse) GetRuleGroup() *RuleGroup { - if x != nil { - return x.RuleGroup - } - return nil -} - -type UpdateRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` - RuleGroup *CreateRuleGroupRequest `protobuf:"bytes,2,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *UpdateRuleGroupRequest) Reset() { - *x = UpdateRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRuleGroupRequest) ProtoMessage() {} - -func (x *UpdateRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 UpdateRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*UpdateRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{7} -} - -func (x *UpdateRuleGroupRequest) GetGroupId() *wrapperspb.StringValue { - if x != nil { - return x.GroupId - } - return nil -} - -func (x *UpdateRuleGroupRequest) GetRuleGroup() *CreateRuleGroupRequest { - if x != nil { - return x.RuleGroup - } - return nil -} - -type UpdateRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleGroup *RuleGroup `protobuf:"bytes,1,opt,name=rule_group,json=ruleGroup,proto3" json:"rule_group,omitempty"` -} - -func (x *UpdateRuleGroupResponse) Reset() { - *x = UpdateRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRuleGroupResponse) ProtoMessage() {} - -func (x *UpdateRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 UpdateRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*UpdateRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{8} -} - -func (x *UpdateRuleGroupResponse) GetRuleGroup() *RuleGroup { - if x != nil { - return x.RuleGroup - } - return nil -} - -type DeleteRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` -} - -func (x *DeleteRuleGroupRequest) Reset() { - *x = DeleteRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRuleGroupRequest) ProtoMessage() {} - -func (x *DeleteRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 DeleteRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*DeleteRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{9} -} - -func (x *DeleteRuleGroupRequest) GetGroupId() string { - if x != nil { - return x.GroupId - } - return "" -} - -type BulkDeleteRuleGroupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupIds []string `protobuf:"bytes,1,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"` -} - -func (x *BulkDeleteRuleGroupRequest) Reset() { - *x = BulkDeleteRuleGroupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BulkDeleteRuleGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BulkDeleteRuleGroupRequest) ProtoMessage() {} - -func (x *BulkDeleteRuleGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 BulkDeleteRuleGroupRequest.ProtoReflect.Descriptor instead. -func (*BulkDeleteRuleGroupRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{10} -} - -func (x *BulkDeleteRuleGroupRequest) GetGroupIds() []string { - if x != nil { - return x.GroupIds - } - return nil -} - -type DeleteRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteRuleGroupResponse) Reset() { - *x = DeleteRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRuleGroupResponse) ProtoMessage() {} - -func (x *DeleteRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 DeleteRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*DeleteRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{11} -} - -type BulkDeleteRuleGroupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *BulkDeleteRuleGroupResponse) Reset() { - *x = BulkDeleteRuleGroupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BulkDeleteRuleGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BulkDeleteRuleGroupResponse) ProtoMessage() {} - -func (x *BulkDeleteRuleGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 BulkDeleteRuleGroupResponse.ProtoReflect.Descriptor instead. -func (*BulkDeleteRuleGroupResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{12} -} - -type GetRuleGroupModelMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` - Hidden *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=hidden,proto3" json:"hidden,omitempty"` - Creator *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` - RuleMatchers []*RuleMatcher `protobuf:"bytes,6,rep,name=rule_matchers,json=ruleMatchers,proto3" json:"rule_matchers,omitempty"` - RuleSubgroups []*GetRuleGroupModelMappingRequest_CreateRuleSubgroup `protobuf:"bytes,7,rep,name=rule_subgroups,json=ruleSubgroups,proto3" json:"rule_subgroups,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *GetRuleGroupModelMappingRequest) Reset() { - *x = GetRuleGroupModelMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupModelMappingRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupModelMappingRequest) ProtoMessage() {} - -func (x *GetRuleGroupModelMappingRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 GetRuleGroupModelMappingRequest.ProtoReflect.Descriptor instead. -func (*GetRuleGroupModelMappingRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{13} -} - -func (x *GetRuleGroupModelMappingRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest) GetHidden() *wrapperspb.BoolValue { - if x != nil { - return x.Hidden - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest) GetCreator() *wrapperspb.StringValue { - if x != nil { - return x.Creator - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest) GetRuleMatchers() []*RuleMatcher { - if x != nil { - return x.RuleMatchers - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest) GetRuleSubgroups() []*GetRuleGroupModelMappingRequest_CreateRuleSubgroup { - if x != nil { - return x.RuleSubgroups - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type GetRuleGroupModelMappingResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleDefinition *structpb.Struct `protobuf:"bytes,1,opt,name=rule_definition,json=ruleDefinition,proto3" json:"rule_definition,omitempty"` -} - -func (x *GetRuleGroupModelMappingResponse) Reset() { - *x = GetRuleGroupModelMappingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupModelMappingResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupModelMappingResponse) ProtoMessage() {} - -func (x *GetRuleGroupModelMappingResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 GetRuleGroupModelMappingResponse.ProtoReflect.Descriptor instead. -func (*GetRuleGroupModelMappingResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{14} -} - -func (x *GetRuleGroupModelMappingResponse) GetRuleDefinition() *structpb.Struct { - if x != nil { - return x.RuleDefinition - } - return nil -} - -type GetCompanyUsageLimitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetCompanyUsageLimitsRequest) Reset() { - *x = GetCompanyUsageLimitsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCompanyUsageLimitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCompanyUsageLimitsRequest) ProtoMessage() {} - -func (x *GetCompanyUsageLimitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 GetCompanyUsageLimitsRequest.ProtoReflect.Descriptor instead. -func (*GetCompanyUsageLimitsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{15} -} - -type GetCompanyUsageLimitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CompanyId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` - Limits *GetCompanyUsageLimitsResponse_Counts `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"` - Usage *GetCompanyUsageLimitsResponse_Counts `protobuf:"bytes,3,opt,name=usage,proto3" json:"usage,omitempty"` -} - -func (x *GetCompanyUsageLimitsResponse) Reset() { - *x = GetCompanyUsageLimitsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCompanyUsageLimitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCompanyUsageLimitsResponse) ProtoMessage() {} - -func (x *GetCompanyUsageLimitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 GetCompanyUsageLimitsResponse.ProtoReflect.Descriptor instead. -func (*GetCompanyUsageLimitsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{16} -} - -func (x *GetCompanyUsageLimitsResponse) GetCompanyId() *wrapperspb.StringValue { - if x != nil { - return x.CompanyId - } - return nil -} - -func (x *GetCompanyUsageLimitsResponse) GetLimits() *GetCompanyUsageLimitsResponse_Counts { - if x != nil { - return x.Limits - } - return nil -} - -func (x *GetCompanyUsageLimitsResponse) GetUsage() *GetCompanyUsageLimitsResponse_Counts { - if x != nil { - return x.Usage - } - return nil -} - -type CreateRuleGroupRequest_CreateRuleSubgroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rules []*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) Reset() { - *x = CreateRuleGroupRequest_CreateRuleSubgroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupRequest_CreateRuleSubgroup) ProtoMessage() {} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_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 CreateRuleGroupRequest_CreateRuleSubgroup.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupRequest_CreateRuleSubgroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{5, 0} -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) GetRules() []*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` - Parameters *RuleParameters `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) Reset() { - *x = CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) ProtoMessage() {} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[18] - 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 CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule.ProtoReflect.Descriptor instead. -func (*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{5, 0, 0} -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetParameters() *RuleParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type GetRuleGroupModelMappingRequest_CreateRuleSubgroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rules []*GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup) Reset() { - *x = GetRuleGroupModelMappingRequest_CreateRuleSubgroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupModelMappingRequest_CreateRuleSubgroup) ProtoMessage() {} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[19] - 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 GetRuleGroupModelMappingRequest_CreateRuleSubgroup.ProtoReflect.Descriptor instead. -func (*GetRuleGroupModelMappingRequest_CreateRuleSubgroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{13, 0} -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup) GetRules() []*GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - SourceField *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=source_field,json=sourceField,proto3" json:"source_field,omitempty"` - Parameters *RuleParameters `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) Reset() { - *x = GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) ProtoMessage() {} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[20] - 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 GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule.ProtoReflect.Descriptor instead. -func (*GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{13, 0, 0} -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) GetSourceField() *wrapperspb.StringValue { - if x != nil { - return x.SourceField - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) GetParameters() *RuleParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -type GetCompanyUsageLimitsResponse_Counts struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ParsingThemes *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=parsing_themes,json=parsingThemes,proto3" json:"parsing_themes,omitempty"` - Groups *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=groups,proto3" json:"groups,omitempty"` - Rules *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=rules,proto3" json:"rules,omitempty"` -} - -func (x *GetCompanyUsageLimitsResponse_Counts) Reset() { - *x = GetCompanyUsageLimitsResponse_Counts{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCompanyUsageLimitsResponse_Counts) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCompanyUsageLimitsResponse_Counts) ProtoMessage() {} - -func (x *GetCompanyUsageLimitsResponse_Counts) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[21] - 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 GetCompanyUsageLimitsResponse_Counts.ProtoReflect.Descriptor instead. -func (*GetCompanyUsageLimitsResponse_Counts) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP(), []int{16, 0} -} - -func (x *GetCompanyUsageLimitsResponse_Counts) GetParsingThemes() *wrapperspb.Int32Value { - if x != nil { - return x.ParsingThemes - } - return nil -} - -func (x *GetCompanyUsageLimitsResponse_Counts) GetGroups() *wrapperspb.Int32Value { - if x != nil { - return x.Groups - } - return nil -} - -func (x *GetCompanyUsageLimitsResponse_Counts) GetRules() *wrapperspb.Int32Value { - if x != nil { - return x.Rules - } - return nil -} - -var file_com_coralogix_rules_v1_rule_groups_service_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5001, - Name: "com.coralogix.rules.v1.audit_log_description", - Tag: "bytes,5001,opt,name=audit_log_description", - Filename: "com/coralogix/rules/v1/rule_groups_service.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogix.rules.v1.AuditLogDescription audit_log_description = 5001; - E_AuditLogDescription = &file_com_coralogix_rules_v1_rule_groups_service_proto_extTypes[0] -) - -var File_com_coralogix_rules_v1_rule_groups_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc = []byte{ - 0x0a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 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, 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, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, - 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 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, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, - 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x4c, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, - 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, - 0x17, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0a, 0x72, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x58, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, - 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x22, 0xb2, 0x09, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x32, 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 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, - 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 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, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, - 0x48, 0x0a, 0x0d, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0c, 0x72, 0x75, 0x6c, - 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x68, 0x0a, 0x0e, 0x72, 0x75, 0x6c, - 0x65, 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x72, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, - 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, - 0x1a, 0xe2, 0x04, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x53, - 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x62, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, - 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x42, - 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0xfd, 0x02, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x75, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x04, 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, 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, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x07, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, - 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x5b, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x40, 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x22, 0xa0, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, - 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x07, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x5b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x40, 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x22, 0x33, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x1a, 0x42, 0x75, 0x6c, 0x6b, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, - 0x64, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x0a, - 0x1b, 0x42, 0x75, 0x6c, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x94, 0x09, 0x0a, - 0x1f, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 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, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 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, 0x32, 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64, - 0x65, 0x6e, 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, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x36, 0x0a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 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, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x12, 0x48, 0x0a, 0x0d, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x74, - 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, - 0x52, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x71, - 0x0a, 0x0e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x52, 0x0d, 0x72, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0xeb, 0x04, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x75, 0x6c, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x6b, 0x0a, 0x05, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x55, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x53, - 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, - 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 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, 0x42, 0x6f, 0x6f, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, - 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x1a, 0xfd, 0x02, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, - 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x04, 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, 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, 0x3f, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 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, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x34, 0x0a, - 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x07, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x04, 0x72, - 0x75, 0x6c, 0x65, 0x22, 0x64, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 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, 0x0e, 0x72, 0x75, 0x6c, 0x65, 0x44, - 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xbd, 0x03, 0x0a, 0x1d, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, - 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 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, 0x63, - 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x52, - 0x0a, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, - 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x05, 0x75, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0xb4, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x42, 0x0a, - 0x0e, 0x70, 0x61, 0x72, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x73, 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, 0x0d, 0x70, 0x61, 0x72, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x68, 0x65, 0x6d, 0x65, - 0x73, 0x12, 0x33, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 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, 0x06, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 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, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x32, 0xe8, 0x0b, 0x0a, 0x11, 0x52, 0x75, - 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0xa4, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0xca, 0xb8, 0x02, - 0x10, 0x0a, 0x0e, 0x67, 0x65, 0x74, 0x20, 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa4, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0xca, 0xb8, 0x02, 0x15, 0x0a, 0x13, - 0x67, 0x65, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xa9, 0x01, - 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x35, 0xca, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x20, 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x18, 0x22, 0x13, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x3a, 0x01, 0x2a, 0x12, 0xbc, 0x01, 0x0a, 0x0f, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2e, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, - 0xca, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x72, 0x75, 0x6c, - 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x1a, 0x1d, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x0a, 0x72, 0x75, - 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0xb0, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2e, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0xca, - 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x72, 0x75, 0x6c, 0x65, - 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x2a, 0x1d, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xc2, 0x01, 0x0a, 0x13, - 0x42, 0x75, 0x6c, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, - 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0xca, 0xb8, - 0x02, 0x19, 0x0a, 0x17, 0x62, 0x75, 0x6c, 0x6b, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, - 0x72, 0x75, 0x6c, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1f, 0x2a, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x3a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x73, - 0x12, 0xc9, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x37, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x3a, 0xca, 0xb8, 0x02, 0x12, 0x0a, 0x10, 0x67, 0x65, 0x74, 0x20, 0x72, 0x75, 0x6c, 0x65, - 0x20, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x2d, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0xd5, 0x01, 0x0a, - 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, - 0x55, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x4f, 0xca, 0xb8, 0x02, 0x1f, 0x0a, 0x1d, 0x67, 0x65, 0x74, 0x20, 0x63, - 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x20, 0x75, 0x73, 0x61, 0x67, 0x65, 0x20, 0x77, 0x69, 0x74, - 0x68, 0x20, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2d, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x73, 0x3a, 0x01, 0x2a, 0x3a, 0x80, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, - 0x6f, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x89, - 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData = file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_groups_service_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes = make([]protoimpl.MessageInfo, 22) -var file_com_coralogix_rules_v1_rule_groups_service_proto_goTypes = []interface{}{ - (*AuditLogDescription)(nil), // 0: com.coralogix.rules.v1.AuditLogDescription - (*GetRuleGroupRequest)(nil), // 1: com.coralogix.rules.v1.GetRuleGroupRequest - (*ListRuleGroupsRequest)(nil), // 2: com.coralogix.rules.v1.ListRuleGroupsRequest - (*ListRuleGroupsResponse)(nil), // 3: com.coralogix.rules.v1.ListRuleGroupsResponse - (*GetRuleGroupResponse)(nil), // 4: com.coralogix.rules.v1.GetRuleGroupResponse - (*CreateRuleGroupRequest)(nil), // 5: com.coralogix.rules.v1.CreateRuleGroupRequest - (*CreateRuleGroupResponse)(nil), // 6: com.coralogix.rules.v1.CreateRuleGroupResponse - (*UpdateRuleGroupRequest)(nil), // 7: com.coralogix.rules.v1.UpdateRuleGroupRequest - (*UpdateRuleGroupResponse)(nil), // 8: com.coralogix.rules.v1.UpdateRuleGroupResponse - (*DeleteRuleGroupRequest)(nil), // 9: com.coralogix.rules.v1.DeleteRuleGroupRequest - (*BulkDeleteRuleGroupRequest)(nil), // 10: com.coralogix.rules.v1.BulkDeleteRuleGroupRequest - (*DeleteRuleGroupResponse)(nil), // 11: com.coralogix.rules.v1.DeleteRuleGroupResponse - (*BulkDeleteRuleGroupResponse)(nil), // 12: com.coralogix.rules.v1.BulkDeleteRuleGroupResponse - (*GetRuleGroupModelMappingRequest)(nil), // 13: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest - (*GetRuleGroupModelMappingResponse)(nil), // 14: com.coralogix.rules.v1.GetRuleGroupModelMappingResponse - (*GetCompanyUsageLimitsRequest)(nil), // 15: com.coralogix.rules.v1.GetCompanyUsageLimitsRequest - (*GetCompanyUsageLimitsResponse)(nil), // 16: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse - (*CreateRuleGroupRequest_CreateRuleSubgroup)(nil), // 17: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup - (*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule)(nil), // 18: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule - (*GetRuleGroupModelMappingRequest_CreateRuleSubgroup)(nil), // 19: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup - (*GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule)(nil), // 20: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule - (*GetCompanyUsageLimitsResponse_Counts)(nil), // 21: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.Counts - (*RuleGroup)(nil), // 22: com.coralogix.rules.v1.RuleGroup - (*wrapperspb.StringValue)(nil), // 23: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 24: google.protobuf.BoolValue - (*RuleMatcher)(nil), // 25: com.coralogix.rules.v1.RuleMatcher - (*wrapperspb.UInt32Value)(nil), // 26: google.protobuf.UInt32Value - (*TeamId)(nil), // 27: com.coralogix.rules.v1.TeamId - (*structpb.Struct)(nil), // 28: google.protobuf.Struct - (*RuleParameters)(nil), // 29: com.coralogix.rules.v1.RuleParameters - (*wrapperspb.Int32Value)(nil), // 30: google.protobuf.Int32Value - (*descriptorpb.MethodOptions)(nil), // 31: google.protobuf.MethodOptions -} -var file_com_coralogix_rules_v1_rule_groups_service_proto_depIdxs = []int32{ - 22, // 0: com.coralogix.rules.v1.ListRuleGroupsResponse.rule_groups:type_name -> com.coralogix.rules.v1.RuleGroup - 22, // 1: com.coralogix.rules.v1.GetRuleGroupResponse.rule_group:type_name -> com.coralogix.rules.v1.RuleGroup - 23, // 2: com.coralogix.rules.v1.CreateRuleGroupRequest.name:type_name -> google.protobuf.StringValue - 23, // 3: com.coralogix.rules.v1.CreateRuleGroupRequest.description:type_name -> google.protobuf.StringValue - 24, // 4: com.coralogix.rules.v1.CreateRuleGroupRequest.enabled:type_name -> google.protobuf.BoolValue - 24, // 5: com.coralogix.rules.v1.CreateRuleGroupRequest.hidden:type_name -> google.protobuf.BoolValue - 23, // 6: com.coralogix.rules.v1.CreateRuleGroupRequest.creator:type_name -> google.protobuf.StringValue - 25, // 7: com.coralogix.rules.v1.CreateRuleGroupRequest.rule_matchers:type_name -> com.coralogix.rules.v1.RuleMatcher - 17, // 8: com.coralogix.rules.v1.CreateRuleGroupRequest.rule_subgroups:type_name -> com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup - 26, // 9: com.coralogix.rules.v1.CreateRuleGroupRequest.order:type_name -> google.protobuf.UInt32Value - 27, // 10: com.coralogix.rules.v1.CreateRuleGroupRequest.team_id:type_name -> com.coralogix.rules.v1.TeamId - 22, // 11: com.coralogix.rules.v1.CreateRuleGroupResponse.rule_group:type_name -> com.coralogix.rules.v1.RuleGroup - 23, // 12: com.coralogix.rules.v1.UpdateRuleGroupRequest.group_id:type_name -> google.protobuf.StringValue - 5, // 13: com.coralogix.rules.v1.UpdateRuleGroupRequest.rule_group:type_name -> com.coralogix.rules.v1.CreateRuleGroupRequest - 22, // 14: com.coralogix.rules.v1.UpdateRuleGroupResponse.rule_group:type_name -> com.coralogix.rules.v1.RuleGroup - 23, // 15: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.name:type_name -> google.protobuf.StringValue - 23, // 16: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.description:type_name -> google.protobuf.StringValue - 24, // 17: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.enabled:type_name -> google.protobuf.BoolValue - 24, // 18: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.hidden:type_name -> google.protobuf.BoolValue - 23, // 19: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.creator:type_name -> google.protobuf.StringValue - 25, // 20: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.rule_matchers:type_name -> com.coralogix.rules.v1.RuleMatcher - 19, // 21: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.rule_subgroups:type_name -> com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup - 26, // 22: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.order:type_name -> google.protobuf.UInt32Value - 28, // 23: com.coralogix.rules.v1.GetRuleGroupModelMappingResponse.rule_definition:type_name -> google.protobuf.Struct - 23, // 24: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.company_id:type_name -> google.protobuf.StringValue - 21, // 25: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.limits:type_name -> com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.Counts - 21, // 26: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.usage:type_name -> com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.Counts - 18, // 27: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.rules:type_name -> com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule - 24, // 28: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.enabled:type_name -> google.protobuf.BoolValue - 26, // 29: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.order:type_name -> google.protobuf.UInt32Value - 23, // 30: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.name:type_name -> google.protobuf.StringValue - 23, // 31: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.description:type_name -> google.protobuf.StringValue - 23, // 32: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.source_field:type_name -> google.protobuf.StringValue - 29, // 33: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.parameters:type_name -> com.coralogix.rules.v1.RuleParameters - 24, // 34: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.enabled:type_name -> google.protobuf.BoolValue - 26, // 35: com.coralogix.rules.v1.CreateRuleGroupRequest.CreateRuleSubgroup.CreateRule.order:type_name -> google.protobuf.UInt32Value - 20, // 36: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.rules:type_name -> com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule - 24, // 37: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.enabled:type_name -> google.protobuf.BoolValue - 26, // 38: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.order:type_name -> google.protobuf.UInt32Value - 23, // 39: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule.name:type_name -> google.protobuf.StringValue - 23, // 40: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule.description:type_name -> google.protobuf.StringValue - 23, // 41: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule.source_field:type_name -> google.protobuf.StringValue - 29, // 42: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule.parameters:type_name -> com.coralogix.rules.v1.RuleParameters - 24, // 43: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule.enabled:type_name -> google.protobuf.BoolValue - 26, // 44: com.coralogix.rules.v1.GetRuleGroupModelMappingRequest.CreateRuleSubgroup.CreateRule.order:type_name -> google.protobuf.UInt32Value - 30, // 45: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.Counts.parsing_themes:type_name -> google.protobuf.Int32Value - 30, // 46: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.Counts.groups:type_name -> google.protobuf.Int32Value - 30, // 47: com.coralogix.rules.v1.GetCompanyUsageLimitsResponse.Counts.rules:type_name -> google.protobuf.Int32Value - 31, // 48: com.coralogix.rules.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 49: com.coralogix.rules.v1.audit_log_description:type_name -> com.coralogix.rules.v1.AuditLogDescription - 1, // 50: com.coralogix.rules.v1.RuleGroupsService.GetRuleGroup:input_type -> com.coralogix.rules.v1.GetRuleGroupRequest - 2, // 51: com.coralogix.rules.v1.RuleGroupsService.ListRuleGroups:input_type -> com.coralogix.rules.v1.ListRuleGroupsRequest - 5, // 52: com.coralogix.rules.v1.RuleGroupsService.CreateRuleGroup:input_type -> com.coralogix.rules.v1.CreateRuleGroupRequest - 7, // 53: com.coralogix.rules.v1.RuleGroupsService.UpdateRuleGroup:input_type -> com.coralogix.rules.v1.UpdateRuleGroupRequest - 9, // 54: com.coralogix.rules.v1.RuleGroupsService.DeleteRuleGroup:input_type -> com.coralogix.rules.v1.DeleteRuleGroupRequest - 10, // 55: com.coralogix.rules.v1.RuleGroupsService.BulkDeleteRuleGroup:input_type -> com.coralogix.rules.v1.BulkDeleteRuleGroupRequest - 13, // 56: com.coralogix.rules.v1.RuleGroupsService.GetRuleGroupModelMapping:input_type -> com.coralogix.rules.v1.GetRuleGroupModelMappingRequest - 15, // 57: com.coralogix.rules.v1.RuleGroupsService.GetCompanyUsageLimits:input_type -> com.coralogix.rules.v1.GetCompanyUsageLimitsRequest - 4, // 58: com.coralogix.rules.v1.RuleGroupsService.GetRuleGroup:output_type -> com.coralogix.rules.v1.GetRuleGroupResponse - 3, // 59: com.coralogix.rules.v1.RuleGroupsService.ListRuleGroups:output_type -> com.coralogix.rules.v1.ListRuleGroupsResponse - 6, // 60: com.coralogix.rules.v1.RuleGroupsService.CreateRuleGroup:output_type -> com.coralogix.rules.v1.CreateRuleGroupResponse - 8, // 61: com.coralogix.rules.v1.RuleGroupsService.UpdateRuleGroup:output_type -> com.coralogix.rules.v1.UpdateRuleGroupResponse - 11, // 62: com.coralogix.rules.v1.RuleGroupsService.DeleteRuleGroup:output_type -> com.coralogix.rules.v1.DeleteRuleGroupResponse - 12, // 63: com.coralogix.rules.v1.RuleGroupsService.BulkDeleteRuleGroup:output_type -> com.coralogix.rules.v1.BulkDeleteRuleGroupResponse - 14, // 64: com.coralogix.rules.v1.RuleGroupsService.GetRuleGroupModelMapping:output_type -> com.coralogix.rules.v1.GetRuleGroupModelMappingResponse - 16, // 65: com.coralogix.rules.v1.RuleGroupsService.GetCompanyUsageLimits:output_type -> com.coralogix.rules.v1.GetCompanyUsageLimitsResponse - 58, // [58:66] is the sub-list for method output_type - 50, // [50:58] is the sub-list for method input_type - 49, // [49:50] is the sub-list for extension type_name - 48, // [48:49] is the sub-list for extension extendee - 0, // [0:48] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_groups_service_proto_init() } -func file_com_coralogix_rules_v1_rule_groups_service_proto_init() { - if File_com_coralogix_rules_v1_rule_groups_service_proto != nil { - return - } - file_com_coralogix_rules_v1_rule_proto_init() - file_com_coralogix_rules_v1_rule_group_proto_init() - file_com_coralogix_rules_v1_rule_matcher_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRuleGroupsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRuleGroupsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkDeleteRuleGroupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkDeleteRuleGroupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupModelMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupModelMappingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompanyUsageLimitsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompanyUsageLimitsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupRequest_CreateRuleSubgroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupModelMappingRequest_CreateRuleSubgroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleGroupModelMappingRequest_CreateRuleSubgroup_CreateRule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompanyUsageLimitsResponse_Counts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 22, - NumExtensions: 1, - NumServices: 1, - }, - GoTypes: file_com_coralogix_rules_v1_rule_groups_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_groups_service_proto_depIdxs, - MessageInfos: file_com_coralogix_rules_v1_rule_groups_service_proto_msgTypes, - ExtensionInfos: file_com_coralogix_rules_v1_rule_groups_service_proto_extTypes, - }.Build() - File_com_coralogix_rules_v1_rule_groups_service_proto = out.File - file_com_coralogix_rules_v1_rule_groups_service_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_groups_service_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_groups_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/rules-groups/v1/rule_groups_service_grpc.pb.go b/coralogix/clientset/grpc/rules-groups/v1/rule_groups_service_grpc.pb.go deleted file mode 100644 index b9b7a97f..00000000 --- a/coralogix/clientset/grpc/rules-groups/v1/rule_groups_service_grpc.pb.go +++ /dev/null @@ -1,357 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v5.27.1 -// source: com/coralogix/rules/v1/rule_groups_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 - -// RuleGroupsServiceClient is the client API for RuleGroupsService 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 RuleGroupsServiceClient interface { - GetRuleGroup(ctx context.Context, in *GetRuleGroupRequest, opts ...grpc.CallOption) (*GetRuleGroupResponse, error) - ListRuleGroups(ctx context.Context, in *ListRuleGroupsRequest, opts ...grpc.CallOption) (*ListRuleGroupsResponse, error) - CreateRuleGroup(ctx context.Context, in *CreateRuleGroupRequest, opts ...grpc.CallOption) (*CreateRuleGroupResponse, error) - UpdateRuleGroup(ctx context.Context, in *UpdateRuleGroupRequest, opts ...grpc.CallOption) (*UpdateRuleGroupResponse, error) - DeleteRuleGroup(ctx context.Context, in *DeleteRuleGroupRequest, opts ...grpc.CallOption) (*DeleteRuleGroupResponse, error) - BulkDeleteRuleGroup(ctx context.Context, in *BulkDeleteRuleGroupRequest, opts ...grpc.CallOption) (*BulkDeleteRuleGroupResponse, error) - GetRuleGroupModelMapping(ctx context.Context, in *GetRuleGroupModelMappingRequest, opts ...grpc.CallOption) (*GetRuleGroupModelMappingResponse, error) - GetCompanyUsageLimits(ctx context.Context, in *GetCompanyUsageLimitsRequest, opts ...grpc.CallOption) (*GetCompanyUsageLimitsResponse, error) -} - -type ruleGroupsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRuleGroupsServiceClient(cc grpc.ClientConnInterface) RuleGroupsServiceClient { - return &ruleGroupsServiceClient{cc} -} - -func (c *ruleGroupsServiceClient) GetRuleGroup(ctx context.Context, in *GetRuleGroupRequest, opts ...grpc.CallOption) (*GetRuleGroupResponse, error) { - out := new(GetRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/GetRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) ListRuleGroups(ctx context.Context, in *ListRuleGroupsRequest, opts ...grpc.CallOption) (*ListRuleGroupsResponse, error) { - out := new(ListRuleGroupsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/ListRuleGroups", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) CreateRuleGroup(ctx context.Context, in *CreateRuleGroupRequest, opts ...grpc.CallOption) (*CreateRuleGroupResponse, error) { - out := new(CreateRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/CreateRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) UpdateRuleGroup(ctx context.Context, in *UpdateRuleGroupRequest, opts ...grpc.CallOption) (*UpdateRuleGroupResponse, error) { - out := new(UpdateRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/UpdateRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) DeleteRuleGroup(ctx context.Context, in *DeleteRuleGroupRequest, opts ...grpc.CallOption) (*DeleteRuleGroupResponse, error) { - out := new(DeleteRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/DeleteRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) BulkDeleteRuleGroup(ctx context.Context, in *BulkDeleteRuleGroupRequest, opts ...grpc.CallOption) (*BulkDeleteRuleGroupResponse, error) { - out := new(BulkDeleteRuleGroupResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/BulkDeleteRuleGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) GetRuleGroupModelMapping(ctx context.Context, in *GetRuleGroupModelMappingRequest, opts ...grpc.CallOption) (*GetRuleGroupModelMappingResponse, error) { - out := new(GetRuleGroupModelMappingResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/GetRuleGroupModelMapping", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *ruleGroupsServiceClient) GetCompanyUsageLimits(ctx context.Context, in *GetCompanyUsageLimitsRequest, opts ...grpc.CallOption) (*GetCompanyUsageLimitsResponse, error) { - out := new(GetCompanyUsageLimitsResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.rules.v1.RuleGroupsService/GetCompanyUsageLimits", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RuleGroupsServiceServer is the server API for RuleGroupsService service. -// All implementations must embed UnimplementedRuleGroupsServiceServer -// for forward compatibility -type RuleGroupsServiceServer interface { - GetRuleGroup(context.Context, *GetRuleGroupRequest) (*GetRuleGroupResponse, error) - ListRuleGroups(context.Context, *ListRuleGroupsRequest) (*ListRuleGroupsResponse, error) - CreateRuleGroup(context.Context, *CreateRuleGroupRequest) (*CreateRuleGroupResponse, error) - UpdateRuleGroup(context.Context, *UpdateRuleGroupRequest) (*UpdateRuleGroupResponse, error) - DeleteRuleGroup(context.Context, *DeleteRuleGroupRequest) (*DeleteRuleGroupResponse, error) - BulkDeleteRuleGroup(context.Context, *BulkDeleteRuleGroupRequest) (*BulkDeleteRuleGroupResponse, error) - GetRuleGroupModelMapping(context.Context, *GetRuleGroupModelMappingRequest) (*GetRuleGroupModelMappingResponse, error) - GetCompanyUsageLimits(context.Context, *GetCompanyUsageLimitsRequest) (*GetCompanyUsageLimitsResponse, error) - mustEmbedUnimplementedRuleGroupsServiceServer() -} - -// UnimplementedRuleGroupsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedRuleGroupsServiceServer struct { -} - -func (UnimplementedRuleGroupsServiceServer) GetRuleGroup(context.Context, *GetRuleGroupRequest) (*GetRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) ListRuleGroups(context.Context, *ListRuleGroupsRequest) (*ListRuleGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListRuleGroups not implemented") -} -func (UnimplementedRuleGroupsServiceServer) CreateRuleGroup(context.Context, *CreateRuleGroupRequest) (*CreateRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) UpdateRuleGroup(context.Context, *UpdateRuleGroupRequest) (*UpdateRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) DeleteRuleGroup(context.Context, *DeleteRuleGroupRequest) (*DeleteRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) BulkDeleteRuleGroup(context.Context, *BulkDeleteRuleGroupRequest) (*BulkDeleteRuleGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkDeleteRuleGroup not implemented") -} -func (UnimplementedRuleGroupsServiceServer) GetRuleGroupModelMapping(context.Context, *GetRuleGroupModelMappingRequest) (*GetRuleGroupModelMappingResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRuleGroupModelMapping not implemented") -} -func (UnimplementedRuleGroupsServiceServer) GetCompanyUsageLimits(context.Context, *GetCompanyUsageLimitsRequest) (*GetCompanyUsageLimitsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCompanyUsageLimits not implemented") -} -func (UnimplementedRuleGroupsServiceServer) mustEmbedUnimplementedRuleGroupsServiceServer() {} - -// UnsafeRuleGroupsServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RuleGroupsServiceServer will -// result in compilation errors. -type UnsafeRuleGroupsServiceServer interface { - mustEmbedUnimplementedRuleGroupsServiceServer() -} - -func RegisterRuleGroupsServiceServer(s grpc.ServiceRegistrar, srv RuleGroupsServiceServer) { - s.RegisterService(&RuleGroupsService_ServiceDesc, srv) -} - -func _RuleGroupsService_GetRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).GetRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/GetRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).GetRuleGroup(ctx, req.(*GetRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_ListRuleGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListRuleGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).ListRuleGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/ListRuleGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).ListRuleGroups(ctx, req.(*ListRuleGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_CreateRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).CreateRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/CreateRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).CreateRuleGroup(ctx, req.(*CreateRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_UpdateRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).UpdateRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/UpdateRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).UpdateRuleGroup(ctx, req.(*UpdateRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_DeleteRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).DeleteRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/DeleteRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).DeleteRuleGroup(ctx, req.(*DeleteRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_BulkDeleteRuleGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkDeleteRuleGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).BulkDeleteRuleGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/BulkDeleteRuleGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).BulkDeleteRuleGroup(ctx, req.(*BulkDeleteRuleGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_GetRuleGroupModelMapping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRuleGroupModelMappingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).GetRuleGroupModelMapping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/GetRuleGroupModelMapping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).GetRuleGroupModelMapping(ctx, req.(*GetRuleGroupModelMappingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RuleGroupsService_GetCompanyUsageLimits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCompanyUsageLimitsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RuleGroupsServiceServer).GetCompanyUsageLimits(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.rules.v1.RuleGroupsService/GetCompanyUsageLimits", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RuleGroupsServiceServer).GetCompanyUsageLimits(ctx, req.(*GetCompanyUsageLimitsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RuleGroupsService_ServiceDesc is the grpc.ServiceDesc for RuleGroupsService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RuleGroupsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.rules.v1.RuleGroupsService", - HandlerType: (*RuleGroupsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRuleGroup", - Handler: _RuleGroupsService_GetRuleGroup_Handler, - }, - { - MethodName: "ListRuleGroups", - Handler: _RuleGroupsService_ListRuleGroups_Handler, - }, - { - MethodName: "CreateRuleGroup", - Handler: _RuleGroupsService_CreateRuleGroup_Handler, - }, - { - MethodName: "UpdateRuleGroup", - Handler: _RuleGroupsService_UpdateRuleGroup_Handler, - }, - { - MethodName: "DeleteRuleGroup", - Handler: _RuleGroupsService_DeleteRuleGroup_Handler, - }, - { - MethodName: "BulkDeleteRuleGroup", - Handler: _RuleGroupsService_BulkDeleteRuleGroup_Handler, - }, - { - MethodName: "GetRuleGroupModelMapping", - Handler: _RuleGroupsService_GetRuleGroupModelMapping_Handler, - }, - { - MethodName: "GetCompanyUsageLimits", - Handler: _RuleGroupsService_GetCompanyUsageLimits_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/rules/v1/rule_groups_service.proto", -} diff --git a/coralogix/clientset/grpc/rules-groups/v1/rule_matcher.pb.go b/coralogix/clientset/grpc/rules-groups/v1/rule_matcher.pb.go deleted file mode 100644 index 92cc2876..00000000 --- a/coralogix/clientset/grpc/rules-groups/v1/rule_matcher.pb.go +++ /dev/null @@ -1,487 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/rules/v1/rule_matcher.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 SeverityConstraint_Value int32 - -const ( - SeverityConstraint_VALUE_DEBUG_OR_UNSPECIFIED SeverityConstraint_Value = 0 - SeverityConstraint_VALUE_VERBOSE SeverityConstraint_Value = 1 - SeverityConstraint_VALUE_INFO SeverityConstraint_Value = 2 - SeverityConstraint_VALUE_WARNING SeverityConstraint_Value = 3 - SeverityConstraint_VALUE_ERROR SeverityConstraint_Value = 4 - SeverityConstraint_VALUE_CRITICAL SeverityConstraint_Value = 5 -) - -// Enum value maps for SeverityConstraint_Value. -var ( - SeverityConstraint_Value_name = map[int32]string{ - 0: "VALUE_DEBUG_OR_UNSPECIFIED", - 1: "VALUE_VERBOSE", - 2: "VALUE_INFO", - 3: "VALUE_WARNING", - 4: "VALUE_ERROR", - 5: "VALUE_CRITICAL", - } - SeverityConstraint_Value_value = map[string]int32{ - "VALUE_DEBUG_OR_UNSPECIFIED": 0, - "VALUE_VERBOSE": 1, - "VALUE_INFO": 2, - "VALUE_WARNING": 3, - "VALUE_ERROR": 4, - "VALUE_CRITICAL": 5, - } -) - -func (x SeverityConstraint_Value) Enum() *SeverityConstraint_Value { - p := new(SeverityConstraint_Value) - *p = x - return p -} - -func (x SeverityConstraint_Value) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SeverityConstraint_Value) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes[0].Descriptor() -} - -func (SeverityConstraint_Value) Type() protoreflect.EnumType { - return &file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes[0] -} - -func (x SeverityConstraint_Value) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SeverityConstraint_Value.Descriptor instead. -func (SeverityConstraint_Value) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{3, 0} -} - -type RuleMatcher struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Constraint: - // *RuleMatcher_ApplicationName - // *RuleMatcher_SubsystemName - // *RuleMatcher_Severity - Constraint isRuleMatcher_Constraint `protobuf_oneof:"constraint"` -} - -func (x *RuleMatcher) Reset() { - *x = RuleMatcher{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleMatcher) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleMatcher) ProtoMessage() {} - -func (x *RuleMatcher) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_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 RuleMatcher.ProtoReflect.Descriptor instead. -func (*RuleMatcher) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{0} -} - -func (m *RuleMatcher) GetConstraint() isRuleMatcher_Constraint { - if m != nil { - return m.Constraint - } - return nil -} - -func (x *RuleMatcher) GetApplicationName() *ApplicationNameConstraint { - if x, ok := x.GetConstraint().(*RuleMatcher_ApplicationName); ok { - return x.ApplicationName - } - return nil -} - -func (x *RuleMatcher) GetSubsystemName() *SubsystemNameConstraint { - if x, ok := x.GetConstraint().(*RuleMatcher_SubsystemName); ok { - return x.SubsystemName - } - return nil -} - -func (x *RuleMatcher) GetSeverity() *SeverityConstraint { - if x, ok := x.GetConstraint().(*RuleMatcher_Severity); ok { - return x.Severity - } - return nil -} - -type isRuleMatcher_Constraint interface { - isRuleMatcher_Constraint() -} - -type RuleMatcher_ApplicationName struct { - ApplicationName *ApplicationNameConstraint `protobuf:"bytes,1,opt,name=application_name,json=applicationName,proto3,oneof"` -} - -type RuleMatcher_SubsystemName struct { - SubsystemName *SubsystemNameConstraint `protobuf:"bytes,2,opt,name=subsystem_name,json=subsystemName,proto3,oneof"` -} - -type RuleMatcher_Severity struct { - Severity *SeverityConstraint `protobuf:"bytes,9,opt,name=severity,proto3,oneof"` -} - -func (*RuleMatcher_ApplicationName) isRuleMatcher_Constraint() {} - -func (*RuleMatcher_SubsystemName) isRuleMatcher_Constraint() {} - -func (*RuleMatcher_Severity) isRuleMatcher_Constraint() {} - -type ApplicationNameConstraint 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 *ApplicationNameConstraint) Reset() { - *x = ApplicationNameConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplicationNameConstraint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplicationNameConstraint) ProtoMessage() {} - -func (x *ApplicationNameConstraint) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_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 ApplicationNameConstraint.ProtoReflect.Descriptor instead. -func (*ApplicationNameConstraint) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{1} -} - -func (x *ApplicationNameConstraint) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type SubsystemNameConstraint 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 *SubsystemNameConstraint) Reset() { - *x = SubsystemNameConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SubsystemNameConstraint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubsystemNameConstraint) ProtoMessage() {} - -func (x *SubsystemNameConstraint) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_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 SubsystemNameConstraint.ProtoReflect.Descriptor instead. -func (*SubsystemNameConstraint) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{2} -} - -func (x *SubsystemNameConstraint) GetValue() *wrapperspb.StringValue { - if x != nil { - return x.Value - } - return nil -} - -type SeverityConstraint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value SeverityConstraint_Value `protobuf:"varint,1,opt,name=value,proto3,enum=com.coralogix.rules.v1.SeverityConstraint_Value" json:"value,omitempty"` -} - -func (x *SeverityConstraint) Reset() { - *x = SeverityConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SeverityConstraint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SeverityConstraint) ProtoMessage() {} - -func (x *SeverityConstraint) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_matcher_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 SeverityConstraint.ProtoReflect.Descriptor instead. -func (*SeverityConstraint) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP(), []int{3} -} - -func (x *SeverityConstraint) GetValue() SeverityConstraint_Value { - if x != nil { - return x.Value - } - return SeverityConstraint_VALUE_DEBUG_OR_UNSPECIFIED -} - -var File_com_coralogix_rules_v1_rule_matcher_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x2e, 0x76, 0x31, 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, 0x9f, 0x02, 0x0a, 0x0b, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x72, 0x12, 0x5e, 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, 0x31, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, - 0x48, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, - 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, - 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, - 0x79, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x42, 0x0c, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x74, - 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0x4f, 0x0a, 0x19, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x74, 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, 0x4d, 0x0a, 0x17, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, - 0x74, 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, 0xe1, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, - 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, - 0x0a, 0x1a, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x5f, 0x4f, 0x52, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, - 0x0a, 0x0d, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x42, 0x4f, 0x53, 0x45, 0x10, - 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, - 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, - 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x43, - 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x05, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData = file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_matcher_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_matcher_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_com_coralogix_rules_v1_rule_matcher_proto_goTypes = []interface{}{ - (SeverityConstraint_Value)(0), // 0: com.coralogix.rules.v1.SeverityConstraint.Value - (*RuleMatcher)(nil), // 1: com.coralogix.rules.v1.RuleMatcher - (*ApplicationNameConstraint)(nil), // 2: com.coralogix.rules.v1.ApplicationNameConstraint - (*SubsystemNameConstraint)(nil), // 3: com.coralogix.rules.v1.SubsystemNameConstraint - (*SeverityConstraint)(nil), // 4: com.coralogix.rules.v1.SeverityConstraint - (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue -} -var file_com_coralogix_rules_v1_rule_matcher_proto_depIdxs = []int32{ - 2, // 0: com.coralogix.rules.v1.RuleMatcher.application_name:type_name -> com.coralogix.rules.v1.ApplicationNameConstraint - 3, // 1: com.coralogix.rules.v1.RuleMatcher.subsystem_name:type_name -> com.coralogix.rules.v1.SubsystemNameConstraint - 4, // 2: com.coralogix.rules.v1.RuleMatcher.severity:type_name -> com.coralogix.rules.v1.SeverityConstraint - 5, // 3: com.coralogix.rules.v1.ApplicationNameConstraint.value:type_name -> google.protobuf.StringValue - 5, // 4: com.coralogix.rules.v1.SubsystemNameConstraint.value:type_name -> google.protobuf.StringValue - 0, // 5: com.coralogix.rules.v1.SeverityConstraint.value:type_name -> com.coralogix.rules.v1.SeverityConstraint.Value - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_matcher_proto_init() } -func file_com_coralogix_rules_v1_rule_matcher_proto_init() { - if File_com_coralogix_rules_v1_rule_matcher_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleMatcher); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplicationNameConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubsystemNameConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SeverityConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*RuleMatcher_ApplicationName)(nil), - (*RuleMatcher_SubsystemName)(nil), - (*RuleMatcher_Severity)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc, - NumEnums: 1, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_matcher_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_matcher_proto_depIdxs, - EnumInfos: file_com_coralogix_rules_v1_rule_matcher_proto_enumTypes, - MessageInfos: file_com_coralogix_rules_v1_rule_matcher_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_matcher_proto = out.File - file_com_coralogix_rules_v1_rule_matcher_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_matcher_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_matcher_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/rules-groups/v1/rule_subgroup.pb.go b/coralogix/clientset/grpc/rules-groups/v1/rule_subgroup.pb.go deleted file mode 100644 index 61a66ce0..00000000 --- a/coralogix/clientset/grpc/rules-groups/v1/rule_subgroup.pb.go +++ /dev/null @@ -1,194 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v5.27.1 -// source: com/coralogix/rules/v1/rule_subgroup.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 RuleSubgroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"` -} - -func (x *RuleSubgroup) Reset() { - *x = RuleSubgroup{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RuleSubgroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RuleSubgroup) ProtoMessage() {} - -func (x *RuleSubgroup) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_rules_v1_rule_subgroup_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 RuleSubgroup.ProtoReflect.Descriptor instead. -func (*RuleSubgroup) Descriptor() ([]byte, []int) { - return file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescGZIP(), []int{0} -} - -func (x *RuleSubgroup) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *RuleSubgroup) GetRules() []*Rule { - if x != nil { - return x.Rules - } - return nil -} - -func (x *RuleSubgroup) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *RuleSubgroup) GetOrder() *wrapperspb.UInt32Value { - if x != nil { - return x.Order - } - return nil -} - -var File_com_coralogix_rules_v1_rule_subgroup_proto protoreflect.FileDescriptor - -var file_com_coralogix_rules_v1_rule_subgroup_proto_rawDesc = []byte{ - 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x75, - 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x76, 0x31, 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, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x01, 0x0a, 0x0c, 0x52, 0x75, 0x6c, 0x65, - 0x53, 0x75, 0x62, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x32, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 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, 0x32, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescOnce sync.Once - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData = file_com_coralogix_rules_v1_rule_subgroup_proto_rawDesc -) - -func file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescGZIP() []byte { - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescOnce.Do(func() { - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData) - }) - return file_com_coralogix_rules_v1_rule_subgroup_proto_rawDescData -} - -var file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_rules_v1_rule_subgroup_proto_goTypes = []interface{}{ - (*RuleSubgroup)(nil), // 0: com.coralogix.rules.v1.RuleSubgroup - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*Rule)(nil), // 2: com.coralogix.rules.v1.Rule - (*wrapperspb.BoolValue)(nil), // 3: google.protobuf.BoolValue - (*wrapperspb.UInt32Value)(nil), // 4: google.protobuf.UInt32Value -} -var file_com_coralogix_rules_v1_rule_subgroup_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.rules.v1.RuleSubgroup.id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.rules.v1.RuleSubgroup.rules:type_name -> com.coralogix.rules.v1.Rule - 3, // 2: com.coralogix.rules.v1.RuleSubgroup.enabled:type_name -> google.protobuf.BoolValue - 4, // 3: com.coralogix.rules.v1.RuleSubgroup.order:type_name -> google.protobuf.UInt32Value - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_com_coralogix_rules_v1_rule_subgroup_proto_init() } -func file_com_coralogix_rules_v1_rule_subgroup_proto_init() { - if File_com_coralogix_rules_v1_rule_subgroup_proto != nil { - return - } - file_com_coralogix_rules_v1_rule_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RuleSubgroup); 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_coralogix_rules_v1_rule_subgroup_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_rules_v1_rule_subgroup_proto_goTypes, - DependencyIndexes: file_com_coralogix_rules_v1_rule_subgroup_proto_depIdxs, - MessageInfos: file_com_coralogix_rules_v1_rule_subgroup_proto_msgTypes, - }.Build() - File_com_coralogix_rules_v1_rule_subgroup_proto = out.File - file_com_coralogix_rules_v1_rule_subgroup_proto_rawDesc = nil - file_com_coralogix_rules_v1_rule_subgroup_proto_goTypes = nil - file_com_coralogix_rules_v1_rule_subgroup_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/scopes/entity_type.pb.go b/coralogix/clientset/grpc/scopes/entity_type.pb.go deleted file mode 100644 index 3abe6366..00000000 --- a/coralogix/clientset/grpc/scopes/entity_type.pb.go +++ /dev/null @@ -1,133 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: com/coralogixapis/scopes/v1/entity_type.proto - -package scopes - -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 EntityType int32 - -const ( - EntityType_UNSPECIFIED EntityType = 0 - EntityType_LOGS EntityType = 1 - EntityType_SPANS EntityType = 2 -) - -// Enum value maps for EntityType. -var ( - EntityType_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "LOGS", - 2: "SPANS", - } - EntityType_value = map[string]int32{ - "UNSPECIFIED": 0, - "LOGS": 1, - "SPANS": 2, - } -) - -func (x EntityType) Enum() *EntityType { - p := new(EntityType) - *p = x - return p -} - -func (x EntityType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (EntityType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_scopes_v1_entity_type_proto_enumTypes[0].Descriptor() -} - -func (EntityType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_scopes_v1_entity_type_proto_enumTypes[0] -} - -func (x EntityType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use EntityType.Descriptor instead. -func (EntityType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescGZIP(), []int{0} -} - -var File_com_coralogixapis_scopes_v1_entity_type_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_scopes_v1_entity_type_proto_rawDesc = []byte{ - 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2a, 0x32, 0x0a, 0x0a, - 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4c, - 0x4f, 0x47, 0x53, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 0x41, 0x4e, 0x53, 0x10, 0x02, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescOnce sync.Once - file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescData = file_com_coralogixapis_scopes_v1_entity_type_proto_rawDesc -) - -func file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescGZIP() []byte { - file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescData) - }) - return file_com_coralogixapis_scopes_v1_entity_type_proto_rawDescData -} - -var file_com_coralogixapis_scopes_v1_entity_type_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_scopes_v1_entity_type_proto_goTypes = []interface{}{ - (EntityType)(0), // 0: com.coralogixapis.scopes.v1.EntityType -} -var file_com_coralogixapis_scopes_v1_entity_type_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_scopes_v1_entity_type_proto_init() } -func file_com_coralogixapis_scopes_v1_entity_type_proto_init() { - if File_com_coralogixapis_scopes_v1_entity_type_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_scopes_v1_entity_type_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_scopes_v1_entity_type_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_scopes_v1_entity_type_proto_depIdxs, - EnumInfos: file_com_coralogixapis_scopes_v1_entity_type_proto_enumTypes, - }.Build() - File_com_coralogixapis_scopes_v1_entity_type_proto = out.File - file_com_coralogixapis_scopes_v1_entity_type_proto_rawDesc = nil - file_com_coralogixapis_scopes_v1_entity_type_proto_goTypes = nil - file_com_coralogixapis_scopes_v1_entity_type_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/scopes/scopes.pb.go b/coralogix/clientset/grpc/scopes/scopes.pb.go deleted file mode 100644 index 3a3922e5..00000000 --- a/coralogix/clientset/grpc/scopes/scopes.pb.go +++ /dev/null @@ -1,968 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.1 -// protoc v5.26.1 -// source: com/coralogixapis/scopes/v1/scopes.proto - -package scopes - -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 Scope struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` - TeamId int32 `protobuf:"varint,4,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` - Filters []*Filter `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty"` - DefaultExpression string `protobuf:"bytes,6,opt,name=default_expression,json=defaultExpression,proto3" json:"default_expression,omitempty"` -} - -func (x *Scope) Reset() { - *x = Scope{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Scope) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Scope) ProtoMessage() {} - -func (x *Scope) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 Scope.ProtoReflect.Descriptor instead. -func (*Scope) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{0} -} - -func (x *Scope) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Scope) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -func (x *Scope) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *Scope) GetTeamId() int32 { - if x != nil { - return x.TeamId - } - return 0 -} - -func (x *Scope) GetFilters() []*Filter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Scope) GetDefaultExpression() string { - if x != nil { - return x.DefaultExpression - } - return "" -} - -type Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EntityType EntityType `protobuf:"varint,1,opt,name=entity_type,json=entityType,proto3,enum=com.coralogixapis.scopes.v1.EntityType" json:"entity_type,omitempty"` - Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // deserialized expression -} - -func (x *Filter) Reset() { - *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Filter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Filter) ProtoMessage() {} - -func (x *Filter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 Filter.ProtoReflect.Descriptor instead. -func (*Filter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{1} -} - -func (x *Filter) GetEntityType() EntityType { - if x != nil { - return x.EntityType - } - return EntityType_UNSPECIFIED -} - -func (x *Filter) GetExpression() string { - if x != nil { - return x.Expression - } - return "" -} - -// We get user information from context -// Source: https://www.notion.so/coralogix/Generic-Scopes-7ba56b0ba8f846228ca34fa6257f7258?pvs=4#3d61c9746d0c407b9b40e35deca9e60c -type GetTeamScopesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetTeamScopesRequest) Reset() { - *x = GetTeamScopesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamScopesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamScopesRequest) ProtoMessage() {} - -func (x *GetTeamScopesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 GetTeamScopesRequest.ProtoReflect.Descriptor instead. -func (*GetTeamScopesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{2} -} - -type GetTeamScopesByIdsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` -} - -func (x *GetTeamScopesByIdsRequest) Reset() { - *x = GetTeamScopesByIdsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamScopesByIdsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamScopesByIdsRequest) ProtoMessage() {} - -func (x *GetTeamScopesByIdsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 GetTeamScopesByIdsRequest.ProtoReflect.Descriptor instead. -func (*GetTeamScopesByIdsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{3} -} - -func (x *GetTeamScopesByIdsRequest) GetIds() []string { - if x != nil { - return x.Ids - } - return nil -} - -type GetScopesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Scopes []*Scope `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"` -} - -func (x *GetScopesResponse) Reset() { - *x = GetScopesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetScopesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetScopesResponse) ProtoMessage() {} - -func (x *GetScopesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 GetScopesResponse.ProtoReflect.Descriptor instead. -func (*GetScopesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{4} -} - -func (x *GetScopesResponse) GetScopes() []*Scope { - if x != nil { - return x.Scopes - } - return nil -} - -type CreateScopeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` - Filters []*Filter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` - DefaultExpression string `protobuf:"bytes,4,opt,name=default_expression,json=defaultExpression,proto3" json:"default_expression,omitempty"` -} - -func (x *CreateScopeRequest) Reset() { - *x = CreateScopeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateScopeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateScopeRequest) ProtoMessage() {} - -func (x *CreateScopeRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 CreateScopeRequest.ProtoReflect.Descriptor instead. -func (*CreateScopeRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{5} -} - -func (x *CreateScopeRequest) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -func (x *CreateScopeRequest) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *CreateScopeRequest) GetFilters() []*Filter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *CreateScopeRequest) GetDefaultExpression() string { - if x != nil { - return x.DefaultExpression - } - return "" -} - -type CreateScopeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` -} - -func (x *CreateScopeResponse) Reset() { - *x = CreateScopeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateScopeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateScopeResponse) ProtoMessage() {} - -func (x *CreateScopeResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 CreateScopeResponse.ProtoReflect.Descriptor instead. -func (*CreateScopeResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{6} -} - -func (x *CreateScopeResponse) GetScope() *Scope { - if x != nil { - return x.Scope - } - return nil -} - -type UpdateScopeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` - Filters []*Filter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` - DefaultExpression string `protobuf:"bytes,5,opt,name=default_expression,json=defaultExpression,proto3" json:"default_expression,omitempty"` -} - -func (x *UpdateScopeRequest) Reset() { - *x = UpdateScopeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateScopeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateScopeRequest) ProtoMessage() {} - -func (x *UpdateScopeRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 UpdateScopeRequest.ProtoReflect.Descriptor instead. -func (*UpdateScopeRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{7} -} - -func (x *UpdateScopeRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UpdateScopeRequest) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -func (x *UpdateScopeRequest) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *UpdateScopeRequest) GetFilters() []*Filter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *UpdateScopeRequest) GetDefaultExpression() string { - if x != nil { - return x.DefaultExpression - } - return "" -} - -type UpdateScopeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` -} - -func (x *UpdateScopeResponse) Reset() { - *x = UpdateScopeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateScopeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateScopeResponse) ProtoMessage() {} - -func (x *UpdateScopeResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 UpdateScopeResponse.ProtoReflect.Descriptor instead. -func (*UpdateScopeResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{8} -} - -func (x *UpdateScopeResponse) GetScope() *Scope { - if x != nil { - return x.Scope - } - return nil -} - -type DeleteScopeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteScopeRequest) Reset() { - *x = DeleteScopeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteScopeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteScopeRequest) ProtoMessage() {} - -func (x *DeleteScopeRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 DeleteScopeRequest.ProtoReflect.Descriptor instead. -func (*DeleteScopeRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{9} -} - -func (x *DeleteScopeRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type DeleteScopeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteScopeResponse) Reset() { - *x = DeleteScopeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteScopeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteScopeResponse) ProtoMessage() {} - -func (x *DeleteScopeResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_scopes_v1_scopes_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 DeleteScopeResponse.ProtoReflect.Descriptor instead. -func (*DeleteScopeResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP(), []int{10} -} - -var File_com_coralogixapis_scopes_v1_scopes_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_scopes_v1_scopes_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf8, 0x01, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x70, 0x65, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, - 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x65, 0x61, - 0x6d, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, - 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x72, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x0b, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, - 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2d, 0x0a, - 0x19, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0x79, - 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x4f, 0x0a, 0x11, - 0x47, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x22, 0xdc, 0x01, - 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x3d, - 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, - 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, - 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4f, 0x0a, 0x13, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0xec, 0x01, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x3d, - 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, - 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, - 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4f, 0x0a, 0x13, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0x24, 0x0a, - 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x6f, - 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe1, 0x04, 0x0a, 0x0d, 0x53, - 0x63, 0x6f, 0x70, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7e, 0x0a, 0x12, - 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, - 0x64, 0x73, 0x12, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0x79, - 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, - 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0d, - 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x31, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, - 0x65, 0x61, 0x6d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, - 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0b, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, - 0x6f, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x73, - 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x63, 0x6f, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_scopes_v1_scopes_proto_rawDescOnce sync.Once - file_com_coralogixapis_scopes_v1_scopes_proto_rawDescData = file_com_coralogixapis_scopes_v1_scopes_proto_rawDesc -) - -func file_com_coralogixapis_scopes_v1_scopes_proto_rawDescGZIP() []byte { - file_com_coralogixapis_scopes_v1_scopes_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_scopes_v1_scopes_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_scopes_v1_scopes_proto_rawDescData) - }) - return file_com_coralogixapis_scopes_v1_scopes_proto_rawDescData -} - -var file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_com_coralogixapis_scopes_v1_scopes_proto_goTypes = []interface{}{ - (*Scope)(nil), // 0: com.coralogixapis.scopes.v1.Scope - (*Filter)(nil), // 1: com.coralogixapis.scopes.v1.Filter - (*GetTeamScopesRequest)(nil), // 2: com.coralogixapis.scopes.v1.GetTeamScopesRequest - (*GetTeamScopesByIdsRequest)(nil), // 3: com.coralogixapis.scopes.v1.GetTeamScopesByIdsRequest - (*GetScopesResponse)(nil), // 4: com.coralogixapis.scopes.v1.GetScopesResponse - (*CreateScopeRequest)(nil), // 5: com.coralogixapis.scopes.v1.CreateScopeRequest - (*CreateScopeResponse)(nil), // 6: com.coralogixapis.scopes.v1.CreateScopeResponse - (*UpdateScopeRequest)(nil), // 7: com.coralogixapis.scopes.v1.UpdateScopeRequest - (*UpdateScopeResponse)(nil), // 8: com.coralogixapis.scopes.v1.UpdateScopeResponse - (*DeleteScopeRequest)(nil), // 9: com.coralogixapis.scopes.v1.DeleteScopeRequest - (*DeleteScopeResponse)(nil), // 10: com.coralogixapis.scopes.v1.DeleteScopeResponse - (EntityType)(0), // 11: com.coralogixapis.scopes.v1.EntityType -} -var file_com_coralogixapis_scopes_v1_scopes_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.scopes.v1.Scope.filters:type_name -> com.coralogixapis.scopes.v1.Filter - 11, // 1: com.coralogixapis.scopes.v1.Filter.entity_type:type_name -> com.coralogixapis.scopes.v1.EntityType - 0, // 2: com.coralogixapis.scopes.v1.GetScopesResponse.scopes:type_name -> com.coralogixapis.scopes.v1.Scope - 1, // 3: com.coralogixapis.scopes.v1.CreateScopeRequest.filters:type_name -> com.coralogixapis.scopes.v1.Filter - 0, // 4: com.coralogixapis.scopes.v1.CreateScopeResponse.scope:type_name -> com.coralogixapis.scopes.v1.Scope - 1, // 5: com.coralogixapis.scopes.v1.UpdateScopeRequest.filters:type_name -> com.coralogixapis.scopes.v1.Filter - 0, // 6: com.coralogixapis.scopes.v1.UpdateScopeResponse.scope:type_name -> com.coralogixapis.scopes.v1.Scope - 3, // 7: com.coralogixapis.scopes.v1.ScopesService.GetTeamScopesByIds:input_type -> com.coralogixapis.scopes.v1.GetTeamScopesByIdsRequest - 2, // 8: com.coralogixapis.scopes.v1.ScopesService.GetTeamScopes:input_type -> com.coralogixapis.scopes.v1.GetTeamScopesRequest - 5, // 9: com.coralogixapis.scopes.v1.ScopesService.CreateScope:input_type -> com.coralogixapis.scopes.v1.CreateScopeRequest - 7, // 10: com.coralogixapis.scopes.v1.ScopesService.UpdateScope:input_type -> com.coralogixapis.scopes.v1.UpdateScopeRequest - 9, // 11: com.coralogixapis.scopes.v1.ScopesService.DeleteScope:input_type -> com.coralogixapis.scopes.v1.DeleteScopeRequest - 4, // 12: com.coralogixapis.scopes.v1.ScopesService.GetTeamScopesByIds:output_type -> com.coralogixapis.scopes.v1.GetScopesResponse - 4, // 13: com.coralogixapis.scopes.v1.ScopesService.GetTeamScopes:output_type -> com.coralogixapis.scopes.v1.GetScopesResponse - 6, // 14: com.coralogixapis.scopes.v1.ScopesService.CreateScope:output_type -> com.coralogixapis.scopes.v1.CreateScopeResponse - 8, // 15: com.coralogixapis.scopes.v1.ScopesService.UpdateScope:output_type -> com.coralogixapis.scopes.v1.UpdateScopeResponse - 10, // 16: com.coralogixapis.scopes.v1.ScopesService.DeleteScope:output_type -> com.coralogixapis.scopes.v1.DeleteScopeResponse - 12, // [12:17] is the sub-list for method output_type - 7, // [7:12] 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_scopes_v1_scopes_proto_init() } -func file_com_coralogixapis_scopes_v1_scopes_proto_init() { - if File_com_coralogixapis_scopes_v1_scopes_proto != nil { - return - } - file_com_coralogixapis_scopes_v1_entity_type_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Scope); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamScopesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamScopesByIdsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetScopesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateScopeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateScopeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateScopeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateScopeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteScopeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteScopeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes[7].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_scopes_v1_scopes_proto_rawDesc, - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_scopes_v1_scopes_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_scopes_v1_scopes_proto_depIdxs, - MessageInfos: file_com_coralogixapis_scopes_v1_scopes_proto_msgTypes, - }.Build() - File_com_coralogixapis_scopes_v1_scopes_proto = out.File - file_com_coralogixapis_scopes_v1_scopes_proto_rawDesc = nil - file_com_coralogixapis_scopes_v1_scopes_proto_goTypes = nil - file_com_coralogixapis_scopes_v1_scopes_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/scopes/scopes_grpc.pb.go b/coralogix/clientset/grpc/scopes/scopes_grpc.pb.go deleted file mode 100644 index 2f76f557..00000000 --- a/coralogix/clientset/grpc/scopes/scopes_grpc.pb.go +++ /dev/null @@ -1,257 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc v5.26.1 -// source: com/coralogixapis/scopes/v1/scopes.proto - -package scopes - -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 - -const ( - ScopesService_GetTeamScopesByIds_FullMethodName = "/com.coralogixapis.scopes.v1.ScopesService/GetTeamScopesByIds" - ScopesService_GetTeamScopes_FullMethodName = "/com.coralogixapis.scopes.v1.ScopesService/GetTeamScopes" - ScopesService_CreateScope_FullMethodName = "/com.coralogixapis.scopes.v1.ScopesService/CreateScope" - ScopesService_UpdateScope_FullMethodName = "/com.coralogixapis.scopes.v1.ScopesService/UpdateScope" - ScopesService_DeleteScope_FullMethodName = "/com.coralogixapis.scopes.v1.ScopesService/DeleteScope" -) - -// ScopesServiceClient is the client API for ScopesService 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 ScopesServiceClient interface { - GetTeamScopesByIds(ctx context.Context, in *GetTeamScopesByIdsRequest, opts ...grpc.CallOption) (*GetScopesResponse, error) - GetTeamScopes(ctx context.Context, in *GetTeamScopesRequest, opts ...grpc.CallOption) (*GetScopesResponse, error) - CreateScope(ctx context.Context, in *CreateScopeRequest, opts ...grpc.CallOption) (*CreateScopeResponse, error) - UpdateScope(ctx context.Context, in *UpdateScopeRequest, opts ...grpc.CallOption) (*UpdateScopeResponse, error) - DeleteScope(ctx context.Context, in *DeleteScopeRequest, opts ...grpc.CallOption) (*DeleteScopeResponse, error) -} - -type scopesServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewScopesServiceClient(cc grpc.ClientConnInterface) ScopesServiceClient { - return &scopesServiceClient{cc} -} - -func (c *scopesServiceClient) GetTeamScopesByIds(ctx context.Context, in *GetTeamScopesByIdsRequest, opts ...grpc.CallOption) (*GetScopesResponse, error) { - out := new(GetScopesResponse) - err := c.cc.Invoke(ctx, ScopesService_GetTeamScopesByIds_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *scopesServiceClient) GetTeamScopes(ctx context.Context, in *GetTeamScopesRequest, opts ...grpc.CallOption) (*GetScopesResponse, error) { - out := new(GetScopesResponse) - err := c.cc.Invoke(ctx, ScopesService_GetTeamScopes_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *scopesServiceClient) CreateScope(ctx context.Context, in *CreateScopeRequest, opts ...grpc.CallOption) (*CreateScopeResponse, error) { - out := new(CreateScopeResponse) - err := c.cc.Invoke(ctx, ScopesService_CreateScope_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *scopesServiceClient) UpdateScope(ctx context.Context, in *UpdateScopeRequest, opts ...grpc.CallOption) (*UpdateScopeResponse, error) { - out := new(UpdateScopeResponse) - err := c.cc.Invoke(ctx, ScopesService_UpdateScope_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *scopesServiceClient) DeleteScope(ctx context.Context, in *DeleteScopeRequest, opts ...grpc.CallOption) (*DeleteScopeResponse, error) { - out := new(DeleteScopeResponse) - err := c.cc.Invoke(ctx, ScopesService_DeleteScope_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ScopesServiceServer is the server API for ScopesService service. -// All implementations must embed UnimplementedScopesServiceServer -// for forward compatibility -type ScopesServiceServer interface { - GetTeamScopesByIds(context.Context, *GetTeamScopesByIdsRequest) (*GetScopesResponse, error) - GetTeamScopes(context.Context, *GetTeamScopesRequest) (*GetScopesResponse, error) - CreateScope(context.Context, *CreateScopeRequest) (*CreateScopeResponse, error) - UpdateScope(context.Context, *UpdateScopeRequest) (*UpdateScopeResponse, error) - DeleteScope(context.Context, *DeleteScopeRequest) (*DeleteScopeResponse, error) - mustEmbedUnimplementedScopesServiceServer() -} - -// UnimplementedScopesServiceServer must be embedded to have forward compatible implementations. -type UnimplementedScopesServiceServer struct { -} - -func (UnimplementedScopesServiceServer) GetTeamScopesByIds(context.Context, *GetTeamScopesByIdsRequest) (*GetScopesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTeamScopesByIds not implemented") -} -func (UnimplementedScopesServiceServer) GetTeamScopes(context.Context, *GetTeamScopesRequest) (*GetScopesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTeamScopes not implemented") -} -func (UnimplementedScopesServiceServer) CreateScope(context.Context, *CreateScopeRequest) (*CreateScopeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateScope not implemented") -} -func (UnimplementedScopesServiceServer) UpdateScope(context.Context, *UpdateScopeRequest) (*UpdateScopeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateScope not implemented") -} -func (UnimplementedScopesServiceServer) DeleteScope(context.Context, *DeleteScopeRequest) (*DeleteScopeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteScope not implemented") -} -func (UnimplementedScopesServiceServer) mustEmbedUnimplementedScopesServiceServer() {} - -// UnsafeScopesServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ScopesServiceServer will -// result in compilation errors. -type UnsafeScopesServiceServer interface { - mustEmbedUnimplementedScopesServiceServer() -} - -func RegisterScopesServiceServer(s grpc.ServiceRegistrar, srv ScopesServiceServer) { - s.RegisterService(&ScopesService_ServiceDesc, srv) -} - -func _ScopesService_GetTeamScopesByIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTeamScopesByIdsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ScopesServiceServer).GetTeamScopesByIds(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ScopesService_GetTeamScopesByIds_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ScopesServiceServer).GetTeamScopesByIds(ctx, req.(*GetTeamScopesByIdsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ScopesService_GetTeamScopes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTeamScopesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ScopesServiceServer).GetTeamScopes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ScopesService_GetTeamScopes_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ScopesServiceServer).GetTeamScopes(ctx, req.(*GetTeamScopesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ScopesService_CreateScope_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateScopeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ScopesServiceServer).CreateScope(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ScopesService_CreateScope_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ScopesServiceServer).CreateScope(ctx, req.(*CreateScopeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ScopesService_UpdateScope_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateScopeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ScopesServiceServer).UpdateScope(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ScopesService_UpdateScope_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ScopesServiceServer).UpdateScope(ctx, req.(*UpdateScopeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ScopesService_DeleteScope_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteScopeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ScopesServiceServer).DeleteScope(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ScopesService_DeleteScope_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ScopesServiceServer).DeleteScope(ctx, req.(*DeleteScopeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ScopesService_ServiceDesc is the grpc.ServiceDesc for ScopesService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ScopesService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.scopes.v1.ScopesService", - HandlerType: (*ScopesServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTeamScopesByIds", - Handler: _ScopesService_GetTeamScopesByIds_Handler, - }, - { - MethodName: "GetTeamScopes", - Handler: _ScopesService_GetTeamScopes_Handler, - }, - { - MethodName: "CreateScope", - Handler: _ScopesService_CreateScope_Handler, - }, - { - MethodName: "UpdateScope", - Handler: _ScopesService_UpdateScope_Handler, - }, - { - MethodName: "DeleteScope", - Handler: _ScopesService_DeleteScope_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/scopes/v1/scopes.proto", -} diff --git a/coralogix/clientset/grpc/sli/audit_log.pb.go b/coralogix/clientset/grpc/sli/audit_log.pb.go deleted file mode 100644 index 4465f3bf..00000000 --- a/coralogix/clientset/grpc/sli/audit_log.pb.go +++ /dev/null @@ -1,178 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/catalog/v1/audit_log.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - 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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -var file_com_coralogix_catalog_v1_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5004, - Name: "com.coralogix.catalog.v1.audit_log_description", - Tag: "bytes,5004,opt,name=audit_log_description", - Filename: "com/coralogix/catalog/v1/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogix.catalog.v1.AuditLogDescription audit_log_description = 5004; - E_AuditLogDescription = &file_com_coralogix_catalog_v1_audit_log_proto_extTypes[0] -) - -var File_com_coralogix_catalog_v1_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogix_catalog_v1_audit_log_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, - 0x67, 0x2e, 0x76, 0x31, 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, 0x22, 0x37, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, - 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, - 0x82, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x8c, 0x27, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, - 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogix_catalog_v1_audit_log_proto_rawDescOnce sync.Once - file_com_coralogix_catalog_v1_audit_log_proto_rawDescData = file_com_coralogix_catalog_v1_audit_log_proto_rawDesc -) - -func file_com_coralogix_catalog_v1_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogix_catalog_v1_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogix_catalog_v1_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_catalog_v1_audit_log_proto_rawDescData) - }) - return file_com_coralogix_catalog_v1_audit_log_proto_rawDescData -} - -var file_com_coralogix_catalog_v1_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_catalog_v1_audit_log_proto_goTypes = []interface{}{ - (*AuditLogDescription)(nil), // 0: com.coralogix.catalog.v1.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogix_catalog_v1_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.catalog.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogix.catalog.v1.audit_log_description:type_name -> com.coralogix.catalog.v1.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_com_coralogix_catalog_v1_audit_log_proto_init() } -func file_com_coralogix_catalog_v1_audit_log_proto_init() { - if File_com_coralogix_catalog_v1_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_catalog_v1_audit_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogDescription); 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_coralogix_catalog_v1_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogix_catalog_v1_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogix_catalog_v1_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogix_catalog_v1_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogix_catalog_v1_audit_log_proto_extTypes, - }.Build() - File_com_coralogix_catalog_v1_audit_log_proto = out.File - file_com_coralogix_catalog_v1_audit_log_proto_rawDesc = nil - file_com_coralogix_catalog_v1_audit_log_proto_goTypes = nil - file_com_coralogix_catalog_v1_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/sli/common.pb.go b/coralogix/clientset/grpc/sli/common.pb.go deleted file mode 100644 index 40b7d770..00000000 --- a/coralogix/clientset/grpc/sli/common.pb.go +++ /dev/null @@ -1,162 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/catalog/v1/common.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 TimeRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Start *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` -} - -func (x *TimeRange) Reset() { - *x = TimeRange{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TimeRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeRange) ProtoMessage() {} - -func (x *TimeRange) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_common_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 TimeRange.ProtoReflect.Descriptor instead. -func (*TimeRange) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_common_proto_rawDescGZIP(), []int{0} -} - -func (x *TimeRange) GetStart() *wrapperspb.Int64Value { - if x != nil { - return x.Start - } - return nil -} - -func (x *TimeRange) GetEnd() *wrapperspb.Int64Value { - if x != nil { - return x.End - } - return nil -} - -var File_com_coralogix_catalog_v1_common_proto protoreflect.FileDescriptor - -var file_com_coralogix_catalog_v1_common_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, - 0x31, 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, 0x6d, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x31, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 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, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x12, 0x2d, 0x0a, 0x03, 0x65, 0x6e, 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, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x65, 0x6e, 0x64, - 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_catalog_v1_common_proto_rawDescOnce sync.Once - file_com_coralogix_catalog_v1_common_proto_rawDescData = file_com_coralogix_catalog_v1_common_proto_rawDesc -) - -func file_com_coralogix_catalog_v1_common_proto_rawDescGZIP() []byte { - file_com_coralogix_catalog_v1_common_proto_rawDescOnce.Do(func() { - file_com_coralogix_catalog_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_catalog_v1_common_proto_rawDescData) - }) - return file_com_coralogix_catalog_v1_common_proto_rawDescData -} - -var file_com_coralogix_catalog_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_catalog_v1_common_proto_goTypes = []interface{}{ - (*TimeRange)(nil), // 0: com.coralogix.catalog.v1.TimeRange - (*wrapperspb.Int64Value)(nil), // 1: google.protobuf.Int64Value -} -var file_com_coralogix_catalog_v1_common_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.catalog.v1.TimeRange.start:type_name -> google.protobuf.Int64Value - 1, // 1: com.coralogix.catalog.v1.TimeRange.end:type_name -> google.protobuf.Int64Value - 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_coralogix_catalog_v1_common_proto_init() } -func file_com_coralogix_catalog_v1_common_proto_init() { - if File_com_coralogix_catalog_v1_common_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_catalog_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeRange); 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_coralogix_catalog_v1_common_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_catalog_v1_common_proto_goTypes, - DependencyIndexes: file_com_coralogix_catalog_v1_common_proto_depIdxs, - MessageInfos: file_com_coralogix_catalog_v1_common_proto_msgTypes, - }.Build() - File_com_coralogix_catalog_v1_common_proto = out.File - file_com_coralogix_catalog_v1_common_proto_rawDesc = nil - file_com_coralogix_catalog_v1_common_proto_goTypes = nil - file_com_coralogix_catalog_v1_common_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/sli/sli.pb.go b/coralogix/clientset/grpc/sli/sli.pb.go deleted file mode 100644 index bcc6bdac..00000000 --- a/coralogix/clientset/grpc/sli/sli.pb.go +++ /dev/null @@ -1,1034 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/catalog/v1/sli.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 ThresholdSymbolType int32 - -const ( - ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_UNSPECIFIED ThresholdSymbolType = 0 - ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_GREATER ThresholdSymbolType = 1 - ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_GREATER_OR_EQUAL ThresholdSymbolType = 2 - ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_LESS ThresholdSymbolType = 3 - ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_LESS_OR_EQUAL ThresholdSymbolType = 4 - ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_EQUAL ThresholdSymbolType = 5 - ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_NOT_EQUAL ThresholdSymbolType = 6 -) - -// Enum value maps for ThresholdSymbolType. -var ( - ThresholdSymbolType_name = map[int32]string{ - 0: "THRESHOLD_SYMBOL_TYPE_UNSPECIFIED", - 1: "THRESHOLD_SYMBOL_TYPE_GREATER", - 2: "THRESHOLD_SYMBOL_TYPE_GREATER_OR_EQUAL", - 3: "THRESHOLD_SYMBOL_TYPE_LESS", - 4: "THRESHOLD_SYMBOL_TYPE_LESS_OR_EQUAL", - 5: "THRESHOLD_SYMBOL_TYPE_EQUAL", - 6: "THRESHOLD_SYMBOL_TYPE_NOT_EQUAL", - } - ThresholdSymbolType_value = map[string]int32{ - "THRESHOLD_SYMBOL_TYPE_UNSPECIFIED": 0, - "THRESHOLD_SYMBOL_TYPE_GREATER": 1, - "THRESHOLD_SYMBOL_TYPE_GREATER_OR_EQUAL": 2, - "THRESHOLD_SYMBOL_TYPE_LESS": 3, - "THRESHOLD_SYMBOL_TYPE_LESS_OR_EQUAL": 4, - "THRESHOLD_SYMBOL_TYPE_EQUAL": 5, - "THRESHOLD_SYMBOL_TYPE_NOT_EQUAL": 6, - } -) - -func (x ThresholdSymbolType) Enum() *ThresholdSymbolType { - p := new(ThresholdSymbolType) - *p = x - return p -} - -func (x ThresholdSymbolType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ThresholdSymbolType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_catalog_v1_sli_proto_enumTypes[0].Descriptor() -} - -func (ThresholdSymbolType) Type() protoreflect.EnumType { - return &file_com_coralogix_catalog_v1_sli_proto_enumTypes[0] -} - -func (x ThresholdSymbolType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ThresholdSymbolType.Descriptor instead. -func (ThresholdSymbolType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{0} -} - -type SloPeriodType int32 - -const ( - SloPeriodType_SLO_PERIOD_TYPE_UNSPECIFIED SloPeriodType = 0 - SloPeriodType_SLO_PERIOD_TYPE_7_DAYS SloPeriodType = 1 - SloPeriodType_SLO_PERIOD_TYPE_14_DAYS SloPeriodType = 2 - SloPeriodType_SLO_PERIOD_TYPE_30_DAYS SloPeriodType = 3 -) - -// Enum value maps for SloPeriodType. -var ( - SloPeriodType_name = map[int32]string{ - 0: "SLO_PERIOD_TYPE_UNSPECIFIED", - 1: "SLO_PERIOD_TYPE_7_DAYS", - 2: "SLO_PERIOD_TYPE_14_DAYS", - 3: "SLO_PERIOD_TYPE_30_DAYS", - } - SloPeriodType_value = map[string]int32{ - "SLO_PERIOD_TYPE_UNSPECIFIED": 0, - "SLO_PERIOD_TYPE_7_DAYS": 1, - "SLO_PERIOD_TYPE_14_DAYS": 2, - "SLO_PERIOD_TYPE_30_DAYS": 3, - } -) - -func (x SloPeriodType) Enum() *SloPeriodType { - p := new(SloPeriodType) - *p = x - return p -} - -func (x SloPeriodType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SloPeriodType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_catalog_v1_sli_proto_enumTypes[1].Descriptor() -} - -func (SloPeriodType) Type() protoreflect.EnumType { - return &file_com_coralogix_catalog_v1_sli_proto_enumTypes[1] -} - -func (x SloPeriodType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SloPeriodType.Descriptor instead. -func (SloPeriodType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{1} -} - -type MetricType int32 - -const ( - MetricType_METRIC_TYPE_UNSPECIFIED MetricType = 0 - MetricType_METRIC_TYPE_ERROR MetricType = 1 - MetricType_METRIC_TYPE_LATENCY MetricType = 2 - MetricType_METRIC_TYPE_CUSTOM MetricType = 3 -) - -// Enum value maps for MetricType. -var ( - MetricType_name = map[int32]string{ - 0: "METRIC_TYPE_UNSPECIFIED", - 1: "METRIC_TYPE_ERROR", - 2: "METRIC_TYPE_LATENCY", - 3: "METRIC_TYPE_CUSTOM", - } - MetricType_value = map[string]int32{ - "METRIC_TYPE_UNSPECIFIED": 0, - "METRIC_TYPE_ERROR": 1, - "METRIC_TYPE_LATENCY": 2, - "METRIC_TYPE_CUSTOM": 3, - } -) - -func (x MetricType) Enum() *MetricType { - p := new(MetricType) - *p = x - return p -} - -func (x MetricType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MetricType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_catalog_v1_sli_proto_enumTypes[2].Descriptor() -} - -func (MetricType) Type() protoreflect.EnumType { - return &file_com_coralogix_catalog_v1_sli_proto_enumTypes[2] -} - -func (x MetricType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MetricType.Descriptor instead. -func (MetricType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{2} -} - -type CompareType int32 - -const ( - CompareType_COMPARE_TYPE_UNSPECIFIED CompareType = 0 - CompareType_COMPARE_TYPE_IS CompareType = 1 - CompareType_COMPARE_TYPE_START_WITH CompareType = 2 - CompareType_COMPARE_TYPE_ENDS_WITH CompareType = 3 - CompareType_COMPARE_TYPE_INCLUDES CompareType = 4 -) - -// Enum value maps for CompareType. -var ( - CompareType_name = map[int32]string{ - 0: "COMPARE_TYPE_UNSPECIFIED", - 1: "COMPARE_TYPE_IS", - 2: "COMPARE_TYPE_START_WITH", - 3: "COMPARE_TYPE_ENDS_WITH", - 4: "COMPARE_TYPE_INCLUDES", - } - CompareType_value = map[string]int32{ - "COMPARE_TYPE_UNSPECIFIED": 0, - "COMPARE_TYPE_IS": 1, - "COMPARE_TYPE_START_WITH": 2, - "COMPARE_TYPE_ENDS_WITH": 3, - "COMPARE_TYPE_INCLUDES": 4, - } -) - -func (x CompareType) Enum() *CompareType { - p := new(CompareType) - *p = x - return p -} - -func (x CompareType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CompareType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_catalog_v1_sli_proto_enumTypes[3].Descriptor() -} - -func (CompareType) Type() protoreflect.EnumType { - return &file_com_coralogix_catalog_v1_sli_proto_enumTypes[3] -} - -func (x CompareType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CompareType.Descriptor instead. -func (CompareType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{3} -} - -type MetadataFilterFieldType int32 - -const ( - MetadataFilterFieldType_METADATA_FILTER_FIELD_TYPE_UNSPECIFIED MetadataFilterFieldType = 0 - MetadataFilterFieldType_METADATA_FILTER_FIELD_TYPE_OPERATION MetadataFilterFieldType = 1 - MetadataFilterFieldType_METADATA_FILTER_FIELD_TYPE_APPLICATION MetadataFilterFieldType = 2 - MetadataFilterFieldType_METADATA_FILTER_FIELD_TYPE_SUBSYSTEM MetadataFilterFieldType = 3 -) - -// Enum value maps for MetadataFilterFieldType. -var ( - MetadataFilterFieldType_name = map[int32]string{ - 0: "METADATA_FILTER_FIELD_TYPE_UNSPECIFIED", - 1: "METADATA_FILTER_FIELD_TYPE_OPERATION", - 2: "METADATA_FILTER_FIELD_TYPE_APPLICATION", - 3: "METADATA_FILTER_FIELD_TYPE_SUBSYSTEM", - } - MetadataFilterFieldType_value = map[string]int32{ - "METADATA_FILTER_FIELD_TYPE_UNSPECIFIED": 0, - "METADATA_FILTER_FIELD_TYPE_OPERATION": 1, - "METADATA_FILTER_FIELD_TYPE_APPLICATION": 2, - "METADATA_FILTER_FIELD_TYPE_SUBSYSTEM": 3, - } -) - -func (x MetadataFilterFieldType) Enum() *MetadataFilterFieldType { - p := new(MetadataFilterFieldType) - *p = x - return p -} - -func (x MetadataFilterFieldType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MetadataFilterFieldType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_catalog_v1_sli_proto_enumTypes[4].Descriptor() -} - -func (MetadataFilterFieldType) Type() protoreflect.EnumType { - return &file_com_coralogix_catalog_v1_sli_proto_enumTypes[4] -} - -func (x MetadataFilterFieldType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MetadataFilterFieldType.Descriptor instead. -func (MetadataFilterFieldType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{4} -} - -type SloStatusType int32 - -const ( - SloStatusType_SLO_STATUS_TYPE_UNSPECIFIED SloStatusType = 0 - SloStatusType_SLO_STATUS_TYPE_OK SloStatusType = 1 - SloStatusType_SLO_STATUS_TYPE_BREACHED SloStatusType = 2 -) - -// Enum value maps for SloStatusType. -var ( - SloStatusType_name = map[int32]string{ - 0: "SLO_STATUS_TYPE_UNSPECIFIED", - 1: "SLO_STATUS_TYPE_OK", - 2: "SLO_STATUS_TYPE_BREACHED", - } - SloStatusType_value = map[string]int32{ - "SLO_STATUS_TYPE_UNSPECIFIED": 0, - "SLO_STATUS_TYPE_OK": 1, - "SLO_STATUS_TYPE_BREACHED": 2, - } -) - -func (x SloStatusType) Enum() *SloStatusType { - p := new(SloStatusType) - *p = x - return p -} - -func (x SloStatusType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SloStatusType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_catalog_v1_sli_proto_enumTypes[5].Descriptor() -} - -func (SloStatusType) Type() protoreflect.EnumType { - return &file_com_coralogix_catalog_v1_sli_proto_enumTypes[5] -} - -func (x SloStatusType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SloStatusType.Descriptor instead. -func (SloStatusType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{5} -} - -type TimeUnitType int32 - -const ( - TimeUnitType_TIME_UNIT_TYPE_UNSPECIFIED TimeUnitType = 0 - TimeUnitType_TIME_UNIT_TYPE_MICROSECOND TimeUnitType = 1 - TimeUnitType_TIME_UNIT_TYPE_MILLISECOND TimeUnitType = 2 - TimeUnitType_TIME_UNIT_TYPE_SECOND TimeUnitType = 3 - TimeUnitType_TIME_UNIT_TYPE_MINUTE TimeUnitType = 4 -) - -// Enum value maps for TimeUnitType. -var ( - TimeUnitType_name = map[int32]string{ - 0: "TIME_UNIT_TYPE_UNSPECIFIED", - 1: "TIME_UNIT_TYPE_MICROSECOND", - 2: "TIME_UNIT_TYPE_MILLISECOND", - 3: "TIME_UNIT_TYPE_SECOND", - 4: "TIME_UNIT_TYPE_MINUTE", - } - TimeUnitType_value = map[string]int32{ - "TIME_UNIT_TYPE_UNSPECIFIED": 0, - "TIME_UNIT_TYPE_MICROSECOND": 1, - "TIME_UNIT_TYPE_MILLISECOND": 2, - "TIME_UNIT_TYPE_SECOND": 3, - "TIME_UNIT_TYPE_MINUTE": 4, - } -) - -func (x TimeUnitType) Enum() *TimeUnitType { - p := new(TimeUnitType) - *p = x - return p -} - -func (x TimeUnitType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TimeUnitType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_catalog_v1_sli_proto_enumTypes[6].Descriptor() -} - -func (TimeUnitType) Type() protoreflect.EnumType { - return &file_com_coralogix_catalog_v1_sli_proto_enumTypes[6] -} - -func (x TimeUnitType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TimeUnitType.Descriptor instead. -func (TimeUnitType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{6} -} - -type Sli struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SliId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sli_id,json=sliId,proto3" json:"sli_id,omitempty"` - SliName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=sli_name,json=sliName,proto3" json:"sli_name,omitempty"` - ServiceName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - MetricName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` - SliDescription *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=sli_description,json=sliDescription,proto3" json:"sli_description,omitempty"` - MetricType MetricType `protobuf:"varint,6,opt,name=metric_type,json=metricType,proto3,enum=com.coralogix.catalog.v1.MetricType" json:"metric_type,omitempty"` - SloPercentage *wrapperspb.Int64Value `protobuf:"bytes,7,opt,name=slo_percentage,json=sloPercentage,proto3" json:"slo_percentage,omitempty"` - SloPeriodType SloPeriodType `protobuf:"varint,8,opt,name=slo_period_type,json=sloPeriodType,proto3,enum=com.coralogix.catalog.v1.SloPeriodType" json:"slo_period_type,omitempty"` - ThresholdSymbolType ThresholdSymbolType `protobuf:"varint,9,opt,name=threshold_symbol_type,json=thresholdSymbolType,proto3,enum=com.coralogix.catalog.v1.ThresholdSymbolType" json:"threshold_symbol_type,omitempty"` - ThresholdValue *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=threshold_value,json=thresholdValue,proto3" json:"threshold_value,omitempty"` - Filters []*SliFilter `protobuf:"bytes,11,rep,name=filters,proto3" json:"filters,omitempty"` - SloStatusType SloStatusType `protobuf:"varint,12,opt,name=slo_status_type,json=sloStatusType,proto3,enum=com.coralogix.catalog.v1.SloStatusType" json:"slo_status_type,omitempty"` - ErrorBudget *wrapperspb.Int64Value `protobuf:"bytes,13,opt,name=error_budget,json=errorBudget,proto3" json:"error_budget,omitempty"` - CreatedAt *wrapperspb.Int64Value `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - LabelE2MId *wrapperspb.StringValue `protobuf:"bytes,15,opt,name=label_e2m_id,json=labelE2mId,proto3" json:"label_e2m_id,omitempty"` - TotalE2MId *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=total_e2m_id,json=totalE2mId,proto3" json:"total_e2m_id,omitempty"` - UpdatedAt *wrapperspb.Int64Value `protobuf:"bytes,17,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - TimeUnitType TimeUnitType `protobuf:"varint,18,opt,name=time_unit_type,json=timeUnitType,proto3,enum=com.coralogix.catalog.v1.TimeUnitType" json:"time_unit_type,omitempty"` - ServiceNamesGroup []*wrapperspb.StringValue `protobuf:"bytes,19,rep,name=service_names_group,json=serviceNamesGroup,proto3" json:"service_names_group,omitempty"` -} - -func (x *Sli) Reset() { - *x = Sli{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Sli) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Sli) ProtoMessage() {} - -func (x *Sli) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 Sli.ProtoReflect.Descriptor instead. -func (*Sli) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{0} -} - -func (x *Sli) GetSliId() *wrapperspb.StringValue { - if x != nil { - return x.SliId - } - return nil -} - -func (x *Sli) GetSliName() *wrapperspb.StringValue { - if x != nil { - return x.SliName - } - return nil -} - -func (x *Sli) GetServiceName() *wrapperspb.StringValue { - if x != nil { - return x.ServiceName - } - return nil -} - -func (x *Sli) GetMetricName() *wrapperspb.StringValue { - if x != nil { - return x.MetricName - } - return nil -} - -func (x *Sli) GetSliDescription() *wrapperspb.StringValue { - if x != nil { - return x.SliDescription - } - return nil -} - -func (x *Sli) GetMetricType() MetricType { - if x != nil { - return x.MetricType - } - return MetricType_METRIC_TYPE_UNSPECIFIED -} - -func (x *Sli) GetSloPercentage() *wrapperspb.Int64Value { - if x != nil { - return x.SloPercentage - } - return nil -} - -func (x *Sli) GetSloPeriodType() SloPeriodType { - if x != nil { - return x.SloPeriodType - } - return SloPeriodType_SLO_PERIOD_TYPE_UNSPECIFIED -} - -func (x *Sli) GetThresholdSymbolType() ThresholdSymbolType { - if x != nil { - return x.ThresholdSymbolType - } - return ThresholdSymbolType_THRESHOLD_SYMBOL_TYPE_UNSPECIFIED -} - -func (x *Sli) GetThresholdValue() *wrapperspb.Int64Value { - if x != nil { - return x.ThresholdValue - } - return nil -} - -func (x *Sli) GetFilters() []*SliFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *Sli) GetSloStatusType() SloStatusType { - if x != nil { - return x.SloStatusType - } - return SloStatusType_SLO_STATUS_TYPE_UNSPECIFIED -} - -func (x *Sli) GetErrorBudget() *wrapperspb.Int64Value { - if x != nil { - return x.ErrorBudget - } - return nil -} - -func (x *Sli) GetCreatedAt() *wrapperspb.Int64Value { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *Sli) GetLabelE2MId() *wrapperspb.StringValue { - if x != nil { - return x.LabelE2MId - } - return nil -} - -func (x *Sli) GetTotalE2MId() *wrapperspb.StringValue { - if x != nil { - return x.TotalE2MId - } - return nil -} - -func (x *Sli) GetUpdatedAt() *wrapperspb.Int64Value { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *Sli) GetTimeUnitType() TimeUnitType { - if x != nil { - return x.TimeUnitType - } - return TimeUnitType_TIME_UNIT_TYPE_UNSPECIFIED -} - -func (x *Sli) GetServiceNamesGroup() []*wrapperspb.StringValue { - if x != nil { - return x.ServiceNamesGroup - } - return nil -} - -type SliFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - CompareType CompareType `protobuf:"varint,2,opt,name=compare_type,json=compareType,proto3,enum=com.coralogix.catalog.v1.CompareType" json:"compare_type,omitempty"` - FieldValues []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=field_values,json=fieldValues,proto3" json:"field_values,omitempty"` -} - -func (x *SliFilter) Reset() { - *x = SliFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SliFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SliFilter) ProtoMessage() {} - -func (x *SliFilter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 SliFilter.ProtoReflect.Descriptor instead. -func (*SliFilter) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{1} -} - -func (x *SliFilter) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *SliFilter) GetCompareType() CompareType { - if x != nil { - return x.CompareType - } - return CompareType_COMPARE_TYPE_UNSPECIFIED -} - -func (x *SliFilter) GetFieldValues() []*wrapperspb.StringValue { - if x != nil { - return x.FieldValues - } - return nil -} - -type SliStatusHistory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SloStatusType SloStatusType `protobuf:"varint,1,opt,name=slo_status_type,json=sloStatusType,proto3,enum=com.coralogix.catalog.v1.SloStatusType" json:"slo_status_type,omitempty"` - Timestamp *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - ErrorBudget *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=error_budget,json=errorBudget,proto3" json:"error_budget,omitempty"` -} - -func (x *SliStatusHistory) Reset() { - *x = SliStatusHistory{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SliStatusHistory) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SliStatusHistory) ProtoMessage() {} - -func (x *SliStatusHistory) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 SliStatusHistory.ProtoReflect.Descriptor instead. -func (*SliStatusHistory) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP(), []int{2} -} - -func (x *SliStatusHistory) GetSloStatusType() SloStatusType { - if x != nil { - return x.SloStatusType - } - return SloStatusType_SLO_STATUS_TYPE_UNSPECIFIED -} - -func (x *SliStatusHistory) GetTimestamp() *wrapperspb.StringValue { - if x != nil { - return x.Timestamp - } - return nil -} - -func (x *SliStatusHistory) GetErrorBudget() *wrapperspb.Int64Value { - if x != nil { - return x.ErrorBudget - } - return nil -} - -var File_com_coralogix_catalog_v1_sli_proto protoreflect.FileDescriptor - -var file_com_coralogix_catalog_v1_sli_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6c, 0x69, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 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, 0xa3, - 0x0a, 0x0a, 0x03, 0x53, 0x6c, 0x69, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x6c, 0x69, 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, 0x05, 0x73, 0x6c, 0x69, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x73, - 0x6c, 0x69, 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, 0x07, 0x73, 0x6c, 0x69, - 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, 0x3d, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x6c, 0x69, 0x5f, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x0e, 0x73, 0x6c, 0x69, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0b, 0x6d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x73, 0x6c, 0x6f, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, - 0x74, 0x61, 0x67, 0x65, 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, - 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x50, 0x65, 0x72, 0x63, - 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x73, 0x6c, 0x6f, 0x5f, 0x70, 0x65, - 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x50, 0x65, - 0x72, 0x69, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x50, 0x65, 0x72, - 0x69, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x61, 0x0a, 0x15, 0x74, 0x68, 0x72, 0x65, 0x73, - 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x79, 0x6d, 0x62, 0x6f, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x74, 0x68, - 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 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, 0x0e, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x3d, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x4f, 0x0a, 0x0f, 0x73, 0x6c, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x3e, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, - 0x18, 0x0d, 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, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, - 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, - 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, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3e, 0x0a, 0x0c, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x65, 0x32, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x0f, 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, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x45, 0x32, 0x6d, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0c, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x32, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x10, 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, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x32, 0x6d, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x0a, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x11, 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, 0x09, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x4c, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, - 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x55, 0x6e, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, - 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x13, 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, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x22, 0xca, 0x01, 0x0a, 0x09, 0x53, 0x6c, 0x69, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, - 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x48, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, - 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x3f, 0x0a, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 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, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x22, 0xdf, 0x01, 0x0a, 0x10, 0x53, 0x6c, 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4f, 0x0a, 0x0f, 0x73, 0x6c, 0x6f, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 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, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x12, 0x3e, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x62, 0x75, 0x64, - 0x67, 0x65, 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, 0x36, - 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x75, 0x64, - 0x67, 0x65, 0x74, 0x2a, 0x9a, 0x02, 0x0a, 0x13, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, - 0x64, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x54, - 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, - 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x45, 0x41, - 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x2a, 0x0a, 0x26, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, - 0x4c, 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, - 0x52, 0x45, 0x41, 0x54, 0x45, 0x52, 0x5f, 0x4f, 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, - 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x53, - 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x45, 0x53, 0x53, 0x10, - 0x03, 0x12, 0x27, 0x0a, 0x23, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x53, - 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x45, 0x53, 0x53, 0x5f, - 0x4f, 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x04, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x48, - 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x05, 0x12, 0x23, 0x0a, 0x1f, 0x54, - 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x06, - 0x2a, 0x86, 0x01, 0x0a, 0x0d, 0x53, 0x6c, 0x6f, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, 0x4f, - 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x37, 0x5f, 0x44, 0x41, 0x59, 0x53, 0x10, 0x01, 0x12, - 0x1b, 0x0a, 0x17, 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x31, 0x34, 0x5f, 0x44, 0x41, 0x59, 0x53, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, - 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x33, 0x30, 0x5f, 0x44, 0x41, 0x59, 0x53, 0x10, 0x03, 0x2a, 0x71, 0x0a, 0x0a, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x54, 0x52, 0x49, - 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4d, - 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x4e, - 0x43, 0x59, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x03, 0x2a, 0x94, 0x01, 0x0a, - 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, - 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, - 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x10, 0x01, 0x12, - 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, - 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x44, - 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, - 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, - 0x53, 0x10, 0x04, 0x2a, 0xc5, 0x01, 0x0a, 0x17, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x2a, 0x0a, 0x26, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46, 0x49, 0x4c, 0x54, - 0x45, 0x52, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x4d, - 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x46, - 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x2a, 0x0a, 0x26, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, - 0x41, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x02, 0x12, 0x28, 0x0a, 0x24, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46, 0x49, - 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x53, 0x55, 0x42, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x03, 0x2a, 0x66, 0x0a, 0x0d, 0x53, - 0x6c, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, - 0x53, 0x4c, 0x4f, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, - 0x12, 0x53, 0x4c, 0x4f, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x4c, 0x4f, 0x5f, 0x53, 0x54, 0x41, - 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x43, 0x48, 0x45, - 0x44, 0x10, 0x02, 0x2a, 0xa4, 0x01, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, - 0x4e, 0x44, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, - 0x4e, 0x44, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x03, 0x12, - 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x4d, 0x49, 0x4e, 0x55, 0x54, 0x45, 0x10, 0x04, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_catalog_v1_sli_proto_rawDescOnce sync.Once - file_com_coralogix_catalog_v1_sli_proto_rawDescData = file_com_coralogix_catalog_v1_sli_proto_rawDesc -) - -func file_com_coralogix_catalog_v1_sli_proto_rawDescGZIP() []byte { - file_com_coralogix_catalog_v1_sli_proto_rawDescOnce.Do(func() { - file_com_coralogix_catalog_v1_sli_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_catalog_v1_sli_proto_rawDescData) - }) - return file_com_coralogix_catalog_v1_sli_proto_rawDescData -} - -var file_com_coralogix_catalog_v1_sli_proto_enumTypes = make([]protoimpl.EnumInfo, 7) -var file_com_coralogix_catalog_v1_sli_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_com_coralogix_catalog_v1_sli_proto_goTypes = []interface{}{ - (ThresholdSymbolType)(0), // 0: com.coralogix.catalog.v1.ThresholdSymbolType - (SloPeriodType)(0), // 1: com.coralogix.catalog.v1.SloPeriodType - (MetricType)(0), // 2: com.coralogix.catalog.v1.MetricType - (CompareType)(0), // 3: com.coralogix.catalog.v1.CompareType - (MetadataFilterFieldType)(0), // 4: com.coralogix.catalog.v1.MetadataFilterFieldType - (SloStatusType)(0), // 5: com.coralogix.catalog.v1.SloStatusType - (TimeUnitType)(0), // 6: com.coralogix.catalog.v1.TimeUnitType - (*Sli)(nil), // 7: com.coralogix.catalog.v1.Sli - (*SliFilter)(nil), // 8: com.coralogix.catalog.v1.SliFilter - (*SliStatusHistory)(nil), // 9: com.coralogix.catalog.v1.SliStatusHistory - (*wrapperspb.StringValue)(nil), // 10: google.protobuf.StringValue - (*wrapperspb.Int64Value)(nil), // 11: google.protobuf.Int64Value -} -var file_com_coralogix_catalog_v1_sli_proto_depIdxs = []int32{ - 10, // 0: com.coralogix.catalog.v1.Sli.sli_id:type_name -> google.protobuf.StringValue - 10, // 1: com.coralogix.catalog.v1.Sli.sli_name:type_name -> google.protobuf.StringValue - 10, // 2: com.coralogix.catalog.v1.Sli.service_name:type_name -> google.protobuf.StringValue - 10, // 3: com.coralogix.catalog.v1.Sli.metric_name:type_name -> google.protobuf.StringValue - 10, // 4: com.coralogix.catalog.v1.Sli.sli_description:type_name -> google.protobuf.StringValue - 2, // 5: com.coralogix.catalog.v1.Sli.metric_type:type_name -> com.coralogix.catalog.v1.MetricType - 11, // 6: com.coralogix.catalog.v1.Sli.slo_percentage:type_name -> google.protobuf.Int64Value - 1, // 7: com.coralogix.catalog.v1.Sli.slo_period_type:type_name -> com.coralogix.catalog.v1.SloPeriodType - 0, // 8: com.coralogix.catalog.v1.Sli.threshold_symbol_type:type_name -> com.coralogix.catalog.v1.ThresholdSymbolType - 11, // 9: com.coralogix.catalog.v1.Sli.threshold_value:type_name -> google.protobuf.Int64Value - 8, // 10: com.coralogix.catalog.v1.Sli.filters:type_name -> com.coralogix.catalog.v1.SliFilter - 5, // 11: com.coralogix.catalog.v1.Sli.slo_status_type:type_name -> com.coralogix.catalog.v1.SloStatusType - 11, // 12: com.coralogix.catalog.v1.Sli.error_budget:type_name -> google.protobuf.Int64Value - 11, // 13: com.coralogix.catalog.v1.Sli.created_at:type_name -> google.protobuf.Int64Value - 10, // 14: com.coralogix.catalog.v1.Sli.label_e2m_id:type_name -> google.protobuf.StringValue - 10, // 15: com.coralogix.catalog.v1.Sli.total_e2m_id:type_name -> google.protobuf.StringValue - 11, // 16: com.coralogix.catalog.v1.Sli.updated_at:type_name -> google.protobuf.Int64Value - 6, // 17: com.coralogix.catalog.v1.Sli.time_unit_type:type_name -> com.coralogix.catalog.v1.TimeUnitType - 10, // 18: com.coralogix.catalog.v1.Sli.service_names_group:type_name -> google.protobuf.StringValue - 10, // 19: com.coralogix.catalog.v1.SliFilter.field:type_name -> google.protobuf.StringValue - 3, // 20: com.coralogix.catalog.v1.SliFilter.compare_type:type_name -> com.coralogix.catalog.v1.CompareType - 10, // 21: com.coralogix.catalog.v1.SliFilter.field_values:type_name -> google.protobuf.StringValue - 5, // 22: com.coralogix.catalog.v1.SliStatusHistory.slo_status_type:type_name -> com.coralogix.catalog.v1.SloStatusType - 10, // 23: com.coralogix.catalog.v1.SliStatusHistory.timestamp:type_name -> google.protobuf.StringValue - 11, // 24: com.coralogix.catalog.v1.SliStatusHistory.error_budget:type_name -> google.protobuf.Int64Value - 25, // [25:25] is the sub-list for method output_type - 25, // [25:25] is the sub-list for method input_type - 25, // [25:25] is the sub-list for extension type_name - 25, // [25:25] is the sub-list for extension extendee - 0, // [0:25] is the sub-list for field type_name -} - -func init() { file_com_coralogix_catalog_v1_sli_proto_init() } -func file_com_coralogix_catalog_v1_sli_proto_init() { - if File_com_coralogix_catalog_v1_sli_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_catalog_v1_sli_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Sli); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SliFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SliStatusHistory); 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_coralogix_catalog_v1_sli_proto_rawDesc, - NumEnums: 7, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_catalog_v1_sli_proto_goTypes, - DependencyIndexes: file_com_coralogix_catalog_v1_sli_proto_depIdxs, - EnumInfos: file_com_coralogix_catalog_v1_sli_proto_enumTypes, - MessageInfos: file_com_coralogix_catalog_v1_sli_proto_msgTypes, - }.Build() - File_com_coralogix_catalog_v1_sli_proto = out.File - file_com_coralogix_catalog_v1_sli_proto_rawDesc = nil - file_com_coralogix_catalog_v1_sli_proto_goTypes = nil - file_com_coralogix_catalog_v1_sli_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/sli/sli_service.pb.go b/coralogix/clientset/grpc/sli/sli_service.pb.go deleted file mode 100644 index 6c9b45e4..00000000 --- a/coralogix/clientset/grpc/sli/sli_service.pb.go +++ /dev/null @@ -1,1103 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/catalog/v1/sli_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 GetSlisRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` -} - -func (x *GetSlisRequest) Reset() { - *x = GetSlisRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSlisRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSlisRequest) ProtoMessage() {} - -func (x *GetSlisRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 GetSlisRequest.ProtoReflect.Descriptor instead. -func (*GetSlisRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{0} -} - -func (x *GetSlisRequest) GetServiceName() *wrapperspb.StringValue { - if x != nil { - return x.ServiceName - } - return nil -} - -type GetSlisResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slis []*Sli `protobuf:"bytes,1,rep,name=slis,proto3" json:"slis,omitempty"` -} - -func (x *GetSlisResponse) Reset() { - *x = GetSlisResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSlisResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSlisResponse) ProtoMessage() {} - -func (x *GetSlisResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 GetSlisResponse.ProtoReflect.Descriptor instead. -func (*GetSlisResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetSlisResponse) GetSlis() []*Sli { - if x != nil { - return x.Slis - } - return nil -} - -type CreateSliRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sli *Sli `protobuf:"bytes,1,opt,name=sli,proto3" json:"sli,omitempty"` -} - -func (x *CreateSliRequest) Reset() { - *x = CreateSliRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateSliRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSliRequest) ProtoMessage() {} - -func (x *CreateSliRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 CreateSliRequest.ProtoReflect.Descriptor instead. -func (*CreateSliRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{2} -} - -func (x *CreateSliRequest) GetSli() *Sli { - if x != nil { - return x.Sli - } - return nil -} - -type CreateSliResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sli *Sli `protobuf:"bytes,1,opt,name=sli,proto3" json:"sli,omitempty"` -} - -func (x *CreateSliResponse) Reset() { - *x = CreateSliResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateSliResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSliResponse) ProtoMessage() {} - -func (x *CreateSliResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 CreateSliResponse.ProtoReflect.Descriptor instead. -func (*CreateSliResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{3} -} - -func (x *CreateSliResponse) GetSli() *Sli { - if x != nil { - return x.Sli - } - return nil -} - -type CreateSlisRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slis []*Sli `protobuf:"bytes,1,rep,name=slis,proto3" json:"slis,omitempty"` -} - -func (x *CreateSlisRequest) Reset() { - *x = CreateSlisRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateSlisRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSlisRequest) ProtoMessage() {} - -func (x *CreateSlisRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 CreateSlisRequest.ProtoReflect.Descriptor instead. -func (*CreateSlisRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{4} -} - -func (x *CreateSlisRequest) GetSlis() []*Sli { - if x != nil { - return x.Slis - } - return nil -} - -type CreateSlisResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slis []*Sli `protobuf:"bytes,1,rep,name=slis,proto3" json:"slis,omitempty"` -} - -func (x *CreateSlisResponse) Reset() { - *x = CreateSlisResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateSlisResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSlisResponse) ProtoMessage() {} - -func (x *CreateSlisResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 CreateSlisResponse.ProtoReflect.Descriptor instead. -func (*CreateSlisResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{5} -} - -func (x *CreateSlisResponse) GetSlis() []*Sli { - if x != nil { - return x.Slis - } - return nil -} - -type UpdateSliRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sli *Sli `protobuf:"bytes,1,opt,name=sli,proto3" json:"sli,omitempty"` -} - -func (x *UpdateSliRequest) Reset() { - *x = UpdateSliRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateSliRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateSliRequest) ProtoMessage() {} - -func (x *UpdateSliRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 UpdateSliRequest.ProtoReflect.Descriptor instead. -func (*UpdateSliRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{6} -} - -func (x *UpdateSliRequest) GetSli() *Sli { - if x != nil { - return x.Sli - } - return nil -} - -type UpdateSliResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sli *Sli `protobuf:"bytes,1,opt,name=sli,proto3" json:"sli,omitempty"` -} - -func (x *UpdateSliResponse) Reset() { - *x = UpdateSliResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateSliResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateSliResponse) ProtoMessage() {} - -func (x *UpdateSliResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 UpdateSliResponse.ProtoReflect.Descriptor instead. -func (*UpdateSliResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{7} -} - -func (x *UpdateSliResponse) GetSli() *Sli { - if x != nil { - return x.Sli - } - return nil -} - -type UpdateSlisRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slis []*Sli `protobuf:"bytes,1,rep,name=slis,proto3" json:"slis,omitempty"` -} - -func (x *UpdateSlisRequest) Reset() { - *x = UpdateSlisRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateSlisRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateSlisRequest) ProtoMessage() {} - -func (x *UpdateSlisRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 UpdateSlisRequest.ProtoReflect.Descriptor instead. -func (*UpdateSlisRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{8} -} - -func (x *UpdateSlisRequest) GetSlis() []*Sli { - if x != nil { - return x.Slis - } - return nil -} - -type UpdateSlisResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slis []*Sli `protobuf:"bytes,1,rep,name=slis,proto3" json:"slis,omitempty"` -} - -func (x *UpdateSlisResponse) Reset() { - *x = UpdateSlisResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateSlisResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateSlisResponse) ProtoMessage() {} - -func (x *UpdateSlisResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 UpdateSlisResponse.ProtoReflect.Descriptor instead. -func (*UpdateSlisResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{9} -} - -func (x *UpdateSlisResponse) GetSlis() []*Sli { - if x != nil { - return x.Slis - } - return nil -} - -type DeleteSliRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SliId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sli_id,json=sliId,proto3" json:"sli_id,omitempty"` -} - -func (x *DeleteSliRequest) Reset() { - *x = DeleteSliRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteSliRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSliRequest) ProtoMessage() {} - -func (x *DeleteSliRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 DeleteSliRequest.ProtoReflect.Descriptor instead. -func (*DeleteSliRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{10} -} - -func (x *DeleteSliRequest) GetSliId() *wrapperspb.StringValue { - if x != nil { - return x.SliId - } - return nil -} - -type DeleteSliResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SliId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sli_id,json=sliId,proto3" json:"sli_id,omitempty"` -} - -func (x *DeleteSliResponse) Reset() { - *x = DeleteSliResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteSliResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteSliResponse) ProtoMessage() {} - -func (x *DeleteSliResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 DeleteSliResponse.ProtoReflect.Descriptor instead. -func (*DeleteSliResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{11} -} - -func (x *DeleteSliResponse) GetSliId() *wrapperspb.StringValue { - if x != nil { - return x.SliId - } - return nil -} - -type GetSliStatusHistoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SliId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=sli_id,json=sliId,proto3" json:"sli_id,omitempty"` - TimeRange *TimeRange `protobuf:"bytes,2,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` -} - -func (x *GetSliStatusHistoryRequest) Reset() { - *x = GetSliStatusHistoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSliStatusHistoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSliStatusHistoryRequest) ProtoMessage() {} - -func (x *GetSliStatusHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 GetSliStatusHistoryRequest.ProtoReflect.Descriptor instead. -func (*GetSliStatusHistoryRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{12} -} - -func (x *GetSliStatusHistoryRequest) GetSliId() *wrapperspb.StringValue { - if x != nil { - return x.SliId - } - return nil -} - -func (x *GetSliStatusHistoryRequest) GetTimeRange() *TimeRange { - if x != nil { - return x.TimeRange - } - return nil -} - -type GetSliStatusHistoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SliStatusHistory []*SliStatusHistory `protobuf:"bytes,1,rep,name=sli_status_history,json=sliStatusHistory,proto3" json:"sli_status_history,omitempty"` -} - -func (x *GetSliStatusHistoryResponse) Reset() { - *x = GetSliStatusHistoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSliStatusHistoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSliStatusHistoryResponse) ProtoMessage() {} - -func (x *GetSliStatusHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_catalog_v1_sli_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 GetSliStatusHistoryResponse.ProtoReflect.Descriptor instead. -func (*GetSliStatusHistoryResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP(), []int{13} -} - -func (x *GetSliStatusHistoryResponse) GetSliStatusHistory() []*SliStatusHistory { - if x != nil { - return x.SliStatusHistory - } - return nil -} - -var File_com_coralogix_catalog_v1_sli_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_catalog_v1_sli_service_proto_rawDesc = []byte{ - 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6c, 0x69, 0x5f, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, - 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x28, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, - 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x25, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, - 0x31, 0x2f, 0x73, 0x6c, 0x69, 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, 0x51, 0x0a, 0x0e, 0x47, - 0x65, 0x74, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, - 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x44, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x6c, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, 0x52, 0x04, - 0x73, 0x6c, 0x69, 0x73, 0x22, 0x43, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6c, - 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x03, 0x73, 0x6c, 0x69, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x6c, 0x69, 0x52, 0x03, 0x73, 0x6c, 0x69, 0x22, 0x44, 0x0a, 0x11, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, - 0x0a, 0x03, 0x73, 0x6c, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, - 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, 0x52, 0x03, 0x73, 0x6c, 0x69, 0x22, - 0x46, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x6c, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, - 0x69, 0x52, 0x04, 0x73, 0x6c, 0x69, 0x73, 0x22, 0x47, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, - 0x04, 0x73, 0x6c, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, - 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, 0x52, 0x04, 0x73, 0x6c, 0x69, 0x73, - 0x22, 0x43, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x03, 0x73, 0x6c, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, - 0x52, 0x03, 0x73, 0x6c, 0x69, 0x22, 0x44, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x6c, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x03, 0x73, 0x6c, - 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, 0x52, 0x03, 0x73, 0x6c, 0x69, 0x22, 0x46, 0x0a, 0x11, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x31, 0x0a, 0x04, 0x73, 0x6c, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, - 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, 0x52, 0x04, 0x73, - 0x6c, 0x69, 0x73, 0x22, 0x47, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x6c, 0x69, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, 0x52, 0x04, 0x73, 0x6c, 0x69, 0x73, 0x22, 0x47, 0x0a, 0x10, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x33, 0x0a, 0x06, 0x73, 0x6c, 0x69, 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, 0x05, - 0x73, 0x6c, 0x69, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x6c, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x6c, - 0x69, 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, 0x05, 0x73, 0x6c, 0x69, 0x49, 0x64, 0x22, - 0x95, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, - 0x0a, 0x06, 0x73, 0x6c, 0x69, 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, 0x05, 0x73, 0x6c, - 0x69, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x74, 0x69, - 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x77, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x6c, - 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x12, 0x73, 0x6c, 0x69, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, - 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, - 0x73, 0x6c, 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x32, 0xff, 0x06, 0x0a, 0x0a, 0x53, 0x6c, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x6e, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x73, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, - 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x0e, 0xe2, 0xb8, 0x02, 0x0a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x20, 0x53, 0x6c, 0x69, 0x73, 0x12, - 0x76, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x12, 0x2a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6c, - 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0xe2, 0xb8, 0x02, 0x0c, 0x0a, 0x0a, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x20, 0x53, 0x6c, 0x69, 0x12, 0x7a, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x53, 0x6c, 0x69, 0x73, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x11, 0xe2, 0xb8, 0x02, 0x0d, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x53, - 0x6c, 0x69, 0x73, 0x12, 0x76, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, - 0x12, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x53, 0x6c, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, - 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0xe2, 0xb8, 0x02, 0x0c, 0x0a, - 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x53, 0x6c, 0x69, 0x12, 0x7a, 0x0a, 0x0a, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x73, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, - 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x11, 0xe2, 0xb8, 0x02, 0x0d, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x20, 0x53, 0x6c, 0x69, 0x73, 0x12, 0x76, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x53, 0x6c, 0x69, 0x12, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6c, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x6c, 0x69, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0xe2, - 0xb8, 0x02, 0x0c, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x53, 0x6c, 0x69, 0x12, - 0xa0, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x63, 0x61, - 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6c, 0x69, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0xe2, 0xb8, 0x02, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x20, - 0x53, 0x6c, 0x69, 0x20, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x48, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_catalog_v1_sli_service_proto_rawDescOnce sync.Once - file_com_coralogix_catalog_v1_sli_service_proto_rawDescData = file_com_coralogix_catalog_v1_sli_service_proto_rawDesc -) - -func file_com_coralogix_catalog_v1_sli_service_proto_rawDescGZIP() []byte { - file_com_coralogix_catalog_v1_sli_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_catalog_v1_sli_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_catalog_v1_sli_service_proto_rawDescData) - }) - return file_com_coralogix_catalog_v1_sli_service_proto_rawDescData -} - -var file_com_coralogix_catalog_v1_sli_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_com_coralogix_catalog_v1_sli_service_proto_goTypes = []interface{}{ - (*GetSlisRequest)(nil), // 0: com.coralogix.catalog.v1.GetSlisRequest - (*GetSlisResponse)(nil), // 1: com.coralogix.catalog.v1.GetSlisResponse - (*CreateSliRequest)(nil), // 2: com.coralogix.catalog.v1.CreateSliRequest - (*CreateSliResponse)(nil), // 3: com.coralogix.catalog.v1.CreateSliResponse - (*CreateSlisRequest)(nil), // 4: com.coralogix.catalog.v1.CreateSlisRequest - (*CreateSlisResponse)(nil), // 5: com.coralogix.catalog.v1.CreateSlisResponse - (*UpdateSliRequest)(nil), // 6: com.coralogix.catalog.v1.UpdateSliRequest - (*UpdateSliResponse)(nil), // 7: com.coralogix.catalog.v1.UpdateSliResponse - (*UpdateSlisRequest)(nil), // 8: com.coralogix.catalog.v1.UpdateSlisRequest - (*UpdateSlisResponse)(nil), // 9: com.coralogix.catalog.v1.UpdateSlisResponse - (*DeleteSliRequest)(nil), // 10: com.coralogix.catalog.v1.DeleteSliRequest - (*DeleteSliResponse)(nil), // 11: com.coralogix.catalog.v1.DeleteSliResponse - (*GetSliStatusHistoryRequest)(nil), // 12: com.coralogix.catalog.v1.GetSliStatusHistoryRequest - (*GetSliStatusHistoryResponse)(nil), // 13: com.coralogix.catalog.v1.GetSliStatusHistoryResponse - (*wrapperspb.StringValue)(nil), // 14: google.protobuf.StringValue - (*Sli)(nil), // 15: com.coralogix.catalog.v1.Sli - (*TimeRange)(nil), // 16: com.coralogix.catalog.v1.TimeRange - (*SliStatusHistory)(nil), // 17: com.coralogix.catalog.v1.SliStatusHistory -} -var file_com_coralogix_catalog_v1_sli_service_proto_depIdxs = []int32{ - 14, // 0: com.coralogix.catalog.v1.GetSlisRequest.service_name:type_name -> google.protobuf.StringValue - 15, // 1: com.coralogix.catalog.v1.GetSlisResponse.slis:type_name -> com.coralogix.catalog.v1.Sli - 15, // 2: com.coralogix.catalog.v1.CreateSliRequest.sli:type_name -> com.coralogix.catalog.v1.Sli - 15, // 3: com.coralogix.catalog.v1.CreateSliResponse.sli:type_name -> com.coralogix.catalog.v1.Sli - 15, // 4: com.coralogix.catalog.v1.CreateSlisRequest.slis:type_name -> com.coralogix.catalog.v1.Sli - 15, // 5: com.coralogix.catalog.v1.CreateSlisResponse.slis:type_name -> com.coralogix.catalog.v1.Sli - 15, // 6: com.coralogix.catalog.v1.UpdateSliRequest.sli:type_name -> com.coralogix.catalog.v1.Sli - 15, // 7: com.coralogix.catalog.v1.UpdateSliResponse.sli:type_name -> com.coralogix.catalog.v1.Sli - 15, // 8: com.coralogix.catalog.v1.UpdateSlisRequest.slis:type_name -> com.coralogix.catalog.v1.Sli - 15, // 9: com.coralogix.catalog.v1.UpdateSlisResponse.slis:type_name -> com.coralogix.catalog.v1.Sli - 14, // 10: com.coralogix.catalog.v1.DeleteSliRequest.sli_id:type_name -> google.protobuf.StringValue - 14, // 11: com.coralogix.catalog.v1.DeleteSliResponse.sli_id:type_name -> google.protobuf.StringValue - 14, // 12: com.coralogix.catalog.v1.GetSliStatusHistoryRequest.sli_id:type_name -> google.protobuf.StringValue - 16, // 13: com.coralogix.catalog.v1.GetSliStatusHistoryRequest.time_range:type_name -> com.coralogix.catalog.v1.TimeRange - 17, // 14: com.coralogix.catalog.v1.GetSliStatusHistoryResponse.sli_status_history:type_name -> com.coralogix.catalog.v1.SliStatusHistory - 0, // 15: com.coralogix.catalog.v1.SliService.GetSlis:input_type -> com.coralogix.catalog.v1.GetSlisRequest - 2, // 16: com.coralogix.catalog.v1.SliService.CreateSli:input_type -> com.coralogix.catalog.v1.CreateSliRequest - 4, // 17: com.coralogix.catalog.v1.SliService.CreateSlis:input_type -> com.coralogix.catalog.v1.CreateSlisRequest - 6, // 18: com.coralogix.catalog.v1.SliService.UpdateSli:input_type -> com.coralogix.catalog.v1.UpdateSliRequest - 8, // 19: com.coralogix.catalog.v1.SliService.UpdateSlis:input_type -> com.coralogix.catalog.v1.UpdateSlisRequest - 10, // 20: com.coralogix.catalog.v1.SliService.DeleteSli:input_type -> com.coralogix.catalog.v1.DeleteSliRequest - 12, // 21: com.coralogix.catalog.v1.SliService.GetSliStatusHistory:input_type -> com.coralogix.catalog.v1.GetSliStatusHistoryRequest - 1, // 22: com.coralogix.catalog.v1.SliService.GetSlis:output_type -> com.coralogix.catalog.v1.GetSlisResponse - 3, // 23: com.coralogix.catalog.v1.SliService.CreateSli:output_type -> com.coralogix.catalog.v1.CreateSliResponse - 5, // 24: com.coralogix.catalog.v1.SliService.CreateSlis:output_type -> com.coralogix.catalog.v1.CreateSlisResponse - 7, // 25: com.coralogix.catalog.v1.SliService.UpdateSli:output_type -> com.coralogix.catalog.v1.UpdateSliResponse - 9, // 26: com.coralogix.catalog.v1.SliService.UpdateSlis:output_type -> com.coralogix.catalog.v1.UpdateSlisResponse - 11, // 27: com.coralogix.catalog.v1.SliService.DeleteSli:output_type -> com.coralogix.catalog.v1.DeleteSliResponse - 13, // 28: com.coralogix.catalog.v1.SliService.GetSliStatusHistory:output_type -> com.coralogix.catalog.v1.GetSliStatusHistoryResponse - 22, // [22:29] is the sub-list for method output_type - 15, // [15:22] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name -} - -func init() { file_com_coralogix_catalog_v1_sli_service_proto_init() } -func file_com_coralogix_catalog_v1_sli_service_proto_init() { - if File_com_coralogix_catalog_v1_sli_service_proto != nil { - return - } - file_com_coralogix_catalog_v1_audit_log_proto_init() - file_com_coralogix_catalog_v1_common_proto_init() - file_com_coralogix_catalog_v1_sli_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSlisRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSlisResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSliRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSliResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSlisRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSlisResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSliRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSliResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSlisRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSlisResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSliRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteSliResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSliStatusHistoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_catalog_v1_sli_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSliStatusHistoryResponse); 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_coralogix_catalog_v1_sli_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 14, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_catalog_v1_sli_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_catalog_v1_sli_service_proto_depIdxs, - MessageInfos: file_com_coralogix_catalog_v1_sli_service_proto_msgTypes, - }.Build() - File_com_coralogix_catalog_v1_sli_service_proto = out.File - file_com_coralogix_catalog_v1_sli_service_proto_rawDesc = nil - file_com_coralogix_catalog_v1_sli_service_proto_goTypes = nil - file_com_coralogix_catalog_v1_sli_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/sli/sli_service_grpc.pb.go b/coralogix/clientset/grpc/sli/sli_service_grpc.pb.go deleted file mode 100644 index 01c20dbc..00000000 --- a/coralogix/clientset/grpc/sli/sli_service_grpc.pb.go +++ /dev/null @@ -1,321 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/catalog/v1/sli_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 - -// SliServiceClient is the client API for SliService 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 SliServiceClient interface { - GetSlis(ctx context.Context, in *GetSlisRequest, opts ...grpc.CallOption) (*GetSlisResponse, error) - CreateSli(ctx context.Context, in *CreateSliRequest, opts ...grpc.CallOption) (*CreateSliResponse, error) - CreateSlis(ctx context.Context, in *CreateSlisRequest, opts ...grpc.CallOption) (*CreateSlisResponse, error) - UpdateSli(ctx context.Context, in *UpdateSliRequest, opts ...grpc.CallOption) (*UpdateSliResponse, error) - UpdateSlis(ctx context.Context, in *UpdateSlisRequest, opts ...grpc.CallOption) (*UpdateSlisResponse, error) - DeleteSli(ctx context.Context, in *DeleteSliRequest, opts ...grpc.CallOption) (*DeleteSliResponse, error) - GetSliStatusHistory(ctx context.Context, in *GetSliStatusHistoryRequest, opts ...grpc.CallOption) (*GetSliStatusHistoryResponse, error) -} - -type sliServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewSliServiceClient(cc grpc.ClientConnInterface) SliServiceClient { - return &sliServiceClient{cc} -} - -func (c *sliServiceClient) GetSlis(ctx context.Context, in *GetSlisRequest, opts ...grpc.CallOption) (*GetSlisResponse, error) { - out := new(GetSlisResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.catalog.v1.SliService/GetSlis", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sliServiceClient) CreateSli(ctx context.Context, in *CreateSliRequest, opts ...grpc.CallOption) (*CreateSliResponse, error) { - out := new(CreateSliResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.catalog.v1.SliService/CreateSli", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sliServiceClient) CreateSlis(ctx context.Context, in *CreateSlisRequest, opts ...grpc.CallOption) (*CreateSlisResponse, error) { - out := new(CreateSlisResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.catalog.v1.SliService/CreateSlis", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sliServiceClient) UpdateSli(ctx context.Context, in *UpdateSliRequest, opts ...grpc.CallOption) (*UpdateSliResponse, error) { - out := new(UpdateSliResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.catalog.v1.SliService/UpdateSli", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sliServiceClient) UpdateSlis(ctx context.Context, in *UpdateSlisRequest, opts ...grpc.CallOption) (*UpdateSlisResponse, error) { - out := new(UpdateSlisResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.catalog.v1.SliService/UpdateSlis", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sliServiceClient) DeleteSli(ctx context.Context, in *DeleteSliRequest, opts ...grpc.CallOption) (*DeleteSliResponse, error) { - out := new(DeleteSliResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.catalog.v1.SliService/DeleteSli", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sliServiceClient) GetSliStatusHistory(ctx context.Context, in *GetSliStatusHistoryRequest, opts ...grpc.CallOption) (*GetSliStatusHistoryResponse, error) { - out := new(GetSliStatusHistoryResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.catalog.v1.SliService/GetSliStatusHistory", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SliServiceServer is the server API for SliService service. -// All implementations must embed UnimplementedSliServiceServer -// for forward compatibility -type SliServiceServer interface { - GetSlis(context.Context, *GetSlisRequest) (*GetSlisResponse, error) - CreateSli(context.Context, *CreateSliRequest) (*CreateSliResponse, error) - CreateSlis(context.Context, *CreateSlisRequest) (*CreateSlisResponse, error) - UpdateSli(context.Context, *UpdateSliRequest) (*UpdateSliResponse, error) - UpdateSlis(context.Context, *UpdateSlisRequest) (*UpdateSlisResponse, error) - DeleteSli(context.Context, *DeleteSliRequest) (*DeleteSliResponse, error) - GetSliStatusHistory(context.Context, *GetSliStatusHistoryRequest) (*GetSliStatusHistoryResponse, error) - mustEmbedUnimplementedSliServiceServer() -} - -// UnimplementedSliServiceServer must be embedded to have forward compatible implementations. -type UnimplementedSliServiceServer struct { -} - -func (UnimplementedSliServiceServer) GetSlis(context.Context, *GetSlisRequest) (*GetSlisResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSlis not implemented") -} -func (UnimplementedSliServiceServer) CreateSli(context.Context, *CreateSliRequest) (*CreateSliResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSli not implemented") -} -func (UnimplementedSliServiceServer) CreateSlis(context.Context, *CreateSlisRequest) (*CreateSlisResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSlis not implemented") -} -func (UnimplementedSliServiceServer) UpdateSli(context.Context, *UpdateSliRequest) (*UpdateSliResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSli not implemented") -} -func (UnimplementedSliServiceServer) UpdateSlis(context.Context, *UpdateSlisRequest) (*UpdateSlisResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSlis not implemented") -} -func (UnimplementedSliServiceServer) DeleteSli(context.Context, *DeleteSliRequest) (*DeleteSliResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteSli not implemented") -} -func (UnimplementedSliServiceServer) GetSliStatusHistory(context.Context, *GetSliStatusHistoryRequest) (*GetSliStatusHistoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSliStatusHistory not implemented") -} -func (UnimplementedSliServiceServer) mustEmbedUnimplementedSliServiceServer() {} - -// UnsafeSliServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to SliServiceServer will -// result in compilation errors. -type UnsafeSliServiceServer interface { - mustEmbedUnimplementedSliServiceServer() -} - -func RegisterSliServiceServer(s grpc.ServiceRegistrar, srv SliServiceServer) { - s.RegisterService(&SliService_ServiceDesc, srv) -} - -func _SliService_GetSlis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSlisRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SliServiceServer).GetSlis(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.catalog.v1.SliService/GetSlis", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SliServiceServer).GetSlis(ctx, req.(*GetSlisRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SliService_CreateSli_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSliRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SliServiceServer).CreateSli(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.catalog.v1.SliService/CreateSli", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SliServiceServer).CreateSli(ctx, req.(*CreateSliRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SliService_CreateSlis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateSlisRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SliServiceServer).CreateSlis(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.catalog.v1.SliService/CreateSlis", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SliServiceServer).CreateSlis(ctx, req.(*CreateSlisRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SliService_UpdateSli_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSliRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SliServiceServer).UpdateSli(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.catalog.v1.SliService/UpdateSli", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SliServiceServer).UpdateSli(ctx, req.(*UpdateSliRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SliService_UpdateSlis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateSlisRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SliServiceServer).UpdateSlis(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.catalog.v1.SliService/UpdateSlis", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SliServiceServer).UpdateSlis(ctx, req.(*UpdateSlisRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SliService_DeleteSli_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteSliRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SliServiceServer).DeleteSli(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.catalog.v1.SliService/DeleteSli", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SliServiceServer).DeleteSli(ctx, req.(*DeleteSliRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SliService_GetSliStatusHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSliStatusHistoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SliServiceServer).GetSliStatusHistory(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.catalog.v1.SliService/GetSliStatusHistory", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SliServiceServer).GetSliStatusHistory(ctx, req.(*GetSliStatusHistoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// SliService_ServiceDesc is the grpc.ServiceDesc for SliService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var SliService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.catalog.v1.SliService", - HandlerType: (*SliServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetSlis", - Handler: _SliService_GetSlis_Handler, - }, - { - MethodName: "CreateSli", - Handler: _SliService_CreateSli_Handler, - }, - { - MethodName: "CreateSlis", - Handler: _SliService_CreateSlis_Handler, - }, - { - MethodName: "UpdateSli", - Handler: _SliService_UpdateSli_Handler, - }, - { - MethodName: "UpdateSlis", - Handler: _SliService_UpdateSlis_Handler, - }, - { - MethodName: "DeleteSli", - Handler: _SliService_DeleteSli_Handler, - }, - { - MethodName: "GetSliStatusHistory", - Handler: _SliService_GetSliStatusHistory_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/catalog/v1/sli_service.proto", -} diff --git a/coralogix/clientset/grpc/slo/apm_service.pb.go b/coralogix/clientset/grpc/slo/apm_service.pb.go deleted file mode 100644 index 00e96ac4..00000000 --- a/coralogix/clientset/grpc/slo/apm_service.pb.go +++ /dev/null @@ -1,308 +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/apm/services/v1/apm_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 SloStatusCount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ok *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=ok,proto3" json:"ok,omitempty"` - Breach *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=breach,proto3" json:"breach,omitempty"` - NotAvailable *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=not_available,json=notAvailable,proto3" json:"not_available,omitempty"` -} - -func (x *SloStatusCount) Reset() { - *x = SloStatusCount{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SloStatusCount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SloStatusCount) ProtoMessage() {} - -func (x *SloStatusCount) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_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 SloStatusCount.ProtoReflect.Descriptor instead. -func (*SloStatusCount) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescGZIP(), []int{0} -} - -func (x *SloStatusCount) GetOk() *wrapperspb.Int64Value { - if x != nil { - return x.Ok - } - return nil -} - -func (x *SloStatusCount) GetBreach() *wrapperspb.Int64Value { - if x != nil { - return x.Breach - } - return nil -} - -func (x *SloStatusCount) GetNotAvailable() *wrapperspb.Int64Value { - if x != nil { - return x.NotAvailable - } - return nil -} - -type ApmService 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"` - Type *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - Workloads []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=workloads,proto3" json:"workloads,omitempty"` - SloStatusCount *SloStatusCount `protobuf:"bytes,5,opt,name=slo_status_count,json=sloStatusCount,proto3" json:"slo_status_count,omitempty"` - Technology *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=technology,proto3" json:"technology,omitempty"` -} - -func (x *ApmService) Reset() { - *x = ApmService{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApmService) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApmService) ProtoMessage() {} - -func (x *ApmService) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_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 ApmService.ProtoReflect.Descriptor instead. -func (*ApmService) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescGZIP(), []int{1} -} - -func (x *ApmService) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *ApmService) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *ApmService) GetType() *wrapperspb.StringValue { - if x != nil { - return x.Type - } - return nil -} - -func (x *ApmService) GetWorkloads() []*wrapperspb.StringValue { - if x != nil { - return x.Workloads - } - return nil -} - -func (x *ApmService) GetSloStatusCount() *SloStatusCount { - if x != nil { - return x.SloStatusCount - } - return nil -} - -func (x *ApmService) GetTechnology() *wrapperspb.StringValue { - if x != nil { - return x.Technology - } - return nil -} - -var File_com_coralogixapis_apm_services_v1_apm_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x6d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 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, 0xb4, 0x01, 0x0a, 0x0e, 0x53, 0x6c, 0x6f, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x02, 0x6f, - 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, 0x36, 0x34, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x33, 0x0a, 0x06, 0x62, 0x72, 0x65, 0x61, - 0x63, 0x68, 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, 0x06, 0x62, 0x72, 0x65, 0x61, 0x63, 0x68, 0x12, 0x40, 0x0a, - 0x0d, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 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, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x0c, 0x6e, 0x6f, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x22, - 0xf5, 0x02, 0x0a, 0x0a, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x30, - 0x0a, 0x04, 0x74, 0x79, 0x70, 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, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x3a, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 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, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x5b, 0x0a, 0x10, - 0x73, 0x6c, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 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, 0x61, 0x70, 0x6d, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x6c, 0x6f, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x74, 0x65, 0x63, - 0x68, 0x6e, 0x6f, 0x6c, 0x6f, 0x67, 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, 0x0a, 0x74, 0x65, 0x63, - 0x68, 0x6e, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescData = file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDesc -) - -func file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescData) - }) - return file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDescData -} - -var file_com_coralogixapis_apm_services_v1_apm_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogixapis_apm_services_v1_apm_service_proto_goTypes = []interface{}{ - (*SloStatusCount)(nil), // 0: com.coralogixapis.apm.services.v1.SloStatusCount - (*ApmService)(nil), // 1: com.coralogixapis.apm.services.v1.ApmService - (*wrapperspb.Int64Value)(nil), // 2: google.protobuf.Int64Value - (*wrapperspb.StringValue)(nil), // 3: google.protobuf.StringValue -} -var file_com_coralogixapis_apm_services_v1_apm_service_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.apm.services.v1.SloStatusCount.ok:type_name -> google.protobuf.Int64Value - 2, // 1: com.coralogixapis.apm.services.v1.SloStatusCount.breach:type_name -> google.protobuf.Int64Value - 2, // 2: com.coralogixapis.apm.services.v1.SloStatusCount.not_available:type_name -> google.protobuf.Int64Value - 3, // 3: com.coralogixapis.apm.services.v1.ApmService.id:type_name -> google.protobuf.StringValue - 3, // 4: com.coralogixapis.apm.services.v1.ApmService.name:type_name -> google.protobuf.StringValue - 3, // 5: com.coralogixapis.apm.services.v1.ApmService.type:type_name -> google.protobuf.StringValue - 3, // 6: com.coralogixapis.apm.services.v1.ApmService.workloads:type_name -> google.protobuf.StringValue - 0, // 7: com.coralogixapis.apm.services.v1.ApmService.slo_status_count:type_name -> com.coralogixapis.apm.services.v1.SloStatusCount - 3, // 8: com.coralogixapis.apm.services.v1.ApmService.technology:type_name -> google.protobuf.StringValue - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] 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_apm_services_v1_apm_service_proto_init() } -func file_com_coralogixapis_apm_services_v1_apm_service_proto_init() { - if File_com_coralogixapis_apm_services_v1_apm_service_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_services_v1_apm_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SloStatusCount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApmService); 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_apm_services_v1_apm_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_apm_services_v1_apm_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_services_v1_apm_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_apm_services_v1_apm_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_apm_services_v1_apm_service_proto = out.File - file_com_coralogixapis_apm_services_v1_apm_service_proto_rawDesc = nil - file_com_coralogixapis_apm_services_v1_apm_service_proto_goTypes = nil - file_com_coralogixapis_apm_services_v1_apm_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/slo/apm_service_service.pb.go b/coralogix/clientset/grpc/slo/apm_service_service.pb.go deleted file mode 100644 index a3e25eb6..00000000 --- a/coralogix/clientset/grpc/slo/apm_service_service.pb.go +++ /dev/null @@ -1,695 +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/apm/services/v1/apm_service_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 GetApmServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetApmServiceRequest) Reset() { - *x = GetApmServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetApmServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetApmServiceRequest) ProtoMessage() {} - -func (x *GetApmServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 GetApmServiceRequest.ProtoReflect.Descriptor instead. -func (*GetApmServiceRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{0} -} - -func (x *GetApmServiceRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type GetApmServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Service *ApmService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` -} - -func (x *GetApmServiceResponse) Reset() { - *x = GetApmServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetApmServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetApmServiceResponse) ProtoMessage() {} - -func (x *GetApmServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 GetApmServiceResponse.ProtoReflect.Descriptor instead. -func (*GetApmServiceResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetApmServiceResponse) GetService() *ApmService { - if x != nil { - return x.Service - } - return nil -} - -type BatchGetApmServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ids []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` -} - -func (x *BatchGetApmServicesRequest) Reset() { - *x = BatchGetApmServicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchGetApmServicesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchGetApmServicesRequest) ProtoMessage() {} - -func (x *BatchGetApmServicesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 BatchGetApmServicesRequest.ProtoReflect.Descriptor instead. -func (*BatchGetApmServicesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{2} -} - -func (x *BatchGetApmServicesRequest) GetIds() []*wrapperspb.StringValue { - if x != nil { - return x.Ids - } - return nil -} - -type BatchGetApmServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Services map[string]*ApmService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NotFoundIds []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=not_found_ids,json=notFoundIds,proto3" json:"not_found_ids,omitempty"` -} - -func (x *BatchGetApmServicesResponse) Reset() { - *x = BatchGetApmServicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchGetApmServicesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchGetApmServicesResponse) ProtoMessage() {} - -func (x *BatchGetApmServicesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 BatchGetApmServicesResponse.ProtoReflect.Descriptor instead. -func (*BatchGetApmServicesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{3} -} - -func (x *BatchGetApmServicesResponse) GetServices() map[string]*ApmService { - if x != nil { - return x.Services - } - return nil -} - -func (x *BatchGetApmServicesResponse) GetNotFoundIds() []*wrapperspb.StringValue { - if x != nil { - return x.NotFoundIds - } - return nil -} - -type DeleteApmServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteApmServiceRequest) Reset() { - *x = DeleteApmServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteApmServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteApmServiceRequest) ProtoMessage() {} - -func (x *DeleteApmServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 DeleteApmServiceRequest.ProtoReflect.Descriptor instead. -func (*DeleteApmServiceRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{4} -} - -func (x *DeleteApmServiceRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteApmServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteApmServiceResponse) Reset() { - *x = DeleteApmServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteApmServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteApmServiceResponse) ProtoMessage() {} - -func (x *DeleteApmServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 DeleteApmServiceResponse.ProtoReflect.Descriptor instead. -func (*DeleteApmServiceResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{5} -} - -type ListApmServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrderBy *OrderBy `protobuf:"bytes,1,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` -} - -func (x *ListApmServicesRequest) Reset() { - *x = ListApmServicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListApmServicesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListApmServicesRequest) ProtoMessage() {} - -func (x *ListApmServicesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 ListApmServicesRequest.ProtoReflect.Descriptor instead. -func (*ListApmServicesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{6} -} - -func (x *ListApmServicesRequest) GetOrderBy() *OrderBy { - if x != nil { - return x.OrderBy - } - return nil -} - -type ListApmServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Services []*ApmService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` -} - -func (x *ListApmServicesResponse) Reset() { - *x = ListApmServicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListApmServicesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListApmServicesResponse) ProtoMessage() {} - -func (x *ListApmServicesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_apm_service_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 ListApmServicesResponse.ProtoReflect.Descriptor instead. -func (*ListApmServicesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP(), []int{7} -} - -func (x *ListApmServicesResponse) GetServices() []*ApmService { - if x != nil { - return x.Services - } - return nil -} - -var File_com_coralogixapis_apm_services_v1_apm_service_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDesc = []byte{ - 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x6d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, - 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, - 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x70, 0x6d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x60, 0x0a, 0x15, - 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x6d, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x4c, - 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x03, - 0x69, 0x64, 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, 0x03, 0x69, 0x64, 0x73, 0x22, 0xb5, 0x02, 0x0a, - 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x08, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, - 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 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, 0x6e, 0x6f, 0x74, - 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x73, 0x1a, 0x6a, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 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, 0x43, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, - 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x1a, 0x0a, - 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x0a, 0x16, 0x4c, 0x69, 0x73, - 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x52, - 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x64, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, - 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, - 0x01, 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, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x32, 0xb0, - 0x05, 0x0a, 0x11, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x99, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, - 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0xc2, 0xb8, 0x02, 0x11, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x20, 0x41, 0x70, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0xb2, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, - 0x63, 0x68, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 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, 0x61, 0x70, 0x6d, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, - 0x68, 0x47, 0x65, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0xc2, 0xb8, 0x02, 0x18, 0x0a, 0x16, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x20, 0x47, 0x65, 0x74, 0x20, 0x41, 0x70, 0x6d, 0x20, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0xa5, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x18, 0xc2, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x20, 0x41, 0x70, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa1, 0x01, - 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x12, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0xc2, 0xb8, 0x02, 0x13, 0x0a, 0x11, - 0x4c, 0x69, 0x73, 0x74, 0x20, 0x41, 0x70, 0x6d, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescData = file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDesc -) - -func file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescData) - }) - return file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDescData -} - -var file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_com_coralogixapis_apm_services_v1_apm_service_service_proto_goTypes = []interface{}{ - (*GetApmServiceRequest)(nil), // 0: com.coralogixapis.apm.services.v1.GetApmServiceRequest - (*GetApmServiceResponse)(nil), // 1: com.coralogixapis.apm.services.v1.GetApmServiceResponse - (*BatchGetApmServicesRequest)(nil), // 2: com.coralogixapis.apm.services.v1.BatchGetApmServicesRequest - (*BatchGetApmServicesResponse)(nil), // 3: com.coralogixapis.apm.services.v1.BatchGetApmServicesResponse - (*DeleteApmServiceRequest)(nil), // 4: com.coralogixapis.apm.services.v1.DeleteApmServiceRequest - (*DeleteApmServiceResponse)(nil), // 5: com.coralogixapis.apm.services.v1.DeleteApmServiceResponse - (*ListApmServicesRequest)(nil), // 6: com.coralogixapis.apm.services.v1.ListApmServicesRequest - (*ListApmServicesResponse)(nil), // 7: com.coralogixapis.apm.services.v1.ListApmServicesResponse - nil, // 8: com.coralogixapis.apm.services.v1.BatchGetApmServicesResponse.ServicesEntry - (*wrapperspb.StringValue)(nil), // 9: google.protobuf.StringValue - (*ApmService)(nil), // 10: com.coralogixapis.apm.services.v1.ApmService - (*OrderBy)(nil), // 11: com.coralogixapis.apm.common.v2.OrderBy -} -var file_com_coralogixapis_apm_services_v1_apm_service_service_proto_depIdxs = []int32{ - 9, // 0: com.coralogixapis.apm.services.v1.GetApmServiceRequest.id:type_name -> google.protobuf.StringValue - 10, // 1: com.coralogixapis.apm.services.v1.GetApmServiceResponse.service:type_name -> com.coralogixapis.apm.services.v1.ApmService - 9, // 2: com.coralogixapis.apm.services.v1.BatchGetApmServicesRequest.ids:type_name -> google.protobuf.StringValue - 8, // 3: com.coralogixapis.apm.services.v1.BatchGetApmServicesResponse.services:type_name -> com.coralogixapis.apm.services.v1.BatchGetApmServicesResponse.ServicesEntry - 9, // 4: com.coralogixapis.apm.services.v1.BatchGetApmServicesResponse.not_found_ids:type_name -> google.protobuf.StringValue - 9, // 5: com.coralogixapis.apm.services.v1.DeleteApmServiceRequest.id:type_name -> google.protobuf.StringValue - 11, // 6: com.coralogixapis.apm.services.v1.ListApmServicesRequest.order_by:type_name -> com.coralogixapis.apm.common.v2.OrderBy - 10, // 7: com.coralogixapis.apm.services.v1.ListApmServicesResponse.services:type_name -> com.coralogixapis.apm.services.v1.ApmService - 10, // 8: com.coralogixapis.apm.services.v1.BatchGetApmServicesResponse.ServicesEntry.value:type_name -> com.coralogixapis.apm.services.v1.ApmService - 0, // 9: com.coralogixapis.apm.services.v1.ApmServiceService.GetApmService:input_type -> com.coralogixapis.apm.services.v1.GetApmServiceRequest - 2, // 10: com.coralogixapis.apm.services.v1.ApmServiceService.BatchGetApmServices:input_type -> com.coralogixapis.apm.services.v1.BatchGetApmServicesRequest - 4, // 11: com.coralogixapis.apm.services.v1.ApmServiceService.DeleteApmService:input_type -> com.coralogixapis.apm.services.v1.DeleteApmServiceRequest - 6, // 12: com.coralogixapis.apm.services.v1.ApmServiceService.ListApmServices:input_type -> com.coralogixapis.apm.services.v1.ListApmServicesRequest - 1, // 13: com.coralogixapis.apm.services.v1.ApmServiceService.GetApmService:output_type -> com.coralogixapis.apm.services.v1.GetApmServiceResponse - 3, // 14: com.coralogixapis.apm.services.v1.ApmServiceService.BatchGetApmServices:output_type -> com.coralogixapis.apm.services.v1.BatchGetApmServicesResponse - 5, // 15: com.coralogixapis.apm.services.v1.ApmServiceService.DeleteApmService:output_type -> com.coralogixapis.apm.services.v1.DeleteApmServiceResponse - 7, // 16: com.coralogixapis.apm.services.v1.ApmServiceService.ListApmServices:output_type -> com.coralogixapis.apm.services.v1.ListApmServicesResponse - 13, // [13:17] is the sub-list for method output_type - 9, // [9:13] 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_apm_services_v1_apm_service_service_proto_init() } -func file_com_coralogixapis_apm_services_v1_apm_service_service_proto_init() { - if File_com_coralogixapis_apm_services_v1_apm_service_service_proto != nil { - return - } - file_com_coralogixapis_apm_services_v1_apm_service_proto_init() - file_com_coralogixapis_apm_common_v2_audit_log_proto_init() - file_com_coralogixapis_apm_common_v2_order_by_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetApmServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetApmServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchGetApmServicesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchGetApmServicesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteApmServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteApmServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListApmServicesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListApmServicesResponse); 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_apm_services_v1_apm_service_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 9, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_apm_services_v1_apm_service_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_services_v1_apm_service_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_apm_services_v1_apm_service_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_apm_services_v1_apm_service_service_proto = out.File - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_rawDesc = nil - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_goTypes = nil - file_com_coralogixapis_apm_services_v1_apm_service_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/slo/apm_service_service_grpc.pb.go b/coralogix/clientset/grpc/slo/apm_service_service_grpc.pb.go deleted file mode 100644 index 304120fc..00000000 --- a/coralogix/clientset/grpc/slo/apm_service_service_grpc.pb.go +++ /dev/null @@ -1,213 +0,0 @@ -// 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/apm/services/v1/apm_service_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 - -// ApmServiceServiceClient is the client API for ApmServiceService 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 ApmServiceServiceClient interface { - GetApmService(ctx context.Context, in *GetApmServiceRequest, opts ...grpc.CallOption) (*GetApmServiceResponse, error) - BatchGetApmServices(ctx context.Context, in *BatchGetApmServicesRequest, opts ...grpc.CallOption) (*BatchGetApmServicesResponse, error) - DeleteApmService(ctx context.Context, in *DeleteApmServiceRequest, opts ...grpc.CallOption) (*DeleteApmServiceResponse, error) - ListApmServices(ctx context.Context, in *ListApmServicesRequest, opts ...grpc.CallOption) (*ListApmServicesResponse, error) -} - -type apmServiceServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewApmServiceServiceClient(cc grpc.ClientConnInterface) ApmServiceServiceClient { - return &apmServiceServiceClient{cc} -} - -func (c *apmServiceServiceClient) GetApmService(ctx context.Context, in *GetApmServiceRequest, opts ...grpc.CallOption) (*GetApmServiceResponse, error) { - out := new(GetApmServiceResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ApmServiceService/GetApmService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *apmServiceServiceClient) BatchGetApmServices(ctx context.Context, in *BatchGetApmServicesRequest, opts ...grpc.CallOption) (*BatchGetApmServicesResponse, error) { - out := new(BatchGetApmServicesResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ApmServiceService/BatchGetApmServices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *apmServiceServiceClient) DeleteApmService(ctx context.Context, in *DeleteApmServiceRequest, opts ...grpc.CallOption) (*DeleteApmServiceResponse, error) { - out := new(DeleteApmServiceResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ApmServiceService/DeleteApmService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *apmServiceServiceClient) ListApmServices(ctx context.Context, in *ListApmServicesRequest, opts ...grpc.CallOption) (*ListApmServicesResponse, error) { - out := new(ListApmServicesResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ApmServiceService/ListApmServices", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ApmServiceServiceServer is the server API for ApmServiceService service. -// All implementations must embed UnimplementedApmServiceServiceServer -// for forward compatibility -type ApmServiceServiceServer interface { - GetApmService(context.Context, *GetApmServiceRequest) (*GetApmServiceResponse, error) - BatchGetApmServices(context.Context, *BatchGetApmServicesRequest) (*BatchGetApmServicesResponse, error) - DeleteApmService(context.Context, *DeleteApmServiceRequest) (*DeleteApmServiceResponse, error) - ListApmServices(context.Context, *ListApmServicesRequest) (*ListApmServicesResponse, error) - mustEmbedUnimplementedApmServiceServiceServer() -} - -// UnimplementedApmServiceServiceServer must be embedded to have forward compatible implementations. -type UnimplementedApmServiceServiceServer struct { -} - -func (UnimplementedApmServiceServiceServer) GetApmService(context.Context, *GetApmServiceRequest) (*GetApmServiceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetApmService not implemented") -} -func (UnimplementedApmServiceServiceServer) BatchGetApmServices(context.Context, *BatchGetApmServicesRequest) (*BatchGetApmServicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchGetApmServices not implemented") -} -func (UnimplementedApmServiceServiceServer) DeleteApmService(context.Context, *DeleteApmServiceRequest) (*DeleteApmServiceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteApmService not implemented") -} -func (UnimplementedApmServiceServiceServer) ListApmServices(context.Context, *ListApmServicesRequest) (*ListApmServicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListApmServices not implemented") -} -func (UnimplementedApmServiceServiceServer) mustEmbedUnimplementedApmServiceServiceServer() {} - -// UnsafeApmServiceServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ApmServiceServiceServer will -// result in compilation errors. -type UnsafeApmServiceServiceServer interface { - mustEmbedUnimplementedApmServiceServiceServer() -} - -func RegisterApmServiceServiceServer(s grpc.ServiceRegistrar, srv ApmServiceServiceServer) { - s.RegisterService(&ApmServiceService_ServiceDesc, srv) -} - -func _ApmServiceService_GetApmService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetApmServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApmServiceServiceServer).GetApmService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ApmServiceService/GetApmService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApmServiceServiceServer).GetApmService(ctx, req.(*GetApmServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApmServiceService_BatchGetApmServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchGetApmServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApmServiceServiceServer).BatchGetApmServices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ApmServiceService/BatchGetApmServices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApmServiceServiceServer).BatchGetApmServices(ctx, req.(*BatchGetApmServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApmServiceService_DeleteApmService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteApmServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApmServiceServiceServer).DeleteApmService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ApmServiceService/DeleteApmService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApmServiceServiceServer).DeleteApmService(ctx, req.(*DeleteApmServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ApmServiceService_ListApmServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListApmServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ApmServiceServiceServer).ListApmServices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ApmServiceService/ListApmServices", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ApmServiceServiceServer).ListApmServices(ctx, req.(*ListApmServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ApmServiceService_ServiceDesc is the grpc.ServiceDesc for ApmServiceService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ApmServiceService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.apm.services.v1.ApmServiceService", - HandlerType: (*ApmServiceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetApmService", - Handler: _ApmServiceService_GetApmService_Handler, - }, - { - MethodName: "BatchGetApmServices", - Handler: _ApmServiceService_BatchGetApmServices_Handler, - }, - { - MethodName: "DeleteApmService", - Handler: _ApmServiceService_DeleteApmService_Handler, - }, - { - MethodName: "ListApmServices", - Handler: _ApmServiceService_ListApmServices_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/apm/services/v1/apm_service_service.proto", -} diff --git a/coralogix/clientset/grpc/slo/audit_log.pb.go b/coralogix/clientset/grpc/slo/audit_log.pb.go deleted file mode 100644 index e3dc2066..00000000 --- a/coralogix/clientset/grpc/slo/audit_log.pb.go +++ /dev/null @@ -1,179 +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/apm/common/v2/audit_log.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - 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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_common_v2_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_common_v2_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -var file_com_coralogixapis_apm_common_v2_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5006, - Name: "com.coralogixapis.apm.common.v2.audit_log_description", - Tag: "bytes,5006,opt,name=audit_log_description", - Filename: "com/coralogixapis/apm/common/v2/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogixapis.apm.common.v2.AuditLogDescription audit_log_description = 5006; - E_AuditLogDescription = &file_com_coralogixapis_apm_common_v2_audit_log_proto_extTypes[0] -) - -var File_com_coralogixapis_apm_common_v2_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, - 0x32, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x32, 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, 0x22, 0x37, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x89, 0x01, - 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x8e, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x32, - 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescData = file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDesc -) - -func file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescData) - }) - return file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDescData -} - -var file_com_coralogixapis_apm_common_v2_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_apm_common_v2_audit_log_proto_goTypes = []interface{}{ - (*AuditLogDescription)(nil), // 0: com.coralogixapis.apm.common.v2.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogixapis_apm_common_v2_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.apm.common.v2.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogixapis.apm.common.v2.audit_log_description:type_name -> com.coralogixapis.apm.common.v2.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_apm_common_v2_audit_log_proto_init() } -func file_com_coralogixapis_apm_common_v2_audit_log_proto_init() { - if File_com_coralogixapis_apm_common_v2_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_common_v2_audit_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogDescription); 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_apm_common_v2_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_apm_common_v2_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_common_v2_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogixapis_apm_common_v2_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogixapis_apm_common_v2_audit_log_proto_extTypes, - }.Build() - File_com_coralogixapis_apm_common_v2_audit_log_proto = out.File - file_com_coralogixapis_apm_common_v2_audit_log_proto_rawDesc = nil - file_com_coralogixapis_apm_common_v2_audit_log_proto_goTypes = nil - file_com_coralogixapis_apm_common_v2_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/slo/data_source.pb.go b/coralogix/clientset/grpc/slo/data_source.pb.go deleted file mode 100644 index 3598e6d7..00000000 --- a/coralogix/clientset/grpc/slo/data_source.pb.go +++ /dev/null @@ -1,165 +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/apm/common/v2/data_source.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 DataSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Provider *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` - Exporter *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=exporter,proto3" json:"exporter,omitempty"` -} - -func (x *DataSource) Reset() { - *x = DataSource{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_common_v2_data_source_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DataSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DataSource) ProtoMessage() {} - -func (x *DataSource) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_common_v2_data_source_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 DataSource.ProtoReflect.Descriptor instead. -func (*DataSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescGZIP(), []int{0} -} - -func (x *DataSource) GetProvider() *wrapperspb.StringValue { - if x != nil { - return x.Provider - } - return nil -} - -func (x *DataSource) GetExporter() *wrapperspb.StringValue { - if x != nil { - return x.Exporter - } - return nil -} - -var File_com_coralogixapis_apm_common_v2_data_source_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_common_v2_data_source_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, - 0x32, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x32, 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, 0x80, 0x01, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, - 0x08, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 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, 0x65, - 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescData = file_com_coralogixapis_apm_common_v2_data_source_proto_rawDesc -) - -func file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescData) - }) - return file_com_coralogixapis_apm_common_v2_data_source_proto_rawDescData -} - -var file_com_coralogixapis_apm_common_v2_data_source_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_apm_common_v2_data_source_proto_goTypes = []interface{}{ - (*DataSource)(nil), // 0: com.coralogixapis.apm.common.v2.DataSource - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogixapis_apm_common_v2_data_source_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.apm.common.v2.DataSource.provider:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.apm.common.v2.DataSource.exporter: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_apm_common_v2_data_source_proto_init() } -func file_com_coralogixapis_apm_common_v2_data_source_proto_init() { - if File_com_coralogixapis_apm_common_v2_data_source_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_common_v2_data_source_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataSource); 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_apm_common_v2_data_source_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_apm_common_v2_data_source_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_common_v2_data_source_proto_depIdxs, - MessageInfos: file_com_coralogixapis_apm_common_v2_data_source_proto_msgTypes, - }.Build() - File_com_coralogixapis_apm_common_v2_data_source_proto = out.File - file_com_coralogixapis_apm_common_v2_data_source_proto_rawDesc = nil - file_com_coralogixapis_apm_common_v2_data_source_proto_goTypes = nil - file_com_coralogixapis_apm_common_v2_data_source_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/slo/order_by.pb.go b/coralogix/clientset/grpc/slo/order_by.pb.go deleted file mode 100644 index 68f15e9f..00000000 --- a/coralogix/clientset/grpc/slo/order_by.pb.go +++ /dev/null @@ -1,225 +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/apm/common/v2/order_by.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 OrderByDirection int32 - -const ( - OrderByDirection_ORDER_BY_DIRECTION_UNSPECIFIED OrderByDirection = 0 - OrderByDirection_ORDER_BY_DIRECTION_ASC OrderByDirection = 1 - OrderByDirection_ORDER_BY_DIRECTION_DESC OrderByDirection = 2 -) - -// Enum value maps for OrderByDirection. -var ( - OrderByDirection_name = map[int32]string{ - 0: "ORDER_BY_DIRECTION_UNSPECIFIED", - 1: "ORDER_BY_DIRECTION_ASC", - 2: "ORDER_BY_DIRECTION_DESC", - } - OrderByDirection_value = map[string]int32{ - "ORDER_BY_DIRECTION_UNSPECIFIED": 0, - "ORDER_BY_DIRECTION_ASC": 1, - "ORDER_BY_DIRECTION_DESC": 2, - } -) - -func (x OrderByDirection) Enum() *OrderByDirection { - p := new(OrderByDirection) - *p = x - return p -} - -func (x OrderByDirection) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrderByDirection) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_apm_common_v2_order_by_proto_enumTypes[0].Descriptor() -} - -func (OrderByDirection) Type() protoreflect.EnumType { - return &file_com_coralogixapis_apm_common_v2_order_by_proto_enumTypes[0] -} - -func (x OrderByDirection) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use OrderByDirection.Descriptor instead. -func (OrderByDirection) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescGZIP(), []int{0} -} - -type OrderBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FieldName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` - Direction OrderByDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=com.coralogixapis.apm.common.v2.OrderByDirection" json:"direction,omitempty"` -} - -func (x *OrderBy) Reset() { - *x = OrderBy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_common_v2_order_by_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrderBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrderBy) ProtoMessage() {} - -func (x *OrderBy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_common_v2_order_by_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 OrderBy.ProtoReflect.Descriptor instead. -func (*OrderBy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescGZIP(), []int{0} -} - -func (x *OrderBy) GetFieldName() *wrapperspb.StringValue { - if x != nil { - return x.FieldName - } - return nil -} - -func (x *OrderBy) GetDirection() OrderByDirection { - if x != nil { - return x.Direction - } - return OrderByDirection_ORDER_BY_DIRECTION_UNSPECIFIED -} - -var File_com_coralogixapis_apm_common_v2_order_by_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_common_v2_order_by_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, - 0x32, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x32, 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, 0x97, 0x01, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x3b, 0x0a, - 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 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, - 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x64, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x6f, 0x0a, 0x10, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x22, 0x0a, 0x1e, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x44, 0x49, 0x52, 0x45, - 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, - 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, 0x12, - 0x1b, 0x0a, 0x17, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x42, 0x59, 0x5f, 0x44, 0x49, 0x52, 0x45, - 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x02, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescData = file_com_coralogixapis_apm_common_v2_order_by_proto_rawDesc -) - -func file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescData) - }) - return file_com_coralogixapis_apm_common_v2_order_by_proto_rawDescData -} - -var file_com_coralogixapis_apm_common_v2_order_by_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_apm_common_v2_order_by_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_apm_common_v2_order_by_proto_goTypes = []interface{}{ - (OrderByDirection)(0), // 0: com.coralogixapis.apm.common.v2.OrderByDirection - (*OrderBy)(nil), // 1: com.coralogixapis.apm.common.v2.OrderBy - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogixapis_apm_common_v2_order_by_proto_depIdxs = []int32{ - 2, // 0: com.coralogixapis.apm.common.v2.OrderBy.field_name:type_name -> google.protobuf.StringValue - 0, // 1: com.coralogixapis.apm.common.v2.OrderBy.direction:type_name -> com.coralogixapis.apm.common.v2.OrderByDirection - 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_apm_common_v2_order_by_proto_init() } -func file_com_coralogixapis_apm_common_v2_order_by_proto_init() { - if File_com_coralogixapis_apm_common_v2_order_by_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_common_v2_order_by_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrderBy); 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_apm_common_v2_order_by_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_apm_common_v2_order_by_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_common_v2_order_by_proto_depIdxs, - EnumInfos: file_com_coralogixapis_apm_common_v2_order_by_proto_enumTypes, - MessageInfos: file_com_coralogixapis_apm_common_v2_order_by_proto_msgTypes, - }.Build() - File_com_coralogixapis_apm_common_v2_order_by_proto = out.File - file_com_coralogixapis_apm_common_v2_order_by_proto_rawDesc = nil - file_com_coralogixapis_apm_common_v2_order_by_proto_goTypes = nil - file_com_coralogixapis_apm_common_v2_order_by_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/slo/service_slo.pb.go b/coralogix/clientset/grpc/slo/service_slo.pb.go deleted file mode 100644 index 666d38db..00000000 --- a/coralogix/clientset/grpc/slo/service_slo.pb.go +++ /dev/null @@ -1,883 +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/apm/services/v1/service_slo.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" - 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 CompareType int32 - -const ( - CompareType_COMPARE_TYPE_UNSPECIFIED CompareType = 0 - CompareType_COMPARE_TYPE_IS CompareType = 1 - CompareType_COMPARE_TYPE_START_WITH CompareType = 2 - CompareType_COMPARE_TYPE_ENDS_WITH CompareType = 3 - CompareType_COMPARE_TYPE_INCLUDES CompareType = 4 -) - -// Enum value maps for CompareType. -var ( - CompareType_name = map[int32]string{ - 0: "COMPARE_TYPE_UNSPECIFIED", - 1: "COMPARE_TYPE_IS", - 2: "COMPARE_TYPE_START_WITH", - 3: "COMPARE_TYPE_ENDS_WITH", - 4: "COMPARE_TYPE_INCLUDES", - } - CompareType_value = map[string]int32{ - "COMPARE_TYPE_UNSPECIFIED": 0, - "COMPARE_TYPE_IS": 1, - "COMPARE_TYPE_START_WITH": 2, - "COMPARE_TYPE_ENDS_WITH": 3, - "COMPARE_TYPE_INCLUDES": 4, - } -) - -func (x CompareType) Enum() *CompareType { - p := new(CompareType) - *p = x - return p -} - -func (x CompareType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CompareType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[0].Descriptor() -} - -func (CompareType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[0] -} - -func (x CompareType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CompareType.Descriptor instead. -func (CompareType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{0} -} - -type SloStatus int32 - -const ( - SloStatus_SLO_STATUS_UNSPECIFIED SloStatus = 0 - SloStatus_SLO_STATUS_OK SloStatus = 1 - SloStatus_SLO_STATUS_BREACHED SloStatus = 2 -) - -// Enum value maps for SloStatus. -var ( - SloStatus_name = map[int32]string{ - 0: "SLO_STATUS_UNSPECIFIED", - 1: "SLO_STATUS_OK", - 2: "SLO_STATUS_BREACHED", - } - SloStatus_value = map[string]int32{ - "SLO_STATUS_UNSPECIFIED": 0, - "SLO_STATUS_OK": 1, - "SLO_STATUS_BREACHED": 2, - } -) - -func (x SloStatus) Enum() *SloStatus { - p := new(SloStatus) - *p = x - return p -} - -func (x SloStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SloStatus) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[1].Descriptor() -} - -func (SloStatus) Type() protoreflect.EnumType { - return &file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[1] -} - -func (x SloStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SloStatus.Descriptor instead. -func (SloStatus) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{1} -} - -type SliMetricType int32 - -const ( - SliMetricType_SLI_METRIC_TYPE_UNSPECIFIED SliMetricType = 0 - SliMetricType_SLI_METRIC_TYPE_ERROR SliMetricType = 1 - SliMetricType_SLI_METRIC_TYPE_LATENCY SliMetricType = 2 - SliMetricType_SLI_METRIC_TYPE_CUSTOM SliMetricType = 3 -) - -// Enum value maps for SliMetricType. -var ( - SliMetricType_name = map[int32]string{ - 0: "SLI_METRIC_TYPE_UNSPECIFIED", - 1: "SLI_METRIC_TYPE_ERROR", - 2: "SLI_METRIC_TYPE_LATENCY", - 3: "SLI_METRIC_TYPE_CUSTOM", - } - SliMetricType_value = map[string]int32{ - "SLI_METRIC_TYPE_UNSPECIFIED": 0, - "SLI_METRIC_TYPE_ERROR": 1, - "SLI_METRIC_TYPE_LATENCY": 2, - "SLI_METRIC_TYPE_CUSTOM": 3, - } -) - -func (x SliMetricType) Enum() *SliMetricType { - p := new(SliMetricType) - *p = x - return p -} - -func (x SliMetricType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SliMetricType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[2].Descriptor() -} - -func (SliMetricType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[2] -} - -func (x SliMetricType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SliMetricType.Descriptor instead. -func (SliMetricType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{2} -} - -type ThresholdSymbol int32 - -const ( - ThresholdSymbol_THRESHOLD_SYMBOL_UNSPECIFIED ThresholdSymbol = 0 - ThresholdSymbol_THRESHOLD_SYMBOL_GREATER ThresholdSymbol = 1 - ThresholdSymbol_THRESHOLD_SYMBOL_GREATER_OR_EQUAL ThresholdSymbol = 2 - ThresholdSymbol_THRESHOLD_SYMBOL_LESS ThresholdSymbol = 3 - ThresholdSymbol_THRESHOLD_SYMBOL_LESS_OR_EQUAL ThresholdSymbol = 4 - ThresholdSymbol_THRESHOLD_SYMBOL_EQUAL ThresholdSymbol = 5 - ThresholdSymbol_THRESHOLD_SYMBOL_NOT_EQUAL ThresholdSymbol = 6 -) - -// Enum value maps for ThresholdSymbol. -var ( - ThresholdSymbol_name = map[int32]string{ - 0: "THRESHOLD_SYMBOL_UNSPECIFIED", - 1: "THRESHOLD_SYMBOL_GREATER", - 2: "THRESHOLD_SYMBOL_GREATER_OR_EQUAL", - 3: "THRESHOLD_SYMBOL_LESS", - 4: "THRESHOLD_SYMBOL_LESS_OR_EQUAL", - 5: "THRESHOLD_SYMBOL_EQUAL", - 6: "THRESHOLD_SYMBOL_NOT_EQUAL", - } - ThresholdSymbol_value = map[string]int32{ - "THRESHOLD_SYMBOL_UNSPECIFIED": 0, - "THRESHOLD_SYMBOL_GREATER": 1, - "THRESHOLD_SYMBOL_GREATER_OR_EQUAL": 2, - "THRESHOLD_SYMBOL_LESS": 3, - "THRESHOLD_SYMBOL_LESS_OR_EQUAL": 4, - "THRESHOLD_SYMBOL_EQUAL": 5, - "THRESHOLD_SYMBOL_NOT_EQUAL": 6, - } -) - -func (x ThresholdSymbol) Enum() *ThresholdSymbol { - p := new(ThresholdSymbol) - *p = x - return p -} - -func (x ThresholdSymbol) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ThresholdSymbol) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[3].Descriptor() -} - -func (ThresholdSymbol) Type() protoreflect.EnumType { - return &file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[3] -} - -func (x ThresholdSymbol) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ThresholdSymbol.Descriptor instead. -func (ThresholdSymbol) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{3} -} - -type SloPeriod int32 - -const ( - SloPeriod_SLO_PERIOD_UNSPECIFIED SloPeriod = 0 - SloPeriod_SLO_PERIOD_7_DAYS SloPeriod = 1 - SloPeriod_SLO_PERIOD_14_DAYS SloPeriod = 2 - SloPeriod_SLO_PERIOD_30_DAYS SloPeriod = 3 -) - -// Enum value maps for SloPeriod. -var ( - SloPeriod_name = map[int32]string{ - 0: "SLO_PERIOD_UNSPECIFIED", - 1: "SLO_PERIOD_7_DAYS", - 2: "SLO_PERIOD_14_DAYS", - 3: "SLO_PERIOD_30_DAYS", - } - SloPeriod_value = map[string]int32{ - "SLO_PERIOD_UNSPECIFIED": 0, - "SLO_PERIOD_7_DAYS": 1, - "SLO_PERIOD_14_DAYS": 2, - "SLO_PERIOD_30_DAYS": 3, - } -) - -func (x SloPeriod) Enum() *SloPeriod { - p := new(SloPeriod) - *p = x - return p -} - -func (x SloPeriod) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SloPeriod) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[4].Descriptor() -} - -func (SloPeriod) Type() protoreflect.EnumType { - return &file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes[4] -} - -func (x SloPeriod) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SloPeriod.Descriptor instead. -func (SloPeriod) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{4} -} - -type SliFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Field *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` - CompareType CompareType `protobuf:"varint,2,opt,name=compare_type,json=compareType,proto3,enum=com.coralogixapis.apm.services.v1.CompareType" json:"compare_type,omitempty"` - FieldValues []*wrapperspb.StringValue `protobuf:"bytes,3,rep,name=field_values,json=fieldValues,proto3" json:"field_values,omitempty"` -} - -func (x *SliFilter) Reset() { - *x = SliFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SliFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SliFilter) ProtoMessage() {} - -func (x *SliFilter) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 SliFilter.ProtoReflect.Descriptor instead. -func (*SliFilter) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{0} -} - -func (x *SliFilter) GetField() *wrapperspb.StringValue { - if x != nil { - return x.Field - } - return nil -} - -func (x *SliFilter) GetCompareType() CompareType { - if x != nil { - return x.CompareType - } - return CompareType_COMPARE_TYPE_UNSPECIFIED -} - -func (x *SliFilter) GetFieldValues() []*wrapperspb.StringValue { - if x != nil { - return x.FieldValues - } - return nil -} - -type LatencySli struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ThresholdMicroseconds *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=threshold_microseconds,json=thresholdMicroseconds,proto3" json:"threshold_microseconds,omitempty"` - ThresholdSymbol ThresholdSymbol `protobuf:"varint,2,opt,name=threshold_symbol,json=thresholdSymbol,proto3,enum=com.coralogixapis.apm.services.v1.ThresholdSymbol" json:"threshold_symbol,omitempty"` -} - -func (x *LatencySli) Reset() { - *x = LatencySli{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LatencySli) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LatencySli) ProtoMessage() {} - -func (x *LatencySli) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 LatencySli.ProtoReflect.Descriptor instead. -func (*LatencySli) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{1} -} - -func (x *LatencySli) GetThresholdMicroseconds() *wrapperspb.StringValue { - if x != nil { - return x.ThresholdMicroseconds - } - return nil -} - -func (x *LatencySli) GetThresholdSymbol() ThresholdSymbol { - if x != nil { - return x.ThresholdSymbol - } - return ThresholdSymbol_THRESHOLD_SYMBOL_UNSPECIFIED -} - -type ErrorSli struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ErrorSli) Reset() { - *x = ErrorSli{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ErrorSli) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ErrorSli) ProtoMessage() {} - -func (x *ErrorSli) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 ErrorSli.ProtoReflect.Descriptor instead. -func (*ErrorSli) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{2} -} - -type ServiceSlo 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"` - ServiceName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - Status SloStatus `protobuf:"varint,4,opt,name=status,proto3,enum=com.coralogixapis.apm.services.v1.SloStatus" json:"status,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - TargetPercentage *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=target_percentage,json=targetPercentage,proto3" json:"target_percentage,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - RemainingErrorBudgetPercentage *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=remaining_error_budget_percentage,json=remainingErrorBudgetPercentage,proto3" json:"remaining_error_budget_percentage,omitempty"` - // Types that are assignable to SliType: - // *ServiceSlo_LatencySli - // *ServiceSlo_ErrorSli - SliType isServiceSlo_SliType `protobuf_oneof:"sli_type"` - Filters []*SliFilter `protobuf:"bytes,11,rep,name=filters,proto3" json:"filters,omitempty"` - Period SloPeriod `protobuf:"varint,12,opt,name=period,proto3,enum=com.coralogixapis.apm.services.v1.SloPeriod" json:"period,omitempty"` -} - -func (x *ServiceSlo) Reset() { - *x = ServiceSlo{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServiceSlo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServiceSlo) ProtoMessage() {} - -func (x *ServiceSlo) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 ServiceSlo.ProtoReflect.Descriptor instead. -func (*ServiceSlo) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP(), []int{3} -} - -func (x *ServiceSlo) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *ServiceSlo) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *ServiceSlo) GetServiceName() *wrapperspb.StringValue { - if x != nil { - return x.ServiceName - } - return nil -} - -func (x *ServiceSlo) GetStatus() SloStatus { - if x != nil { - return x.Status - } - return SloStatus_SLO_STATUS_UNSPECIFIED -} - -func (x *ServiceSlo) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *ServiceSlo) GetTargetPercentage() *wrapperspb.UInt32Value { - if x != nil { - return x.TargetPercentage - } - return nil -} - -func (x *ServiceSlo) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *ServiceSlo) GetRemainingErrorBudgetPercentage() *wrapperspb.UInt32Value { - if x != nil { - return x.RemainingErrorBudgetPercentage - } - return nil -} - -func (m *ServiceSlo) GetSliType() isServiceSlo_SliType { - if m != nil { - return m.SliType - } - return nil -} - -func (x *ServiceSlo) GetLatencySli() *LatencySli { - if x, ok := x.GetSliType().(*ServiceSlo_LatencySli); ok { - return x.LatencySli - } - return nil -} - -func (x *ServiceSlo) GetErrorSli() *ErrorSli { - if x, ok := x.GetSliType().(*ServiceSlo_ErrorSli); ok { - return x.ErrorSli - } - return nil -} - -func (x *ServiceSlo) GetFilters() []*SliFilter { - if x != nil { - return x.Filters - } - return nil -} - -func (x *ServiceSlo) GetPeriod() SloPeriod { - if x != nil { - return x.Period - } - return SloPeriod_SLO_PERIOD_UNSPECIFIED -} - -type isServiceSlo_SliType interface { - isServiceSlo_SliType() -} - -type ServiceSlo_LatencySli struct { - LatencySli *LatencySli `protobuf:"bytes,9,opt,name=latency_sli,json=latencySli,proto3,oneof"` -} - -type ServiceSlo_ErrorSli struct { - ErrorSli *ErrorSli `protobuf:"bytes,10,opt,name=error_sli,json=errorSli,proto3,oneof"` -} - -func (*ServiceSlo_LatencySli) isServiceSlo_SliType() {} - -func (*ServiceSlo_ErrorSli) isServiceSlo_SliType() {} - -var File_com_coralogixapis_apm_services_v1_service_slo_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x6c, 0x6f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 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, 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, 0xd3, 0x01, 0x0a, 0x09, 0x53, 0x6c, - 0x69, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 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, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x51, 0x0a, 0x0c, 0x63, - 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, - 0x0a, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 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, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, - 0xc0, 0x01, 0x0a, 0x0a, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x6c, 0x69, 0x12, 0x53, - 0x0a, 0x16, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x69, 0x63, 0x72, - 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 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, 0x15, 0x74, 0x68, - 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x73, 0x12, 0x5d, 0x0a, 0x10, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, - 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x79, 0x6d, 0x62, 0x6f, - 0x6c, 0x52, 0x0f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x79, 0x6d, 0x62, - 0x6f, 0x6c, 0x22, 0x0a, 0x0a, 0x08, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x6c, 0x69, 0x22, 0xda, - 0x06, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 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, 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, 0x44, - 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 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, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, - 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, - 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x67, 0x0a, 0x21, 0x72, 0x65, - 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x62, 0x75, - 0x64, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x1e, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x61, 0x67, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x73, - 0x6c, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x74, - 0x65, 0x6e, 0x63, 0x79, 0x53, 0x6c, 0x69, 0x48, 0x00, 0x52, 0x0a, 0x6c, 0x61, 0x74, 0x65, 0x6e, - 0x63, 0x79, 0x53, 0x6c, 0x69, 0x12, 0x4a, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, - 0x6c, 0x69, 0x18, 0x0a, 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, 0x61, 0x70, 0x6d, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x53, 0x6c, 0x69, 0x48, 0x00, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x6c, - 0x69, 0x12, 0x46, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x69, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x44, 0x0a, 0x06, 0x70, 0x65, 0x72, - 0x69, 0x6f, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, - 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, - 0x6f, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x42, - 0x0a, 0x0a, 0x08, 0x73, 0x6c, 0x69, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2a, 0x94, 0x01, 0x0a, 0x0b, - 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x43, - 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4d, - 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x53, 0x10, 0x01, 0x12, 0x1b, - 0x0a, 0x17, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, - 0x54, 0x41, 0x52, 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x43, - 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x44, 0x53, - 0x5f, 0x57, 0x49, 0x54, 0x48, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x41, - 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x53, - 0x10, 0x04, 0x2a, 0x53, 0x0a, 0x09, 0x53, 0x6c, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x1a, 0x0a, 0x16, 0x53, 0x4c, 0x4f, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, - 0x4c, 0x4f, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x17, - 0x0a, 0x13, 0x53, 0x4c, 0x4f, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x42, 0x52, 0x45, - 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x84, 0x01, 0x0a, 0x0d, 0x53, 0x6c, 0x69, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x4c, 0x49, - 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x4c, - 0x49, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x4c, 0x49, 0x5f, 0x4d, 0x45, 0x54, - 0x52, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x4e, 0x43, 0x59, - 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x4c, 0x49, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x03, 0x2a, 0xf3, - 0x01, 0x0a, 0x0f, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x79, 0x6d, 0x62, - 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, - 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, - 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x47, 0x52, 0x45, 0x41, 0x54, 0x45, 0x52, - 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, - 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x47, 0x52, 0x45, 0x41, 0x54, 0x45, 0x52, 0x5f, 0x4f, - 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x48, 0x52, - 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x4c, 0x45, - 0x53, 0x53, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, - 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x4f, 0x52, - 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x48, 0x52, 0x45, - 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x45, 0x51, 0x55, - 0x41, 0x4c, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, - 0x44, 0x5f, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x51, 0x55, - 0x41, 0x4c, 0x10, 0x06, 0x2a, 0x6e, 0x0a, 0x09, 0x53, 0x6c, 0x6f, 0x50, 0x65, 0x72, 0x69, 0x6f, - 0x64, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, - 0x11, 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, 0x5f, 0x37, 0x5f, 0x44, 0x41, - 0x59, 0x53, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, - 0x4f, 0x44, 0x5f, 0x31, 0x34, 0x5f, 0x44, 0x41, 0x59, 0x53, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, - 0x53, 0x4c, 0x4f, 0x5f, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, 0x5f, 0x33, 0x30, 0x5f, 0x44, 0x41, - 0x59, 0x53, 0x10, 0x03, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescData = file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDesc -) - -func file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescData) - }) - return file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDescData -} - -var file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_com_coralogixapis_apm_services_v1_service_slo_proto_goTypes = []interface{}{ - (CompareType)(0), // 0: com.coralogixapis.apm.services.v1.CompareType - (SloStatus)(0), // 1: com.coralogixapis.apm.services.v1.SloStatus - (SliMetricType)(0), // 2: com.coralogixapis.apm.services.v1.SliMetricType - (ThresholdSymbol)(0), // 3: com.coralogixapis.apm.services.v1.ThresholdSymbol - (SloPeriod)(0), // 4: com.coralogixapis.apm.services.v1.SloPeriod - (*SliFilter)(nil), // 5: com.coralogixapis.apm.services.v1.SliFilter - (*LatencySli)(nil), // 6: com.coralogixapis.apm.services.v1.LatencySli - (*ErrorSli)(nil), // 7: com.coralogixapis.apm.services.v1.ErrorSli - (*ServiceSlo)(nil), // 8: com.coralogixapis.apm.services.v1.ServiceSlo - (*wrapperspb.StringValue)(nil), // 9: google.protobuf.StringValue - (*wrapperspb.UInt32Value)(nil), // 10: google.protobuf.UInt32Value - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp -} -var file_com_coralogixapis_apm_services_v1_service_slo_proto_depIdxs = []int32{ - 9, // 0: com.coralogixapis.apm.services.v1.SliFilter.field:type_name -> google.protobuf.StringValue - 0, // 1: com.coralogixapis.apm.services.v1.SliFilter.compare_type:type_name -> com.coralogixapis.apm.services.v1.CompareType - 9, // 2: com.coralogixapis.apm.services.v1.SliFilter.field_values:type_name -> google.protobuf.StringValue - 9, // 3: com.coralogixapis.apm.services.v1.LatencySli.threshold_microseconds:type_name -> google.protobuf.StringValue - 3, // 4: com.coralogixapis.apm.services.v1.LatencySli.threshold_symbol:type_name -> com.coralogixapis.apm.services.v1.ThresholdSymbol - 9, // 5: com.coralogixapis.apm.services.v1.ServiceSlo.id:type_name -> google.protobuf.StringValue - 9, // 6: com.coralogixapis.apm.services.v1.ServiceSlo.name:type_name -> google.protobuf.StringValue - 9, // 7: com.coralogixapis.apm.services.v1.ServiceSlo.service_name:type_name -> google.protobuf.StringValue - 1, // 8: com.coralogixapis.apm.services.v1.ServiceSlo.status:type_name -> com.coralogixapis.apm.services.v1.SloStatus - 9, // 9: com.coralogixapis.apm.services.v1.ServiceSlo.description:type_name -> google.protobuf.StringValue - 10, // 10: com.coralogixapis.apm.services.v1.ServiceSlo.target_percentage:type_name -> google.protobuf.UInt32Value - 11, // 11: com.coralogixapis.apm.services.v1.ServiceSlo.created_at:type_name -> google.protobuf.Timestamp - 10, // 12: com.coralogixapis.apm.services.v1.ServiceSlo.remaining_error_budget_percentage:type_name -> google.protobuf.UInt32Value - 6, // 13: com.coralogixapis.apm.services.v1.ServiceSlo.latency_sli:type_name -> com.coralogixapis.apm.services.v1.LatencySli - 7, // 14: com.coralogixapis.apm.services.v1.ServiceSlo.error_sli:type_name -> com.coralogixapis.apm.services.v1.ErrorSli - 5, // 15: com.coralogixapis.apm.services.v1.ServiceSlo.filters:type_name -> com.coralogixapis.apm.services.v1.SliFilter - 4, // 16: com.coralogixapis.apm.services.v1.ServiceSlo.period:type_name -> com.coralogixapis.apm.services.v1.SloPeriod - 17, // [17:17] is the sub-list for method output_type - 17, // [17:17] 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_apm_services_v1_service_slo_proto_init() } -func file_com_coralogixapis_apm_services_v1_service_slo_proto_init() { - if File_com_coralogixapis_apm_services_v1_service_slo_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SliFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LatencySli); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ErrorSli); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceSlo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes[3].OneofWrappers = []interface{}{ - (*ServiceSlo_LatencySli)(nil), - (*ServiceSlo_ErrorSli)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDesc, - NumEnums: 5, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_apm_services_v1_service_slo_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_services_v1_service_slo_proto_depIdxs, - EnumInfos: file_com_coralogixapis_apm_services_v1_service_slo_proto_enumTypes, - MessageInfos: file_com_coralogixapis_apm_services_v1_service_slo_proto_msgTypes, - }.Build() - File_com_coralogixapis_apm_services_v1_service_slo_proto = out.File - file_com_coralogixapis_apm_services_v1_service_slo_proto_rawDesc = nil - file_com_coralogixapis_apm_services_v1_service_slo_proto_goTypes = nil - file_com_coralogixapis_apm_services_v1_service_slo_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/slo/service_slo_service.pb.go b/coralogix/clientset/grpc/slo/service_slo_service.pb.go deleted file mode 100644 index 5b21fd2e..00000000 --- a/coralogix/clientset/grpc/slo/service_slo_service.pb.go +++ /dev/null @@ -1,999 +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/apm/services/v1/service_slo_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 GetServiceSloRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetServiceSloRequest) Reset() { - *x = GetServiceSloRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetServiceSloRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetServiceSloRequest) ProtoMessage() {} - -func (x *GetServiceSloRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 GetServiceSloRequest.ProtoReflect.Descriptor instead. -func (*GetServiceSloRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{0} -} - -func (x *GetServiceSloRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type GetServiceSloResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"` -} - -func (x *GetServiceSloResponse) Reset() { - *x = GetServiceSloResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetServiceSloResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetServiceSloResponse) ProtoMessage() {} - -func (x *GetServiceSloResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 GetServiceSloResponse.ProtoReflect.Descriptor instead. -func (*GetServiceSloResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetServiceSloResponse) GetSlo() *ServiceSlo { - if x != nil { - return x.Slo - } - return nil -} - -type CreateServiceSloRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"` -} - -func (x *CreateServiceSloRequest) Reset() { - *x = CreateServiceSloRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateServiceSloRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateServiceSloRequest) ProtoMessage() {} - -func (x *CreateServiceSloRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 CreateServiceSloRequest.ProtoReflect.Descriptor instead. -func (*CreateServiceSloRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{2} -} - -func (x *CreateServiceSloRequest) GetSlo() *ServiceSlo { - if x != nil { - return x.Slo - } - return nil -} - -type CreateServiceSloResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"` -} - -func (x *CreateServiceSloResponse) Reset() { - *x = CreateServiceSloResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateServiceSloResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateServiceSloResponse) ProtoMessage() {} - -func (x *CreateServiceSloResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 CreateServiceSloResponse.ProtoReflect.Descriptor instead. -func (*CreateServiceSloResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{3} -} - -func (x *CreateServiceSloResponse) GetSlo() *ServiceSlo { - if x != nil { - return x.Slo - } - return nil -} - -type ReplaceServiceSloRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"` -} - -func (x *ReplaceServiceSloRequest) Reset() { - *x = ReplaceServiceSloRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceServiceSloRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceServiceSloRequest) ProtoMessage() {} - -func (x *ReplaceServiceSloRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 ReplaceServiceSloRequest.ProtoReflect.Descriptor instead. -func (*ReplaceServiceSloRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{4} -} - -func (x *ReplaceServiceSloRequest) GetSlo() *ServiceSlo { - if x != nil { - return x.Slo - } - return nil -} - -type ReplaceServiceSloResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slo *ServiceSlo `protobuf:"bytes,1,opt,name=slo,proto3" json:"slo,omitempty"` -} - -func (x *ReplaceServiceSloResponse) Reset() { - *x = ReplaceServiceSloResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplaceServiceSloResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplaceServiceSloResponse) ProtoMessage() {} - -func (x *ReplaceServiceSloResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 ReplaceServiceSloResponse.ProtoReflect.Descriptor instead. -func (*ReplaceServiceSloResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{5} -} - -func (x *ReplaceServiceSloResponse) GetSlo() *ServiceSlo { - if x != nil { - return x.Slo - } - return nil -} - -type DeleteServiceSloRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteServiceSloRequest) Reset() { - *x = DeleteServiceSloRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteServiceSloRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteServiceSloRequest) ProtoMessage() {} - -func (x *DeleteServiceSloRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 DeleteServiceSloRequest.ProtoReflect.Descriptor instead. -func (*DeleteServiceSloRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{6} -} - -func (x *DeleteServiceSloRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteServiceSloResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteServiceSloResponse) Reset() { - *x = DeleteServiceSloResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteServiceSloResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteServiceSloResponse) ProtoMessage() {} - -func (x *DeleteServiceSloResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 DeleteServiceSloResponse.ProtoReflect.Descriptor instead. -func (*DeleteServiceSloResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{7} -} - -type ListServiceSlosRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrderBy *OrderBy `protobuf:"bytes,1,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` - ServiceNames []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"` -} - -func (x *ListServiceSlosRequest) Reset() { - *x = ListServiceSlosRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListServiceSlosRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListServiceSlosRequest) ProtoMessage() {} - -func (x *ListServiceSlosRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 ListServiceSlosRequest.ProtoReflect.Descriptor instead. -func (*ListServiceSlosRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{8} -} - -func (x *ListServiceSlosRequest) GetOrderBy() *OrderBy { - if x != nil { - return x.OrderBy - } - return nil -} - -func (x *ListServiceSlosRequest) GetServiceNames() []*wrapperspb.StringValue { - if x != nil { - return x.ServiceNames - } - return nil -} - -type ListServiceSlosResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slos []*ServiceSlo `protobuf:"bytes,1,rep,name=slos,proto3" json:"slos,omitempty"` -} - -func (x *ListServiceSlosResponse) Reset() { - *x = ListServiceSlosResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListServiceSlosResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListServiceSlosResponse) ProtoMessage() {} - -func (x *ListServiceSlosResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 ListServiceSlosResponse.ProtoReflect.Descriptor instead. -func (*ListServiceSlosResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{9} -} - -func (x *ListServiceSlosResponse) GetSlos() []*ServiceSlo { - if x != nil { - return x.Slos - } - return nil -} - -type BatchGetServiceSlosRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ids []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` -} - -func (x *BatchGetServiceSlosRequest) Reset() { - *x = BatchGetServiceSlosRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchGetServiceSlosRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchGetServiceSlosRequest) ProtoMessage() {} - -func (x *BatchGetServiceSlosRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 BatchGetServiceSlosRequest.ProtoReflect.Descriptor instead. -func (*BatchGetServiceSlosRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{10} -} - -func (x *BatchGetServiceSlosRequest) GetIds() []*wrapperspb.StringValue { - if x != nil { - return x.Ids - } - return nil -} - -type BatchGetServiceSlosResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Slos map[string]*ServiceSlo `protobuf:"bytes,1,rep,name=slos,proto3" json:"slos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NotFoundIds []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=not_found_ids,json=notFoundIds,proto3" json:"not_found_ids,omitempty"` -} - -func (x *BatchGetServiceSlosResponse) Reset() { - *x = BatchGetServiceSlosResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BatchGetServiceSlosResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BatchGetServiceSlosResponse) ProtoMessage() {} - -func (x *BatchGetServiceSlosResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_services_v1_service_slo_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 BatchGetServiceSlosResponse.ProtoReflect.Descriptor instead. -func (*BatchGetServiceSlosResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP(), []int{11} -} - -func (x *BatchGetServiceSlosResponse) GetSlos() map[string]*ServiceSlo { - if x != nil { - return x.Slos - } - return nil -} - -func (x *BatchGetServiceSlosResponse) GetNotFoundIds() []*wrapperspb.StringValue { - if x != nil { - return x.NotFoundIds - } - return nil -} - -var File_com_coralogixapis_apm_services_v1_service_slo_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDesc = []byte{ - 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x6c, 0x6f, 0x5f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, - 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, - 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x6c, 0x6f, 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, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x58, 0x0a, 0x15, - 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x03, 0x73, 0x6c, 0x6f, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, - 0x6f, 0x52, 0x03, 0x73, 0x6c, 0x6f, 0x22, 0x5a, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x3f, 0x0a, 0x03, 0x73, 0x6c, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x03, 0x73, - 0x6c, 0x6f, 0x22, 0x5b, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, - 0x0a, 0x03, 0x73, 0x6c, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x03, 0x73, 0x6c, 0x6f, 0x22, - 0x5b, 0x0a, 0x18, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x03, 0x73, - 0x6c, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x03, 0x73, 0x6c, 0x6f, 0x22, 0x5c, 0x0a, 0x19, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, - 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x03, 0x73, 0x6c, 0x6f, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x03, 0x73, 0x6c, 0x6f, 0x22, 0x47, 0x0a, 0x17, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xa0, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, - 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x08, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, - 0x41, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x02, 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, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, - 0x04, 0x73, 0x6c, 0x6f, 0x73, 0x18, 0x01, 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, - 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x73, - 0x22, 0x4c, 0x0a, 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, - 0x0a, 0x03, 0x69, 0x64, 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, 0x03, 0x69, 0x64, 0x73, 0x22, 0xa5, - 0x02, 0x0a, 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, - 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x73, 0x18, 0x01, 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, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x53, 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x6c, 0x6f, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x73, 0x12, 0x40, 0x0a, 0x0d, - 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 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, 0x6e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x73, 0x1a, 0x66, - 0x0a, 0x09, 0x53, 0x6c, 0x6f, 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, 0x43, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x83, 0x08, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x99, 0x01, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x12, 0x37, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x15, 0xc2, 0xb8, 0x02, 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x20, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x20, 0x53, 0x4c, 0x4f, 0x12, 0xa5, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x12, 0x3a, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, - 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, - 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0xc2, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x53, 0x4c, 0x4f, - 0x12, 0xa8, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x12, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x18, 0xc2, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x53, 0x4c, 0x4f, 0x12, 0xa5, 0x01, 0x0a, 0x10, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, - 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, - 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0xc2, 0xb8, 0x02, 0x14, 0x0a, - 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, - 0x53, 0x4c, 0x4f, 0x12, 0xa1, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x12, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, - 0xc2, 0xb8, 0x02, 0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x20, 0x53, 0x4c, 0x4f, 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, - 0x68, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x12, - 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 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, 0x61, 0x70, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x53, 0x6c, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, - 0xc2, 0xb8, 0x02, 0x18, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x20, 0x67, 0x65, 0x74, 0x20, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x53, 0x4c, 0x4f, 0x73, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescData = file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDesc -) - -func file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescData) - }) - return file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDescData -} - -var file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_com_coralogixapis_apm_services_v1_service_slo_service_proto_goTypes = []interface{}{ - (*GetServiceSloRequest)(nil), // 0: com.coralogixapis.apm.services.v1.GetServiceSloRequest - (*GetServiceSloResponse)(nil), // 1: com.coralogixapis.apm.services.v1.GetServiceSloResponse - (*CreateServiceSloRequest)(nil), // 2: com.coralogixapis.apm.services.v1.CreateServiceSloRequest - (*CreateServiceSloResponse)(nil), // 3: com.coralogixapis.apm.services.v1.CreateServiceSloResponse - (*ReplaceServiceSloRequest)(nil), // 4: com.coralogixapis.apm.services.v1.ReplaceServiceSloRequest - (*ReplaceServiceSloResponse)(nil), // 5: com.coralogixapis.apm.services.v1.ReplaceServiceSloResponse - (*DeleteServiceSloRequest)(nil), // 6: com.coralogixapis.apm.services.v1.DeleteServiceSloRequest - (*DeleteServiceSloResponse)(nil), // 7: com.coralogixapis.apm.services.v1.DeleteServiceSloResponse - (*ListServiceSlosRequest)(nil), // 8: com.coralogixapis.apm.services.v1.ListServiceSlosRequest - (*ListServiceSlosResponse)(nil), // 9: com.coralogixapis.apm.services.v1.ListServiceSlosResponse - (*BatchGetServiceSlosRequest)(nil), // 10: com.coralogixapis.apm.services.v1.BatchGetServiceSlosRequest - (*BatchGetServiceSlosResponse)(nil), // 11: com.coralogixapis.apm.services.v1.BatchGetServiceSlosResponse - nil, // 12: com.coralogixapis.apm.services.v1.BatchGetServiceSlosResponse.SlosEntry - (*wrapperspb.StringValue)(nil), // 13: google.protobuf.StringValue - (*ServiceSlo)(nil), // 14: com.coralogixapis.apm.services.v1.ServiceSlo - (*OrderBy)(nil), // 15: com.coralogixapis.apm.common.v2.OrderBy -} -var file_com_coralogixapis_apm_services_v1_service_slo_service_proto_depIdxs = []int32{ - 13, // 0: com.coralogixapis.apm.services.v1.GetServiceSloRequest.id:type_name -> google.protobuf.StringValue - 14, // 1: com.coralogixapis.apm.services.v1.GetServiceSloResponse.slo:type_name -> com.coralogixapis.apm.services.v1.ServiceSlo - 14, // 2: com.coralogixapis.apm.services.v1.CreateServiceSloRequest.slo:type_name -> com.coralogixapis.apm.services.v1.ServiceSlo - 14, // 3: com.coralogixapis.apm.services.v1.CreateServiceSloResponse.slo:type_name -> com.coralogixapis.apm.services.v1.ServiceSlo - 14, // 4: com.coralogixapis.apm.services.v1.ReplaceServiceSloRequest.slo:type_name -> com.coralogixapis.apm.services.v1.ServiceSlo - 14, // 5: com.coralogixapis.apm.services.v1.ReplaceServiceSloResponse.slo:type_name -> com.coralogixapis.apm.services.v1.ServiceSlo - 13, // 6: com.coralogixapis.apm.services.v1.DeleteServiceSloRequest.id:type_name -> google.protobuf.StringValue - 15, // 7: com.coralogixapis.apm.services.v1.ListServiceSlosRequest.order_by:type_name -> com.coralogixapis.apm.common.v2.OrderBy - 13, // 8: com.coralogixapis.apm.services.v1.ListServiceSlosRequest.service_names:type_name -> google.protobuf.StringValue - 14, // 9: com.coralogixapis.apm.services.v1.ListServiceSlosResponse.slos:type_name -> com.coralogixapis.apm.services.v1.ServiceSlo - 13, // 10: com.coralogixapis.apm.services.v1.BatchGetServiceSlosRequest.ids:type_name -> google.protobuf.StringValue - 12, // 11: com.coralogixapis.apm.services.v1.BatchGetServiceSlosResponse.slos:type_name -> com.coralogixapis.apm.services.v1.BatchGetServiceSlosResponse.SlosEntry - 13, // 12: com.coralogixapis.apm.services.v1.BatchGetServiceSlosResponse.not_found_ids:type_name -> google.protobuf.StringValue - 14, // 13: com.coralogixapis.apm.services.v1.BatchGetServiceSlosResponse.SlosEntry.value:type_name -> com.coralogixapis.apm.services.v1.ServiceSlo - 0, // 14: com.coralogixapis.apm.services.v1.ServiceSloService.GetServiceSlo:input_type -> com.coralogixapis.apm.services.v1.GetServiceSloRequest - 2, // 15: com.coralogixapis.apm.services.v1.ServiceSloService.CreateServiceSlo:input_type -> com.coralogixapis.apm.services.v1.CreateServiceSloRequest - 4, // 16: com.coralogixapis.apm.services.v1.ServiceSloService.ReplaceServiceSlo:input_type -> com.coralogixapis.apm.services.v1.ReplaceServiceSloRequest - 6, // 17: com.coralogixapis.apm.services.v1.ServiceSloService.DeleteServiceSlo:input_type -> com.coralogixapis.apm.services.v1.DeleteServiceSloRequest - 8, // 18: com.coralogixapis.apm.services.v1.ServiceSloService.ListServiceSlos:input_type -> com.coralogixapis.apm.services.v1.ListServiceSlosRequest - 10, // 19: com.coralogixapis.apm.services.v1.ServiceSloService.BatchGetServiceSlos:input_type -> com.coralogixapis.apm.services.v1.BatchGetServiceSlosRequest - 1, // 20: com.coralogixapis.apm.services.v1.ServiceSloService.GetServiceSlo:output_type -> com.coralogixapis.apm.services.v1.GetServiceSloResponse - 3, // 21: com.coralogixapis.apm.services.v1.ServiceSloService.CreateServiceSlo:output_type -> com.coralogixapis.apm.services.v1.CreateServiceSloResponse - 5, // 22: com.coralogixapis.apm.services.v1.ServiceSloService.ReplaceServiceSlo:output_type -> com.coralogixapis.apm.services.v1.ReplaceServiceSloResponse - 7, // 23: com.coralogixapis.apm.services.v1.ServiceSloService.DeleteServiceSlo:output_type -> com.coralogixapis.apm.services.v1.DeleteServiceSloResponse - 9, // 24: com.coralogixapis.apm.services.v1.ServiceSloService.ListServiceSlos:output_type -> com.coralogixapis.apm.services.v1.ListServiceSlosResponse - 11, // 25: com.coralogixapis.apm.services.v1.ServiceSloService.BatchGetServiceSlos:output_type -> com.coralogixapis.apm.services.v1.BatchGetServiceSlosResponse - 20, // [20:26] is the sub-list for method output_type - 14, // [14:20] 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 -} - -func init() { file_com_coralogixapis_apm_services_v1_service_slo_service_proto_init() } -func file_com_coralogixapis_apm_services_v1_service_slo_service_proto_init() { - if File_com_coralogixapis_apm_services_v1_service_slo_service_proto != nil { - return - } - file_com_coralogixapis_apm_services_v1_service_slo_proto_init() - file_com_coralogixapis_apm_common_v2_audit_log_proto_init() - file_com_coralogixapis_apm_common_v2_order_by_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServiceSloRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetServiceSloResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateServiceSloRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateServiceSloResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceServiceSloRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceServiceSloResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteServiceSloRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteServiceSloResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListServiceSlosRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListServiceSlosResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchGetServiceSlosRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BatchGetServiceSlosResponse); 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_apm_services_v1_service_slo_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 13, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_apm_services_v1_service_slo_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_services_v1_service_slo_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_apm_services_v1_service_slo_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_apm_services_v1_service_slo_service_proto = out.File - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_rawDesc = nil - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_goTypes = nil - file_com_coralogixapis_apm_services_v1_service_slo_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/slo/service_slo_service_grpc.pb.go b/coralogix/clientset/grpc/slo/service_slo_service_grpc.pb.go deleted file mode 100644 index 2e25ecbb..00000000 --- a/coralogix/clientset/grpc/slo/service_slo_service_grpc.pb.go +++ /dev/null @@ -1,285 +0,0 @@ -// 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/apm/services/v1/service_slo_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 - -// ServiceSloServiceClient is the client API for ServiceSloService 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 ServiceSloServiceClient interface { - GetServiceSlo(ctx context.Context, in *GetServiceSloRequest, opts ...grpc.CallOption) (*GetServiceSloResponse, error) - CreateServiceSlo(ctx context.Context, in *CreateServiceSloRequest, opts ...grpc.CallOption) (*CreateServiceSloResponse, error) - ReplaceServiceSlo(ctx context.Context, in *ReplaceServiceSloRequest, opts ...grpc.CallOption) (*ReplaceServiceSloResponse, error) - DeleteServiceSlo(ctx context.Context, in *DeleteServiceSloRequest, opts ...grpc.CallOption) (*DeleteServiceSloResponse, error) - ListServiceSlos(ctx context.Context, in *ListServiceSlosRequest, opts ...grpc.CallOption) (*ListServiceSlosResponse, error) - BatchGetServiceSlos(ctx context.Context, in *BatchGetServiceSlosRequest, opts ...grpc.CallOption) (*BatchGetServiceSlosResponse, error) -} - -type serviceSloServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewServiceSloServiceClient(cc grpc.ClientConnInterface) ServiceSloServiceClient { - return &serviceSloServiceClient{cc} -} - -func (c *serviceSloServiceClient) GetServiceSlo(ctx context.Context, in *GetServiceSloRequest, opts ...grpc.CallOption) (*GetServiceSloResponse, error) { - out := new(GetServiceSloResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ServiceSloService/GetServiceSlo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceSloServiceClient) CreateServiceSlo(ctx context.Context, in *CreateServiceSloRequest, opts ...grpc.CallOption) (*CreateServiceSloResponse, error) { - out := new(CreateServiceSloResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ServiceSloService/CreateServiceSlo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceSloServiceClient) ReplaceServiceSlo(ctx context.Context, in *ReplaceServiceSloRequest, opts ...grpc.CallOption) (*ReplaceServiceSloResponse, error) { - out := new(ReplaceServiceSloResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ServiceSloService/ReplaceServiceSlo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceSloServiceClient) DeleteServiceSlo(ctx context.Context, in *DeleteServiceSloRequest, opts ...grpc.CallOption) (*DeleteServiceSloResponse, error) { - out := new(DeleteServiceSloResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ServiceSloService/DeleteServiceSlo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceSloServiceClient) ListServiceSlos(ctx context.Context, in *ListServiceSlosRequest, opts ...grpc.CallOption) (*ListServiceSlosResponse, error) { - out := new(ListServiceSlosResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ServiceSloService/ListServiceSlos", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceSloServiceClient) BatchGetServiceSlos(ctx context.Context, in *BatchGetServiceSlosRequest, opts ...grpc.CallOption) (*BatchGetServiceSlosResponse, error) { - out := new(BatchGetServiceSlosResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.apm.services.v1.ServiceSloService/BatchGetServiceSlos", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ServiceSloServiceServer is the server API for ServiceSloService service. -// All implementations must embed UnimplementedServiceSloServiceServer -// for forward compatibility -type ServiceSloServiceServer interface { - GetServiceSlo(context.Context, *GetServiceSloRequest) (*GetServiceSloResponse, error) - CreateServiceSlo(context.Context, *CreateServiceSloRequest) (*CreateServiceSloResponse, error) - ReplaceServiceSlo(context.Context, *ReplaceServiceSloRequest) (*ReplaceServiceSloResponse, error) - DeleteServiceSlo(context.Context, *DeleteServiceSloRequest) (*DeleteServiceSloResponse, error) - ListServiceSlos(context.Context, *ListServiceSlosRequest) (*ListServiceSlosResponse, error) - BatchGetServiceSlos(context.Context, *BatchGetServiceSlosRequest) (*BatchGetServiceSlosResponse, error) - mustEmbedUnimplementedServiceSloServiceServer() -} - -// UnimplementedServiceSloServiceServer must be embedded to have forward compatible implementations. -type UnimplementedServiceSloServiceServer struct { -} - -func (UnimplementedServiceSloServiceServer) GetServiceSlo(context.Context, *GetServiceSloRequest) (*GetServiceSloResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceSlo not implemented") -} -func (UnimplementedServiceSloServiceServer) CreateServiceSlo(context.Context, *CreateServiceSloRequest) (*CreateServiceSloResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceSlo not implemented") -} -func (UnimplementedServiceSloServiceServer) ReplaceServiceSlo(context.Context, *ReplaceServiceSloRequest) (*ReplaceServiceSloResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReplaceServiceSlo not implemented") -} -func (UnimplementedServiceSloServiceServer) DeleteServiceSlo(context.Context, *DeleteServiceSloRequest) (*DeleteServiceSloResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceSlo not implemented") -} -func (UnimplementedServiceSloServiceServer) ListServiceSlos(context.Context, *ListServiceSlosRequest) (*ListServiceSlosResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListServiceSlos not implemented") -} -func (UnimplementedServiceSloServiceServer) BatchGetServiceSlos(context.Context, *BatchGetServiceSlosRequest) (*BatchGetServiceSlosResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchGetServiceSlos not implemented") -} -func (UnimplementedServiceSloServiceServer) mustEmbedUnimplementedServiceSloServiceServer() {} - -// UnsafeServiceSloServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ServiceSloServiceServer will -// result in compilation errors. -type UnsafeServiceSloServiceServer interface { - mustEmbedUnimplementedServiceSloServiceServer() -} - -func RegisterServiceSloServiceServer(s grpc.ServiceRegistrar, srv ServiceSloServiceServer) { - s.RegisterService(&ServiceSloService_ServiceDesc, srv) -} - -func _ServiceSloService_GetServiceSlo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceSloRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceSloServiceServer).GetServiceSlo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ServiceSloService/GetServiceSlo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceSloServiceServer).GetServiceSlo(ctx, req.(*GetServiceSloRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceSloService_CreateServiceSlo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceSloRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceSloServiceServer).CreateServiceSlo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ServiceSloService/CreateServiceSlo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceSloServiceServer).CreateServiceSlo(ctx, req.(*CreateServiceSloRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceSloService_ReplaceServiceSlo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReplaceServiceSloRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceSloServiceServer).ReplaceServiceSlo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ServiceSloService/ReplaceServiceSlo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceSloServiceServer).ReplaceServiceSlo(ctx, req.(*ReplaceServiceSloRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceSloService_DeleteServiceSlo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceSloRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceSloServiceServer).DeleteServiceSlo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ServiceSloService/DeleteServiceSlo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceSloServiceServer).DeleteServiceSlo(ctx, req.(*DeleteServiceSloRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceSloService_ListServiceSlos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListServiceSlosRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceSloServiceServer).ListServiceSlos(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ServiceSloService/ListServiceSlos", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceSloServiceServer).ListServiceSlos(ctx, req.(*ListServiceSlosRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServiceSloService_BatchGetServiceSlos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchGetServiceSlosRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceSloServiceServer).BatchGetServiceSlos(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.apm.services.v1.ServiceSloService/BatchGetServiceSlos", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceSloServiceServer).BatchGetServiceSlos(ctx, req.(*BatchGetServiceSlosRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ServiceSloService_ServiceDesc is the grpc.ServiceDesc for ServiceSloService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ServiceSloService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.apm.services.v1.ServiceSloService", - HandlerType: (*ServiceSloServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetServiceSlo", - Handler: _ServiceSloService_GetServiceSlo_Handler, - }, - { - MethodName: "CreateServiceSlo", - Handler: _ServiceSloService_CreateServiceSlo_Handler, - }, - { - MethodName: "ReplaceServiceSlo", - Handler: _ServiceSloService_ReplaceServiceSlo_Handler, - }, - { - MethodName: "DeleteServiceSlo", - Handler: _ServiceSloService_DeleteServiceSlo_Handler, - }, - { - MethodName: "ListServiceSlos", - Handler: _ServiceSloService_ListServiceSlos_Handler, - }, - { - MethodName: "BatchGetServiceSlos", - Handler: _ServiceSloService_BatchGetServiceSlos_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/apm/services/v1/service_slo_service.proto", -} diff --git a/coralogix/clientset/grpc/slo/time_range.pb.go b/coralogix/clientset/grpc/slo/time_range.pb.go deleted file mode 100644 index 65992777..00000000 --- a/coralogix/clientset/grpc/slo/time_range.pb.go +++ /dev/null @@ -1,167 +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/apm/common/v2/time_range.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 TimeRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartTimeSeconds *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=start_time_seconds,json=startTimeSeconds,proto3" json:"start_time_seconds,omitempty"` - EndTimeSeconds *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=end_time_seconds,json=endTimeSeconds,proto3" json:"end_time_seconds,omitempty"` -} - -func (x *TimeRange) Reset() { - *x = TimeRange{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_apm_common_v2_time_range_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TimeRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeRange) ProtoMessage() {} - -func (x *TimeRange) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_apm_common_v2_time_range_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 TimeRange.ProtoReflect.Descriptor instead. -func (*TimeRange) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescGZIP(), []int{0} -} - -func (x *TimeRange) GetStartTimeSeconds() *wrapperspb.StringValue { - if x != nil { - return x.StartTimeSeconds - } - return nil -} - -func (x *TimeRange) GetEndTimeSeconds() *wrapperspb.StringValue { - if x != nil { - return x.EndTimeSeconds - } - return nil -} - -var File_com_coralogixapis_apm_common_v2_time_range_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_apm_common_v2_time_range_proto_rawDesc = []byte{ - 0x0a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, - 0x32, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x70, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x32, 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, 0x9f, 0x01, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, - 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 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, 0x10, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x46, 0x0a, - 0x10, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 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, 0x0e, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, - 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescOnce sync.Once - file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescData = file_com_coralogixapis_apm_common_v2_time_range_proto_rawDesc -) - -func file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescGZIP() []byte { - file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescData) - }) - return file_com_coralogixapis_apm_common_v2_time_range_proto_rawDescData -} - -var file_com_coralogixapis_apm_common_v2_time_range_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogixapis_apm_common_v2_time_range_proto_goTypes = []interface{}{ - (*TimeRange)(nil), // 0: com.coralogixapis.apm.common.v2.TimeRange - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogixapis_apm_common_v2_time_range_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.apm.common.v2.TimeRange.start_time_seconds:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.apm.common.v2.TimeRange.end_time_seconds: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_apm_common_v2_time_range_proto_init() } -func file_com_coralogixapis_apm_common_v2_time_range_proto_init() { - if File_com_coralogixapis_apm_common_v2_time_range_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_apm_common_v2_time_range_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeRange); 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_apm_common_v2_time_range_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_apm_common_v2_time_range_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_apm_common_v2_time_range_proto_depIdxs, - MessageInfos: file_com_coralogixapis_apm_common_v2_time_range_proto_msgTypes, - }.Build() - File_com_coralogixapis_apm_common_v2_time_range_proto = out.File - file_com_coralogixapis_apm_common_v2_time_range_proto_rawDesc = nil - file_com_coralogixapis_apm_common_v2_time_range_proto_goTypes = nil - file_com_coralogixapis_apm_common_v2_time_range_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/archive_retention.pb.go b/coralogix/clientset/grpc/tco-policies/archive_retention.pb.go deleted file mode 100644 index 8b298a99..00000000 --- a/coralogix/clientset/grpc/tco-policies/archive_retention.pb.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/archive_retention.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 ArchiveRetention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *ArchiveRetention) Reset() { - *x = ArchiveRetention{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_archive_retention_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArchiveRetention) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArchiveRetention) ProtoMessage() {} - -func (x *ArchiveRetention) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_archive_retention_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 ArchiveRetention.ProtoReflect.Descriptor instead. -func (*ArchiveRetention) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_archive_retention_proto_rawDescGZIP(), []int{0} -} - -func (x *ArchiveRetention) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -var File_com_coralogix_quota_v1_archive_retention_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_archive_retention_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, - 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x40, 0x0a, 0x10, 0x41, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 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, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_archive_retention_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_archive_retention_proto_rawDescData = file_com_coralogix_quota_v1_archive_retention_proto_rawDesc -) - -func file_com_coralogix_quota_v1_archive_retention_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_archive_retention_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_archive_retention_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_archive_retention_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_archive_retention_proto_rawDescData -} - -var file_com_coralogix_quota_v1_archive_retention_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_archive_retention_proto_goTypes = []interface{}{ - (*ArchiveRetention)(nil), // 0: com.coralogix.quota.v1.ArchiveRetention - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_archive_retention_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.ArchiveRetention.id:type_name -> google.protobuf.StringValue - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_archive_retention_proto_init() } -func file_com_coralogix_quota_v1_archive_retention_proto_init() { - if File_com_coralogix_quota_v1_archive_retention_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_archive_retention_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArchiveRetention); 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_coralogix_quota_v1_archive_retention_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_archive_retention_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_archive_retention_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_archive_retention_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_archive_retention_proto = out.File - file_com_coralogix_quota_v1_archive_retention_proto_rawDesc = nil - file_com_coralogix_quota_v1_archive_retention_proto_goTypes = nil - file_com_coralogix_quota_v1_archive_retention_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/atomic_overwrite_policies_request.pb.go b/coralogix/clientset/grpc/tco-policies/atomic_overwrite_policies_request.pb.go deleted file mode 100644 index 355191e8..00000000 --- a/coralogix/clientset/grpc/tco-policies/atomic_overwrite_policies_request.pb.go +++ /dev/null @@ -1,548 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/atomic_overwrite_policies_request.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) -) - -// In an atomic operation delete all existing log policies and create the provided list by order -type AtomicOverwriteLogPoliciesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policies []*CreateLogPolicyRequest `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` -} - -func (x *AtomicOverwriteLogPoliciesRequest) Reset() { - *x = AtomicOverwriteLogPoliciesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicOverwriteLogPoliciesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicOverwriteLogPoliciesRequest) ProtoMessage() {} - -func (x *AtomicOverwriteLogPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_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 AtomicOverwriteLogPoliciesRequest.ProtoReflect.Descriptor instead. -func (*AtomicOverwriteLogPoliciesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescGZIP(), []int{0} -} - -func (x *AtomicOverwriteLogPoliciesRequest) GetPolicies() []*CreateLogPolicyRequest { - if x != nil { - return x.Policies - } - return nil -} - -// In an atomic operation delete all existing span policies and create the provided list by order -type AtomicOverwriteSpanPoliciesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policies []*CreateSpanPolicyRequest `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` -} - -func (x *AtomicOverwriteSpanPoliciesRequest) Reset() { - *x = AtomicOverwriteSpanPoliciesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicOverwriteSpanPoliciesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicOverwriteSpanPoliciesRequest) ProtoMessage() {} - -func (x *AtomicOverwriteSpanPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_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 AtomicOverwriteSpanPoliciesRequest.ProtoReflect.Descriptor instead. -func (*AtomicOverwriteSpanPoliciesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescGZIP(), []int{1} -} - -func (x *AtomicOverwriteSpanPoliciesRequest) GetPolicies() []*CreateSpanPolicyRequest { - if x != nil { - return x.Policies - } - return nil -} - -type CreateSpanPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policy *CreateGenericPolicyRequest `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - SpanRules *SpanRules `protobuf:"bytes,2,opt,name=span_rules,json=spanRules,proto3" json:"span_rules,omitempty"` -} - -func (x *CreateSpanPolicyRequest) Reset() { - *x = CreateSpanPolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateSpanPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSpanPolicyRequest) ProtoMessage() {} - -func (x *CreateSpanPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_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 CreateSpanPolicyRequest.ProtoReflect.Descriptor instead. -func (*CreateSpanPolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescGZIP(), []int{2} -} - -func (x *CreateSpanPolicyRequest) GetPolicy() *CreateGenericPolicyRequest { - if x != nil { - return x.Policy - } - return nil -} - -func (x *CreateSpanPolicyRequest) GetSpanRules() *SpanRules { - if x != nil { - return x.SpanRules - } - return nil -} - -type CreateLogPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policy *CreateGenericPolicyRequest `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` - LogRules *LogRules `protobuf:"bytes,2,opt,name=log_rules,json=logRules,proto3" json:"log_rules,omitempty"` -} - -func (x *CreateLogPolicyRequest) Reset() { - *x = CreateLogPolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateLogPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateLogPolicyRequest) ProtoMessage() {} - -func (x *CreateLogPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_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 CreateLogPolicyRequest.ProtoReflect.Descriptor instead. -func (*CreateLogPolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescGZIP(), []int{3} -} - -func (x *CreateLogPolicyRequest) GetPolicy() *CreateGenericPolicyRequest { - if x != nil { - return x.Policy - } - return nil -} - -func (x *CreateLogPolicyRequest) GetLogRules() *LogRules { - if x != nil { - return x.LogRules - } - return nil -} - -type CreateGenericPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Priority Priority `protobuf:"varint,3,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"` - ApplicationRule *Rule `protobuf:"bytes,4,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"` - SubsystemRule *Rule `protobuf:"bytes,5,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"` - ArchiveRetention *ArchiveRetention `protobuf:"bytes,6,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"` -} - -func (x *CreateGenericPolicyRequest) Reset() { - *x = CreateGenericPolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateGenericPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateGenericPolicyRequest) ProtoMessage() {} - -func (x *CreateGenericPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_request_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 CreateGenericPolicyRequest.ProtoReflect.Descriptor instead. -func (*CreateGenericPolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescGZIP(), []int{4} -} - -func (x *CreateGenericPolicyRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateGenericPolicyRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreateGenericPolicyRequest) GetPriority() Priority { - if x != nil { - return x.Priority - } - return Priority_PRIORITY_TYPE_UNSPECIFIED -} - -func (x *CreateGenericPolicyRequest) GetApplicationRule() *Rule { - if x != nil { - return x.ApplicationRule - } - return nil -} - -func (x *CreateGenericPolicyRequest) GetSubsystemRule() *Rule { - if x != nil { - return x.SubsystemRule - } - return nil -} - -func (x *CreateGenericPolicyRequest) GetArchiveRetention() *ArchiveRetention { - if x != nil { - return x.ArchiveRetention - } - return nil -} - -var File_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDesc = []byte{ - 0x0a, 0x3e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, - 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x1a, 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, - 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, - 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, - 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x6f, 0x0a, 0x21, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, - 0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x22, 0x71, 0x0a, 0x22, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, - 0x72, 0x69, 0x74, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, - 0x63, 0x69, 0x65, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x70, 0x61, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x40, 0x0a, 0x0a, - 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x52, 0x09, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xa3, - 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x06, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3d, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x52, - 0x75, 0x6c, 0x65, 0x73, 0x22, 0xfe, 0x03, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, - 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, 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, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x48, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x01, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x5a, 0x0a, 0x11, 0x61, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x02, 0x52, 0x10, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x42, 0x11, 0x0a, 0x0f, - 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x42, - 0x14, 0x0a, 0x12, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescData = file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_goTypes = []interface{}{ - (*AtomicOverwriteLogPoliciesRequest)(nil), // 0: com.coralogix.quota.v1.AtomicOverwriteLogPoliciesRequest - (*AtomicOverwriteSpanPoliciesRequest)(nil), // 1: com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesRequest - (*CreateSpanPolicyRequest)(nil), // 2: com.coralogix.quota.v1.CreateSpanPolicyRequest - (*CreateLogPolicyRequest)(nil), // 3: com.coralogix.quota.v1.CreateLogPolicyRequest - (*CreateGenericPolicyRequest)(nil), // 4: com.coralogix.quota.v1.CreateGenericPolicyRequest - (*SpanRules)(nil), // 5: com.coralogix.quota.v1.SpanRules - (*LogRules)(nil), // 6: com.coralogix.quota.v1.LogRules - (*wrapperspb.StringValue)(nil), // 7: google.protobuf.StringValue - (Priority)(0), // 8: com.coralogix.quota.v1.Priority - (*Rule)(nil), // 9: com.coralogix.quota.v1.Rule - (*ArchiveRetention)(nil), // 10: com.coralogix.quota.v1.ArchiveRetention -} -var file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_depIdxs = []int32{ - 3, // 0: com.coralogix.quota.v1.AtomicOverwriteLogPoliciesRequest.policies:type_name -> com.coralogix.quota.v1.CreateLogPolicyRequest - 2, // 1: com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesRequest.policies:type_name -> com.coralogix.quota.v1.CreateSpanPolicyRequest - 4, // 2: com.coralogix.quota.v1.CreateSpanPolicyRequest.policy:type_name -> com.coralogix.quota.v1.CreateGenericPolicyRequest - 5, // 3: com.coralogix.quota.v1.CreateSpanPolicyRequest.span_rules:type_name -> com.coralogix.quota.v1.SpanRules - 4, // 4: com.coralogix.quota.v1.CreateLogPolicyRequest.policy:type_name -> com.coralogix.quota.v1.CreateGenericPolicyRequest - 6, // 5: com.coralogix.quota.v1.CreateLogPolicyRequest.log_rules:type_name -> com.coralogix.quota.v1.LogRules - 7, // 6: com.coralogix.quota.v1.CreateGenericPolicyRequest.name:type_name -> google.protobuf.StringValue - 7, // 7: com.coralogix.quota.v1.CreateGenericPolicyRequest.description:type_name -> google.protobuf.StringValue - 8, // 8: com.coralogix.quota.v1.CreateGenericPolicyRequest.priority:type_name -> com.coralogix.quota.v1.Priority - 9, // 9: com.coralogix.quota.v1.CreateGenericPolicyRequest.application_rule:type_name -> com.coralogix.quota.v1.Rule - 9, // 10: com.coralogix.quota.v1.CreateGenericPolicyRequest.subsystem_rule:type_name -> com.coralogix.quota.v1.Rule - 10, // 11: com.coralogix.quota.v1.CreateGenericPolicyRequest.archive_retention:type_name -> com.coralogix.quota.v1.ArchiveRetention - 12, // [12:12] is the sub-list for method output_type - 12, // [12:12] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_init() } -func file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_init() { - if File_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - file_com_coralogix_quota_v1_rule_proto_init() - file_com_coralogix_quota_v1_archive_retention_proto_init() - file_com_coralogix_quota_v1_log_rules_proto_init() - file_com_coralogix_quota_v1_span_rules_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicOverwriteLogPoliciesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicOverwriteSpanPoliciesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSpanPolicyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLogPolicyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateGenericPolicyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes[4].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 5, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto = out.File - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_goTypes = nil - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/atomic_overwrite_policies_response.pb.go b/coralogix/clientset/grpc/tco-policies/atomic_overwrite_policies_response.pb.go deleted file mode 100644 index 367a294d..00000000 --- a/coralogix/clientset/grpc/tco-policies/atomic_overwrite_policies_response.pb.go +++ /dev/null @@ -1,226 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/atomic_overwrite_policies_response.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 AtomicOverwriteLogPoliciesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreateResponses []*CreatePolicyResponse `protobuf:"bytes,1,rep,name=create_responses,json=createResponses,proto3" json:"create_responses,omitempty"` -} - -func (x *AtomicOverwriteLogPoliciesResponse) Reset() { - *x = AtomicOverwriteLogPoliciesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicOverwriteLogPoliciesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicOverwriteLogPoliciesResponse) ProtoMessage() {} - -func (x *AtomicOverwriteLogPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_response_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 AtomicOverwriteLogPoliciesResponse.ProtoReflect.Descriptor instead. -func (*AtomicOverwriteLogPoliciesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescGZIP(), []int{0} -} - -func (x *AtomicOverwriteLogPoliciesResponse) GetCreateResponses() []*CreatePolicyResponse { - if x != nil { - return x.CreateResponses - } - return nil -} - -type AtomicOverwriteSpanPoliciesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreateResponses []*CreatePolicyResponse `protobuf:"bytes,1,rep,name=create_responses,json=createResponses,proto3" json:"create_responses,omitempty"` -} - -func (x *AtomicOverwriteSpanPoliciesResponse) Reset() { - *x = AtomicOverwriteSpanPoliciesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicOverwriteSpanPoliciesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicOverwriteSpanPoliciesResponse) ProtoMessage() {} - -func (x *AtomicOverwriteSpanPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_atomic_overwrite_policies_response_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 AtomicOverwriteSpanPoliciesResponse.ProtoReflect.Descriptor instead. -func (*AtomicOverwriteSpanPoliciesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescGZIP(), []int{1} -} - -func (x *AtomicOverwriteSpanPoliciesResponse) GetCreateResponses() []*CreatePolicyResponse { - if x != nil { - return x.CreateResponses - } - return nil -} - -var File_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDesc = []byte{ - 0x0a, 0x3f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, - 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, - 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, - 0x0a, 0x22, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, - 0x65, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22, 0x7e, 0x0a, - 0x23, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, - 0x53, 0x70, 0x61, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x42, 0x04, 0x5a, - 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescData = file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_goTypes = []interface{}{ - (*AtomicOverwriteLogPoliciesResponse)(nil), // 0: com.coralogix.quota.v1.AtomicOverwriteLogPoliciesResponse - (*AtomicOverwriteSpanPoliciesResponse)(nil), // 1: com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesResponse - (*CreatePolicyResponse)(nil), // 2: com.coralogix.quota.v1.CreatePolicyResponse -} -var file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_depIdxs = []int32{ - 2, // 0: com.coralogix.quota.v1.AtomicOverwriteLogPoliciesResponse.create_responses:type_name -> com.coralogix.quota.v1.CreatePolicyResponse - 2, // 1: com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesResponse.create_responses:type_name -> com.coralogix.quota.v1.CreatePolicyResponse - 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_coralogix_quota_v1_atomic_overwrite_policies_response_proto_init() } -func file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_init() { - if File_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto != nil { - return - } - file_com_coralogix_quota_v1_create_policy_response_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicOverwriteLogPoliciesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicOverwriteSpanPoliciesResponse); 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_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto = out.File - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_goTypes = nil - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/audit_log.pb.go b/coralogix/clientset/grpc/tco-policies/audit_log.pb.go deleted file mode 100644 index 9e1c1536..00000000 --- a/coralogix/clientset/grpc/tco-policies/audit_log.pb.go +++ /dev/null @@ -1,180 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/audit_log.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - 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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -var file_com_coralogix_quota_v1_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5000, - Name: "com.coralogix.quota.v1.audit_log_description", - Tag: "bytes,5000,opt,name=audit_log_description", - Filename: "com/coralogix/quota/v1/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogix.quota.v1.AuditLogDescription audit_log_description = 5000; - E_AuditLogDescription = &file_com_coralogix_quota_v1_audit_log_proto_extTypes[0] -) - -var File_com_coralogix_quota_v1_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_audit_log_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, - 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 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, 0x22, 0x4c, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x3a, 0x83, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x88, 0x27, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, - 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_audit_log_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_audit_log_proto_rawDescData = file_com_coralogix_quota_v1_audit_log_proto_rawDesc -) - -func file_com_coralogix_quota_v1_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_audit_log_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_audit_log_proto_rawDescData -} - -var file_com_coralogix_quota_v1_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_audit_log_proto_goTypes = []interface{}{ - (*AuditLogDescription)(nil), // 0: com.coralogix.quota.v1.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogix_quota_v1_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogix.quota.v1.audit_log_description:type_name -> com.coralogix.quota.v1.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_audit_log_proto_init() } -func file_com_coralogix_quota_v1_audit_log_proto_init() { - if File_com_coralogix_quota_v1_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_audit_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_quota_v1_audit_log_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogix_quota_v1_audit_log_proto_extTypes, - }.Build() - File_com_coralogix_quota_v1_audit_log_proto = out.File - file_com_coralogix_quota_v1_audit_log_proto_rawDesc = nil - file_com_coralogix_quota_v1_audit_log_proto_goTypes = nil - file_com_coralogix_quota_v1_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/bulk_create_policy_request.pb.go b/coralogix/clientset/grpc/tco-policies/bulk_create_policy_request.pb.go deleted file mode 100644 index 551b93d9..00000000 --- a/coralogix/clientset/grpc/tco-policies/bulk_create_policy_request.pb.go +++ /dev/null @@ -1,156 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/bulk_create_policy_request.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 AtomicBatchCreatePolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PolicyRequests []*CreatePolicyRequest `protobuf:"bytes,1,rep,name=policy_requests,json=policyRequests,proto3" json:"policy_requests,omitempty"` -} - -func (x *AtomicBatchCreatePolicyRequest) Reset() { - *x = AtomicBatchCreatePolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_bulk_create_policy_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchCreatePolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchCreatePolicyRequest) ProtoMessage() {} - -func (x *AtomicBatchCreatePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_bulk_create_policy_request_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 AtomicBatchCreatePolicyRequest.ProtoReflect.Descriptor instead. -func (*AtomicBatchCreatePolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescGZIP(), []int{0} -} - -func (x *AtomicBatchCreatePolicyRequest) GetPolicyRequests() []*CreatePolicyRequest { - if x != nil { - return x.PolicyRequests - } - return nil -} - -var File_com_coralogix_quota_v1_bulk_create_policy_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDesc = []byte{ - 0x0a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, - 0x31, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x1e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x0f, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0e, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x42, 0x04, 0x5a, - 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescData = file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_bulk_create_policy_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_bulk_create_policy_request_proto_goTypes = []interface{}{ - (*AtomicBatchCreatePolicyRequest)(nil), // 0: com.coralogix.quota.v1.AtomicBatchCreatePolicyRequest - (*CreatePolicyRequest)(nil), // 1: com.coralogix.quota.v1.CreatePolicyRequest -} -var file_com_coralogix_quota_v1_bulk_create_policy_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.AtomicBatchCreatePolicyRequest.policy_requests:type_name -> com.coralogix.quota.v1.CreatePolicyRequest - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_bulk_create_policy_request_proto_init() } -func file_com_coralogix_quota_v1_bulk_create_policy_request_proto_init() { - if File_com_coralogix_quota_v1_bulk_create_policy_request_proto != nil { - return - } - file_com_coralogix_quota_v1_create_policy_request_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchCreatePolicyRequest); 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_coralogix_quota_v1_bulk_create_policy_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_bulk_create_policy_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_bulk_create_policy_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_bulk_create_policy_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_bulk_create_policy_request_proto = out.File - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_goTypes = nil - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/bulk_create_policy_response.pb.go b/coralogix/clientset/grpc/tco-policies/bulk_create_policy_response.pb.go deleted file mode 100644 index 2987946b..00000000 --- a/coralogix/clientset/grpc/tco-policies/bulk_create_policy_response.pb.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/bulk_create_policy_response.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 AtomicBatchCreatePolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreateResponses []*CreatePolicyResponse `protobuf:"bytes,1,rep,name=create_responses,json=createResponses,proto3" json:"create_responses,omitempty"` -} - -func (x *AtomicBatchCreatePolicyResponse) Reset() { - *x = AtomicBatchCreatePolicyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_bulk_create_policy_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtomicBatchCreatePolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtomicBatchCreatePolicyResponse) ProtoMessage() {} - -func (x *AtomicBatchCreatePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_bulk_create_policy_response_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 AtomicBatchCreatePolicyResponse.ProtoReflect.Descriptor instead. -func (*AtomicBatchCreatePolicyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescGZIP(), []int{0} -} - -func (x *AtomicBatchCreatePolicyResponse) GetCreateResponses() []*CreatePolicyResponse { - if x != nil { - return x.CreateResponses - } - return nil -} - -var File_com_coralogix_quota_v1_bulk_create_policy_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDesc = []byte{ - 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x1f, 0x41, 0x74, 0x6f, 0x6d, 0x69, - 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescData = file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_bulk_create_policy_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_bulk_create_policy_response_proto_goTypes = []interface{}{ - (*AtomicBatchCreatePolicyResponse)(nil), // 0: com.coralogix.quota.v1.AtomicBatchCreatePolicyResponse - (*CreatePolicyResponse)(nil), // 1: com.coralogix.quota.v1.CreatePolicyResponse -} -var file_com_coralogix_quota_v1_bulk_create_policy_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.AtomicBatchCreatePolicyResponse.create_responses:type_name -> com.coralogix.quota.v1.CreatePolicyResponse - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_bulk_create_policy_response_proto_init() } -func file_com_coralogix_quota_v1_bulk_create_policy_response_proto_init() { - if File_com_coralogix_quota_v1_bulk_create_policy_response_proto != nil { - return - } - file_com_coralogix_quota_v1_create_policy_response_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtomicBatchCreatePolicyResponse); 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_coralogix_quota_v1_bulk_create_policy_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_bulk_create_policy_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_bulk_create_policy_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_bulk_create_policy_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_bulk_create_policy_response_proto = out.File - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_goTypes = nil - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/bulk_test_log_policies_request.pb.go b/coralogix/clientset/grpc/tco-policies/bulk_test_log_policies_request.pb.go deleted file mode 100644 index 9319f9cb..00000000 --- a/coralogix/clientset/grpc/tco-policies/bulk_test_log_policies_request.pb.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/bulk_test_log_policies_request.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 BulkTestLogPoliciesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetaFieldsValuesList []*LogMetaFieldsValues `protobuf:"bytes,1,rep,name=meta_fields_values_list,json=metaFieldsValuesList,proto3" json:"meta_fields_values_list,omitempty"` -} - -func (x *BulkTestLogPoliciesRequest) Reset() { - *x = BulkTestLogPoliciesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BulkTestLogPoliciesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BulkTestLogPoliciesRequest) ProtoMessage() {} - -func (x *BulkTestLogPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_bulk_test_log_policies_request_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 BulkTestLogPoliciesRequest.ProtoReflect.Descriptor instead. -func (*BulkTestLogPoliciesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescGZIP(), []int{0} -} - -func (x *BulkTestLogPoliciesRequest) GetMetaFieldsValuesList() []*LogMetaFieldsValues { - if x != nil { - return x.MetaFieldsValuesList - } - return nil -} - -var File_com_coralogix_quota_v1_bulk_test_log_policies_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDesc = []byte{ - 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x74, 0x65, - 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, - 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x1a, 0x42, 0x75, - 0x6c, 0x6b, 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x62, 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, - 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x6c, - 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x14, 0x6d, 0x65, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescData = file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_goTypes = []interface{}{ - (*BulkTestLogPoliciesRequest)(nil), // 0: com.coralogix.quota.v1.BulkTestLogPoliciesRequest - (*LogMetaFieldsValues)(nil), // 1: com.coralogix.quota.v1.LogMetaFieldsValues -} -var file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.BulkTestLogPoliciesRequest.meta_fields_values_list:type_name -> com.coralogix.quota.v1.LogMetaFieldsValues - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_init() } -func file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_init() { - if File_com_coralogix_quota_v1_bulk_test_log_policies_request_proto != nil { - return - } - file_com_coralogix_quota_v1_log_meta_field_values_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkTestLogPoliciesRequest); 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_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_bulk_test_log_policies_request_proto = out.File - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_goTypes = nil - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/bulk_test_log_policies_response.pb.go b/coralogix/clientset/grpc/tco-policies/bulk_test_log_policies_response.pb.go deleted file mode 100644 index 4bb71e95..00000000 --- a/coralogix/clientset/grpc/tco-policies/bulk_test_log_policies_response.pb.go +++ /dev/null @@ -1,157 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/bulk_test_log_policies_response.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 BulkTestLogPoliciesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TestPoliciesBulkResult []*TestPoliciesResult `protobuf:"bytes,1,rep,name=test_policies_bulk_result,json=testPoliciesBulkResult,proto3" json:"test_policies_bulk_result,omitempty"` -} - -func (x *BulkTestLogPoliciesResponse) Reset() { - *x = BulkTestLogPoliciesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BulkTestLogPoliciesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BulkTestLogPoliciesResponse) ProtoMessage() {} - -func (x *BulkTestLogPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_bulk_test_log_policies_response_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 BulkTestLogPoliciesResponse.ProtoReflect.Descriptor instead. -func (*BulkTestLogPoliciesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescGZIP(), []int{0} -} - -func (x *BulkTestLogPoliciesResponse) GetTestPoliciesBulkResult() []*TestPoliciesResult { - if x != nil { - return x.TestPoliciesBulkResult - } - return nil -} - -var File_com_coralogix_quota_v1_bulk_test_log_policies_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDesc = []byte{ - 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x74, 0x65, - 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, - 0x65, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x1b, 0x42, 0x75, - 0x6c, 0x6b, 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x19, 0x74, 0x65, 0x73, - 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x16, 0x74, 0x65, 0x73, 0x74, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescData = file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_goTypes = []interface{}{ - (*BulkTestLogPoliciesResponse)(nil), // 0: com.coralogix.quota.v1.BulkTestLogPoliciesResponse - (*TestPoliciesResult)(nil), // 1: com.coralogix.quota.v1.TestPoliciesResult -} -var file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.BulkTestLogPoliciesResponse.test_policies_bulk_result:type_name -> com.coralogix.quota.v1.TestPoliciesResult - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_init() } -func file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_init() { - if File_com_coralogix_quota_v1_bulk_test_log_policies_response_proto != nil { - return - } - file_com_coralogix_quota_v1_test_policies_result_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkTestLogPoliciesResponse); 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_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_bulk_test_log_policies_response_proto = out.File - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_goTypes = nil - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/create_policy_request.pb.go b/coralogix/clientset/grpc/tco-policies/create_policy_request.pb.go deleted file mode 100644 index a4813fae..00000000 --- a/coralogix/clientset/grpc/tco-policies/create_policy_request.pb.go +++ /dev/null @@ -1,303 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/create_policy_request.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 CreatePolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Priority Priority `protobuf:"varint,3,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"` - ApplicationRule *Rule `protobuf:"bytes,4,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"` - SubsystemRule *Rule `protobuf:"bytes,5,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"` - ArchiveRetention *ArchiveRetention `protobuf:"bytes,6,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"` - // Types that are assignable to SourceTypeRules: - // *CreatePolicyRequest_LogRules - // *CreatePolicyRequest_SpanRules - SourceTypeRules isCreatePolicyRequest_SourceTypeRules `protobuf_oneof:"source_type_rules"` -} - -func (x *CreatePolicyRequest) Reset() { - *x = CreatePolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_create_policy_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreatePolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreatePolicyRequest) ProtoMessage() {} - -func (x *CreatePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_create_policy_request_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 CreatePolicyRequest.ProtoReflect.Descriptor instead. -func (*CreatePolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_create_policy_request_proto_rawDescGZIP(), []int{0} -} - -func (x *CreatePolicyRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreatePolicyRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *CreatePolicyRequest) GetPriority() Priority { - if x != nil { - return x.Priority - } - return Priority_PRIORITY_TYPE_UNSPECIFIED -} - -func (x *CreatePolicyRequest) GetApplicationRule() *Rule { - if x != nil { - return x.ApplicationRule - } - return nil -} - -func (x *CreatePolicyRequest) GetSubsystemRule() *Rule { - if x != nil { - return x.SubsystemRule - } - return nil -} - -func (x *CreatePolicyRequest) GetArchiveRetention() *ArchiveRetention { - if x != nil { - return x.ArchiveRetention - } - return nil -} - -func (m *CreatePolicyRequest) GetSourceTypeRules() isCreatePolicyRequest_SourceTypeRules { - if m != nil { - return m.SourceTypeRules - } - return nil -} - -func (x *CreatePolicyRequest) GetLogRules() *LogRules { - if x, ok := x.GetSourceTypeRules().(*CreatePolicyRequest_LogRules); ok { - return x.LogRules - } - return nil -} - -func (x *CreatePolicyRequest) GetSpanRules() *SpanRules { - if x, ok := x.GetSourceTypeRules().(*CreatePolicyRequest_SpanRules); ok { - return x.SpanRules - } - return nil -} - -type isCreatePolicyRequest_SourceTypeRules interface { - isCreatePolicyRequest_SourceTypeRules() -} - -type CreatePolicyRequest_LogRules struct { - LogRules *LogRules `protobuf:"bytes,7,opt,name=log_rules,json=logRules,proto3,oneof"` -} - -type CreatePolicyRequest_SpanRules struct { - SpanRules *SpanRules `protobuf:"bytes,8,opt,name=span_rules,json=spanRules,proto3,oneof"` -} - -func (*CreatePolicyRequest_LogRules) isCreatePolicyRequest_SourceTypeRules() {} - -func (*CreatePolicyRequest_SpanRules) isCreatePolicyRequest_SourceTypeRules() {} - -var File_com_coralogix_quota_v1_create_policy_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_create_policy_request_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x1a, 0x22, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x05, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x04, - 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, - 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, - 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4c, 0x0a, 0x10, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x75, 0x6c, 0x65, 0x48, 0x01, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x48, 0x0a, 0x0e, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, - 0x48, 0x02, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x75, 0x6c, - 0x65, 0x88, 0x01, 0x01, 0x12, 0x5a, 0x0a, 0x11, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, - 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, - 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x03, 0x52, 0x10, 0x61, 0x72, 0x63, - 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x3f, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, - 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x52, 0x75, 0x6c, 0x65, - 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x70, 0x61, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x61, 0x6e, - 0x52, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x42, - 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, - 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_create_policy_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_create_policy_request_proto_rawDescData = file_com_coralogix_quota_v1_create_policy_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_create_policy_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_create_policy_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_create_policy_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_create_policy_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_create_policy_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_create_policy_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_create_policy_request_proto_goTypes = []interface{}{ - (*CreatePolicyRequest)(nil), // 0: com.coralogix.quota.v1.CreatePolicyRequest - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (Priority)(0), // 2: com.coralogix.quota.v1.Priority - (*Rule)(nil), // 3: com.coralogix.quota.v1.Rule - (*ArchiveRetention)(nil), // 4: com.coralogix.quota.v1.ArchiveRetention - (*LogRules)(nil), // 5: com.coralogix.quota.v1.LogRules - (*SpanRules)(nil), // 6: com.coralogix.quota.v1.SpanRules -} -var file_com_coralogix_quota_v1_create_policy_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.CreatePolicyRequest.name:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.quota.v1.CreatePolicyRequest.description:type_name -> google.protobuf.StringValue - 2, // 2: com.coralogix.quota.v1.CreatePolicyRequest.priority:type_name -> com.coralogix.quota.v1.Priority - 3, // 3: com.coralogix.quota.v1.CreatePolicyRequest.application_rule:type_name -> com.coralogix.quota.v1.Rule - 3, // 4: com.coralogix.quota.v1.CreatePolicyRequest.subsystem_rule:type_name -> com.coralogix.quota.v1.Rule - 4, // 5: com.coralogix.quota.v1.CreatePolicyRequest.archive_retention:type_name -> com.coralogix.quota.v1.ArchiveRetention - 5, // 6: com.coralogix.quota.v1.CreatePolicyRequest.log_rules:type_name -> com.coralogix.quota.v1.LogRules - 6, // 7: com.coralogix.quota.v1.CreatePolicyRequest.span_rules:type_name -> com.coralogix.quota.v1.SpanRules - 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_coralogix_quota_v1_create_policy_request_proto_init() } -func file_com_coralogix_quota_v1_create_policy_request_proto_init() { - if File_com_coralogix_quota_v1_create_policy_request_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - file_com_coralogix_quota_v1_rule_proto_init() - file_com_coralogix_quota_v1_archive_retention_proto_init() - file_com_coralogix_quota_v1_log_rules_proto_init() - file_com_coralogix_quota_v1_span_rules_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_create_policy_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePolicyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_quota_v1_create_policy_request_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*CreatePolicyRequest_LogRules)(nil), - (*CreatePolicyRequest_SpanRules)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_create_policy_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_create_policy_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_create_policy_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_create_policy_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_create_policy_request_proto = out.File - file_com_coralogix_quota_v1_create_policy_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_create_policy_request_proto_goTypes = nil - file_com_coralogix_quota_v1_create_policy_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/create_policy_response.pb.go b/coralogix/clientset/grpc/tco-policies/create_policy_response.pb.go deleted file mode 100644 index 017cb9ca..00000000 --- a/coralogix/clientset/grpc/tco-policies/create_policy_response.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/create_policy_response.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 CreatePolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` -} - -func (x *CreatePolicyResponse) Reset() { - *x = CreatePolicyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_create_policy_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreatePolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreatePolicyResponse) ProtoMessage() {} - -func (x *CreatePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_create_policy_response_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 CreatePolicyResponse.ProtoReflect.Descriptor instead. -func (*CreatePolicyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_create_policy_response_proto_rawDescGZIP(), []int{0} -} - -func (x *CreatePolicyResponse) GetPolicy() *Policy { - if x != nil { - return x.Policy - } - return nil -} - -var File_com_coralogix_quota_v1_create_policy_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_create_policy_response_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_create_policy_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_create_policy_response_proto_rawDescData = file_com_coralogix_quota_v1_create_policy_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_create_policy_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_create_policy_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_create_policy_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_create_policy_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_create_policy_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_create_policy_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_create_policy_response_proto_goTypes = []interface{}{ - (*CreatePolicyResponse)(nil), // 0: com.coralogix.quota.v1.CreatePolicyResponse - (*Policy)(nil), // 1: com.coralogix.quota.v1.Policy -} -var file_com_coralogix_quota_v1_create_policy_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.CreatePolicyResponse.policy:type_name -> com.coralogix.quota.v1.Policy - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_create_policy_response_proto_init() } -func file_com_coralogix_quota_v1_create_policy_response_proto_init() { - if File_com_coralogix_quota_v1_create_policy_response_proto != nil { - return - } - file_com_coralogix_quota_v1_policy_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_create_policy_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePolicyResponse); 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_coralogix_quota_v1_create_policy_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_create_policy_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_create_policy_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_create_policy_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_create_policy_response_proto = out.File - file_com_coralogix_quota_v1_create_policy_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_create_policy_response_proto_goTypes = nil - file_com_coralogix_quota_v1_create_policy_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/delete_policy_request.pb.go b/coralogix/clientset/grpc/tco-policies/delete_policy_request.pb.go deleted file mode 100644 index 0e5122d3..00000000 --- a/coralogix/clientset/grpc/tco-policies/delete_policy_request.pb.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/delete_policy_request.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 DeletePolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeletePolicyRequest) Reset() { - *x = DeletePolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_delete_policy_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeletePolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeletePolicyRequest) ProtoMessage() {} - -func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_delete_policy_request_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 DeletePolicyRequest.ProtoReflect.Descriptor instead. -func (*DeletePolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescGZIP(), []int{0} -} - -func (x *DeletePolicyRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -var File_com_coralogix_quota_v1_delete_policy_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_delete_policy_request_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x43, 0x0a, 0x13, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 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, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescData = file_com_coralogix_quota_v1_delete_policy_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_delete_policy_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_delete_policy_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_delete_policy_request_proto_goTypes = []interface{}{ - (*DeletePolicyRequest)(nil), // 0: com.coralogix.quota.v1.DeletePolicyRequest - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_delete_policy_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.DeletePolicyRequest.id:type_name -> google.protobuf.StringValue - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_delete_policy_request_proto_init() } -func file_com_coralogix_quota_v1_delete_policy_request_proto_init() { - if File_com_coralogix_quota_v1_delete_policy_request_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_delete_policy_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyRequest); 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_coralogix_quota_v1_delete_policy_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_delete_policy_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_delete_policy_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_delete_policy_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_delete_policy_request_proto = out.File - file_com_coralogix_quota_v1_delete_policy_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_delete_policy_request_proto_goTypes = nil - file_com_coralogix_quota_v1_delete_policy_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/delete_policy_response.pb.go b/coralogix/clientset/grpc/tco-policies/delete_policy_response.pb.go deleted file mode 100644 index d0f49dfd..00000000 --- a/coralogix/clientset/grpc/tco-policies/delete_policy_response.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/delete_policy_response.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 DeletePolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeletePolicyResponse) Reset() { - *x = DeletePolicyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_delete_policy_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeletePolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeletePolicyResponse) ProtoMessage() {} - -func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_delete_policy_response_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 DeletePolicyResponse.ProtoReflect.Descriptor instead. -func (*DeletePolicyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescGZIP(), []int{0} -} - -func (x *DeletePolicyResponse) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -var File_com_coralogix_quota_v1_delete_policy_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_delete_policy_response_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x44, 0x0a, - 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescData = file_com_coralogix_quota_v1_delete_policy_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_delete_policy_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_delete_policy_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_delete_policy_response_proto_goTypes = []interface{}{ - (*DeletePolicyResponse)(nil), // 0: com.coralogix.quota.v1.DeletePolicyResponse - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_delete_policy_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.DeletePolicyResponse.id:type_name -> google.protobuf.StringValue - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_delete_policy_response_proto_init() } -func file_com_coralogix_quota_v1_delete_policy_response_proto_init() { - if File_com_coralogix_quota_v1_delete_policy_response_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_delete_policy_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePolicyResponse); 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_coralogix_quota_v1_delete_policy_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_delete_policy_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_delete_policy_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_delete_policy_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_delete_policy_response_proto = out.File - file_com_coralogix_quota_v1_delete_policy_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_delete_policy_response_proto_goTypes = nil - file_com_coralogix_quota_v1_delete_policy_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/enums.pb.go b/coralogix/clientset/grpc/tco-policies/enums.pb.go deleted file mode 100644 index 06e17006..00000000 --- a/coralogix/clientset/grpc/tco-policies/enums.pb.go +++ /dev/null @@ -1,338 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/enums.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 Priority int32 - -const ( - Priority_PRIORITY_TYPE_UNSPECIFIED Priority = 0 - Priority_PRIORITY_TYPE_BLOCK Priority = 1 - Priority_PRIORITY_TYPE_LOW Priority = 2 - Priority_PRIORITY_TYPE_MEDIUM Priority = 3 - Priority_PRIORITY_TYPE_HIGH Priority = 4 -) - -// Enum value maps for Priority. -var ( - Priority_name = map[int32]string{ - 0: "PRIORITY_TYPE_UNSPECIFIED", - 1: "PRIORITY_TYPE_BLOCK", - 2: "PRIORITY_TYPE_LOW", - 3: "PRIORITY_TYPE_MEDIUM", - 4: "PRIORITY_TYPE_HIGH", - } - Priority_value = map[string]int32{ - "PRIORITY_TYPE_UNSPECIFIED": 0, - "PRIORITY_TYPE_BLOCK": 1, - "PRIORITY_TYPE_LOW": 2, - "PRIORITY_TYPE_MEDIUM": 3, - "PRIORITY_TYPE_HIGH": 4, - } -) - -func (x Priority) Enum() *Priority { - p := new(Priority) - *p = x - return p -} - -func (x Priority) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Priority) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_quota_v1_enums_proto_enumTypes[0].Descriptor() -} - -func (Priority) Type() protoreflect.EnumType { - return &file_com_coralogix_quota_v1_enums_proto_enumTypes[0] -} - -func (x Priority) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Priority.Descriptor instead. -func (Priority) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_enums_proto_rawDescGZIP(), []int{0} -} - -type Severity int32 - -const ( - Severity_SEVERITY_UNSPECIFIED Severity = 0 - Severity_SEVERITY_DEBUG Severity = 1 - Severity_SEVERITY_VERBOSE Severity = 2 - Severity_SEVERITY_INFO Severity = 3 - Severity_SEVERITY_WARNING Severity = 4 - Severity_SEVERITY_ERROR Severity = 5 - Severity_SEVERITY_CRITICAL Severity = 6 -) - -// Enum value maps for Severity. -var ( - Severity_name = map[int32]string{ - 0: "SEVERITY_UNSPECIFIED", - 1: "SEVERITY_DEBUG", - 2: "SEVERITY_VERBOSE", - 3: "SEVERITY_INFO", - 4: "SEVERITY_WARNING", - 5: "SEVERITY_ERROR", - 6: "SEVERITY_CRITICAL", - } - Severity_value = map[string]int32{ - "SEVERITY_UNSPECIFIED": 0, - "SEVERITY_DEBUG": 1, - "SEVERITY_VERBOSE": 2, - "SEVERITY_INFO": 3, - "SEVERITY_WARNING": 4, - "SEVERITY_ERROR": 5, - "SEVERITY_CRITICAL": 6, - } -) - -func (x Severity) Enum() *Severity { - p := new(Severity) - *p = x - return p -} - -func (x Severity) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Severity) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_quota_v1_enums_proto_enumTypes[1].Descriptor() -} - -func (Severity) Type() protoreflect.EnumType { - return &file_com_coralogix_quota_v1_enums_proto_enumTypes[1] -} - -func (x Severity) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Severity.Descriptor instead. -func (Severity) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_enums_proto_rawDescGZIP(), []int{1} -} - -type SourceType int32 - -const ( - SourceType_SOURCE_TYPE_UNSPECIFIED SourceType = 0 - SourceType_SOURCE_TYPE_LOGS SourceType = 1 - SourceType_SOURCE_TYPE_SPANS SourceType = 2 -) - -// Enum value maps for SourceType. -var ( - SourceType_name = map[int32]string{ - 0: "SOURCE_TYPE_UNSPECIFIED", - 1: "SOURCE_TYPE_LOGS", - 2: "SOURCE_TYPE_SPANS", - } - SourceType_value = map[string]int32{ - "SOURCE_TYPE_UNSPECIFIED": 0, - "SOURCE_TYPE_LOGS": 1, - "SOURCE_TYPE_SPANS": 2, - } -) - -func (x SourceType) Enum() *SourceType { - p := new(SourceType) - *p = x - return p -} - -func (x SourceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SourceType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_quota_v1_enums_proto_enumTypes[2].Descriptor() -} - -func (SourceType) Type() protoreflect.EnumType { - return &file_com_coralogix_quota_v1_enums_proto_enumTypes[2] -} - -func (x SourceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SourceType.Descriptor instead. -func (SourceType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_enums_proto_rawDescGZIP(), []int{2} -} - -type RuleTypeId int32 - -const ( - RuleTypeId_RULE_TYPE_ID_UNSPECIFIED RuleTypeId = 0 - RuleTypeId_RULE_TYPE_ID_IS RuleTypeId = 2 - RuleTypeId_RULE_TYPE_ID_IS_NOT RuleTypeId = 3 - RuleTypeId_RULE_TYPE_ID_START_WITH RuleTypeId = 4 - RuleTypeId_RULE_TYPE_ID_INCLUDES RuleTypeId = 6 -) - -// Enum value maps for RuleTypeId. -var ( - RuleTypeId_name = map[int32]string{ - 0: "RULE_TYPE_ID_UNSPECIFIED", - 2: "RULE_TYPE_ID_IS", - 3: "RULE_TYPE_ID_IS_NOT", - 4: "RULE_TYPE_ID_START_WITH", - 6: "RULE_TYPE_ID_INCLUDES", - } - RuleTypeId_value = map[string]int32{ - "RULE_TYPE_ID_UNSPECIFIED": 0, - "RULE_TYPE_ID_IS": 2, - "RULE_TYPE_ID_IS_NOT": 3, - "RULE_TYPE_ID_START_WITH": 4, - "RULE_TYPE_ID_INCLUDES": 6, - } -) - -func (x RuleTypeId) Enum() *RuleTypeId { - p := new(RuleTypeId) - *p = x - return p -} - -func (x RuleTypeId) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RuleTypeId) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_quota_v1_enums_proto_enumTypes[3].Descriptor() -} - -func (RuleTypeId) Type() protoreflect.EnumType { - return &file_com_coralogix_quota_v1_enums_proto_enumTypes[3] -} - -func (x RuleTypeId) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use RuleTypeId.Descriptor instead. -func (RuleTypeId) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_enums_proto_rawDescGZIP(), []int{3} -} - -var File_com_coralogix_quota_v1_enums_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_enums_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2a, 0x8b, 0x01, 0x0a, - 0x08, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x52, 0x49, - 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x52, 0x49, 0x4f, - 0x52, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, - 0x01, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x49, 0x4f, - 0x52, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, - 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x49, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x10, 0x04, 0x2a, 0xa2, 0x01, 0x0a, 0x08, 0x53, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, - 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x44, 0x45, - 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, - 0x59, 0x5f, 0x56, 0x45, 0x52, 0x42, 0x4f, 0x53, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, - 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x03, 0x12, 0x14, - 0x0a, 0x10, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, - 0x4e, 0x47, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x45, 0x56, 0x45, - 0x52, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x06, 0x2a, - 0x56, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, - 0x17, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x4f, - 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x47, 0x53, 0x10, 0x01, - 0x12, 0x15, 0x0a, 0x11, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x53, 0x50, 0x41, 0x4e, 0x53, 0x10, 0x02, 0x2a, 0xa2, 0x01, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x49, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x49, 0x44, 0x5f, 0x49, 0x53, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x55, 0x4c, - 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x44, 0x5f, 0x49, 0x53, 0x5f, 0x4e, 0x4f, 0x54, - 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x49, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x10, 0x04, 0x12, - 0x19, 0x0a, 0x15, 0x52, 0x55, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x44, 0x5f, - 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x53, 0x10, 0x06, 0x22, 0x04, 0x08, 0x01, 0x10, 0x01, - 0x22, 0x04, 0x08, 0x05, 0x10, 0x05, 0x22, 0x04, 0x08, 0x07, 0x10, 0x07, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_enums_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_enums_proto_rawDescData = file_com_coralogix_quota_v1_enums_proto_rawDesc -) - -func file_com_coralogix_quota_v1_enums_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_enums_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_enums_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_enums_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_enums_proto_rawDescData -} - -var file_com_coralogix_quota_v1_enums_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_com_coralogix_quota_v1_enums_proto_goTypes = []interface{}{ - (Priority)(0), // 0: com.coralogix.quota.v1.Priority - (Severity)(0), // 1: com.coralogix.quota.v1.Severity - (SourceType)(0), // 2: com.coralogix.quota.v1.SourceType - (RuleTypeId)(0), // 3: com.coralogix.quota.v1.RuleTypeId -} -var file_com_coralogix_quota_v1_enums_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_coralogix_quota_v1_enums_proto_init() } -func file_com_coralogix_quota_v1_enums_proto_init() { - if File_com_coralogix_quota_v1_enums_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_enums_proto_rawDesc, - NumEnums: 4, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_enums_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_enums_proto_depIdxs, - EnumInfos: file_com_coralogix_quota_v1_enums_proto_enumTypes, - }.Build() - File_com_coralogix_quota_v1_enums_proto = out.File - file_com_coralogix_quota_v1_enums_proto_rawDesc = nil - file_com_coralogix_quota_v1_enums_proto_goTypes = nil - file_com_coralogix_quota_v1_enums_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/get_company_policies_request.pb.go b/coralogix/clientset/grpc/tco-policies/get_company_policies_request.pb.go deleted file mode 100644 index 0ebf3c04..00000000 --- a/coralogix/clientset/grpc/tco-policies/get_company_policies_request.pb.go +++ /dev/null @@ -1,173 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/get_company_policies_request.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 GetCompanyPoliciesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnabledOnly *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled_only,json=enabledOnly,proto3" json:"enabled_only,omitempty"` - SourceType *SourceType `protobuf:"varint,2,opt,name=source_type,json=sourceType,proto3,enum=com.coralogix.quota.v1.SourceType,oneof" json:"source_type,omitempty"` -} - -func (x *GetCompanyPoliciesRequest) Reset() { - *x = GetCompanyPoliciesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_get_company_policies_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCompanyPoliciesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCompanyPoliciesRequest) ProtoMessage() {} - -func (x *GetCompanyPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_get_company_policies_request_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 GetCompanyPoliciesRequest.ProtoReflect.Descriptor instead. -func (*GetCompanyPoliciesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescGZIP(), []int{0} -} - -func (x *GetCompanyPoliciesRequest) GetEnabledOnly() *wrapperspb.BoolValue { - if x != nil { - return x.EnabledOnly - } - return nil -} - -func (x *GetCompanyPoliciesRequest) GetSourceType() SourceType { - if x != nil && x.SourceType != nil { - return *x.SourceType - } - return SourceType_SOURCE_TYPE_UNSPECIFIED -} - -var File_com_coralogix_quota_v1_get_company_policies_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDesc = []byte{ - 0x0a, 0x39, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, - 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 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, 0x1a, 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, - 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 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, 0x42, 0x6f, - 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, - 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0e, - 0x0a, 0x0c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x04, - 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescData = file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_get_company_policies_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_get_company_policies_request_proto_goTypes = []interface{}{ - (*GetCompanyPoliciesRequest)(nil), // 0: com.coralogix.quota.v1.GetCompanyPoliciesRequest - (*wrapperspb.BoolValue)(nil), // 1: google.protobuf.BoolValue - (SourceType)(0), // 2: com.coralogix.quota.v1.SourceType -} -var file_com_coralogix_quota_v1_get_company_policies_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.GetCompanyPoliciesRequest.enabled_only:type_name -> google.protobuf.BoolValue - 2, // 1: com.coralogix.quota.v1.GetCompanyPoliciesRequest.source_type:type_name -> com.coralogix.quota.v1.SourceType - 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_coralogix_quota_v1_get_company_policies_request_proto_init() } -func file_com_coralogix_quota_v1_get_company_policies_request_proto_init() { - if File_com_coralogix_quota_v1_get_company_policies_request_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_get_company_policies_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompanyPoliciesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_quota_v1_get_company_policies_request_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_get_company_policies_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_get_company_policies_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_get_company_policies_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_get_company_policies_request_proto = out.File - file_com_coralogix_quota_v1_get_company_policies_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_get_company_policies_request_proto_goTypes = nil - file_com_coralogix_quota_v1_get_company_policies_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/get_company_policies_response.pb.go b/coralogix/clientset/grpc/tco-policies/get_company_policies_response.pb.go deleted file mode 100644 index b03426a2..00000000 --- a/coralogix/clientset/grpc/tco-policies/get_company_policies_response.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/get_company_policies_response.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 GetCompanyPoliciesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` -} - -func (x *GetCompanyPoliciesResponse) Reset() { - *x = GetCompanyPoliciesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_get_company_policies_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCompanyPoliciesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCompanyPoliciesResponse) ProtoMessage() {} - -func (x *GetCompanyPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_get_company_policies_response_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 GetCompanyPoliciesResponse.ProtoReflect.Descriptor instead. -func (*GetCompanyPoliciesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescGZIP(), []int{0} -} - -func (x *GetCompanyPoliciesResponse) GetPolicies() []*Policy { - if x != nil { - return x.Policies - } - return nil -} - -var File_com_coralogix_quota_v1_get_company_policies_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDesc = []byte{ - 0x0a, 0x3a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, - 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x69, 0x65, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescData = file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_get_company_policies_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_get_company_policies_response_proto_goTypes = []interface{}{ - (*GetCompanyPoliciesResponse)(nil), // 0: com.coralogix.quota.v1.GetCompanyPoliciesResponse - (*Policy)(nil), // 1: com.coralogix.quota.v1.Policy -} -var file_com_coralogix_quota_v1_get_company_policies_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.GetCompanyPoliciesResponse.policies:type_name -> com.coralogix.quota.v1.Policy - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_get_company_policies_response_proto_init() } -func file_com_coralogix_quota_v1_get_company_policies_response_proto_init() { - if File_com_coralogix_quota_v1_get_company_policies_response_proto != nil { - return - } - file_com_coralogix_quota_v1_policy_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_get_company_policies_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompanyPoliciesResponse); 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_coralogix_quota_v1_get_company_policies_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_get_company_policies_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_get_company_policies_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_get_company_policies_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_get_company_policies_response_proto = out.File - file_com_coralogix_quota_v1_get_company_policies_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_get_company_policies_response_proto_goTypes = nil - file_com_coralogix_quota_v1_get_company_policies_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/get_policy_request.pb.go b/coralogix/clientset/grpc/tco-policies/get_policy_request.pb.go deleted file mode 100644 index a1f32cfa..00000000 --- a/coralogix/clientset/grpc/tco-policies/get_policy_request.pb.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/get_policy_request.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 GetPolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetPolicyRequest) Reset() { - *x = GetPolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_get_policy_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetPolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPolicyRequest) ProtoMessage() {} - -func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_get_policy_request_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 GetPolicyRequest.ProtoReflect.Descriptor instead. -func (*GetPolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_get_policy_request_proto_rawDescGZIP(), []int{0} -} - -func (x *GetPolicyRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -var File_com_coralogix_quota_v1_get_policy_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_get_policy_request_proto_rawDesc = []byte{ - 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x40, 0x0a, 0x10, 0x47, 0x65, 0x74, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x42, 0x04, 0x5a, 0x02, 0x2e, - 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_get_policy_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_get_policy_request_proto_rawDescData = file_com_coralogix_quota_v1_get_policy_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_get_policy_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_get_policy_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_get_policy_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_get_policy_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_get_policy_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_get_policy_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_get_policy_request_proto_goTypes = []interface{}{ - (*GetPolicyRequest)(nil), // 0: com.coralogix.quota.v1.GetPolicyRequest - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_get_policy_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.GetPolicyRequest.id:type_name -> google.protobuf.StringValue - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_get_policy_request_proto_init() } -func file_com_coralogix_quota_v1_get_policy_request_proto_init() { - if File_com_coralogix_quota_v1_get_policy_request_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_get_policy_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyRequest); 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_coralogix_quota_v1_get_policy_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_get_policy_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_get_policy_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_get_policy_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_get_policy_request_proto = out.File - file_com_coralogix_quota_v1_get_policy_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_get_policy_request_proto_goTypes = nil - file_com_coralogix_quota_v1_get_policy_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/get_policy_response.pb.go b/coralogix/clientset/grpc/tco-policies/get_policy_response.pb.go deleted file mode 100644 index c140827a..00000000 --- a/coralogix/clientset/grpc/tco-policies/get_policy_response.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/get_policy_response.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 GetPolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` -} - -func (x *GetPolicyResponse) Reset() { - *x = GetPolicyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_get_policy_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetPolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetPolicyResponse) ProtoMessage() {} - -func (x *GetPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_get_policy_response_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 GetPolicyResponse.ProtoReflect.Descriptor instead. -func (*GetPolicyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_get_policy_response_proto_rawDescGZIP(), []int{0} -} - -func (x *GetPolicyResponse) GetPolicy() *Policy { - if x != nil { - return x.Policy - } - return nil -} - -var File_com_coralogix_quota_v1_get_policy_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_get_policy_response_proto_rawDesc = []byte{ - 0x0a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, - 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x04, 0x5a, 0x02, - 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_get_policy_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_get_policy_response_proto_rawDescData = file_com_coralogix_quota_v1_get_policy_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_get_policy_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_get_policy_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_get_policy_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_get_policy_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_get_policy_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_get_policy_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_get_policy_response_proto_goTypes = []interface{}{ - (*GetPolicyResponse)(nil), // 0: com.coralogix.quota.v1.GetPolicyResponse - (*Policy)(nil), // 1: com.coralogix.quota.v1.Policy -} -var file_com_coralogix_quota_v1_get_policy_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.GetPolicyResponse.policy:type_name -> com.coralogix.quota.v1.Policy - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_get_policy_response_proto_init() } -func file_com_coralogix_quota_v1_get_policy_response_proto_init() { - if File_com_coralogix_quota_v1_get_policy_response_proto != nil { - return - } - file_com_coralogix_quota_v1_policy_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_get_policy_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPolicyResponse); 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_coralogix_quota_v1_get_policy_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_get_policy_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_get_policy_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_get_policy_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_get_policy_response_proto = out.File - file_com_coralogix_quota_v1_get_policy_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_get_policy_response_proto_goTypes = nil - file_com_coralogix_quota_v1_get_policy_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/internal_policies_service.pb.go b/coralogix/clientset/grpc/tco-policies/internal_policies_service.pb.go deleted file mode 100644 index 9447aa3f..00000000 --- a/coralogix/clientset/grpc/tco-policies/internal_policies_service.pb.go +++ /dev/null @@ -1,241 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/internal_policies_service.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -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) -) - -var File_com_coralogix_quota_v1_internal_policies_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_internal_policies_service_proto_rawDesc = []byte{ - 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x1a, 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, - 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, - 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, - 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, - 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, - 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, - 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, - 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6c, - 0x6f, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, - 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, - 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x32, 0xd3, 0x08, 0x0a, 0x17, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x72, 0x0a, 0x09, - 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, - 0xc2, 0xb8, 0x02, 0x0c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x7e, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0xc2, 0xb8, 0x02, - 0x0f, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x7e, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0xc2, 0xb8, 0x02, - 0x0f, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x97, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, - 0xc2, 0xb8, 0x02, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x20, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, - 0x79, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x7e, 0x0a, 0x0c, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0xc2, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x52, - 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2e, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x16, 0xc2, 0xb8, 0x02, 0x12, 0x0a, 0x10, 0x52, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x20, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x9c, 0x01, 0x0a, 0x13, 0x42, 0x75, 0x6c, 0x6b, - 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, - 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x54, 0x65, 0x73, - 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, - 0x6b, 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0xc2, 0xb8, 0x02, 0x18, 0x0a, 0x16, - 0x42, 0x75, 0x6c, 0x6b, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x4c, 0x6f, 0x67, 0x20, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x7e, 0x0a, 0x0c, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x67, - 0x67, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x13, 0xc2, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x20, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var file_com_coralogix_quota_v1_internal_policies_service_proto_goTypes = []interface{}{ - (*GetPolicyRequest)(nil), // 0: com.coralogix.quota.v1.GetPolicyRequest - (*CreatePolicyRequest)(nil), // 1: com.coralogix.quota.v1.CreatePolicyRequest - (*UpdatePolicyRequest)(nil), // 2: com.coralogix.quota.v1.UpdatePolicyRequest - (*GetCompanyPoliciesRequest)(nil), // 3: com.coralogix.quota.v1.GetCompanyPoliciesRequest - (*DeletePolicyRequest)(nil), // 4: com.coralogix.quota.v1.DeletePolicyRequest - (*ReorderPoliciesRequest)(nil), // 5: com.coralogix.quota.v1.ReorderPoliciesRequest - (*BulkTestLogPoliciesRequest)(nil), // 6: com.coralogix.quota.v1.BulkTestLogPoliciesRequest - (*TogglePolicyRequest)(nil), // 7: com.coralogix.quota.v1.TogglePolicyRequest - (*GetPolicyResponse)(nil), // 8: com.coralogix.quota.v1.GetPolicyResponse - (*CreatePolicyResponse)(nil), // 9: com.coralogix.quota.v1.CreatePolicyResponse - (*UpdatePolicyResponse)(nil), // 10: com.coralogix.quota.v1.UpdatePolicyResponse - (*GetCompanyPoliciesResponse)(nil), // 11: com.coralogix.quota.v1.GetCompanyPoliciesResponse - (*DeletePolicyResponse)(nil), // 12: com.coralogix.quota.v1.DeletePolicyResponse - (*ReorderPoliciesResponse)(nil), // 13: com.coralogix.quota.v1.ReorderPoliciesResponse - (*BulkTestLogPoliciesResponse)(nil), // 14: com.coralogix.quota.v1.BulkTestLogPoliciesResponse - (*TogglePolicyResponse)(nil), // 15: com.coralogix.quota.v1.TogglePolicyResponse -} -var file_com_coralogix_quota_v1_internal_policies_service_proto_depIdxs = []int32{ - 0, // 0: com.coralogix.quota.v1.InternalPoliciesService.GetPolicy:input_type -> com.coralogix.quota.v1.GetPolicyRequest - 1, // 1: com.coralogix.quota.v1.InternalPoliciesService.CreatePolicy:input_type -> com.coralogix.quota.v1.CreatePolicyRequest - 2, // 2: com.coralogix.quota.v1.InternalPoliciesService.UpdatePolicy:input_type -> com.coralogix.quota.v1.UpdatePolicyRequest - 3, // 3: com.coralogix.quota.v1.InternalPoliciesService.GetCompanyPolicies:input_type -> com.coralogix.quota.v1.GetCompanyPoliciesRequest - 4, // 4: com.coralogix.quota.v1.InternalPoliciesService.DeletePolicy:input_type -> com.coralogix.quota.v1.DeletePolicyRequest - 5, // 5: com.coralogix.quota.v1.InternalPoliciesService.ReorderPolicies:input_type -> com.coralogix.quota.v1.ReorderPoliciesRequest - 6, // 6: com.coralogix.quota.v1.InternalPoliciesService.BulkTestLogPolicies:input_type -> com.coralogix.quota.v1.BulkTestLogPoliciesRequest - 7, // 7: com.coralogix.quota.v1.InternalPoliciesService.TogglePolicy:input_type -> com.coralogix.quota.v1.TogglePolicyRequest - 8, // 8: com.coralogix.quota.v1.InternalPoliciesService.GetPolicy:output_type -> com.coralogix.quota.v1.GetPolicyResponse - 9, // 9: com.coralogix.quota.v1.InternalPoliciesService.CreatePolicy:output_type -> com.coralogix.quota.v1.CreatePolicyResponse - 10, // 10: com.coralogix.quota.v1.InternalPoliciesService.UpdatePolicy:output_type -> com.coralogix.quota.v1.UpdatePolicyResponse - 11, // 11: com.coralogix.quota.v1.InternalPoliciesService.GetCompanyPolicies:output_type -> com.coralogix.quota.v1.GetCompanyPoliciesResponse - 12, // 12: com.coralogix.quota.v1.InternalPoliciesService.DeletePolicy:output_type -> com.coralogix.quota.v1.DeletePolicyResponse - 13, // 13: com.coralogix.quota.v1.InternalPoliciesService.ReorderPolicies:output_type -> com.coralogix.quota.v1.ReorderPoliciesResponse - 14, // 14: com.coralogix.quota.v1.InternalPoliciesService.BulkTestLogPolicies:output_type -> com.coralogix.quota.v1.BulkTestLogPoliciesResponse - 15, // 15: com.coralogix.quota.v1.InternalPoliciesService.TogglePolicy:output_type -> com.coralogix.quota.v1.TogglePolicyResponse - 8, // [8:16] is the sub-list for method output_type - 0, // [0:8] 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_coralogix_quota_v1_internal_policies_service_proto_init() } -func file_com_coralogix_quota_v1_internal_policies_service_proto_init() { - if File_com_coralogix_quota_v1_internal_policies_service_proto != nil { - return - } - file_com_coralogix_quota_v1_audit_log_proto_init() - file_com_coralogix_quota_v1_get_policy_request_proto_init() - file_com_coralogix_quota_v1_get_policy_response_proto_init() - file_com_coralogix_quota_v1_create_policy_request_proto_init() - file_com_coralogix_quota_v1_create_policy_response_proto_init() - file_com_coralogix_quota_v1_update_policy_request_proto_init() - file_com_coralogix_quota_v1_update_policy_response_proto_init() - file_com_coralogix_quota_v1_get_company_policies_request_proto_init() - file_com_coralogix_quota_v1_get_company_policies_response_proto_init() - file_com_coralogix_quota_v1_delete_policy_request_proto_init() - file_com_coralogix_quota_v1_delete_policy_response_proto_init() - file_com_coralogix_quota_v1_reorder_policies_request_proto_init() - file_com_coralogix_quota_v1_reorder_policies_response_proto_init() - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_init() - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_init() - file_com_coralogix_quota_v1_toggle_policy_request_proto_init() - file_com_coralogix_quota_v1_toggle_policy_response_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_internal_policies_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_quota_v1_internal_policies_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_internal_policies_service_proto_depIdxs, - }.Build() - File_com_coralogix_quota_v1_internal_policies_service_proto = out.File - file_com_coralogix_quota_v1_internal_policies_service_proto_rawDesc = nil - file_com_coralogix_quota_v1_internal_policies_service_proto_goTypes = nil - file_com_coralogix_quota_v1_internal_policies_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/internal_policies_service_grpc.pb.go b/coralogix/clientset/grpc/tco-policies/internal_policies_service_grpc.pb.go deleted file mode 100644 index 498a59f2..00000000 --- a/coralogix/clientset/grpc/tco-policies/internal_policies_service_grpc.pb.go +++ /dev/null @@ -1,358 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/quota/v1/internal_policies_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 - -// InternalPoliciesServiceClient is the client API for InternalPoliciesService 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 InternalPoliciesServiceClient interface { - GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error) - CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error) - UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*UpdatePolicyResponse, error) - GetCompanyPolicies(ctx context.Context, in *GetCompanyPoliciesRequest, opts ...grpc.CallOption) (*GetCompanyPoliciesResponse, error) - DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*DeletePolicyResponse, error) - ReorderPolicies(ctx context.Context, in *ReorderPoliciesRequest, opts ...grpc.CallOption) (*ReorderPoliciesResponse, error) - BulkTestLogPolicies(ctx context.Context, in *BulkTestLogPoliciesRequest, opts ...grpc.CallOption) (*BulkTestLogPoliciesResponse, error) - TogglePolicy(ctx context.Context, in *TogglePolicyRequest, opts ...grpc.CallOption) (*TogglePolicyResponse, error) -} - -type internalPoliciesServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewInternalPoliciesServiceClient(cc grpc.ClientConnInterface) InternalPoliciesServiceClient { - return &internalPoliciesServiceClient{cc} -} - -func (c *internalPoliciesServiceClient) GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error) { - out := new(GetPolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/GetPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *internalPoliciesServiceClient) CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error) { - out := new(CreatePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/CreatePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *internalPoliciesServiceClient) UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*UpdatePolicyResponse, error) { - out := new(UpdatePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/UpdatePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *internalPoliciesServiceClient) GetCompanyPolicies(ctx context.Context, in *GetCompanyPoliciesRequest, opts ...grpc.CallOption) (*GetCompanyPoliciesResponse, error) { - out := new(GetCompanyPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/GetCompanyPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *internalPoliciesServiceClient) DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*DeletePolicyResponse, error) { - out := new(DeletePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/DeletePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *internalPoliciesServiceClient) ReorderPolicies(ctx context.Context, in *ReorderPoliciesRequest, opts ...grpc.CallOption) (*ReorderPoliciesResponse, error) { - out := new(ReorderPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/ReorderPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *internalPoliciesServiceClient) BulkTestLogPolicies(ctx context.Context, in *BulkTestLogPoliciesRequest, opts ...grpc.CallOption) (*BulkTestLogPoliciesResponse, error) { - out := new(BulkTestLogPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/BulkTestLogPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *internalPoliciesServiceClient) TogglePolicy(ctx context.Context, in *TogglePolicyRequest, opts ...grpc.CallOption) (*TogglePolicyResponse, error) { - out := new(TogglePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.InternalPoliciesService/TogglePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// InternalPoliciesServiceServer is the server API for InternalPoliciesService service. -// All implementations must embed UnimplementedInternalPoliciesServiceServer -// for forward compatibility -type InternalPoliciesServiceServer interface { - GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error) - CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error) - UpdatePolicy(context.Context, *UpdatePolicyRequest) (*UpdatePolicyResponse, error) - GetCompanyPolicies(context.Context, *GetCompanyPoliciesRequest) (*GetCompanyPoliciesResponse, error) - DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error) - ReorderPolicies(context.Context, *ReorderPoliciesRequest) (*ReorderPoliciesResponse, error) - BulkTestLogPolicies(context.Context, *BulkTestLogPoliciesRequest) (*BulkTestLogPoliciesResponse, error) - TogglePolicy(context.Context, *TogglePolicyRequest) (*TogglePolicyResponse, error) - mustEmbedUnimplementedInternalPoliciesServiceServer() -} - -// UnimplementedInternalPoliciesServiceServer must be embedded to have forward compatible implementations. -type UnimplementedInternalPoliciesServiceServer struct { -} - -func (UnimplementedInternalPoliciesServiceServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPolicy not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreatePolicy not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) UpdatePolicy(context.Context, *UpdatePolicyRequest) (*UpdatePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePolicy not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) GetCompanyPolicies(context.Context, *GetCompanyPoliciesRequest) (*GetCompanyPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCompanyPolicies not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePolicy not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) ReorderPolicies(context.Context, *ReorderPoliciesRequest) (*ReorderPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReorderPolicies not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) BulkTestLogPolicies(context.Context, *BulkTestLogPoliciesRequest) (*BulkTestLogPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkTestLogPolicies not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) TogglePolicy(context.Context, *TogglePolicyRequest) (*TogglePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TogglePolicy not implemented") -} -func (UnimplementedInternalPoliciesServiceServer) mustEmbedUnimplementedInternalPoliciesServiceServer() { -} - -// UnsafeInternalPoliciesServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to InternalPoliciesServiceServer will -// result in compilation errors. -type UnsafeInternalPoliciesServiceServer interface { - mustEmbedUnimplementedInternalPoliciesServiceServer() -} - -func RegisterInternalPoliciesServiceServer(s grpc.ServiceRegistrar, srv InternalPoliciesServiceServer) { - s.RegisterService(&InternalPoliciesService_ServiceDesc, srv) -} - -func _InternalPoliciesService_GetPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).GetPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/GetPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).GetPolicy(ctx, req.(*GetPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InternalPoliciesService_CreatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreatePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).CreatePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/CreatePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).CreatePolicy(ctx, req.(*CreatePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InternalPoliciesService_UpdatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).UpdatePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/UpdatePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).UpdatePolicy(ctx, req.(*UpdatePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InternalPoliciesService_GetCompanyPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCompanyPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).GetCompanyPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/GetCompanyPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).GetCompanyPolicies(ctx, req.(*GetCompanyPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InternalPoliciesService_DeletePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).DeletePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/DeletePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).DeletePolicy(ctx, req.(*DeletePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InternalPoliciesService_ReorderPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReorderPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).ReorderPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/ReorderPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).ReorderPolicies(ctx, req.(*ReorderPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InternalPoliciesService_BulkTestLogPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkTestLogPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).BulkTestLogPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/BulkTestLogPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).BulkTestLogPolicies(ctx, req.(*BulkTestLogPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _InternalPoliciesService_TogglePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TogglePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(InternalPoliciesServiceServer).TogglePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.InternalPoliciesService/TogglePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(InternalPoliciesServiceServer).TogglePolicy(ctx, req.(*TogglePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// InternalPoliciesService_ServiceDesc is the grpc.ServiceDesc for InternalPoliciesService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var InternalPoliciesService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.quota.v1.InternalPoliciesService", - HandlerType: (*InternalPoliciesServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetPolicy", - Handler: _InternalPoliciesService_GetPolicy_Handler, - }, - { - MethodName: "CreatePolicy", - Handler: _InternalPoliciesService_CreatePolicy_Handler, - }, - { - MethodName: "UpdatePolicy", - Handler: _InternalPoliciesService_UpdatePolicy_Handler, - }, - { - MethodName: "GetCompanyPolicies", - Handler: _InternalPoliciesService_GetCompanyPolicies_Handler, - }, - { - MethodName: "DeletePolicy", - Handler: _InternalPoliciesService_DeletePolicy_Handler, - }, - { - MethodName: "ReorderPolicies", - Handler: _InternalPoliciesService_ReorderPolicies_Handler, - }, - { - MethodName: "BulkTestLogPolicies", - Handler: _InternalPoliciesService_BulkTestLogPolicies_Handler, - }, - { - MethodName: "TogglePolicy", - Handler: _InternalPoliciesService_TogglePolicy_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/quota/v1/internal_policies_service.proto", -} diff --git a/coralogix/clientset/grpc/tco-policies/log_meta_field_values.pb.go b/coralogix/clientset/grpc/tco-policies/log_meta_field_values.pb.go deleted file mode 100644 index d0ac0355..00000000 --- a/coralogix/clientset/grpc/tco-policies/log_meta_field_values.pb.go +++ /dev/null @@ -1,182 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/log_meta_field_values.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 LogMetaFieldsValues struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ApplicationNameValues *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=application_name_values,json=applicationNameValues,proto3" json:"application_name_values,omitempty"` - SeverityValues *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=severity_values,json=severityValues,proto3" json:"severity_values,omitempty"` - SubsystemNameValues *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=subsystem_name_values,json=subsystemNameValues,proto3" json:"subsystem_name_values,omitempty"` -} - -func (x *LogMetaFieldsValues) Reset() { - *x = LogMetaFieldsValues{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_log_meta_field_values_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogMetaFieldsValues) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogMetaFieldsValues) ProtoMessage() {} - -func (x *LogMetaFieldsValues) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_log_meta_field_values_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 LogMetaFieldsValues.ProtoReflect.Descriptor instead. -func (*LogMetaFieldsValues) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescGZIP(), []int{0} -} - -func (x *LogMetaFieldsValues) GetApplicationNameValues() *wrapperspb.StringValue { - if x != nil { - return x.ApplicationNameValues - } - return nil -} - -func (x *LogMetaFieldsValues) GetSeverityValues() *wrapperspb.StringValue { - if x != nil { - return x.SeverityValues - } - return nil -} - -func (x *LogMetaFieldsValues) GetSubsystemNameValues() *wrapperspb.StringValue { - if x != nil { - return x.SubsystemNameValues - } - return nil -} - -var File_com_coralogix_quota_v1_log_meta_field_values_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x84, 0x02, 0x0a, - 0x13, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x17, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 0x15, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4e, 0x61, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, - 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 0x0e, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x12, 0x50, 0x0a, 0x15, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 0x13, - 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescData = file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDesc -) - -func file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDescData -} - -var file_com_coralogix_quota_v1_log_meta_field_values_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_log_meta_field_values_proto_goTypes = []interface{}{ - (*LogMetaFieldsValues)(nil), // 0: com.coralogix.quota.v1.LogMetaFieldsValues - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_log_meta_field_values_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.LogMetaFieldsValues.application_name_values:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.quota.v1.LogMetaFieldsValues.severity_values:type_name -> google.protobuf.StringValue - 1, // 2: com.coralogix.quota.v1.LogMetaFieldsValues.subsystem_name_values:type_name -> google.protobuf.StringValue - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_log_meta_field_values_proto_init() } -func file_com_coralogix_quota_v1_log_meta_field_values_proto_init() { - if File_com_coralogix_quota_v1_log_meta_field_values_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_log_meta_field_values_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogMetaFieldsValues); 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_coralogix_quota_v1_log_meta_field_values_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_log_meta_field_values_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_log_meta_field_values_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_log_meta_field_values_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_log_meta_field_values_proto = out.File - file_com_coralogix_quota_v1_log_meta_field_values_proto_rawDesc = nil - file_com_coralogix_quota_v1_log_meta_field_values_proto_goTypes = nil - file_com_coralogix_quota_v1_log_meta_field_values_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/log_rules.pb.go b/coralogix/clientset/grpc/tco-policies/log_rules.pb.go deleted file mode 100644 index 96955df5..00000000 --- a/coralogix/clientset/grpc/tco-policies/log_rules.pb.go +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/log_rules.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 LogRules struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Severities []Severity `protobuf:"varint,1,rep,packed,name=severities,proto3,enum=com.coralogix.quota.v1.Severity" json:"severities,omitempty"` -} - -func (x *LogRules) Reset() { - *x = LogRules{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_log_rules_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LogRules) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LogRules) ProtoMessage() {} - -func (x *LogRules) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_log_rules_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 LogRules.ProtoReflect.Descriptor instead. -func (*LogRules) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_log_rules_proto_rawDescGZIP(), []int{0} -} - -func (x *LogRules) GetSeverities() []Severity { - if x != nil { - return x.Severities - } - return nil -} - -var File_com_coralogix_quota_v1_log_rules_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_log_rules_proto_rawDesc = []byte{ - 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x1a, 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, - 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_log_rules_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_log_rules_proto_rawDescData = file_com_coralogix_quota_v1_log_rules_proto_rawDesc -) - -func file_com_coralogix_quota_v1_log_rules_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_log_rules_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_log_rules_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_log_rules_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_log_rules_proto_rawDescData -} - -var file_com_coralogix_quota_v1_log_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_log_rules_proto_goTypes = []interface{}{ - (*LogRules)(nil), // 0: com.coralogix.quota.v1.LogRules - (Severity)(0), // 1: com.coralogix.quota.v1.Severity -} -var file_com_coralogix_quota_v1_log_rules_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.LogRules.severities:type_name -> com.coralogix.quota.v1.Severity - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_log_rules_proto_init() } -func file_com_coralogix_quota_v1_log_rules_proto_init() { - if File_com_coralogix_quota_v1_log_rules_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_log_rules_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogRules); 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_coralogix_quota_v1_log_rules_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_log_rules_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_log_rules_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_log_rules_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_log_rules_proto = out.File - file_com_coralogix_quota_v1_log_rules_proto_rawDesc = nil - file_com_coralogix_quota_v1_log_rules_proto_goTypes = nil - file_com_coralogix_quota_v1_log_rules_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/policies_service.pb.go b/coralogix/clientset/grpc/tco-policies/policies_service.pb.go deleted file mode 100644 index 484f37a3..00000000 --- a/coralogix/clientset/grpc/tco-policies/policies_service.pb.go +++ /dev/null @@ -1,311 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/policies_service.proto - -package __ - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -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) -) - -var File_com_coralogix_quota_v1_policies_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_policies_service_proto_rawDesc = []byte{ - 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x2f, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x30, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, - 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x3a, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, - 0x61, 0x6e, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x6c, 0x69, - 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, - 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x3c, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x74, 0x65, - 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, - 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x67, 0x67, 0x6c, - 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, - 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x38, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, - 0x76, 0x31, 0x2f, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, - 0x69, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x77, - 0x72, 0x69, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xd0, 0x0d, 0x0a, 0x0f, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x72, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x28, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x10, 0xc2, 0xb8, 0x02, 0x0c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x20, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x7e, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, - 0xc2, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x7e, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, - 0xc2, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x12, 0x97, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, - 0x6e, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, - 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x1a, 0xc2, 0xb8, 0x02, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x20, 0x43, 0x6f, 0x6d, - 0x70, 0x61, 0x6e, 0x79, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x7e, 0x0a, - 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0xc2, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x8a, 0x01, - 0x0a, 0x0f, 0x52, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x16, 0xc2, 0xb8, 0x02, 0x12, 0x0a, 0x10, 0x52, 0x65, 0x6f, 0x72, 0x64, 0x65, - 0x72, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x9c, 0x01, 0x0a, 0x13, 0x42, - 0x75, 0x6c, 0x6b, 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x6c, 0x6b, - 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x75, 0x6c, 0x6b, 0x54, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0xc2, 0xb8, 0x02, - 0x18, 0x0a, 0x16, 0x42, 0x75, 0x6c, 0x6b, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x4c, 0x6f, 0x67, - 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x7e, 0x0a, 0x0c, 0x54, 0x6f, 0x67, - 0x67, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0xc2, 0xb8, 0x02, 0x0f, 0x0a, 0x0d, 0x54, 0x6f, 0x67, 0x67, - 0x6c, 0x65, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xa4, 0x01, 0x0a, 0x17, 0x41, 0x74, - 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x42, 0x61, 0x74, - 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0xc2, 0xb8, 0x02, 0x14, 0x0a, 0x12, 0x42, 0x75, - 0x6c, 0x6b, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0xea, 0x01, 0x0a, 0x1a, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, - 0x72, 0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, - 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, - 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, - 0x69, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0xc2, 0xb8, 0x02, 0x51, 0x0a, 0x4f, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x73, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, - 0x6e, 0x67, 0x20, 0x6c, 0x6f, 0x67, 0x20, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x20, - 0x61, 0x6e, 0x64, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x6e, 0x65, 0x77, 0x6c, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x20, 0x6f, - 0x6e, 0x65, 0x20, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x12, 0xee, 0x01, - 0x0a, 0x1b, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, - 0x65, 0x53, 0x70, 0x61, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x3a, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, - 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, - 0x74, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0xc2, 0xb8, 0x02, 0x52, 0x0a, 0x50, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x73, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, - 0x6e, 0x67, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x20, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, - 0x20, 0x61, 0x6e, 0x64, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x73, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x6e, 0x65, 0x77, 0x6c, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x20, - 0x6f, 0x6e, 0x65, 0x20, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x42, 0x04, - 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_com_coralogix_quota_v1_policies_service_proto_goTypes = []interface{}{ - (*GetPolicyRequest)(nil), // 0: com.coralogix.quota.v1.GetPolicyRequest - (*CreatePolicyRequest)(nil), // 1: com.coralogix.quota.v1.CreatePolicyRequest - (*UpdatePolicyRequest)(nil), // 2: com.coralogix.quota.v1.UpdatePolicyRequest - (*GetCompanyPoliciesRequest)(nil), // 3: com.coralogix.quota.v1.GetCompanyPoliciesRequest - (*DeletePolicyRequest)(nil), // 4: com.coralogix.quota.v1.DeletePolicyRequest - (*ReorderPoliciesRequest)(nil), // 5: com.coralogix.quota.v1.ReorderPoliciesRequest - (*BulkTestLogPoliciesRequest)(nil), // 6: com.coralogix.quota.v1.BulkTestLogPoliciesRequest - (*TogglePolicyRequest)(nil), // 7: com.coralogix.quota.v1.TogglePolicyRequest - (*AtomicBatchCreatePolicyRequest)(nil), // 8: com.coralogix.quota.v1.AtomicBatchCreatePolicyRequest - (*AtomicOverwriteLogPoliciesRequest)(nil), // 9: com.coralogix.quota.v1.AtomicOverwriteLogPoliciesRequest - (*AtomicOverwriteSpanPoliciesRequest)(nil), // 10: com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesRequest - (*GetPolicyResponse)(nil), // 11: com.coralogix.quota.v1.GetPolicyResponse - (*CreatePolicyResponse)(nil), // 12: com.coralogix.quota.v1.CreatePolicyResponse - (*UpdatePolicyResponse)(nil), // 13: com.coralogix.quota.v1.UpdatePolicyResponse - (*GetCompanyPoliciesResponse)(nil), // 14: com.coralogix.quota.v1.GetCompanyPoliciesResponse - (*DeletePolicyResponse)(nil), // 15: com.coralogix.quota.v1.DeletePolicyResponse - (*ReorderPoliciesResponse)(nil), // 16: com.coralogix.quota.v1.ReorderPoliciesResponse - (*BulkTestLogPoliciesResponse)(nil), // 17: com.coralogix.quota.v1.BulkTestLogPoliciesResponse - (*TogglePolicyResponse)(nil), // 18: com.coralogix.quota.v1.TogglePolicyResponse - (*AtomicBatchCreatePolicyResponse)(nil), // 19: com.coralogix.quota.v1.AtomicBatchCreatePolicyResponse - (*AtomicOverwriteLogPoliciesResponse)(nil), // 20: com.coralogix.quota.v1.AtomicOverwriteLogPoliciesResponse - (*AtomicOverwriteSpanPoliciesResponse)(nil), // 21: com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesResponse -} -var file_com_coralogix_quota_v1_policies_service_proto_depIdxs = []int32{ - 0, // 0: com.coralogix.quota.v1.PoliciesService.GetPolicy:input_type -> com.coralogix.quota.v1.GetPolicyRequest - 1, // 1: com.coralogix.quota.v1.PoliciesService.CreatePolicy:input_type -> com.coralogix.quota.v1.CreatePolicyRequest - 2, // 2: com.coralogix.quota.v1.PoliciesService.UpdatePolicy:input_type -> com.coralogix.quota.v1.UpdatePolicyRequest - 3, // 3: com.coralogix.quota.v1.PoliciesService.GetCompanyPolicies:input_type -> com.coralogix.quota.v1.GetCompanyPoliciesRequest - 4, // 4: com.coralogix.quota.v1.PoliciesService.DeletePolicy:input_type -> com.coralogix.quota.v1.DeletePolicyRequest - 5, // 5: com.coralogix.quota.v1.PoliciesService.ReorderPolicies:input_type -> com.coralogix.quota.v1.ReorderPoliciesRequest - 6, // 6: com.coralogix.quota.v1.PoliciesService.BulkTestLogPolicies:input_type -> com.coralogix.quota.v1.BulkTestLogPoliciesRequest - 7, // 7: com.coralogix.quota.v1.PoliciesService.TogglePolicy:input_type -> com.coralogix.quota.v1.TogglePolicyRequest - 8, // 8: com.coralogix.quota.v1.PoliciesService.AtomicBatchCreatePolicy:input_type -> com.coralogix.quota.v1.AtomicBatchCreatePolicyRequest - 9, // 9: com.coralogix.quota.v1.PoliciesService.AtomicOverwriteLogPolicies:input_type -> com.coralogix.quota.v1.AtomicOverwriteLogPoliciesRequest - 10, // 10: com.coralogix.quota.v1.PoliciesService.AtomicOverwriteSpanPolicies:input_type -> com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesRequest - 11, // 11: com.coralogix.quota.v1.PoliciesService.GetPolicy:output_type -> com.coralogix.quota.v1.GetPolicyResponse - 12, // 12: com.coralogix.quota.v1.PoliciesService.CreatePolicy:output_type -> com.coralogix.quota.v1.CreatePolicyResponse - 13, // 13: com.coralogix.quota.v1.PoliciesService.UpdatePolicy:output_type -> com.coralogix.quota.v1.UpdatePolicyResponse - 14, // 14: com.coralogix.quota.v1.PoliciesService.GetCompanyPolicies:output_type -> com.coralogix.quota.v1.GetCompanyPoliciesResponse - 15, // 15: com.coralogix.quota.v1.PoliciesService.DeletePolicy:output_type -> com.coralogix.quota.v1.DeletePolicyResponse - 16, // 16: com.coralogix.quota.v1.PoliciesService.ReorderPolicies:output_type -> com.coralogix.quota.v1.ReorderPoliciesResponse - 17, // 17: com.coralogix.quota.v1.PoliciesService.BulkTestLogPolicies:output_type -> com.coralogix.quota.v1.BulkTestLogPoliciesResponse - 18, // 18: com.coralogix.quota.v1.PoliciesService.TogglePolicy:output_type -> com.coralogix.quota.v1.TogglePolicyResponse - 19, // 19: com.coralogix.quota.v1.PoliciesService.AtomicBatchCreatePolicy:output_type -> com.coralogix.quota.v1.AtomicBatchCreatePolicyResponse - 20, // 20: com.coralogix.quota.v1.PoliciesService.AtomicOverwriteLogPolicies:output_type -> com.coralogix.quota.v1.AtomicOverwriteLogPoliciesResponse - 21, // 21: com.coralogix.quota.v1.PoliciesService.AtomicOverwriteSpanPolicies:output_type -> com.coralogix.quota.v1.AtomicOverwriteSpanPoliciesResponse - 11, // [11:22] is the sub-list for method output_type - 0, // [0:11] 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_coralogix_quota_v1_policies_service_proto_init() } -func file_com_coralogix_quota_v1_policies_service_proto_init() { - if File_com_coralogix_quota_v1_policies_service_proto != nil { - return - } - file_com_coralogix_quota_v1_audit_log_proto_init() - file_com_coralogix_quota_v1_get_policy_request_proto_init() - file_com_coralogix_quota_v1_get_policy_response_proto_init() - file_com_coralogix_quota_v1_create_policy_request_proto_init() - file_com_coralogix_quota_v1_create_policy_response_proto_init() - file_com_coralogix_quota_v1_update_policy_request_proto_init() - file_com_coralogix_quota_v1_update_policy_response_proto_init() - file_com_coralogix_quota_v1_get_company_policies_request_proto_init() - file_com_coralogix_quota_v1_get_company_policies_response_proto_init() - file_com_coralogix_quota_v1_delete_policy_request_proto_init() - file_com_coralogix_quota_v1_delete_policy_response_proto_init() - file_com_coralogix_quota_v1_reorder_policies_request_proto_init() - file_com_coralogix_quota_v1_reorder_policies_response_proto_init() - file_com_coralogix_quota_v1_bulk_test_log_policies_request_proto_init() - file_com_coralogix_quota_v1_bulk_test_log_policies_response_proto_init() - file_com_coralogix_quota_v1_toggle_policy_request_proto_init() - file_com_coralogix_quota_v1_toggle_policy_response_proto_init() - file_com_coralogix_quota_v1_bulk_create_policy_request_proto_init() - file_com_coralogix_quota_v1_bulk_create_policy_response_proto_init() - file_com_coralogix_quota_v1_atomic_overwrite_policies_response_proto_init() - file_com_coralogix_quota_v1_atomic_overwrite_policies_request_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_policies_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_quota_v1_policies_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_policies_service_proto_depIdxs, - }.Build() - File_com_coralogix_quota_v1_policies_service_proto = out.File - file_com_coralogix_quota_v1_policies_service_proto_rawDesc = nil - file_com_coralogix_quota_v1_policies_service_proto_goTypes = nil - file_com_coralogix_quota_v1_policies_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/policies_service_grpc.pb.go b/coralogix/clientset/grpc/tco-policies/policies_service_grpc.pb.go deleted file mode 100644 index ca45d8e3..00000000 --- a/coralogix/clientset/grpc/tco-policies/policies_service_grpc.pb.go +++ /dev/null @@ -1,465 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.8 -// source: com/coralogix/quota/v1/policies_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 - -// PoliciesServiceClient is the client API for PoliciesService 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 PoliciesServiceClient interface { - GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error) - CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error) - UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*UpdatePolicyResponse, error) - GetCompanyPolicies(ctx context.Context, in *GetCompanyPoliciesRequest, opts ...grpc.CallOption) (*GetCompanyPoliciesResponse, error) - DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*DeletePolicyResponse, error) - ReorderPolicies(ctx context.Context, in *ReorderPoliciesRequest, opts ...grpc.CallOption) (*ReorderPoliciesResponse, error) - BulkTestLogPolicies(ctx context.Context, in *BulkTestLogPoliciesRequest, opts ...grpc.CallOption) (*BulkTestLogPoliciesResponse, error) - TogglePolicy(ctx context.Context, in *TogglePolicyRequest, opts ...grpc.CallOption) (*TogglePolicyResponse, error) - AtomicBatchCreatePolicy(ctx context.Context, in *AtomicBatchCreatePolicyRequest, opts ...grpc.CallOption) (*AtomicBatchCreatePolicyResponse, error) - AtomicOverwriteLogPolicies(ctx context.Context, in *AtomicOverwriteLogPoliciesRequest, opts ...grpc.CallOption) (*AtomicOverwriteLogPoliciesResponse, error) - AtomicOverwriteSpanPolicies(ctx context.Context, in *AtomicOverwriteSpanPoliciesRequest, opts ...grpc.CallOption) (*AtomicOverwriteSpanPoliciesResponse, error) -} - -type policiesServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewPoliciesServiceClient(cc grpc.ClientConnInterface) PoliciesServiceClient { - return &policiesServiceClient{cc} -} - -func (c *policiesServiceClient) GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error) { - out := new(GetPolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/GetPolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error) { - out := new(CreatePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/CreatePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*UpdatePolicyResponse, error) { - out := new(UpdatePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/UpdatePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) GetCompanyPolicies(ctx context.Context, in *GetCompanyPoliciesRequest, opts ...grpc.CallOption) (*GetCompanyPoliciesResponse, error) { - out := new(GetCompanyPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/GetCompanyPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*DeletePolicyResponse, error) { - out := new(DeletePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/DeletePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) ReorderPolicies(ctx context.Context, in *ReorderPoliciesRequest, opts ...grpc.CallOption) (*ReorderPoliciesResponse, error) { - out := new(ReorderPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/ReorderPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) BulkTestLogPolicies(ctx context.Context, in *BulkTestLogPoliciesRequest, opts ...grpc.CallOption) (*BulkTestLogPoliciesResponse, error) { - out := new(BulkTestLogPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/BulkTestLogPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) TogglePolicy(ctx context.Context, in *TogglePolicyRequest, opts ...grpc.CallOption) (*TogglePolicyResponse, error) { - out := new(TogglePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/TogglePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) AtomicBatchCreatePolicy(ctx context.Context, in *AtomicBatchCreatePolicyRequest, opts ...grpc.CallOption) (*AtomicBatchCreatePolicyResponse, error) { - out := new(AtomicBatchCreatePolicyResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/AtomicBatchCreatePolicy", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) AtomicOverwriteLogPolicies(ctx context.Context, in *AtomicOverwriteLogPoliciesRequest, opts ...grpc.CallOption) (*AtomicOverwriteLogPoliciesResponse, error) { - out := new(AtomicOverwriteLogPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/AtomicOverwriteLogPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *policiesServiceClient) AtomicOverwriteSpanPolicies(ctx context.Context, in *AtomicOverwriteSpanPoliciesRequest, opts ...grpc.CallOption) (*AtomicOverwriteSpanPoliciesResponse, error) { - out := new(AtomicOverwriteSpanPoliciesResponse) - err := c.cc.Invoke(ctx, "/com.coralogix.quota.v1.PoliciesService/AtomicOverwriteSpanPolicies", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PoliciesServiceServer is the server API for PoliciesService service. -// All implementations must embed UnimplementedPoliciesServiceServer -// for forward compatibility -type PoliciesServiceServer interface { - GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error) - CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error) - UpdatePolicy(context.Context, *UpdatePolicyRequest) (*UpdatePolicyResponse, error) - GetCompanyPolicies(context.Context, *GetCompanyPoliciesRequest) (*GetCompanyPoliciesResponse, error) - DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error) - ReorderPolicies(context.Context, *ReorderPoliciesRequest) (*ReorderPoliciesResponse, error) - BulkTestLogPolicies(context.Context, *BulkTestLogPoliciesRequest) (*BulkTestLogPoliciesResponse, error) - TogglePolicy(context.Context, *TogglePolicyRequest) (*TogglePolicyResponse, error) - AtomicBatchCreatePolicy(context.Context, *AtomicBatchCreatePolicyRequest) (*AtomicBatchCreatePolicyResponse, error) - AtomicOverwriteLogPolicies(context.Context, *AtomicOverwriteLogPoliciesRequest) (*AtomicOverwriteLogPoliciesResponse, error) - AtomicOverwriteSpanPolicies(context.Context, *AtomicOverwriteSpanPoliciesRequest) (*AtomicOverwriteSpanPoliciesResponse, error) - mustEmbedUnimplementedPoliciesServiceServer() -} - -// UnimplementedPoliciesServiceServer must be embedded to have forward compatible implementations. -type UnimplementedPoliciesServiceServer struct { -} - -func (UnimplementedPoliciesServiceServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPolicy not implemented") -} -func (UnimplementedPoliciesServiceServer) CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreatePolicy not implemented") -} -func (UnimplementedPoliciesServiceServer) UpdatePolicy(context.Context, *UpdatePolicyRequest) (*UpdatePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdatePolicy not implemented") -} -func (UnimplementedPoliciesServiceServer) GetCompanyPolicies(context.Context, *GetCompanyPoliciesRequest) (*GetCompanyPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetCompanyPolicies not implemented") -} -func (UnimplementedPoliciesServiceServer) DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeletePolicy not implemented") -} -func (UnimplementedPoliciesServiceServer) ReorderPolicies(context.Context, *ReorderPoliciesRequest) (*ReorderPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReorderPolicies not implemented") -} -func (UnimplementedPoliciesServiceServer) BulkTestLogPolicies(context.Context, *BulkTestLogPoliciesRequest) (*BulkTestLogPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BulkTestLogPolicies not implemented") -} -func (UnimplementedPoliciesServiceServer) TogglePolicy(context.Context, *TogglePolicyRequest) (*TogglePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TogglePolicy not implemented") -} -func (UnimplementedPoliciesServiceServer) AtomicBatchCreatePolicy(context.Context, *AtomicBatchCreatePolicyRequest) (*AtomicBatchCreatePolicyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AtomicBatchCreatePolicy not implemented") -} -func (UnimplementedPoliciesServiceServer) AtomicOverwriteLogPolicies(context.Context, *AtomicOverwriteLogPoliciesRequest) (*AtomicOverwriteLogPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AtomicOverwriteLogPolicies not implemented") -} -func (UnimplementedPoliciesServiceServer) AtomicOverwriteSpanPolicies(context.Context, *AtomicOverwriteSpanPoliciesRequest) (*AtomicOverwriteSpanPoliciesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AtomicOverwriteSpanPolicies not implemented") -} -func (UnimplementedPoliciesServiceServer) mustEmbedUnimplementedPoliciesServiceServer() {} - -// UnsafePoliciesServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to PoliciesServiceServer will -// result in compilation errors. -type UnsafePoliciesServiceServer interface { - mustEmbedUnimplementedPoliciesServiceServer() -} - -func RegisterPoliciesServiceServer(s grpc.ServiceRegistrar, srv PoliciesServiceServer) { - s.RegisterService(&PoliciesService_ServiceDesc, srv) -} - -func _PoliciesService_GetPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).GetPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/GetPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).GetPolicy(ctx, req.(*GetPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_CreatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreatePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).CreatePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/CreatePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).CreatePolicy(ctx, req.(*CreatePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_UpdatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).UpdatePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/UpdatePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).UpdatePolicy(ctx, req.(*UpdatePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_GetCompanyPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCompanyPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).GetCompanyPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/GetCompanyPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).GetCompanyPolicies(ctx, req.(*GetCompanyPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_DeletePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).DeletePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/DeletePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).DeletePolicy(ctx, req.(*DeletePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_ReorderPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReorderPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).ReorderPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/ReorderPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).ReorderPolicies(ctx, req.(*ReorderPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_BulkTestLogPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BulkTestLogPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).BulkTestLogPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/BulkTestLogPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).BulkTestLogPolicies(ctx, req.(*BulkTestLogPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_TogglePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TogglePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).TogglePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/TogglePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).TogglePolicy(ctx, req.(*TogglePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_AtomicBatchCreatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AtomicBatchCreatePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).AtomicBatchCreatePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/AtomicBatchCreatePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).AtomicBatchCreatePolicy(ctx, req.(*AtomicBatchCreatePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_AtomicOverwriteLogPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AtomicOverwriteLogPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).AtomicOverwriteLogPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/AtomicOverwriteLogPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).AtomicOverwriteLogPolicies(ctx, req.(*AtomicOverwriteLogPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PoliciesService_AtomicOverwriteSpanPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AtomicOverwriteSpanPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PoliciesServiceServer).AtomicOverwriteSpanPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogix.quota.v1.PoliciesService/AtomicOverwriteSpanPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PoliciesServiceServer).AtomicOverwriteSpanPolicies(ctx, req.(*AtomicOverwriteSpanPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// PoliciesService_ServiceDesc is the grpc.ServiceDesc for PoliciesService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var PoliciesService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.quota.v1.PoliciesService", - HandlerType: (*PoliciesServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetPolicy", - Handler: _PoliciesService_GetPolicy_Handler, - }, - { - MethodName: "CreatePolicy", - Handler: _PoliciesService_CreatePolicy_Handler, - }, - { - MethodName: "UpdatePolicy", - Handler: _PoliciesService_UpdatePolicy_Handler, - }, - { - MethodName: "GetCompanyPolicies", - Handler: _PoliciesService_GetCompanyPolicies_Handler, - }, - { - MethodName: "DeletePolicy", - Handler: _PoliciesService_DeletePolicy_Handler, - }, - { - MethodName: "ReorderPolicies", - Handler: _PoliciesService_ReorderPolicies_Handler, - }, - { - MethodName: "BulkTestLogPolicies", - Handler: _PoliciesService_BulkTestLogPolicies_Handler, - }, - { - MethodName: "TogglePolicy", - Handler: _PoliciesService_TogglePolicy_Handler, - }, - { - MethodName: "AtomicBatchCreatePolicy", - Handler: _PoliciesService_AtomicBatchCreatePolicy_Handler, - }, - { - MethodName: "AtomicOverwriteLogPolicies", - Handler: _PoliciesService_AtomicOverwriteLogPolicies_Handler, - }, - { - MethodName: "AtomicOverwriteSpanPolicies", - Handler: _PoliciesService_AtomicOverwriteSpanPolicies_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/quota/v1/policies_service.proto", -} diff --git a/coralogix/clientset/grpc/tco-policies/policy.pb.go b/coralogix/clientset/grpc/tco-policies/policy.pb.go deleted file mode 100644 index 6f7644f9..00000000 --- a/coralogix/clientset/grpc/tco-policies/policy.pb.go +++ /dev/null @@ -1,393 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/policy.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 Policy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CompanyId *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Description *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - Priority Priority `protobuf:"varint,5,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"` - Deleted *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=deleted,proto3" json:"deleted,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"` - Order *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=order,proto3" json:"order,omitempty"` - ApplicationRule *Rule `protobuf:"bytes,9,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"` - SubsystemRule *Rule `protobuf:"bytes,10,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"` - // Types that are assignable to SourceTypeRules: - // *Policy_LogRules - // *Policy_SpanRules - SourceTypeRules isPolicy_SourceTypeRules `protobuf_oneof:"source_type_rules"` - CreatedAt *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` - UpdatedAt *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` - ArchiveRetention *ArchiveRetention `protobuf:"bytes,15,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"` -} - -func (x *Policy) Reset() { - *x = Policy{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_policy_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Policy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Policy) ProtoMessage() {} - -func (x *Policy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_policy_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 Policy.ProtoReflect.Descriptor instead. -func (*Policy) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_policy_proto_rawDescGZIP(), []int{0} -} - -func (x *Policy) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *Policy) GetCompanyId() *wrapperspb.Int32Value { - if x != nil { - return x.CompanyId - } - return nil -} - -func (x *Policy) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *Policy) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *Policy) GetPriority() Priority { - if x != nil { - return x.Priority - } - return Priority_PRIORITY_TYPE_UNSPECIFIED -} - -func (x *Policy) GetDeleted() *wrapperspb.BoolValue { - if x != nil { - return x.Deleted - } - return nil -} - -func (x *Policy) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -func (x *Policy) GetOrder() *wrapperspb.Int32Value { - if x != nil { - return x.Order - } - return nil -} - -func (x *Policy) GetApplicationRule() *Rule { - if x != nil { - return x.ApplicationRule - } - return nil -} - -func (x *Policy) GetSubsystemRule() *Rule { - if x != nil { - return x.SubsystemRule - } - return nil -} - -func (m *Policy) GetSourceTypeRules() isPolicy_SourceTypeRules { - if m != nil { - return m.SourceTypeRules - } - return nil -} - -func (x *Policy) GetLogRules() *LogRules { - if x, ok := x.GetSourceTypeRules().(*Policy_LogRules); ok { - return x.LogRules - } - return nil -} - -func (x *Policy) GetSpanRules() *SpanRules { - if x, ok := x.GetSourceTypeRules().(*Policy_SpanRules); ok { - return x.SpanRules - } - return nil -} - -func (x *Policy) GetCreatedAt() *wrapperspb.StringValue { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *Policy) GetUpdatedAt() *wrapperspb.StringValue { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *Policy) GetArchiveRetention() *ArchiveRetention { - if x != nil { - return x.ArchiveRetention - } - return nil -} - -type isPolicy_SourceTypeRules interface { - isPolicy_SourceTypeRules() -} - -type Policy_LogRules struct { - LogRules *LogRules `protobuf:"bytes,11,opt,name=log_rules,json=logRules,proto3,oneof"` -} - -type Policy_SpanRules struct { - SpanRules *SpanRules `protobuf:"bytes,12,opt,name=span_rules,json=spanRules,proto3,oneof"` -} - -func (*Policy_LogRules) isPolicy_SourceTypeRules() {} - -func (*Policy_SpanRules) isPolicy_SourceTypeRules() {} - -var File_com_coralogix_quota_v1_policy_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_policy_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x1a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x08, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 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, 0x3a, - 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x69, 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, - 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x08, - 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 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, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, - 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x31, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, - 0x08, 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, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, - 0x65, 0x48, 0x01, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x48, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x02, 0x52, - 0x0d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x3f, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, - 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x52, 0x75, 0x6c, - 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x70, 0x61, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x61, - 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 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, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x40, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, 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, 0x04, 0x52, 0x09, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x5a, 0x0a, 0x11, 0x61, 0x72, - 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x48, - 0x05, 0x52, 0x10, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, - 0x75, 0x6c, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_policy_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_policy_proto_rawDescData = file_com_coralogix_quota_v1_policy_proto_rawDesc -) - -func file_com_coralogix_quota_v1_policy_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_policy_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_policy_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_policy_proto_rawDescData -} - -var file_com_coralogix_quota_v1_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_policy_proto_goTypes = []interface{}{ - (*Policy)(nil), // 0: com.coralogix.quota.v1.Policy - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.Int32Value)(nil), // 2: google.protobuf.Int32Value - (Priority)(0), // 3: com.coralogix.quota.v1.Priority - (*wrapperspb.BoolValue)(nil), // 4: google.protobuf.BoolValue - (*Rule)(nil), // 5: com.coralogix.quota.v1.Rule - (*LogRules)(nil), // 6: com.coralogix.quota.v1.LogRules - (*SpanRules)(nil), // 7: com.coralogix.quota.v1.SpanRules - (*ArchiveRetention)(nil), // 8: com.coralogix.quota.v1.ArchiveRetention -} -var file_com_coralogix_quota_v1_policy_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.Policy.id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.quota.v1.Policy.company_id:type_name -> google.protobuf.Int32Value - 1, // 2: com.coralogix.quota.v1.Policy.name:type_name -> google.protobuf.StringValue - 1, // 3: com.coralogix.quota.v1.Policy.description:type_name -> google.protobuf.StringValue - 3, // 4: com.coralogix.quota.v1.Policy.priority:type_name -> com.coralogix.quota.v1.Priority - 4, // 5: com.coralogix.quota.v1.Policy.deleted:type_name -> google.protobuf.BoolValue - 4, // 6: com.coralogix.quota.v1.Policy.enabled:type_name -> google.protobuf.BoolValue - 2, // 7: com.coralogix.quota.v1.Policy.order:type_name -> google.protobuf.Int32Value - 5, // 8: com.coralogix.quota.v1.Policy.application_rule:type_name -> com.coralogix.quota.v1.Rule - 5, // 9: com.coralogix.quota.v1.Policy.subsystem_rule:type_name -> com.coralogix.quota.v1.Rule - 6, // 10: com.coralogix.quota.v1.Policy.log_rules:type_name -> com.coralogix.quota.v1.LogRules - 7, // 11: com.coralogix.quota.v1.Policy.span_rules:type_name -> com.coralogix.quota.v1.SpanRules - 1, // 12: com.coralogix.quota.v1.Policy.created_at:type_name -> google.protobuf.StringValue - 1, // 13: com.coralogix.quota.v1.Policy.updated_at:type_name -> google.protobuf.StringValue - 8, // 14: com.coralogix.quota.v1.Policy.archive_retention:type_name -> com.coralogix.quota.v1.ArchiveRetention - 15, // [15:15] is the sub-list for method output_type - 15, // [15:15] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_policy_proto_init() } -func file_com_coralogix_quota_v1_policy_proto_init() { - if File_com_coralogix_quota_v1_policy_proto != nil { - return - } - file_com_coralogix_quota_v1_archive_retention_proto_init() - file_com_coralogix_quota_v1_enums_proto_init() - file_com_coralogix_quota_v1_rule_proto_init() - file_com_coralogix_quota_v1_log_rules_proto_init() - file_com_coralogix_quota_v1_span_rules_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Policy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_quota_v1_policy_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*Policy_LogRules)(nil), - (*Policy_SpanRules)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_policy_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_policy_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_policy_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_policy_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_policy_proto = out.File - file_com_coralogix_quota_v1_policy_proto_rawDesc = nil - file_com_coralogix_quota_v1_policy_proto_goTypes = nil - file_com_coralogix_quota_v1_policy_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/policy_order.pb.go b/coralogix/clientset/grpc/tco-policies/policy_order.pb.go deleted file mode 100644 index a7e48634..00000000 --- a/coralogix/clientset/grpc/tco-policies/policy_order.pb.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/policy_order.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 PolicyOrder struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Order *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` - Id *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *PolicyOrder) Reset() { - *x = PolicyOrder{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_policy_order_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PolicyOrder) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PolicyOrder) ProtoMessage() {} - -func (x *PolicyOrder) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_policy_order_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 PolicyOrder.ProtoReflect.Descriptor instead. -func (*PolicyOrder) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_policy_order_proto_rawDescGZIP(), []int{0} -} - -func (x *PolicyOrder) GetOrder() *wrapperspb.Int32Value { - if x != nil { - return x.Order - } - return nil -} - -func (x *PolicyOrder) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -var File_com_coralogix_quota_v1_policy_order_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_policy_order_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 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, 0x6e, 0x0a, 0x0b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x72, 0x64, - 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 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, 0x05, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x02, 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, - 0x02, 0x69, 0x64, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_quota_v1_policy_order_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_policy_order_proto_rawDescData = file_com_coralogix_quota_v1_policy_order_proto_rawDesc -) - -func file_com_coralogix_quota_v1_policy_order_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_policy_order_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_policy_order_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_policy_order_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_policy_order_proto_rawDescData -} - -var file_com_coralogix_quota_v1_policy_order_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_policy_order_proto_goTypes = []interface{}{ - (*PolicyOrder)(nil), // 0: com.coralogix.quota.v1.PolicyOrder - (*wrapperspb.Int32Value)(nil), // 1: google.protobuf.Int32Value - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_policy_order_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.PolicyOrder.order:type_name -> google.protobuf.Int32Value - 2, // 1: com.coralogix.quota.v1.PolicyOrder.id: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_coralogix_quota_v1_policy_order_proto_init() } -func file_com_coralogix_quota_v1_policy_order_proto_init() { - if File_com_coralogix_quota_v1_policy_order_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_policy_order_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PolicyOrder); 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_coralogix_quota_v1_policy_order_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_policy_order_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_policy_order_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_policy_order_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_policy_order_proto = out.File - file_com_coralogix_quota_v1_policy_order_proto_rawDesc = nil - file_com_coralogix_quota_v1_policy_order_proto_goTypes = nil - file_com_coralogix_quota_v1_policy_order_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/reorder_policies_request.pb.go b/coralogix/clientset/grpc/tco-policies/reorder_policies_request.pb.go deleted file mode 100644 index 4f6301d6..00000000 --- a/coralogix/clientset/grpc/tco-policies/reorder_policies_request.pb.go +++ /dev/null @@ -1,171 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/reorder_policies_request.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 ReorderPoliciesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Orders []*PolicyOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` - SourceType SourceType `protobuf:"varint,2,opt,name=source_type,json=sourceType,proto3,enum=com.coralogix.quota.v1.SourceType" json:"source_type,omitempty"` -} - -func (x *ReorderPoliciesRequest) Reset() { - *x = ReorderPoliciesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_reorder_policies_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReorderPoliciesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReorderPoliciesRequest) ProtoMessage() {} - -func (x *ReorderPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_reorder_policies_request_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 ReorderPoliciesRequest.ProtoReflect.Descriptor instead. -func (*ReorderPoliciesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescGZIP(), []int{0} -} - -func (x *ReorderPoliciesRequest) GetOrders() []*PolicyOrder { - if x != nil { - return x.Orders - } - return nil -} - -func (x *ReorderPoliciesRequest) GetSourceType() SourceType { - if x != nil { - return x.SourceType - } - return SourceType_SOURCE_TYPE_UNSPECIFIED -} - -var File_com_coralogix_quota_v1_reorder_policies_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDesc = []byte{ - 0x0a, 0x35, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, - 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, - 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, - 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescData = file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_reorder_policies_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_reorder_policies_request_proto_goTypes = []interface{}{ - (*ReorderPoliciesRequest)(nil), // 0: com.coralogix.quota.v1.ReorderPoliciesRequest - (*PolicyOrder)(nil), // 1: com.coralogix.quota.v1.PolicyOrder - (SourceType)(0), // 2: com.coralogix.quota.v1.SourceType -} -var file_com_coralogix_quota_v1_reorder_policies_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.ReorderPoliciesRequest.orders:type_name -> com.coralogix.quota.v1.PolicyOrder - 2, // 1: com.coralogix.quota.v1.ReorderPoliciesRequest.source_type:type_name -> com.coralogix.quota.v1.SourceType - 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_coralogix_quota_v1_reorder_policies_request_proto_init() } -func file_com_coralogix_quota_v1_reorder_policies_request_proto_init() { - if File_com_coralogix_quota_v1_reorder_policies_request_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - file_com_coralogix_quota_v1_policy_order_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_reorder_policies_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReorderPoliciesRequest); 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_coralogix_quota_v1_reorder_policies_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_reorder_policies_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_reorder_policies_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_reorder_policies_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_reorder_policies_request_proto = out.File - file_com_coralogix_quota_v1_reorder_policies_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_reorder_policies_request_proto_goTypes = nil - file_com_coralogix_quota_v1_reorder_policies_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/reorder_policies_response.pb.go b/coralogix/clientset/grpc/tco-policies/reorder_policies_response.pb.go deleted file mode 100644 index 1a1a3647..00000000 --- a/coralogix/clientset/grpc/tco-policies/reorder_policies_response.pb.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/reorder_policies_response.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 ReorderPoliciesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Orders []*PolicyOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` -} - -func (x *ReorderPoliciesResponse) Reset() { - *x = ReorderPoliciesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_reorder_policies_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReorderPoliciesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReorderPoliciesResponse) ProtoMessage() {} - -func (x *ReorderPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_reorder_policies_response_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 ReorderPoliciesResponse.ProtoReflect.Descriptor instead. -func (*ReorderPoliciesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescGZIP(), []int{0} -} - -func (x *ReorderPoliciesResponse) GetOrders() []*PolicyOrder { - if x != nil { - return x.Orders - } - return nil -} - -var File_com_coralogix_quota_v1_reorder_policies_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDesc = []byte{ - 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x1a, 0x29, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x17, 0x52, - 0x65, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescData = file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_reorder_policies_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_reorder_policies_response_proto_goTypes = []interface{}{ - (*ReorderPoliciesResponse)(nil), // 0: com.coralogix.quota.v1.ReorderPoliciesResponse - (*PolicyOrder)(nil), // 1: com.coralogix.quota.v1.PolicyOrder -} -var file_com_coralogix_quota_v1_reorder_policies_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.ReorderPoliciesResponse.orders:type_name -> com.coralogix.quota.v1.PolicyOrder - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_reorder_policies_response_proto_init() } -func file_com_coralogix_quota_v1_reorder_policies_response_proto_init() { - if File_com_coralogix_quota_v1_reorder_policies_response_proto != nil { - return - } - file_com_coralogix_quota_v1_policy_order_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_reorder_policies_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReorderPoliciesResponse); 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_coralogix_quota_v1_reorder_policies_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_reorder_policies_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_reorder_policies_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_reorder_policies_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_reorder_policies_response_proto = out.File - file_com_coralogix_quota_v1_reorder_policies_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_reorder_policies_response_proto_goTypes = nil - file_com_coralogix_quota_v1_reorder_policies_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/rule.pb.go b/coralogix/clientset/grpc/tco-policies/rule.pb.go deleted file mode 100644 index ac818138..00000000 --- a/coralogix/clientset/grpc/tco-policies/rule.pb.go +++ /dev/null @@ -1,167 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/rule.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 Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleTypeId RuleTypeId `protobuf:"varint,1,opt,name=rule_type_id,json=ruleTypeId,proto3,enum=com.coralogix.quota.v1.RuleTypeId" json:"rule_type_id,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *Rule) Reset() { - *x = Rule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_rule_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Rule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Rule) ProtoMessage() {} - -func (x *Rule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_rule_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 Rule.ProtoReflect.Descriptor instead. -func (*Rule) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_rule_proto_rawDescGZIP(), []int{0} -} - -func (x *Rule) GetRuleTypeId() RuleTypeId { - if x != nil { - return x.RuleTypeId - } - return RuleTypeId_RULE_TYPE_ID_UNSPECIFIED -} - -func (x *Rule) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -var File_com_coralogix_quota_v1_rule_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_rule_proto_rawDesc = []byte{ - 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x1a, 0x22, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x7e, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, - 0x64, 0x52, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 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, - 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_rule_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_rule_proto_rawDescData = file_com_coralogix_quota_v1_rule_proto_rawDesc -) - -func file_com_coralogix_quota_v1_rule_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_rule_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_rule_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_rule_proto_rawDescData -} - -var file_com_coralogix_quota_v1_rule_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_rule_proto_goTypes = []interface{}{ - (*Rule)(nil), // 0: com.coralogix.quota.v1.Rule - (RuleTypeId)(0), // 1: com.coralogix.quota.v1.RuleTypeId - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_rule_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.Rule.rule_type_id:type_name -> com.coralogix.quota.v1.RuleTypeId - 2, // 1: com.coralogix.quota.v1.Rule.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_coralogix_quota_v1_rule_proto_init() } -func file_com_coralogix_quota_v1_rule_proto_init() { - if File_com_coralogix_quota_v1_rule_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_rule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rule); 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_coralogix_quota_v1_rule_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_rule_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_rule_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_rule_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_rule_proto = out.File - file_com_coralogix_quota_v1_rule_proto_rawDesc = nil - file_com_coralogix_quota_v1_rule_proto_goTypes = nil - file_com_coralogix_quota_v1_rule_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/span_rules.pb.go b/coralogix/clientset/grpc/tco-policies/span_rules.pb.go deleted file mode 100644 index 00bb0c56..00000000 --- a/coralogix/clientset/grpc/tco-policies/span_rules.pb.go +++ /dev/null @@ -1,185 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/span_rules.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 SpanRules struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceRule *Rule `protobuf:"bytes,1,opt,name=service_rule,json=serviceRule,proto3,oneof" json:"service_rule,omitempty"` - ActionRule *Rule `protobuf:"bytes,2,opt,name=action_rule,json=actionRule,proto3,oneof" json:"action_rule,omitempty"` - TagRules []*TagRule `protobuf:"bytes,3,rep,name=tag_rules,json=tagRules,proto3" json:"tag_rules,omitempty"` -} - -func (x *SpanRules) Reset() { - *x = SpanRules{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_span_rules_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpanRules) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpanRules) ProtoMessage() {} - -func (x *SpanRules) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_span_rules_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 SpanRules.ProtoReflect.Descriptor instead. -func (*SpanRules) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_span_rules_proto_rawDescGZIP(), []int{0} -} - -func (x *SpanRules) GetServiceRule() *Rule { - if x != nil { - return x.ServiceRule - } - return nil -} - -func (x *SpanRules) GetActionRule() *Rule { - if x != nil { - return x.ActionRule - } - return nil -} - -func (x *SpanRules) GetTagRules() []*TagRule { - if x != nil { - return x.TagRules - } - return nil -} - -var File_com_coralogix_quota_v1_span_rules_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_span_rules_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, - 0x31, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x67, - 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf4, 0x01, 0x0a, 0x09, - 0x53, 0x70, 0x61, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, - 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, - 0x42, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, - 0x6c, 0x65, 0x48, 0x01, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, - 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x61, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x74, 0x61, 0x67, 0x52, 0x75, 0x6c, 0x65, - 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, - 0x6c, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_span_rules_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_span_rules_proto_rawDescData = file_com_coralogix_quota_v1_span_rules_proto_rawDesc -) - -func file_com_coralogix_quota_v1_span_rules_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_span_rules_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_span_rules_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_span_rules_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_span_rules_proto_rawDescData -} - -var file_com_coralogix_quota_v1_span_rules_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_span_rules_proto_goTypes = []interface{}{ - (*SpanRules)(nil), // 0: com.coralogix.quota.v1.SpanRules - (*Rule)(nil), // 1: com.coralogix.quota.v1.Rule - (*TagRule)(nil), // 2: com.coralogix.quota.v1.TagRule -} -var file_com_coralogix_quota_v1_span_rules_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.SpanRules.service_rule:type_name -> com.coralogix.quota.v1.Rule - 1, // 1: com.coralogix.quota.v1.SpanRules.action_rule:type_name -> com.coralogix.quota.v1.Rule - 2, // 2: com.coralogix.quota.v1.SpanRules.tag_rules:type_name -> com.coralogix.quota.v1.TagRule - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_span_rules_proto_init() } -func file_com_coralogix_quota_v1_span_rules_proto_init() { - if File_com_coralogix_quota_v1_span_rules_proto != nil { - return - } - file_com_coralogix_quota_v1_rule_proto_init() - file_com_coralogix_quota_v1_tag_rule_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_span_rules_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpanRules); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_quota_v1_span_rules_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_span_rules_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_span_rules_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_span_rules_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_span_rules_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_span_rules_proto = out.File - file_com_coralogix_quota_v1_span_rules_proto_rawDesc = nil - file_com_coralogix_quota_v1_span_rules_proto_goTypes = nil - file_com_coralogix_quota_v1_span_rules_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/tag_rule.pb.go b/coralogix/clientset/grpc/tco-policies/tag_rule.pb.go deleted file mode 100644 index 511f9d86..00000000 --- a/coralogix/clientset/grpc/tco-policies/tag_rule.pb.go +++ /dev/null @@ -1,181 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/tag_rule.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 TagRule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RuleTypeId RuleTypeId `protobuf:"varint,1,opt,name=rule_type_id,json=ruleTypeId,proto3,enum=com.coralogix.quota.v1.RuleTypeId" json:"rule_type_id,omitempty"` - TagName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` - TagValue *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"` -} - -func (x *TagRule) Reset() { - *x = TagRule{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_tag_rule_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TagRule) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TagRule) ProtoMessage() {} - -func (x *TagRule) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_tag_rule_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 TagRule.ProtoReflect.Descriptor instead. -func (*TagRule) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_tag_rule_proto_rawDescGZIP(), []int{0} -} - -func (x *TagRule) GetRuleTypeId() RuleTypeId { - if x != nil { - return x.RuleTypeId - } - return RuleTypeId_RULE_TYPE_ID_UNSPECIFIED -} - -func (x *TagRule) GetTagName() *wrapperspb.StringValue { - if x != nil { - return x.TagName - } - return nil -} - -func (x *TagRule) GetTagValue() *wrapperspb.StringValue { - if x != nil { - return x.TagValue - } - return nil -} - -var File_com_coralogix_quota_v1_tag_rule_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_tag_rule_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x67, 0x5f, 0x72, 0x75, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x1a, - 0x22, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x07, 0x54, 0x61, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x12, - 0x44, 0x0a, 0x0c, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x52, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x74, 0x61, 0x67, 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, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x39, - 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 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, - 0x08, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_tag_rule_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_tag_rule_proto_rawDescData = file_com_coralogix_quota_v1_tag_rule_proto_rawDesc -) - -func file_com_coralogix_quota_v1_tag_rule_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_tag_rule_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_tag_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_tag_rule_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_tag_rule_proto_rawDescData -} - -var file_com_coralogix_quota_v1_tag_rule_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_tag_rule_proto_goTypes = []interface{}{ - (*TagRule)(nil), // 0: com.coralogix.quota.v1.TagRule - (RuleTypeId)(0), // 1: com.coralogix.quota.v1.RuleTypeId - (*wrapperspb.StringValue)(nil), // 2: google.protobuf.StringValue -} -var file_com_coralogix_quota_v1_tag_rule_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.TagRule.rule_type_id:type_name -> com.coralogix.quota.v1.RuleTypeId - 2, // 1: com.coralogix.quota.v1.TagRule.tag_name:type_name -> google.protobuf.StringValue - 2, // 2: com.coralogix.quota.v1.TagRule.tag_value:type_name -> google.protobuf.StringValue - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_tag_rule_proto_init() } -func file_com_coralogix_quota_v1_tag_rule_proto_init() { - if File_com_coralogix_quota_v1_tag_rule_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_tag_rule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TagRule); 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_coralogix_quota_v1_tag_rule_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_tag_rule_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_tag_rule_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_tag_rule_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_tag_rule_proto = out.File - file_com_coralogix_quota_v1_tag_rule_proto_rawDesc = nil - file_com_coralogix_quota_v1_tag_rule_proto_goTypes = nil - file_com_coralogix_quota_v1_tag_rule_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/test_policies_result.pb.go b/coralogix/clientset/grpc/tco-policies/test_policies_result.pb.go deleted file mode 100644 index e47091c6..00000000 --- a/coralogix/clientset/grpc/tco-policies/test_policies_result.pb.go +++ /dev/null @@ -1,189 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/test_policies_result.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 TestPoliciesResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MetaFieldsValues *LogMetaFieldsValues `protobuf:"bytes,1,opt,name=meta_fields_values,json=metaFieldsValues,proto3" json:"meta_fields_values,omitempty"` - Matched *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=matched,proto3" json:"matched,omitempty"` - Policy *Policy `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"` -} - -func (x *TestPoliciesResult) Reset() { - *x = TestPoliciesResult{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_test_policies_result_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestPoliciesResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestPoliciesResult) ProtoMessage() {} - -func (x *TestPoliciesResult) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_test_policies_result_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 TestPoliciesResult.ProtoReflect.Descriptor instead. -func (*TestPoliciesResult) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_test_policies_result_proto_rawDescGZIP(), []int{0} -} - -func (x *TestPoliciesResult) GetMetaFieldsValues() *LogMetaFieldsValues { - if x != nil { - return x.MetaFieldsValues - } - return nil -} - -func (x *TestPoliciesResult) GetMatched() *wrapperspb.BoolValue { - if x != nil { - return x.Matched - } - return nil -} - -func (x *TestPoliciesResult) GetPolicy() *Policy { - if x != nil { - return x.Policy - } - return nil -} - -var File_com_coralogix_quota_v1_test_policies_result_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_test_policies_result_proto_rawDesc = []byte{ - 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x1a, 0x23, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x59, 0x0a, 0x12, 0x6d, - 0x65, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, - 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x06, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_test_policies_result_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_test_policies_result_proto_rawDescData = file_com_coralogix_quota_v1_test_policies_result_proto_rawDesc -) - -func file_com_coralogix_quota_v1_test_policies_result_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_test_policies_result_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_test_policies_result_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_test_policies_result_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_test_policies_result_proto_rawDescData -} - -var file_com_coralogix_quota_v1_test_policies_result_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_test_policies_result_proto_goTypes = []interface{}{ - (*TestPoliciesResult)(nil), // 0: com.coralogix.quota.v1.TestPoliciesResult - (*LogMetaFieldsValues)(nil), // 1: com.coralogix.quota.v1.LogMetaFieldsValues - (*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue - (*Policy)(nil), // 3: com.coralogix.quota.v1.Policy -} -var file_com_coralogix_quota_v1_test_policies_result_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.TestPoliciesResult.meta_fields_values:type_name -> com.coralogix.quota.v1.LogMetaFieldsValues - 2, // 1: com.coralogix.quota.v1.TestPoliciesResult.matched:type_name -> google.protobuf.BoolValue - 3, // 2: com.coralogix.quota.v1.TestPoliciesResult.policy:type_name -> com.coralogix.quota.v1.Policy - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_test_policies_result_proto_init() } -func file_com_coralogix_quota_v1_test_policies_result_proto_init() { - if File_com_coralogix_quota_v1_test_policies_result_proto != nil { - return - } - file_com_coralogix_quota_v1_policy_proto_init() - file_com_coralogix_quota_v1_log_meta_field_values_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_test_policies_result_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestPoliciesResult); 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_coralogix_quota_v1_test_policies_result_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_test_policies_result_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_test_policies_result_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_test_policies_result_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_test_policies_result_proto = out.File - file_com_coralogix_quota_v1_test_policies_result_proto_rawDesc = nil - file_com_coralogix_quota_v1_test_policies_result_proto_goTypes = nil - file_com_coralogix_quota_v1_test_policies_result_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/toggle_policy_request.pb.go b/coralogix/clientset/grpc/tco-policies/toggle_policy_request.pb.go deleted file mode 100644 index 88d114fd..00000000 --- a/coralogix/clientset/grpc/tco-policies/toggle_policy_request.pb.go +++ /dev/null @@ -1,165 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/toggle_policy_request.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 TogglePolicyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` -} - -func (x *TogglePolicyRequest) Reset() { - *x = TogglePolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_toggle_policy_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TogglePolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TogglePolicyRequest) ProtoMessage() {} - -func (x *TogglePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_toggle_policy_request_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 TogglePolicyRequest.ProtoReflect.Descriptor instead. -func (*TogglePolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescGZIP(), []int{0} -} - -func (x *TogglePolicyRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *TogglePolicyRequest) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -var File_com_coralogix_quota_v1_toggle_policy_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x79, 0x0a, 0x13, - 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 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, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, - 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescData = file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_toggle_policy_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_toggle_policy_request_proto_goTypes = []interface{}{ - (*TogglePolicyRequest)(nil), // 0: com.coralogix.quota.v1.TogglePolicyRequest - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue -} -var file_com_coralogix_quota_v1_toggle_policy_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.TogglePolicyRequest.id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.quota.v1.TogglePolicyRequest.enabled:type_name -> google.protobuf.BoolValue - 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_coralogix_quota_v1_toggle_policy_request_proto_init() } -func file_com_coralogix_quota_v1_toggle_policy_request_proto_init() { - if File_com_coralogix_quota_v1_toggle_policy_request_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_toggle_policy_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TogglePolicyRequest); 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_coralogix_quota_v1_toggle_policy_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_toggle_policy_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_toggle_policy_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_toggle_policy_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_toggle_policy_request_proto = out.File - file_com_coralogix_quota_v1_toggle_policy_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_toggle_policy_request_proto_goTypes = nil - file_com_coralogix_quota_v1_toggle_policy_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/toggle_policy_response.pb.go b/coralogix/clientset/grpc/tco-policies/toggle_policy_response.pb.go deleted file mode 100644 index fcef7239..00000000 --- a/coralogix/clientset/grpc/tco-policies/toggle_policy_response.pb.go +++ /dev/null @@ -1,165 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/toggle_policy_response.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 TogglePolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` -} - -func (x *TogglePolicyResponse) Reset() { - *x = TogglePolicyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_toggle_policy_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TogglePolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TogglePolicyResponse) ProtoMessage() {} - -func (x *TogglePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_toggle_policy_response_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 TogglePolicyResponse.ProtoReflect.Descriptor instead. -func (*TogglePolicyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescGZIP(), []int{0} -} - -func (x *TogglePolicyResponse) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *TogglePolicyResponse) GetEnabled() *wrapperspb.BoolValue { - if x != nil { - return x.Enabled - } - return nil -} - -var File_com_coralogix_quota_v1_toggle_policy_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x7a, 0x0a, - 0x14, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescData = file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_toggle_policy_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_toggle_policy_response_proto_goTypes = []interface{}{ - (*TogglePolicyResponse)(nil), // 0: com.coralogix.quota.v1.TogglePolicyResponse - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue -} -var file_com_coralogix_quota_v1_toggle_policy_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.TogglePolicyResponse.id:type_name -> google.protobuf.StringValue - 2, // 1: com.coralogix.quota.v1.TogglePolicyResponse.enabled:type_name -> google.protobuf.BoolValue - 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_coralogix_quota_v1_toggle_policy_response_proto_init() } -func file_com_coralogix_quota_v1_toggle_policy_response_proto_init() { - if File_com_coralogix_quota_v1_toggle_policy_response_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_toggle_policy_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TogglePolicyResponse); 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_coralogix_quota_v1_toggle_policy_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_toggle_policy_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_toggle_policy_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_toggle_policy_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_toggle_policy_response_proto = out.File - file_com_coralogix_quota_v1_toggle_policy_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_toggle_policy_response_proto_goTypes = nil - file_com_coralogix_quota_v1_toggle_policy_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/update_policy_request.pb.go b/coralogix/clientset/grpc/tco-policies/update_policy_request.pb.go deleted file mode 100644 index fea59cd3..00000000 --- a/coralogix/clientset/grpc/tco-policies/update_policy_request.pb.go +++ /dev/null @@ -1,315 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/update_policy_request.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 UpdatePolicyRequest 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"` - Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Priority Priority `protobuf:"varint,4,opt,name=priority,proto3,enum=com.coralogix.quota.v1.Priority" json:"priority,omitempty"` - ApplicationRule *Rule `protobuf:"bytes,5,opt,name=application_rule,json=applicationRule,proto3,oneof" json:"application_rule,omitempty"` - SubsystemRule *Rule `protobuf:"bytes,6,opt,name=subsystem_rule,json=subsystemRule,proto3,oneof" json:"subsystem_rule,omitempty"` - ArchiveRetention *ArchiveRetention `protobuf:"bytes,7,opt,name=archive_retention,json=archiveRetention,proto3,oneof" json:"archive_retention,omitempty"` - // Types that are assignable to SourceTypeRules: - // *UpdatePolicyRequest_LogRules - // *UpdatePolicyRequest_SpanRules - SourceTypeRules isUpdatePolicyRequest_SourceTypeRules `protobuf_oneof:"source_type_rules"` -} - -func (x *UpdatePolicyRequest) Reset() { - *x = UpdatePolicyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_update_policy_request_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdatePolicyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdatePolicyRequest) ProtoMessage() {} - -func (x *UpdatePolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_update_policy_request_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 UpdatePolicyRequest.ProtoReflect.Descriptor instead. -func (*UpdatePolicyRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_update_policy_request_proto_rawDescGZIP(), []int{0} -} - -func (x *UpdatePolicyRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *UpdatePolicyRequest) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *UpdatePolicyRequest) GetDescription() *wrapperspb.StringValue { - if x != nil { - return x.Description - } - return nil -} - -func (x *UpdatePolicyRequest) GetPriority() Priority { - if x != nil { - return x.Priority - } - return Priority_PRIORITY_TYPE_UNSPECIFIED -} - -func (x *UpdatePolicyRequest) GetApplicationRule() *Rule { - if x != nil { - return x.ApplicationRule - } - return nil -} - -func (x *UpdatePolicyRequest) GetSubsystemRule() *Rule { - if x != nil { - return x.SubsystemRule - } - return nil -} - -func (x *UpdatePolicyRequest) GetArchiveRetention() *ArchiveRetention { - if x != nil { - return x.ArchiveRetention - } - return nil -} - -func (m *UpdatePolicyRequest) GetSourceTypeRules() isUpdatePolicyRequest_SourceTypeRules { - if m != nil { - return m.SourceTypeRules - } - return nil -} - -func (x *UpdatePolicyRequest) GetLogRules() *LogRules { - if x, ok := x.GetSourceTypeRules().(*UpdatePolicyRequest_LogRules); ok { - return x.LogRules - } - return nil -} - -func (x *UpdatePolicyRequest) GetSpanRules() *SpanRules { - if x, ok := x.GetSourceTypeRules().(*UpdatePolicyRequest_SpanRules); ok { - return x.SpanRules - } - return nil -} - -type isUpdatePolicyRequest_SourceTypeRules interface { - isUpdatePolicyRequest_SourceTypeRules() -} - -type UpdatePolicyRequest_LogRules struct { - LogRules *LogRules `protobuf:"bytes,8,opt,name=log_rules,json=logRules,proto3,oneof"` -} - -type UpdatePolicyRequest_SpanRules struct { - SpanRules *SpanRules `protobuf:"bytes,9,opt,name=span_rules,json=spanRules,proto3,oneof"` -} - -func (*UpdatePolicyRequest_LogRules) isUpdatePolicyRequest_SourceTypeRules() {} - -func (*UpdatePolicyRequest_SpanRules) isUpdatePolicyRequest_SourceTypeRules() {} - -var File_com_coralogix_quota_v1_update_policy_request_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_update_policy_request_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 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, 0x1a, 0x22, 0x63, 0x6f, - 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, - 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x05, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x3c, 0x0a, 0x08, - 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, - 0x6c, 0x65, 0x48, 0x01, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x48, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x02, - 0x52, 0x0d, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x88, - 0x01, 0x01, 0x12, 0x5a, 0x0a, 0x11, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x03, 0x52, 0x10, 0x61, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x3f, - 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, - 0x42, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, - 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x61, 0x6e, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x42, 0x11, 0x0a, - 0x0f, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x75, 0x6c, 0x65, - 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_update_policy_request_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_update_policy_request_proto_rawDescData = file_com_coralogix_quota_v1_update_policy_request_proto_rawDesc -) - -func file_com_coralogix_quota_v1_update_policy_request_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_update_policy_request_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_update_policy_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_update_policy_request_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_update_policy_request_proto_rawDescData -} - -var file_com_coralogix_quota_v1_update_policy_request_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_update_policy_request_proto_goTypes = []interface{}{ - (*UpdatePolicyRequest)(nil), // 0: com.coralogix.quota.v1.UpdatePolicyRequest - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (Priority)(0), // 2: com.coralogix.quota.v1.Priority - (*Rule)(nil), // 3: com.coralogix.quota.v1.Rule - (*ArchiveRetention)(nil), // 4: com.coralogix.quota.v1.ArchiveRetention - (*LogRules)(nil), // 5: com.coralogix.quota.v1.LogRules - (*SpanRules)(nil), // 6: com.coralogix.quota.v1.SpanRules -} -var file_com_coralogix_quota_v1_update_policy_request_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.UpdatePolicyRequest.id:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.quota.v1.UpdatePolicyRequest.name:type_name -> google.protobuf.StringValue - 1, // 2: com.coralogix.quota.v1.UpdatePolicyRequest.description:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogix.quota.v1.UpdatePolicyRequest.priority:type_name -> com.coralogix.quota.v1.Priority - 3, // 4: com.coralogix.quota.v1.UpdatePolicyRequest.application_rule:type_name -> com.coralogix.quota.v1.Rule - 3, // 5: com.coralogix.quota.v1.UpdatePolicyRequest.subsystem_rule:type_name -> com.coralogix.quota.v1.Rule - 4, // 6: com.coralogix.quota.v1.UpdatePolicyRequest.archive_retention:type_name -> com.coralogix.quota.v1.ArchiveRetention - 5, // 7: com.coralogix.quota.v1.UpdatePolicyRequest.log_rules:type_name -> com.coralogix.quota.v1.LogRules - 6, // 8: com.coralogix.quota.v1.UpdatePolicyRequest.span_rules:type_name -> com.coralogix.quota.v1.SpanRules - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] 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_coralogix_quota_v1_update_policy_request_proto_init() } -func file_com_coralogix_quota_v1_update_policy_request_proto_init() { - if File_com_coralogix_quota_v1_update_policy_request_proto != nil { - return - } - file_com_coralogix_quota_v1_enums_proto_init() - file_com_coralogix_quota_v1_rule_proto_init() - file_com_coralogix_quota_v1_archive_retention_proto_init() - file_com_coralogix_quota_v1_log_rules_proto_init() - file_com_coralogix_quota_v1_span_rules_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_update_policy_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePolicyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_quota_v1_update_policy_request_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*UpdatePolicyRequest_LogRules)(nil), - (*UpdatePolicyRequest_SpanRules)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_quota_v1_update_policy_request_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_update_policy_request_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_update_policy_request_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_update_policy_request_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_update_policy_request_proto = out.File - file_com_coralogix_quota_v1_update_policy_request_proto_rawDesc = nil - file_com_coralogix_quota_v1_update_policy_request_proto_goTypes = nil - file_com_coralogix_quota_v1_update_policy_request_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/tco-policies/update_policy_response.pb.go b/coralogix/clientset/grpc/tco-policies/update_policy_response.pb.go deleted file mode 100644 index 9e1c31b0..00000000 --- a/coralogix/clientset/grpc/tco-policies/update_policy_response.pb.go +++ /dev/null @@ -1,152 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.8 -// source: com/coralogix/quota/v1/update_policy_response.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 UpdatePolicyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` -} - -func (x *UpdatePolicyResponse) Reset() { - *x = UpdatePolicyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_quota_v1_update_policy_response_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdatePolicyResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdatePolicyResponse) ProtoMessage() {} - -func (x *UpdatePolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_quota_v1_update_policy_response_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 UpdatePolicyResponse.ProtoReflect.Descriptor instead. -func (*UpdatePolicyResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_quota_v1_update_policy_response_proto_rawDescGZIP(), []int{0} -} - -func (x *UpdatePolicyResponse) GetPolicy() *Policy { - if x != nil { - return x.Policy - } - return nil -} - -var File_com_coralogix_quota_v1_update_policy_response_proto protoreflect.FileDescriptor - -var file_com_coralogix_quota_v1_update_policy_response_proto_rawDesc = []byte{ - 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x71, 0x75, 0x6f, - 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_quota_v1_update_policy_response_proto_rawDescOnce sync.Once - file_com_coralogix_quota_v1_update_policy_response_proto_rawDescData = file_com_coralogix_quota_v1_update_policy_response_proto_rawDesc -) - -func file_com_coralogix_quota_v1_update_policy_response_proto_rawDescGZIP() []byte { - file_com_coralogix_quota_v1_update_policy_response_proto_rawDescOnce.Do(func() { - file_com_coralogix_quota_v1_update_policy_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_quota_v1_update_policy_response_proto_rawDescData) - }) - return file_com_coralogix_quota_v1_update_policy_response_proto_rawDescData -} - -var file_com_coralogix_quota_v1_update_policy_response_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_quota_v1_update_policy_response_proto_goTypes = []interface{}{ - (*UpdatePolicyResponse)(nil), // 0: com.coralogix.quota.v1.UpdatePolicyResponse - (*Policy)(nil), // 1: com.coralogix.quota.v1.Policy -} -var file_com_coralogix_quota_v1_update_policy_response_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.quota.v1.UpdatePolicyResponse.policy:type_name -> com.coralogix.quota.v1.Policy - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_com_coralogix_quota_v1_update_policy_response_proto_init() } -func file_com_coralogix_quota_v1_update_policy_response_proto_init() { - if File_com_coralogix_quota_v1_update_policy_response_proto != nil { - return - } - file_com_coralogix_quota_v1_policy_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_quota_v1_update_policy_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdatePolicyResponse); 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_coralogix_quota_v1_update_policy_response_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_quota_v1_update_policy_response_proto_goTypes, - DependencyIndexes: file_com_coralogix_quota_v1_update_policy_response_proto_depIdxs, - MessageInfos: file_com_coralogix_quota_v1_update_policy_response_proto_msgTypes, - }.Build() - File_com_coralogix_quota_v1_update_policy_response_proto = out.File - file_com_coralogix_quota_v1_update_policy_response_proto_rawDesc = nil - file_com_coralogix_quota_v1_update_policy_response_proto_goTypes = nil - file_com_coralogix_quota_v1_update_policy_response_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/teams/team_service.pb.go b/coralogix/clientset/grpc/teams/team_service.pb.go deleted file mode 100644 index 5c2e2d49..00000000 --- a/coralogix/clientset/grpc/teams/team_service.pb.go +++ /dev/null @@ -1,1197 +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/aaa/organisations/v2/team_service.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 GetTeamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` -} - -func (x *GetTeamRequest) Reset() { - *x = GetTeamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamRequest) ProtoMessage() {} - -func (x *GetTeamRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 GetTeamRequest.ProtoReflect.Descriptor instead. -func (*GetTeamRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{0} -} - -func (x *GetTeamRequest) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -type GetTeamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` - TeamName string `protobuf:"bytes,2,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` - DailyQuota float64 `protobuf:"fixed64,3,opt,name=daily_quota,json=dailyQuota,proto3" json:"daily_quota,omitempty"` - Retention int32 `protobuf:"varint,4,opt,name=retention,proto3" json:"retention,omitempty"` -} - -func (x *GetTeamResponse) Reset() { - *x = GetTeamResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamResponse) ProtoMessage() {} - -func (x *GetTeamResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 GetTeamResponse.ProtoReflect.Descriptor instead. -func (*GetTeamResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{1} -} - -func (x *GetTeamResponse) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -func (x *GetTeamResponse) GetTeamName() string { - if x != nil { - return x.TeamName - } - return "" -} - -func (x *GetTeamResponse) GetDailyQuota() float64 { - if x != nil { - return x.DailyQuota - } - return 0 -} - -func (x *GetTeamResponse) GetRetention() int32 { - if x != nil { - return x.Retention - } - return 0 -} - -type DeleteTeamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` -} - -func (x *DeleteTeamRequest) Reset() { - *x = DeleteTeamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteTeamRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteTeamRequest) ProtoMessage() {} - -func (x *DeleteTeamRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 DeleteTeamRequest.ProtoReflect.Descriptor instead. -func (*DeleteTeamRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{2} -} - -func (x *DeleteTeamRequest) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -type DeleteTeamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteTeamResponse) Reset() { - *x = DeleteTeamResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteTeamResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteTeamResponse) ProtoMessage() {} - -func (x *DeleteTeamResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 DeleteTeamResponse.ProtoReflect.Descriptor instead. -func (*DeleteTeamResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{3} -} - -type UpdateTeamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` - TeamName *string `protobuf:"bytes,2,opt,name=team_name,json=teamName,proto3,oneof" json:"team_name,omitempty"` - DailyQuota *float64 `protobuf:"fixed64,3,opt,name=daily_quota,json=dailyQuota,proto3,oneof" json:"daily_quota,omitempty"` -} - -func (x *UpdateTeamRequest) Reset() { - *x = UpdateTeamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateTeamRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateTeamRequest) ProtoMessage() {} - -func (x *UpdateTeamRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 UpdateTeamRequest.ProtoReflect.Descriptor instead. -func (*UpdateTeamRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{4} -} - -func (x *UpdateTeamRequest) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -func (x *UpdateTeamRequest) GetTeamName() string { - if x != nil && x.TeamName != nil { - return *x.TeamName - } - return "" -} - -func (x *UpdateTeamRequest) GetDailyQuota() float64 { - if x != nil && x.DailyQuota != nil { - return *x.DailyQuota - } - return 0 -} - -type UpdateTeamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UpdateTeamResponse) Reset() { - *x = UpdateTeamResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateTeamResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateTeamResponse) ProtoMessage() {} - -func (x *UpdateTeamResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 UpdateTeamResponse.ProtoReflect.Descriptor instead. -func (*UpdateTeamResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{5} -} - -type CreateTeamInOrgRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamName string `protobuf:"bytes,1,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` - TeamAdminsEmail []string `protobuf:"bytes,3,rep,name=team_admins_email,json=teamAdminsEmail,proto3" json:"team_admins_email,omitempty"` - // Default daily quota is 0.01 units/day - DailyQuota *float64 `protobuf:"fixed64,6,opt,name=daily_quota,json=dailyQuota,proto3,oneof" json:"daily_quota,omitempty"` -} - -func (x *CreateTeamInOrgRequest) Reset() { - *x = CreateTeamInOrgRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateTeamInOrgRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTeamInOrgRequest) ProtoMessage() {} - -func (x *CreateTeamInOrgRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 CreateTeamInOrgRequest.ProtoReflect.Descriptor instead. -func (*CreateTeamInOrgRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{6} -} - -func (x *CreateTeamInOrgRequest) GetTeamName() string { - if x != nil { - return x.TeamName - } - return "" -} - -func (x *CreateTeamInOrgRequest) GetTeamAdminsEmail() []string { - if x != nil { - return x.TeamAdminsEmail - } - return nil -} - -func (x *CreateTeamInOrgRequest) GetDailyQuota() float64 { - if x != nil && x.DailyQuota != nil { - return *x.DailyQuota - } - return 0 -} - -type CreateTeamInOrgResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` -} - -func (x *CreateTeamInOrgResponse) Reset() { - *x = CreateTeamInOrgResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateTeamInOrgResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTeamInOrgResponse) ProtoMessage() {} - -func (x *CreateTeamInOrgResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 CreateTeamInOrgResponse.ProtoReflect.Descriptor instead. -func (*CreateTeamInOrgResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{7} -} - -func (x *CreateTeamInOrgResponse) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -type MoveQuotaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SourceTeam *TeamId `protobuf:"bytes,1,opt,name=source_team,json=sourceTeam,proto3" json:"source_team,omitempty"` - DestinationTeam *TeamId `protobuf:"bytes,2,opt,name=destination_team,json=destinationTeam,proto3" json:"destination_team,omitempty"` - UnitsToMove float64 `protobuf:"fixed64,3,opt,name=units_to_move,json=unitsToMove,proto3" json:"units_to_move,omitempty"` -} - -func (x *MoveQuotaRequest) Reset() { - *x = MoveQuotaRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveQuotaRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveQuotaRequest) ProtoMessage() {} - -func (x *MoveQuotaRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 MoveQuotaRequest.ProtoReflect.Descriptor instead. -func (*MoveQuotaRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{8} -} - -func (x *MoveQuotaRequest) GetSourceTeam() *TeamId { - if x != nil { - return x.SourceTeam - } - return nil -} - -func (x *MoveQuotaRequest) GetDestinationTeam() *TeamId { - if x != nil { - return x.DestinationTeam - } - return nil -} - -func (x *MoveQuotaRequest) GetUnitsToMove() float64 { - if x != nil { - return x.UnitsToMove - } - return 0 -} - -type MoveQuotaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SourceTeamQuota float64 `protobuf:"fixed64,1,opt,name=source_team_quota,json=sourceTeamQuota,proto3" json:"source_team_quota,omitempty"` - DestinationTeamQuota float64 `protobuf:"fixed64,2,opt,name=destination_team_quota,json=destinationTeamQuota,proto3" json:"destination_team_quota,omitempty"` -} - -func (x *MoveQuotaResponse) Reset() { - *x = MoveQuotaResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveQuotaResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveQuotaResponse) ProtoMessage() {} - -func (x *MoveQuotaResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 MoveQuotaResponse.ProtoReflect.Descriptor instead. -func (*MoveQuotaResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{9} -} - -func (x *MoveQuotaResponse) GetSourceTeamQuota() float64 { - if x != nil { - return x.SourceTeamQuota - } - return 0 -} - -func (x *MoveQuotaResponse) GetDestinationTeamQuota() float64 { - if x != nil { - return x.DestinationTeamQuota - } - return 0 -} - -type GetTeamQuotaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` -} - -func (x *GetTeamQuotaRequest) Reset() { - *x = GetTeamQuotaRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamQuotaRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamQuotaRequest) ProtoMessage() {} - -func (x *GetTeamQuotaRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 GetTeamQuotaRequest.ProtoReflect.Descriptor instead. -func (*GetTeamQuotaRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{10} -} - -func (x *GetTeamQuotaRequest) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -type GetTeamQuotaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` - Quota float32 `protobuf:"fixed32,2,opt,name=quota,proto3" json:"quota,omitempty"` - Retention int32 `protobuf:"varint,3,opt,name=retention,proto3" json:"retention,omitempty"` -} - -func (x *GetTeamQuotaResponse) Reset() { - *x = GetTeamQuotaResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTeamQuotaResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTeamQuotaResponse) ProtoMessage() {} - -func (x *GetTeamQuotaResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 GetTeamQuotaResponse.ProtoReflect.Descriptor instead. -func (*GetTeamQuotaResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{11} -} - -func (x *GetTeamQuotaResponse) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -func (x *GetTeamQuotaResponse) GetQuota() float32 { - if x != nil { - return x.Quota - } - return 0 -} - -func (x *GetTeamQuotaResponse) GetRetention() int32 { - if x != nil { - return x.Retention - } - return 0 -} - -type SetDailyQuotaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` - TargetDailyQuota float32 `protobuf:"fixed32,2,opt,name=target_daily_quota,json=targetDailyQuota,proto3" json:"target_daily_quota,omitempty"` -} - -func (x *SetDailyQuotaRequest) Reset() { - *x = SetDailyQuotaRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetDailyQuotaRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetDailyQuotaRequest) ProtoMessage() {} - -func (x *SetDailyQuotaRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 SetDailyQuotaRequest.ProtoReflect.Descriptor instead. -func (*SetDailyQuotaRequest) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{12} -} - -func (x *SetDailyQuotaRequest) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -func (x *SetDailyQuotaRequest) GetTargetDailyQuota() float32 { - if x != nil { - return x.TargetDailyQuota - } - return 0 -} - -type SetDailyQuotaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *SetDailyQuotaResponse) Reset() { - *x = SetDailyQuotaResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetDailyQuotaResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetDailyQuotaResponse) ProtoMessage() {} - -func (x *SetDailyQuotaResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_team_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 SetDailyQuotaResponse.ProtoReflect.Descriptor instead. -func (*SetDailyQuotaResponse) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP(), []int{13} -} - -var File_com_coralogixapis_aaa_organisations_v2_team_service_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDesc = []byte{ - 0x0a, 0x39, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x61, 0x61, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 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, 0x61, - 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x61, 0x61, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x65, - 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, - 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, - 0x49, 0x64, 0x22, 0xb6, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, - 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x0a, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x1c, 0x0a, - 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5c, 0x0a, 0x11, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, - 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xc2, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x20, - 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, - 0x12, 0x24, 0x0a, 0x0b, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x01, 0x52, 0x0a, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x51, 0x75, - 0x6f, 0x74, 0x61, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, - 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x16, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x73, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x74, - 0x65, 0x61, 0x6d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, - 0x0a, 0x0b, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x51, 0x75, 0x6f, 0x74, - 0x61, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x68, 0x0a, 0x17, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x4a, 0x04, - 0x08, 0x02, 0x10, 0x03, 0x22, 0xe2, 0x01, 0x0a, 0x10, 0x4d, 0x6f, 0x76, 0x65, 0x51, 0x75, 0x6f, - 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x0a, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x59, 0x0a, 0x10, 0x64, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, - 0x61, 0x6d, 0x49, 0x64, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x22, 0x0a, 0x0d, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x5f, 0x74, - 0x6f, 0x5f, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x75, 0x6e, - 0x69, 0x74, 0x73, 0x54, 0x6f, 0x4d, 0x6f, 0x76, 0x65, 0x22, 0x75, 0x0a, 0x11, 0x4d, 0x6f, 0x76, - 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, - 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x54, 0x65, 0x61, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x71, - 0x75, 0x6f, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x64, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, - 0x22, 0x5e, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, - 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, - 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, - 0x22, 0x93, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x51, 0x75, 0x6f, 0x74, - 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, - 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, - 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x02, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8d, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x44, 0x61, - 0x69, 0x6c, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x47, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, - 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x61, 0x69, 0x6c, - 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x44, 0x61, 0x69, - 0x6c, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, - 0xd6, 0x07, 0x0a, 0x0b, 0x54, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x94, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, - 0x4f, 0x72, 0x67, 0x12, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x4f, 0x72, 0x67, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x09, 0x4d, 0x6f, 0x76, 0x65, 0x51, - 0x75, 0x6f, 0x74, 0x61, 0x12, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, - 0x76, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x51, 0x75, 0x6f, 0x74, - 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x0c, - 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x3b, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x51, 0x75, 0x6f, - 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, - 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x0d, 0x53, 0x65, - 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x3c, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x51, 0x75, 0x6f, - 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, - 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x51, 0x75, 0x6f, 0x74, 0x61, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x0a, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, - 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x36, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x47, - 0x65, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x85, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x12, - 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, - 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, - 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescOnce sync.Once - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescData = file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDesc -) - -func file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescGZIP() []byte { - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescData) - }) - return file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDescData -} - -var file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_com_coralogixapis_aaa_organisations_v2_team_service_proto_goTypes = []interface{}{ - (*GetTeamRequest)(nil), // 0: com.coralogixapis.aaa.organisations.v2.GetTeamRequest - (*GetTeamResponse)(nil), // 1: com.coralogixapis.aaa.organisations.v2.GetTeamResponse - (*DeleteTeamRequest)(nil), // 2: com.coralogixapis.aaa.organisations.v2.DeleteTeamRequest - (*DeleteTeamResponse)(nil), // 3: com.coralogixapis.aaa.organisations.v2.DeleteTeamResponse - (*UpdateTeamRequest)(nil), // 4: com.coralogixapis.aaa.organisations.v2.UpdateTeamRequest - (*UpdateTeamResponse)(nil), // 5: com.coralogixapis.aaa.organisations.v2.UpdateTeamResponse - (*CreateTeamInOrgRequest)(nil), // 6: com.coralogixapis.aaa.organisations.v2.CreateTeamInOrgRequest - (*CreateTeamInOrgResponse)(nil), // 7: com.coralogixapis.aaa.organisations.v2.CreateTeamInOrgResponse - (*MoveQuotaRequest)(nil), // 8: com.coralogixapis.aaa.organisations.v2.MoveQuotaRequest - (*MoveQuotaResponse)(nil), // 9: com.coralogixapis.aaa.organisations.v2.MoveQuotaResponse - (*GetTeamQuotaRequest)(nil), // 10: com.coralogixapis.aaa.organisations.v2.GetTeamQuotaRequest - (*GetTeamQuotaResponse)(nil), // 11: com.coralogixapis.aaa.organisations.v2.GetTeamQuotaResponse - (*SetDailyQuotaRequest)(nil), // 12: com.coralogixapis.aaa.organisations.v2.SetDailyQuotaRequest - (*SetDailyQuotaResponse)(nil), // 13: com.coralogixapis.aaa.organisations.v2.SetDailyQuotaResponse - (*TeamId)(nil), // 14: com.coralogixapis.aaa.organisations.v2.TeamId -} -var file_com_coralogixapis_aaa_organisations_v2_team_service_proto_depIdxs = []int32{ - 14, // 0: com.coralogixapis.aaa.organisations.v2.GetTeamRequest.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 1: com.coralogixapis.aaa.organisations.v2.GetTeamResponse.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 2: com.coralogixapis.aaa.organisations.v2.DeleteTeamRequest.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 3: com.coralogixapis.aaa.organisations.v2.UpdateTeamRequest.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 4: com.coralogixapis.aaa.organisations.v2.CreateTeamInOrgResponse.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 5: com.coralogixapis.aaa.organisations.v2.MoveQuotaRequest.source_team:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 6: com.coralogixapis.aaa.organisations.v2.MoveQuotaRequest.destination_team:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 7: com.coralogixapis.aaa.organisations.v2.GetTeamQuotaRequest.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 8: com.coralogixapis.aaa.organisations.v2.GetTeamQuotaResponse.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 14, // 9: com.coralogixapis.aaa.organisations.v2.SetDailyQuotaRequest.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 6, // 10: com.coralogixapis.aaa.organisations.v2.TeamService.CreateTeamInOrg:input_type -> com.coralogixapis.aaa.organisations.v2.CreateTeamInOrgRequest - 8, // 11: com.coralogixapis.aaa.organisations.v2.TeamService.MoveQuota:input_type -> com.coralogixapis.aaa.organisations.v2.MoveQuotaRequest - 10, // 12: com.coralogixapis.aaa.organisations.v2.TeamService.GetTeamQuota:input_type -> com.coralogixapis.aaa.organisations.v2.GetTeamQuotaRequest - 12, // 13: com.coralogixapis.aaa.organisations.v2.TeamService.SetDailyQuota:input_type -> com.coralogixapis.aaa.organisations.v2.SetDailyQuotaRequest - 4, // 14: com.coralogixapis.aaa.organisations.v2.TeamService.UpdateTeam:input_type -> com.coralogixapis.aaa.organisations.v2.UpdateTeamRequest - 0, // 15: com.coralogixapis.aaa.organisations.v2.TeamService.GetTeam:input_type -> com.coralogixapis.aaa.organisations.v2.GetTeamRequest - 2, // 16: com.coralogixapis.aaa.organisations.v2.TeamService.DeleteTeam:input_type -> com.coralogixapis.aaa.organisations.v2.DeleteTeamRequest - 7, // 17: com.coralogixapis.aaa.organisations.v2.TeamService.CreateTeamInOrg:output_type -> com.coralogixapis.aaa.organisations.v2.CreateTeamInOrgResponse - 9, // 18: com.coralogixapis.aaa.organisations.v2.TeamService.MoveQuota:output_type -> com.coralogixapis.aaa.organisations.v2.MoveQuotaResponse - 11, // 19: com.coralogixapis.aaa.organisations.v2.TeamService.GetTeamQuota:output_type -> com.coralogixapis.aaa.organisations.v2.GetTeamQuotaResponse - 13, // 20: com.coralogixapis.aaa.organisations.v2.TeamService.SetDailyQuota:output_type -> com.coralogixapis.aaa.organisations.v2.SetDailyQuotaResponse - 5, // 21: com.coralogixapis.aaa.organisations.v2.TeamService.UpdateTeam:output_type -> com.coralogixapis.aaa.organisations.v2.UpdateTeamResponse - 1, // 22: com.coralogixapis.aaa.organisations.v2.TeamService.GetTeam:output_type -> com.coralogixapis.aaa.organisations.v2.GetTeamResponse - 3, // 23: com.coralogixapis.aaa.organisations.v2.TeamService.DeleteTeam:output_type -> com.coralogixapis.aaa.organisations.v2.DeleteTeamResponse - 17, // [17:24] is the sub-list for method output_type - 10, // [10:17] 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_aaa_organisations_v2_team_service_proto_init() } -func file_com_coralogixapis_aaa_organisations_v2_team_service_proto_init() { - if File_com_coralogixapis_aaa_organisations_v2_team_service_proto != nil { - return - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTeamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTeamResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTeamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateTeamResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTeamInOrgRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTeamInOrgResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveQuotaRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveQuotaResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamQuotaRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTeamQuotaResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetDailyQuotaRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetDailyQuotaResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes[6].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 14, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogixapis_aaa_organisations_v2_team_service_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_aaa_organisations_v2_team_service_proto_depIdxs, - MessageInfos: file_com_coralogixapis_aaa_organisations_v2_team_service_proto_msgTypes, - }.Build() - File_com_coralogixapis_aaa_organisations_v2_team_service_proto = out.File - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_rawDesc = nil - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_goTypes = nil - file_com_coralogixapis_aaa_organisations_v2_team_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/teams/team_service_grpc.pb.go b/coralogix/clientset/grpc/teams/team_service_grpc.pb.go deleted file mode 100644 index 06d51a18..00000000 --- a/coralogix/clientset/grpc/teams/team_service_grpc.pb.go +++ /dev/null @@ -1,321 +0,0 @@ -// 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/aaa/organisations/v2/team_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 - -// TeamServiceClient is the client API for TeamService 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 TeamServiceClient interface { - CreateTeamInOrg(ctx context.Context, in *CreateTeamInOrgRequest, opts ...grpc.CallOption) (*CreateTeamInOrgResponse, error) - MoveQuota(ctx context.Context, in *MoveQuotaRequest, opts ...grpc.CallOption) (*MoveQuotaResponse, error) - GetTeamQuota(ctx context.Context, in *GetTeamQuotaRequest, opts ...grpc.CallOption) (*GetTeamQuotaResponse, error) - SetDailyQuota(ctx context.Context, in *SetDailyQuotaRequest, opts ...grpc.CallOption) (*SetDailyQuotaResponse, error) - UpdateTeam(ctx context.Context, in *UpdateTeamRequest, opts ...grpc.CallOption) (*UpdateTeamResponse, error) - GetTeam(ctx context.Context, in *GetTeamRequest, opts ...grpc.CallOption) (*GetTeamResponse, error) - DeleteTeam(ctx context.Context, in *DeleteTeamRequest, opts ...grpc.CallOption) (*DeleteTeamResponse, error) -} - -type teamServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewTeamServiceClient(cc grpc.ClientConnInterface) TeamServiceClient { - return &teamServiceClient{cc} -} - -func (c *teamServiceClient) CreateTeamInOrg(ctx context.Context, in *CreateTeamInOrgRequest, opts ...grpc.CallOption) (*CreateTeamInOrgResponse, error) { - out := new(CreateTeamInOrgResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.organisations.v2.TeamService/CreateTeamInOrg", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *teamServiceClient) MoveQuota(ctx context.Context, in *MoveQuotaRequest, opts ...grpc.CallOption) (*MoveQuotaResponse, error) { - out := new(MoveQuotaResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.organisations.v2.TeamService/MoveQuota", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *teamServiceClient) GetTeamQuota(ctx context.Context, in *GetTeamQuotaRequest, opts ...grpc.CallOption) (*GetTeamQuotaResponse, error) { - out := new(GetTeamQuotaResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.organisations.v2.TeamService/GetTeamQuota", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *teamServiceClient) SetDailyQuota(ctx context.Context, in *SetDailyQuotaRequest, opts ...grpc.CallOption) (*SetDailyQuotaResponse, error) { - out := new(SetDailyQuotaResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.organisations.v2.TeamService/SetDailyQuota", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *teamServiceClient) UpdateTeam(ctx context.Context, in *UpdateTeamRequest, opts ...grpc.CallOption) (*UpdateTeamResponse, error) { - out := new(UpdateTeamResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.organisations.v2.TeamService/UpdateTeam", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *teamServiceClient) GetTeam(ctx context.Context, in *GetTeamRequest, opts ...grpc.CallOption) (*GetTeamResponse, error) { - out := new(GetTeamResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.organisations.v2.TeamService/GetTeam", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *teamServiceClient) DeleteTeam(ctx context.Context, in *DeleteTeamRequest, opts ...grpc.CallOption) (*DeleteTeamResponse, error) { - out := new(DeleteTeamResponse) - err := c.cc.Invoke(ctx, "/com.coralogixapis.aaa.organisations.v2.TeamService/DeleteTeam", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TeamServiceServer is the server API for TeamService service. -// All implementations must embed UnimplementedTeamServiceServer -// for forward compatibility -type TeamServiceServer interface { - CreateTeamInOrg(context.Context, *CreateTeamInOrgRequest) (*CreateTeamInOrgResponse, error) - MoveQuota(context.Context, *MoveQuotaRequest) (*MoveQuotaResponse, error) - GetTeamQuota(context.Context, *GetTeamQuotaRequest) (*GetTeamQuotaResponse, error) - SetDailyQuota(context.Context, *SetDailyQuotaRequest) (*SetDailyQuotaResponse, error) - UpdateTeam(context.Context, *UpdateTeamRequest) (*UpdateTeamResponse, error) - GetTeam(context.Context, *GetTeamRequest) (*GetTeamResponse, error) - DeleteTeam(context.Context, *DeleteTeamRequest) (*DeleteTeamResponse, error) - mustEmbedUnimplementedTeamServiceServer() -} - -// UnimplementedTeamServiceServer must be embedded to have forward compatible implementations. -type UnimplementedTeamServiceServer struct { -} - -func (UnimplementedTeamServiceServer) CreateTeamInOrg(context.Context, *CreateTeamInOrgRequest) (*CreateTeamInOrgResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTeamInOrg not implemented") -} -func (UnimplementedTeamServiceServer) MoveQuota(context.Context, *MoveQuotaRequest) (*MoveQuotaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MoveQuota not implemented") -} -func (UnimplementedTeamServiceServer) GetTeamQuota(context.Context, *GetTeamQuotaRequest) (*GetTeamQuotaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTeamQuota not implemented") -} -func (UnimplementedTeamServiceServer) SetDailyQuota(context.Context, *SetDailyQuotaRequest) (*SetDailyQuotaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetDailyQuota not implemented") -} -func (UnimplementedTeamServiceServer) UpdateTeam(context.Context, *UpdateTeamRequest) (*UpdateTeamResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateTeam not implemented") -} -func (UnimplementedTeamServiceServer) GetTeam(context.Context, *GetTeamRequest) (*GetTeamResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTeam not implemented") -} -func (UnimplementedTeamServiceServer) DeleteTeam(context.Context, *DeleteTeamRequest) (*DeleteTeamResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTeam not implemented") -} -func (UnimplementedTeamServiceServer) mustEmbedUnimplementedTeamServiceServer() {} - -// UnsafeTeamServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to TeamServiceServer will -// result in compilation errors. -type UnsafeTeamServiceServer interface { - mustEmbedUnimplementedTeamServiceServer() -} - -func RegisterTeamServiceServer(s grpc.ServiceRegistrar, srv TeamServiceServer) { - s.RegisterService(&TeamService_ServiceDesc, srv) -} - -func _TeamService_CreateTeamInOrg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTeamInOrgRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamServiceServer).CreateTeamInOrg(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.organisations.v2.TeamService/CreateTeamInOrg", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamServiceServer).CreateTeamInOrg(ctx, req.(*CreateTeamInOrgRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TeamService_MoveQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MoveQuotaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamServiceServer).MoveQuota(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.organisations.v2.TeamService/MoveQuota", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamServiceServer).MoveQuota(ctx, req.(*MoveQuotaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TeamService_GetTeamQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTeamQuotaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamServiceServer).GetTeamQuota(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.organisations.v2.TeamService/GetTeamQuota", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamServiceServer).GetTeamQuota(ctx, req.(*GetTeamQuotaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TeamService_SetDailyQuota_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetDailyQuotaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamServiceServer).SetDailyQuota(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.organisations.v2.TeamService/SetDailyQuota", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamServiceServer).SetDailyQuota(ctx, req.(*SetDailyQuotaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TeamService_UpdateTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateTeamRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamServiceServer).UpdateTeam(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.organisations.v2.TeamService/UpdateTeam", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamServiceServer).UpdateTeam(ctx, req.(*UpdateTeamRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TeamService_GetTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTeamRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamServiceServer).GetTeam(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.organisations.v2.TeamService/GetTeam", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamServiceServer).GetTeam(ctx, req.(*GetTeamRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _TeamService_DeleteTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTeamRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TeamServiceServer).DeleteTeam(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/com.coralogixapis.aaa.organisations.v2.TeamService/DeleteTeam", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TeamServiceServer).DeleteTeam(ctx, req.(*DeleteTeamRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// TeamService_ServiceDesc is the grpc.ServiceDesc for TeamService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var TeamService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogixapis.aaa.organisations.v2.TeamService", - HandlerType: (*TeamServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTeamInOrg", - Handler: _TeamService_CreateTeamInOrg_Handler, - }, - { - MethodName: "MoveQuota", - Handler: _TeamService_MoveQuota_Handler, - }, - { - MethodName: "GetTeamQuota", - Handler: _TeamService_GetTeamQuota_Handler, - }, - { - MethodName: "SetDailyQuota", - Handler: _TeamService_SetDailyQuota_Handler, - }, - { - MethodName: "UpdateTeam", - Handler: _TeamService_UpdateTeam_Handler, - }, - { - MethodName: "GetTeam", - Handler: _TeamService_GetTeam_Handler, - }, - { - MethodName: "DeleteTeam", - Handler: _TeamService_DeleteTeam_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogixapis/aaa/organisations/v2/team_service.proto", -} diff --git a/coralogix/clientset/grpc/teams/types.pb.go b/coralogix/clientset/grpc/teams/types.pb.go deleted file mode 100644 index 785d6e67..00000000 --- a/coralogix/clientset/grpc/teams/types.pb.go +++ /dev/null @@ -1,791 +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/aaa/organisations/v2/types.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 PlanType int32 - -const ( - PlanType_PLAN_TYPE_UNSPECIFIED PlanType = 0 - PlanType_PLAN_TYPE_POST_TRIAL PlanType = 1 - PlanType_PLAN_TYPE_PLAN PlanType = 2 - PlanType_PLAN_TYPE_TRIAL PlanType = 3 -) - -// Enum value maps for PlanType. -var ( - PlanType_name = map[int32]string{ - 0: "PLAN_TYPE_UNSPECIFIED", - 1: "PLAN_TYPE_POST_TRIAL", - 2: "PLAN_TYPE_PLAN", - 3: "PLAN_TYPE_TRIAL", - } - PlanType_value = map[string]int32{ - "PLAN_TYPE_UNSPECIFIED": 0, - "PLAN_TYPE_POST_TRIAL": 1, - "PLAN_TYPE_PLAN": 2, - "PLAN_TYPE_TRIAL": 3, - } -) - -func (x PlanType) Enum() *PlanType { - p := new(PlanType) - *p = x - return p -} - -func (x PlanType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PlanType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_enumTypes[0].Descriptor() -} - -func (PlanType) Type() protoreflect.EnumType { - return &file_com_coralogixapis_aaa_organisations_v2_types_proto_enumTypes[0] -} - -func (x PlanType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PlanType.Descriptor instead. -func (PlanType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{0} -} - -type Team struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *TeamId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Quota *float32 `protobuf:"fixed32,3,opt,name=quota,proto3,oneof" json:"quota,omitempty"` - Retention *int32 `protobuf:"varint,4,opt,name=retention,proto3,oneof" json:"retention,omitempty"` - PlanType *PlanType `protobuf:"varint,5,opt,name=plan_type,json=planType,proto3,enum=com.coralogixapis.aaa.organisations.v2.PlanType,oneof" json:"plan_type,omitempty"` - IsAuditingTeam bool `protobuf:"varint,6,opt,name=is_auditing_team,json=isAuditingTeam,proto3" json:"is_auditing_team,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *Team) Reset() { - *x = Team{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Team) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Team) ProtoMessage() {} - -func (x *Team) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 Team.ProtoReflect.Descriptor instead. -func (*Team) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{0} -} - -func (x *Team) GetId() *TeamId { - if x != nil { - return x.Id - } - return nil -} - -func (x *Team) GetClusterId() string { - if x != nil { - return x.ClusterId - } - return "" -} - -func (x *Team) GetQuota() float32 { - if x != nil && x.Quota != nil { - return *x.Quota - } - return 0 -} - -func (x *Team) GetRetention() int32 { - if x != nil && x.Retention != nil { - return *x.Retention - } - return 0 -} - -func (x *Team) GetPlanType() PlanType { - if x != nil && x.PlanType != nil { - return *x.PlanType - } - return PlanType_PLAN_TYPE_UNSPECIFIED -} - -func (x *Team) GetIsAuditingTeam() bool { - if x != nil { - return x.IsAuditingTeam - } - return false -} - -func (x *Team) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -type TeamInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *TeamId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - OrganisationId *OrganisationId `protobuf:"bytes,2,opt,name=organisation_id,json=organisationId,proto3" json:"organisation_id,omitempty"` - OrganisationName string `protobuf:"bytes,3,opt,name=organisation_name,json=organisationName,proto3" json:"organisation_name,omitempty"` -} - -func (x *TeamInfo) Reset() { - *x = TeamInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TeamInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TeamInfo) ProtoMessage() {} - -func (x *TeamInfo) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 TeamInfo.ProtoReflect.Descriptor instead. -func (*TeamInfo) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{1} -} - -func (x *TeamInfo) GetId() *TeamId { - if x != nil { - return x.Id - } - return nil -} - -func (x *TeamInfo) GetOrganisationId() *OrganisationId { - if x != nil { - return x.OrganisationId - } - return nil -} - -func (x *TeamInfo) GetOrganisationName() string { - if x != nil { - return x.OrganisationName - } - return "" -} - -type TeamId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *TeamId) Reset() { - *x = TeamId{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TeamId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TeamId) ProtoMessage() {} - -func (x *TeamId) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 TeamId.ProtoReflect.Descriptor instead. -func (*TeamId) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{2} -} - -func (x *TeamId) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -type OrganisationId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *OrganisationId) Reset() { - *x = OrganisationId{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrganisationId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrganisationId) ProtoMessage() {} - -func (x *OrganisationId) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 OrganisationId.ProtoReflect.Descriptor instead. -func (*OrganisationId) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{3} -} - -func (x *OrganisationId) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type UserId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *UserId) Reset() { - *x = UserId{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserId) ProtoMessage() {} - -func (x *UserId) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 UserId.ProtoReflect.Descriptor instead. -func (*UserId) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{4} -} - -func (x *UserId) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type UserAccountId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *UserAccountId) Reset() { - *x = UserAccountId{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserAccountId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserAccountId) ProtoMessage() {} - -func (x *UserAccountId) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 UserAccountId.ProtoReflect.Descriptor instead. -func (*UserAccountId) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{5} -} - -func (x *UserAccountId) GetId() uint32 { - if x != nil { - return x.Id - } - return 0 -} - -type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` - LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` - Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` - UserAccountId *UserAccountId `protobuf:"bytes,4,opt,name=user_account_id,json=userAccountId,proto3" json:"user_account_id,omitempty"` -} - -func (x *User) Reset() { - *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *User) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*User) ProtoMessage() {} - -func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 User.ProtoReflect.Descriptor instead. -func (*User) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{6} -} - -func (x *User) GetFirstName() string { - if x != nil { - return x.FirstName - } - return "" -} - -func (x *User) GetLastName() string { - if x != nil { - return x.LastName - } - return "" -} - -func (x *User) GetUsername() string { - if x != nil { - return x.Username - } - return "" -} - -func (x *User) GetUserAccountId() *UserAccountId { - if x != nil { - return x.UserAccountId - } - return nil -} - -type TeamCount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TeamId *TeamId `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` - TeamMemberCount uint32 `protobuf:"varint,2,opt,name=team_member_count,json=teamMemberCount,proto3" json:"team_member_count,omitempty"` -} - -func (x *TeamCount) Reset() { - *x = TeamCount{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TeamCount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TeamCount) ProtoMessage() {} - -func (x *TeamCount) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_aaa_organisations_v2_types_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 TeamCount.ProtoReflect.Descriptor instead. -func (*TeamCount) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP(), []int{7} -} - -func (x *TeamCount) GetTeamId() *TeamId { - if x != nil { - return x.TeamId - } - return nil -} - -func (x *TeamCount) GetTeamMemberCount() uint32 { - if x != nil { - return x.TeamMemberCount - } - return 0 -} - -var File_com_coralogixapis_aaa_organisations_v2_types_proto protoreflect.FileDescriptor - -var file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, - 0x70, 0x69, 0x73, 0x2f, 0x61, 0x61, 0x61, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 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, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x22, 0xdb, 0x02, 0x0a, - 0x04, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x3e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, - 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x88, 0x01, 0x01, 0x12, - 0x21, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x48, 0x01, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x88, - 0x01, 0x01, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x50, - 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x48, 0x02, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0e, 0x69, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x61, 0x6d, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x42, 0x0c, - 0x0a, 0x0a, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, - 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xd8, 0x01, 0x0a, 0x08, 0x54, - 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, - 0x6d, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x5f, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 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, 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x06, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, - 0x20, 0x0a, 0x0e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x22, 0x18, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1f, 0x0a, 0x0d, 0x55, - 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0xbd, 0x01, 0x0a, - 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5d, 0x0a, - 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x04, 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, 0x61, 0x61, 0x61, 0x2e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x0d, 0x75, - 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x80, 0x01, 0x0a, - 0x09, 0x54, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x65, - 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x61, 0x61, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x52, 0x06, 0x74, 0x65, 0x61, - 0x6d, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, - 0x74, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x2a, - 0x68, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x50, - 0x4c, 0x41, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x10, 0x01, - 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, - 0x41, 0x4e, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4c, 0x41, 0x4e, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x54, 0x52, 0x49, 0x41, 0x4c, 0x10, 0x03, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescOnce sync.Once - file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescData = file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDesc -) - -func file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescGZIP() []byte { - file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescOnce.Do(func() { - file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescData) - }) - return file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDescData -} - -var file_com_coralogixapis_aaa_organisations_v2_types_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_com_coralogixapis_aaa_organisations_v2_types_proto_goTypes = []interface{}{ - (PlanType)(0), // 0: com.coralogixapis.aaa.organisations.v2.PlanType - (*Team)(nil), // 1: com.coralogixapis.aaa.organisations.v2.Team - (*TeamInfo)(nil), // 2: com.coralogixapis.aaa.organisations.v2.TeamInfo - (*TeamId)(nil), // 3: com.coralogixapis.aaa.organisations.v2.TeamId - (*OrganisationId)(nil), // 4: com.coralogixapis.aaa.organisations.v2.OrganisationId - (*UserId)(nil), // 5: com.coralogixapis.aaa.organisations.v2.UserId - (*UserAccountId)(nil), // 6: com.coralogixapis.aaa.organisations.v2.UserAccountId - (*User)(nil), // 7: com.coralogixapis.aaa.organisations.v2.User - (*TeamCount)(nil), // 8: com.coralogixapis.aaa.organisations.v2.TeamCount -} -var file_com_coralogixapis_aaa_organisations_v2_types_proto_depIdxs = []int32{ - 3, // 0: com.coralogixapis.aaa.organisations.v2.Team.id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 0, // 1: com.coralogixapis.aaa.organisations.v2.Team.plan_type:type_name -> com.coralogixapis.aaa.organisations.v2.PlanType - 3, // 2: com.coralogixapis.aaa.organisations.v2.TeamInfo.id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 4, // 3: com.coralogixapis.aaa.organisations.v2.TeamInfo.organisation_id:type_name -> com.coralogixapis.aaa.organisations.v2.OrganisationId - 6, // 4: com.coralogixapis.aaa.organisations.v2.User.user_account_id:type_name -> com.coralogixapis.aaa.organisations.v2.UserAccountId - 3, // 5: com.coralogixapis.aaa.organisations.v2.TeamCount.team_id:type_name -> com.coralogixapis.aaa.organisations.v2.TeamId - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_com_coralogixapis_aaa_organisations_v2_types_proto_init() } -func file_com_coralogixapis_aaa_organisations_v2_types_proto_init() { - if File_com_coralogixapis_aaa_organisations_v2_types_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Team); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TeamInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TeamId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganisationId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserAccountId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TeamCount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes[0].OneofWrappers = []interface{}{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDesc, - NumEnums: 1, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogixapis_aaa_organisations_v2_types_proto_goTypes, - DependencyIndexes: file_com_coralogixapis_aaa_organisations_v2_types_proto_depIdxs, - EnumInfos: file_com_coralogixapis_aaa_organisations_v2_types_proto_enumTypes, - MessageInfos: file_com_coralogixapis_aaa_organisations_v2_types_proto_msgTypes, - }.Build() - File_com_coralogixapis_aaa_organisations_v2_types_proto = out.File - file_com_coralogixapis_aaa_organisations_v2_types_proto_rawDesc = nil - file_com_coralogixapis_aaa_organisations_v2_types_proto_goTypes = nil - file_com_coralogixapis_aaa_organisations_v2_types_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/webhooks/audit_log.pb.go b/coralogix/clientset/grpc/webhooks/audit_log.pb.go deleted file mode 100644 index a11da0a4..00000000 --- a/coralogix/clientset/grpc/webhooks/audit_log.pb.go +++ /dev/null @@ -1,182 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 -// source: com/coralogix/outgoing_webhooks/v1/audit_log.proto - -package webhooks - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - 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 AuditLogDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` -} - -func (x *AuditLogDescription) Reset() { - *x = AuditLogDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuditLogDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuditLogDescription) ProtoMessage() {} - -func (x *AuditLogDescription) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_audit_log_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 AuditLogDescription.ProtoReflect.Descriptor instead. -func (*AuditLogDescription) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescGZIP(), []int{0} -} - -func (x *AuditLogDescription) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -var file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*AuditLogDescription)(nil), - Field: 5008, - Name: "com.coralogix.outgoing_webhooks.v1.audit_log_description", - Tag: "bytes,5008,opt,name=audit_log_description", - Filename: "com/coralogix/outgoing_webhooks/v1/audit_log.proto", - }, -} - -// Extension fields to descriptorpb.MethodOptions. -var ( - // optional com.coralogix.outgoing_webhooks.v1.AuditLogDescription audit_log_description = 5008; - E_AuditLogDescription = &file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_extTypes[0] -) - -var File_com_coralogix_outgoing_webhooks_v1_audit_log_proto protoreflect.FileDescriptor - -var file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDesc = []byte{ - 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 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, 0x22, 0x4c, 0x0a, 0x13, 0x41, 0x75, - 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x8f, 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x90, 0x27, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescOnce sync.Once - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescData = file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDesc -) - -func file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescGZIP() []byte { - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescOnce.Do(func() { - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescData) - }) - return file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDescData -} - -var file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_goTypes = []any{ - (*AuditLogDescription)(nil), // 0: com.coralogix.outgoing_webhooks.v1.AuditLogDescription - (*descriptorpb.MethodOptions)(nil), // 1: google.protobuf.MethodOptions -} -var file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_depIdxs = []int32{ - 1, // 0: com.coralogix.outgoing_webhooks.v1.audit_log_description:extendee -> google.protobuf.MethodOptions - 0, // 1: com.coralogix.outgoing_webhooks.v1.audit_log_description:type_name -> com.coralogix.outgoing_webhooks.v1.AuditLogDescription - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 1, // [1:2] is the sub-list for extension type_name - 0, // [0:1] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_init() } -func file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_init() { - if File_com_coralogix_outgoing_webhooks_v1_audit_log_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*AuditLogDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_msgTypes[0].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 1, - NumServices: 0, - }, - GoTypes: file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_goTypes, - DependencyIndexes: file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_depIdxs, - MessageInfos: file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_msgTypes, - ExtensionInfos: file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_extTypes, - }.Build() - File_com_coralogix_outgoing_webhooks_v1_audit_log_proto = out.File - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_rawDesc = nil - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_goTypes = nil - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/webhooks/outgoing_webhook.pb.go b/coralogix/clientset/grpc/webhooks/outgoing_webhook.pb.go deleted file mode 100644 index f6be2b21..00000000 --- a/coralogix/clientset/grpc/webhooks/outgoing_webhook.pb.go +++ /dev/null @@ -1,2742 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 -// source: com/coralogix/outgoing_webhooks/v1/outgoing_webhook.proto - -package webhooks - -import ( - 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 ( - // 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 WebhookType int32 - -const ( - WebhookType_UNKNOWN WebhookType = 0 - WebhookType_GENERIC WebhookType = 1 - WebhookType_SLACK WebhookType = 2 - WebhookType_PAGERDUTY WebhookType = 3 - WebhookType_SEND_LOG WebhookType = 4 - WebhookType_EMAIL_GROUP WebhookType = 5 - WebhookType_MICROSOFT_TEAMS WebhookType = 6 - WebhookType_JIRA WebhookType = 7 - WebhookType_OPSGENIE WebhookType = 8 - WebhookType_DEMISTO WebhookType = 9 - WebhookType_AWS_EVENT_BRIDGE WebhookType = 10 - WebhookType_IBM_EVENT_NOTIFICATIONS WebhookType = 11 - WebhookType_MS_TEAMS_WORKFLOW WebhookType = 12 -) - -// Enum value maps for WebhookType. -var ( - WebhookType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "GENERIC", - 2: "SLACK", - 3: "PAGERDUTY", - 4: "SEND_LOG", - 5: "EMAIL_GROUP", - 6: "MICROSOFT_TEAMS", - 7: "JIRA", - 8: "OPSGENIE", - 9: "DEMISTO", - 10: "AWS_EVENT_BRIDGE", - 11: "IBM_EVENT_NOTIFICATIONS", - 12: "MS_TEAMS_WORKFLOW", - } - WebhookType_value = map[string]int32{ - "UNKNOWN": 0, - "GENERIC": 1, - "SLACK": 2, - "PAGERDUTY": 3, - "SEND_LOG": 4, - "EMAIL_GROUP": 5, - "MICROSOFT_TEAMS": 6, - "JIRA": 7, - "OPSGENIE": 8, - "DEMISTO": 9, - "AWS_EVENT_BRIDGE": 10, - "IBM_EVENT_NOTIFICATIONS": 11, - "MS_TEAMS_WORKFLOW": 12, - } -) - -func (x WebhookType) Enum() *WebhookType { - p := new(WebhookType) - *p = x - return p -} - -func (x WebhookType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WebhookType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[0].Descriptor() -} - -func (WebhookType) Type() protoreflect.EnumType { - return &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[0] -} - -func (x WebhookType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WebhookType.Descriptor instead. -func (WebhookType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{0} -} - -type GenericWebhookConfig_MethodType int32 - -const ( - GenericWebhookConfig_UNKNOWN GenericWebhookConfig_MethodType = 0 - GenericWebhookConfig_GET GenericWebhookConfig_MethodType = 1 - GenericWebhookConfig_POST GenericWebhookConfig_MethodType = 2 - GenericWebhookConfig_PUT GenericWebhookConfig_MethodType = 3 -) - -// Enum value maps for GenericWebhookConfig_MethodType. -var ( - GenericWebhookConfig_MethodType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "GET", - 2: "POST", - 3: "PUT", - } - GenericWebhookConfig_MethodType_value = map[string]int32{ - "UNKNOWN": 0, - "GET": 1, - "POST": 2, - "PUT": 3, - } -) - -func (x GenericWebhookConfig_MethodType) Enum() *GenericWebhookConfig_MethodType { - p := new(GenericWebhookConfig_MethodType) - *p = x - return p -} - -func (x GenericWebhookConfig_MethodType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GenericWebhookConfig_MethodType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[1].Descriptor() -} - -func (GenericWebhookConfig_MethodType) Type() protoreflect.EnumType { - return &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[1] -} - -func (x GenericWebhookConfig_MethodType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GenericWebhookConfig_MethodType.Descriptor instead. -func (GenericWebhookConfig_MethodType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{0, 0} -} - -type SlackConfig_DigestType int32 - -const ( - SlackConfig_UNKNOWN SlackConfig_DigestType = 0 - SlackConfig_ERROR_AND_CRITICAL_LOGS SlackConfig_DigestType = 1 - SlackConfig_FLOW_ANOMALIES SlackConfig_DigestType = 2 - SlackConfig_SPIKE_ANOMALIES SlackConfig_DigestType = 3 - SlackConfig_DATA_USAGE SlackConfig_DigestType = 4 -) - -// Enum value maps for SlackConfig_DigestType. -var ( - SlackConfig_DigestType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ERROR_AND_CRITICAL_LOGS", - 2: "FLOW_ANOMALIES", - 3: "SPIKE_ANOMALIES", - 4: "DATA_USAGE", - } - SlackConfig_DigestType_value = map[string]int32{ - "UNKNOWN": 0, - "ERROR_AND_CRITICAL_LOGS": 1, - "FLOW_ANOMALIES": 2, - "SPIKE_ANOMALIES": 3, - "DATA_USAGE": 4, - } -) - -func (x SlackConfig_DigestType) Enum() *SlackConfig_DigestType { - p := new(SlackConfig_DigestType) - *p = x - return p -} - -func (x SlackConfig_DigestType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SlackConfig_DigestType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[2].Descriptor() -} - -func (SlackConfig_DigestType) Type() protoreflect.EnumType { - return &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[2] -} - -func (x SlackConfig_DigestType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SlackConfig_DigestType.Descriptor instead. -func (SlackConfig_DigestType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{1, 0} -} - -type SlackConfig_AttachmentType int32 - -const ( - SlackConfig_EMPTY SlackConfig_AttachmentType = 0 - SlackConfig_METRIC_SNAPSHOT SlackConfig_AttachmentType = 1 - SlackConfig_LOGS SlackConfig_AttachmentType = 2 -) - -// Enum value maps for SlackConfig_AttachmentType. -var ( - SlackConfig_AttachmentType_name = map[int32]string{ - 0: "EMPTY", - 1: "METRIC_SNAPSHOT", - 2: "LOGS", - } - SlackConfig_AttachmentType_value = map[string]int32{ - "EMPTY": 0, - "METRIC_SNAPSHOT": 1, - "LOGS": 2, - } -) - -func (x SlackConfig_AttachmentType) Enum() *SlackConfig_AttachmentType { - p := new(SlackConfig_AttachmentType) - *p = x - return p -} - -func (x SlackConfig_AttachmentType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SlackConfig_AttachmentType) Descriptor() protoreflect.EnumDescriptor { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[3].Descriptor() -} - -func (SlackConfig_AttachmentType) Type() protoreflect.EnumType { - return &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes[3] -} - -func (x SlackConfig_AttachmentType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SlackConfig_AttachmentType.Descriptor instead. -func (SlackConfig_AttachmentType) EnumDescriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{1, 1} -} - -type GenericWebhookConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uuid *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - Method GenericWebhookConfig_MethodType `protobuf:"varint,2,opt,name=method,proto3,enum=com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig_MethodType" json:"method,omitempty"` - Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Payload *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` -} - -func (x *GenericWebhookConfig) Reset() { - *x = GenericWebhookConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GenericWebhookConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GenericWebhookConfig) ProtoMessage() {} - -func (x *GenericWebhookConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 GenericWebhookConfig.ProtoReflect.Descriptor instead. -func (*GenericWebhookConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{0} -} - -func (x *GenericWebhookConfig) GetUuid() *wrapperspb.StringValue { - if x != nil { - return x.Uuid - } - return nil -} - -func (x *GenericWebhookConfig) GetMethod() GenericWebhookConfig_MethodType { - if x != nil { - return x.Method - } - return GenericWebhookConfig_UNKNOWN -} - -func (x *GenericWebhookConfig) GetHeaders() map[string]string { - if x != nil { - return x.Headers - } - return nil -} - -func (x *GenericWebhookConfig) GetPayload() *wrapperspb.StringValue { - if x != nil { - return x.Payload - } - return nil -} - -type SlackConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Digests []*SlackConfig_Digest `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"` - Attachments []*SlackConfig_Attachment `protobuf:"bytes,2,rep,name=attachments,proto3" json:"attachments,omitempty"` -} - -func (x *SlackConfig) Reset() { - *x = SlackConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SlackConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SlackConfig) ProtoMessage() {} - -func (x *SlackConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 SlackConfig.ProtoReflect.Descriptor instead. -func (*SlackConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{1} -} - -func (x *SlackConfig) GetDigests() []*SlackConfig_Digest { - if x != nil { - return x.Digests - } - return nil -} - -func (x *SlackConfig) GetAttachments() []*SlackConfig_Attachment { - if x != nil { - return x.Attachments - } - return nil -} - -type PagerDutyConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceKey *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"` -} - -func (x *PagerDutyConfig) Reset() { - *x = PagerDutyConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PagerDutyConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PagerDutyConfig) ProtoMessage() {} - -func (x *PagerDutyConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 PagerDutyConfig.ProtoReflect.Descriptor instead. -func (*PagerDutyConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{2} -} - -func (x *PagerDutyConfig) GetServiceKey() *wrapperspb.StringValue { - if x != nil { - return x.ServiceKey - } - return nil -} - -type SendLogConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uuid *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - Payload *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` -} - -func (x *SendLogConfig) Reset() { - *x = SendLogConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendLogConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendLogConfig) ProtoMessage() {} - -func (x *SendLogConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 SendLogConfig.ProtoReflect.Descriptor instead. -func (*SendLogConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{3} -} - -func (x *SendLogConfig) GetUuid() *wrapperspb.StringValue { - if x != nil { - return x.Uuid - } - return nil -} - -func (x *SendLogConfig) GetPayload() *wrapperspb.StringValue { - if x != nil { - return x.Payload - } - return nil -} - -type EmailGroupConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EmailAddresses []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=email_addresses,json=emailAddresses,proto3" json:"email_addresses,omitempty"` -} - -func (x *EmailGroupConfig) Reset() { - *x = EmailGroupConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EmailGroupConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EmailGroupConfig) ProtoMessage() {} - -func (x *EmailGroupConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 EmailGroupConfig.ProtoReflect.Descriptor instead. -func (*EmailGroupConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{4} -} - -func (x *EmailGroupConfig) GetEmailAddresses() []*wrapperspb.StringValue { - if x != nil { - return x.EmailAddresses - } - return nil -} - -type MicrosoftTeamsConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MicrosoftTeamsConfig) Reset() { - *x = MicrosoftTeamsConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MicrosoftTeamsConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MicrosoftTeamsConfig) ProtoMessage() {} - -func (x *MicrosoftTeamsConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 MicrosoftTeamsConfig.ProtoReflect.Descriptor instead. -func (*MicrosoftTeamsConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{5} -} - -type MSTeamsWorkflowConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MSTeamsWorkflowConfig) Reset() { - *x = MSTeamsWorkflowConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MSTeamsWorkflowConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MSTeamsWorkflowConfig) ProtoMessage() {} - -func (x *MSTeamsWorkflowConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 MSTeamsWorkflowConfig.ProtoReflect.Descriptor instead. -func (*MSTeamsWorkflowConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{6} -} - -type JiraConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ApiToken *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=api_token,json=apiToken,proto3" json:"api_token,omitempty"` - Email *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - ProjectKey *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` -} - -func (x *JiraConfig) Reset() { - *x = JiraConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *JiraConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*JiraConfig) ProtoMessage() {} - -func (x *JiraConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 JiraConfig.ProtoReflect.Descriptor instead. -func (*JiraConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{7} -} - -func (x *JiraConfig) GetApiToken() *wrapperspb.StringValue { - if x != nil { - return x.ApiToken - } - return nil -} - -func (x *JiraConfig) GetEmail() *wrapperspb.StringValue { - if x != nil { - return x.Email - } - return nil -} - -func (x *JiraConfig) GetProjectKey() *wrapperspb.StringValue { - if x != nil { - return x.ProjectKey - } - return nil -} - -type OpsgenieConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *OpsgenieConfig) Reset() { - *x = OpsgenieConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OpsgenieConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OpsgenieConfig) ProtoMessage() {} - -func (x *OpsgenieConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 OpsgenieConfig.ProtoReflect.Descriptor instead. -func (*OpsgenieConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{8} -} - -type DemistoConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uuid *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - Payload *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` -} - -func (x *DemistoConfig) Reset() { - *x = DemistoConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DemistoConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DemistoConfig) ProtoMessage() {} - -func (x *DemistoConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 DemistoConfig.ProtoReflect.Descriptor instead. -func (*DemistoConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{9} -} - -func (x *DemistoConfig) GetUuid() *wrapperspb.StringValue { - if x != nil { - return x.Uuid - } - return nil -} - -func (x *DemistoConfig) GetPayload() *wrapperspb.StringValue { - if x != nil { - return x.Payload - } - return nil -} - -type AwsEventBridgeConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventBusArn *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=event_bus_arn,json=eventBusArn,proto3" json:"event_bus_arn,omitempty"` - Detail *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` - DetailType *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=detail_type,json=detailType,proto3" json:"detail_type,omitempty"` - Source *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - RoleName *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` -} - -func (x *AwsEventBridgeConfig) Reset() { - *x = AwsEventBridgeConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AwsEventBridgeConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AwsEventBridgeConfig) ProtoMessage() {} - -func (x *AwsEventBridgeConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 AwsEventBridgeConfig.ProtoReflect.Descriptor instead. -func (*AwsEventBridgeConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{10} -} - -func (x *AwsEventBridgeConfig) GetEventBusArn() *wrapperspb.StringValue { - if x != nil { - return x.EventBusArn - } - return nil -} - -func (x *AwsEventBridgeConfig) GetDetail() *wrapperspb.StringValue { - if x != nil { - return x.Detail - } - return nil -} - -func (x *AwsEventBridgeConfig) GetDetailType() *wrapperspb.StringValue { - if x != nil { - return x.DetailType - } - return nil -} - -func (x *AwsEventBridgeConfig) GetSource() *wrapperspb.StringValue { - if x != nil { - return x.Source - } - return nil -} - -func (x *AwsEventBridgeConfig) GetRoleName() *wrapperspb.StringValue { - if x != nil { - return x.RoleName - } - return nil -} - -type IbmEventNotificationsConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventNotificationsInstanceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=event_notifications_instance_id,json=eventNotificationsInstanceId,proto3" json:"event_notifications_instance_id,omitempty"` - RegionId *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - SourceId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` - SourceName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"` -} - -func (x *IbmEventNotificationsConfig) Reset() { - *x = IbmEventNotificationsConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IbmEventNotificationsConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IbmEventNotificationsConfig) ProtoMessage() {} - -func (x *IbmEventNotificationsConfig) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 IbmEventNotificationsConfig.ProtoReflect.Descriptor instead. -func (*IbmEventNotificationsConfig) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{11} -} - -func (x *IbmEventNotificationsConfig) GetEventNotificationsInstanceId() *wrapperspb.StringValue { - if x != nil { - return x.EventNotificationsInstanceId - } - return nil -} - -func (x *IbmEventNotificationsConfig) GetRegionId() *wrapperspb.StringValue { - if x != nil { - return x.RegionId - } - return nil -} - -func (x *IbmEventNotificationsConfig) GetSourceId() *wrapperspb.StringValue { - if x != nil { - return x.SourceId - } - return nil -} - -func (x *IbmEventNotificationsConfig) GetSourceName() *wrapperspb.StringValue { - if x != nil { - return x.SourceName - } - return nil -} - -type OutgoingWebhook struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type WebhookType `protobuf:"varint,2,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Url *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ExternalId *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` - // Types that are assignable to Config: - // - // *OutgoingWebhook_GenericWebhook - // *OutgoingWebhook_Slack - // *OutgoingWebhook_PagerDuty - // *OutgoingWebhook_SendLog - // *OutgoingWebhook_EmailGroup - // *OutgoingWebhook_MicrosoftTeams - // *OutgoingWebhook_Jira - // *OutgoingWebhook_Opsgenie - // *OutgoingWebhook_Demisto - // *OutgoingWebhook_AwsEventBridge - // *OutgoingWebhook_IbmEventNotifications - // *OutgoingWebhook_MsTeamsWorkflow - Config isOutgoingWebhook_Config `protobuf_oneof:"config"` -} - -func (x *OutgoingWebhook) Reset() { - *x = OutgoingWebhook{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutgoingWebhook) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutgoingWebhook) ProtoMessage() {} - -func (x *OutgoingWebhook) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 OutgoingWebhook.ProtoReflect.Descriptor instead. -func (*OutgoingWebhook) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{12} -} - -func (x *OutgoingWebhook) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *OutgoingWebhook) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -func (x *OutgoingWebhook) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *OutgoingWebhook) GetUrl() *wrapperspb.StringValue { - if x != nil { - return x.Url - } - return nil -} - -func (x *OutgoingWebhook) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *OutgoingWebhook) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *OutgoingWebhook) GetExternalId() *wrapperspb.UInt32Value { - if x != nil { - return x.ExternalId - } - return nil -} - -func (m *OutgoingWebhook) GetConfig() isOutgoingWebhook_Config { - if m != nil { - return m.Config - } - return nil -} - -func (x *OutgoingWebhook) GetGenericWebhook() *GenericWebhookConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_GenericWebhook); ok { - return x.GenericWebhook - } - return nil -} - -func (x *OutgoingWebhook) GetSlack() *SlackConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_Slack); ok { - return x.Slack - } - return nil -} - -func (x *OutgoingWebhook) GetPagerDuty() *PagerDutyConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_PagerDuty); ok { - return x.PagerDuty - } - return nil -} - -func (x *OutgoingWebhook) GetSendLog() *SendLogConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_SendLog); ok { - return x.SendLog - } - return nil -} - -func (x *OutgoingWebhook) GetEmailGroup() *EmailGroupConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_EmailGroup); ok { - return x.EmailGroup - } - return nil -} - -func (x *OutgoingWebhook) GetMicrosoftTeams() *MicrosoftTeamsConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_MicrosoftTeams); ok { - return x.MicrosoftTeams - } - return nil -} - -func (x *OutgoingWebhook) GetJira() *JiraConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_Jira); ok { - return x.Jira - } - return nil -} - -func (x *OutgoingWebhook) GetOpsgenie() *OpsgenieConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_Opsgenie); ok { - return x.Opsgenie - } - return nil -} - -func (x *OutgoingWebhook) GetDemisto() *DemistoConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_Demisto); ok { - return x.Demisto - } - return nil -} - -func (x *OutgoingWebhook) GetAwsEventBridge() *AwsEventBridgeConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_AwsEventBridge); ok { - return x.AwsEventBridge - } - return nil -} - -func (x *OutgoingWebhook) GetIbmEventNotifications() *IbmEventNotificationsConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_IbmEventNotifications); ok { - return x.IbmEventNotifications - } - return nil -} - -func (x *OutgoingWebhook) GetMsTeamsWorkflow() *MSTeamsWorkflowConfig { - if x, ok := x.GetConfig().(*OutgoingWebhook_MsTeamsWorkflow); ok { - return x.MsTeamsWorkflow - } - return nil -} - -type isOutgoingWebhook_Config interface { - isOutgoingWebhook_Config() -} - -type OutgoingWebhook_GenericWebhook struct { - GenericWebhook *GenericWebhookConfig `protobuf:"bytes,100,opt,name=generic_webhook,json=genericWebhook,proto3,oneof"` -} - -type OutgoingWebhook_Slack struct { - Slack *SlackConfig `protobuf:"bytes,101,opt,name=slack,proto3,oneof"` -} - -type OutgoingWebhook_PagerDuty struct { - PagerDuty *PagerDutyConfig `protobuf:"bytes,102,opt,name=pager_duty,json=pagerDuty,proto3,oneof"` -} - -type OutgoingWebhook_SendLog struct { - SendLog *SendLogConfig `protobuf:"bytes,103,opt,name=send_log,json=sendLog,proto3,oneof"` -} - -type OutgoingWebhook_EmailGroup struct { - EmailGroup *EmailGroupConfig `protobuf:"bytes,104,opt,name=email_group,json=emailGroup,proto3,oneof"` -} - -type OutgoingWebhook_MicrosoftTeams struct { - MicrosoftTeams *MicrosoftTeamsConfig `protobuf:"bytes,105,opt,name=microsoft_teams,json=microsoftTeams,proto3,oneof"` -} - -type OutgoingWebhook_Jira struct { - Jira *JiraConfig `protobuf:"bytes,106,opt,name=jira,proto3,oneof"` -} - -type OutgoingWebhook_Opsgenie struct { - Opsgenie *OpsgenieConfig `protobuf:"bytes,107,opt,name=opsgenie,proto3,oneof"` -} - -type OutgoingWebhook_Demisto struct { - Demisto *DemistoConfig `protobuf:"bytes,108,opt,name=demisto,proto3,oneof"` -} - -type OutgoingWebhook_AwsEventBridge struct { - AwsEventBridge *AwsEventBridgeConfig `protobuf:"bytes,109,opt,name=aws_event_bridge,json=awsEventBridge,proto3,oneof"` -} - -type OutgoingWebhook_IbmEventNotifications struct { - IbmEventNotifications *IbmEventNotificationsConfig `protobuf:"bytes,110,opt,name=ibm_event_notifications,json=ibmEventNotifications,proto3,oneof"` -} - -type OutgoingWebhook_MsTeamsWorkflow struct { - MsTeamsWorkflow *MSTeamsWorkflowConfig `protobuf:"bytes,111,opt,name=ms_teams_workflow,json=msTeamsWorkflow,proto3,oneof"` -} - -func (*OutgoingWebhook_GenericWebhook) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_Slack) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_PagerDuty) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_SendLog) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_EmailGroup) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_MicrosoftTeams) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_Jira) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_Opsgenie) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_Demisto) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_AwsEventBridge) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_IbmEventNotifications) isOutgoingWebhook_Config() {} - -func (*OutgoingWebhook_MsTeamsWorkflow) isOutgoingWebhook_Config() {} - -type OutgoingWebhookInputData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type WebhookType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Url *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - // Types that are assignable to Config: - // - // *OutgoingWebhookInputData_GenericWebhook - // *OutgoingWebhookInputData_Slack - // *OutgoingWebhookInputData_PagerDuty - // *OutgoingWebhookInputData_SendLog - // *OutgoingWebhookInputData_EmailGroup - // *OutgoingWebhookInputData_MicrosoftTeams - // *OutgoingWebhookInputData_Jira - // *OutgoingWebhookInputData_Opsgenie - // *OutgoingWebhookInputData_Demisto - // *OutgoingWebhookInputData_AwsEventBridge - // *OutgoingWebhookInputData_IbmEventNotifications - // *OutgoingWebhookInputData_MsTeamsWorkflow - Config isOutgoingWebhookInputData_Config `protobuf_oneof:"config"` -} - -func (x *OutgoingWebhookInputData) Reset() { - *x = OutgoingWebhookInputData{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutgoingWebhookInputData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutgoingWebhookInputData) ProtoMessage() {} - -func (x *OutgoingWebhookInputData) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 OutgoingWebhookInputData.ProtoReflect.Descriptor instead. -func (*OutgoingWebhookInputData) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{13} -} - -func (x *OutgoingWebhookInputData) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -func (x *OutgoingWebhookInputData) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *OutgoingWebhookInputData) GetUrl() *wrapperspb.StringValue { - if x != nil { - return x.Url - } - return nil -} - -func (m *OutgoingWebhookInputData) GetConfig() isOutgoingWebhookInputData_Config { - if m != nil { - return m.Config - } - return nil -} - -func (x *OutgoingWebhookInputData) GetGenericWebhook() *GenericWebhookConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_GenericWebhook); ok { - return x.GenericWebhook - } - return nil -} - -func (x *OutgoingWebhookInputData) GetSlack() *SlackConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_Slack); ok { - return x.Slack - } - return nil -} - -func (x *OutgoingWebhookInputData) GetPagerDuty() *PagerDutyConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_PagerDuty); ok { - return x.PagerDuty - } - return nil -} - -func (x *OutgoingWebhookInputData) GetSendLog() *SendLogConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_SendLog); ok { - return x.SendLog - } - return nil -} - -func (x *OutgoingWebhookInputData) GetEmailGroup() *EmailGroupConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_EmailGroup); ok { - return x.EmailGroup - } - return nil -} - -func (x *OutgoingWebhookInputData) GetMicrosoftTeams() *MicrosoftTeamsConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_MicrosoftTeams); ok { - return x.MicrosoftTeams - } - return nil -} - -func (x *OutgoingWebhookInputData) GetJira() *JiraConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_Jira); ok { - return x.Jira - } - return nil -} - -func (x *OutgoingWebhookInputData) GetOpsgenie() *OpsgenieConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_Opsgenie); ok { - return x.Opsgenie - } - return nil -} - -func (x *OutgoingWebhookInputData) GetDemisto() *DemistoConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_Demisto); ok { - return x.Demisto - } - return nil -} - -func (x *OutgoingWebhookInputData) GetAwsEventBridge() *AwsEventBridgeConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_AwsEventBridge); ok { - return x.AwsEventBridge - } - return nil -} - -func (x *OutgoingWebhookInputData) GetIbmEventNotifications() *IbmEventNotificationsConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_IbmEventNotifications); ok { - return x.IbmEventNotifications - } - return nil -} - -func (x *OutgoingWebhookInputData) GetMsTeamsWorkflow() *MSTeamsWorkflowConfig { - if x, ok := x.GetConfig().(*OutgoingWebhookInputData_MsTeamsWorkflow); ok { - return x.MsTeamsWorkflow - } - return nil -} - -type isOutgoingWebhookInputData_Config interface { - isOutgoingWebhookInputData_Config() -} - -type OutgoingWebhookInputData_GenericWebhook struct { - GenericWebhook *GenericWebhookConfig `protobuf:"bytes,100,opt,name=generic_webhook,json=genericWebhook,proto3,oneof"` -} - -type OutgoingWebhookInputData_Slack struct { - Slack *SlackConfig `protobuf:"bytes,101,opt,name=slack,proto3,oneof"` -} - -type OutgoingWebhookInputData_PagerDuty struct { - PagerDuty *PagerDutyConfig `protobuf:"bytes,102,opt,name=pager_duty,json=pagerDuty,proto3,oneof"` -} - -type OutgoingWebhookInputData_SendLog struct { - SendLog *SendLogConfig `protobuf:"bytes,103,opt,name=send_log,json=sendLog,proto3,oneof"` -} - -type OutgoingWebhookInputData_EmailGroup struct { - EmailGroup *EmailGroupConfig `protobuf:"bytes,104,opt,name=email_group,json=emailGroup,proto3,oneof"` -} - -type OutgoingWebhookInputData_MicrosoftTeams struct { - MicrosoftTeams *MicrosoftTeamsConfig `protobuf:"bytes,105,opt,name=microsoft_teams,json=microsoftTeams,proto3,oneof"` -} - -type OutgoingWebhookInputData_Jira struct { - Jira *JiraConfig `protobuf:"bytes,106,opt,name=jira,proto3,oneof"` -} - -type OutgoingWebhookInputData_Opsgenie struct { - Opsgenie *OpsgenieConfig `protobuf:"bytes,107,opt,name=opsgenie,proto3,oneof"` -} - -type OutgoingWebhookInputData_Demisto struct { - Demisto *DemistoConfig `protobuf:"bytes,108,opt,name=demisto,proto3,oneof"` -} - -type OutgoingWebhookInputData_AwsEventBridge struct { - AwsEventBridge *AwsEventBridgeConfig `protobuf:"bytes,109,opt,name=aws_event_bridge,json=awsEventBridge,proto3,oneof"` -} - -type OutgoingWebhookInputData_IbmEventNotifications struct { - IbmEventNotifications *IbmEventNotificationsConfig `protobuf:"bytes,110,opt,name=ibm_event_notifications,json=ibmEventNotifications,proto3,oneof"` -} - -type OutgoingWebhookInputData_MsTeamsWorkflow struct { - MsTeamsWorkflow *MSTeamsWorkflowConfig `protobuf:"bytes,111,opt,name=ms_teams_workflow,json=msTeamsWorkflow,proto3,oneof"` -} - -func (*OutgoingWebhookInputData_GenericWebhook) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_Slack) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_PagerDuty) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_SendLog) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_EmailGroup) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_MicrosoftTeams) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_Jira) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_Opsgenie) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_Demisto) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_AwsEventBridge) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_IbmEventNotifications) isOutgoingWebhookInputData_Config() {} - -func (*OutgoingWebhookInputData_MsTeamsWorkflow) isOutgoingWebhookInputData_Config() {} - -type OutgoingWebhookSummary 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"` - Url *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ExternalId *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` -} - -func (x *OutgoingWebhookSummary) Reset() { - *x = OutgoingWebhookSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutgoingWebhookSummary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutgoingWebhookSummary) ProtoMessage() {} - -func (x *OutgoingWebhookSummary) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 OutgoingWebhookSummary.ProtoReflect.Descriptor instead. -func (*OutgoingWebhookSummary) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{14} -} - -func (x *OutgoingWebhookSummary) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *OutgoingWebhookSummary) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *OutgoingWebhookSummary) GetUrl() *wrapperspb.StringValue { - if x != nil { - return x.Url - } - return nil -} - -func (x *OutgoingWebhookSummary) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *OutgoingWebhookSummary) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *OutgoingWebhookSummary) GetExternalId() *wrapperspb.UInt32Value { - if x != nil { - return x.ExternalId - } - return nil -} - -type OutgoingWebhookExtendedSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type WebhookType `protobuf:"varint,2,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Url *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ExternalId *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` -} - -func (x *OutgoingWebhookExtendedSummary) Reset() { - *x = OutgoingWebhookExtendedSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutgoingWebhookExtendedSummary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutgoingWebhookExtendedSummary) ProtoMessage() {} - -func (x *OutgoingWebhookExtendedSummary) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 OutgoingWebhookExtendedSummary.ProtoReflect.Descriptor instead. -func (*OutgoingWebhookExtendedSummary) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{15} -} - -func (x *OutgoingWebhookExtendedSummary) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *OutgoingWebhookExtendedSummary) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -func (x *OutgoingWebhookExtendedSummary) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *OutgoingWebhookExtendedSummary) GetUrl() *wrapperspb.StringValue { - if x != nil { - return x.Url - } - return nil -} - -func (x *OutgoingWebhookExtendedSummary) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *OutgoingWebhookExtendedSummary) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *OutgoingWebhookExtendedSummary) GetExternalId() *wrapperspb.UInt32Value { - if x != nil { - return x.ExternalId - } - return nil -} - -type OutgoingWebhookDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type WebhookType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` - Label *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` -} - -func (x *OutgoingWebhookDetails) Reset() { - *x = OutgoingWebhookDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutgoingWebhookDetails) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutgoingWebhookDetails) ProtoMessage() {} - -func (x *OutgoingWebhookDetails) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 OutgoingWebhookDetails.ProtoReflect.Descriptor instead. -func (*OutgoingWebhookDetails) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{16} -} - -func (x *OutgoingWebhookDetails) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -func (x *OutgoingWebhookDetails) GetLabel() *wrapperspb.StringValue { - if x != nil { - return x.Label - } - return nil -} - -type OutboundWebhookSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type WebhookType `protobuf:"varint,2,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` - Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - ExternalId *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` -} - -func (x *OutboundWebhookSummary) Reset() { - *x = OutboundWebhookSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutboundWebhookSummary) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutboundWebhookSummary) ProtoMessage() {} - -func (x *OutboundWebhookSummary) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 OutboundWebhookSummary.ProtoReflect.Descriptor instead. -func (*OutboundWebhookSummary) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{17} -} - -func (x *OutboundWebhookSummary) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -func (x *OutboundWebhookSummary) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -func (x *OutboundWebhookSummary) GetName() *wrapperspb.StringValue { - if x != nil { - return x.Name - } - return nil -} - -func (x *OutboundWebhookSummary) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt - } - return nil -} - -func (x *OutboundWebhookSummary) GetUpdatedAt() *timestamppb.Timestamp { - if x != nil { - return x.UpdatedAt - } - return nil -} - -func (x *OutboundWebhookSummary) GetExternalId() *wrapperspb.UInt32Value { - if x != nil { - return x.ExternalId - } - return nil -} - -type SlackConfig_Digest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type SlackConfig_DigestType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.SlackConfig_DigestType" json:"type,omitempty"` - IsActive *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` -} - -func (x *SlackConfig_Digest) Reset() { - *x = SlackConfig_Digest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SlackConfig_Digest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SlackConfig_Digest) ProtoMessage() {} - -func (x *SlackConfig_Digest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[19] - 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 SlackConfig_Digest.ProtoReflect.Descriptor instead. -func (*SlackConfig_Digest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *SlackConfig_Digest) GetType() SlackConfig_DigestType { - if x != nil { - return x.Type - } - return SlackConfig_UNKNOWN -} - -func (x *SlackConfig_Digest) GetIsActive() *wrapperspb.BoolValue { - if x != nil { - return x.IsActive - } - return nil -} - -type SlackConfig_Attachment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type SlackConfig_AttachmentType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.SlackConfig_AttachmentType" json:"type,omitempty"` - IsActive *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` -} - -func (x *SlackConfig_Attachment) Reset() { - *x = SlackConfig_Attachment{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SlackConfig_Attachment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SlackConfig_Attachment) ProtoMessage() {} - -func (x *SlackConfig_Attachment) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[20] - 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 SlackConfig_Attachment.ProtoReflect.Descriptor instead. -func (*SlackConfig_Attachment) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP(), []int{1, 1} -} - -func (x *SlackConfig_Attachment) GetType() SlackConfig_AttachmentType { - if x != nil { - return x.Type - } - return SlackConfig_EMPTY -} - -func (x *SlackConfig_Attachment) GetIsActive() *wrapperspb.BoolValue { - if x != nil { - return x.IsActive - } - return nil -} - -var File_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto protoreflect.FileDescriptor - -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDesc = []byte{ - 0x0a, 0x39, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 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, 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, 0xb1, 0x03, 0x0a, 0x14, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x75, 0x75, 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, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x5b, 0x0a, 0x06, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x5f, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 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, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x35, 0x0a, - 0x0a, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x45, 0x54, 0x10, - 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x50, - 0x55, 0x54, 0x10, 0x03, 0x22, 0x9a, 0x05, 0x0a, 0x0b, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x07, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x52, 0x07, 0x64, - 0x69, 0x67, 0x65, 0x73, 0x74, 0x73, 0x12, 0x5c, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x91, 0x01, 0x0a, 0x06, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, - 0x4e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, - 0x69, 0x67, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x37, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 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, - 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x1a, 0x99, 0x01, 0x0a, 0x0a, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x69, - 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 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, 0x69, 0x73, 0x41, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x22, 0x6f, 0x0a, 0x0a, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, - 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x43, 0x52, 0x49, - 0x54, 0x49, 0x43, 0x41, 0x4c, 0x5f, 0x4c, 0x4f, 0x47, 0x53, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, - 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x41, 0x4e, 0x4f, 0x4d, 0x41, 0x4c, 0x49, 0x45, 0x53, 0x10, 0x02, - 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x50, 0x49, 0x4b, 0x45, 0x5f, 0x41, 0x4e, 0x4f, 0x4d, 0x41, 0x4c, - 0x49, 0x45, 0x53, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x55, 0x53, - 0x41, 0x47, 0x45, 0x10, 0x04, 0x22, 0x3a, 0x0a, 0x0e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, - 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, - 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x53, 0x4e, 0x41, - 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x47, 0x53, 0x10, - 0x02, 0x22, 0x50, 0x0a, 0x0f, 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 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, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x4b, 0x65, 0x79, 0x22, 0x79, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x75, 0x75, 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, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 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, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x59, - 0x0a, 0x10, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x65, 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, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x4d, 0x69, 0x63, - 0x72, 0x6f, 0x73, 0x6f, 0x66, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x53, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xba, 0x01, 0x0a, 0x0a, 0x4a, - 0x69, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x09, 0x61, 0x70, 0x69, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 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, 0x61, 0x70, 0x69, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 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, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x3d, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 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, 0x0a, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x10, 0x0a, 0x0e, 0x4f, 0x70, 0x73, 0x67, 0x65, - 0x6e, 0x69, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x79, 0x0a, 0x0d, 0x44, 0x65, 0x6d, - 0x69, 0x73, 0x74, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x75, 0x75, - 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, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x07, - 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 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, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xcc, 0x02, 0x0a, 0x14, 0x41, 0x77, 0x73, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, - 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x75, 0x73, 0x5f, 0x61, 0x72, 0x6e, 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, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x73, 0x41, 0x72, 0x6e, 0x12, - 0x34, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 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, 0x52, 0x06, 0x64, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x3d, 0x0a, 0x0b, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5f, - 0x74, 0x79, 0x70, 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, 0x0a, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x6f, - 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 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, 0x08, 0x72, 0x6f, 0x6c, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x52, 0x06, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x22, 0xb7, 0x02, 0x0a, 0x1b, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x63, 0x0a, 0x1f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x63, 0x65, 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, 0x1c, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 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, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3d, - 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe8, 0x0b, - 0x0a, 0x0f, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 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, - 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x75, 0x72, 0x6c, 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, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 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, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3d, 0x0a, 0x0b, - 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x63, 0x0a, 0x0f, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x64, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, - 0x63, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, - 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x12, 0x47, 0x0a, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x48, 0x00, 0x52, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x65, 0x72, 0x5f, 0x64, 0x75, 0x74, 0x79, 0x18, 0x66, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x12, - 0x4e, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x67, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x12, - 0x57, 0x0a, 0x0b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x68, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x63, 0x0a, 0x0f, 0x6d, 0x69, 0x63, 0x72, - 0x6f, 0x73, 0x6f, 0x66, 0x74, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x69, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x6f, 0x66, 0x74, - 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0e, 0x6d, - 0x69, 0x63, 0x72, 0x6f, 0x73, 0x6f, 0x66, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x44, 0x0a, - 0x04, 0x6a, 0x69, 0x72, 0x61, 0x18, 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4a, 0x69, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x04, 0x6a, - 0x69, 0x72, 0x61, 0x12, 0x50, 0x0a, 0x08, 0x6f, 0x70, 0x73, 0x67, 0x65, 0x6e, 0x69, 0x65, 0x18, - 0x6b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x73, 0x67, 0x65, - 0x6e, 0x69, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x73, - 0x67, 0x65, 0x6e, 0x69, 0x65, 0x12, 0x4d, 0x0a, 0x07, 0x64, 0x65, 0x6d, 0x69, 0x73, 0x74, 0x6f, - 0x18, 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6d, 0x69, - 0x73, 0x74, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x6d, - 0x69, 0x73, 0x74, 0x6f, 0x12, 0x64, 0x0a, 0x10, 0x61, 0x77, 0x73, 0x5f, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x18, 0x6d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x77, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x69, 0x64, - 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x77, 0x73, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x12, 0x79, 0x0a, 0x17, 0x69, 0x62, - 0x6d, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x6e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x15, - 0x69, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x67, 0x0a, 0x11, 0x6d, 0x73, 0x5f, 0x74, 0x65, 0x61, 0x6d, - 0x73, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x6f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x53, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0f, 0x6d, - 0x73, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0x08, - 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x8e, 0x0a, 0x0a, 0x18, 0x4f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x70, 0x75, - 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 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, 0x2e, 0x0a, 0x03, - 0x75, 0x72, 0x6c, 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, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x63, 0x0a, 0x0f, - 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, - 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x69, 0x63, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, - 0x00, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x12, 0x47, 0x0a, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x48, 0x00, 0x52, 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x61, - 0x67, 0x65, 0x72, 0x5f, 0x64, 0x75, 0x74, 0x79, 0x18, 0x66, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, - 0x12, 0x4e, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x67, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, - 0x12, 0x57, 0x0a, 0x0b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, - 0x68, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, - 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0a, 0x65, - 0x6d, 0x61, 0x69, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x63, 0x0a, 0x0f, 0x6d, 0x69, 0x63, - 0x72, 0x6f, 0x73, 0x6f, 0x66, 0x74, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x69, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x6f, 0x66, - 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0e, - 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x6f, 0x66, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x44, - 0x0a, 0x04, 0x6a, 0x69, 0x72, 0x61, 0x18, 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4a, 0x69, 0x72, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x04, - 0x6a, 0x69, 0x72, 0x61, 0x12, 0x50, 0x0a, 0x08, 0x6f, 0x70, 0x73, 0x67, 0x65, 0x6e, 0x69, 0x65, - 0x18, 0x6b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x73, 0x67, - 0x65, 0x6e, 0x69, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, - 0x73, 0x67, 0x65, 0x6e, 0x69, 0x65, 0x12, 0x4d, 0x0a, 0x07, 0x64, 0x65, 0x6d, 0x69, 0x73, 0x74, - 0x6f, 0x18, 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, - 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6d, - 0x69, 0x73, 0x74, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, - 0x6d, 0x69, 0x73, 0x74, 0x6f, 0x12, 0x64, 0x0a, 0x10, 0x61, 0x77, 0x73, 0x5f, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x5f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x18, 0x6d, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x77, 0x73, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x69, - 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x77, 0x73, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x12, 0x79, 0x0a, 0x17, 0x69, - 0x62, 0x6d, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x6e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, - 0x15, 0x69, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x67, 0x0a, 0x11, 0x6d, 0x73, 0x5f, 0x74, 0x65, 0x61, - 0x6d, 0x73, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x6f, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x53, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0f, - 0x6d, 0x73, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x42, - 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xdd, 0x02, 0x0a, 0x16, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x53, 0x75, 0x6d, - 0x6d, 0x61, 0x72, 0x79, 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, 0x2e, 0x0a, 0x03, 0x75, 0x72, 0x6c, 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, - 0x03, 0x75, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 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, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, - 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x65, - 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x22, 0xaa, 0x03, 0x0a, 0x1e, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 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, 0x43, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x75, 0x72, 0x6c, 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, 0x03, 0x75, 0x72, - 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 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, 0x09, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 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, 0x55, - 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x16, 0x4f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x73, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x32, 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, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0xf2, 0x02, 0x0a, 0x16, 0x4f, - 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x53, 0x75, - 0x6d, 0x6d, 0x61, 0x72, 0x79, 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, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x04, 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, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 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, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x3d, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x2a, - 0xe4, 0x01, 0x0a, 0x0b, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, - 0x47, 0x45, 0x4e, 0x45, 0x52, 0x49, 0x43, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4c, 0x41, - 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x41, 0x47, 0x45, 0x52, 0x44, 0x55, 0x54, - 0x59, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x4c, 0x4f, 0x47, 0x10, - 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, - 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x4f, 0x46, 0x54, 0x5f, - 0x54, 0x45, 0x41, 0x4d, 0x53, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x49, 0x52, 0x41, 0x10, - 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x53, 0x47, 0x45, 0x4e, 0x49, 0x45, 0x10, 0x08, 0x12, - 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4d, 0x49, 0x53, 0x54, 0x4f, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, - 0x41, 0x57, 0x53, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x42, 0x52, 0x49, 0x44, 0x47, 0x45, - 0x10, 0x0a, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x42, 0x4d, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x0b, 0x12, - 0x15, 0x0a, 0x11, 0x4d, 0x53, 0x5f, 0x54, 0x45, 0x41, 0x4d, 0x53, 0x5f, 0x57, 0x4f, 0x52, 0x4b, - 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x0c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescOnce sync.Once - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescData = file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDesc -) - -func file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescGZIP() []byte { - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescOnce.Do(func() { - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescData) - }) - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDescData -} - -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_goTypes = []any{ - (WebhookType)(0), // 0: com.coralogix.outgoing_webhooks.v1.WebhookType - (GenericWebhookConfig_MethodType)(0), // 1: com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.MethodType - (SlackConfig_DigestType)(0), // 2: com.coralogix.outgoing_webhooks.v1.SlackConfig.DigestType - (SlackConfig_AttachmentType)(0), // 3: com.coralogix.outgoing_webhooks.v1.SlackConfig.AttachmentType - (*GenericWebhookConfig)(nil), // 4: com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig - (*SlackConfig)(nil), // 5: com.coralogix.outgoing_webhooks.v1.SlackConfig - (*PagerDutyConfig)(nil), // 6: com.coralogix.outgoing_webhooks.v1.PagerDutyConfig - (*SendLogConfig)(nil), // 7: com.coralogix.outgoing_webhooks.v1.SendLogConfig - (*EmailGroupConfig)(nil), // 8: com.coralogix.outgoing_webhooks.v1.EmailGroupConfig - (*MicrosoftTeamsConfig)(nil), // 9: com.coralogix.outgoing_webhooks.v1.MicrosoftTeamsConfig - (*MSTeamsWorkflowConfig)(nil), // 10: com.coralogix.outgoing_webhooks.v1.MSTeamsWorkflowConfig - (*JiraConfig)(nil), // 11: com.coralogix.outgoing_webhooks.v1.JiraConfig - (*OpsgenieConfig)(nil), // 12: com.coralogix.outgoing_webhooks.v1.OpsgenieConfig - (*DemistoConfig)(nil), // 13: com.coralogix.outgoing_webhooks.v1.DemistoConfig - (*AwsEventBridgeConfig)(nil), // 14: com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig - (*IbmEventNotificationsConfig)(nil), // 15: com.coralogix.outgoing_webhooks.v1.IbmEventNotificationsConfig - (*OutgoingWebhook)(nil), // 16: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook - (*OutgoingWebhookInputData)(nil), // 17: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData - (*OutgoingWebhookSummary)(nil), // 18: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary - (*OutgoingWebhookExtendedSummary)(nil), // 19: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary - (*OutgoingWebhookDetails)(nil), // 20: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookDetails - (*OutboundWebhookSummary)(nil), // 21: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary - nil, // 22: com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.HeadersEntry - (*SlackConfig_Digest)(nil), // 23: com.coralogix.outgoing_webhooks.v1.SlackConfig.Digest - (*SlackConfig_Attachment)(nil), // 24: com.coralogix.outgoing_webhooks.v1.SlackConfig.Attachment - (*wrapperspb.StringValue)(nil), // 25: google.protobuf.StringValue - (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp - (*wrapperspb.UInt32Value)(nil), // 27: google.protobuf.UInt32Value - (*wrapperspb.BoolValue)(nil), // 28: google.protobuf.BoolValue -} -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_depIdxs = []int32{ - 25, // 0: com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.uuid:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.method:type_name -> com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.MethodType - 22, // 2: com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.headers:type_name -> com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.HeadersEntry - 25, // 3: com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig.payload:type_name -> google.protobuf.StringValue - 23, // 4: com.coralogix.outgoing_webhooks.v1.SlackConfig.digests:type_name -> com.coralogix.outgoing_webhooks.v1.SlackConfig.Digest - 24, // 5: com.coralogix.outgoing_webhooks.v1.SlackConfig.attachments:type_name -> com.coralogix.outgoing_webhooks.v1.SlackConfig.Attachment - 25, // 6: com.coralogix.outgoing_webhooks.v1.PagerDutyConfig.service_key:type_name -> google.protobuf.StringValue - 25, // 7: com.coralogix.outgoing_webhooks.v1.SendLogConfig.uuid:type_name -> google.protobuf.StringValue - 25, // 8: com.coralogix.outgoing_webhooks.v1.SendLogConfig.payload:type_name -> google.protobuf.StringValue - 25, // 9: com.coralogix.outgoing_webhooks.v1.EmailGroupConfig.email_addresses:type_name -> google.protobuf.StringValue - 25, // 10: com.coralogix.outgoing_webhooks.v1.JiraConfig.api_token:type_name -> google.protobuf.StringValue - 25, // 11: com.coralogix.outgoing_webhooks.v1.JiraConfig.email:type_name -> google.protobuf.StringValue - 25, // 12: com.coralogix.outgoing_webhooks.v1.JiraConfig.project_key:type_name -> google.protobuf.StringValue - 25, // 13: com.coralogix.outgoing_webhooks.v1.DemistoConfig.uuid:type_name -> google.protobuf.StringValue - 25, // 14: com.coralogix.outgoing_webhooks.v1.DemistoConfig.payload:type_name -> google.protobuf.StringValue - 25, // 15: com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig.event_bus_arn:type_name -> google.protobuf.StringValue - 25, // 16: com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig.detail:type_name -> google.protobuf.StringValue - 25, // 17: com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig.detail_type:type_name -> google.protobuf.StringValue - 25, // 18: com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig.source:type_name -> google.protobuf.StringValue - 25, // 19: com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig.role_name:type_name -> google.protobuf.StringValue - 25, // 20: com.coralogix.outgoing_webhooks.v1.IbmEventNotificationsConfig.event_notifications_instance_id:type_name -> google.protobuf.StringValue - 25, // 21: com.coralogix.outgoing_webhooks.v1.IbmEventNotificationsConfig.region_id:type_name -> google.protobuf.StringValue - 25, // 22: com.coralogix.outgoing_webhooks.v1.IbmEventNotificationsConfig.source_id:type_name -> google.protobuf.StringValue - 25, // 23: com.coralogix.outgoing_webhooks.v1.IbmEventNotificationsConfig.source_name:type_name -> google.protobuf.StringValue - 25, // 24: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.id:type_name -> google.protobuf.StringValue - 0, // 25: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 25, // 26: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.name:type_name -> google.protobuf.StringValue - 25, // 27: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.url:type_name -> google.protobuf.StringValue - 26, // 28: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.created_at:type_name -> google.protobuf.Timestamp - 26, // 29: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.updated_at:type_name -> google.protobuf.Timestamp - 27, // 30: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.external_id:type_name -> google.protobuf.UInt32Value - 4, // 31: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.generic_webhook:type_name -> com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig - 5, // 32: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.slack:type_name -> com.coralogix.outgoing_webhooks.v1.SlackConfig - 6, // 33: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.pager_duty:type_name -> com.coralogix.outgoing_webhooks.v1.PagerDutyConfig - 7, // 34: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.send_log:type_name -> com.coralogix.outgoing_webhooks.v1.SendLogConfig - 8, // 35: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.email_group:type_name -> com.coralogix.outgoing_webhooks.v1.EmailGroupConfig - 9, // 36: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.microsoft_teams:type_name -> com.coralogix.outgoing_webhooks.v1.MicrosoftTeamsConfig - 11, // 37: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.jira:type_name -> com.coralogix.outgoing_webhooks.v1.JiraConfig - 12, // 38: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.opsgenie:type_name -> com.coralogix.outgoing_webhooks.v1.OpsgenieConfig - 13, // 39: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.demisto:type_name -> com.coralogix.outgoing_webhooks.v1.DemistoConfig - 14, // 40: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.aws_event_bridge:type_name -> com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig - 15, // 41: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.ibm_event_notifications:type_name -> com.coralogix.outgoing_webhooks.v1.IbmEventNotificationsConfig - 10, // 42: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook.ms_teams_workflow:type_name -> com.coralogix.outgoing_webhooks.v1.MSTeamsWorkflowConfig - 0, // 43: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 25, // 44: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.name:type_name -> google.protobuf.StringValue - 25, // 45: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.url:type_name -> google.protobuf.StringValue - 4, // 46: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.generic_webhook:type_name -> com.coralogix.outgoing_webhooks.v1.GenericWebhookConfig - 5, // 47: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.slack:type_name -> com.coralogix.outgoing_webhooks.v1.SlackConfig - 6, // 48: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.pager_duty:type_name -> com.coralogix.outgoing_webhooks.v1.PagerDutyConfig - 7, // 49: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.send_log:type_name -> com.coralogix.outgoing_webhooks.v1.SendLogConfig - 8, // 50: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.email_group:type_name -> com.coralogix.outgoing_webhooks.v1.EmailGroupConfig - 9, // 51: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.microsoft_teams:type_name -> com.coralogix.outgoing_webhooks.v1.MicrosoftTeamsConfig - 11, // 52: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.jira:type_name -> com.coralogix.outgoing_webhooks.v1.JiraConfig - 12, // 53: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.opsgenie:type_name -> com.coralogix.outgoing_webhooks.v1.OpsgenieConfig - 13, // 54: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.demisto:type_name -> com.coralogix.outgoing_webhooks.v1.DemistoConfig - 14, // 55: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.aws_event_bridge:type_name -> com.coralogix.outgoing_webhooks.v1.AwsEventBridgeConfig - 15, // 56: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.ibm_event_notifications:type_name -> com.coralogix.outgoing_webhooks.v1.IbmEventNotificationsConfig - 10, // 57: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData.ms_teams_workflow:type_name -> com.coralogix.outgoing_webhooks.v1.MSTeamsWorkflowConfig - 25, // 58: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary.id:type_name -> google.protobuf.StringValue - 25, // 59: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary.name:type_name -> google.protobuf.StringValue - 25, // 60: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary.url:type_name -> google.protobuf.StringValue - 26, // 61: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary.created_at:type_name -> google.protobuf.Timestamp - 26, // 62: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary.updated_at:type_name -> google.protobuf.Timestamp - 27, // 63: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary.external_id:type_name -> google.protobuf.UInt32Value - 25, // 64: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary.id:type_name -> google.protobuf.StringValue - 0, // 65: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 25, // 66: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary.name:type_name -> google.protobuf.StringValue - 25, // 67: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary.url:type_name -> google.protobuf.StringValue - 26, // 68: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary.created_at:type_name -> google.protobuf.Timestamp - 26, // 69: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary.updated_at:type_name -> google.protobuf.Timestamp - 27, // 70: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary.external_id:type_name -> google.protobuf.UInt32Value - 0, // 71: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookDetails.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 25, // 72: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookDetails.label:type_name -> google.protobuf.StringValue - 25, // 73: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary.id:type_name -> google.protobuf.StringValue - 0, // 74: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 25, // 75: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary.name:type_name -> google.protobuf.StringValue - 26, // 76: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary.created_at:type_name -> google.protobuf.Timestamp - 26, // 77: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary.updated_at:type_name -> google.protobuf.Timestamp - 27, // 78: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary.external_id:type_name -> google.protobuf.UInt32Value - 2, // 79: com.coralogix.outgoing_webhooks.v1.SlackConfig.Digest.type:type_name -> com.coralogix.outgoing_webhooks.v1.SlackConfig.DigestType - 28, // 80: com.coralogix.outgoing_webhooks.v1.SlackConfig.Digest.is_active:type_name -> google.protobuf.BoolValue - 3, // 81: com.coralogix.outgoing_webhooks.v1.SlackConfig.Attachment.type:type_name -> com.coralogix.outgoing_webhooks.v1.SlackConfig.AttachmentType - 28, // 82: com.coralogix.outgoing_webhooks.v1.SlackConfig.Attachment.is_active:type_name -> google.protobuf.BoolValue - 83, // [83:83] is the sub-list for method output_type - 83, // [83:83] is the sub-list for method input_type - 83, // [83:83] is the sub-list for extension type_name - 83, // [83:83] is the sub-list for extension extendee - 0, // [0:83] is the sub-list for field type_name -} - -func init() { file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_init() } -func file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_init() { - if File_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*GenericWebhookConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*SlackConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*PagerDutyConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*SendLogConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*EmailGroupConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*MicrosoftTeamsConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*MSTeamsWorkflowConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*JiraConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*OpsgenieConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*DemistoConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*AwsEventBridgeConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*IbmEventNotificationsConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*OutgoingWebhook); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*OutgoingWebhookInputData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*OutgoingWebhookSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*OutgoingWebhookExtendedSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*OutgoingWebhookDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*OutboundWebhookSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*SlackConfig_Digest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*SlackConfig_Attachment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[12].OneofWrappers = []any{ - (*OutgoingWebhook_GenericWebhook)(nil), - (*OutgoingWebhook_Slack)(nil), - (*OutgoingWebhook_PagerDuty)(nil), - (*OutgoingWebhook_SendLog)(nil), - (*OutgoingWebhook_EmailGroup)(nil), - (*OutgoingWebhook_MicrosoftTeams)(nil), - (*OutgoingWebhook_Jira)(nil), - (*OutgoingWebhook_Opsgenie)(nil), - (*OutgoingWebhook_Demisto)(nil), - (*OutgoingWebhook_AwsEventBridge)(nil), - (*OutgoingWebhook_IbmEventNotifications)(nil), - (*OutgoingWebhook_MsTeamsWorkflow)(nil), - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes[13].OneofWrappers = []any{ - (*OutgoingWebhookInputData_GenericWebhook)(nil), - (*OutgoingWebhookInputData_Slack)(nil), - (*OutgoingWebhookInputData_PagerDuty)(nil), - (*OutgoingWebhookInputData_SendLog)(nil), - (*OutgoingWebhookInputData_EmailGroup)(nil), - (*OutgoingWebhookInputData_MicrosoftTeams)(nil), - (*OutgoingWebhookInputData_Jira)(nil), - (*OutgoingWebhookInputData_Opsgenie)(nil), - (*OutgoingWebhookInputData_Demisto)(nil), - (*OutgoingWebhookInputData_AwsEventBridge)(nil), - (*OutgoingWebhookInputData_IbmEventNotifications)(nil), - (*OutgoingWebhookInputData_MsTeamsWorkflow)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDesc, - NumEnums: 4, - NumMessages: 21, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_goTypes, - DependencyIndexes: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_depIdxs, - EnumInfos: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_enumTypes, - MessageInfos: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_msgTypes, - }.Build() - File_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto = out.File - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_rawDesc = nil - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_goTypes = nil - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/webhooks/outgoing_webhook_service.pb.go b/coralogix/clientset/grpc/webhooks/outgoing_webhook_service.pb.go deleted file mode 100644 index e59d744c..00000000 --- a/coralogix/clientset/grpc/webhooks/outgoing_webhook_service.pb.go +++ /dev/null @@ -1,2191 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.0 -// source: com/coralogix/outgoing_webhooks/v1/outgoing_webhook_service.proto - -package webhooks - -import ( - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/descriptorpb" - _ "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 ListOutgoingWebhookTypesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListOutgoingWebhookTypesRequest) Reset() { - *x = ListOutgoingWebhookTypesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListOutgoingWebhookTypesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOutgoingWebhookTypesRequest) ProtoMessage() {} - -func (x *ListOutgoingWebhookTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListOutgoingWebhookTypesRequest.ProtoReflect.Descriptor instead. -func (*ListOutgoingWebhookTypesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{0} -} - -type ListOutgoingWebhookTypesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Webhooks []*ListOutgoingWebhookTypesResponse_OutgoingWebhookType `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"` -} - -func (x *ListOutgoingWebhookTypesResponse) Reset() { - *x = ListOutgoingWebhookTypesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListOutgoingWebhookTypesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOutgoingWebhookTypesResponse) ProtoMessage() {} - -func (x *ListOutgoingWebhookTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListOutgoingWebhookTypesResponse.ProtoReflect.Descriptor instead. -func (*ListOutgoingWebhookTypesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{1} -} - -func (x *ListOutgoingWebhookTypesResponse) GetWebhooks() []*ListOutgoingWebhookTypesResponse_OutgoingWebhookType { - if x != nil { - return x.Webhooks - } - return nil -} - -type GetOutgoingWebhookTypeDetailsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type WebhookType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` -} - -func (x *GetOutgoingWebhookTypeDetailsRequest) Reset() { - *x = GetOutgoingWebhookTypeDetailsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetOutgoingWebhookTypeDetailsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOutgoingWebhookTypeDetailsRequest) ProtoMessage() {} - -func (x *GetOutgoingWebhookTypeDetailsRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 GetOutgoingWebhookTypeDetailsRequest.ProtoReflect.Descriptor instead. -func (*GetOutgoingWebhookTypeDetailsRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{2} -} - -func (x *GetOutgoingWebhookTypeDetailsRequest) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -type GetOutgoingWebhookTypeDetailsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Details *OutgoingWebhookDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` -} - -func (x *GetOutgoingWebhookTypeDetailsResponse) Reset() { - *x = GetOutgoingWebhookTypeDetailsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetOutgoingWebhookTypeDetailsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOutgoingWebhookTypeDetailsResponse) ProtoMessage() {} - -func (x *GetOutgoingWebhookTypeDetailsResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 GetOutgoingWebhookTypeDetailsResponse.ProtoReflect.Descriptor instead. -func (*GetOutgoingWebhookTypeDetailsResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{3} -} - -func (x *GetOutgoingWebhookTypeDetailsResponse) GetDetails() *OutgoingWebhookDetails { - if x != nil { - return x.Details - } - return nil -} - -type ListOutgoingWebhooksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type WebhookType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` -} - -func (x *ListOutgoingWebhooksRequest) Reset() { - *x = ListOutgoingWebhooksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListOutgoingWebhooksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOutgoingWebhooksRequest) ProtoMessage() {} - -func (x *ListOutgoingWebhooksRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListOutgoingWebhooksRequest.ProtoReflect.Descriptor instead. -func (*ListOutgoingWebhooksRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{4} -} - -func (x *ListOutgoingWebhooksRequest) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -type ListOutgoingWebhooksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Deployed []*OutgoingWebhookSummary `protobuf:"bytes,1,rep,name=deployed,proto3" json:"deployed,omitempty"` -} - -func (x *ListOutgoingWebhooksResponse) Reset() { - *x = ListOutgoingWebhooksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListOutgoingWebhooksResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOutgoingWebhooksResponse) ProtoMessage() {} - -func (x *ListOutgoingWebhooksResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListOutgoingWebhooksResponse.ProtoReflect.Descriptor instead. -func (*ListOutgoingWebhooksResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{5} -} - -func (x *ListOutgoingWebhooksResponse) GetDeployed() []*OutgoingWebhookSummary { - if x != nil { - return x.Deployed - } - return nil -} - -type ListAllOutgoingWebhooksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListAllOutgoingWebhooksRequest) Reset() { - *x = ListAllOutgoingWebhooksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllOutgoingWebhooksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllOutgoingWebhooksRequest) ProtoMessage() {} - -func (x *ListAllOutgoingWebhooksRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListAllOutgoingWebhooksRequest.ProtoReflect.Descriptor instead. -func (*ListAllOutgoingWebhooksRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{6} -} - -type ListAllOutgoingWebhooksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Deployed []*OutgoingWebhookExtendedSummary `protobuf:"bytes,1,rep,name=deployed,proto3" json:"deployed,omitempty"` -} - -func (x *ListAllOutgoingWebhooksResponse) Reset() { - *x = ListAllOutgoingWebhooksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllOutgoingWebhooksResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllOutgoingWebhooksResponse) ProtoMessage() {} - -func (x *ListAllOutgoingWebhooksResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListAllOutgoingWebhooksResponse.ProtoReflect.Descriptor instead. -func (*ListAllOutgoingWebhooksResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{7} -} - -func (x *ListAllOutgoingWebhooksResponse) GetDeployed() []*OutgoingWebhookExtendedSummary { - if x != nil { - return x.Deployed - } - return nil -} - -type ListOutboundWebhooksSummaryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListOutboundWebhooksSummaryRequest) Reset() { - *x = ListOutboundWebhooksSummaryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListOutboundWebhooksSummaryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOutboundWebhooksSummaryRequest) ProtoMessage() {} - -func (x *ListOutboundWebhooksSummaryRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListOutboundWebhooksSummaryRequest.ProtoReflect.Descriptor instead. -func (*ListOutboundWebhooksSummaryRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{8} -} - -type ListOutboundWebhooksSummaryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OutboundWebhookSummaries []*OutboundWebhookSummary `protobuf:"bytes,1,rep,name=outbound_webhook_summaries,json=outboundWebhookSummaries,proto3" json:"outbound_webhook_summaries,omitempty"` -} - -func (x *ListOutboundWebhooksSummaryResponse) Reset() { - *x = ListOutboundWebhooksSummaryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListOutboundWebhooksSummaryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOutboundWebhooksSummaryResponse) ProtoMessage() {} - -func (x *ListOutboundWebhooksSummaryResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 ListOutboundWebhooksSummaryResponse.ProtoReflect.Descriptor instead. -func (*ListOutboundWebhooksSummaryResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{9} -} - -func (x *ListOutboundWebhooksSummaryResponse) GetOutboundWebhookSummaries() []*OutboundWebhookSummary { - if x != nil { - return x.OutboundWebhookSummaries - } - return nil -} - -type GetOutgoingWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *GetOutgoingWebhookRequest) Reset() { - *x = GetOutgoingWebhookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetOutgoingWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOutgoingWebhookRequest) ProtoMessage() {} - -func (x *GetOutgoingWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 GetOutgoingWebhookRequest.ProtoReflect.Descriptor instead. -func (*GetOutgoingWebhookRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{10} -} - -func (x *GetOutgoingWebhookRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type GetOutgoingWebhookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Webhook *OutgoingWebhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` -} - -func (x *GetOutgoingWebhookResponse) Reset() { - *x = GetOutgoingWebhookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetOutgoingWebhookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetOutgoingWebhookResponse) ProtoMessage() {} - -func (x *GetOutgoingWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 GetOutgoingWebhookResponse.ProtoReflect.Descriptor instead. -func (*GetOutgoingWebhookResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{11} -} - -func (x *GetOutgoingWebhookResponse) GetWebhook() *OutgoingWebhook { - if x != nil { - return x.Webhook - } - return nil -} - -type CreateOutgoingWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data *OutgoingWebhookInputData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *CreateOutgoingWebhookRequest) Reset() { - *x = CreateOutgoingWebhookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateOutgoingWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOutgoingWebhookRequest) ProtoMessage() {} - -func (x *CreateOutgoingWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 CreateOutgoingWebhookRequest.ProtoReflect.Descriptor instead. -func (*CreateOutgoingWebhookRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{12} -} - -func (x *CreateOutgoingWebhookRequest) GetData() *OutgoingWebhookInputData { - if x != nil { - return x.Data - } - return nil -} - -type CreateOutgoingWebhookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *CreateOutgoingWebhookResponse) Reset() { - *x = CreateOutgoingWebhookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateOutgoingWebhookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateOutgoingWebhookResponse) ProtoMessage() {} - -func (x *CreateOutgoingWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 CreateOutgoingWebhookResponse.ProtoReflect.Descriptor instead. -func (*CreateOutgoingWebhookResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{13} -} - -func (x *CreateOutgoingWebhookResponse) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type UpdateOutgoingWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Data *OutgoingWebhookInputData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *UpdateOutgoingWebhookRequest) Reset() { - *x = UpdateOutgoingWebhookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateOutgoingWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOutgoingWebhookRequest) ProtoMessage() {} - -func (x *UpdateOutgoingWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 UpdateOutgoingWebhookRequest.ProtoReflect.Descriptor instead. -func (*UpdateOutgoingWebhookRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{14} -} - -func (x *UpdateOutgoingWebhookRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *UpdateOutgoingWebhookRequest) GetData() *OutgoingWebhookInputData { - if x != nil { - return x.Data - } - return nil -} - -type UpdateOutgoingWebhookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *UpdateOutgoingWebhookResponse) Reset() { - *x = UpdateOutgoingWebhookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateOutgoingWebhookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateOutgoingWebhookResponse) ProtoMessage() {} - -func (x *UpdateOutgoingWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 UpdateOutgoingWebhookResponse.ProtoReflect.Descriptor instead. -func (*UpdateOutgoingWebhookResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{15} -} - -type DeleteOutgoingWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteOutgoingWebhookRequest) Reset() { - *x = DeleteOutgoingWebhookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteOutgoingWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOutgoingWebhookRequest) ProtoMessage() {} - -func (x *DeleteOutgoingWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 DeleteOutgoingWebhookRequest.ProtoReflect.Descriptor instead. -func (*DeleteOutgoingWebhookRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{16} -} - -func (x *DeleteOutgoingWebhookRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type DeleteOutgoingWebhookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteOutgoingWebhookResponse) Reset() { - *x = DeleteOutgoingWebhookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteOutgoingWebhookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteOutgoingWebhookResponse) ProtoMessage() {} - -func (x *DeleteOutgoingWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_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 DeleteOutgoingWebhookResponse.ProtoReflect.Descriptor instead. -func (*DeleteOutgoingWebhookResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{17} -} - -type TestOutgoingWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data *OutgoingWebhookInputData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *TestOutgoingWebhookRequest) Reset() { - *x = TestOutgoingWebhookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestOutgoingWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestOutgoingWebhookRequest) ProtoMessage() {} - -func (x *TestOutgoingWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[18] - 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 TestOutgoingWebhookRequest.ProtoReflect.Descriptor instead. -func (*TestOutgoingWebhookRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{18} -} - -func (x *TestOutgoingWebhookRequest) GetData() *OutgoingWebhookInputData { - if x != nil { - return x.Data - } - return nil -} - -type TestExistingOutgoingWebhookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *TestExistingOutgoingWebhookRequest) Reset() { - *x = TestExistingOutgoingWebhookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestExistingOutgoingWebhookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestExistingOutgoingWebhookRequest) ProtoMessage() {} - -func (x *TestExistingOutgoingWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[19] - 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 TestExistingOutgoingWebhookRequest.ProtoReflect.Descriptor instead. -func (*TestExistingOutgoingWebhookRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{19} -} - -func (x *TestExistingOutgoingWebhookRequest) GetId() *wrapperspb.StringValue { - if x != nil { - return x.Id - } - return nil -} - -type TestOutgoingWebhookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Result: - // - // *TestOutgoingWebhookResponse_Success_ - // *TestOutgoingWebhookResponse_Failure_ - Result isTestOutgoingWebhookResponse_Result `protobuf_oneof:"result"` -} - -func (x *TestOutgoingWebhookResponse) Reset() { - *x = TestOutgoingWebhookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestOutgoingWebhookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestOutgoingWebhookResponse) ProtoMessage() {} - -func (x *TestOutgoingWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[20] - 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 TestOutgoingWebhookResponse.ProtoReflect.Descriptor instead. -func (*TestOutgoingWebhookResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{20} -} - -func (m *TestOutgoingWebhookResponse) GetResult() isTestOutgoingWebhookResponse_Result { - if m != nil { - return m.Result - } - return nil -} - -func (x *TestOutgoingWebhookResponse) GetSuccess() *TestOutgoingWebhookResponse_Success { - if x, ok := x.GetResult().(*TestOutgoingWebhookResponse_Success_); ok { - return x.Success - } - return nil -} - -func (x *TestOutgoingWebhookResponse) GetFailure() *TestOutgoingWebhookResponse_Failure { - if x, ok := x.GetResult().(*TestOutgoingWebhookResponse_Failure_); ok { - return x.Failure - } - return nil -} - -type isTestOutgoingWebhookResponse_Result interface { - isTestOutgoingWebhookResponse_Result() -} - -type TestOutgoingWebhookResponse_Success_ struct { - Success *TestOutgoingWebhookResponse_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof"` -} - -type TestOutgoingWebhookResponse_Failure_ struct { - Failure *TestOutgoingWebhookResponse_Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"` -} - -func (*TestOutgoingWebhookResponse_Success_) isTestOutgoingWebhookResponse_Result() {} - -func (*TestOutgoingWebhookResponse_Failure_) isTestOutgoingWebhookResponse_Result() {} - -type ListIbmEventNotificationsInstancesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListIbmEventNotificationsInstancesRequest) Reset() { - *x = ListIbmEventNotificationsInstancesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListIbmEventNotificationsInstancesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListIbmEventNotificationsInstancesRequest) ProtoMessage() {} - -func (x *ListIbmEventNotificationsInstancesRequest) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[21] - 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 ListIbmEventNotificationsInstancesRequest.ProtoReflect.Descriptor instead. -func (*ListIbmEventNotificationsInstancesRequest) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{21} -} - -type ListIbmEventNotificationsInstancesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Instances []*ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` -} - -func (x *ListIbmEventNotificationsInstancesResponse) Reset() { - *x = ListIbmEventNotificationsInstancesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListIbmEventNotificationsInstancesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListIbmEventNotificationsInstancesResponse) ProtoMessage() {} - -func (x *ListIbmEventNotificationsInstancesResponse) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[22] - 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 ListIbmEventNotificationsInstancesResponse.ProtoReflect.Descriptor instead. -func (*ListIbmEventNotificationsInstancesResponse) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{22} -} - -func (x *ListIbmEventNotificationsInstancesResponse) GetInstances() []*ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance { - if x != nil { - return x.Instances - } - return nil -} - -type ListOutgoingWebhookTypesResponse_OutgoingWebhookType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type WebhookType `protobuf:"varint,1,opt,name=type,proto3,enum=com.coralogix.outgoing_webhooks.v1.WebhookType" json:"type,omitempty"` - Label *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` - Count *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *ListOutgoingWebhookTypesResponse_OutgoingWebhookType) Reset() { - *x = ListOutgoingWebhookTypesResponse_OutgoingWebhookType{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListOutgoingWebhookTypesResponse_OutgoingWebhookType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListOutgoingWebhookTypesResponse_OutgoingWebhookType) ProtoMessage() {} - -func (x *ListOutgoingWebhookTypesResponse_OutgoingWebhookType) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[23] - 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 ListOutgoingWebhookTypesResponse_OutgoingWebhookType.ProtoReflect.Descriptor instead. -func (*ListOutgoingWebhookTypesResponse_OutgoingWebhookType) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *ListOutgoingWebhookTypesResponse_OutgoingWebhookType) GetType() WebhookType { - if x != nil { - return x.Type - } - return WebhookType_UNKNOWN -} - -func (x *ListOutgoingWebhookTypesResponse_OutgoingWebhookType) GetLabel() *wrapperspb.StringValue { - if x != nil { - return x.Label - } - return nil -} - -func (x *ListOutgoingWebhookTypesResponse_OutgoingWebhookType) GetCount() *wrapperspb.UInt32Value { - if x != nil { - return x.Count - } - return nil -} - -type TestOutgoingWebhookResponse_Success struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *TestOutgoingWebhookResponse_Success) Reset() { - *x = TestOutgoingWebhookResponse_Success{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestOutgoingWebhookResponse_Success) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestOutgoingWebhookResponse_Success) ProtoMessage() {} - -func (x *TestOutgoingWebhookResponse_Success) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[24] - 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 TestOutgoingWebhookResponse_Success.ProtoReflect.Descriptor instead. -func (*TestOutgoingWebhookResponse_Success) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{20, 0} -} - -type TestOutgoingWebhookResponse_Failure struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrorMessage *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - DisplayMessage *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=display_message,json=displayMessage,proto3" json:"display_message,omitempty"` - StatusCode *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=status_code,json=statusCode,proto3,oneof" json:"status_code,omitempty"` -} - -func (x *TestOutgoingWebhookResponse_Failure) Reset() { - *x = TestOutgoingWebhookResponse_Failure{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TestOutgoingWebhookResponse_Failure) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TestOutgoingWebhookResponse_Failure) ProtoMessage() {} - -func (x *TestOutgoingWebhookResponse_Failure) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[25] - 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 TestOutgoingWebhookResponse_Failure.ProtoReflect.Descriptor instead. -func (*TestOutgoingWebhookResponse_Failure) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{20, 1} -} - -func (x *TestOutgoingWebhookResponse_Failure) GetErrorMessage() *wrapperspb.StringValue { - if x != nil { - return x.ErrorMessage - } - return nil -} - -func (x *TestOutgoingWebhookResponse_Failure) GetDisplayMessage() *wrapperspb.StringValue { - if x != nil { - return x.DisplayMessage - } - return nil -} - -func (x *TestOutgoingWebhookResponse_Failure) GetStatusCode() *wrapperspb.UInt32Value { - if x != nil { - return x.StatusCode - } - return nil -} - -type ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` - RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Crn string `protobuf:"bytes,4,opt,name=crn,proto3" json:"crn,omitempty"` // Cloud Resource Name - IsUsed bool `protobuf:"varint,5,opt,name=is_used,json=isUsed,proto3" json:"is_used,omitempty"` -} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) Reset() { - *x = ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance{} - if protoimpl.UnsafeEnabled { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) ProtoMessage() {} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[26] - 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 ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance.ProtoReflect.Descriptor instead. -func (*ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) Descriptor() ([]byte, []int) { - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP(), []int{22, 0} -} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) GetInstanceId() string { - if x != nil { - return x.InstanceId - } - return "" -} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) GetRegionId() string { - if x != nil { - return x.RegionId - } - return "" -} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) GetCrn() string { - if x != nil { - return x.Crn - } - return "" -} - -func (x *ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance) GetIsUsed() bool { - if x != nil { - return x.IsUsed - } - return false -} - -var File_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto protoreflect.FileDescriptor - -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDesc = []byte{ - 0x0a, 0x41, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x76, 0x31, 0x2f, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 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, 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, 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, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x21, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, - 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdd, 0x02, 0x0a, 0x20, 0x4c, - 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x74, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x58, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, - 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x77, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x1a, 0xc2, 0x01, 0x0a, 0x13, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x32, 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, 0x52, - 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x24, 0x47, 0x65, - 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x54, 0x79, 0x70, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x7d, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, - 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x54, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x62, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x76, 0x0a, 0x1c, 0x4c, 0x69, - 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x08, 0x64, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, - 0x65, 0x64, 0x22, 0x20, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6c, - 0x6f, 0x79, 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x08, - 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x22, 0x24, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, - 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x9f, - 0x01, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x1a, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, - 0x6e, 0x64, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, - 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x53, - 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x18, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, - 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, - 0x22, 0x49, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x6b, 0x0a, 0x1a, 0x47, - 0x65, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x07, 0x77, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, - 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x70, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x70, 0x75, 0x74, - 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4d, 0x0a, 0x1d, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x22, 0x80, 0x01, 0x0a, 0x1c, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x50, 0x0a, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x70, - 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1f, 0x0a, 0x1d, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, - 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x22, 0x1f, 0x0a, 0x1d, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6e, 0x0a, 0x1a, - 0x54, 0x65, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x70, - 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x52, 0x0a, 0x22, - 0x54, 0x65, 0x73, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 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, - 0x22, 0xe6, 0x03, 0x0a, 0x1b, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x63, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x07, 0x73, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x48, - 0x00, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x1a, 0x09, 0x0a, 0x07, 0x53, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x1a, 0xe7, 0x01, 0x0a, 0x07, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, - 0x65, 0x12, 0x41, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 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, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 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, 0x0e, 0x64, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 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, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, - 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, - 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x42, - 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x2b, 0x0a, 0x29, 0x4c, 0x69, 0x73, - 0x74, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd2, 0x02, 0x0a, 0x2a, 0x4c, 0x69, 0x73, 0x74, 0x49, - 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, - 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x1a, - 0x99, 0x01, 0x0a, 0x1a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, - 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x10, 0x0a, 0x03, 0x63, 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, - 0x72, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x55, 0x73, 0x65, 0x64, 0x32, 0xa1, 0x16, 0x0a, 0x17, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xea, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x12, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x43, 0x82, 0xb9, 0x02, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x20, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x20, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x12, 0xff, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, - 0x70, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x82, 0xb9, 0x02, - 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x20, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x20, 0x74, 0x79, 0x70, 0x65, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, - 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, - 0x7b, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x12, 0xd3, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, - 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x38, 0x82, 0xb9, 0x02, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x20, 0x6f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x20, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0xfb, 0x01, 0x0a, - 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x46, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75, - 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x53, 0x75, - 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x82, - 0xb9, 0x02, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x20, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x20, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, - 0x69, 0x65, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x6f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x2f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0xe4, 0x01, 0x0a, 0x17, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, - 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x41, 0x6c, 0x6c, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x40, 0x82, 0xb9, 0x02, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x6f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x20, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x61, 0x6c, - 0x6c, 0x12, 0xd1, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, - 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xb9, 0x02, 0x16, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x20, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x6f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xde, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, - 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, - 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xb9, 0x02, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x20, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a, 0x22, - 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0xde, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x12, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x75, - 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xb9, 0x02, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x20, - 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a, - 0x1a, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0xe0, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x12, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, 0xb9, 0x02, 0x1c, 0x0a, 0x1a, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, - 0x20, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x2a, 0x1a, - 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xdb, 0x01, 0x0a, 0x13, 0x54, - 0x65, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x12, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xb9, 0x02, 0x1a, 0x0a, 0x18, 0x54, 0x65, 0x73, 0x74, 0x20, - 0x61, 0x6e, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x20, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x3a, 0x01, 0x2a, 0x22, 0x1a, 0x2f, 0x76, - 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x12, 0xfd, 0x01, 0x0a, 0x1b, 0x54, 0x65, 0x73, - 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x46, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, - 0x73, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x2e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x55, 0x82, 0xb9, 0x02, 0x23, 0x0a, 0x21, 0x54, 0x65, 0x73, 0x74, 0x20, 0x61, 0x6e, - 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x20, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, - 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x84, 0x02, 0x0a, 0x22, 0x4c, 0x69, 0x73, - 0x74, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, - 0x4d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x2e, - 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 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, 0x2e, 0x6f, - 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x62, 0x6d, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x69, 0x62, - 0x6d, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescOnce sync.Once - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescData = file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDesc -) - -func file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescGZIP() []byte { - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescOnce.Do(func() { - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescData) - }) - return file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDescData -} - -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_goTypes = []any{ - (*ListOutgoingWebhookTypesRequest)(nil), // 0: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesRequest - (*ListOutgoingWebhookTypesResponse)(nil), // 1: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse - (*GetOutgoingWebhookTypeDetailsRequest)(nil), // 2: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookTypeDetailsRequest - (*GetOutgoingWebhookTypeDetailsResponse)(nil), // 3: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookTypeDetailsResponse - (*ListOutgoingWebhooksRequest)(nil), // 4: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhooksRequest - (*ListOutgoingWebhooksResponse)(nil), // 5: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhooksResponse - (*ListAllOutgoingWebhooksRequest)(nil), // 6: com.coralogix.outgoing_webhooks.v1.ListAllOutgoingWebhooksRequest - (*ListAllOutgoingWebhooksResponse)(nil), // 7: com.coralogix.outgoing_webhooks.v1.ListAllOutgoingWebhooksResponse - (*ListOutboundWebhooksSummaryRequest)(nil), // 8: com.coralogix.outgoing_webhooks.v1.ListOutboundWebhooksSummaryRequest - (*ListOutboundWebhooksSummaryResponse)(nil), // 9: com.coralogix.outgoing_webhooks.v1.ListOutboundWebhooksSummaryResponse - (*GetOutgoingWebhookRequest)(nil), // 10: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookRequest - (*GetOutgoingWebhookResponse)(nil), // 11: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookResponse - (*CreateOutgoingWebhookRequest)(nil), // 12: com.coralogix.outgoing_webhooks.v1.CreateOutgoingWebhookRequest - (*CreateOutgoingWebhookResponse)(nil), // 13: com.coralogix.outgoing_webhooks.v1.CreateOutgoingWebhookResponse - (*UpdateOutgoingWebhookRequest)(nil), // 14: com.coralogix.outgoing_webhooks.v1.UpdateOutgoingWebhookRequest - (*UpdateOutgoingWebhookResponse)(nil), // 15: com.coralogix.outgoing_webhooks.v1.UpdateOutgoingWebhookResponse - (*DeleteOutgoingWebhookRequest)(nil), // 16: com.coralogix.outgoing_webhooks.v1.DeleteOutgoingWebhookRequest - (*DeleteOutgoingWebhookResponse)(nil), // 17: com.coralogix.outgoing_webhooks.v1.DeleteOutgoingWebhookResponse - (*TestOutgoingWebhookRequest)(nil), // 18: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookRequest - (*TestExistingOutgoingWebhookRequest)(nil), // 19: com.coralogix.outgoing_webhooks.v1.TestExistingOutgoingWebhookRequest - (*TestOutgoingWebhookResponse)(nil), // 20: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse - (*ListIbmEventNotificationsInstancesRequest)(nil), // 21: com.coralogix.outgoing_webhooks.v1.ListIbmEventNotificationsInstancesRequest - (*ListIbmEventNotificationsInstancesResponse)(nil), // 22: com.coralogix.outgoing_webhooks.v1.ListIbmEventNotificationsInstancesResponse - (*ListOutgoingWebhookTypesResponse_OutgoingWebhookType)(nil), // 23: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse.OutgoingWebhookType - (*TestOutgoingWebhookResponse_Success)(nil), // 24: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.Success - (*TestOutgoingWebhookResponse_Failure)(nil), // 25: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.Failure - (*ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance)(nil), // 26: com.coralogix.outgoing_webhooks.v1.ListIbmEventNotificationsInstancesResponse.EventNotificationsInstance - (WebhookType)(0), // 27: com.coralogix.outgoing_webhooks.v1.WebhookType - (*OutgoingWebhookDetails)(nil), // 28: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookDetails - (*OutgoingWebhookSummary)(nil), // 29: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary - (*OutgoingWebhookExtendedSummary)(nil), // 30: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary - (*OutboundWebhookSummary)(nil), // 31: com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary - (*wrapperspb.StringValue)(nil), // 32: google.protobuf.StringValue - (*OutgoingWebhook)(nil), // 33: com.coralogix.outgoing_webhooks.v1.OutgoingWebhook - (*OutgoingWebhookInputData)(nil), // 34: com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData - (*wrapperspb.UInt32Value)(nil), // 35: google.protobuf.UInt32Value -} -var file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_depIdxs = []int32{ - 23, // 0: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse.webhooks:type_name -> com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse.OutgoingWebhookType - 27, // 1: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookTypeDetailsRequest.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 28, // 2: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookTypeDetailsResponse.details:type_name -> com.coralogix.outgoing_webhooks.v1.OutgoingWebhookDetails - 27, // 3: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhooksRequest.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 29, // 4: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhooksResponse.deployed:type_name -> com.coralogix.outgoing_webhooks.v1.OutgoingWebhookSummary - 30, // 5: com.coralogix.outgoing_webhooks.v1.ListAllOutgoingWebhooksResponse.deployed:type_name -> com.coralogix.outgoing_webhooks.v1.OutgoingWebhookExtendedSummary - 31, // 6: com.coralogix.outgoing_webhooks.v1.ListOutboundWebhooksSummaryResponse.outbound_webhook_summaries:type_name -> com.coralogix.outgoing_webhooks.v1.OutboundWebhookSummary - 32, // 7: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookRequest.id:type_name -> google.protobuf.StringValue - 33, // 8: com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookResponse.webhook:type_name -> com.coralogix.outgoing_webhooks.v1.OutgoingWebhook - 34, // 9: com.coralogix.outgoing_webhooks.v1.CreateOutgoingWebhookRequest.data:type_name -> com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData - 32, // 10: com.coralogix.outgoing_webhooks.v1.CreateOutgoingWebhookResponse.id:type_name -> google.protobuf.StringValue - 34, // 11: com.coralogix.outgoing_webhooks.v1.UpdateOutgoingWebhookRequest.data:type_name -> com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData - 32, // 12: com.coralogix.outgoing_webhooks.v1.DeleteOutgoingWebhookRequest.id:type_name -> google.protobuf.StringValue - 34, // 13: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookRequest.data:type_name -> com.coralogix.outgoing_webhooks.v1.OutgoingWebhookInputData - 32, // 14: com.coralogix.outgoing_webhooks.v1.TestExistingOutgoingWebhookRequest.id:type_name -> google.protobuf.StringValue - 24, // 15: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.success:type_name -> com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.Success - 25, // 16: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.failure:type_name -> com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.Failure - 26, // 17: com.coralogix.outgoing_webhooks.v1.ListIbmEventNotificationsInstancesResponse.instances:type_name -> com.coralogix.outgoing_webhooks.v1.ListIbmEventNotificationsInstancesResponse.EventNotificationsInstance - 27, // 18: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse.OutgoingWebhookType.type:type_name -> com.coralogix.outgoing_webhooks.v1.WebhookType - 32, // 19: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse.OutgoingWebhookType.label:type_name -> google.protobuf.StringValue - 35, // 20: com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse.OutgoingWebhookType.count:type_name -> google.protobuf.UInt32Value - 32, // 21: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.Failure.error_message:type_name -> google.protobuf.StringValue - 32, // 22: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.Failure.display_message:type_name -> google.protobuf.StringValue - 35, // 23: com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse.Failure.status_code:type_name -> google.protobuf.UInt32Value - 0, // 24: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListOutgoingWebhookTypes:input_type -> com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesRequest - 2, // 25: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.GetOutgoingWebhookTypeDetails:input_type -> com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookTypeDetailsRequest - 4, // 26: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListOutgoingWebhooks:input_type -> com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhooksRequest - 8, // 27: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListOutboundWebhooksSummary:input_type -> com.coralogix.outgoing_webhooks.v1.ListOutboundWebhooksSummaryRequest - 6, // 28: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListAllOutgoingWebhooks:input_type -> com.coralogix.outgoing_webhooks.v1.ListAllOutgoingWebhooksRequest - 10, // 29: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.GetOutgoingWebhook:input_type -> com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookRequest - 12, // 30: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.CreateOutgoingWebhook:input_type -> com.coralogix.outgoing_webhooks.v1.CreateOutgoingWebhookRequest - 14, // 31: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.UpdateOutgoingWebhook:input_type -> com.coralogix.outgoing_webhooks.v1.UpdateOutgoingWebhookRequest - 16, // 32: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.DeleteOutgoingWebhook:input_type -> com.coralogix.outgoing_webhooks.v1.DeleteOutgoingWebhookRequest - 18, // 33: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.TestOutgoingWebhook:input_type -> com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookRequest - 19, // 34: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.TestExistingOutgoingWebhook:input_type -> com.coralogix.outgoing_webhooks.v1.TestExistingOutgoingWebhookRequest - 21, // 35: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListIbmEventNotificationsInstances:input_type -> com.coralogix.outgoing_webhooks.v1.ListIbmEventNotificationsInstancesRequest - 1, // 36: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListOutgoingWebhookTypes:output_type -> com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhookTypesResponse - 3, // 37: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.GetOutgoingWebhookTypeDetails:output_type -> com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookTypeDetailsResponse - 5, // 38: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListOutgoingWebhooks:output_type -> com.coralogix.outgoing_webhooks.v1.ListOutgoingWebhooksResponse - 9, // 39: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListOutboundWebhooksSummary:output_type -> com.coralogix.outgoing_webhooks.v1.ListOutboundWebhooksSummaryResponse - 7, // 40: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListAllOutgoingWebhooks:output_type -> com.coralogix.outgoing_webhooks.v1.ListAllOutgoingWebhooksResponse - 11, // 41: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.GetOutgoingWebhook:output_type -> com.coralogix.outgoing_webhooks.v1.GetOutgoingWebhookResponse - 13, // 42: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.CreateOutgoingWebhook:output_type -> com.coralogix.outgoing_webhooks.v1.CreateOutgoingWebhookResponse - 15, // 43: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.UpdateOutgoingWebhook:output_type -> com.coralogix.outgoing_webhooks.v1.UpdateOutgoingWebhookResponse - 17, // 44: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.DeleteOutgoingWebhook:output_type -> com.coralogix.outgoing_webhooks.v1.DeleteOutgoingWebhookResponse - 20, // 45: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.TestOutgoingWebhook:output_type -> com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse - 20, // 46: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.TestExistingOutgoingWebhook:output_type -> com.coralogix.outgoing_webhooks.v1.TestOutgoingWebhookResponse - 22, // 47: com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService.ListIbmEventNotificationsInstances:output_type -> com.coralogix.outgoing_webhooks.v1.ListIbmEventNotificationsInstancesResponse - 36, // [36:48] is the sub-list for method output_type - 24, // [24:36] is the sub-list for method input_type - 24, // [24:24] is the sub-list for extension type_name - 24, // [24:24] is the sub-list for extension extendee - 0, // [0:24] is the sub-list for field type_name -} - -func init() { file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_init() } -func file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_init() { - if File_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto != nil { - return - } - file_com_coralogix_outgoing_webhooks_v1_audit_log_proto_init() - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_proto_init() - if !protoimpl.UnsafeEnabled { - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ListOutgoingWebhookTypesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ListOutgoingWebhookTypesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*GetOutgoingWebhookTypeDetailsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*GetOutgoingWebhookTypeDetailsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*ListOutgoingWebhooksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*ListOutgoingWebhooksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*ListAllOutgoingWebhooksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*ListAllOutgoingWebhooksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*ListOutboundWebhooksSummaryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*ListOutboundWebhooksSummaryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*GetOutgoingWebhookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*GetOutgoingWebhookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*CreateOutgoingWebhookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*CreateOutgoingWebhookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*UpdateOutgoingWebhookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*UpdateOutgoingWebhookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*DeleteOutgoingWebhookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*DeleteOutgoingWebhookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[18].Exporter = func(v any, i int) any { - switch v := v.(*TestOutgoingWebhookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[19].Exporter = func(v any, i int) any { - switch v := v.(*TestExistingOutgoingWebhookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[20].Exporter = func(v any, i int) any { - switch v := v.(*TestOutgoingWebhookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[21].Exporter = func(v any, i int) any { - switch v := v.(*ListIbmEventNotificationsInstancesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[22].Exporter = func(v any, i int) any { - switch v := v.(*ListIbmEventNotificationsInstancesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[23].Exporter = func(v any, i int) any { - switch v := v.(*ListOutgoingWebhookTypesResponse_OutgoingWebhookType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[24].Exporter = func(v any, i int) any { - switch v := v.(*TestOutgoingWebhookResponse_Success); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[25].Exporter = func(v any, i int) any { - switch v := v.(*TestOutgoingWebhookResponse_Failure); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[26].Exporter = func(v any, i int) any { - switch v := v.(*ListIbmEventNotificationsInstancesResponse_EventNotificationsInstance); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[20].OneofWrappers = []any{ - (*TestOutgoingWebhookResponse_Success_)(nil), - (*TestOutgoingWebhookResponse_Failure_)(nil), - } - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes[25].OneofWrappers = []any{} - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDesc, - NumEnums: 0, - NumMessages: 27, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_goTypes, - DependencyIndexes: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_depIdxs, - MessageInfos: file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_msgTypes, - }.Build() - File_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto = out.File - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_rawDesc = nil - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_goTypes = nil - file_com_coralogix_outgoing_webhooks_v1_outgoing_webhook_service_proto_depIdxs = nil -} diff --git a/coralogix/clientset/grpc/webhooks/outgoing_webhook_service_grpc.pb.go b/coralogix/clientset/grpc/webhooks/outgoing_webhook_service_grpc.pb.go deleted file mode 100644 index c9c8d9d0..00000000 --- a/coralogix/clientset/grpc/webhooks/outgoing_webhook_service_grpc.pb.go +++ /dev/null @@ -1,529 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.4.0 -// - protoc v5.27.0 -// source: com/coralogix/outgoing_webhooks/v1/outgoing_webhook_service.proto - -package webhooks - -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.62.0 or later. -const _ = grpc.SupportPackageIsVersion8 - -const ( - OutgoingWebhooksService_ListOutgoingWebhookTypes_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListOutgoingWebhookTypes" - OutgoingWebhooksService_GetOutgoingWebhookTypeDetails_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/GetOutgoingWebhookTypeDetails" - OutgoingWebhooksService_ListOutgoingWebhooks_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListOutgoingWebhooks" - OutgoingWebhooksService_ListOutboundWebhooksSummary_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListOutboundWebhooksSummary" - OutgoingWebhooksService_ListAllOutgoingWebhooks_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListAllOutgoingWebhooks" - OutgoingWebhooksService_GetOutgoingWebhook_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/GetOutgoingWebhook" - OutgoingWebhooksService_CreateOutgoingWebhook_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/CreateOutgoingWebhook" - OutgoingWebhooksService_UpdateOutgoingWebhook_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/UpdateOutgoingWebhook" - OutgoingWebhooksService_DeleteOutgoingWebhook_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/DeleteOutgoingWebhook" - OutgoingWebhooksService_TestOutgoingWebhook_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/TestOutgoingWebhook" - OutgoingWebhooksService_TestExistingOutgoingWebhook_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/TestExistingOutgoingWebhook" - OutgoingWebhooksService_ListIbmEventNotificationsInstances_FullMethodName = "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListIbmEventNotificationsInstances" -) - -// OutgoingWebhooksServiceClient is the client API for OutgoingWebhooksService 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 OutgoingWebhooksServiceClient interface { - ListOutgoingWebhookTypes(ctx context.Context, in *ListOutgoingWebhookTypesRequest, opts ...grpc.CallOption) (*ListOutgoingWebhookTypesResponse, error) - GetOutgoingWebhookTypeDetails(ctx context.Context, in *GetOutgoingWebhookTypeDetailsRequest, opts ...grpc.CallOption) (*GetOutgoingWebhookTypeDetailsResponse, error) - ListOutgoingWebhooks(ctx context.Context, in *ListOutgoingWebhooksRequest, opts ...grpc.CallOption) (*ListOutgoingWebhooksResponse, error) - ListOutboundWebhooksSummary(ctx context.Context, in *ListOutboundWebhooksSummaryRequest, opts ...grpc.CallOption) (*ListOutboundWebhooksSummaryResponse, error) - ListAllOutgoingWebhooks(ctx context.Context, in *ListAllOutgoingWebhooksRequest, opts ...grpc.CallOption) (*ListAllOutgoingWebhooksResponse, error) - GetOutgoingWebhook(ctx context.Context, in *GetOutgoingWebhookRequest, opts ...grpc.CallOption) (*GetOutgoingWebhookResponse, error) - CreateOutgoingWebhook(ctx context.Context, in *CreateOutgoingWebhookRequest, opts ...grpc.CallOption) (*CreateOutgoingWebhookResponse, error) - UpdateOutgoingWebhook(ctx context.Context, in *UpdateOutgoingWebhookRequest, opts ...grpc.CallOption) (*UpdateOutgoingWebhookResponse, error) - DeleteOutgoingWebhook(ctx context.Context, in *DeleteOutgoingWebhookRequest, opts ...grpc.CallOption) (*DeleteOutgoingWebhookResponse, error) - TestOutgoingWebhook(ctx context.Context, in *TestOutgoingWebhookRequest, opts ...grpc.CallOption) (*TestOutgoingWebhookResponse, error) - TestExistingOutgoingWebhook(ctx context.Context, in *TestExistingOutgoingWebhookRequest, opts ...grpc.CallOption) (*TestOutgoingWebhookResponse, error) - ListIbmEventNotificationsInstances(ctx context.Context, in *ListIbmEventNotificationsInstancesRequest, opts ...grpc.CallOption) (*ListIbmEventNotificationsInstancesResponse, error) -} - -type outgoingWebhooksServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewOutgoingWebhooksServiceClient(cc grpc.ClientConnInterface) OutgoingWebhooksServiceClient { - return &outgoingWebhooksServiceClient{cc} -} - -func (c *outgoingWebhooksServiceClient) ListOutgoingWebhookTypes(ctx context.Context, in *ListOutgoingWebhookTypesRequest, opts ...grpc.CallOption) (*ListOutgoingWebhookTypesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListOutgoingWebhookTypesResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_ListOutgoingWebhookTypes_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) GetOutgoingWebhookTypeDetails(ctx context.Context, in *GetOutgoingWebhookTypeDetailsRequest, opts ...grpc.CallOption) (*GetOutgoingWebhookTypeDetailsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetOutgoingWebhookTypeDetailsResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_GetOutgoingWebhookTypeDetails_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) ListOutgoingWebhooks(ctx context.Context, in *ListOutgoingWebhooksRequest, opts ...grpc.CallOption) (*ListOutgoingWebhooksResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListOutgoingWebhooksResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_ListOutgoingWebhooks_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) ListOutboundWebhooksSummary(ctx context.Context, in *ListOutboundWebhooksSummaryRequest, opts ...grpc.CallOption) (*ListOutboundWebhooksSummaryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListOutboundWebhooksSummaryResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_ListOutboundWebhooksSummary_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) ListAllOutgoingWebhooks(ctx context.Context, in *ListAllOutgoingWebhooksRequest, opts ...grpc.CallOption) (*ListAllOutgoingWebhooksResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListAllOutgoingWebhooksResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_ListAllOutgoingWebhooks_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) GetOutgoingWebhook(ctx context.Context, in *GetOutgoingWebhookRequest, opts ...grpc.CallOption) (*GetOutgoingWebhookResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetOutgoingWebhookResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_GetOutgoingWebhook_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) CreateOutgoingWebhook(ctx context.Context, in *CreateOutgoingWebhookRequest, opts ...grpc.CallOption) (*CreateOutgoingWebhookResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateOutgoingWebhookResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_CreateOutgoingWebhook_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) UpdateOutgoingWebhook(ctx context.Context, in *UpdateOutgoingWebhookRequest, opts ...grpc.CallOption) (*UpdateOutgoingWebhookResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UpdateOutgoingWebhookResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_UpdateOutgoingWebhook_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) DeleteOutgoingWebhook(ctx context.Context, in *DeleteOutgoingWebhookRequest, opts ...grpc.CallOption) (*DeleteOutgoingWebhookResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DeleteOutgoingWebhookResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_DeleteOutgoingWebhook_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) TestOutgoingWebhook(ctx context.Context, in *TestOutgoingWebhookRequest, opts ...grpc.CallOption) (*TestOutgoingWebhookResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(TestOutgoingWebhookResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_TestOutgoingWebhook_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) TestExistingOutgoingWebhook(ctx context.Context, in *TestExistingOutgoingWebhookRequest, opts ...grpc.CallOption) (*TestOutgoingWebhookResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(TestOutgoingWebhookResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_TestExistingOutgoingWebhook_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *outgoingWebhooksServiceClient) ListIbmEventNotificationsInstances(ctx context.Context, in *ListIbmEventNotificationsInstancesRequest, opts ...grpc.CallOption) (*ListIbmEventNotificationsInstancesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ListIbmEventNotificationsInstancesResponse) - err := c.cc.Invoke(ctx, OutgoingWebhooksService_ListIbmEventNotificationsInstances_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OutgoingWebhooksServiceServer is the server API for OutgoingWebhooksService service. -// All implementations must embed UnimplementedOutgoingWebhooksServiceServer -// for forward compatibility -type OutgoingWebhooksServiceServer interface { - ListOutgoingWebhookTypes(context.Context, *ListOutgoingWebhookTypesRequest) (*ListOutgoingWebhookTypesResponse, error) - GetOutgoingWebhookTypeDetails(context.Context, *GetOutgoingWebhookTypeDetailsRequest) (*GetOutgoingWebhookTypeDetailsResponse, error) - ListOutgoingWebhooks(context.Context, *ListOutgoingWebhooksRequest) (*ListOutgoingWebhooksResponse, error) - ListOutboundWebhooksSummary(context.Context, *ListOutboundWebhooksSummaryRequest) (*ListOutboundWebhooksSummaryResponse, error) - ListAllOutgoingWebhooks(context.Context, *ListAllOutgoingWebhooksRequest) (*ListAllOutgoingWebhooksResponse, error) - GetOutgoingWebhook(context.Context, *GetOutgoingWebhookRequest) (*GetOutgoingWebhookResponse, error) - CreateOutgoingWebhook(context.Context, *CreateOutgoingWebhookRequest) (*CreateOutgoingWebhookResponse, error) - UpdateOutgoingWebhook(context.Context, *UpdateOutgoingWebhookRequest) (*UpdateOutgoingWebhookResponse, error) - DeleteOutgoingWebhook(context.Context, *DeleteOutgoingWebhookRequest) (*DeleteOutgoingWebhookResponse, error) - TestOutgoingWebhook(context.Context, *TestOutgoingWebhookRequest) (*TestOutgoingWebhookResponse, error) - TestExistingOutgoingWebhook(context.Context, *TestExistingOutgoingWebhookRequest) (*TestOutgoingWebhookResponse, error) - ListIbmEventNotificationsInstances(context.Context, *ListIbmEventNotificationsInstancesRequest) (*ListIbmEventNotificationsInstancesResponse, error) - mustEmbedUnimplementedOutgoingWebhooksServiceServer() -} - -// UnimplementedOutgoingWebhooksServiceServer must be embedded to have forward compatible implementations. -type UnimplementedOutgoingWebhooksServiceServer struct { -} - -func (UnimplementedOutgoingWebhooksServiceServer) ListOutgoingWebhookTypes(context.Context, *ListOutgoingWebhookTypesRequest) (*ListOutgoingWebhookTypesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOutgoingWebhookTypes not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) GetOutgoingWebhookTypeDetails(context.Context, *GetOutgoingWebhookTypeDetailsRequest) (*GetOutgoingWebhookTypeDetailsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOutgoingWebhookTypeDetails not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) ListOutgoingWebhooks(context.Context, *ListOutgoingWebhooksRequest) (*ListOutgoingWebhooksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOutgoingWebhooks not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) ListOutboundWebhooksSummary(context.Context, *ListOutboundWebhooksSummaryRequest) (*ListOutboundWebhooksSummaryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListOutboundWebhooksSummary not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) ListAllOutgoingWebhooks(context.Context, *ListAllOutgoingWebhooksRequest) (*ListAllOutgoingWebhooksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListAllOutgoingWebhooks not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) GetOutgoingWebhook(context.Context, *GetOutgoingWebhookRequest) (*GetOutgoingWebhookResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetOutgoingWebhook not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) CreateOutgoingWebhook(context.Context, *CreateOutgoingWebhookRequest) (*CreateOutgoingWebhookResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateOutgoingWebhook not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) UpdateOutgoingWebhook(context.Context, *UpdateOutgoingWebhookRequest) (*UpdateOutgoingWebhookResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateOutgoingWebhook not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) DeleteOutgoingWebhook(context.Context, *DeleteOutgoingWebhookRequest) (*DeleteOutgoingWebhookResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteOutgoingWebhook not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) TestOutgoingWebhook(context.Context, *TestOutgoingWebhookRequest) (*TestOutgoingWebhookResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestOutgoingWebhook not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) TestExistingOutgoingWebhook(context.Context, *TestExistingOutgoingWebhookRequest) (*TestOutgoingWebhookResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestExistingOutgoingWebhook not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) ListIbmEventNotificationsInstances(context.Context, *ListIbmEventNotificationsInstancesRequest) (*ListIbmEventNotificationsInstancesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListIbmEventNotificationsInstances not implemented") -} -func (UnimplementedOutgoingWebhooksServiceServer) mustEmbedUnimplementedOutgoingWebhooksServiceServer() { -} - -// UnsafeOutgoingWebhooksServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to OutgoingWebhooksServiceServer will -// result in compilation errors. -type UnsafeOutgoingWebhooksServiceServer interface { - mustEmbedUnimplementedOutgoingWebhooksServiceServer() -} - -func RegisterOutgoingWebhooksServiceServer(s grpc.ServiceRegistrar, srv OutgoingWebhooksServiceServer) { - s.RegisterService(&OutgoingWebhooksService_ServiceDesc, srv) -} - -func _OutgoingWebhooksService_ListOutgoingWebhookTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOutgoingWebhookTypesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).ListOutgoingWebhookTypes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_ListOutgoingWebhookTypes_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).ListOutgoingWebhookTypes(ctx, req.(*ListOutgoingWebhookTypesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_GetOutgoingWebhookTypeDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOutgoingWebhookTypeDetailsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).GetOutgoingWebhookTypeDetails(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_GetOutgoingWebhookTypeDetails_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).GetOutgoingWebhookTypeDetails(ctx, req.(*GetOutgoingWebhookTypeDetailsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_ListOutgoingWebhooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOutgoingWebhooksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).ListOutgoingWebhooks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_ListOutgoingWebhooks_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).ListOutgoingWebhooks(ctx, req.(*ListOutgoingWebhooksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_ListOutboundWebhooksSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListOutboundWebhooksSummaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).ListOutboundWebhooksSummary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_ListOutboundWebhooksSummary_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).ListOutboundWebhooksSummary(ctx, req.(*ListOutboundWebhooksSummaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_ListAllOutgoingWebhooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListAllOutgoingWebhooksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).ListAllOutgoingWebhooks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_ListAllOutgoingWebhooks_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).ListAllOutgoingWebhooks(ctx, req.(*ListAllOutgoingWebhooksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_GetOutgoingWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetOutgoingWebhookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).GetOutgoingWebhook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_GetOutgoingWebhook_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).GetOutgoingWebhook(ctx, req.(*GetOutgoingWebhookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_CreateOutgoingWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateOutgoingWebhookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).CreateOutgoingWebhook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_CreateOutgoingWebhook_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).CreateOutgoingWebhook(ctx, req.(*CreateOutgoingWebhookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_UpdateOutgoingWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateOutgoingWebhookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).UpdateOutgoingWebhook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_UpdateOutgoingWebhook_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).UpdateOutgoingWebhook(ctx, req.(*UpdateOutgoingWebhookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_DeleteOutgoingWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteOutgoingWebhookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).DeleteOutgoingWebhook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_DeleteOutgoingWebhook_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).DeleteOutgoingWebhook(ctx, req.(*DeleteOutgoingWebhookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_TestOutgoingWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestOutgoingWebhookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).TestOutgoingWebhook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_TestOutgoingWebhook_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).TestOutgoingWebhook(ctx, req.(*TestOutgoingWebhookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_TestExistingOutgoingWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestExistingOutgoingWebhookRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).TestExistingOutgoingWebhook(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_TestExistingOutgoingWebhook_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).TestExistingOutgoingWebhook(ctx, req.(*TestExistingOutgoingWebhookRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OutgoingWebhooksService_ListIbmEventNotificationsInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListIbmEventNotificationsInstancesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OutgoingWebhooksServiceServer).ListIbmEventNotificationsInstances(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: OutgoingWebhooksService_ListIbmEventNotificationsInstances_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OutgoingWebhooksServiceServer).ListIbmEventNotificationsInstances(ctx, req.(*ListIbmEventNotificationsInstancesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// OutgoingWebhooksService_ServiceDesc is the grpc.ServiceDesc for OutgoingWebhooksService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var OutgoingWebhooksService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService", - HandlerType: (*OutgoingWebhooksServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ListOutgoingWebhookTypes", - Handler: _OutgoingWebhooksService_ListOutgoingWebhookTypes_Handler, - }, - { - MethodName: "GetOutgoingWebhookTypeDetails", - Handler: _OutgoingWebhooksService_GetOutgoingWebhookTypeDetails_Handler, - }, - { - MethodName: "ListOutgoingWebhooks", - Handler: _OutgoingWebhooksService_ListOutgoingWebhooks_Handler, - }, - { - MethodName: "ListOutboundWebhooksSummary", - Handler: _OutgoingWebhooksService_ListOutboundWebhooksSummary_Handler, - }, - { - MethodName: "ListAllOutgoingWebhooks", - Handler: _OutgoingWebhooksService_ListAllOutgoingWebhooks_Handler, - }, - { - MethodName: "GetOutgoingWebhook", - Handler: _OutgoingWebhooksService_GetOutgoingWebhook_Handler, - }, - { - MethodName: "CreateOutgoingWebhook", - Handler: _OutgoingWebhooksService_CreateOutgoingWebhook_Handler, - }, - { - MethodName: "UpdateOutgoingWebhook", - Handler: _OutgoingWebhooksService_UpdateOutgoingWebhook_Handler, - }, - { - MethodName: "DeleteOutgoingWebhook", - Handler: _OutgoingWebhooksService_DeleteOutgoingWebhook_Handler, - }, - { - MethodName: "TestOutgoingWebhook", - Handler: _OutgoingWebhooksService_TestOutgoingWebhook_Handler, - }, - { - MethodName: "TestExistingOutgoingWebhook", - Handler: _OutgoingWebhooksService_TestExistingOutgoingWebhook_Handler, - }, - { - MethodName: "ListIbmEventNotificationsInstances", - Handler: _OutgoingWebhooksService_ListIbmEventNotificationsInstances_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "com/coralogix/outgoing_webhooks/v1/outgoing_webhook_service.proto", -} diff --git a/coralogix/clientset/integrations-client.go b/coralogix/clientset/integrations-client.go deleted file mode 100644 index 7c6b8908..00000000 --- a/coralogix/clientset/integrations-client.go +++ /dev/null @@ -1,200 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - ext "terraform-provider-coralogix/coralogix/clientset/grpc/integrations" -) - -// UpdateIntegrationRequest is a request to update an integration. -type UpdateIntegrationRequest = ext.UpdateIntegrationRequest - -// SaveIntegrationRequest is a request to create an integration. -type SaveIntegrationRequest = ext.SaveIntegrationRequest - -// DeleteIntegrationRequest is a request to delete an integration. -type DeleteIntegrationRequest = ext.DeleteIntegrationRequest - -// GetDeployedIntegrationRequest is a request to get integration details. -type GetDeployedIntegrationRequest = ext.GetDeployedIntegrationRequest - -// GetIntegrationDefinitionRequest is a request to get an integration definition. -type GetIntegrationDefinitionRequest = ext.GetIntegrationDefinitionRequest - -// GetManagedIntegrationStatusRequest is a request to get the status of a managed integration. -type GetManagedIntegrationStatusRequest = ext.GetManagedIntegrationStatusRequest - -// GetTemplateRequest is a request to get an integration template. -type GetTemplateRequest = ext.GetTemplateRequest - -// GetRumApplicationVersionDataRequest is a request to get RUM application version data. -type GetRumApplicationVersionDataRequest = ext.GetRumApplicationVersionDataRequest - -// SyncRumDataRequest is a request to sync RUM data. -type SyncRumDataRequest = ext.SyncRumDataRequest - -// TestIntegrationRequest is a request to test an integration. -type TestIntegrationRequest = ext.TestIntegrationRequest - -// IntegrationsClient is a client for the Coralogix Extensions API. -type IntegrationsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -// Create creates a new integration. -func (c IntegrationsClient) Create(ctx context.Context, req *SaveIntegrationRequest) (*ext.SaveIntegrationResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.SaveIntegration(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// Update updates an integration -func (c IntegrationsClient) Update(ctx context.Context, req *UpdateIntegrationRequest) (*ext.UpdateIntegrationResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.UpdateIntegration(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// Get gets integration details -func (c IntegrationsClient) Get(ctx context.Context, req *GetDeployedIntegrationRequest) (*ext.GetDeployedIntegrationResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.GetDeployedIntegration(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// GetDefinition gets an integration definition -func (c IntegrationsClient) GetDefinition(ctx context.Context, req *GetIntegrationDefinitionRequest) (*ext.GetIntegrationDefinitionResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.GetIntegrationDefinition(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// GetIntegrationStatus gets the status of a integration -func (c IntegrationsClient) GetIntegrationStatus(ctx context.Context, req *GetManagedIntegrationStatusRequest) (*ext.GetManagedIntegrationStatusResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.GetManagedIntegrationStatus(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// Delete deletes an integration -func (c IntegrationsClient) Delete(ctx context.Context, req *DeleteIntegrationRequest) (*ext.DeleteIntegrationResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.DeleteIntegration(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// GetTemplate gets an integration template -func (c IntegrationsClient) GetTemplate(ctx context.Context, req *GetTemplateRequest) (*ext.GetTemplateResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.GetTemplate(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// GetRumApplicationVersionData gets RUM application version data -func (c IntegrationsClient) GetRumApplicationVersionData(ctx context.Context, req *GetRumApplicationVersionDataRequest) (*ext.GetRumApplicationVersionDataResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.GetRumApplicationVersionData(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// SyncRumData syncs RUM data -func (c IntegrationsClient) SyncRumData(ctx context.Context, req *SyncRumDataRequest) (*ext.SyncRumDataResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.SyncRumData(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// TestIntegration tests an integration -func (c IntegrationsClient) TestIntegration(ctx context.Context, req *TestIntegrationRequest) (*ext.TestIntegrationResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := ext.NewIntegrationServiceClient(conn) - - return client.TestIntegration(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// NewIntegrationsClient creates a new client. -func NewIntegrationsClient(c *CallPropertiesCreator) *IntegrationsClient { - return &IntegrationsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/recording-rules-groups-sets-client.go b/coralogix/clientset/recording-rules-groups-sets-client.go deleted file mode 100644 index 6db7c4d4..00000000 --- a/coralogix/clientset/recording-rules-groups-sets-client.go +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - rrg "terraform-provider-coralogix/coralogix/clientset/grpc/recording-rules-groups-sets/v1" - - "google.golang.org/protobuf/types/known/emptypb" -) - -type RecordingRulesGroupsSetsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (r RecordingRulesGroupsSetsClient) CreateRecordingRuleGroupsSet(ctx context.Context, req *rrg.CreateRuleGroupSet) (*rrg.CreateRuleGroupSetResult, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rrg.NewRuleGroupSetsClient(conn) - - return client.Create(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RecordingRulesGroupsSetsClient) GetRecordingRuleGroupsSet(ctx context.Context, req *rrg.FetchRuleGroupSet) (*rrg.OutRuleGroupSet, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rrg.NewRuleGroupSetsClient(conn) - - return client.Fetch(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RecordingRulesGroupsSetsClient) UpdateRecordingRuleGroupsSet(ctx context.Context, req *rrg.UpdateRuleGroupSet) (*emptypb.Empty, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rrg.NewRuleGroupSetsClient(conn) - - return client.Update(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RecordingRulesGroupsSetsClient) DeleteRecordingRuleGroupsSet(ctx context.Context, req *rrg.DeleteRuleGroupSet) (*emptypb.Empty, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rrg.NewRuleGroupSetsClient(conn) - - return client.Delete(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RecordingRulesGroupsSetsClient) ListRecordingRuleGroupsSets(ctx context.Context) (*rrg.RuleGroupSetListing, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rrg.NewRuleGroupSetsClient(conn) - - return client.List(callProperties.Ctx, &emptypb.Empty{}, callProperties.CallOptions...) -} - -func NewRecordingRuleGroupsClient(c *CallPropertiesCreator) *RecordingRulesGroupsSetsClient { - return &RecordingRulesGroupsSetsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/roles-client.go b/coralogix/clientset/roles-client.go deleted file mode 100644 index fe424a40..00000000 --- a/coralogix/clientset/roles-client.go +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - roles "terraform-provider-coralogix/coralogix/clientset/grpc/roles" -) - -type RolesClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (t RolesClient) CreateRole(ctx context.Context, req *roles.CreateRoleRequest) (*roles.CreateRoleResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := roles.NewRoleManagementServiceClient(conn) - - return client.CreateRole(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t RolesClient) UpdateRole(ctx context.Context, req *roles.UpdateRoleRequest) (*roles.UpdateRoleResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - conn := callProperties.Connection - defer conn.Close() - - client := roles.NewRoleManagementServiceClient(conn) - - return client.UpdateRole(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t RolesClient) DeleteRole(ctx context.Context, req *roles.DeleteRoleRequest) (*roles.DeleteRoleResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - conn := callProperties.Connection - defer conn.Close() - - client := roles.NewRoleManagementServiceClient(conn) - - return client.DeleteRole(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t RolesClient) GetRole(ctx context.Context, req *roles.GetCustomRoleRequest) (*roles.GetCustomRoleResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := roles.NewRoleManagementServiceClient(conn) - - return client.GetCustomRole(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewRolesClient(c *CallPropertiesCreator) *RolesClient { - return &RolesClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/rules-groups-client.go b/coralogix/clientset/rules-groups-client.go deleted file mode 100644 index 5813375b..00000000 --- a/coralogix/clientset/rules-groups-client.go +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - rulesgroups "terraform-provider-coralogix/coralogix/clientset/grpc/rules-groups/v1" -) - -type RuleGroupsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (r RuleGroupsClient) CreateRuleGroup(ctx context.Context, req *rulesgroups.CreateRuleGroupRequest) (*rulesgroups.CreateRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.CreateRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RuleGroupsClient) GetRuleGroup(ctx context.Context, req *rulesgroups.GetRuleGroupRequest) (*rulesgroups.GetRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.GetRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RuleGroupsClient) UpdateRuleGroup(ctx context.Context, req *rulesgroups.UpdateRuleGroupRequest) (*rulesgroups.UpdateRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.UpdateRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (r RuleGroupsClient) DeleteRuleGroup(ctx context.Context, req *rulesgroups.DeleteRuleGroupRequest) (*rulesgroups.DeleteRuleGroupResponse, error) { - callProperties, err := r.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - - client := rulesgroups.NewRuleGroupsServiceClient(conn) - - return client.DeleteRuleGroup(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewRuleGroupsClient(c *CallPropertiesCreator) *RuleGroupsClient { - return &RuleGroupsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/scopes-client.go b/coralogix/clientset/scopes-client.go deleted file mode 100644 index af19658c..00000000 --- a/coralogix/clientset/scopes-client.go +++ /dev/null @@ -1,99 +0,0 @@ -package clientset - -import ( - "context" - scopes "terraform-provider-coralogix/coralogix/clientset/grpc/scopes" -) - -type CreateScopeRequest = scopes.CreateScopeRequest -type GetTeamScopesByIdsRequest = scopes.GetTeamScopesByIdsRequest -type GetTeamScopesRequest = scopes.GetTeamScopesRequest -type UpdateScopeRequest = scopes.UpdateScopeRequest -type DeleteScopeRequest = scopes.DeleteScopeRequest - -type Filter = scopes.Filter - -const ( - EntityType_UNSPECIFIED = scopes.EntityType_UNSPECIFIED - EntityType_LOGS = scopes.EntityType_LOGS - EntityType_SPANS = scopes.EntityType_SPANS -) - -type ScopesClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -// Create a new scope -func (c ScopesClient) Create(ctx context.Context, req *CreateScopeRequest) (*scopes.CreateScopeResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := scopes.NewScopesServiceClient(conn) - - return client.CreateScope(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// Get a scope by its ID -func (c ScopesClient) Get(ctx context.Context, req *GetTeamScopesByIdsRequest) (*scopes.GetScopesResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := scopes.NewScopesServiceClient(conn) - - return client.GetTeamScopesByIds(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// List all scopes for the current team -func (c ScopesClient) List(ctx context.Context, req *GetTeamScopesRequest) (*scopes.GetScopesResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := scopes.NewScopesServiceClient(conn) - - return client.GetTeamScopes(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// Update a scope -func (c ScopesClient) Update(ctx context.Context, req *UpdateScopeRequest) (*scopes.UpdateScopeResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := scopes.NewScopesServiceClient(conn) - - return client.UpdateScope(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// Delete a scope -func (c ScopesClient) Delete(ctx context.Context, req *DeleteScopeRequest) (*scopes.DeleteScopeResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := scopes.NewScopesServiceClient(conn) - - return client.DeleteScope(callProperties.Ctx, req, callProperties.CallOptions...) -} - -// Create a new ScopesClient -func NewScopesClient(c *CallPropertiesCreator) *ScopesClient { - return &ScopesClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/slis-client.go b/coralogix/clientset/slis-client.go deleted file mode 100644 index 97748a58..00000000 --- a/coralogix/clientset/slis-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - slis "terraform-provider-coralogix/coralogix/clientset/grpc/sli" -) - -type SLIClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c SLIClient) CreateSLI(ctx context.Context, req *slis.CreateSliRequest) (*slis.CreateSliResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slis.NewSliServiceClient(conn) - - return client.CreateSli(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c SLIClient) GetSLIs(ctx context.Context, req *slis.GetSlisRequest) (*slis.GetSlisResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slis.NewSliServiceClient(conn) - - return client.GetSlis(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c SLIClient) UpdateSLI(ctx context.Context, req *slis.UpdateSliRequest) (*slis.UpdateSliResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slis.NewSliServiceClient(conn) - - return client.UpdateSli(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c SLIClient) DeleteSLI(ctx context.Context, req *slis.DeleteSliRequest) (*slis.DeleteSliResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slis.NewSliServiceClient(conn) - - return client.DeleteSli(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewSLIsClient(c *CallPropertiesCreator) *SLIClient { - return &SLIClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/slos-client.go b/coralogix/clientset/slos-client.go deleted file mode 100644 index a5ddd4b3..00000000 --- a/coralogix/clientset/slos-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - slos "terraform-provider-coralogix/coralogix/clientset/grpc/slo" -) - -type SLOsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c SLOsClient) CreateSLO(ctx context.Context, req *slos.CreateServiceSloRequest) (*slos.CreateServiceSloResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slos.NewServiceSloServiceClient(conn) - - return client.CreateServiceSlo(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c SLOsClient) GetSLO(ctx context.Context, req *slos.GetServiceSloRequest) (*slos.GetServiceSloResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slos.NewServiceSloServiceClient(conn) - - return client.GetServiceSlo(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c SLOsClient) UpdateSLO(ctx context.Context, req *slos.ReplaceServiceSloRequest) (*slos.ReplaceServiceSloResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slos.NewServiceSloServiceClient(conn) - - return client.ReplaceServiceSlo(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c SLOsClient) DeleteSLO(ctx context.Context, req *slos.DeleteServiceSloRequest) (*slos.DeleteServiceSloResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := slos.NewServiceSloServiceClient(conn) - - return client.DeleteServiceSlo(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewSLOsClient(c *CallPropertiesCreator) *SLOsClient { - return &SLOsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/tco-policies-client.go b/coralogix/clientset/tco-policies-client.go deleted file mode 100644 index 55406cd8..00000000 --- a/coralogix/clientset/tco-policies-client.go +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - tcopolicies "terraform-provider-coralogix/coralogix/clientset/grpc/tco-policies" -) - -type TCOPoliciesClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (t TCOPoliciesClient) OverwriteTCOLogsPolicies(ctx context.Context, req *tcopolicies.AtomicOverwriteLogPoliciesRequest) (*tcopolicies.AtomicOverwriteLogPoliciesResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.AtomicOverwriteLogPolicies(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t TCOPoliciesClient) GetTCOPolicies(ctx context.Context, req *tcopolicies.GetCompanyPoliciesRequest) (*tcopolicies.GetCompanyPoliciesResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.GetCompanyPolicies(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t TCOPoliciesClient) OverwriteTCOTracesPolicies(ctx context.Context, req *tcopolicies.AtomicOverwriteSpanPoliciesRequest) (*tcopolicies.AtomicOverwriteSpanPoliciesResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.AtomicOverwriteSpanPolicies(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t TCOPoliciesClient) CreateTCOPolicy(ctx context.Context, req *tcopolicies.CreatePolicyRequest) (*tcopolicies.CreatePolicyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.CreatePolicy(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t TCOPoliciesClient) GetTCOPolicy(ctx context.Context, req *tcopolicies.GetPolicyRequest) (*tcopolicies.GetPolicyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.GetPolicy(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t TCOPoliciesClient) UpdateTCOPolicy(ctx context.Context, req *tcopolicies.UpdatePolicyRequest) (*tcopolicies.UpdatePolicyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.UpdatePolicy(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t TCOPoliciesClient) DeleteTCOPolicy(ctx context.Context, req *tcopolicies.DeletePolicyRequest) (*tcopolicies.DeletePolicyResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.DeletePolicy(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (t TCOPoliciesClient) ReorderTCOPolicies(ctx context.Context, req *tcopolicies.ReorderPoliciesRequest) (*tcopolicies.ReorderPoliciesResponse, error) { - callProperties, err := t.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := tcopolicies.NewPoliciesServiceClient(conn) - - return client.ReorderPolicies(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewTCOPoliciesClient(c *CallPropertiesCreator) *TCOPoliciesClient { - return &TCOPoliciesClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/teams-client.go b/coralogix/clientset/teams-client.go deleted file mode 100644 index e942de46..00000000 --- a/coralogix/clientset/teams-client.go +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - teams "terraform-provider-coralogix/coralogix/clientset/grpc/teams" -) - -type TeamsClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c TeamsClient) CreateTeam(ctx context.Context, req *teams.CreateTeamInOrgRequest) (*teams.CreateTeamInOrgResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := teams.NewTeamServiceClient(conn) - - return client.CreateTeamInOrg(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c TeamsClient) UpdateTeam(ctx context.Context, req *teams.UpdateTeamRequest) (*teams.UpdateTeamResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := teams.NewTeamServiceClient(conn) - - return client.UpdateTeam(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c TeamsClient) GetTeam(ctx context.Context, req *teams.GetTeamRequest) (*teams.GetTeamResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := teams.NewTeamServiceClient(conn) - - return client.GetTeam(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c TeamsClient) DeleteTeam(ctx context.Context, req *teams.DeleteTeamRequest) (*teams.DeleteTeamResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := teams.NewTeamServiceClient(conn) - - return client.DeleteTeam(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewTeamsClient(c *CallPropertiesCreator) *TeamsClient { - return &TeamsClient{callPropertiesCreator: c} -} diff --git a/coralogix/clientset/users-client.go b/coralogix/clientset/users-client.go deleted file mode 100644 index 056bacb9..00000000 --- a/coralogix/clientset/users-client.go +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - "encoding/json" - "fmt" - "strings" - - "terraform-provider-coralogix/coralogix/clientset/rest" -) - -type UsersClient struct { - client *rest.Client - TargetUrl string -} - -type SCIMUser struct { - Schemas []string `json:"schemas"` - ID *string `json:"id,omitempty"` - UserName string `json:"userName"` - Active bool `json:"active"` - Name *SCIMUserName `json:"name,omitempty"` - Groups []SCIMUserGroup `json:"groups,omitempty"` - Emails []SCIMUserEmail `json:"emails,omitempty"` -} - -type SCIMUserName struct { - GivenName string `json:"givenName"` - FamilyName string `json:"familyName"` -} - -type SCIMUserEmail struct { - Value string `json:"value"` - Primary bool `json:"primary"` - Type string `json:"type"` -} - -type SCIMUserGroup struct { - Value string `json:"value"` -} - -func (c UsersClient) CreateUser(ctx context.Context, userReq *SCIMUser) (*SCIMUser, error) { - body, err := json.Marshal(userReq) - if err != nil { - return nil, err - } - - bodyResp, err := c.client.Post(ctx, "", "application/json", string(body)) - if err != nil { - return nil, err - } - - var UserResp SCIMUser - err = json.Unmarshal([]byte(bodyResp), &UserResp) - if err != nil { - return nil, err - } - - return &UserResp, nil -} - -func (c UsersClient) GetUser(ctx context.Context, userID string) (*SCIMUser, error) { - bodyResp, err := c.client.Get(ctx, fmt.Sprintf("/%s", userID)) - if err != nil { - return nil, err - } - - var UserResp SCIMUser - err = json.Unmarshal([]byte(bodyResp), &UserResp) - if err != nil { - return nil, err - } - - return &UserResp, nil -} - -func (c UsersClient) UpdateUser(ctx context.Context, userID string, userReq *SCIMUser) (*SCIMUser, error) { - body, err := json.Marshal(userReq) - if err != nil { - return nil, err - } - - bodyResp, err := c.client.Put(ctx, fmt.Sprintf("/%s", userID), "application/json", string(body)) - if err != nil { - return nil, err - } - - var UserResp SCIMUser - err = json.Unmarshal([]byte(bodyResp), &UserResp) - if err != nil { - return nil, err - } - - return &UserResp, nil -} - -func (c UsersClient) DeleteUser(ctx context.Context, userID string) error { - _, err := c.client.Delete(ctx, fmt.Sprintf("/%s", userID)) - return err - -} - -func NewUsersClient(c *CallPropertiesCreator) *UsersClient { - targetUrl := "https://" + strings.Replace(c.targetUrl, "grpc", "http", 1) + "/scim/Users" - client := rest.NewRestClient(targetUrl, c.apiKey) - return &UsersClient{client: client, TargetUrl: targetUrl} -} diff --git a/coralogix/clientset/version.go b/coralogix/clientset/version.go new file mode 100644 index 00000000..098b412d --- /dev/null +++ b/coralogix/clientset/version.go @@ -0,0 +1,17 @@ +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package clientset + +const TF_PROVIDER_VERSION = "1.18.12" diff --git a/coralogix/clientset/webhooks-client.go b/coralogix/clientset/webhooks-client.go deleted file mode 100644 index 58dba54b..00000000 --- a/coralogix/clientset/webhooks-client.go +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package clientset - -import ( - "context" - - webhooks "terraform-provider-coralogix/coralogix/clientset/grpc/webhooks" -) - -type WebhooksClient struct { - callPropertiesCreator *CallPropertiesCreator -} - -func (c WebhooksClient) CreateWebhook(ctx context.Context, req *webhooks.CreateOutgoingWebhookRequest) (*webhooks.CreateOutgoingWebhookResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := webhooks.NewOutgoingWebhooksServiceClient(conn) - - return client.CreateOutgoingWebhook(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c WebhooksClient) GetWebhook(ctx context.Context, req *webhooks.GetOutgoingWebhookRequest) (*webhooks.GetOutgoingWebhookResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := webhooks.NewOutgoingWebhooksServiceClient(conn) - - return client.GetOutgoingWebhook(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c WebhooksClient) UpdateWebhook(ctx context.Context, req *webhooks.UpdateOutgoingWebhookRequest) (*webhooks.UpdateOutgoingWebhookResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := webhooks.NewOutgoingWebhooksServiceClient(conn) - - return client.UpdateOutgoingWebhook(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c WebhooksClient) DeleteWebhook(ctx context.Context, req *webhooks.DeleteOutgoingWebhookRequest) (*webhooks.DeleteOutgoingWebhookResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := webhooks.NewOutgoingWebhooksServiceClient(conn) - - return client.DeleteOutgoingWebhook(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func (c WebhooksClient) ListWebhooks(ctx context.Context, req *webhooks.ListAllOutgoingWebhooksRequest) (*webhooks.ListAllOutgoingWebhooksResponse, error) { - callProperties, err := c.callPropertiesCreator.GetCallProperties(ctx) - if err != nil { - return nil, err - } - - conn := callProperties.Connection - defer conn.Close() - client := webhooks.NewOutgoingWebhooksServiceClient(conn) - - return client.ListAllOutgoingWebhooks(callProperties.Ctx, req, callProperties.CallOptions...) -} - -func NewWebhooksClient(c *CallPropertiesCreator) *WebhooksClient { - return &WebhooksClient{callPropertiesCreator: c} -} diff --git a/coralogix/data_source_coralogix_action.go b/coralogix/data_source_coralogix_action.go index 4e836553..5eb0d60d 100644 --- a/coralogix/data_source_coralogix_action.go +++ b/coralogix/data_source_coralogix_action.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -18,11 +18,11 @@ import ( "context" "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" - actions "terraform-provider-coralogix/coralogix/clientset/grpc/actions/v2" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" @@ -39,7 +39,7 @@ func NewActionDataSource() datasource.DataSource { } type ActionDataSource struct { - client *clientset.ActionsClient + client *cxsdk.ActionsClient } func (d *ActionDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -81,8 +81,8 @@ func (d *ActionDataSource) Read(ctx context.Context, req datasource.ReadRequest, //Get refreshed Action value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading Action: %s", id) - getActionReq := &actions.GetActionRequest{Id: wrapperspb.String(id)} - getActionResp, err := d.client.GetAction(ctx, getActionReq) + getActionReq := &cxsdk.GetActionRequest{Id: wrapperspb.String(id)} + getActionResp, err := d.client.Get(ctx, getActionReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -91,7 +91,7 @@ func (d *ActionDataSource) Read(ctx context.Context, req datasource.ReadRequest, } else { resp.Diagnostics.AddError( "Error reading Action", - formatRpcErrors(err, getActionURL, protojson.Format(getActionReq)), + formatRpcErrors(err, cxsdk.GetActionRPC, protojson.Format(getActionReq)), ) } return diff --git a/coralogix/data_source_coralogix_action_test.go b/coralogix/data_source_coralogix_action_test.go index 11c87ed0..167e24c3 100644 --- a/coralogix/data_source_coralogix_action_test.go +++ b/coralogix/data_source_coralogix_action_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/coralogix/data_source_coralogix_alert.go b/coralogix/data_source_coralogix_alert.go index 7ea04d01..802e9331 100644 --- a/coralogix/data_source_coralogix_alert.go +++ b/coralogix/data_source_coralogix_alert.go @@ -16,49 +16,125 @@ package coralogix import ( "context" + "fmt" "log" - - "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" - alertsv1 "terraform-provider-coralogix/coralogix/clientset/grpc/alerts/v2" - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + "github.com/hashicorp/terraform-plugin-framework/datasource" + "github.com/hashicorp/terraform-plugin-framework/resource" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/types/known/wrapperspb" ) -func dataSourceCoralogixAlert() *schema.Resource { - alertSchema := datasourceSchemaFromResourceSchema(AlertSchema()) - alertSchema["id"] = &schema.Schema{ - Type: schema.TypeString, - Required: true, - } +var _ datasource.DataSourceWithConfigure = &AlertDataSource{} + +// func dataSourceCoralogixAlert() *schema.Resource { +// alertSchema := datasourceSchemaFromResourceSchema(AlertSchema()) +// alertSchema["id"] = &schema.Schema{ +// Type: schema.TypeString, +// Required: true, +// } + +// return &schema.Resource{ +// ReadContext: dataSourceCoralogixAlertRead, - return &schema.Resource{ - ReadContext: dataSourceCoralogixAlertRead, +// Schema: alertSchema, +// } +// } + +// func dataSourceCoralogixAlertRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { +// id := wrapperspb.String(d.Get("id").(string)) +// getAlertRequest := &alertsv1.GetAlertByUniqueIdRequest{ +// Id: id, +// } + +// log.Printf("[INFO] Reading alert %s", id) +// alertResp, err := meta.(*clientset.ClientSet).Alerts().GetAlert(ctx, getAlertRequest) +// if err != nil { +// reqStr := protojson.Format(getAlertRequest) +// log.Printf("[ERROR] Received error: %s", err.Error()) +// return diag.Errorf(formatRpcErrors(err, getAlertURL, reqStr)) +// } +// alert := alertResp.GetAlert() +// log.Printf("[INFO] Received alert: %s", protojson.Format(alert)) + +// d.SetId(alert.GetId().GetValue()) + +// return setAlert(d, alert) +// } + +func NewAlertDataSource() datasource.DataSource { + return &AlertDataSource{} +} - Schema: alertSchema, +type AlertDataSource struct { + client *cxsdk.AlertsClient +} + +func (d *AlertDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { + resp.TypeName = req.ProviderTypeName + "_alert" +} + +func (d *AlertDataSource) 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.Alerts() +} + +func (d *AlertDataSource) Schema(ctx context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse) { + var r AlertResource + var resourceResp resource.SchemaResponse + r.Schema(ctx, resource.SchemaRequest{}, &resourceResp) + + resp.Schema = frameworkDatasourceSchemaFromFrameworkResourceSchema(resourceResp.Schema) } -func dataSourceCoralogixAlertRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { - id := wrapperspb.String(d.Get("id").(string)) - getAlertRequest := &alertsv1.GetAlertByUniqueIdRequest{ - Id: id, +func (d *AlertDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) { + var data *AlertResourceModel + resp.Diagnostics.Append(req.Config.Get(ctx, &data)...) + if resp.Diagnostics.HasError() { + return } - log.Printf("[INFO] Reading alert %s", id) - alertResp, err := meta.(*clientset.ClientSet).Alerts().GetAlert(ctx, getAlertRequest) + // Get refreshed Alert value from Coralogix + id := data.ID.ValueString() + log.Printf("[INFO] Reading Alert: %s", id) + getAlertReq := &cxsdk.GetAlertDefRequest{Id: wrapperspb.String(id)} + getAlertResp, err := d.client.Get(ctx, getAlertReq) if err != nil { - reqStr := protojson.Format(getAlertRequest) log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, getAlertURL, reqStr)) + if status.Code(err) == codes.NotFound { + resp.Diagnostics.AddWarning(err.Error(), + fmt.Sprintf("Alert %q is in state, but no longer exists in Coralogix backend", id)) + } else { + resp.Diagnostics.AddError( + "Error reading Alert", + formatRpcErrors(err, getAlertURL, protojson.Format(getAlertReq)), + ) + } + return } - alert := alertResp.GetAlert() - log.Printf("[INFO] Received alert: %s", protojson.Format(alert)) - - d.SetId(alert.GetId().GetValue()) + log.Printf("[INFO] Received Alert: %s", protojson.Format(getAlertResp)) - return setAlert(d, alert) + data, diags := flattenAlert(ctx, getAlertResp.GetAlertDef()) + if diags.HasError() { + resp.Diagnostics.Append(diags...) + return + } + // Save data into Terraform state + resp.Diagnostics.Append(resp.State.Set(ctx, &data)...) } diff --git a/coralogix/data_source_coralogix_alert_test.go b/coralogix/data_source_coralogix_alert_test.go index 9a604dde..9cd65bb0 100644 --- a/coralogix/data_source_coralogix_alert_test.go +++ b/coralogix/data_source_coralogix_alert_test.go @@ -17,39 +17,102 @@ package coralogix import ( "testing" - "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" ) var alertDataSourceName = "data." + alertResourceName -func TestAccCoralogixDataSourceAlert_basic(t *testing.T) { - alert := standardAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - groupBy: []string{"EventType"}, - occurrencesThreshold: acctest.RandIntRange(1, 1000), - timeWindow: selectRandomlyFromSlice(alertValidTimeFrames), - deadmanRatio: selectRandomlyFromSlice(alertValidDeadmanRatioValues), - } - +func TestAccCoralogixDataSourceAlert(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckActionDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertStandard(&alert) + - testAccCoralogixDataSourceAlert_read(), + Config: testAccCoralogixResourceAlertLogsImmediateForReading(), Check: resource.ComposeAggregateTestCheckFunc( - resource.TestCheckResourceAttr(alertDataSourceName, "name", alert.name), + resource.TestCheckResourceAttr(alertDataSourceName, "name", "logs-more-than alert example"), ), }, }, }) } -func testAccCoralogixDataSourceAlert_read() string { - return `data "coralogix_alert" "test" { - id = coralogix_alert.test.id +func testAccCoralogixResourceAlertLogsImmediateForReading() string { + return `resource "coralogix_alert" "dstest" { + name = "logs-more-than alert example" + description = "Example of logs-more-than alert example from terraform" + priority = "P2" + + labels = { + alert_type = "security" + security_severity = "high" + } + + notification_group = { + simple_target_settings = [ + { + recipients = ["example@coralogix.com"] + } + ] + } + + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 1 + } + } + + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } + } + + type_definition = { + logs_threshold = { + rules = [ + { + threshold = 2.0 + time_window = "10_MINUTES" + condition = "MORE_THAN" + } + ] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] + } + } + } + } + } +} + +data "coralogix_alert" "test" { + id = coralogix_alert.dstest.id } ` } diff --git a/coralogix/data_source_coralogix_alerts_scheduler.go b/coralogix/data_source_coralogix_alerts_scheduler.go index f4c2b758..8fd279db 100644 --- a/coralogix/data_source_coralogix_alerts_scheduler.go +++ b/coralogix/data_source_coralogix_alerts_scheduler.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,12 +19,13 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" - "terraform-provider-coralogix/coralogix/clientset" - alertsSchedulers "terraform-provider-coralogix/coralogix/clientset/grpc/alerts-scheduler" ) var _ datasource.DataSourceWithConfigure = &AlertsSchedulerDataSource{} @@ -34,7 +35,7 @@ func NewAlertsSchedulerDataSource() datasource.DataSource { } type AlertsSchedulerDataSource struct { - client *clientset.AlertsSchedulersClient + client *cxsdk.AlertSchedulerClient } func (d *AlertsSchedulerDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -76,13 +77,13 @@ func (d *AlertsSchedulerDataSource) Read(ctx context.Context, req datasource.Rea //Get refreshed alerts-scheduler value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading alerts-scheduler: %s", id) - getAlertsSchedulerReq := &alertsSchedulers.GetAlertSchedulerRuleRequest{AlertSchedulerRuleId: id} - getAlertsSchedulerResp, err := d.client.GetAlertScheduler(ctx, getAlertsSchedulerReq) + getAlertsSchedulerReq := &cxsdk.GetAlertSchedulerRuleRequest{AlertSchedulerRuleId: id} + getAlertsSchedulerResp, err := d.client.Get(ctx, getAlertsSchedulerReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading alerts-scheduler", - formatRpcErrors(err, getAlertsSchedulerURL, protojson.Format(getAlertsSchedulerReq)), + formatRpcErrors(err, cxsdk.GetAlertSchedulerRuleRPC, protojson.Format(getAlertsSchedulerReq)), ) return } diff --git a/coralogix/data_source_coralogix_api_key.go b/coralogix/data_source_coralogix_api_key.go index c4c54506..9021ddc6 100644 --- a/coralogix/data_source_coralogix_api_key.go +++ b/coralogix/data_source_coralogix_api_key.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -18,13 +18,11 @@ import ( "context" "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" - apikeys "terraform-provider-coralogix/coralogix/clientset/grpc/apikeys" - + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "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" "google.golang.org/grpc/codes" @@ -38,7 +36,7 @@ func NewApiKeyDataSource() datasource.DataSource { } type ApiKeyDataSource struct { - client *clientset.ApikeysClient + client *cxsdk.ApikeysClient } func (d *ApiKeyDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -54,12 +52,12 @@ func (d *ApiKeyDataSource) Configure(_ context.Context, req datasource.Configure 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), + fmt.Sprintf("Expected *cxsdk.ClientSet, got: %T. Please report this issue to the provider developers.", req.ProviderData), ) return } - d.client = clientSet.ApiKeys() + d.client = clientSet.APIKeys() } func (d *ApiKeyDataSource) Schema(ctx context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse) { @@ -82,11 +80,11 @@ func (d *ApiKeyDataSource) Read(ctx context.Context, req datasource.ReadRequest, //Get refreshed API Keys value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading ApiKey: %s", id) - getApiKey := &apikeys.GetApiKeyRequest{ + getApiKey := &cxsdk.GetAPIKeyRequest{ KeyId: id, } - getApiKeyResponse, err := d.client.GetApiKey(ctx, getApiKey) + getApiKeyResponse, err := d.client.Get(ctx, getApiKey) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -96,7 +94,7 @@ func (d *ApiKeyDataSource) Read(ctx context.Context, req datasource.ReadRequest, } else { resp.Diagnostics.AddError( "Error reading API Keys", - formatRpcErrors(err, getApiKeyPath, protojson.Format(getApiKey)), + formatRpcErrors(err, cxsdk.GetAPIKeyRPC, protojson.Format(getApiKey)), ) } return diff --git a/coralogix/data_source_coralogix_archive_logs.go b/coralogix/data_source_coralogix_archive_logs.go index d6a6b5a7..9b7acd5b 100644 --- a/coralogix/data_source_coralogix_archive_logs.go +++ b/coralogix/data_source_coralogix_archive_logs.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,13 +19,16 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" ) var _ datasource.DataSourceWithConfigure = &ArchiveLogsDataSource{} @@ -35,7 +38,7 @@ func NewArchiveLogsDataSource() datasource.DataSource { } type ArchiveLogsDataSource struct { - client *clientset.ArchiveLogsClient + client *cxsdk.ArchiveLogsClient } func (d *ArchiveLogsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -77,7 +80,7 @@ func (d *ArchiveLogsDataSource) Read(ctx context.Context, req datasource.ReadReq //Get refreshed archive-Logs value from Coralogix id := data.ID.ValueString() log.Print("[INFO] Reading archive-logs") - getResp, err := d.client.GetArchiveLogs(ctx) + getResp, err := d.client.Get(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -88,7 +91,7 @@ func (d *ArchiveLogsDataSource) Read(ctx context.Context, req datasource.ReadReq } else { resp.Diagnostics.AddError( "Error reading archive-logs", - formatRpcErrors(err, getArchiveLogsURL, ""), + formatRpcErrors(err, cxsdk.ArchiveLogsGetTargetRPC, ""), ) } return diff --git a/coralogix/data_source_coralogix_archive_metrics.go b/coralogix/data_source_coralogix_archive_metrics.go index 20b272ab..49e979a5 100644 --- a/coralogix/data_source_coralogix_archive_metrics.go +++ b/coralogix/data_source_coralogix_archive_metrics.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,12 +19,12 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" ) var _ datasource.DataSourceWithConfigure = &ArchiveMetricsDataSource{} @@ -34,7 +34,7 @@ func NewArchiveMetricsDataSource() datasource.DataSource { } type ArchiveMetricsDataSource struct { - client *clientset.ArchiveMetricsClient + client *cxsdk.ArchiveMetricsClient } func (d *ArchiveMetricsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -73,24 +73,15 @@ func (d *ArchiveMetricsDataSource) Read(ctx context.Context, req datasource.Read return } - //Get refreshed archive-metrics value from Coralogix - id := data.ID.ValueString() log.Print("[INFO] Reading archive-metrics") - getResp, err := d.client.GetArchiveMetrics(ctx) + getResp, err := d.client.Get(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - if status.Code(err) == codes.NotFound { - resp.Diagnostics.AddWarning( - err.Error(), - fmt.Sprintf("archive-metrics %q is in state, but no longer exists in Coralogix backend", id), - ) - } else { - resp.Diagnostics.AddError( - "Error reading archive-metrics", - formatRpcErrors(err, getArchiveMetricsURL, ""), - ) - } - return + + resp.Diagnostics.AddError( + "Error reading archive-metrics", + formatRpcErrors(err, cxsdk.ArchiveMetricsGetTenantConfigRPC, ""), + ) } log.Printf("[INFO] Received archive-metrics: %s", protojson.Format(getResp)) diff --git a/coralogix/data_source_coralogix_archive_retentions.go b/coralogix/data_source_coralogix_archive_retentions.go index 63f3cdfa..a51b1fee 100644 --- a/coralogix/data_source_coralogix_archive_retentions.go +++ b/coralogix/data_source_coralogix_archive_retentions.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,7 +19,7 @@ import ( "fmt" "log" - archiveRetention "terraform-provider-coralogix/coralogix/clientset/grpc/archive-retentions" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" @@ -36,7 +36,7 @@ func NewArchiveRetentionsDataSource() datasource.DataSource { } type ArchiveRetentionsDataSource struct { - client *clientset.ArchiveRetentionsClient + client *cxsdk.ArchiveRetentionsClient } func (d *ArchiveRetentionsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -77,13 +77,13 @@ func (d *ArchiveRetentionsDataSource) Read(ctx context.Context, req datasource.R //Get refreshed archive-retentions value from Coralogix log.Print("[INFO] Reading archive-retentions:") - getArchiveRetentionsReq := &archiveRetention.GetRetentionsRequest{} - getArchiveRetentionsResp, err := d.client.GetRetentions(ctx, getArchiveRetentionsReq) + getArchiveRetentionsReq := &cxsdk.GetRetentionsRequest{} + getArchiveRetentionsResp, err := d.client.Get(ctx, getArchiveRetentionsReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading archive-retentions", - formatRpcErrors(err, getArchiveRetentionsURL, protojson.Format(getArchiveRetentionsReq)), + formatRpcErrors(err, cxsdk.ArchiveRetentionGetRetentionsRPC, protojson.Format(getArchiveRetentionsReq)), ) return diff --git a/coralogix/data_source_coralogix_custom_role.go b/coralogix/data_source_coralogix_custom_role.go index f200fa99..8026e65b 100644 --- a/coralogix/data_source_coralogix_custom_role.go +++ b/coralogix/data_source_coralogix_custom_role.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,15 +20,15 @@ import ( "log" "strconv" - roles "terraform-provider-coralogix/coralogix/clientset/grpc/roles" - + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "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" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "terraform-provider-coralogix/coralogix/clientset" ) var _ datasource.DataSourceWithConfigure = &CustomRoleDataSource{} @@ -38,7 +38,7 @@ func NewCustomRoleDataSource() datasource.DataSource { } type CustomRoleDataSource struct { - client *clientset.RolesClient + client *cxsdk.RolesClient } func (d *CustomRoleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -86,11 +86,11 @@ func (d *CustomRoleDataSource) Read(ctx context.Context, req datasource.ReadRequ return } log.Printf("[INFO] Reading Custom Role: %v", roleId) - getCustomRoleReuest := &roles.GetCustomRoleRequest{ + getCustomRoleReuest := &cxsdk.GetCustomRoleRequest{ RoleId: uint32(roleId), } - createCustomRoleResponse, err := d.client.GetRole(ctx, getCustomRoleReuest) + createCustomRoleResponse, err := d.client.Get(ctx, getCustomRoleReuest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -101,7 +101,7 @@ func (d *CustomRoleDataSource) Read(ctx context.Context, req datasource.ReadRequ } else { resp.Diagnostics.AddError( "Error reading custom role", - formatRpcErrors(err, getRolePath, protojson.Format(getCustomRoleReuest)), + formatRpcErrors(err, cxsdk.RolesGetCustomRoleRPC, protojson.Format(getCustomRoleReuest)), ) } return diff --git a/coralogix/data_source_coralogix_dashboard.go b/coralogix/data_source_coralogix_dashboard.go index 6c3cfee9..a44f112a 100644 --- a/coralogix/data_source_coralogix_dashboard.go +++ b/coralogix/data_source_coralogix_dashboard.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,14 +20,12 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" "google.golang.org/protobuf/encoding/protojson" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/wrapperspb" ) @@ -38,7 +36,7 @@ func NewDashboardDataSource() datasource.DataSource { } type DashboardDataSource struct { - client *clientset.DashboardsClient + client *cxsdk.DashboardsClient } func (d *DashboardDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -80,19 +78,14 @@ func (d *DashboardDataSource) Read(ctx context.Context, req datasource.ReadReque //Get refreshed Dashboard value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading Dashboard: %s", id) - getDashboardReq := &dashboards.GetDashboardRequest{DashboardId: wrapperspb.String(id)} - getDashboardResp, err := d.client.GetDashboard(ctx, getDashboardReq) + getDashboardReq := &cxsdk.GetDashboardRequest{DashboardId: wrapperspb.String(id)} + getDashboardResp, err := d.client.Get(ctx, getDashboardReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - if status.Code(err) == codes.NotFound { - resp.Diagnostics.AddWarning(err.Error(), - fmt.Sprintf("Dashboard %q is in state, but no longer exists in Coralogix backend", id)) - } else { - resp.Diagnostics.AddError( - "Error reading Dashboard", - formatRpcErrors(err, getDashboardURL, protojson.Format(getDashboardReq)), - ) - } + resp.Diagnostics.AddError( + "Error reading Dashboard", + formatRpcErrors(err, cxsdk.GetDashboardRPC, protojson.Format(getDashboardReq)), + ) return } log.Printf("[INFO] Received Dashboard: %s", protojson.Format(getDashboardResp)) diff --git a/coralogix/data_source_coralogix_dashboards_folder.go b/coralogix/data_source_coralogix_dashboards_folder.go index 564d03ab..b9d9cc93 100644 --- a/coralogix/data_source_coralogix_dashboards_folder.go +++ b/coralogix/data_source_coralogix_dashboards_folder.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,12 +19,11 @@ import ( "fmt" "log" - dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" - "google.golang.org/protobuf/encoding/protojson" "terraform-provider-coralogix/coralogix/clientset" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" ) @@ -36,7 +35,7 @@ func NewDashboardsFoldersDataSource() datasource.DataSource { } type DashboardsFolderDataSource struct { - client *clientset.DashboardsFoldersClient + client *cxsdk.DashboardsFoldersClient } func (d *DashboardsFolderDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -77,18 +76,18 @@ func (d *DashboardsFolderDataSource) Read(ctx context.Context, req datasource.Re //Get refreshed dashboards-folder value from Coralogix log.Print("[INFO] Reading dashboards-folders") - getDashboardsFolders, err := d.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + getDashboardsFolders, err := d.client.List(ctx) 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{})), + formatRpcErrors(err, cxsdk.GetDashboardRPC, protojson.Format(&cxsdk.ListDashboardFolderRequest{})), ) return } log.Printf("[INFO] Received dashboards-folders: %s", protojson.Format(getDashboardsFolders)) - var dashboardsFolder *dashboards.DashboardFolder + var dashboardsFolder *cxsdk.DashboardFolder for _, folder := range getDashboardsFolders.GetFolder() { if folder.GetId().GetValue() == data.ID.ValueString() { dashboardsFolder = folder diff --git a/coralogix/data_source_coralogix_data_set.go b/coralogix/data_source_coralogix_data_set.go index 4ec774fe..304f021d 100644 --- a/coralogix/data_source_coralogix_data_set.go +++ b/coralogix/data_source_coralogix_data_set.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,8 +19,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - enrichmentv1 "terraform-provider-coralogix/coralogix/clientset/grpc/enrichment/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" @@ -44,13 +44,13 @@ func dataSourceCoralogixDataSet() *schema.Resource { func dataSourceCoralogixDataSetRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { id := d.Get("id").(string) - req := &enrichmentv1.GetCustomEnrichmentRequest{Id: wrapperspb.UInt32(strToUint32(id))} + req := &cxsdk.GetDataSetRequest{Id: wrapperspb.UInt32(strToUint32(id))} log.Printf("[INFO] Reading custom-enrichment-data %s", id) - enrichmentResp, err := meta.(*clientset.ClientSet).DataSet().GetDataSet(ctx, req) + enrichmentResp, err := meta.(*clientset.ClientSet).DataSet().Get(ctx, req) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) reqStr := protojson.Format(req) - return diag.Errorf(formatRpcErrors(err, getDataSetURL, reqStr)) + return diag.Errorf(formatRpcErrors(err, cxsdk.GetDataSetRPC, reqStr)) } log.Printf("[INFO] Received custom-enrichment-data: %s", protojson.Format(enrichmentResp)) diff --git a/coralogix/data_source_coralogix_enrichment.go b/coralogix/data_source_coralogix_enrichment.go index 1a2a9115..faab849b 100644 --- a/coralogix/data_source_coralogix_enrichment.go +++ b/coralogix/data_source_coralogix_enrichment.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,7 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - enrichmentv1 "terraform-provider-coralogix/coralogix/clientset/grpc/enrichment/v1" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" @@ -45,20 +46,20 @@ func dataSourceCoralogixEnrichment() *schema.Resource { func dataSourceCoralogixEnrichmentRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { id := d.Get("id").(string) log.Print("[INFO] Reading enrichment") - var enrichmentResp []*enrichmentv1.Enrichment + var enrichmentResp []*cxsdk.Enrichment var err error var enrichmentType string if id == "geo_ip" || id == "suspicious_ip" || id == "aws" { enrichmentType = id - enrichmentResp, err = meta.(*clientset.ClientSet).Enrichments().GetEnrichmentsByType(ctx, id) + enrichmentResp, err = EnrichmentsByType(ctx, meta.(*clientset.ClientSet).Enrichments(), id) } else { enrichmentType = "custom" - enrichmentResp, err = meta.(*clientset.ClientSet).Enrichments().GetCustomEnrichments(ctx, strToUint32(id)) + enrichmentResp, err = EnrichmentsByID(ctx, meta.(*clientset.ClientSet).Enrichments(), strToUint32(id)) } if err != nil { - reqStr := protojson.Format(&enrichmentv1.GetEnrichmentsRequest{}) + reqStr := protojson.Format(&cxsdk.GetEnrichmentsRequest{}) log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, getEnrichmentsURL, reqStr)) + return diag.Errorf(formatRpcErrors(err, cxsdk.GetEnrichmentsRPC, reqStr)) } var enrichmentStr string diff --git a/coralogix/data_source_coralogix_events2meric.go b/coralogix/data_source_coralogix_events2metric.go similarity index 90% rename from coralogix/data_source_coralogix_events2meric.go rename to coralogix/data_source_coralogix_events2metric.go index e93034a9..ed7a4d06 100644 --- a/coralogix/data_source_coralogix_events2meric.go +++ b/coralogix/data_source_coralogix_events2metric.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,8 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - e2m "terraform-provider-coralogix/coralogix/clientset/grpc/events2metrics/v2" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-framework/datasource" @@ -38,7 +38,7 @@ func NewEvents2MetricDataSource() datasource.DataSource { } type Events2MetricDataSource struct { - client *clientset.Events2MetricsClient + client *cxsdk.Events2MetricsClient } func (d *Events2MetricDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -80,8 +80,8 @@ func (d *Events2MetricDataSource) Read(ctx context.Context, req datasource.ReadR //Get refreshed Events2Metric value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading Events2metric: %s", id) - getE2MReq := &e2m.GetE2MRequest{Id: wrapperspb.String(id)} - getE2MResp, err := d.client.GetEvents2Metric(ctx, getE2MReq) + getE2MReq := &cxsdk.GetE2MRequest{Id: wrapperspb.String(id)} + getE2MResp, err := d.client.Get(ctx, getE2MReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -92,7 +92,7 @@ func (d *Events2MetricDataSource) Read(ctx context.Context, req datasource.ReadR } else { resp.Diagnostics.AddError( "Error reading Events2Metric", - formatRpcErrors(err, getEvents2MetricURL, protojson.Format(getE2MReq)), + formatRpcErrors(err, cxsdk.E2MGetRPC, protojson.Format(getE2MReq)), ) } return diff --git a/coralogix/data_source_coralogix_events2meric_test.go b/coralogix/data_source_coralogix_events2metric_test.go similarity index 100% rename from coralogix/data_source_coralogix_events2meric_test.go rename to coralogix/data_source_coralogix_events2metric_test.go diff --git a/coralogix/data_source_coralogix_group.go b/coralogix/data_source_coralogix_group.go index 5d4899ab..ff3104ab 100644 --- a/coralogix/data_source_coralogix_group.go +++ b/coralogix/data_source_coralogix_group.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,12 +20,11 @@ import ( "fmt" "log" - "terraform-provider-coralogix/coralogix/clientset" - "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + "terraform-provider-coralogix/coralogix/clientset" ) var _ datasource.DataSourceWithConfigure = &GroupDataSource{} diff --git a/coralogix/data_source_coralogix_integration.go b/coralogix/data_source_coralogix_integration.go index 8172e243..6fe4fb78 100644 --- a/coralogix/data_source_coralogix_integration.go +++ b/coralogix/data_source_coralogix_integration.go @@ -20,7 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - integrations "terraform-provider-coralogix/coralogix/clientset/grpc/integrations" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" @@ -30,7 +31,7 @@ import ( var ( _ datasource.DataSourceWithConfigure = &IntegrationDataSource{} - getIntegrationURL = integrations.IntegrationService_GetDeployedIntegration_FullMethodName + getIntegrationURL = cxsdk.GetDeployedIntegrationRPC ) func NewIntegrationDataSource() datasource.DataSource { @@ -38,7 +39,7 @@ func NewIntegrationDataSource() datasource.DataSource { } type IntegrationDataSource struct { - client *clientset.IntegrationsClient + client *cxsdk.IntegrationsClient } func (d *IntegrationDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -78,7 +79,7 @@ func (d *IntegrationDataSource) Read(ctx context.Context, req datasource.ReadReq return } - getIntegrationReq := &integrations.GetDeployedIntegrationRequest{ + getIntegrationReq := &cxsdk.GetDeployedIntegrationRequest{ IntegrationId: wrapperspb.String(data.ID.ValueString()), } log.Printf("[INFO] Reading Integrations: %s", protojson.Format(getIntegrationReq)) diff --git a/coralogix/data_source_coralogix_recording_rules_group.go b/coralogix/data_source_coralogix_recording_rules_group.go index 6f84c387..1bae58a6 100644 --- a/coralogix/data_source_coralogix_recording_rules_group.go +++ b/coralogix/data_source_coralogix_recording_rules_group.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,8 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - rrgs "terraform-provider-coralogix/coralogix/clientset/grpc/recording-rules-groups-sets/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-framework/datasource" @@ -37,7 +37,7 @@ func NewRecordingRuleGroupSetDataSource() datasource.DataSource { } type RecordingRuleGroupSetDataSource struct { - client *clientset.RecordingRulesGroupsSetsClient + client *cxsdk.RecordingRuleGroupSetsClient } func (d *RecordingRuleGroupSetDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -79,8 +79,8 @@ func (d *RecordingRuleGroupSetDataSource) Read(ctx context.Context, req datasour //Get refreshed recording-rule-group-set value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading recording-rule-group-set: %s", id) - getReq := &rrgs.FetchRuleGroupSet{Id: id} - getResp, err := d.client.GetRecordingRuleGroupsSet(ctx, getReq) + getReq := &cxsdk.GetRuleGroupSetRequest{Id: id} + getResp, err := d.client.Get(ctx, getReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { diff --git a/coralogix/data_source_coralogix_rules_group.go b/coralogix/data_source_coralogix_rules_group.go index b9314e57..afa588a7 100644 --- a/coralogix/data_source_coralogix_rules_group.go +++ b/coralogix/data_source_coralogix_rules_group.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,8 +19,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - v1 "terraform-provider-coralogix/coralogix/clientset/grpc/rules-groups/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" @@ -43,16 +43,16 @@ func dataSourceCoralogixRulesGroup() *schema.Resource { func dataSourceCoralogixRulesGroupRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { id := d.Get("id").(string) - getRuleGroupRequest := &v1.GetRuleGroupRequest{ + getRuleGroupRequest := &cxsdk.GetRuleGroupRequest{ GroupId: id, } log.Printf("[INFO] Reading rule-group %s", id) - ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().GetRuleGroup(ctx, getRuleGroupRequest) + ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().Get(ctx, getRuleGroupRequest) if err != nil { reqStr := protojson.Format(getRuleGroupRequest) log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, getParsingRuleURL, reqStr)) + return diag.Errorf(formatRpcErrors(err, cxsdk.RuleGroupsGetRuleGroupRPC, reqStr)) } ruleGroup := ruleGroupResp.GetRuleGroup() log.Printf("[INFO] Received rule-group: %s", protojson.Format(ruleGroup)) diff --git a/coralogix/data_source_coralogix_scope.go b/coralogix/data_source_coralogix_scope.go index e0f2359a..45cd9253 100644 --- a/coralogix/data_source_coralogix_scope.go +++ b/coralogix/data_source_coralogix_scope.go @@ -20,16 +20,15 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - scopes "terraform-provider-coralogix/coralogix/clientset/grpc/scopes" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" "google.golang.org/protobuf/encoding/protojson" ) var ( - _ datasource.DataSourceWithConfigure = &ScopeDataSource{} - getScopeURL = scopes.ScopesService_GetTeamScopesByIds_FullMethodName + _ datasource.DataSourceWithConfigure = &ScopeDataSource{} ) func NewScopeDataSource() datasource.DataSource { @@ -37,7 +36,7 @@ func NewScopeDataSource() datasource.DataSource { } type ScopeDataSource struct { - client *clientset.ScopesClient + client *cxsdk.ScopesClient } func (d *ScopeDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -77,7 +76,7 @@ func (d *ScopeDataSource) Read(ctx context.Context, req datasource.ReadRequest, return } - getScopeReq := &scopes.GetTeamScopesByIdsRequest{ + getScopeReq := &cxsdk.GetTeamScopesByIDsRequest{ Ids: []string{data.ID.ValueString()}, } log.Printf("[INFO] Reading Scopes: %s", protojson.Format(getScopeReq)) @@ -86,7 +85,7 @@ func (d *ScopeDataSource) Read(ctx context.Context, req datasource.ReadRequest, log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading Scope", - formatRpcErrors(err, getScopeURL, protojson.Format(getScopeReq)), + formatRpcErrors(err, cxsdk.GetTeamScopesByIDsRPC, protojson.Format(getScopeReq)), ) return } diff --git a/coralogix/data_source_coralogix_scope_test.go b/coralogix/data_source_coralogix_scope_test.go index 3ecd9d2b..911b6895 100644 --- a/coralogix/data_source_coralogix_scope_test.go +++ b/coralogix/data_source_coralogix_scope_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package coralogix import ( diff --git a/coralogix/data_source_coralogix_slo.go b/coralogix/data_source_coralogix_slo.go index 84be3010..4fe26afd 100644 --- a/coralogix/data_source_coralogix_slo.go +++ b/coralogix/data_source_coralogix_slo.go @@ -20,7 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - slos "terraform-provider-coralogix/coralogix/clientset/grpc/slo" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" @@ -35,7 +36,7 @@ func NewSLODataSource() datasource.DataSource { } type SLODataSource struct { - client *clientset.SLOsClient + client *cxsdk.SLOsClient } func (d *SLODataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -77,8 +78,8 @@ func (d *SLODataSource) Read(ctx context.Context, req datasource.ReadRequest, re //Get refreshed sli value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading SLO: %s", id) - getSLOReq := &slos.GetServiceSloRequest{Id: wrapperspb.String(id)} - getSLOResp, err := d.client.GetSLO(ctx, getSLOReq) + getSLOReq := &cxsdk.GetServiceSloRequest{Id: wrapperspb.String(id)} + getSLOResp, err := d.client.Get(ctx, getSLOReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -89,7 +90,7 @@ func (d *SLODataSource) Read(ctx context.Context, req datasource.ReadRequest, re } else { resp.Diagnostics.AddError( "Error reading SLO", - formatRpcErrors(err, getSloUrl, protojson.Format(getSLOReq)), + formatRpcErrors(err, cxsdk.SloGetRPC, protojson.Format(getSLOReq)), ) } return diff --git a/coralogix/data_source_coralogix_tco_policies_logs.go b/coralogix/data_source_coralogix_tco_policies_logs.go index b5e4ae78..999a2960 100644 --- a/coralogix/data_source_coralogix_tco_policies_logs.go +++ b/coralogix/data_source_coralogix_tco_policies_logs.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,13 +20,14 @@ import ( "log" "time" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" datasourceschema "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/resource" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" - tcopolicies "terraform-provider-coralogix/coralogix/clientset/grpc/tco-policies" ) var _ datasource.DataSourceWithConfigure = &TCOPoliciesLogsDataSource{} @@ -36,7 +37,7 @@ func NewTCOPoliciesLogsDataSource() datasource.DataSource { } type TCOPoliciesLogsDataSource struct { - client *clientset.TCOPoliciesClient + client *cxsdk.TCOPoliciesClient } func (d *TCOPoliciesLogsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -79,14 +80,14 @@ func (d *TCOPoliciesLogsDataSource) Read(ctx context.Context, _ datasource.ReadR ctx, cancel := context.WithTimeout(ctx, 60*time.Second) defer cancel() - getPoliciesReq := &tcopolicies.GetCompanyPoliciesRequest{SourceType: &logSource} + getPoliciesReq := &cxsdk.GetCompanyPoliciesRequest{SourceType: &logSource} log.Printf("[INFO] Reading tco-policies-logs") - getPoliciesResp, err := d.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err := d.client.List(ctx, getPoliciesReq) for err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if retryableStatusCode(status.Code(err)) { log.Print("[INFO] Retrying to read tco-policies-logs") - getPoliciesResp, err = d.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err = d.client.List(ctx, getPoliciesReq) continue } resp.Diagnostics.AddError( diff --git a/coralogix/data_source_coralogix_tco_policies_traces.go b/coralogix/data_source_coralogix_tco_policies_traces.go index 0e33d62e..db4b80af 100644 --- a/coralogix/data_source_coralogix_tco_policies_traces.go +++ b/coralogix/data_source_coralogix_tco_policies_traces.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,9 +20,10 @@ import ( "log" "time" - datasourceschema "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "terraform-provider-coralogix/coralogix/clientset" - tcopolicies "terraform-provider-coralogix/coralogix/clientset/grpc/tco-policies" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + datasourceschema "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "google.golang.org/protobuf/encoding/protojson" @@ -38,7 +39,7 @@ func NewTCOPoliciesTracesDataSource() datasource.DataSource { } type TCOPoliciesTracesDataSource struct { - client *clientset.TCOPoliciesClient + client *cxsdk.TCOPoliciesClient } func (d *TCOPoliciesTracesDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -81,14 +82,14 @@ func (d *TCOPoliciesTracesDataSource) Read(ctx context.Context, _ datasource.Rea ctx, cancel := context.WithTimeout(ctx, 60*time.Second) defer cancel() - getPoliciesReq := &tcopolicies.GetCompanyPoliciesRequest{SourceType: &tracesSource} + getPoliciesReq := &cxsdk.GetCompanyPoliciesRequest{SourceType: &tracesSource} log.Printf("[INFO] Reading tco-policies-traces") - getPoliciesResp, err := d.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err := d.client.List(ctx, getPoliciesReq) for err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if retryableStatusCode(status.Code(err)) { log.Print("[INFO] Retrying to read tco-policies-traces") - getPoliciesResp, err = d.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err = d.client.List(ctx, getPoliciesReq) continue } resp.Diagnostics.AddError( diff --git a/coralogix/data_source_coralogix_team.go b/coralogix/data_source_coralogix_team.go index 31a7f271..3362c1f2 100644 --- a/coralogix/data_source_coralogix_team.go +++ b/coralogix/data_source_coralogix_team.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -18,21 +18,22 @@ import ( "context" "fmt" "log" + "math" "strconv" "terraform-provider-coralogix/coralogix/clientset" - teams "terraform-provider-coralogix/coralogix/clientset/grpc/teams" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" ) var ( - _ datasource.DataSourceWithConfigure = &TeamDataSource{} - getTeamURL = "com.coralogixapis.aaa.organisations.v2.TeamService/GetTeam" + _ datasource.DataSourceWithConfigure = &TeamDataSource{} ) func NewTeamDataSource() datasource.DataSource { @@ -40,7 +41,7 @@ func NewTeamDataSource() datasource.DataSource { } type TeamDataSource struct { - client *clientset.TeamsClient + client *cxsdk.TeamsClient } func (d *TeamDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -88,13 +89,13 @@ func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, r ) return } - getTeamReq := &teams.GetTeamRequest{ - TeamId: &teams.TeamId{ + getTeamReq := &cxsdk.GetTeamRequest{ + TeamId: &cxsdk.TeamID{ Id: uint32(intId), }, } log.Printf("[INFO] Reading Team: %s", protojson.Format(getTeamReq)) - getTeamResp, err := d.client.GetTeam(ctx, getTeamReq) + getTeamResp, err := d.client.Get(ctx, getTeamReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -105,14 +106,19 @@ func (d *TeamDataSource) Read(ctx context.Context, req datasource.ReadRequest, r } else { resp.Diagnostics.AddError( "Error reading Team", - formatRpcErrors(err, getTeamURL, protojson.Format(getTeamReq)), + formatRpcErrors(err, cxsdk.GetTeamRPC, protojson.Format(getTeamReq)), ) } return } log.Printf("[INFO] Received Team: %s", protojson.Format(getTeamResp)) - data = flattenTeam(getTeamResp) + data = &TeamResourceModel{ + ID: types.StringValue(strconv.Itoa(int(getTeamResp.GetTeamId().GetId()))), + Name: types.StringValue(getTeamResp.GetTeamName()), + Retention: types.Int64Value(int64(getTeamResp.GetRetention())), + DailyQuota: types.Float64Value(math.Round(getTeamResp.GetDailyQuota()*1000) / 1000), + } // Set state to fully populated data diags = resp.State.Set(ctx, &data) resp.Diagnostics.Append(diags...) diff --git a/coralogix/data_source_coralogix_team_test.go b/coralogix/data_source_coralogix_team_test.go deleted file mode 100644 index 597021af..00000000 --- a/coralogix/data_source_coralogix_team_test.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package coralogix - -// -//import ( -// "testing" -// -// "github.com/hashicorp/terraform-plugin-testing/helper/resource" -//) -// -//var teamDataSourceName = "data." + teamResourceName -// -//func TestAccCoralogixDataSourceTeam_basic(t *testing.T) { -// resource.Test(t, resource.TestCase{ -// PreCheck: func() { testAccPreCheck(t) }, -// ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, -// Steps: []resource.TestStep{ -// { -// Config: testAccCoralogixResourceTeam() + -// testAccCoralogixDataSourceTeam_read(), -// Check: resource.ComposeAggregateTestCheckFunc( -// resource.TestCheckResourceAttr(teamDataSourceName, "name", "example"), -// ), -// }, -// }, -// }) -//} -// -//func testAccCoralogixDataSourceTeam_read() string { -// return `data "coralogix_team" "test" { -// id = coralogix_team.test.id -// } -//` -//} diff --git a/coralogix/data_source_coralogix_user.go b/coralogix/data_source_coralogix_user.go index 249ec7a8..40306751 100644 --- a/coralogix/data_source_coralogix_user.go +++ b/coralogix/data_source_coralogix_user.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,11 +20,13 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/resource" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "terraform-provider-coralogix/coralogix/clientset" ) var _ datasource.DataSourceWithConfigure = &UserDataSource{} @@ -34,7 +36,7 @@ func NewUserDataSource() datasource.DataSource { } type UserDataSource struct { - client *clientset.UsersClient + client *cxsdk.UsersClient } func (d *UserDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -76,7 +78,7 @@ func (d *UserDataSource) Read(ctx context.Context, req datasource.ReadRequest, r //Get refreshed User value from Coralogix id := data.ID.ValueString() log.Printf("[INFO] Reading User: %s", id) - getUserResp, err := d.client.GetUser(ctx, id) + getUserResp, err := d.client.Get(ctx, id) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -87,7 +89,7 @@ func (d *UserDataSource) Read(ctx context.Context, req datasource.ReadRequest, r } else { resp.Diagnostics.AddError( "Error reading User", - formatRpcErrors(err, fmt.Sprintf("%s/%s", d.client.TargetUrl, id), ""), + formatRpcErrors(err, fmt.Sprintf("%s/%s", d.client.BaseURL(), id), ""), ) } return diff --git a/coralogix/data_source_coralogix_webhook.go b/coralogix/data_source_coralogix_webhook.go index 820c4722..75c61671 100644 --- a/coralogix/data_source_coralogix_webhook.go +++ b/coralogix/data_source_coralogix_webhook.go @@ -20,7 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - "terraform-provider-coralogix/coralogix/clientset/grpc/webhooks" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" "github.com/hashicorp/terraform-plugin-framework/datasource" @@ -41,7 +42,7 @@ func NewWebhookDataSource() datasource.DataSource { } type WebhookDataSource struct { - client *clientset.WebhooksClient + client *cxsdk.WebhooksClient } func (d *WebhookDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { @@ -98,7 +99,7 @@ func (d *WebhookDataSource) Read(ctx context.Context, req datasource.ReadRequest id := data.ID.ValueString() name := data.Name.ValueString() - var getWebhookResp *webhooks.GetOutgoingWebhookResponse + var getWebhookResp *cxsdk.GetOutgoingWebhookResponse var err error if id != "" { @@ -109,14 +110,14 @@ func (d *WebhookDataSource) Read(ctx context.Context, req datasource.ReadRequest } else if name != "" { log.Printf("[INFO] Listing Webhooks to find by name: %s", name) - listWebhookReq := &webhooks.ListAllOutgoingWebhooksRequest{} - listWebhookResp, err := d.client.ListWebhooks(ctx, listWebhookReq) + listWebhookReq := &cxsdk.ListAllOutgoingWebhooksRequest{} + listWebhookResp, err := d.client.List(ctx, listWebhookReq) if err != nil { log.Printf("[ERROR] Received error when listing webhooks: %s", err.Error()) listWebhookReqStr := protojson.Format(listWebhookReq) resp.Diagnostics.AddError( "Error listing Webhooks", - formatRpcErrors(err, "ListWebhooks", listWebhookReqStr), + formatRpcErrors(err, "List", listWebhookReqStr), ) return } @@ -164,10 +165,10 @@ func (d *WebhookDataSource) Read(ctx context.Context, req datasource.ReadRequest resp.Diagnostics.Append(resp.State.Set(ctx, &data)...) } -func (d *WebhookDataSource) fetchWebhookByID(ctx context.Context, id string, resp *datasource.ReadResponse) (*webhooks.GetOutgoingWebhookResponse, error) { +func (d *WebhookDataSource) fetchWebhookByID(ctx context.Context, id string, resp *datasource.ReadResponse) (*cxsdk.GetOutgoingWebhookResponse, error) { log.Printf("[INFO] Reading Webhook by ID: %s", id) - getWebhookReq := &webhooks.GetOutgoingWebhookRequest{Id: wrapperspb.String(id)} - getWebhookResp, err := d.client.GetWebhook(ctx, getWebhookReq) + getWebhookReq := &cxsdk.GetOutgoingWebhookRequest{Id: wrapperspb.String(id)} + getWebhookResp, err := d.client.Get(ctx, getWebhookReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { diff --git a/coralogix/provider.go b/coralogix/provider.go index b3776ed6..5fb76697 100644 --- a/coralogix/provider.go +++ b/coralogix/provider.go @@ -90,7 +90,6 @@ func OldProvider() *oldSchema.Provider { DataSourcesMap: map[string]*oldSchema.Resource{ "coralogix_rules_group": dataSourceCoralogixRulesGroup(), - "coralogix_alert": dataSourceCoralogixAlert(), "coralogix_enrichment": dataSourceCoralogixEnrichment(), "coralogix_data_set": dataSourceCoralogixDataSet(), "coralogix_hosted_dashboard": dataSourceCoralogixHostedDashboard(), @@ -98,7 +97,6 @@ func OldProvider() *oldSchema.Provider { ResourcesMap: map[string]*oldSchema.Resource{ "coralogix_rules_group": resourceCoralogixRulesGroup(), - "coralogix_alert": resourceCoralogixAlert(), "coralogix_enrichment": resourceCoralogixEnrichment(), "coralogix_data_set": resourceCoralogixDataSet(), "coralogix_hosted_dashboard": resourceCoralogixHostedDashboard(), @@ -328,6 +326,7 @@ func (p *coralogixProvider) DataSources(context.Context) []func() datasource.Dat NewTeamDataSource, NewScopeDataSource, NewIntegrationDataSource, + NewAlertDataSource, } } @@ -353,5 +352,6 @@ func (p *coralogixProvider) Resources(context.Context) []func() resource.Resourc NewUserResource, NewScopeResource, NewIntegrationResource, + NewAlertResource, } } diff --git a/coralogix/provider_test.go b/coralogix/provider_test.go index d7ef3b89..a0bab5da 100644 --- a/coralogix/provider_test.go +++ b/coralogix/provider_test.go @@ -57,7 +57,7 @@ func testAccPreCheck(t *testing.T) { t.Fatalf("CORALOGIX_API_KEY must be set for acceptance tests") } - if os.Getenv("CORALOGIX_ENV") == "" { - t.Fatalf("CORALOGIX_ENV must be set for acceptance tests") + if os.Getenv("CORALOGIX_ENV") == "" && os.Getenv("CORALOGIX_DOMAIN") == "" { + t.Fatalf("CORALOGIX_ENV or CORALOGIX_DOMAIN must be set for acceptance tests") } } diff --git a/coralogix/resource_coralogix_action.go b/coralogix/resource_coralogix_action.go index c9c8a5a0..c9c46ef2 100644 --- a/coralogix/resource_coralogix_action.go +++ b/coralogix/resource_coralogix_action.go @@ -12,16 +12,29 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package coralogix import ( "context" "fmt" "log" - "terraform-provider-coralogix/coralogix/clientset" - actions "terraform-provider-coralogix/coralogix/clientset/grpc/actions/v2" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-framework-validators/setvalidator" @@ -43,16 +56,12 @@ import ( var ( _ resource.ResourceWithConfigure = &ActionResource{} _ resource.ResourceWithImportState = &ActionResource{} - actionSchemaSourceTypeToProtoSourceType = map[string]actions.SourceType{ - "Log": actions.SourceType_SOURCE_TYPE_LOG, - "DataMap": actions.SourceType_SOURCE_TYPE_DATA_MAP, + actionSchemaSourceTypeToProtoSourceType = map[string]cxsdk.SourceType{ + "Log": cxsdk.SourceTypeLog, + "DataMap": cxsdk.SourceTypeDataMap, } actionProtoSourceTypeToSchemaSourceType = ReverseMap(actionSchemaSourceTypeToProtoSourceType) actionValidSourceTypes = GetKeys(actionSchemaSourceTypeToProtoSourceType) - createActionURL = "com.coralogixapis.actions.v2.ActionsService/CreateAction" - updateActionURL = "com.coralogixapis.actions.v2.ActionsService/ReplaceAction" - getActionURL = "com.coralogixapis.actions.v2.ActionsService/GetAction" - deleteActionURL = "com.coralogixapis.actions.v2.ActionsService/DeleteAction" ) func NewActionResource() resource.Resource { @@ -60,7 +69,7 @@ func NewActionResource() resource.Resource { } type ActionResource struct { - client *clientset.ActionsClient + client *cxsdk.ActionsClient } func (r *ActionResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -175,11 +184,11 @@ func (r *ActionResource) Create(ctx context.Context, req resource.CreateRequest, } actionStr := protojson.Format(createActionRequest) log.Printf("[INFO] Creating new action: %s", actionStr) - createResp, err := r.client.CreateAction(ctx, createActionRequest) + createResp, err := r.client.Create(ctx, createActionRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err) resp.Diagnostics.AddError("Error creating Action", - formatRpcErrors(err, createActionURL, actionStr), + formatRpcErrors(err, cxsdk.CreateActionRPC, actionStr), ) return } @@ -193,7 +202,7 @@ func (r *ActionResource) Create(ctx context.Context, req resource.CreateRequest, resp.Diagnostics.Append(diags...) } -func flattenAction(action *actions.Action) ActionResourceModel { +func flattenAction(action *cxsdk.Action) ActionResourceModel { return ActionResourceModel{ ID: types.StringValue(action.GetId().GetValue()), Name: types.StringValue(action.GetName().GetValue()), @@ -218,8 +227,8 @@ func (r *ActionResource) Read(ctx context.Context, req resource.ReadRequest, res //Get refreshed Action value from Coralogix id := state.ID.ValueString() log.Printf("[INFO] Reading Action: %s", id) - getActionReq := &actions.GetActionRequest{Id: wrapperspb.String(id)} - getActionResp, err := r.client.GetAction(ctx, getActionReq) + getActionReq := &cxsdk.GetActionRequest{Id: wrapperspb.String(id)} + getActionResp, err := r.client.Get(ctx, getActionReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -231,7 +240,7 @@ func (r *ActionResource) Read(ctx context.Context, req resource.ReadRequest, res } else { resp.Diagnostics.AddError( "Error reading Action", - formatRpcErrors(err, getActionURL, protojson.Format(getActionReq)), + formatRpcErrors(err, cxsdk.GetActionRPC, protojson.Format(getActionReq)), ) } return @@ -260,12 +269,12 @@ func (r ActionResource) Update(ctx context.Context, req resource.UpdateRequest, return } log.Printf("[INFO] Updating Action: %s", protojson.Format(actionUpdateReq)) - actionUpdateResp, err := r.client.UpdateAction(ctx, actionUpdateReq) + actionUpdateResp, err := r.client.Replace(ctx, actionUpdateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating Action", - formatRpcErrors(err, updateActionURL, protojson.Format(actionUpdateReq)), + formatRpcErrors(err, cxsdk.ReplaceActionRPC, protojson.Format(actionUpdateReq)), ) return } @@ -273,8 +282,8 @@ func (r ActionResource) Update(ctx context.Context, req resource.UpdateRequest, // Get refreshed Action value from Coralogix id := plan.ID.ValueString() - getActionReq := &actions.GetActionRequest{Id: wrapperspb.String(id)} - getActionResp, err := r.client.GetAction(ctx, getActionReq) + getActionReq := &cxsdk.GetActionRequest{Id: wrapperspb.String(id)} + getActionResp, err := r.client.Get(ctx, getActionReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -286,7 +295,7 @@ func (r ActionResource) Update(ctx context.Context, req resource.UpdateRequest, } else { resp.Diagnostics.AddError( "Error reading Action", - formatRpcErrors(err, getActionURL, protojson.Format(getActionReq)), + formatRpcErrors(err, cxsdk.GetActionRPC, protojson.Format(getActionReq)), ) } return @@ -310,11 +319,11 @@ func (r ActionResource) Delete(ctx context.Context, req resource.DeleteRequest, id := state.ID.ValueString() log.Printf("[INFO] Deleting Action %s", id) - deleteReq := &actions.DeleteActionRequest{Id: wrapperspb.String(id)} - if _, err := r.client.DeleteAction(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.DeleteActionRequest{Id: wrapperspb.String(id)} + if _, err := r.client.Delete(ctx, deleteReq); err != nil { resp.Diagnostics.AddError( fmt.Sprintf("Error Deleting Action %s", id), - formatRpcErrors(err, deleteActionURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.DeleteActionRPC, protojson.Format(deleteReq)), // TODO update with IAC-151 ) return } @@ -333,7 +342,7 @@ type ActionResourceModel struct { IsHidden types.Bool `tfsdk:"is_hidden"` } -func extractCreateAction(ctx context.Context, plan ActionResourceModel) (*actions.CreateActionRequest, diag.Diagnostics) { +func extractCreateAction(ctx context.Context, plan ActionResourceModel) (*cxsdk.CreateActionRequest, diag.Diagnostics) { var diags diag.Diagnostics name := typeStringToWrapperspbString(plan.Name) url := typeStringToWrapperspbString(plan.URL) @@ -344,7 +353,7 @@ func extractCreateAction(ctx context.Context, plan ActionResourceModel) (*action subsystemNames, dgs := typeStringSliceToWrappedStringSlice(ctx, plan.Subsystems.Elements()) diags = append(diags, dgs...) - return &actions.CreateActionRequest{ + return &cxsdk.CreateActionRequest{ Name: name, Url: url, IsPrivate: isPrivate, @@ -354,7 +363,7 @@ func extractCreateAction(ctx context.Context, plan ActionResourceModel) (*action }, diags } -func extractUpdateAction(ctx context.Context, plan ActionResourceModel) (*actions.ReplaceActionRequest, diag.Diagnostics) { +func extractUpdateAction(ctx context.Context, plan ActionResourceModel) (*cxsdk.ReplaceActionRequest, diag.Diagnostics) { var diags diag.Diagnostics id := wrapperspb.String(plan.ID.ValueString()) name := typeStringToWrapperspbString(plan.Name) @@ -371,8 +380,8 @@ func extractUpdateAction(ctx context.Context, plan ActionResourceModel) (*action } isHidden := wrapperspb.Bool(plan.IsHidden.ValueBool()) - return &actions.ReplaceActionRequest{ - Action: &actions.Action{ + return &cxsdk.ReplaceActionRequest{ + Action: &cxsdk.Action{ Id: id, Name: name, Url: url, diff --git a/coralogix/resource_coralogix_action_test.go b/coralogix/resource_coralogix_action_test.go index 79e6641c..498021f4 100644 --- a/coralogix/resource_coralogix_action_test.go +++ b/coralogix/resource_coralogix_action_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -17,12 +17,10 @@ package coralogix import ( "context" "fmt" - "testing" - "terraform-provider-coralogix/coralogix/clientset" - actions "terraform-provider-coralogix/coralogix/clientset/grpc/actions/v2" + "testing" - terraform2 "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" @@ -99,9 +97,11 @@ func TestAccCoralogixResourceAction(t *testing.T) { } func testAccCheckActionDestroy(s *terraform.State) error { - testAccProvider = OldProvider() - rc := terraform2.ResourceConfig{} - testAccProvider.Configure(context.Background(), &rc) + meta := testAccProvider.Meta() + + if meta == nil { + return nil + } client := testAccProvider.Meta().(*clientset.ClientSet).Actions() ctx := context.TODO() @@ -110,11 +110,11 @@ func testAccCheckActionDestroy(s *terraform.State) error { continue } - req := &actions.GetActionRequest{ + req := &cxsdk.GetActionRequest{ Id: wrapperspb.String(rs.Primary.ID), } - resp, err := client.GetAction(ctx, req) + resp, err := client.Get(ctx, req) if err == nil { if resp.Action.Id.Value == rs.Primary.ID { return fmt.Errorf("action still exists: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_alert.go b/coralogix/resource_coralogix_alert.go index 798f63f5..fd326e10 100644 --- a/coralogix/resource_coralogix_alert.go +++ b/coralogix/resource_coralogix_alert.go @@ -18,3501 +18,5401 @@ import ( "context" "fmt" "log" - "regexp" "strconv" - "strings" - "time" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier" "terraform-provider-coralogix/coralogix/clientset" - alerts "terraform-provider-coralogix/coralogix/clientset/grpc/alerts/v2" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + + "github.com/hashicorp/terraform-plugin-framework-validators/boolvalidator" + "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" + "github.com/hashicorp/terraform-plugin-framework-validators/listvalidator" + "github.com/hashicorp/terraform-plugin-framework-validators/objectvalidator" + "github.com/hashicorp/terraform-plugin-framework-validators/setvalidator" + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/int64default" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/objectdefault" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/objectplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringdefault" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "google.golang.org/protobuf/encoding/protojson" + "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" + "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/schema/validator" + "github.com/hashicorp/terraform-plugin-framework/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - - . "github.com/ahmetalpbalkan/go-linq" - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "google.golang.org/protobuf/types/known/wrapperspb" ) var ( - validAlertTypes = []string{ - "standard", "ratio", "new_value", "unique_count", "time_relative", "metric", "tracing", "flow"} - alertSchemaSeverityToProtoSeverity = map[string]string{ - "Info": "ALERT_SEVERITY_INFO_OR_UNSPECIFIED", - "Warning": "ALERT_SEVERITY_WARNING", - "Critical": "ALERT_SEVERITY_CRITICAL", - "Error": "ALERT_SEVERITY_ERROR", - "Low": "ALERT_SEVERITY_LOW", - } - alertProtoSeverityToSchemaSeverity = reverseMapStrings(alertSchemaSeverityToProtoSeverity) - alertValidSeverities = getKeysStrings(alertSchemaSeverityToProtoSeverity) - alertSchemaLogSeverityToProtoLogSeverity = map[string]string{ - "Debug": "LOG_SEVERITY_DEBUG_OR_UNSPECIFIED", - "Verbose": "LOG_SEVERITY_VERBOSE", - "Info": "LOG_SEVERITY_INFO", - "Warning": "LOG_SEVERITY_WARNING", - "Error": "LOG_SEVERITY_ERROR", - "Critical": "LOG_SEVERITY_CRITICAL", - } - alertProtoLogSeverityToSchemaLogSeverity = reverseMapStrings(alertSchemaLogSeverityToProtoLogSeverity) - alertValidLogSeverities = getKeysStrings(alertSchemaLogSeverityToProtoLogSeverity) - alertSchemaDayOfWeekToProtoDayOfWeek = map[string]string{ - "Monday": "DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED", - "Tuesday": "DAY_OF_WEEK_TUESDAY", - "Wednesday": "DAY_OF_WEEK_WEDNESDAY", - "Thursday": "DAY_OF_WEEK_THURSDAY", - "Friday": "DAY_OF_WEEK_FRIDAY", - "Saturday": "DAY_OF_WEEK_SATURDAY", - "Sunday": "DAY_OF_WEEK_SUNDAY", - } - alertProtoDayOfWeekToSchemaDayOfWeek = reverseMapStrings(alertSchemaDayOfWeekToProtoDayOfWeek) - alertValidDaysOfWeek = getKeysStrings(alertSchemaDayOfWeekToProtoDayOfWeek) - alertSchemaTimeFrameToProtoTimeFrame = map[string]string{ - "5Min": "TIMEFRAME_5_MIN_OR_UNSPECIFIED", - "10Min": "TIMEFRAME_10_MIN", - "15Min": "TIMEFRAME_15_MIN", - "20Min": "TIMEFRAME_20_MIN", - "30Min": "TIMEFRAME_30_MIN", - "1H": "TIMEFRAME_1_H", - "2H": "TIMEFRAME_2_H", - "4H": "TIMEFRAME_4_H", - "6H": "TIMEFRAME_6_H", - "12H": "TIMEFRAME_12_H", - "24H": "TIMEFRAME_24_H", - "36H": "TIMEFRAME_36_H", - } - alertProtoTimeFrameToSchemaTimeFrame = reverseMapStrings(alertSchemaTimeFrameToProtoTimeFrame) - alertValidTimeFrames = getKeysStrings(alertSchemaTimeFrameToProtoTimeFrame) - alertSchemaUniqueCountTimeFrameToProtoTimeFrame = map[string]string{ - "1Min": "TIMEFRAME_1_MIN", - "5Min": "TIMEFRAME_5_MIN_OR_UNSPECIFIED", - "10Min": "TIMEFRAME_10_MIN", - "15Min": "TIMEFRAME_15_MIN", - "20Min": "TIMEFRAME_20_MIN", - "30Min": "TIMEFRAME_30_MIN", - "1H": "TIMEFRAME_1_H", - "2H": "TIMEFRAME_2_H", - "4H": "TIMEFRAME_4_H", - "6H": "TIMEFRAME_6_H", - "12H": "TIMEFRAME_12_H", - "24H": "TIMEFRAME_24_H", - } - alertProtoUniqueCountTimeFrameToSchemaTimeFrame = reverseMapStrings(alertSchemaUniqueCountTimeFrameToProtoTimeFrame) - alertValidUniqueCountTimeFrames = getKeysStrings(alertSchemaUniqueCountTimeFrameToProtoTimeFrame) - alertSchemaNewValueTimeFrameToProtoTimeFrame = map[string]string{ - "12H": "TIMEFRAME_12_H", - "24H": "TIMEFRAME_24_H", - "48H": "TIMEFRAME_48_H", - "72H": "TIMEFRAME_72_H", - "1W": "TIMEFRAME_1_W", - "1Month": "TIMEFRAME_1_M", - "2Month": "TIMEFRAME_2_M", - "3Month": "TIMEFRAME_3_M", - } - alertProtoNewValueTimeFrameToSchemaTimeFrame = reverseMapStrings(alertSchemaNewValueTimeFrameToProtoTimeFrame) - alertValidNewValueTimeFrames = getKeysStrings(alertSchemaNewValueTimeFrameToProtoTimeFrame) - alertSchemaRelativeTimeFrameToProtoTimeFrameAndRelativeTimeFrame = map[string]protoTimeFrameAndRelativeTimeFrame{ - "Previous_hour": {timeFrame: alerts.Timeframe_TIMEFRAME_1_H, relativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_HOUR_OR_UNSPECIFIED}, - "Same_hour_yesterday": {timeFrame: alerts.Timeframe_TIMEFRAME_1_H, relativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_DAY}, - "Same_hour_last_week": {timeFrame: alerts.Timeframe_TIMEFRAME_1_H, relativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_WEEK}, - "Yesterday": {timeFrame: alerts.Timeframe_TIMEFRAME_24_H, relativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_DAY}, - "Same_day_last_week": {timeFrame: alerts.Timeframe_TIMEFRAME_24_H, relativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_WEEK}, - "Same_day_last_month": {timeFrame: alerts.Timeframe_TIMEFRAME_24_H, relativeTimeFrame: alerts.RelativeTimeframe_RELATIVE_TIMEFRAME_MONTH}, - } - alertProtoTimeFrameAndRelativeTimeFrameToSchemaRelativeTimeFrame = reverseMapRelativeTimeFrame(alertSchemaRelativeTimeFrameToProtoTimeFrameAndRelativeTimeFrame) - alertValidRelativeTimeFrames = getKeysRelativeTimeFrame(alertSchemaRelativeTimeFrameToProtoTimeFrameAndRelativeTimeFrame) - alertSchemaArithmeticOperatorToProtoArithmetic = map[string]string{ - "Avg": "ARITHMETIC_OPERATOR_AVG_OR_UNSPECIFIED", - "Min": "ARITHMETIC_OPERATOR_MIN", - "Max": "ARITHMETIC_OPERATOR_MAX", - "Sum": "ARITHMETIC_OPERATOR_SUM", - "Count": "ARITHMETIC_OPERATOR_COUNT", - "Percentile": "ARITHMETIC_OPERATOR_PERCENTILE", - } - alertProtoArithmeticOperatorToSchemaArithmetic = reverseMapStrings(alertSchemaArithmeticOperatorToProtoArithmetic) - alertValidArithmeticOperators = getKeysStrings(alertSchemaArithmeticOperatorToProtoArithmetic) - alertValidFlowOperator = getKeysInt32(alerts.FlowOperator_value) - alertSchemaMetricTimeFrameToMetricProtoTimeFrame = map[string]string{ - "1Min": "TIMEFRAME_1_MIN", - "5Min": "TIMEFRAME_5_MIN_OR_UNSPECIFIED", - "10Min": "TIMEFRAME_10_MIN", - "15Min": "TIMEFRAME_15_MIN", - "20Min": "TIMEFRAME_20_MIN", - "30Min": "TIMEFRAME_30_MIN", - "1H": "TIMEFRAME_1_H", - "2H": "TIMEFRAME_2_H", - "4H": "TIMEFRAME_4_H", - "6H": "TIMEFRAME_6_H", - "12H": "TIMEFRAME_12_H", - "24H": "TIMEFRAME_24_H", - } - alertProtoMetricTimeFrameToMetricSchemaTimeFrame = reverseMapStrings(alertSchemaMetricTimeFrameToMetricProtoTimeFrame) - alertValidMetricTimeFrames = getKeysStrings(alertSchemaMetricTimeFrameToMetricProtoTimeFrame) - alertSchemaDeadmanRatiosToProtoDeadmanRatios = map[string]string{ - "Never": "CLEANUP_DEADMAN_DURATION_NEVER_OR_UNSPECIFIED", - "5Min": "CLEANUP_DEADMAN_DURATION_5MIN", - "10Min": "CLEANUP_DEADMAN_DURATION_10MIN", - "1H": "CLEANUP_DEADMAN_DURATION_1H", - "2H": "CLEANUP_DEADMAN_DURATION_2H", - "6H": "CLEANUP_DEADMAN_DURATION_6H", - "12H": "CLEANUP_DEADMAN_DURATION_12H", - "24H": "CLEANUP_DEADMAN_DURATION_24H", - } - alertProtoDeadmanRatiosToSchemaDeadmanRatios = reverseMapStrings(alertSchemaDeadmanRatiosToProtoDeadmanRatios) - alertValidDeadmanRatioValues = getKeysStrings(alertSchemaDeadmanRatiosToProtoDeadmanRatios) - validTimeZones = []string{"UTC-11", "UTC-10", "UTC-9", "UTC-8", "UTC-7", "UTC-6", "UTC-5", "UTC-4", "UTC-3", "UTC-2", "UTC-1", - "UTC+0", "UTC+1", "UTC+2", "UTC+3", "UTC+4", "UTC+5", "UTC+6", "UTC+7", "UTC+8", "UTC+9", "UTC+10", "UTC+11", "UTC+12", "UTC+13", "UTC+14"} - alertSchemaNotifyOnToProtoNotifyOn = map[string]alerts.NotifyOn{ - "Triggered_only": alerts.NotifyOn_TRIGGERED_ONLY, - "Triggered_and_resolved": alerts.NotifyOn_TRIGGERED_AND_RESOLVED, - } - alertProtoNotifyOnToSchemaNotifyOn = map[alerts.NotifyOn]string{ - alerts.NotifyOn_TRIGGERED_ONLY: "Triggered_only", - alerts.NotifyOn_TRIGGERED_AND_RESOLVED: "Triggered_and_resolved", - } - validNotifyOn = []string{"Triggered_only", "Triggered_and_resolved"} - alertSchemaToProtoEvaluationWindow = map[string]alerts.EvaluationWindow{ - "Rolling": alerts.EvaluationWindow_EVALUATION_WINDOW_ROLLING_OR_UNSPECIFIED, - "Dynamic": alerts.EvaluationWindow_EVALUATION_WINDOW_DYNAMIC, - } - alertProtoToSchemaEvaluationWindow = map[alerts.EvaluationWindow]string{ - alerts.EvaluationWindow_EVALUATION_WINDOW_ROLLING_OR_UNSPECIFIED: "Rolling", - alerts.EvaluationWindow_EVALUATION_WINDOW_DYNAMIC: "Dynamic", - } - validEvaluationWindow = []string{"Rolling", "Dynamic"} - createAlertURL = "com.coralogix.alerts.v2.AlertService/CreateAlert" - getAlertURL = "com.coralogix.alerts.v2.AlertService/GetAlertByUniqueId" - updateAlertURL = "com.coralogix.alerts.v2.AlertService/UpdateAlertByUniqueId" - deleteAlertURL = "com.coralogix.alerts.v2.AlertService/DeleteAlertByUniqueId" + _ resource.ResourceWithConfigure = &AlertResource{} + _ resource.ResourceWithImportState = &AlertResource{} + createAlertURL = cxsdk.CreateAlertDefRPC + updateAlertURL = cxsdk.ReplaceAlertDefRPC + getAlertURL = cxsdk.GetAlertDefRPC + deleteAlertURL = cxsdk.DeleteAlertDefRPC + + alertPriorityProtoToSchemaMap = map[cxsdk.AlertDefPriority]string{ + cxsdk.AlertDefPriorityP5OrUnspecified: "P5", + cxsdk.AlertDefPriorityP4: "P4", + cxsdk.AlertDefPriorityP3: "P3", + cxsdk.AlertDefPriorityP2: "P2", + cxsdk.AlertDefPriorityP1: "P1", + } + alertPrioritySchemaToProtoMap = ReverseMap(alertPriorityProtoToSchemaMap) + validAlertPriorities = GetKeys(alertPrioritySchemaToProtoMap) + + notifyOnProtoToSchemaMap = map[cxsdk.AlertNotifyOn]string{ + cxsdk.AlertNotifyOnTriggeredOnlyUnspecified: "Triggered Only", + cxsdk.AlertNotifyOnTriggeredAndResolved: "Triggered and Resolved", + } + notifyOnSchemaToProtoMap = ReverseMap(notifyOnProtoToSchemaMap) + validNotifyOn = GetKeys(notifyOnSchemaToProtoMap) + + daysOfWeekProtoToSchemaMap = map[cxsdk.AlertDayOfWeek]string{ + cxsdk.AlertDayOfWeekMonday: "Monday", + cxsdk.AlertDayOfWeekTuesday: "Tuesday", + cxsdk.AlertDayOfWeekWednesday: "Wednesday", + cxsdk.AlertDayOfWeekThursday: "Thursday", + cxsdk.AlertDayOfWeekFriday: "Friday", + cxsdk.AlertDayOfWeekSaturday: "Saturday", + cxsdk.AlertDayOfWeekSunday: "Sunday", + } + daysOfWeekSchemaToProtoMap = ReverseMap(daysOfWeekProtoToSchemaMap) + validDaysOfWeek = GetKeys(daysOfWeekSchemaToProtoMap) + + logFilterOperationTypeProtoToSchemaMap = map[cxsdk.LogFilterOperationType]string{ + cxsdk.LogFilterOperationIsOrUnspecified: "IS", + cxsdk.LogFilterOperationIncludes: "NOT", // includes? + cxsdk.LogFilterOperationEndsWith: "ENDS_WITH", + cxsdk.LogFilterOperationStartsWith: "STARTS_WITH", + } + logFilterOperationTypeSchemaToProtoMap = ReverseMap(logFilterOperationTypeProtoToSchemaMap) + validLogFilterOperationType = GetKeys(logFilterOperationTypeSchemaToProtoMap) + + logSeverityProtoToSchemaMap = map[cxsdk.LogSeverity]string{ + cxsdk.LogSeverityVerboseUnspecified: "Unspecified", + cxsdk.LogSeverityDebug: "Debug", + cxsdk.LogSeverityInfo: "Info", + cxsdk.LogSeverityWarning: "Warning", + cxsdk.LogSeverityError: "Error", + cxsdk.LogSeverityCritical: "Critical", + } + logSeveritySchemaToProtoMap = ReverseMap(logSeverityProtoToSchemaMap) + validLogSeverities = GetKeys(logSeveritySchemaToProtoMap) + + logsTimeWindowValueProtoToSchemaMap = map[cxsdk.LogsTimeWindowValue]string{ + cxsdk.LogsTimeWindow5MinutesOrUnspecified: "5_MINUTES", + cxsdk.LogsTimeWindow10Minutes: "10_MINUTES", + cxsdk.LogsTimeWindow15Minutes: "15_MINUTES", + cxsdk.LogsTimeWindow30Minutes: "30_MINUTES", + cxsdk.LogsTimeWindow1Hour: "1_HOUR", + cxsdk.LogsTimeWindow2Hours: "2_HOURS", + cxsdk.LogsTimeWindow4Hours: "4_HOURS", + cxsdk.LogsTimeWindow6Hours: "6_HOURS", + cxsdk.LogsTimeWindow12Hours: "12_HOURS", + cxsdk.LogsTimeWindow24Hours: "24_HOURS", + cxsdk.LogsTimeWindow36Hours: "36_HOURS", + } + logsTimeWindowValueSchemaToProtoMap = ReverseMap(logsTimeWindowValueProtoToSchemaMap) + validLogsTimeWindowValues = GetKeys(logsTimeWindowValueSchemaToProtoMap) + + autoRetireTimeframeProtoToSchemaMap = map[cxsdk.AutoRetireTimeframe]string{ + cxsdk.AutoRetireTimeframeNeverOrUnspecified: "Never", + cxsdk.AutoRetireTimeframe5Minutes: "5_MINUTES", + cxsdk.AutoRetireTimeframe10Minutes: "10_MINUTES", + cxsdk.AutoRetireTimeframe1Hour: "1_HOUR", + cxsdk.AutoRetireTimeframe2Hours: "2_HOURS", + cxsdk.AutoRetireTimeframe6Hours: "6_HOURS", + cxsdk.AutoRetireTimeframe12Hours: "12_HOURS", + cxsdk.AutoRetireTimeframe24Hours: "24_HOURS", + } + autoRetireTimeframeSchemaToProtoMap = ReverseMap(autoRetireTimeframeProtoToSchemaMap) + validAutoRetireTimeframes = GetKeys(autoRetireTimeframeSchemaToProtoMap) + + logsRatioTimeWindowValueProtoToSchemaMap = map[cxsdk.LogsRatioTimeWindowValue]string{ + cxsdk.LogsRatioTimeWindowValue5MinutesOrUnspecified: "5_MINUTES", + cxsdk.LogsRatioTimeWindowValue10Minutes: "10_MINUTES", + cxsdk.LogsRatioTimeWindowValue15Minutes: "15_MINUTES", + cxsdk.LogsRatioTimeWindowValue30Minutes: "30_MINUTES", + cxsdk.LogsRatioTimeWindowValue1Hour: "1_HOUR", + cxsdk.LogsRatioTimeWindowValue2Hours: "2_HOURS", + cxsdk.LogsRatioTimeWindowValue4Hours: "4_HOURS", + cxsdk.LogsRatioTimeWindowValue6Hours: "6_HOURS", + cxsdk.LogsRatioTimeWindowValue12Hours: "12_HOURS", + cxsdk.LogsRatioTimeWindowValue24Hours: "24_HOURS", + cxsdk.LogsRatioTimeWindowValue36Hours: "36_HOURS", + } + logsRatioTimeWindowValueSchemaToProtoMap = ReverseMap(logsRatioTimeWindowValueProtoToSchemaMap) + validLogsRatioTimeWindowValues = GetKeys(logsRatioTimeWindowValueSchemaToProtoMap) + + logsRatioGroupByForProtoToSchemaMap = map[cxsdk.LogsRatioGroupByFor]string{ + cxsdk.LogsRatioGroupByForBothOrUnspecified: "Both", + cxsdk.LogsRatioGroupByForNumeratorOnly: "Numerator Only", + cxsdk.LogsRatioGroupByForDenumeratorOnly: "Denominator Only", + } + logsRatioGroupByForSchemaToProtoMap = ReverseMap(logsRatioGroupByForProtoToSchemaMap) + validLogsRatioGroupByFor = GetKeys(logsRatioGroupByForSchemaToProtoMap) + + logsNewValueTimeWindowValueProtoToSchemaMap = map[cxsdk.LogsNewValueTimeWindowValue]string{ + cxsdk.LogsNewValueTimeWindowValue12HoursOrUnspecified: "12_HOURS", + cxsdk.LogsNewValueTimeWindowValue24Hours: "24_HOURS", + cxsdk.LogsNewValueTimeWindowValue48Hours: "48_HOURS", + cxsdk.LogsNewValueTimeWindowValue72Hours: "72_HOURS", + cxsdk.LogsNewValueTimeWindowValue1Week: "1_WEEK", + cxsdk.LogsNewValueTimeWindowValue1Month: "1_MONTH", + cxsdk.LogsNewValueTimeWindowValue2Months: "2_MONTHS", + cxsdk.LogsNewValueTimeWindowValue3Months: "3_MONTHS", + } + logsNewValueTimeWindowValueSchemaToProtoMap = ReverseMap(logsNewValueTimeWindowValueProtoToSchemaMap) + validLogsNewValueTimeWindowValues = GetKeys(logsNewValueTimeWindowValueSchemaToProtoMap) + + logsUniqueCountTimeWindowValueProtoToSchemaMap = map[cxsdk.LogsUniqueValueTimeWindowValue]string{ + cxsdk.LogsUniqueValueTimeWindowValue1MinuteOrUnspecified: "1_MINUTE", + cxsdk.LogsUniqueValueTimeWindowValue15Minutes: "15_MINUTES", + cxsdk.LogsUniqueValueTimeWindowValue20Minutes: "20_MINUTES", + cxsdk.LogsUniqueValueTimeWindowValue30Minutes: "30_MINUTES", + cxsdk.LogsUniqueValueTimeWindowValue1Hour: "1_HOUR", + cxsdk.LogsUniqueValueTimeWindowValue2Hours: "2_HOURS", + cxsdk.LogsUniqueValueTimeWindowValue4Hours: "4_HOURS", + cxsdk.LogsUniqueValueTimeWindowValue6Hours: "6_HOURS", + cxsdk.LogsUniqueValueTimeWindowValue12Hours: "12_HOURS", + cxsdk.LogsUniqueValueTimeWindowValue24Hours: "24_HOURS", + } + logsUniqueCountTimeWindowValueSchemaToProtoMap = ReverseMap(logsUniqueCountTimeWindowValueProtoToSchemaMap) + validLogsUniqueCountTimeWindowValues = GetKeys(logsUniqueCountTimeWindowValueSchemaToProtoMap) + + logsTimeRelativeComparedToProtoToSchemaMap = map[cxsdk.LogsTimeRelativeComparedTo]string{ + cxsdk.LogsTimeRelativeComparedToPreviousHourOrUnspecified: "Previous Hour", + cxsdk.LogsTimeRelativeComparedToSameHourYesterday: "Same Hour Yesterday", + cxsdk.LogsTimeRelativeComparedToSameHourLastWeek: "Same Hour Last Week", + cxsdk.LogsTimeRelativeComparedToYesterday: "Yesterday", + cxsdk.LogsTimeRelativeComparedToSameDayLastWeek: "Same Day Last Week", + cxsdk.LogsTimeRelativeComparedToSameDayLastMonth: "Same Day Last Month", + } + logsTimeRelativeComparedToSchemaToProtoMap = ReverseMap(logsTimeRelativeComparedToProtoToSchemaMap) + validLogsTimeRelativeComparedTo = GetKeys(logsTimeRelativeComparedToSchemaToProtoMap) + + metricFilterOperationTypeProtoToSchemaMap = map[cxsdk.MetricTimeWindowValue]string{ + cxsdk.MetricTimeWindowValue1MinuteOrUnspecified: "1_MINUTE", + cxsdk.MetricTimeWindowValue5Minutes: "5_MINUTES", + cxsdk.MetricTimeWindowValue10Minutes: "10_MINUTES", + cxsdk.MetricTimeWindowValue15Minutes: "15_MINUTES", + cxsdk.MetricTimeWindowValue30Minutes: "30_MINUTES", + cxsdk.MetricTimeWindowValue1Hour: "1_HOUR", + cxsdk.MetricTimeWindowValue2Hours: "2_HOURS", + cxsdk.MetricTimeWindowValue4Hours: "4_HOURS", + cxsdk.MetricTimeWindowValue6Hours: "6_HOURS", + cxsdk.MetricTimeWindowValue12Hours: "12_HOURS", + cxsdk.MetricTimeWindowValue24Hours: "24_HOURS", + } + metricTimeWindowValueSchemaToProtoMap = ReverseMap(metricFilterOperationTypeProtoToSchemaMap) + validMetricTimeWindowValues = GetKeys(metricTimeWindowValueSchemaToProtoMap) + + tracingTimeWindowProtoToSchemaMap = map[cxsdk.TracingTimeWindowValue]string{ + cxsdk.TracingTimeWindowValue5MinutesOrUnspecified: "5_MINUTES", + cxsdk.TracingTimeWindowValue10Minutes: "10_MINUTES", + cxsdk.TracingTimeWindowValue15Minutes: "15_MINUTES", + cxsdk.TracingTimeWindowValue30Minutes: "30_MINUTES", + cxsdk.TracingTimeWindowValue1Hour: "1_HOUR", + cxsdk.TracingTimeWindowValue2Hours: "2_HOURS", + cxsdk.TracingTimeWindowValue4Hours: "4_HOURS", + cxsdk.TracingTimeWindowValue6Hours: "6_HOURS", + cxsdk.TracingTimeWindowValue12Hours: "12_HOURS", + cxsdk.TracingTimeWindowValue24Hours: "24_HOURS", + cxsdk.TracingTimeWindowValue36Hours: "36_HOURS", + } + tracingTimeWindowSchemaToProtoMap = ReverseMap(tracingTimeWindowProtoToSchemaMap) + validTracingTimeWindow = GetKeys(tracingTimeWindowSchemaToProtoMap) + + tracingFilterOperationProtoToSchemaMap = map[cxsdk.TracingFilterOperationType]string{ + cxsdk.TracingFilterOperationTypeIsOrUnspecified: "IS", + cxsdk.TracingFilterOperationTypeIncludes: "INCLUDES", + cxsdk.TracingFilterOperationTypeEndsWith: "ENDS_WITH", + cxsdk.TracingFilterOperationTypeStartsWith: "STARTS_WITH", + } + tracingFilterOperationSchemaToProtoMap = ReverseMap(tracingFilterOperationProtoToSchemaMap) + validTracingFilterOperations = GetKeys(tracingFilterOperationSchemaToProtoMap) + flowStageTimeFrameTypeProtoToSchemaMap = map[cxsdk.TimeframeType]string{ + cxsdk.TimeframeTypeUnspecified: "Unspecified", + cxsdk.TimeframeTypeUpTo: "Up To", + } + flowStageTimeFrameTypeSchemaToProtoMap = ReverseMap(flowStageTimeFrameTypeProtoToSchemaMap) + validFlowStageTimeFrameTypes = GetKeys(flowStageTimeFrameTypeSchemaToProtoMap) + + flowStagesGroupNextOpProtoToSchemaMap = map[cxsdk.NextOp]string{ + cxsdk.NextOpAndOrUnspecified: "AND", + cxsdk.NextOpOr: "OR", + } + flowStagesGroupNextOpSchemaToProtoMap = ReverseMap(flowStagesGroupNextOpProtoToSchemaMap) + validFlowStagesGroupNextOps = GetKeys(flowStagesGroupNextOpSchemaToProtoMap) + + flowStagesGroupAlertsOpProtoToSchemaMap = map[cxsdk.AlertsOp]string{ + cxsdk.AlertsOpAndOrUnspecified: "AND", + cxsdk.AlertsOpOr: "OR", + } + flowStagesGroupAlertsOpSchemaToProtoMap = ReverseMap(flowStagesGroupAlertsOpProtoToSchemaMap) + validFlowStagesGroupAlertsOps = GetKeys(flowStagesGroupAlertsOpSchemaToProtoMap) + + logsThresholdConditionMap = map[cxsdk.LogsThresholdConditionType]string{ + cxsdk.LogsThresholdConditionTypeMoreThanOrUnspecified: "MORE_THAN", + cxsdk.LogsThresholdConditionTypeLessThan: "LESS_THAN", + } + logsThresholdConditionToProtoMap = ReverseMap(logsThresholdConditionMap) + logsThresholdConditionValues = GetValues(logsThresholdConditionMap) + + logsTimeRelativeConditionMap = map[cxsdk.LogsTimeRelativeConditionType]string{ + cxsdk.LogsTimeRelativeConditionTypeMoreThanOrUnspecified: "MORE_THAN", + cxsdk.LogsTimeRelativeConditionTypeLessThan: "LESS_THAN", + } + logsTimeRelativeConditionToProtoMap = ReverseMap(logsTimeRelativeConditionMap) + logsTimeRelativeConditionValues = GetValues(logsTimeRelativeConditionMap) + + logsRatioConditionMap = map[cxsdk.LogsRatioConditionType]string{ + cxsdk.LogsRatioConditionTypeMoreThanOrUnspecified: "MORE_THAN", + cxsdk.LogsRatioConditionTypeLessThan: "LESS_THAN", + } + logsRatioConditionMapValues = GetValues(logsRatioConditionMap) + logsRatioConditionSchemaToProtoMap = ReverseMap(logsRatioConditionMap) + + metricsThresholdConditionMap = map[cxsdk.MetricThresholdConditionType]string{ + cxsdk.MetricThresholdConditionTypeMoreThanOrUnspecified: "MORE_THAN", + cxsdk.MetricThresholdConditionTypeLessThan: "LESS_THAN", + cxsdk.MetricThresholdConditionTypeMoreThanOrEquals: "MORE_THAN_OR_EQUALS", + cxsdk.MetricThresholdConditionTypeLessThanOrEquals: "LESS_THAN_OR_EQUALS", + } + metricsThresholdConditionValues = GetValues(metricsThresholdConditionMap) + metricsThresholdConditionToProtoMap = ReverseMap(metricsThresholdConditionMap) + + metricAnomalyConditionMap = map[cxsdk.MetricAnomalyConditionType]string{ + cxsdk.MetricAnomalyConditionTypeMoreThanOrUnspecified: "MORE_THAN", + cxsdk.MetricAnomalyConditionTypeLessThan: "LESS_THAN", + } + metricAnomalyConditionValues = GetValues(metricAnomalyConditionMap) + metricAnomalyConditionToProtoMap = ReverseMap(metricAnomalyConditionMap) + logsAnomalyConditionMap = map[cxsdk.LogsAnomalyConditionType]string{ + cxsdk.LogsAnomalyConditionTypeMoreThanOrUnspecified: "MORE_THAN_USUAL", + } + logsAnomalyConditionSchemaToProtoMap = ReverseMap(logsAnomalyConditionMap) + logsAnomalyConditionValues = GetValues(logsAnomalyConditionMap) ) -type alertParams struct { - Condition *alerts.AlertCondition - Filters *alerts.AlertFilters +func NewAlertResource() resource.Resource { + return &AlertResource{} } -type protoTimeFrameAndRelativeTimeFrame struct { - timeFrame alerts.Timeframe - relativeTimeFrame alerts.RelativeTimeframe +type AlertResource struct { + client *cxsdk.AlertsClient } -func resourceCoralogixAlert() *schema.Resource { - return &schema.Resource{ - CreateContext: resourceCoralogixAlertCreate, - ReadContext: resourceCoralogixAlertRead, - UpdateContext: resourceCoralogixAlertUpdate, - DeleteContext: resourceCoralogixAlertDelete, +type AlertResourceModel struct { + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + Description types.String `tfsdk:"description"` + Enabled types.Bool `tfsdk:"enabled"` + Priority types.String `tfsdk:"priority"` + Schedule types.Object `tfsdk:"schedule"` // AlertScheduleModel + TypeDefinition types.Object `tfsdk:"type_definition"` // AlertTypeDefinitionModel + PhantomMode types.Bool `tfsdk:"phantom_mode"` + Deleted types.Bool `tfsdk:"deleted"` + GroupBy types.Set `tfsdk:"group_by"` // []types.String + IncidentsSettings types.Object `tfsdk:"incidents_settings"` // IncidentsSettingsModel + NotificationGroup types.Object `tfsdk:"notification_group"` // NotificationGroupModel + Labels types.Map `tfsdk:"labels"` // map[string]string +} - Importer: &schema.ResourceImporter{ - StateContext: schema.ImportStatePassthroughContext, - }, +type AlertScheduleModel struct { + ActiveOn types.Object `tfsdk:"active_on"` // ActiveOnModel +} - Timeouts: &schema.ResourceTimeout{ - Create: schema.DefaultTimeout(60 * time.Second), - Read: schema.DefaultTimeout(30 * time.Second), - Update: schema.DefaultTimeout(60 * time.Second), - Delete: schema.DefaultTimeout(30 * time.Second), - }, +type AlertTypeDefinitionModel struct { + LogsImmediate types.Object `tfsdk:"logs_immediate"` // LogsImmediateModel + LogsThreshold types.Object `tfsdk:"logs_threshold"` // LogsThresholdModel + LogsAnomaly types.Object `tfsdk:"logs_anomaly"` // LogsAnomalyModel + LogsRatioThreshold types.Object `tfsdk:"logs_ratio_threshold"` // LogsRatioThresholdModel + LogsNewValue types.Object `tfsdk:"logs_new_value"` // LogsNewValueModel + LogsUniqueCount types.Object `tfsdk:"logs_unique_count"` // LogsUniqueCountModel + LogsTimeRelativeThreshold types.Object `tfsdk:"logs_time_relative_threshold"` // LogsTimeRelativeThresholdModel + MetricThreshold types.Object `tfsdk:"metric_threshold"` // MetricThresholdModel + MetricAnomaly types.Object `tfsdk:"metric_anomaly"` // MetricAnomalyModel + TracingImmediate types.Object `tfsdk:"tracing_immediate"` // TracingImmediateModel + TracingThreshold types.Object `tfsdk:"tracing_threshold"` // TracingThresholdModel + Flow types.Object `tfsdk:"flow"` // FlowModel +} - Schema: AlertSchema(), +type IncidentsSettingsModel struct { + NotifyOn types.String `tfsdk:"notify_on"` + RetriggeringPeriod types.Object `tfsdk:"retriggering_period"` // RetriggeringPeriodModel +} - Description: "Coralogix alert. More info: https://coralogix.com/docs/alerts-api/ .", - } +type NotificationGroupModel struct { + GroupByKeys types.Set `tfsdk:"group_by_keys"` // []types.String + WebhooksSettings types.Set `tfsdk:"webhooks_settings"` // WebhooksSettingsModel } -func AlertSchema() map[string]*schema.Schema { - return map[string]*schema.Schema{ - "enabled": { - Type: schema.TypeBool, - Optional: true, - Default: true, - Description: "Determines whether the alert will be active. True by default.", - }, - "name": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringIsNotEmpty, - Description: "Alert name.", - }, - "description": { - Type: schema.TypeString, - Optional: true, - Description: "Alert description.", - }, - "severity": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidSeverities, false), - Description: fmt.Sprintf("Determines the alert's severity. Can be one of %q", alertValidSeverities), - }, - "meta_labels": { - Type: schema.TypeMap, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Optional: true, - Description: "Labels allow you to easily filter by alert type and create views. Insert a new label or use an existing one. You can nest a label using key:value.", - ValidateDiagFunc: validation.MapKeyMatch(regexp.MustCompile(`^[A-Za-z\d_-]*$`), "not valid key for meta_label"), - }, - "expiration_date": { - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "day": { - Type: schema.TypeInt, - Required: true, - ValidateFunc: validation.IntBetween(1, 31), - Description: `Day of a month. Must be from 1 to 31 and valid for the year and month.`, - }, - "month": { - Type: schema.TypeInt, - Required: true, - ValidateFunc: validation.IntBetween(1, 12), - Description: `Month of a year. Must be from 1 to 12.`, - }, - "year": { - Type: schema.TypeInt, - Required: true, - ValidateFunc: validation.IntBetween(1, 9999), - Description: `Year of the date. Must be from 1 to 9999.`, - }, - }, - }, - Description: "The expiration date of the alert (if declared).", - }, - "notifications_group": { - Type: schema.TypeSet, - Optional: true, - Computed: true, - Elem: notificationGroupSchema(), - Set: schema.HashResource(notificationGroupSchema()), - Description: "Defines notifications settings over list of group-by keys (or on empty list).", - }, - "payload_filters": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "A list of log fields out of the log example which will be included with the alert notification.", - Set: schema.HashString, - }, - "incident_settings": { - Type: schema.TypeList, - MaxItems: 1, - Optional: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "retriggering_period_minutes": { - Type: schema.TypeInt, - Required: true, - ValidateFunc: validation.IntAtLeast(1), - }, - "notify_on": { - Type: schema.TypeString, - Optional: true, - Default: "Triggered_only", - ValidateFunc: validation.StringInSlice(validNotifyOn, false), - Description: fmt.Sprintf("Defines the alert's triggering logic. Can be one of %q. Triggered_and_resolved conflicts with new_value, unique_count and flow alerts, and with immediately and more_than_usual conditions", validNotifyOn), - }, - }, - }, - //AtLeastOneOf: []string{"notifications_group", "show_in_insights", "incident_settings"}, - }, - "scheduling": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: schedulingSchema(), - }, - MaxItems: 1, - Description: "Limit the triggering of this alert to specific time frames. Active always by default.", - }, - "standard": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: standardSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert based on number of log occurrences.", - }, - "ratio": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: ratioSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert based on the ratio between queries.", - }, - "new_value": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: newValueSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert on never before seen log value.", - }, - "unique_count": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: uniqueCountSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert based on unique value count per key.", - }, - "time_relative": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: timeRelativeSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert based on ratio between timeframes.", - }, - "metric": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: metricSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert based on arithmetic operators for metrics.", - }, - "tracing": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: tracingSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert based on tracing latency.", - }, - "flow": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: flowSchema(), - }, - MaxItems: 1, - ExactlyOneOf: validAlertTypes, - Description: "Alert based on a combination of alerts in a specific timeframe.", - }, - } +type WebhooksSettingsModel struct { + RetriggeringPeriod types.Object `tfsdk:"retriggering_period"` // RetriggeringPeriodModel + NotifyOn types.String `tfsdk:"notify_on"` + IntegrationID types.String `tfsdk:"integration_id"` + Recipients types.Set `tfsdk:"recipients"` //[]types.String } -func notificationGroupSchema() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "group_by_fields": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "List of group-by fields to apply the notification logic on (can be empty). Every notification should contain unique group_by_fields permutation (the order doesn't matter).", - }, - "notification": { - Type: schema.TypeSet, - Optional: true, - Elem: notificationSubgroupSchema(), - Set: schema.HashResource(notificationSubgroupSchema()), - Description: "Defines notification logic with optional recipients. Can contain single webhook or email recipients list.", - }, - }, - } +type ActiveOnModel struct { + DaysOfWeek types.List `tfsdk:"days_of_week"` // []types.String + StartTime types.Object `tfsdk:"start_time"` // TimeOfDayModel + EndTime types.Object `tfsdk:"end_time"` // TimeOfDayModel } -func notificationSubgroupSchema() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "retriggering_period_minutes": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.IntAtLeast(1), - Description: "By default, retriggering_period_minutes will be populated with min for immediate," + - " more_than and more_than_usual alerts. For less_than alert it will be populated with the chosen time" + - " frame for the less_than condition (in minutes). You may choose to change the suppress window so the " + - "alert will be suppressed for a longer period.", - ExactlyOneOf: []string{"incident_settings"}, - }, - "notify_on": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(validNotifyOn, false), - Description: fmt.Sprintf("Defines the alert's triggering logic. Can be one of %q. Triggered_and_resolved conflicts with new_value, unique_count and flow alerts, and with immediately and more_than_usual conditions", validNotifyOn), - ExactlyOneOf: []string{"incident_settings"}, - }, - "integration_id": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringIsNotEmpty, - Description: "Conflicts with emails.", - }, - "email_recipients": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - //ValidateDiagFunc: mailValidationFunc(), - }, - Set: schema.HashString, - Description: "Conflicts with integration_id.", - }, - }, - } +type TimeOfDayModel struct { + Hours types.Int64 `tfsdk:"hours"` + Minutes types.Int64 `tfsdk:"minutes"` } -func schedulingSchema() map[string]*schema.Schema { - return map[string]*schema.Schema{ - "time_zone": { - Type: schema.TypeString, - Optional: true, - Default: "UTC+0", - ValidateFunc: validation.StringInSlice(validTimeZones, false), - Description: fmt.Sprintf("Specifies the time zone to be used in interpreting the schedule. Can be one of %q", validTimeZones), - }, - "time_frame": { - Type: schema.TypeSet, - MaxItems: 1, - Required: true, - Elem: timeFrames(), - Set: hashTimeFrames(), - Description: "time_frame is a set of days and hours when the alert will be active. ***Currently, supported only for one time_frame***", - }, - } +type RetriggeringPeriodModel struct { + Minutes types.Int64 `tfsdk:"minutes"` } -func timeFrames() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "days_enabled": { - Type: schema.TypeSet, - Required: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validation.StringInSlice(alertValidDaysOfWeek, false), - }, - Description: fmt.Sprintf("Days of week. Can be one of %q", alertValidDaysOfWeek), - Set: schema.HashString, - }, - "start_time": timeInDaySchema(`Limit the triggering of this alert to start at specific hour.`), - "end_time": timeInDaySchema(`Limit the triggering of this alert to end at specific hour.`), - }, - } +// Alert Types: +type LogsImmediateModel struct { + LogsFilter types.Object `tfsdk:"logs_filter"` // AlertsLogsFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String } -func hashTimeFrames() schema.SchemaSetFunc { - return schema.HashResource(timeFrames()) +type LogsThresholdModel struct { + Rules types.List `tfsdk:"rules"` // [] LogsThresholdRuleModel + LogsFilter types.Object `tfsdk:"logs_filter"` // AlertsLogsFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String + UndetectedValuesManagement types.Object `tfsdk:"undetected_values_management"` // UndetectedValuesManagementModel } -func commonAlertSchema() map[string]*schema.Schema { - return map[string]*schema.Schema{ - "search_query": searchQuerySchema(), - "severities": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validation.StringInSlice(alertValidLogSeverities, false), - }, - Description: fmt.Sprintf("An array of log severities that we interested in. Can be one of %q", alertValidLogSeverities), - Set: schema.HashString, - }, - "applications": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s application names that we want to be alerted on." + - " Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - Set: schema.HashString, - }, - "subsystems": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s subsystem names that we want to be notified on. " + - "Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - Set: schema.HashString, - }, - "categories": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s categories that we want to be notified on.", - Set: schema.HashString, - }, - "computers": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s computer names that we want to be notified on.", - Set: schema.HashString, - }, - "classes": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s class names that we want to be notified on.", - Set: schema.HashString, - }, - "methods": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s method names that we want to be notified on.", - Set: schema.HashString, - }, - "ip_addresses": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s IP addresses that we want to be notified on.", - Set: schema.HashString, - }, - } +type LogsAnomalyModel struct { + Rules types.List `tfsdk:"rules"` // [] LogsAnomalyRuleModel + LogsFilter types.Object `tfsdk:"logs_filter"` // AlertsLogsFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String } -func searchQuerySchema() *schema.Schema { - return &schema.Schema{ - Type: schema.TypeString, - Optional: true, - Description: "The search_query that we wanted to be notified on.", +type LogsRatioThresholdModel struct { + Rules types.List `tfsdk:"rules"` // []LogsRatioThresholdRuleModel + Numerator types.Object `tfsdk:"numerator"` // AlertsLogsFilterModel + NumeratorAlias types.String `tfsdk:"numerator_alias"` + Denominator types.Object `tfsdk:"denominator"` // AlertsLogsFilterModel + DenominatorAlias types.String `tfsdk:"denominator_alias"` + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String + GroupByFor types.String `tfsdk:"group_by_for"` +} + +type LogsNewValueModel struct { + Rules types.List `tfsdk:"rules"` // []NewValueRuleModel + LogsFilter types.Object `tfsdk:"logs_filter"` // AlertsLogsFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String +} + +type LogsUniqueCountModel struct { + Rules types.List `tfsdk:"rules"` // [] LogsUniqueCountRuleModel + LogsFilter types.Object `tfsdk:"logs_filter"` // AlertsLogsFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String + MaxUniqueCountPerGroupByKey types.Int64 `tfsdk:"max_unique_count_per_group_by_key"` + UniqueCountKeypath types.String `tfsdk:"unique_count_keypath"` +} + +type LogsUniqueCountRuleModel struct { + Condition types.Object `tfsdk:"condition"` // LogsUniqueCountConditionModel +} + +type LogsUniqueCountConditionModel struct { + MaxUniqueCount types.Int64 `tfsdk:"max_unique_count"` + TimeWindow types.Object `tfsdk:"time_window"` // LogsTimeWindowModel +} + +type LogsTimeRelativeThresholdModel struct { + Rules types.List `tfsdk:"rules"` // [] LogsTimeRelativeRuleModel + LogsFilter types.Object `tfsdk:"logs_filter"` // AlertsLogsFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String + UndetectedValuesManagement types.Object `tfsdk:"undetected_values_management"` // UndetectedValuesManagementModel +} + +type MetricAnomalyRuleModel struct { + Condition types.Object `tfsdk:"condition"` // MetricAnomalyConditionModel +} + +type MetricAnomalyConditionModel struct { + MinNonNullValuesPct types.Int64 `tfsdk:"min_non_null_values_pct"` + Threshold types.Float64 `tfsdk:"threshold"` + ForOverPct types.Int64 `tfsdk:"for_over_pct"` + OfTheLast types.Object `tfsdk:"of_the_last"` // MetricTimeWindowModel + ConditionType types.String `tfsdk:"condition_type"` +} + +type MetricThresholdModel struct { + Rules types.List `tfsdk:"rules"` // [] MetricThresholdRuleModel + MetricFilter types.Object `tfsdk:"metric_filter"` // MetricFilterModel + MissingValues types.Object `tfsdk:"missing_values"` // MissingValuesModel + UndetectedValuesManagement types.Object `tfsdk:"undetected_values_management"` // UndetectedValuesManagementModel +} + +type MissingValuesModel struct { + ReplaceWithZero types.Bool `tfsdk:"replace_with_zero"` + MinNonNullValuesPct types.Int64 `tfsdk:"min_non_null_values_pct"` +} + +type MetricThresholdRuleModel struct { + Condition types.Object `tfsdk:"condition"` // MetricThresholdConditionModel + Override types.Object `tfsdk:"override"` // AlertOverrideModel +} + +type MetricThresholdConditionModel struct { + Threshold types.Float64 `tfsdk:"threshold"` + ForOverPct types.Int64 `tfsdk:"for_over_pct"` + OfTheLast types.Object `tfsdk:"of_the_last"` // MetricTimeWindowModel + ConditionType types.String `tfsdk:"condition_type"` +} + +type MetricTimeWindowModel struct { + SpecificValue types.String `tfsdk:"specific_value"` +} + +type MetricAnomalyModel struct { + MetricFilter types.Object `tfsdk:"metric_filter"` // MetricFilterModel + Rules types.List `tfsdk:"rules"` // [] MetricAnomalyRuleModel +} + +type MetricImmediateModel struct { + MetricFilter types.Object `tfsdk:"metric_filter"` // TracingFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String +} + +type TracingImmediateModel struct { + TracingFilter types.Object `tfsdk:"tracing_filter"` // TracingFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String +} + +type TracingThresholdModel struct { + TracingFilter types.Object `tfsdk:"tracing_filter"` // TracingFilterModel + NotificationPayloadFilter types.Set `tfsdk:"notification_payload_filter"` // []types.String + Rules types.List `tfsdk:"rules"` // [] TracingThresholdRuleModel +} + +type TracingThresholdRuleModel struct { + Condition types.Object `tfsdk:"condition"` // TracingThresholdConditionModel +} + +type TracingThresholdConditionModel struct { + TimeWindow types.Object `tfsdk:"time_window"` // TracingTimeWindowModel + SpanAmount types.Float64 `tfsdk:"span_amount"` + ConditionType types.String `tfsdk:"condition_type"` +} + +type TracingTimeWindowModel struct { + SpecificValue types.String `tfsdk:"specific_value"` +} + +type FlowModel struct { + Stages types.List `tfsdk:"stages"` // FlowStageModel + EnforceSuppression types.Bool `tfsdk:"enforce_suppression"` +} + +type FlowStageModel struct { + FlowStagesGroups types.List `tfsdk:"flow_stages_groups"` // FlowStagesGroupModel + TimeframeMs types.Int64 `tfsdk:"timeframe_ms"` + TimeframeType types.String `tfsdk:"timeframe_type"` +} + +type FlowStagesGroupModel struct { + AlertDefs types.List `tfsdk:"alert_defs"` // FlowStagesGroupsAlertDefsModel + NextOp types.String `tfsdk:"next_op"` + AlertsOp types.String `tfsdk:"alerts_op"` +} + +type FlowStagesGroupsAlertDefsModel struct { + Id types.String `tfsdk:"id"` + Not types.Bool `tfsdk:"not"` +} + +type AlertsLogsFilterModel struct { + SimpleFilter types.Object `tfsdk:"simple_filter"` // SimpleFilterModel +} + +type SimpleFilterModel struct { + LuceneQuery types.String `tfsdk:"lucene_query"` + LabelFilters types.Object `tfsdk:"label_filters"` // LabelFiltersModel +} + +type LabelFiltersModel struct { + ApplicationName types.Set `tfsdk:"application_name"` // LabelFilterTypeModel + SubsystemName types.Set `tfsdk:"subsystem_name"` // LabelFilterTypeModel + Severities types.Set `tfsdk:"severities"` // []types.String +} + +type LabelFilterTypeModel struct { + Value types.String `tfsdk:"value"` + Operation types.String `tfsdk:"operation"` +} + +type NotificationPayloadFilterModel struct { + Filter types.String `tfsdk:"filter"` +} + +type UndetectedValuesManagementModel struct { + TriggerUndetectedValues types.Bool `tfsdk:"trigger_undetected_values"` + AutoRetireTimeframe types.String `tfsdk:"auto_retire_timeframe"` +} + +type MetricFilterModel struct { + Promql types.String `tfsdk:"promql"` +} + +type NewValueRuleModel struct { + Condition types.Object `tfsdk:"condition"` // NewValueConditionModel +} + +type NewValueConditionModel struct { + TimeWindow types.Object `tfsdk:"time_window"` // LogsTimeWindowModel + KeypathToTrack types.String `tfsdk:"keypath_to_track"` +} + +type LogsTimeRelativeRuleModel struct { + Condition types.Object `tfsdk:"condition"` // LogsTimeRelativeConditionModel + Override types.Object `tfsdk:"override"` // AlertOverrideModel +} + +type LogsTimeRelativeConditionModel struct { + Threshold types.Float64 `tfsdk:"threshold"` + ComparedTo types.String `tfsdk:"compared_to"` + ConditionType types.String `tfsdk:"condition_type"` +} + +type LogsRatioThresholdRuleModel struct { + Condition types.Object `tfsdk:"condition"` // LogsRatioConditionModel + Override types.Object `tfsdk:"override"` // AlertOverrideModel +} + +type AlertOverrideModel struct { + Priority types.String `tfsdk:"priority"` +} + +type LogsRatioConditionModel struct { + Threshold types.Float64 `tfsdk:"threshold"` + TimeWindow types.Object `tfsdk:"time_window"` // LogsTimeWindowModel + ConditionType types.String `tfsdk:"condition_type"` +} + +type LogsAnomalyRuleModel struct { + Condition types.Object `tfsdk:"condition"` // LogsAnomalyConditionModel +} + +type LogsAnomalyConditionModel struct { + MinimumThreshold types.Float64 `tfsdk:"minimum_threshold"` + TimeWindow types.Object `tfsdk:"time_window"` // LogsTimeWindowModel + ConditionType types.String `tfsdk:"condition_type"` +} + +type LogsTimeWindowModel struct { + SpecificValue types.String `tfsdk:"specific_value"` +} + +type LogsThresholdRuleModel struct { + Condition types.Object `tfsdk:"condition"` // LogsThresholdConditionModel + Override types.Object `tfsdk:"override"` // AlertOverrideModel +} + +type LogsThresholdConditionModel struct { + Threshold types.Float64 `tfsdk:"threshold"` + TimeWindow types.Object `tfsdk:"time_window"` // LogsTimeWindowModel + ConditionType types.String `tfsdk:"condition_type"` +} + +type TracingFilterModel struct { + LatencyThresholdMs types.Int64 `tfsdk:"latency_threshold_ms"` + TracingLabelFilters types.Object `tfsdk:"tracing_label_filters"` // TracingLabelFiltersModel +} + +type TracingLabelFiltersModel struct { + ApplicationName types.Set `tfsdk:"application_name"` // TracingFilterTypeModel + SubsystemName types.Set `tfsdk:"subsystem_name"` // TracingFilterTypeModel + ServiceName types.Set `tfsdk:"service_name"` // TracingFilterTypeModel + OperationName types.Set `tfsdk:"operation_name"` // TracingFilterTypeModel + SpanFields types.Set `tfsdk:"span_fields"` // TracingSpanFieldsFilterModel +} + +type TracingFilterTypeModel struct { + Values types.Set `tfsdk:"values"` // []types.String + Operation types.String `tfsdk:"operation"` +} + +type TracingSpanFieldsFilterModel struct { + Key types.String `tfsdk:"key"` + FilterType types.Object `tfsdk:"filter_type"` // TracingFilterTypeModel +} + +func (r *AlertResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { + resp.TypeName = req.ProviderTypeName + "_alert" +} + +func (r *AlertResource) Configure(_ 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 *cxsdk.ClientSet, got: %T. Please report this issue to the provider developers.", req.ProviderData), + ) + return } + + r.client = clientSet.Alerts() } -func standardSchema() map[string]*schema.Schema { - standardSchema := commonAlertSchema() - standardSchema["condition"] = &schema.Schema{ - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "immediately": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"standard.0.condition.0.immediately", - "standard.0.condition.0.more_than", - "standard.0.condition.0.less_than", - "standard.0.condition.0.more_than_usual"}, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than or more_than_usual.", +func (r *AlertResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) { + resp.Schema = schema.Schema{ + Version: 1, + MarkdownDescription: "Coralogix Alert. For more info please review - https://coralogix.com/docs/getting-started-with-coralogix-alerts/.", + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), }, - "less_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"standard.0.condition.0.immediately", - "standard.0.condition.0.more_than", - "standard.0.condition.0.less_than", - "standard.0.condition.0.more_than_usual"}, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than or more_than_usual.", - RequiredWith: []string{"standard.0.condition.0.time_window", "standard.0.condition.0.threshold"}, - }, - "more_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"standard.0.condition.0.immediately", - "standard.0.condition.0.more_than", - "standard.0.condition.0.less_than", - "standard.0.condition.0.more_than_usual"}, - RequiredWith: []string{"standard.0.condition.0.time_window", "standard.0.condition.0.threshold"}, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than or more_than_usual.", - }, - "more_than_usual": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"standard.0.condition.0.immediately", - "standard.0.condition.0.more_than", - "standard.0.condition.0.less_than", - "standard.0.condition.0.more_than_usual"}, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than or more_than_usual.", - }, - "threshold": { - Type: schema.TypeInt, - Optional: true, - ConflictsWith: []string{"standard.0.condition.0.immediately"}, - Description: "The number of log occurrences that is needed to trigger the alert.", - }, - "time_window": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(alertValidTimeFrames, false), - ConflictsWith: []string{"standard.0.condition.0.immediately"}, - Description: fmt.Sprintf("The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of %q", alertValidTimeFrames), - }, - "group_by": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - ConflictsWith: []string{"standard.0.condition.0.immediately"}, - Description: "The fields to 'group by' on. In case of immediately = true switch to group_by_key.", + MarkdownDescription: "Alert ID.", + }, + "name": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.LengthAtLeast(1), }, - "group_by_key": { - Type: schema.TypeString, - Optional: true, - ConflictsWith: []string{"standard.0.condition.0.more_than", "standard.0.condition.0.less_than", "standard.0.condition.0.more_than_usual"}, - Description: "The key to 'group by' on. When immediately = true, 'group_by_key' (single string) can be set instead of 'group_by'.", + MarkdownDescription: "Alert name.", + }, + "description": schema.StringAttribute{ + Optional: true, + MarkdownDescription: "Alert description.", + }, + "enabled": schema.BoolAttribute{ + Optional: true, + Computed: true, + Default: booldefault.StaticBool(true), + MarkdownDescription: "Alert enabled status. True by default.", + }, + "priority": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validAlertPriorities...), }, - "manage_undetected_values": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "enable_triggering_on_undetected_values": { - Type: schema.TypeBool, + MarkdownDescription: fmt.Sprintf("Alert priority. Valid values: %q.", validAlertPriorities), + }, + "schedule": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "active_on": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "days_of_week": schema.ListAttribute{ Required: true, - Description: "Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted.", - }, - "auto_retire_ratio": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(alertValidDeadmanRatioValues, false), - Description: fmt.Sprintf("Defines the triggering auto-retire ratio. Can be one of %q", alertValidDeadmanRatioValues), + ElementType: types.StringType, + Validators: []validator.List{ + listvalidator.ValueStringsAre( + stringvalidator.OneOf(validDaysOfWeek...), + ), + }, + MarkdownDescription: fmt.Sprintf("Days of the week. Valid values: %q.", validDaysOfWeek), }, + "start_time": timeOfDaySchema(), + "end_time": timeOfDaySchema(), }, }, - RequiredWith: []string{"standard.0.condition.0.less_than", "standard.0.condition.0.group_by"}, - Description: "Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER.", - }, - "evaluation_window": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice(validEvaluationWindow, false), - RequiredWith: []string{"standard.0.condition.0.more_than"}, - Description: fmt.Sprintf("Defines the evaluation-window logic to determine if the threshold has been crossed. Relevant only for more_than condition. Can be one of %q.", validEvaluationWindow), }, + MarkdownDescription: "Alert schedule. Will be activated all the time if not specified.", }, - }, - Description: "Defines the conditions for triggering and notify by the alert", - } - return standardSchema -} - -func ratioSchema() map[string]*schema.Schema { - query1Schema := commonAlertSchema() - query1Schema["alias"] = &schema.Schema{ - Type: schema.TypeString, - Optional: true, - Default: "Query 1", - Description: "Query1 alias.", - } - - return map[string]*schema.Schema{ - "query_1": { - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: query1Schema, - }, - }, - "query_2": { - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "alias": { - Type: schema.TypeString, - Optional: true, - Default: "Query 2", - Description: "Query2 alias.", - }, - "search_query": searchQuerySchema(), - "severities": { - Type: schema.TypeSet, + // type is being inferred by the type_definition attribute + "type_definition": schema.SingleNestedAttribute{ + Required: true, + MarkdownDescription: "Alert type definition. Exactly one of the following must be specified: logs_immediate, logs_threshold, logs_anomaly, logs_ratio_threshold, logs_new_value, logs_unique_count, logs_time_relative_threshold, metric_threshold, metric_anomaly, tracing_immediate, tracing_threshold flow.", + Attributes: map[string]schema.Attribute{ + "logs_immediate": schema.SingleNestedAttribute{ Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validation.StringInSlice(alertValidLogSeverities, false), + Attributes: map[string]schema.Attribute{ + "logs_filter": logsFilterSchema(), + "notification_payload_filter": notificationPayloadFilterSchema(), }, - Description: fmt.Sprintf("An array of log severities that we interested in. Can be one of %q", alertValidLogSeverities), - Set: schema.HashString, - }, - "applications": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRoot("type_definition").AtName("logs_threshold"), + path.MatchRoot("type_definition").AtName("logs_anomaly"), + path.MatchRoot("type_definition").AtName("logs_ratio_threshold"), + path.MatchRoot("type_definition").AtName("logs_unique_count"), + path.MatchRoot("type_definition").AtName("logs_new_value"), + path.MatchRoot("type_definition").AtName("logs_time_relative_threshold"), + path.MatchRoot("type_definition").AtName("metric_threshold"), + path.MatchRoot("type_definition").AtName("metric_anomaly"), + path.MatchRoot("type_definition").AtName("tracing_immediate"), + path.MatchRoot("type_definition").AtName("tracing_threshold"), + path.MatchRoot("type_definition").AtName("flow"), + ), }, - Description: "An array that contains log’s application names that we want to be alerted on." + - " Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - Set: schema.HashString, }, - "subsystems": { - Type: schema.TypeSet, + "logs_threshold": schema.SingleNestedAttribute{ Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, + Attributes: map[string]schema.Attribute{ + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "threshold": schema.Float64Attribute{ + Required: true, + }, + "time_window": logsTimeWindowSchema(validLogsTimeWindowValues), + "condition_type": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(logsThresholdConditionValues...), + }, + MarkdownDescription: fmt.Sprintf("Condition to evaluate the threshold with. Valid values: %q.", logsThresholdConditionValues), + }, + }, + }, + "override": overrideAlertSchema(), + }, + }, + }, + "notification_payload_filter": notificationPayloadFilterSchema(), + "logs_filter": logsFilterSchema(), + "undetected_values_management": undetectedValuesManagementSchema(), }, - Description: "An array that contains log’s subsystem names that we want to be notified on. " + - "Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - Set: schema.HashString, }, - }, - }, - }, - "condition": { - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "more_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"ratio.0.condition.0.more_than", "ratio.0.condition.0.less_than"}, - Description: "Determines the condition operator." + - " Must be one of - less_than or more_than.", - }, - "less_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"ratio.0.condition.0.more_than", "ratio.0.condition.0.less_than"}, + "logs_anomaly": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "logs_filter": logsFilterSchema(), + "notification_payload_filter": notificationPayloadFilterSchema(), + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "time_window": logsTimeWindowSchema(validLogsTimeWindowValues), + "minimum_threshold": schema.Float64Attribute{ + Required: true, + }, + "condition_type": schema.StringAttribute{ + Computed: true, + Default: stringdefault.StaticString("MORE_THAN_USUAL"), + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + }, + }, + }, + }, + }, + }, + }, }, - "ratio_threshold": { - Type: schema.TypeFloat, - Required: true, - Description: "The ratio(between the queries) threshold that is needed to trigger the alert.", + "logs_ratio_threshold": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "threshold": schema.Float64Attribute{ + Required: true, + }, + "time_window": logsTimeWindowSchema(validLogsRatioTimeWindowValues), + "condition_type": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(logsRatioConditionMapValues...), + }, + MarkdownDescription: fmt.Sprintf("Condition to evaluate the threshold with. Valid values: %q.", logsRatioConditionMapValues), + }, + }, + }, + "override": overrideAlertSchema(), + }, + }, + }, + "numerator": logsFilterSchema(), + "numerator_alias": schema.StringAttribute{ + Required: true, + }, + "denominator": logsFilterSchema(), + "denominator_alias": schema.StringAttribute{ + Required: true, + }, + "notification_payload_filter": notificationPayloadFilterSchema(), + "group_by_for": logsRatioGroupByForSchema(), + }, }, - "time_window": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidTimeFrames, false), - Description: fmt.Sprintf("The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of %q", alertValidTimeFrames), + "logs_new_value": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "keypath_to_track": schema.StringAttribute{Required: true}, + "time_window": logsTimeWindowSchema(validLogsNewValueTimeWindowValues), + }, + }, + }, + }, + }, + "logs_filter": logsFilterSchema(), + "notification_payload_filter": notificationPayloadFilterSchema(), + }, }, - "ignore_infinity": { - Type: schema.TypeBool, - Optional: true, - ConflictsWith: []string{"ratio.0.condition.0.less_than"}, - Description: "Not triggered when threshold is infinity (divided by zero).", + "logs_unique_count": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "logs_filter": logsFilterSchema(), + "notification_payload_filter": notificationPayloadFilterSchema(), + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "time_window": logsTimeWindowSchema(validLogsUniqueCountTimeWindowValues), + "max_unique_count": schema.Int64Attribute{Required: true}, + }, + }, + }, + }, + }, + "max_unique_count_per_group_by_key": schema.Int64Attribute{ + Optional: true, + }, + "unique_count_keypath": schema.StringAttribute{ + Required: true, + }, + }, }, - "group_by": { - Type: schema.TypeList, + "logs_time_relative_threshold": schema.SingleNestedAttribute{ Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, + Attributes: map[string]schema.Attribute{ + "logs_filter": logsFilterSchema(), + "notification_payload_filter": notificationPayloadFilterSchema(), + "undetected_values_management": undetectedValuesManagementSchema(), + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "condition_type": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(logsTimeRelativeConditionValues...), + }, + MarkdownDescription: fmt.Sprintf("Condition . Valid values: %q.", logsTimeRelativeConditionValues), + }, + "threshold": schema.Float64Attribute{ + Required: true, + }, + "compared_to": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validLogsTimeRelativeComparedTo...), + }, + MarkdownDescription: fmt.Sprintf("Compared to a different time frame. Valid values: %q.", validLogsTimeRelativeComparedTo), + }, + }, + }, + "override": overrideAlertSchema(), + }, + }, + }, }, - Description: "The fields to 'group by' on.", }, - "group_by_q1": { - Type: schema.TypeBool, - Optional: true, - RequiredWith: []string{"ratio.0.condition.0.group_by"}, - ConflictsWith: []string{"ratio.0.condition.0.group_by_q2", - "ratio.0.condition.0.group_by_both"}, + // Metrics + "metric_threshold": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "metric_filter": metricFilterSchema(), + "undetected_values_management": undetectedValuesManagementSchema(), + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "threshold": schema.Float64Attribute{ + Required: true, + }, + "for_over_pct": schema.Int64Attribute{ + Required: true, + }, + "of_the_last": metricTimeWindowSchema(), + "condition_type": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(metricsThresholdConditionValues...), + }, + MarkdownDescription: fmt.Sprintf("Condition to evaluate the threshold with. Valid values: %q.", metricsThresholdConditionValues), + }, + }, + }, + "override": overrideAlertSchema(), + }, + }, + }, + "missing_values": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "replace_with_zero": schema.BoolAttribute{ + Optional: true, + Validators: []validator.Bool{ + boolvalidator.ExactlyOneOf(path.MatchRelative().AtParent().AtName("min_non_null_values_pct")), + }, + }, + "min_non_null_values_pct": schema.Int64Attribute{ + Optional: true, + }, + }, + }, + }, }, - "group_by_q2": { - Type: schema.TypeBool, - Optional: true, - RequiredWith: []string{"ratio.0.condition.0.group_by"}, - ConflictsWith: []string{"ratio.0.condition.0.group_by_q1", - "ratio.0.condition.0.group_by_both"}, + "metric_anomaly": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "metric_filter": metricFilterSchema(), + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "min_non_null_values_pct": schema.Int64Attribute{ + Required: true, + }, + "threshold": schema.Float64Attribute{ + Required: true, + }, + "for_over_pct": schema.Int64Attribute{ + Required: true, + }, + "of_the_last": metricTimeWindowSchema(), + "condition_type": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(metricAnomalyConditionValues...), + }, + MarkdownDescription: fmt.Sprintf("Condition to evaluate the threshold with. Valid values: %q.", metricAnomalyConditionValues), + }, + }, + }, + }, + }, + }, + }, }, - "group_by_both": { - Type: schema.TypeBool, - Optional: true, - RequiredWith: []string{"ratio.0.condition.0.group_by"}, - ConflictsWith: []string{"ratio.0.condition.0.group_by_q1", - "ratio.0.condition.0.group_by_q2"}, + // Tracing + "tracing_immediate": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "tracing_filter": tracingQuerySchema(), + "notification_payload_filter": notificationPayloadFilterSchema(), + }, }, - "manage_undetected_values": { - Type: schema.TypeList, + "tracing_threshold": schema.SingleNestedAttribute{ Optional: true, - Computed: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "enable_triggering_on_undetected_values": { - Type: schema.TypeBool, - Required: true, - Description: "Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted.", + Attributes: map[string]schema.Attribute{ + "tracing_filter": tracingQuerySchema(), + "notification_payload_filter": notificationPayloadFilterSchema(), + "rules": schema.ListNestedAttribute{ + Required: true, + Validators: []validator.List{listvalidator.SizeAtLeast(1)}, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "condition": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "span_amount": schema.Float64Attribute{ + Required: true, + }, + "time_window": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "specific_value": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validTracingTimeWindow...), + }, + MarkdownDescription: fmt.Sprintf("Time window to evaluate the threshold with. Valid values: %q.", validTracingTimeWindow), + }, + }, + }, + "condition_type": schema.StringAttribute{ + Computed: true, + Default: stringdefault.StaticString("MORE_THAN"), + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + }, + }, + }, + }, + // Condition type is missing since there is only a single type to be filled in }, - "auto_retire_ratio": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(alertValidDeadmanRatioValues, false), - Description: fmt.Sprintf("Defines the triggering auto-retire ratio. Can be one of %q", alertValidDeadmanRatioValues), + }, + }, + }, + // Flow + "flow": schema.SingleNestedAttribute{ + Optional: true, + Attributes: map[string]schema.Attribute{ + "stages": schema.ListNestedAttribute{ + Required: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "flow_stages_groups": schema.ListNestedAttribute{ + Required: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "alert_defs": schema.ListNestedAttribute{ + Required: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + Required: true, + }, + "not": schema.BoolAttribute{ + Optional: true, + Computed: true, + Default: booldefault.StaticBool(false), + }, + }, + }, + }, + "next_op": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validFlowStagesGroupNextOps...), + }, + MarkdownDescription: fmt.Sprintf("Next operation. Valid values: %q.", validFlowStagesGroupNextOps), + }, + "alerts_op": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validFlowStagesGroupAlertsOps...), + }, + MarkdownDescription: fmt.Sprintf("Alerts operation. Valid values: %q.", validFlowStagesGroupAlertsOps), + }, + }, + }, + }, + "timeframe_ms": schema.Int64Attribute{ + Optional: true, + Computed: true, + Default: int64default.StaticInt64(0), + }, + "timeframe_type": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validFlowStageTimeFrameTypes...), + }, + }, + }, }, }, + "enforce_suppression": schema.BoolAttribute{ + Optional: true, + Computed: true, + Default: booldefault.StaticBool(false), + }, }, - RequiredWith: []string{"ratio.0.condition.0.less_than", "ratio.0.condition.0.group_by"}, - Description: "Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER.", }, }, }, - Description: "Defines the conditions for triggering and notify by the alert", - }, - } -} - -func newValueSchema() map[string]*schema.Schema { - newValueSchema := commonAlertSchema() - newValueSchema["condition"] = &schema.Schema{ - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "key_to_track": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringIsNotEmpty, - Description: "Select a key to track. Note, this key needs to have less than 50K unique values in" + - " the defined timeframe.", - }, - "time_window": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidNewValueTimeFrames, false), - Description: fmt.Sprintf("The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of %q", alertValidNewValueTimeFrames), - }, + "phantom_mode": schema.BoolAttribute{ + Optional: true, + Computed: true, + Default: booldefault.StaticBool(false), }, - }, - Description: "Defines the conditions for triggering and notify by the alert", - } - return newValueSchema -} - -func uniqueCountSchema() map[string]*schema.Schema { - uniqueCountSchema := commonAlertSchema() - uniqueCountSchema["condition"] = &schema.Schema{ - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "unique_count_key": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringIsNotEmpty, - Description: "Defines the key to match to track its unique count.", - }, - "max_unique_values": { - Type: schema.TypeInt, - Required: true, - }, - "time_window": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidUniqueCountTimeFrames, false), - Description: fmt.Sprintf("The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of %q", alertValidUniqueCountTimeFrames), - }, - "group_by_key": { - Type: schema.TypeString, - Optional: true, - RequiredWith: []string{"unique_count.0.condition.0.max_unique_values_for_group_by"}, - Description: "The key to 'group by' on.", - }, - "max_unique_values_for_group_by": { - Type: schema.TypeInt, - Optional: true, - RequiredWith: []string{"unique_count.0.condition.0.group_by_key"}, + "deleted": schema.BoolAttribute{ + Computed: true, + PlanModifiers: []planmodifier.Bool{ + boolplanmodifier.UseStateForUnknown(), }, }, - }, - Description: "Defines the conditions for triggering and notify by the alert", - } - return uniqueCountSchema -} - -func timeRelativeSchema() map[string]*schema.Schema { - timeRelativeSchema := commonAlertSchema() - timeRelativeSchema["condition"] = &schema.Schema{ - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "less_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"time_relative.0.condition.0.more_than", - "time_relative.0.condition.0.less_than"}, - Description: "Determines the condition operator." + - " Must be one of - less_than or more_than.", - }, - "more_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"time_relative.0.condition.0.more_than", - "time_relative.0.condition.0.less_than"}, - Description: "Determines the condition operator." + - " Must be one of - less_than or more_than.", - }, - "ratio_threshold": { - Type: schema.TypeFloat, - Required: true, - Description: "The ratio threshold that is needed to trigger the alert.", + "group_by": schema.SetAttribute{ + Optional: true, + Computed: true, + PlanModifiers: []planmodifier.Set{ + ComputedForMetricAlerts{}, }, - "relative_time_window": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidRelativeTimeFrames, false), - Description: fmt.Sprintf("Time-window to compare with. Can be one of %q.", alertValidRelativeTimeFrames), + Validators: []validator.Set{ + //imidiate, new value, tracing-immidiate, + GroupByValidator{}, }, - "ignore_infinity": { - Type: schema.TypeBool, - Optional: true, - ConflictsWith: []string{"time_relative.0.condition.0.less_than"}, - Description: "Not triggered when threshold is infinity (divided by zero).", + ElementType: types.StringType, + MarkdownDescription: "Group by fields.", + }, + "incidents_settings": schema.SingleNestedAttribute{ + Optional: true, + Computed: true, + PlanModifiers: []planmodifier.Object{ + objectplanmodifier.UseStateForUnknown(), }, - "group_by": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, + Attributes: map[string]schema.Attribute{ + "notify_on": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validNotifyOn...), + }, + MarkdownDescription: fmt.Sprintf("Notify on. Valid values: %q.", validNotifyOn), }, - Description: "The fields to 'group by' on.", - }, - "manage_undetected_values": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "enable_triggering_on_undetected_values": { - Type: schema.TypeBool, - Required: true, - Description: "Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted.", - }, - "auto_retire_ratio": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(alertValidDeadmanRatioValues, false), - Description: fmt.Sprintf("Defines the triggering auto-retire ratio. Can be one of %q", alertValidDeadmanRatioValues), + "retriggering_period": schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "minutes": schema.Int64Attribute{ + Required: true, }, }, }, - RequiredWith: []string{"time_relative.0.condition.0.less_than", "time_relative.0.condition.0.group_by"}, - Description: "Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER.", }, }, - }, - Description: "Defines the conditions for triggering and notify by the alert", - } - return timeRelativeSchema -} - -func metricSchema() map[string]*schema.Schema { - return map[string]*schema.Schema{ - "lucene": { - Type: schema.TypeList, - MaxItems: 1, - Optional: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "search_query": { - Type: schema.TypeString, - Required: true, - Description: "Regular expiration. More info: https://coralogix.com/blog/regex-101/", + "notification_group": schema.SingleNestedAttribute{ + Optional: true, + Computed: true, + Default: objectdefault.StaticValue(types.ObjectValueMust(notificationGroupAttr(), map[string]attr.Value{ + "group_by_keys": types.SetNull(types.StringType), + "webhooks_settings": types.SetNull(types.ObjectType{AttrTypes: map[string]attr.Type{ + "retriggering_period": types.ObjectType{AttrTypes: map[string]attr.Type{ + "minutes": types.Int64Type, + }}, + "notify_on": types.StringType, + "integration_id": types.StringType, + "recipients": types.SetType{ElemType: types.StringType}, + }}), + })), + Attributes: map[string]schema.Attribute{ + "group_by_keys": schema.SetAttribute{ + Optional: true, + ElementType: types.StringType, }, - "condition": { - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "metric_field": { - Type: schema.TypeString, - Required: true, - Description: "The name of the metric field to alert on.", - }, - "arithmetic_operator": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidArithmeticOperators, false), - Description: fmt.Sprintf("The arithmetic operator to use on the alert. can be one of %q", alertValidArithmeticOperators), - }, - "arithmetic_operator_modifier": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.IntBetween(0, 100), - Description: "When arithmetic_operator = \"Percentile\" you need to supply the value in this property, 0 < value < 100.", - }, - "less_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"metric.0.lucene.0.condition.0.less_than", - "metric.0.lucene.0.condition.0.more_than"}, - Description: "Determines the condition operator." + - " Must be one of - less_than or more_than.", - }, - "more_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"metric.0.lucene.0.condition.0.less_than", - "metric.0.lucene.0.condition.0.more_than"}, - Description: "Determines the condition operator." + - " Must be one of - less_than or more_than.", - }, - "threshold": { - Type: schema.TypeFloat, - Required: true, - Description: "The number of log threshold that is needed to trigger the alert.", - }, - "sample_threshold_percentage": { - Type: schema.TypeInt, - Required: true, - ValidateFunc: validation.All(validation.IntDivisibleBy(10), validation.IntBetween(0, 100)), - Description: "The metric value must cross the threshold within this percentage of the timeframe (sum and count arithmetic operators do not use this parameter since they aggregate over the entire requested timeframe), increments of 10, 0 <= value <= 100.", - }, - "time_window": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidMetricTimeFrames, false), - Description: fmt.Sprintf("The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of %q", alertValidMetricTimeFrames), - }, - "group_by": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "The fields to 'group by' on.", - }, - "replace_missing_value_with_zero": { - Type: schema.TypeBool, - Optional: true, - ConflictsWith: []string{"metric.0.lucene.0.condition.0.min_non_null_values_percentage"}, - Description: "If set to true, missing data will be considered as 0, otherwise, it will not be considered at all.", - }, - "min_non_null_values_percentage": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.All(validation.IntDivisibleBy(10), validation.IntBetween(0, 100)), - ConflictsWith: []string{"metric.0.lucene.0.condition.0.replace_missing_value_with_zero"}, - Description: "The minimum percentage of the timeframe that should have values for this alert to trigger", - }, - "manage_undetected_values": { - Type: schema.TypeList, + "webhooks_settings": schema.SetNestedAttribute{ + Optional: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "retriggering_period": schema.SingleNestedAttribute{ Optional: true, Computed: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "enable_triggering_on_undetected_values": { - Type: schema.TypeBool, - Required: true, - Description: "Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted.", - }, - "auto_retire_ratio": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(alertValidDeadmanRatioValues, false), - Description: fmt.Sprintf("Defines the triggering auto-retire ratio. Can be one of %q", alertValidDeadmanRatioValues), - }, + Default: objectdefault.StaticValue(types.ObjectValueMust(retriggeringPeriodAttr(), map[string]attr.Value{ + "minutes": types.Int64Value(10), + })), + Attributes: map[string]schema.Attribute{ + "minutes": schema.Int64Attribute{ + Required: true, }, }, - RequiredWith: []string{"metric.0.lucene.0.condition.0.less_than", "metric.0.lucene.0.condition.0.group_by"}, - Description: "Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER.", + MarkdownDescription: "Retriggering period in minutes. 10 minutes by default.", }, - }, - }, - Description: "Defines the conditions for triggering and notify by the alert", - }, - }, - }, - ExactlyOneOf: []string{"metric.0.lucene", "metric.0.promql"}, - }, - "promql": { - Type: schema.TypeList, - MaxItems: 1, - Optional: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "search_query": { - Type: schema.TypeString, - Required: true, - Description: "Regular expiration. More info: https://coralogix.com/blog/regex-101/", - }, - "condition": { - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "less_than": { - Type: schema.TypeBool, + "notify_on": schema.StringAttribute{ Optional: true, - ExactlyOneOf: []string{ - "metric.0.promql.0.condition.0.more_than", - "metric.0.promql.0.condition.0.more_than_usual", - "metric.0.promql.0.condition.0.less_than_usual", - "metric.0.promql.0.condition.0.more_than_or_equal", - "metric.0.promql.0.condition.0.less_than_or_equal", + Computed: true, + Default: stringdefault.StaticString("Triggered Only"), + Validators: []validator.String{ + stringvalidator.OneOf(validNotifyOn...), }, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal.", - }, - "more_than": { - Type: schema.TypeBool, - Optional: true, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal.", - }, - "more_than_usual": { - Type: schema.TypeBool, - Optional: true, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal.", - }, - "less_than_usual": { - Type: schema.TypeBool, - Optional: true, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal.", - }, - "more_than_or_equal": { - Type: schema.TypeBool, - Optional: true, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal.", - }, - "less_than_or_equal": { - Type: schema.TypeBool, - Optional: true, - Description: "Determines the condition operator." + - " Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal.", - }, - "threshold": { - Type: schema.TypeFloat, - Required: true, - Description: "The threshold that is needed to trigger the alert.", - }, - "time_window": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidMetricTimeFrames, false), - Description: fmt.Sprintf("The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of %q", alertValidMetricTimeFrames), - }, - "sample_threshold_percentage": { - Type: schema.TypeInt, - Required: true, - ValidateFunc: validation.All(validation.IntDivisibleBy(10), validation.IntBetween(0, 100)), + MarkdownDescription: fmt.Sprintf("Notify on. Valid values: %q. Triggered Only by default.", validNotifyOn), }, - "replace_missing_value_with_zero": { - Type: schema.TypeBool, - Optional: true, - ConflictsWith: []string{"metric.0.promql.0.condition.0.min_non_null_values_percentage", "metric.0.promql.0.condition.0.more_than_usual"}, - Description: "If set to true, missing data will be considered as 0, otherwise, it will not be considered at all.", - }, - "min_non_null_values_percentage": { - Type: schema.TypeInt, - Optional: true, - ConflictsWith: []string{"metric.0.promql.0.condition.0.replace_missing_value_with_zero"}, - ValidateFunc: validation.All(validation.IntDivisibleBy(10), validation.IntBetween(0, 100)), - }, - "manage_undetected_values": { - Type: schema.TypeList, + "integration_id": schema.StringAttribute{ Optional: true, - Computed: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "enable_triggering_on_undetected_values": { - Type: schema.TypeBool, - Required: true, - Description: "Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted.", - }, - "auto_retire_ratio": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(alertValidDeadmanRatioValues, false), - Description: fmt.Sprintf("Defines the triggering auto-retire ratio. Can be one of %q", alertValidDeadmanRatioValues), - }, - }, + Validators: []validator.String{ + stringvalidator.ExactlyOneOf(path.MatchRelative().AtParent().AtName("recipients")), }, - ConflictsWith: []string{"metric.0.promql.0.condition.0.more_than", "metric.0.promql.0.condition.0.more_than_or_equal", "metric.0.promql.0.condition.0.more_than_usual", "metric.0.promql.0.condition.0.less_than_usual"}, - Description: "Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER.", }, + "recipients": schema.SetAttribute{ + Optional: true, + ElementType: types.StringType, + }, + }, + PlanModifiers: []planmodifier.Object{ + objectplanmodifier.UseStateForUnknown(), }, }, - Description: "Defines the conditions for triggering and notify by the alert", }, }, }, - ExactlyOneOf: []string{"metric.0.lucene", "metric.0.promql"}, + "labels": schema.MapAttribute{ + Optional: true, + ElementType: types.StringType, + }, }, } } -func tracingSchema() map[string]*schema.Schema { - return map[string]*schema.Schema{ - "applications": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, +type GroupByValidator struct { +} + +func (g GroupByValidator) Description(ctx context.Context) string { + return "Group by validator." +} + +func (g GroupByValidator) MarkdownDescription(ctx context.Context) string { + return "Group by validator." +} + +func (g GroupByValidator) ValidateSet(ctx context.Context, request validator.SetRequest, response *validator.SetResponse) { + paths, diags := request.Config.PathMatches(ctx, path.MatchRoot("type_definition")) + if diags.HasError() { + response.Diagnostics.Append(diags...) + return + } + var typeDefinition AlertTypeDefinitionModel + diags = request.Config.GetAttribute(ctx, paths[0], &typeDefinition) + if diags.HasError() { + response.Diagnostics.Append(diags...) + return + } + + if !objIsNullOrUnknown(typeDefinition.LogsImmediate) || !objIsNullOrUnknown(typeDefinition.LogsNewValue) || !objIsNullOrUnknown(typeDefinition.TracingImmediate) { + if !(request.ConfigValue.IsNull() || request.ConfigValue.IsUnknown()) { + response.Diagnostics.AddError("group_by", "Group by is not allowed for logs_immediate, logs_new_value, tracing_immediate alert types.") + } + } +} + +type ComputedForMetricAlerts struct { +} + +func (c ComputedForMetricAlerts) Description(ctx context.Context) string { + return "Computed for metric alerts." +} + +func (c ComputedForMetricAlerts) MarkdownDescription(ctx context.Context) string { + return "Computed for metric alerts." +} + +func (c ComputedForMetricAlerts) PlanModifySet(ctx context.Context, request planmodifier.SetRequest, response *planmodifier.SetResponse) { + paths, diags := request.Plan.PathMatches(ctx, path.MatchRoot("type_definition")) + if diags.HasError() { + response.Diagnostics.Append(diags...) + return + } + var typeDefinition AlertTypeDefinitionModel + diags = request.Plan.GetAttribute(ctx, paths[0], &typeDefinition) + if diags.HasError() { + response.Diagnostics.Append(diags...) + return + } + + var typeDefinitionStr string + if !objIsNullOrUnknown(typeDefinition.MetricThreshold) { + typeDefinitionStr = "metric_threshold" + } else if !objIsNullOrUnknown(typeDefinition.MetricAnomaly) { + typeDefinitionStr = "metric_anomaly" + } + + if typeDefinitionStr != "" { + paths, diags = request.Plan.PathMatches(ctx, path.MatchRoot("type_definition").AtName(typeDefinitionStr).AtName("metric_filter").AtName("promql")) + if diags.HasError() { + response.Diagnostics.Append(diags...) + return + } + + var promqlPlan types.String + diags = request.Plan.GetAttribute(ctx, paths[0], &promqlPlan) + if diags.HasError() { + response.Diagnostics.Append(diags...) + return + } + + var promqlState types.String + diags = request.State.GetAttribute(ctx, paths[0], &promqlState) + if diags.HasError() { + response.Diagnostics.Append(diags...) + return + } + + if request.ConfigValue.IsUnknown() || request.ConfigValue.IsNull() { + if !promqlState.Equal(promqlPlan) { + response.PlanValue = types.SetUnknown(types.StringType) + } else { + response.PlanValue = request.StateValue + } + return + } + } + + response.PlanValue = request.ConfigValue +} + +func metricTimeWindowSchema() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "specific_value": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validMetricTimeWindowValues...), + }, + MarkdownDescription: fmt.Sprintf("Time window to evaluate the threshold with. Valid values: %q.", validMetricTimeWindowValues), }, - Description: "An array that contains log’s application names that we want to be alerted on." + - " Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - Set: schema.HashString, }, - "subsystems": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, + } +} + +func logsTimeWindowSchema(validLogsTimeWindowValues []string) schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "specific_value": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(validLogsTimeWindowValues...), + }, }, - Description: "An array that contains log’s subsystems names that we want to be alerted on." + - " Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - Set: schema.HashString, }, - "services": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Description: "An array that contains log’s services names that we want to be alerted on." + - " Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - Set: schema.HashString, + } +} + +func overrideAlertSchema() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "priority": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.OneOf(validAlertPriorities...), + }, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + MarkdownDescription: fmt.Sprintf("Alert priority. Valid values: %q.", validAlertPriorities), + }, + }, + } +} + +func logsRatioGroupByForSchema() schema.StringAttribute { + return schema.StringAttribute{ + Optional: true, + Computed: true, + Default: stringdefault.StaticString("Both"), + Validators: []validator.String{ + stringvalidator.OneOf(validLogsRatioGroupByFor...), + stringvalidator.AlsoRequires(path.MatchRoot("group_by")), + }, + MarkdownDescription: fmt.Sprintf("Group by for. Valid values: %q. 'Both' by default.", validLogsRatioGroupByFor), + } +} + +func tracingQuerySchema() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "latency_threshold_ms": schema.Int64Attribute{ + Required: true, + }, + "tracing_label_filters": tracingLabelFiltersSchema(), + }, + } +} + +func tracingLabelFiltersSchema() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "application_name": tracingFiltersTypeSchema(), + "subsystem_name": tracingFiltersTypeSchema(), + "service_name": tracingFiltersTypeSchema(), + "operation_name": tracingFiltersTypeSchema(), + "span_fields": tracingSpanFieldsFilterSchema(), + }, + } +} + +func tracingFiltersTypeSchema() schema.SetNestedAttribute { + return schema.SetNestedAttribute{ + Optional: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: tracingFiltersTypeSchemaAttributes(), + }, + } +} + +func tracingFiltersTypeSchemaAttributes() map[string]schema.Attribute { + return map[string]schema.Attribute{ + "values": schema.SetAttribute{ + Required: true, + ElementType: types.StringType, }, - "tag_filter": { - Type: schema.TypeSet, + "operation": schema.StringAttribute{ Optional: true, - Elem: tagFilterSchema(), - Set: schema.HashResource(tagFilterSchema()), - }, - "latency_threshold_milliseconds": { - Type: schema.TypeFloat, - Optional: true, - ValidateFunc: validation.FloatAtLeast(0), - }, - "condition": { - Type: schema.TypeList, - Required: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "immediately": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"tracing.0.condition.0.immediately", "tracing.0.condition.0.more_than"}, - Description: "Determines the condition operator." + - " Must be one of - immediately or more_than.", - }, - "more_than": { - Type: schema.TypeBool, - Optional: true, - ExactlyOneOf: []string{"tracing.0.condition.0.immediately", "tracing.0.condition.0.more_than"}, - RequiredWith: []string{"tracing.0.condition.0.time_window"}, - Description: "Determines the condition operator." + - " Must be one of - immediately or more_than.", - }, - "threshold": { - Type: schema.TypeInt, - Optional: true, - ConflictsWith: []string{"tracing.0.condition.0.immediately"}, - Description: "The number of log occurrences that is needed to trigger the alert.", - }, - "time_window": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - ValidateFunc: validation.StringInSlice(alertValidTimeFrames, false), - ConflictsWith: []string{"tracing.0.condition.0.immediately"}, - RequiredWith: []string{"tracing.0.condition.0.more_than"}, - Description: fmt.Sprintf("The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of %q", alertValidTimeFrames), + Computed: true, + Default: stringdefault.StaticString("IS"), + Validators: []validator.String{ + stringvalidator.OneOf(validTracingFilterOperations...), + }, + MarkdownDescription: fmt.Sprintf("Operation. Valid values: %q. 'IS' by default.", validTracingFilterOperations), + }, + } +} + +func tracingSpanFieldsFilterSchema() schema.SetNestedAttribute { + return schema.SetNestedAttribute{ + Optional: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "key": schema.StringAttribute{ + Required: true, + }, + "filter_type": schema.SingleNestedAttribute{ + Optional: true, + Attributes: tracingFiltersTypeSchemaAttributes(), + }, + }, + }, + } +} + +func metricFilterSchema() schema.Attribute { + return schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "promql": schema.StringAttribute{ + Required: true, + }, + }, + } +} + +func logsFilterSchema() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Optional: true, + Computed: true, + PlanModifiers: []planmodifier.Object{ + objectplanmodifier.UseStateForUnknown(), + }, + Attributes: map[string]schema.Attribute{ + "simple_filter": schema.SingleNestedAttribute{ + Optional: true, + Computed: true, + PlanModifiers: []planmodifier.Object{ + objectplanmodifier.UseStateForUnknown(), + }, + Attributes: map[string]schema.Attribute{ + "lucene_query": schema.StringAttribute{ + Optional: true, }, - "group_by": { - Type: schema.TypeList, + "label_filters": schema.SingleNestedAttribute{ Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, + Computed: true, + Default: objectdefault.StaticValue(types.ObjectValueMust(labelFiltersAttr(), map[string]attr.Value{ + "application_name": types.SetNull(types.ObjectType{AttrTypes: labelFilterTypesAttr()}), + "subsystem_name": types.SetNull(types.ObjectType{AttrTypes: labelFilterTypesAttr()}), + "severities": types.SetNull(types.StringType), + })), + Attributes: map[string]schema.Attribute{ + "application_name": logsAttributeFilterSchema(), + "subsystem_name": logsAttributeFilterSchema(), + "severities": schema.SetAttribute{ + Optional: true, + ElementType: types.StringType, + Validators: []validator.Set{ + setvalidator.ValueStringsAre( + stringvalidator.OneOf(validLogSeverities...), + ), + }, + MarkdownDescription: fmt.Sprintf("Severities. Valid values: %q.", validLogSeverities), + }, }, - ConflictsWith: []string{"tracing.0.condition.0.immediately"}, - Description: "The fields to 'group by' on.", }, }, }, - Description: "Defines the conditions for triggering and notify by the alert", }, } } -func tagFilterSchema() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "field": { - Type: schema.TypeString, - Required: true, - }, - "values": { - Type: schema.TypeSet, - Required: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Set: schema.HashString, - Description: "Tag filter values can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx", - }, - }, +func logsAttributeFilterSchema() schema.SetNestedAttribute { + return schema.SetNestedAttribute{ + Optional: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "value": schema.StringAttribute{ + Required: true, + }, + "operation": schema.StringAttribute{ + Optional: true, + Computed: true, + Default: stringdefault.StaticString("IS"), + Validators: []validator.String{ + stringvalidator.OneOf(validLogFilterOperationType...), + }, + MarkdownDescription: fmt.Sprintf("Operation. Valid values: %q.'IS' by default.", validLogFilterOperationType), + }, + }, + }, + } +} + +func notificationPayloadFilterSchema() schema.SetAttribute { + return schema.SetAttribute{ + Optional: true, + ElementType: types.StringType, + } +} + +func timeOfDaySchema() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Required: true, + Attributes: map[string]schema.Attribute{ + "hours": schema.Int64Attribute{ + Required: true, + Validators: []validator.Int64{ + int64validator.Between(0, 23), + }, + }, + "minutes": schema.Int64Attribute{ + Required: true, + Validators: []validator.Int64{ + int64validator.Between(0, 59), + }, + }, + }, + } +} + +func undetectedValuesManagementSchema() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Optional: true, + Computed: true, + PlanModifiers: []planmodifier.Object{ + objectplanmodifier.UseStateForUnknown(), + }, + Attributes: map[string]schema.Attribute{ + "trigger_undetected_values": schema.BoolAttribute{ + Optional: true, + Computed: true, + Default: booldefault.StaticBool(false), + }, + "auto_retire_timeframe": schema.StringAttribute{ + Optional: true, + Computed: true, + Default: stringdefault.StaticString("Never"), + Validators: []validator.String{ + stringvalidator.OneOf(validAutoRetireTimeframes...), + }, + MarkdownDescription: fmt.Sprintf("Auto retire timeframe. Valid values: %q.", validAutoRetireTimeframes), + }, + }, + Default: objectdefault.StaticValue(types.ObjectValueMust(undetectedValuesManagementAttr(), map[string]attr.Value{ + "trigger_undetected_values": types.BoolValue(false), + "auto_retire_timeframe": types.StringValue("Never"), + })), + } +} + +func (r *AlertResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { + resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) +} + +func (r *AlertResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) { + var plan *AlertResourceModel + if diags := req.Plan.Get(ctx, &plan); diags.HasError() { + resp.Diagnostics.Append(diags...) + return + } + alertProperties, diags := extractAlertProperties(ctx, plan) + if diags.HasError() { + resp.Diagnostics.Append(diags...) + return + } + createAlertRequest := &cxsdk.CreateAlertDefRequest{AlertDefProperties: alertProperties} + log.Printf("[INFO] Creating new Alert: %s", protojson.Format(createAlertRequest)) + createResp, err := r.client.Create(ctx, createAlertRequest) + if err != nil { + log.Printf("[ERROR] Received error: %s", err) + resp.Diagnostics.AddError("Error creating Alert", + formatRpcErrors(err, createAlertURL, protojson.Format(createAlertRequest)), + ) + return + } + alert := createResp.GetAlertDef() + log.Printf("[INFO] Submitted new alert: %s", protojson.Format(alert)) + + plan, diags = flattenAlert(ctx, alert) + if diags.HasError() { + resp.Diagnostics.Append(diags...) + return + } + + log.Printf("[INFO] Created Alert: %s", protojson.Format(alert)) + // Set state to fully populated data + resp.Diagnostics.Append(resp.State.Set(ctx, plan)...) +} + +func extractAlertProperties(ctx context.Context, plan *AlertResourceModel) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + groupBy, diags := typeStringSliceToWrappedStringSlice(ctx, plan.GroupBy.Elements()) + if diags.HasError() { + return nil, diags + } + incidentsSettings, diags := extractIncidentsSettings(ctx, plan.IncidentsSettings) + if diags.HasError() { + return nil, diags + } + notificationGroup, diags := extractNotificationGroup(ctx, plan.NotificationGroup) + if diags.HasError() { + return nil, diags + } + labels, diags := typeMapToStringMap(ctx, plan.Labels) + + if diags.HasError() { + return nil, diags + } + alertProperties := &cxsdk.AlertDefProperties{ + Name: typeStringToWrapperspbString(plan.Name), + Description: typeStringToWrapperspbString(plan.Description), + Enabled: typeBoolToWrapperspbBool(plan.Enabled), + Priority: alertPrioritySchemaToProtoMap[plan.Priority.ValueString()], + GroupByKeys: groupBy, + IncidentsSettings: incidentsSettings, + NotificationGroup: notificationGroup, + EntityLabels: labels, + } + + alertProperties, diags = expandAlertsSchedule(ctx, alertProperties, plan.Schedule) + if diags.HasError() { + return nil, diags + } + + alertProperties, diags = expandAlertsTypeDefinition(ctx, alertProperties, plan.TypeDefinition) + if diags.HasError() { + return nil, diags + } + + return alertProperties, nil +} + +func extractIncidentsSettings(ctx context.Context, incidentsSettingsObject types.Object) (*cxsdk.AlertDefIncidentSettings, diag.Diagnostics) { + if incidentsSettingsObject.IsNull() || incidentsSettingsObject.IsUnknown() { + return nil, nil + } + + var incidentsSettingsModel IncidentsSettingsModel + if diags := incidentsSettingsObject.As(ctx, &incidentsSettingsModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + incidentsSettings := &cxsdk.AlertDefIncidentSettings{ + NotifyOn: notifyOnSchemaToProtoMap[incidentsSettingsModel.NotifyOn.ValueString()], + } + + incidentsSettings, diags := expandIncidentsSettingsByRetriggeringPeriod(ctx, incidentsSettings, incidentsSettingsModel.RetriggeringPeriod) + if diags.HasError() { + return nil, diags + } + + return incidentsSettings, nil +} + +func expandIncidentsSettingsByRetriggeringPeriod(ctx context.Context, incidentsSettings *cxsdk.AlertDefIncidentSettings, period types.Object) (*cxsdk.AlertDefIncidentSettings, diag.Diagnostics) { + if period.IsNull() || period.IsUnknown() { + return incidentsSettings, nil + } + + var periodModel RetriggeringPeriodModel + if diags := period.As(ctx, &periodModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + if !(periodModel.Minutes.IsNull() || periodModel.Minutes.IsUnknown()) { + incidentsSettings.RetriggeringPeriod = &cxsdk.AlertDefIncidentSettingsMinutes{ + Minutes: typeInt64ToWrappedUint32(periodModel.Minutes), + } + } + + return incidentsSettings, nil +} + +func extractNotificationGroup(ctx context.Context, notificationGroupObject types.Object) (*cxsdk.AlertDefNotificationGroup, diag.Diagnostics) { + if objIsNullOrUnknown(notificationGroupObject) { + return nil, nil + } + + var notificationGroupModel NotificationGroupModel + if diags := notificationGroupObject.As(ctx, ¬ificationGroupModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + groupByFields, diags := typeStringSliceToWrappedStringSlice(ctx, notificationGroupModel.GroupByKeys.Elements()) + if diags.HasError() { + return nil, diags + } + webhooks, diags := extractWebhooksSettings(ctx, notificationGroupModel.WebhooksSettings) + if diags.HasError() { + return nil, diags + } + notificationGroup := &cxsdk.AlertDefNotificationGroup{ + GroupByKeys: groupByFields, + Webhooks: webhooks, + } + + return notificationGroup, nil +} + +func expandNotificationTargetSettings(ctx context.Context, notificationGroupModel NotificationGroupModel, notificationGroup *cxsdk.AlertDefNotificationGroup) (*cxsdk.AlertDefNotificationGroup, diag.Diagnostics) { + notificationGroup.Webhooks = []*cxsdk.AlertDefWebhooksSettings{} + if webhooksSettings := notificationGroupModel.WebhooksSettings; !(webhooksSettings.IsNull() || webhooksSettings.IsUnknown()) { + notifications, diags := extractWebhooksSettings(ctx, webhooksSettings) + if diags.HasError() { + return nil, diags + } + notificationGroup.Webhooks = notifications + } + + return notificationGroup, nil +} + +func extractWebhooksSettings(ctx context.Context, webhooksSettings types.Set) ([]*cxsdk.AlertDefWebhooksSettings, diag.Diagnostics) { + if webhooksSettings.IsNull() || webhooksSettings.IsUnknown() { + return nil, nil + } + + var webhooksSettingsObject []types.Object + diags := webhooksSettings.ElementsAs(ctx, &webhooksSettingsObject, true) + if diags.HasError() { + return nil, diags + } + var expandedWebhooksSettings []*cxsdk.AlertDefWebhooksSettings + for _, ao := range webhooksSettingsObject { + var webhooksSettingsModel WebhooksSettingsModel + if dg := ao.As(ctx, &webhooksSettingsModel, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + expandedAdvancedTargetSetting, expandDiags := extractAdvancedTargetSetting(ctx, webhooksSettingsModel) + if expandDiags.HasError() { + diags.Append(expandDiags...) + continue + } + expandedWebhooksSettings = append(expandedWebhooksSettings, expandedAdvancedTargetSetting) + } + + if diags.HasError() { + return nil, diags + } + + return expandedWebhooksSettings, nil +} + +func extractAdvancedTargetSetting(ctx context.Context, webhooksSettingsModel WebhooksSettingsModel) (*cxsdk.AlertDefWebhooksSettings, diag.Diagnostics) { + notifyOn := notifyOnSchemaToProtoMap[webhooksSettingsModel.NotifyOn.ValueString()] + advancedTargetSettings := &cxsdk.AlertDefWebhooksSettings{ + NotifyOn: ¬ifyOn, + } + advancedTargetSettings, diags := expandAlertNotificationByRetriggeringPeriod(ctx, advancedTargetSettings, webhooksSettingsModel.RetriggeringPeriod) + if diags.HasError() { + return nil, diags + } + + if !webhooksSettingsModel.IntegrationID.IsNull() && !webhooksSettingsModel.IntegrationID.IsUnknown() { + integrationId, diag := typeStringToWrapperspbUint32(webhooksSettingsModel.IntegrationID) + if diag.HasError() { + return nil, diag + } + advancedTargetSettings.Integration = &cxsdk.AlertDefIntegrationType{ + IntegrationType: &cxsdk.AlertDefIntegrationTypeIntegrationID{ + IntegrationId: integrationId, + }, + } + } else if !webhooksSettingsModel.Recipients.IsNull() && !webhooksSettingsModel.Recipients.IsUnknown() { + emails, diags := typeStringSliceToWrappedStringSlice(ctx, webhooksSettingsModel.Recipients.Elements()) + if diags.HasError() { + return nil, diags + } + advancedTargetSettings.Integration = &cxsdk.AlertDefIntegrationType{ + IntegrationType: &cxsdk.AlertDefIntegrationTypeRecipients{ + Recipients: &cxsdk.AlertDefRecipients{ + Emails: emails, + }, + }, + } + } + + return advancedTargetSettings, nil +} + +func expandAlertNotificationByRetriggeringPeriod(ctx context.Context, alertNotification *cxsdk.AlertDefWebhooksSettings, period types.Object) (*cxsdk.AlertDefWebhooksSettings, diag.Diagnostics) { + if objIsNullOrUnknown(period) { + return alertNotification, nil + } + + var periodModel RetriggeringPeriodModel + if diags := period.As(ctx, &periodModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + if !(periodModel.Minutes.IsNull() || periodModel.Minutes.IsUnknown()) { + alertNotification.RetriggeringPeriod = &cxsdk.AlertDefWebhooksSettingsMinutes{ + Minutes: typeInt64ToWrappedUint32(periodModel.Minutes), + } + } + + return alertNotification, nil +} + +func expandAlertsSchedule(ctx context.Context, alertProperties *cxsdk.AlertDefProperties, scheduleObject types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(scheduleObject) { + return alertProperties, nil + } + + var scheduleModel AlertScheduleModel + if diags := scheduleObject.As(ctx, &scheduleModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + var diags diag.Diagnostics + if activeOn := scheduleModel.ActiveOn; !(activeOn.IsNull() || activeOn.IsUnknown()) { + alertProperties.Schedule, diags = expandActiveOnSchedule(ctx, activeOn) + } else { + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Schedule object is not valid", "Schedule object is not valid")} + } + + if diags.HasError() { + return nil, diags + } + + return alertProperties, nil +} + +func expandActiveOnSchedule(ctx context.Context, activeOnObject types.Object) (*cxsdk.AlertDefPropertiesActiveOn, diag.Diagnostics) { + if objIsNullOrUnknown(activeOnObject) { + return nil, nil + } + + var activeOnModel ActiveOnModel + if diags := activeOnObject.As(ctx, &activeOnModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + daysOfWeek, diags := extractDaysOfWeek(ctx, activeOnModel.DaysOfWeek) + if diags.HasError() { + return nil, diags + } + + startTime, diags := extractTimeOfDay(ctx, activeOnModel.StartTime) + if diags.HasError() { + return nil, diags + } + + endTime, diags := extractTimeOfDay(ctx, activeOnModel.EndTime) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.AlertDefScheduleActiveOn{ + ActiveOn: &cxsdk.AlertDefActivitySchedule{ + DayOfWeek: daysOfWeek, + StartTime: startTime, + EndTime: endTime, + }, + }, nil +} + +func extractTimeOfDay(ctx context.Context, timeObject types.Object) (*cxsdk.AlertTimeOfDay, diag.Diagnostics) { + if timeObject.IsNull() || timeObject.IsUnknown() { + return nil, nil + } + + var timeOfDayModel TimeOfDayModel + if diags := timeObject.As(ctx, &timeOfDayModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + return &cxsdk.AlertTimeOfDay{ + Hours: int32(timeOfDayModel.Hours.ValueInt64()), + Minutes: int32(timeOfDayModel.Minutes.ValueInt64()), + }, nil + +} + +func extractDaysOfWeek(ctx context.Context, daysOfWeek types.List) ([]cxsdk.AlertDayOfWeek, diag.Diagnostics) { + var diags diag.Diagnostics + daysOfWeekElements := daysOfWeek.Elements() + result := make([]cxsdk.AlertDayOfWeek, 0, len(daysOfWeekElements)) + for _, v := range daysOfWeekElements { + val, err := v.ToTerraformValue(ctx) + if err != nil { + diags.AddError("Failed to convert value to Terraform", err.Error()) + continue + } + var str string + + if err = val.As(&str); err != nil { + diags.AddError("Failed to convert value to string", err.Error()) + continue + } + result = append(result, daysOfWeekSchemaToProtoMap[str]) + } + return result, diags +} + +func expandAlertsTypeDefinition(ctx context.Context, alertProperties *cxsdk.AlertDefProperties, alertDefinition types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(alertDefinition) { + return alertProperties, nil + } + + var alertDefinitionModel AlertTypeDefinitionModel + if diags := alertDefinition.As(ctx, &alertDefinitionModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + var diags diag.Diagnostics + + if logsImmediate := alertDefinitionModel.LogsImmediate; !objIsNullOrUnknown(logsImmediate) { + // LogsImmediate + alertProperties, diags = expandLogsImmediateAlertTypeDefinition(ctx, alertProperties, logsImmediate) + } else if logsThreshold := alertDefinitionModel.LogsThreshold; !objIsNullOrUnknown(logsThreshold) { + // LogsThreshold + alertProperties, diags = expandLogsThresholdTypeDefinition(ctx, alertProperties, logsThreshold) + } else if logsAnomaly := alertDefinitionModel.LogsAnomaly; !objIsNullOrUnknown(logsAnomaly) { + // LogsAnomaly + alertProperties, diags = expandLogsAnomalyAlertTypeDefinition(ctx, alertProperties, logsAnomaly) + } else if logsRatioThreshold := alertDefinitionModel.LogsRatioThreshold; !objIsNullOrUnknown(logsRatioThreshold) { + // LogsRatioThreshold + alertProperties, diags = expandLogsRatioThresholdTypeDefinition(ctx, alertProperties, logsRatioThreshold) + } else if logsNewValue := alertDefinitionModel.LogsNewValue; !objIsNullOrUnknown(logsNewValue) { + // LogsNewValue + alertProperties, diags = expandLogsNewValueAlertTypeDefinition(ctx, alertProperties, logsNewValue) + } else if logsUniqueCount := alertDefinitionModel.LogsUniqueCount; !objIsNullOrUnknown(logsUniqueCount) { + // LogsUniqueCount + alertProperties, diags = expandLogsUniqueCountAlertTypeDefinition(ctx, alertProperties, logsUniqueCount) + } else if logsTimeRelativeThreshold := alertDefinitionModel.LogsTimeRelativeThreshold; !objIsNullOrUnknown(logsTimeRelativeThreshold) { + // LogsTimeRelativeThreshold + alertProperties, diags = expandLogsTimeRelativeThresholdAlertTypeDefinition(ctx, alertProperties, logsTimeRelativeThreshold) + } else if metricThreshold := alertDefinitionModel.MetricThreshold; !objIsNullOrUnknown(metricThreshold) { + // MetricsThreshold + alertProperties, diags = expandMetricThresholdAlertTypeDefinition(ctx, alertProperties, metricThreshold) + } else if metricAnomaly := alertDefinitionModel.MetricAnomaly; !objIsNullOrUnknown(metricAnomaly) { + // MetricsAnomaly + alertProperties, diags = expandMetricAnomalyAlertTypeDefinition(ctx, alertProperties, metricAnomaly) + } else if tracingImmediate := alertDefinitionModel.TracingImmediate; !objIsNullOrUnknown(tracingImmediate) { + // TracingImmediate + alertProperties, diags = expandTracingImmediateTypeDefinition(ctx, alertProperties, tracingImmediate) + } else if tracingThreshold := alertDefinitionModel.TracingThreshold; !objIsNullOrUnknown(tracingThreshold) { + // TracingThreshold + alertProperties, diags = expandTracingThresholdTypeDefinition(ctx, alertProperties, tracingThreshold) + } else if flow := alertDefinitionModel.Flow; !objIsNullOrUnknown(flow) { + // Flow + alertProperties, diags = expandFlowAlertTypeDefinition(ctx, alertProperties, flow) + } else { + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Alert Type Definition", "Alert Type Definition is not valid")} + } + + if diags.HasError() { + return nil, diags + } + + return alertProperties, nil +} + +func expandLogsImmediateAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, logsImmediateObject types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(logsImmediateObject) { + return properties, nil + } + + var immediateModel LogsImmediateModel + if diags := logsImmediateObject.As(ctx, &immediateModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsFilter, diags := extractLogsFilter(ctx, immediateModel.LogsFilter) + if diags.HasError() { + return nil, diags + } + + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, immediateModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + properties.TypeDefinition = &cxsdk.AlertDefPropertiesLogsImmediate{ + LogsImmediate: &cxsdk.LogsImmediateType{ + LogsFilter: logsFilter, + NotificationPayloadFilter: notificationPayloadFilter, + }, + } + properties.Type = cxsdk.AlertDefTypeLogsImmediateOrUnspecified + return properties, nil +} + +func extractLogsFilter(ctx context.Context, filter types.Object) (*cxsdk.LogsFilter, diag.Diagnostics) { + if filter.IsNull() || filter.IsUnknown() { + return nil, nil + } + + var filterModel AlertsLogsFilterModel + if diags := filter.As(ctx, &filterModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsFilter := &cxsdk.LogsFilter{} + var diags diag.Diagnostics + if !(filterModel.SimpleFilter.IsNull() || filterModel.SimpleFilter.IsUnknown()) { + logsFilter.FilterType, diags = extractLuceneFilter(ctx, filterModel.SimpleFilter) + } + + if diags.HasError() { + return nil, diags + } + + return logsFilter, nil +} + +func extractLuceneFilter(ctx context.Context, luceneFilter types.Object) (*cxsdk.LogsFilterSimpleFilter, diag.Diagnostics) { + if luceneFilter.IsNull() || luceneFilter.IsUnknown() { + return nil, nil + } + + var luceneFilterModel SimpleFilterModel + if diags := luceneFilter.As(ctx, &luceneFilterModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + labelFilters, diags := extractLabelFilters(ctx, luceneFilterModel.LabelFilters) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.LogsFilterSimpleFilter{ + SimpleFilter: &cxsdk.SimpleFilter{ + LuceneQuery: typeStringToWrapperspbString(luceneFilterModel.LuceneQuery), + LabelFilters: labelFilters, + }, + }, nil +} + +func extractLabelFilters(ctx context.Context, filters types.Object) (*cxsdk.LabelFilters, diag.Diagnostics) { + if filters.IsNull() || filters.IsUnknown() { + return nil, nil + } + + var filtersModel LabelFiltersModel + if diags := filters.As(ctx, &filtersModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + applicationName, diags := extractLabelFilterTypes(ctx, filtersModel.ApplicationName) + if diags.HasError() { + return nil, diags + } + + subsystemName, diags := extractLabelFilterTypes(ctx, filtersModel.SubsystemName) + if diags.HasError() { + return nil, diags + } + + severities, diags := extractLogSeverities(ctx, filtersModel.Severities.Elements()) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.LabelFilters{ + ApplicationName: applicationName, + SubsystemName: subsystemName, + Severities: severities, + }, nil +} + +func extractLabelFilterTypes(ctx context.Context, labelFilterTypes types.Set) ([]*cxsdk.LabelFilterType, diag.Diagnostics) { + var labelFilterTypesObjects []types.Object + diags := labelFilterTypes.ElementsAs(ctx, &labelFilterTypesObjects, true) + if diags.HasError() { + return nil, diags + } + var expandedLabelFilterTypes []*cxsdk.LabelFilterType + for _, lft := range labelFilterTypesObjects { + var labelFilterTypeModel LabelFilterTypeModel + if dg := lft.As(ctx, &labelFilterTypeModel, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + expandedLabelFilterType := &cxsdk.LabelFilterType{ + Value: typeStringToWrapperspbString(labelFilterTypeModel.Value), + Operation: logFilterOperationTypeSchemaToProtoMap[labelFilterTypeModel.Operation.ValueString()], + } + expandedLabelFilterTypes = append(expandedLabelFilterTypes, expandedLabelFilterType) + } + + if diags.HasError() { + return nil, diags + } + + return expandedLabelFilterTypes, nil +} + +func extractLogSeverities(ctx context.Context, elements []attr.Value) ([]cxsdk.LogSeverity, diag.Diagnostics) { + var diags diag.Diagnostics + result := make([]cxsdk.LogSeverity, 0, len(elements)) + for _, v := range elements { + val, err := v.ToTerraformValue(ctx) + if err != nil { + diags.AddError("Failed to convert value to Terraform", err.Error()) + continue + } + var str string + + if err = val.As(&str); err != nil { + diags.AddError("Failed to convert value to string", err.Error()) + continue + } + result = append(result, logSeveritySchemaToProtoMap[str]) + } + return result, diags +} + +func expandLogsThresholdTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, thresholdObject types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(thresholdObject) { + return properties, nil + } + + var thresholdModel LogsThresholdModel + if diags := thresholdObject.As(ctx, &thresholdModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsFilter, diags := extractLogsFilter(ctx, thresholdModel.LogsFilter) + if diags.HasError() { + return nil, diags + } + + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, thresholdModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractThresholdRules(ctx, thresholdModel.Rules) + if diags.HasError() { + return nil, diags + } + undetected, diags := extractUndetectedValuesManagement(ctx, thresholdModel.UndetectedValuesManagement) + if diags.HasError() { + return nil, diags + } + + properties.TypeDefinition = &cxsdk.AlertDefPropertiesLogsThreshold{ + LogsThreshold: &cxsdk.LogsThresholdType{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: notificationPayloadFilter, + UndetectedValuesManagement: undetected, + }, + } + + properties.Type = cxsdk.AlertDefTypeLogsThreshold + return properties, nil +} + +func extractLogsTimeWindow(ctx context.Context, timeWindow types.Object) (*cxsdk.LogsTimeWindow, diag.Diagnostics) { + if timeWindow.IsNull() || timeWindow.IsUnknown() { + return nil, nil + } + + var timeWindowModel LogsTimeWindowModel + if diags := timeWindow.As(ctx, &timeWindowModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsTimeWindow := &cxsdk.LogsTimeWindow{} + if specificValue := timeWindowModel.SpecificValue; !(specificValue.IsNull() || specificValue.IsUnknown()) { + logsTimeWindow.Type = &cxsdk.LogsTimeWindowSpecificValue{ + LogsTimeWindowSpecificValue: logsTimeWindowValueSchemaToProtoMap[specificValue.ValueString()], + } + } + + return logsTimeWindow, nil +} + +func extractThresholdRules(ctx context.Context, elements types.List) ([]*cxsdk.LogsThresholdRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.LogsThresholdRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule LogsThresholdRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + condition, dg := extractLogsThresholdCondition(ctx, rule.Condition) + if dg.HasError() { + diags.Append(dg...) + continue + } + + override, dg := extractAlertOverride(ctx, rule.Override) + if dg.HasError() { + diags.Append(dg...) + continue + } + + rules[i] = &cxsdk.LogsThresholdRule{ + Condition: condition, + Override: override, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func extractLogsThresholdCondition(ctx context.Context, condition types.Object) (*cxsdk.LogsThresholdCondition, diag.Diagnostics) { + if condition.IsNull() || condition.IsUnknown() { + return nil, nil + } + + var conditionModel LogsThresholdConditionModel + if diags := condition.As(ctx, &conditionModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + timeWindow, diags := extractLogsTimeWindow(ctx, conditionModel.TimeWindow) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.LogsThresholdCondition{ + Threshold: typeFloat64ToWrapperspbDouble(conditionModel.Threshold), + TimeWindow: timeWindow, + ConditionType: logsThresholdConditionToProtoMap[conditionModel.ConditionType.ValueString()], + }, nil +} + +func extractUndetectedValuesManagement(ctx context.Context, management types.Object) (*cxsdk.UndetectedValuesManagement, diag.Diagnostics) { + if objIsNullOrUnknown(management) { + return nil, nil + } + var managementModel UndetectedValuesManagementModel + if diags := management.As(ctx, &managementModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + if (managementModel.AutoRetireTimeframe.IsNull() || managementModel.AutoRetireTimeframe.IsUnknown()) && (managementModel.TriggerUndetectedValues.IsNull() || managementModel.TriggerUndetectedValues.IsUnknown()) { + return nil, nil + } + + var autoRetireTimeframe *cxsdk.AutoRetireTimeframe + if !(managementModel.AutoRetireTimeframe.IsNull() || managementModel.AutoRetireTimeframe.IsUnknown()) { + autoRetireTimeframe = new(cxsdk.AutoRetireTimeframe) + *autoRetireTimeframe = autoRetireTimeframeSchemaToProtoMap[managementModel.AutoRetireTimeframe.ValueString()] + } + + return &cxsdk.UndetectedValuesManagement{ + TriggerUndetectedValues: typeBoolToWrapperspbBool(managementModel.TriggerUndetectedValues), + AutoRetireTimeframe: autoRetireTimeframe, + }, nil +} + +func expandLogsAnomalyAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, anomaly types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if anomaly.IsNull() || anomaly.IsUnknown() { + return properties, nil + } + + var anomalyModel LogsAnomalyModel + if diags := anomaly.As(ctx, &anomalyModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsFilter, diags := extractLogsFilter(ctx, anomalyModel.LogsFilter) + if diags.HasError() { + return nil, diags + } + + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, anomalyModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractAnomalyRules(ctx, anomalyModel.Rules) + if diags.HasError() { + return nil, diags + } + properties.TypeDefinition = &cxsdk.AlertDefPropertiesLogsAnomaly{ + LogsAnomaly: &cxsdk.LogsAnomalyType{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: notificationPayloadFilter, + }, + } + + properties.Type = cxsdk.AlertDefTypeLogsAnomaly + return properties, nil +} + +func extractAnomalyRules(ctx context.Context, elements types.List) ([]*cxsdk.LogsAnomalyRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.LogsAnomalyRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule LogsAnomalyRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + var condition LogsAnomalyConditionModel + if dg := rule.Condition.As(ctx, &condition, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + timeWindow, dg := extractLogsTimeWindow(ctx, condition.TimeWindow) + if dg.HasError() { + diags.Append(dg...) + continue + } + rules[i] = &cxsdk.LogsAnomalyRule{ + Condition: &cxsdk.LogsAnomalyCondition{ + MinimumThreshold: typeFloat64ToWrapperspbDouble(condition.MinimumThreshold), + TimeWindow: timeWindow, + ConditionType: logsAnomalyConditionSchemaToProtoMap[condition.ConditionType.ValueString()], + }, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func expandLogsRatioThresholdTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, ratioThreshold types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if ratioThreshold.IsNull() || ratioThreshold.IsUnknown() { + return properties, nil + } + + var ratioThresholdModel LogsRatioThresholdModel + if diags := ratioThreshold.As(ctx, &ratioThresholdModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + numeratorLogsFilter, diags := extractLogsFilter(ctx, ratioThresholdModel.Numerator) + if diags.HasError() { + return nil, diags + } + + denominatorLogsFilter, diags := extractLogsFilter(ctx, ratioThresholdModel.Denominator) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractRatioRules(ctx, ratioThresholdModel.Rules) + if diags.HasError() { + return nil, diags + } + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, ratioThresholdModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + properties.TypeDefinition = &cxsdk.AlertDefPropertiesLogsRatioThreshold{ + LogsRatioThreshold: &cxsdk.LogsRatioThresholdType{ + Numerator: numeratorLogsFilter, + NumeratorAlias: typeStringToWrapperspbString(ratioThresholdModel.NumeratorAlias), + Denominator: denominatorLogsFilter, + DenominatorAlias: typeStringToWrapperspbString(ratioThresholdModel.DenominatorAlias), + Rules: rules, + NotificationPayloadFilter: notificationPayloadFilter, + GroupByFor: logsRatioGroupByForSchemaToProtoMap[ratioThresholdModel.GroupByFor.ValueString()], + }, + } + properties.Type = cxsdk.AlertDefTypeLogsRatioThreshold + return properties, nil +} + +func extractRatioRules(ctx context.Context, elements types.List) ([]*cxsdk.LogsRatioRules, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.LogsRatioRules, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule LogsRatioThresholdRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + condition, dg := extractLogsRatioCondition(ctx, rule.Condition) + if dg.HasError() { + diags.Append(dg...) + continue + } + override, dg := extractAlertOverride(ctx, rule.Override) + if dg.HasError() { + diags.Append(dg...) + continue + } + rules[i] = &cxsdk.LogsRatioRules{ + Condition: condition, + Override: override, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func extractAlertOverride(ctx context.Context, override types.Object) (*cxsdk.AlertDefPriorityOverride, diag.Diagnostics) { + if override.IsNull() || override.IsUnknown() { + return nil, nil + } + + var overrideModel AlertOverrideModel + if diags := override.As(ctx, &overrideModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + return &cxsdk.AlertDefPriorityOverride{ + Priority: alertPrioritySchemaToProtoMap[overrideModel.Priority.ValueString()], + }, nil +} + +func extractLogsRatioCondition(ctx context.Context, condition types.Object) (*cxsdk.LogsRatioCondition, diag.Diagnostics) { + if condition.IsNull() || condition.IsUnknown() { + return nil, nil + } + + var conditionModel LogsRatioConditionModel + if diags := condition.As(ctx, &conditionModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + timeWindow, diags := extractLogsRatioTimeWindow(ctx, conditionModel.TimeWindow) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.LogsRatioCondition{ + Threshold: typeFloat64ToWrapperspbDouble(conditionModel.Threshold), + TimeWindow: timeWindow, + ConditionType: logsRatioConditionSchemaToProtoMap[conditionModel.ConditionType.ValueString()], + }, nil +} + +func extractLogsRatioTimeWindow(ctx context.Context, timeWindow types.Object) (*cxsdk.LogsRatioTimeWindow, diag.Diagnostics) { + if timeWindow.IsNull() || timeWindow.IsUnknown() { + return nil, nil + } + + var timeWindowModel LogsTimeWindowModel + if diags := timeWindow.As(ctx, &timeWindowModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + if specificValue := timeWindowModel.SpecificValue; !(specificValue.IsNull() || specificValue.IsUnknown()) { + return &cxsdk.LogsRatioTimeWindow{ + Type: &cxsdk.LogsRatioTimeWindowSpecificValue{ + LogsRatioTimeWindowSpecificValue: logsRatioTimeWindowValueSchemaToProtoMap[specificValue.ValueString()], + }, + }, nil + } else { + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("TimeWindow object is not valid", "TimeWindow object is not valid")} + } +} + +func expandLogsNewValueAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, newValue types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if newValue.IsNull() || newValue.IsUnknown() { + return properties, nil + } + + var newValueModel LogsNewValueModel + if diags := newValue.As(ctx, &newValueModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsFilter, diags := extractLogsFilter(ctx, newValueModel.LogsFilter) + if diags.HasError() { + return nil, diags + } + + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, newValueModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractNewValueRules(ctx, newValueModel.Rules) + if diags.HasError() { + return nil, diags + } + properties.TypeDefinition = &cxsdk.AlertDefPropertiesLogsNewValue{ + LogsNewValue: &cxsdk.LogsNewValueType{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: notificationPayloadFilter, + }, + } + properties.Type = cxsdk.AlertDefTypeLogsNewValue + return properties, nil +} + +func extractLogsNewValueTimeWindow(ctx context.Context, timeWindow types.Object) (*cxsdk.LogsNewValueTimeWindow, diag.Diagnostics) { + if timeWindow.IsNull() || timeWindow.IsUnknown() { + return nil, nil + } + + var timeWindowModel LogsTimeWindowModel + if diags := timeWindow.As(ctx, &timeWindowModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsNewValueTimeWindow := &cxsdk.LogsNewValueTimeWindow{} + if specificValue := timeWindowModel.SpecificValue; !(specificValue.IsNull() || specificValue.IsUnknown()) { + logsNewValueTimeWindow.Type = &cxsdk.LogsNewValueTimeWindowSpecificValue{ + LogsNewValueTimeWindowSpecificValue: logsNewValueTimeWindowValueSchemaToProtoMap[specificValue.ValueString()], + } + } + + return logsNewValueTimeWindow, nil +} + +func extractNewValueRules(ctx context.Context, elements types.List) ([]*cxsdk.LogsNewValueRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.LogsNewValueRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule NewValueRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + condition, dg := extractNewValueCondition(ctx, rule.Condition) + if dg.HasError() { + diags.Append(dg...) + continue + } + + rules[i] = &cxsdk.LogsNewValueRule{ + Condition: condition, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func extractNewValueCondition(ctx context.Context, condition types.Object) (*cxsdk.LogsNewValueCondition, diag.Diagnostics) { + if condition.IsNull() || condition.IsUnknown() { + return nil, nil + } + + var conditionModel NewValueConditionModel + if diags := condition.As(ctx, &conditionModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + timeWindow, diags := extractLogsNewValueTimeWindow(ctx, conditionModel.TimeWindow) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.LogsNewValueCondition{ + KeypathToTrack: typeStringToWrapperspbString(conditionModel.KeypathToTrack), + TimeWindow: timeWindow, + }, nil +} + +func expandLogsUniqueCountAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, uniqueCount types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if uniqueCount.IsNull() || uniqueCount.IsUnknown() { + return properties, nil + } + + var uniqueCountModel LogsUniqueCountModel + if diags := uniqueCount.As(ctx, &uniqueCountModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsFilter, diags := extractLogsFilter(ctx, uniqueCountModel.LogsFilter) + if diags.HasError() { + return nil, diags + } + + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, uniqueCountModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractLogsUniqueCountRules(ctx, uniqueCountModel.Rules) + if diags.HasError() { + return nil, diags + } + + properties.TypeDefinition = &cxsdk.AlertDefPropertiesLogsUniqueCount{ + LogsUniqueCount: &cxsdk.LogsUniqueCountType{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: notificationPayloadFilter, + MaxUniqueCountPerGroupByKey: typeInt64ToWrappedInt64(uniqueCountModel.MaxUniqueCountPerGroupByKey), + UniqueCountKeypath: typeStringToWrapperspbString(uniqueCountModel.UniqueCountKeypath), + }, + } + properties.Type = cxsdk.AlertDefTypeLogsUniqueCount + return properties, nil +} + +func extractLogsUniqueCountRules(ctx context.Context, elements types.List) ([]*cxsdk.LogsUniqueCountRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.LogsUniqueCountRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule LogsUniqueCountRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + condition, dgs := extractLogsUniqueCountCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + rules[i] = &cxsdk.LogsUniqueCountRule{ + Condition: condition, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func extractLogsUniqueCountCondition(ctx context.Context, condition types.Object) (*cxsdk.LogsUniqueCountCondition, diag.Diagnostics) { + if condition.IsNull() || condition.IsUnknown() { + return nil, nil + } + + var conditionModel LogsUniqueCountConditionModel + if diags := condition.As(ctx, &conditionModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + timeWindow, diags := extractLogsUniqueCountTimeWindow(ctx, conditionModel.TimeWindow) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.LogsUniqueCountCondition{ + MaxUniqueCount: typeInt64ToWrappedInt64(conditionModel.MaxUniqueCount), + TimeWindow: timeWindow, + }, nil +} + +func extractLogsUniqueCountTimeWindow(ctx context.Context, timeWindow types.Object) (*cxsdk.LogsUniqueValueTimeWindow, diag.Diagnostics) { + if timeWindow.IsNull() || timeWindow.IsUnknown() { + return nil, nil + } + + var windowModel LogsTimeWindowModel + if diags := timeWindow.As(ctx, &windowModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsUniqueValueTimeWindow := &cxsdk.LogsUniqueValueTimeWindow{} + if specificValue := windowModel.SpecificValue; !(specificValue.IsNull() || specificValue.IsUnknown()) { + logsUniqueValueTimeWindow.Type = &cxsdk.LogsUniqueValueTimeWindowSpecificValue{ + LogsUniqueValueTimeWindowSpecificValue: logsUniqueCountTimeWindowValueSchemaToProtoMap[specificValue.ValueString()], + } + } + return logsUniqueValueTimeWindow, nil +} + +func expandLogsTimeRelativeThresholdAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, relativeThreshold types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if relativeThreshold.IsNull() || relativeThreshold.IsUnknown() { + return properties, nil + } + + var relativeThresholdModel LogsTimeRelativeThresholdModel + if diags := relativeThreshold.As(ctx, &relativeThresholdModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + logsFilter, diags := extractLogsFilter(ctx, relativeThresholdModel.LogsFilter) + if diags.HasError() { + return nil, diags + } + + undetected, diags := extractUndetectedValuesManagement(ctx, relativeThresholdModel.UndetectedValuesManagement) + if diags.HasError() { + return nil, diags + } + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, relativeThresholdModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractTimeRelativeThresholdRules(ctx, relativeThresholdModel.Rules) + if diags.HasError() { + return nil, diags + } + properties.TypeDefinition = &cxsdk.AlertDefPropertiesLogsTimeRelativeThreshold{ + LogsTimeRelativeThreshold: &cxsdk.LogsTimeRelativeThresholdType{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: notificationPayloadFilter, + UndetectedValuesManagement: undetected, + }, + } + properties.Type = cxsdk.AlertDefTypeLogsTimeRelativeThreshold + return properties, nil +} + +func extractTimeRelativeThresholdRules(ctx context.Context, elements types.List) ([]*cxsdk.LogsTimeRelativeRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.LogsTimeRelativeRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule LogsTimeRelativeRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + var condition LogsTimeRelativeConditionModel + if dg := rule.Condition.As(ctx, &condition, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + override, dgs := extractAlertOverride(ctx, rule.Override) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + + rules[i] = &cxsdk.LogsTimeRelativeRule{ + Condition: &cxsdk.LogsTimeRelativeCondition{ + Threshold: typeFloat64ToWrapperspbDouble(condition.Threshold), + ComparedTo: logsTimeRelativeComparedToSchemaToProtoMap[condition.ComparedTo.ValueString()], + ConditionType: logsTimeRelativeConditionToProtoMap[condition.ConditionType.ValueString()], + }, + Override: override, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func expandMetricThresholdAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, metricThreshold types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(metricThreshold) { + return properties, nil + } + + var metricThresholdModel MetricThresholdModel + if diags := metricThreshold.As(ctx, &metricThresholdModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + metricFilter, diags := extractMetricFilter(ctx, metricThresholdModel.MetricFilter) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractMetricThresholdRules(ctx, metricThresholdModel.Rules) + if diags.HasError() { + return nil, diags + } + + missingValues, diags := extractMetricThresholdMissingValues(ctx, metricThresholdModel.MissingValues) + if diags.HasError() { + return nil, diags + } + + undetected, diags := extractUndetectedValuesManagement(ctx, metricThresholdModel.UndetectedValuesManagement) + if diags.HasError() { + return nil, diags + } + properties.TypeDefinition = &cxsdk.AlertDefPropertiesMetricThreshold{ + MetricThreshold: &cxsdk.MetricThresholdType{ + MetricFilter: metricFilter, + Rules: rules, + MissingValues: missingValues, + UndetectedValuesManagement: undetected, + }, + } + properties.Type = cxsdk.AlertDefTypeMetricThreshold + + return properties, nil +} + +func extractMetricThresholdMissingValues(ctx context.Context, values types.Object) (*cxsdk.MetricMissingValues, diag.Diagnostics) { + if values.IsNull() || values.IsUnknown() { + return nil, nil + } + + var valuesModel MissingValuesModel + if diags := values.As(ctx, &valuesModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + if replaceWithZero := valuesModel.ReplaceWithZero; !(replaceWithZero.IsNull() || replaceWithZero.IsUnknown()) { + return &cxsdk.MetricMissingValues{ + MissingValues: &cxsdk.MetricMissingValuesReplaceWithZero{ + ReplaceWithZero: typeBoolToWrapperspbBool(replaceWithZero), + }, + }, nil + } else if retainMissingValues := valuesModel.MinNonNullValuesPct; !(retainMissingValues.IsNull() || retainMissingValues.IsUnknown()) { + return &cxsdk.MetricMissingValues{ + MissingValues: &cxsdk.MetricMissingValuesMinNonNullValuesPct{ + MinNonNullValuesPct: typeInt64ToWrappedUint32(retainMissingValues), + }, + }, nil + } else { + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Metric Missing Values", "Metric Missing Values is not valid")} + } +} + +func extractMetricThresholdRules(ctx context.Context, elements types.List) ([]*cxsdk.MetricThresholdRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.MetricThresholdRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule MetricThresholdRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + var condition MetricThresholdConditionModel + if dg := rule.Condition.As(ctx, &condition, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + ofTheLast, dg := extractMetricTimeWindow(ctx, condition.OfTheLast) + if dg.HasError() { + diags.Append(dg...) + continue + } + + override, dg := extractAlertOverride(ctx, rule.Override) + if dg.HasError() { + diags.Append(dg...) + continue + } + + rules[i] = &cxsdk.MetricThresholdRule{ + Condition: &cxsdk.MetricThresholdCondition{ + Threshold: typeFloat64ToWrapperspbDouble(condition.Threshold), + ForOverPct: typeInt64ToWrappedUint32(condition.ForOverPct), + OfTheLast: ofTheLast, + ConditionType: metricsThresholdConditionToProtoMap[condition.ConditionType.ValueString()], + }, + Override: override, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func extractMetricFilter(ctx context.Context, filter types.Object) (*cxsdk.MetricFilter, diag.Diagnostics) { + if filter.IsNull() || filter.IsUnknown() { + return nil, nil + } + + var filterModel MetricFilterModel + if diags := filter.As(ctx, &filterModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + if promql := filterModel.Promql; !(promql.IsNull() || promql.IsUnknown()) { + return &cxsdk.MetricFilter{ + Type: &cxsdk.MetricFilterPromql{ + Promql: typeStringToWrapperspbString(promql), + }, + }, nil + } + + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Metric Filter", "Metric Filter is not valid")} +} + +func extractMetricTimeWindow(ctx context.Context, timeWindow types.Object) (*cxsdk.MetricTimeWindow, diag.Diagnostics) { + if timeWindow.IsNull() || timeWindow.IsUnknown() { + return nil, nil + } + + var timeWindowModel MetricTimeWindowModel + if diags := timeWindow.As(ctx, &timeWindowModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + metricTimeWindow := &cxsdk.MetricTimeWindow{} + if specificValue := timeWindowModel.SpecificValue; !(specificValue.IsNull() || specificValue.IsUnknown()) { + metricTimeWindow.Type = &cxsdk.MetricTimeWindowSpecificValue{ + MetricTimeWindowSpecificValue: metricTimeWindowValueSchemaToProtoMap[specificValue.ValueString()], + } + } + + return metricTimeWindow, nil +} + +func expandTracingImmediateTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, tracingImmediate types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(tracingImmediate) { + return properties, nil + } + + var tracingImmediateModel TracingImmediateModel + if diags := tracingImmediate.As(ctx, &tracingImmediateModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + tracingQuery, diags := expandTracingFilters(ctx, tracingImmediateModel.TracingFilter) + if diags.HasError() { + return nil, diags + } + + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, tracingImmediateModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + properties.TypeDefinition = &cxsdk.AlertDefPropertiesTracingImmediate{ + TracingImmediate: &cxsdk.TracingImmediateType{ + TracingFilter: &cxsdk.TracingFilter{ + FilterType: tracingQuery, + }, + NotificationPayloadFilter: notificationPayloadFilter, + }, + } + properties.Type = cxsdk.AlertDefTypeTracingImmediate + + return properties, nil +} + +func expandTracingThresholdTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, tracingThreshold types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(tracingThreshold) { + return properties, nil + } + + var tracingThresholdModel TracingThresholdModel + if diags := tracingThreshold.As(ctx, &tracingThresholdModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + tracingQuery, diags := expandTracingFilters(ctx, tracingThresholdModel.TracingFilter) + if diags.HasError() { + return nil, diags + } + + notificationPayloadFilter, diags := typeStringSliceToWrappedStringSlice(ctx, tracingThresholdModel.NotificationPayloadFilter.Elements()) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractTracingThresholdRules(ctx, tracingThresholdModel.Rules) + if diags.HasError() { + return nil, diags + } + + properties.TypeDefinition = &cxsdk.AlertDefPropertiesTracingThreshold{ + TracingThreshold: &cxsdk.TracingThresholdType{ + TracingFilter: &cxsdk.TracingFilter{ + FilterType: tracingQuery, + }, + NotificationPayloadFilter: notificationPayloadFilter, + Rules: rules, + }, + } + properties.Type = cxsdk.AlertDefTypeTracingThreshold + + return properties, nil +} + +func extractTracingThresholdRules(ctx context.Context, elements types.List) ([]*cxsdk.TracingThresholdRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.TracingThresholdRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule TracingThresholdRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + var condition TracingThresholdConditionModel + if dg := rule.Condition.As(ctx, &condition, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + timeWindow, dg := extractTracingTimeWindow(ctx, condition.TimeWindow) + if dg.HasError() { + diags.Append(dg...) + continue + } + rules[i] = &cxsdk.TracingThresholdRule{ + Condition: &cxsdk.TracingThresholdCondition{ + SpanAmount: typeFloat64ToWrapperspbDouble(condition.SpanAmount), + TimeWindow: timeWindow, + ConditionType: cxsdk.TracingThresholdConditionTypeMoreThanOrUnspecified, + }, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func expandTracingFilters(ctx context.Context, query types.Object) (*cxsdk.TracingFilterSimpleFilter, diag.Diagnostics) { + if objIsNullOrUnknown(query) { + return nil, nil + } + var labelFilterModel TracingFilterModel + if diags := query.As(ctx, &labelFilterModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + var filtersModel TracingLabelFiltersModel + if diags := labelFilterModel.TracingLabelFilters.As(ctx, &filtersModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + applicationName, diags := extractTracingLabelFilters(ctx, filtersModel.ApplicationName) + if diags.HasError() { + return nil, diags + } + + subsystemName, diags := extractTracingLabelFilters(ctx, filtersModel.SubsystemName) + if diags.HasError() { + return nil, diags + } + + operationName, diags := extractTracingLabelFilters(ctx, filtersModel.OperationName) + if diags.HasError() { + return nil, diags + } + + serviceName, diags := extractTracingLabelFilters(ctx, filtersModel.ServiceName) + if diags.HasError() { + return nil, diags + } + + spanFields, diags := extractTracingSpanFieldsFilterType(ctx, filtersModel.SpanFields) + if diags.HasError() { + return nil, diags + } + + filter := &cxsdk.TracingFilterSimpleFilter{ + SimpleFilter: &cxsdk.TracingSimpleFilter{ + TracingLabelFilters: &cxsdk.TracingLabelFilters{ + ApplicationName: applicationName, + SubsystemName: subsystemName, + ServiceName: serviceName, + OperationName: operationName, + SpanFields: spanFields, + }, + LatencyThresholdMs: typeInt64ToWrappedUint32(labelFilterModel.LatencyThresholdMs), + }, + } + + return filter, nil +} + +func extractTracingLabelFilters(ctx context.Context, tracingLabelFilters types.Set) ([]*cxsdk.TracingFilterType, diag.Diagnostics) { + if tracingLabelFilters.IsNull() || tracingLabelFilters.IsUnknown() { + return nil, nil + } + + var filtersObjects []types.Object + diags := tracingLabelFilters.ElementsAs(ctx, &filtersObjects, true) + if diags.HasError() { + return nil, diags + } + var filters []*cxsdk.TracingFilterType + for _, filtersObject := range filtersObjects { + filter, dgs := extractTracingLabelFilter(ctx, filtersObject) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + filters = append(filters, filter) + } + if diags.HasError() { + return nil, diags + } + + return filters, nil +} + +func extractTracingLabelFilter(ctx context.Context, filterModelObject types.Object) (*cxsdk.TracingFilterType, diag.Diagnostics) { + var filterModel TracingFilterTypeModel + if diags := filterModelObject.As(ctx, &filterModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + values, diags := typeStringSliceToWrappedStringSlice(ctx, filterModel.Values.Elements()) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.TracingFilterType{ + Values: values, + Operation: tracingFilterOperationSchemaToProtoMap[filterModel.Operation.ValueString()], + }, nil +} + +func extractTracingSpanFieldsFilterType(ctx context.Context, spanFields types.Set) ([]*cxsdk.TracingSpanFieldsFilterType, diag.Diagnostics) { + if spanFields.IsNull() || spanFields.IsUnknown() { + return nil, nil + } + + var spanFieldsObjects []types.Object + diags := spanFields.ElementsAs(ctx, &spanFieldsObjects, true) + var filters []*cxsdk.TracingSpanFieldsFilterType + for _, element := range spanFieldsObjects { + var filterModel TracingSpanFieldsFilterModel + if diags = element.As(ctx, &filterModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + filterType, diags := extractTracingLabelFilter(ctx, filterModel.FilterType) + if diags.HasError() { + return nil, diags + } + + filters = append(filters, &cxsdk.TracingSpanFieldsFilterType{ + Key: typeStringToWrapperspbString(filterModel.Key), + FilterType: filterType, + }) + } + + return filters, nil +} + +func extractTracingTimeWindow(ctx context.Context, timeWindow types.Object) (*cxsdk.TracingTimeWindow, diag.Diagnostics) { + if timeWindow.IsNull() || timeWindow.IsUnknown() { + return nil, nil + } + + var timeWindowModel TracingTimeWindowModel + if diags := timeWindow.As(ctx, &timeWindowModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + if specificValue := timeWindowModel.SpecificValue; !(specificValue.IsNull() || specificValue.IsUnknown()) { + return &cxsdk.TracingTimeWindow{ + Type: &cxsdk.TracingTimeWindowSpecificValue{ + TracingTimeWindowValue: tracingTimeWindowSchemaToProtoMap[specificValue.ValueString()], + }, + }, nil + } else { + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Time Window", "Time Window is not valid")} + } +} + +func expandMetricAnomalyAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, metricAnomaly types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(metricAnomaly) { + return properties, nil + } + + var metricAnomalyModel MetricAnomalyModel + if diags := metricAnomaly.As(ctx, &metricAnomalyModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + metricFilter, diags := extractMetricFilter(ctx, metricAnomalyModel.MetricFilter) + if diags.HasError() { + return nil, diags + } + + rules, diags := extractMetricAnomalyRules(ctx, metricAnomalyModel.Rules) + if diags.HasError() { + return nil, diags + } + + properties.TypeDefinition = &cxsdk.AlertDefPropertiesMetricAnomaly{ + MetricAnomaly: &cxsdk.MetricAnomalyType{ + MetricFilter: metricFilter, + Rules: rules, + }, + } + properties.Type = cxsdk.AlertDefTypeMetricAnomaly + + return properties, nil +} + +func extractMetricAnomalyRules(ctx context.Context, elements types.List) ([]*cxsdk.MetricAnomalyRule, diag.Diagnostics) { + diags := diag.Diagnostics{} + rules := make([]*cxsdk.MetricAnomalyRule, len(elements.Elements())) + var objs []types.Object + elements.ElementsAs(ctx, &objs, false) + for i, r := range objs { + var rule MetricAnomalyRuleModel + if dg := r.As(ctx, &rule, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + var condition MetricAnomalyConditionModel + if dg := rule.Condition.As(ctx, &condition, basetypes.ObjectAsOptions{}); dg.HasError() { + diags.Append(dg...) + continue + } + + ofTheLast, dg := extractMetricTimeWindow(ctx, condition.OfTheLast) + if dg.HasError() { + diags.Append(dg...) + continue + } + rules[i] = &cxsdk.MetricAnomalyRule{ + Condition: &cxsdk.MetricAnomalyCondition{ + Threshold: typeFloat64ToWrapperspbDouble(condition.Threshold), + ForOverPct: typeInt64ToWrappedUint32(condition.ForOverPct), + OfTheLast: ofTheLast, + ConditionType: metricAnomalyConditionToProtoMap[condition.ConditionType.ValueString()], + MinNonNullValuesPct: typeInt64ToWrappedUint32(condition.MinNonNullValuesPct), + }, + } + } + if diags.HasError() { + return nil, diags + } + return rules, nil +} + +func expandFlowAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties, flow types.Object) (*cxsdk.AlertDefProperties, diag.Diagnostics) { + if objIsNullOrUnknown(flow) { + return properties, nil + } + + var flowModel FlowModel + if diags := flow.As(ctx, &flowModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + stages, diags := extractFlowStages(ctx, flowModel.Stages) + if diags.HasError() { + return nil, diags + } + + properties.TypeDefinition = &cxsdk.AlertDefPropertiesFlow{ + Flow: &cxsdk.FlowType{ + Stages: stages, + EnforceSuppression: typeBoolToWrapperspbBool(flowModel.EnforceSuppression), + }, + } + properties.Type = cxsdk.AlertDefTypeFlow + return properties, nil +} + +func extractFlowStages(ctx context.Context, stages types.List) ([]*cxsdk.FlowStages, diag.Diagnostics) { + if stages.IsNull() || stages.IsUnknown() { + return nil, nil + } + + var stagesObjects []types.Object + diags := stages.ElementsAs(ctx, &stagesObjects, true) + if diags.HasError() { + return nil, diags + } + + var flowStages []*cxsdk.FlowStages + for _, stageObject := range stagesObjects { + stage, diags := extractFlowStage(ctx, stageObject) + if diags.HasError() { + return nil, diags + } + flowStages = append(flowStages, stage) + } + + return flowStages, nil +} + +func extractFlowStage(ctx context.Context, object types.Object) (*cxsdk.FlowStages, diag.Diagnostics) { + var stageModel FlowStageModel + if diags := object.As(ctx, &stageModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + flowStage := &cxsdk.FlowStages{ + TimeframeMs: typeInt64ToWrappedInt64(stageModel.TimeframeMs), + TimeframeType: flowStageTimeFrameTypeSchemaToProtoMap[stageModel.TimeframeType.ValueString()], + } + + if flowStagesGroups := stageModel.FlowStagesGroups; !(flowStagesGroups.IsNull() || flowStagesGroups.IsUnknown()) { + flowStages, diags := extractFlowStagesGroups(ctx, flowStagesGroups) + if diags.HasError() { + return nil, diags + } + flowStage.FlowStages = flowStages + } + + return flowStage, nil +} + +func extractFlowStagesGroups(ctx context.Context, groups types.List) (*cxsdk.FlowStagesGroups, diag.Diagnostics) { + if groups.IsNull() || groups.IsUnknown() { + return nil, nil + } + + var groupsObjects []types.Object + diags := groups.ElementsAs(ctx, &groupsObjects, true) + if diags.HasError() { + return nil, diags + } + + var flowStagesGroups []*cxsdk.FlowStagesGroup + for _, groupObject := range groupsObjects { + group, diags := extractFlowStagesGroup(ctx, groupObject) + if diags.HasError() { + return nil, diags + } + flowStagesGroups = append(flowStagesGroups, group) + } + + return &cxsdk.FlowStagesGroups{ + FlowStagesGroups: &cxsdk.FlowStagesGroupsValue{ + Groups: flowStagesGroups, + }}, nil + +} + +func extractFlowStagesGroup(ctx context.Context, object types.Object) (*cxsdk.FlowStagesGroup, diag.Diagnostics) { + var groupModel FlowStagesGroupModel + if diags := object.As(ctx, &groupModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + alertDefs, diags := extractAlertDefs(ctx, groupModel.AlertDefs) + if diags.HasError() { + return nil, diags + } + + return &cxsdk.FlowStagesGroup{ + AlertDefs: alertDefs, + NextOp: flowStagesGroupNextOpSchemaToProtoMap[groupModel.NextOp.ValueString()], + AlertsOp: flowStagesGroupAlertsOpSchemaToProtoMap[groupModel.AlertsOp.ValueString()], + }, nil + +} + +func extractAlertDefs(ctx context.Context, defs types.List) ([]*cxsdk.FlowStagesGroupsAlertDefs, diag.Diagnostics) { + if defs.IsNull() || defs.IsUnknown() { + return nil, nil } -} -func flowSchema() map[string]*schema.Schema { - return map[string]*schema.Schema{ - "stage": { - Type: schema.TypeList, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "group": { - Type: schema.TypeList, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "sub_alerts": { - Type: schema.TypeList, - MaxItems: 1, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "operator": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidFlowOperator, false), - Description: fmt.Sprintf("The operator to use on the alert. can be one of %q", alertValidFlowOperator), - }, - "flow_alert": { - Type: schema.TypeList, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "not": { - Type: schema.TypeBool, - Optional: true, - Default: false, - }, - "user_alert_id": { - Type: schema.TypeString, - Required: true, - }, - }, - }, - }, - }, - }, - }, - "next_operator": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(alertValidFlowOperator, false), - Description: fmt.Sprintf("The operator to use on the alert. can be one of %q", alertValidFlowOperator), - }, - }, - }, - }, - "time_window": timeSchema("Timeframe for flow stage."), - }, - }, - }, - "group_by": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + var defsObjects []types.Object + diags := defs.ElementsAs(ctx, &defsObjects, true) + if diags.HasError() { + return nil, diags } -} -func resourceCoralogixAlertCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { - createAlertRequest, diags := extractCreateAlertRequest(d) - if len(diags) != 0 { - return diags + var alertDefs []*cxsdk.FlowStagesGroupsAlertDefs + for _, defObject := range defsObjects { + def, diags := extractAlertDef(ctx, defObject) + if diags.HasError() { + return nil, diags + } + alertDefs = append(alertDefs, def) } - createAlertStr := protojson.Format(createAlertRequest) - log.Printf("[INFO] Creating new alert: %s", createAlertStr) - AlertResp, err := meta.(*clientset.ClientSet).Alerts().CreateAlert(ctx, createAlertRequest) + return alertDefs, nil - if err != nil { - log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, createAlertURL, createAlertStr)) +} + +func extractAlertDef(ctx context.Context, def types.Object) (*cxsdk.FlowStagesGroupsAlertDefs, diag.Diagnostics) { + var defModel FlowStagesGroupsAlertDefsModel + if diags := def.As(ctx, &defModel, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags } - alert := AlertResp.GetAlert() - log.Printf("[INFO] Submitted new alert: %s", protojson.Format(alert)) - d.SetId(alert.GetUniqueIdentifier().GetValue()) + return &cxsdk.FlowStagesGroupsAlertDefs{ + Id: typeStringToWrapperspbString(defModel.Id), + Not: typeBoolToWrapperspbBool(defModel.Not), + }, nil - return resourceCoralogixAlertRead(ctx, d, meta) } -func resourceCoralogixAlertRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { - id := wrapperspb.String(d.Id()) - getAlertRequest := &alerts.GetAlertByUniqueIdRequest{ - Id: id, +func (r *AlertResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) { + var state *AlertResourceModel + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return } - log.Printf("[INFO] Reading alert %s", id) - alertResp, err := meta.(*clientset.ClientSet).Alerts().GetAlert(ctx, getAlertRequest) + //Get refreshed Alert value from Coralogix + id := state.ID.ValueString() + log.Printf("[INFO] Reading Alert: %s", id) + getAlertReq := &cxsdk.GetAlertDefRequest{Id: wrapperspb.String(id)} + getAlertResp, err := r.client.Get(ctx, getAlertReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { - d.SetId("") - return diag.Diagnostics{diag.Diagnostic{ - Severity: diag.Warning, - Summary: fmt.Sprintf("Alert %q is in state, but no longer exists in Coralogix backend", id), - Detail: fmt.Sprintf("%s will be recreated when you apply", id), - }} + resp.Diagnostics.AddWarning( + fmt.Sprintf("Alert %q is in state, but no longer exists in Coralogix backend", id), + fmt.Sprintf("%s will be recreated when you apply", id), + ) + resp.State.RemoveResource(ctx) + } else { + resp.Diagnostics.AddError( + "Error reading Alert", + formatRpcErrors(err, getAlertURL, protojson.Format(getAlertReq)), + ) } - return diag.Errorf(formatRpcErrors(err, getAlertURL, protojson.Format(getAlertRequest))) + return + } + alert := getAlertResp.GetAlertDef() + log.Printf("[INFO] Received Alert: %s", protojson.Format(alert)) + + state, diags = flattenAlert(ctx, alert) + if diags.HasError() { + resp.Diagnostics.Append(diags...) + return } - alert := alertResp.GetAlert() - alertStr := protojson.Format(alert) - log.Printf("[INFO] Received alert: %s", alertStr) - return setAlert(d, alert) + resp.Diagnostics.Append(resp.State.Set(ctx, &state)...) } -func resourceCoralogixAlertUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { - req, diags := extractAlert(d) - if len(diags) != 0 { - return diags - } +func flattenAlert(ctx context.Context, alert *cxsdk.AlertDef) (*AlertResourceModel, diag.Diagnostics) { + alertProperties := alert.GetAlertDefProperties() - updateAlertRequest := &alerts.UpdateAlertByUniqueIdRequest{ - Alert: req, + alertSchedule, diags := flattenAlertSchedule(ctx, alertProperties) + if diags.HasError() { + return nil, diags } - updateAlertStr := protojson.Format(updateAlertRequest) - log.Printf("[INFO] Updating alert %s", updateAlertStr) - alertResp, err := meta.(*clientset.ClientSet).Alerts().UpdateAlert(ctx, updateAlertRequest) - if err != nil { - log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, updateAlertURL, updateAlertStr)) + alertTypeDefinition, diags := flattenAlertTypeDefinition(ctx, alertProperties) + if diags.HasError() { + return nil, diags } - updateAlertStr = protojson.Format(alertResp) - log.Printf("[INFO] Submitted updated alert: %s", updateAlertStr) - d.SetId(alertResp.GetAlert().GetUniqueIdentifier().GetValue()) - - return resourceCoralogixAlertRead(ctx, d, meta) + incidentsSettings, diags := flattenIncidentsSettings(ctx, alertProperties.GetIncidentsSettings()) + if diags.HasError() { + return nil, diags + } + notificationGroup, diags := flattenNotificationGroup(ctx, alertProperties.GetNotificationGroup()) + if diags.HasError() { + return nil, diags + } + labels, diags := types.MapValueFrom(ctx, types.StringType, alertProperties.GetEntityLabels()) + if diags.HasError() { + return nil, diags + } + return &AlertResourceModel{ + ID: wrapperspbStringToTypeString(alert.GetId()), + Name: wrapperspbStringToTypeString(alertProperties.GetName()), + Description: wrapperspbStringToTypeString(alertProperties.GetDescription()), + Enabled: wrapperspbBoolToTypeBool(alertProperties.GetEnabled()), + Priority: types.StringValue(alertPriorityProtoToSchemaMap[alertProperties.GetPriority()]), + Schedule: alertSchedule, + TypeDefinition: alertTypeDefinition, + GroupBy: wrappedStringSliceToTypeStringSet(alertProperties.GetGroupByKeys()), + IncidentsSettings: incidentsSettings, + NotificationGroup: notificationGroup, + Labels: labels, + PhantomMode: wrapperspbBoolToTypeBool(alertProperties.GetPhantomMode()), + Deleted: wrapperspbBoolToTypeBool(alertProperties.GetDeleted()), + }, nil } -func resourceCoralogixAlertDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { - id := wrapperspb.String(d.Id()) - deleteAlertRequest := &alerts.DeleteAlertByUniqueIdRequest{ - Id: id, +func flattenNotificationGroup(ctx context.Context, notificationGroup *cxsdk.AlertDefNotificationGroup) (types.Object, diag.Diagnostics) { + if notificationGroup == nil { + return types.ObjectNull(notificationGroupAttr()), nil } - log.Printf("[INFO] Deleting alert %s", id) - _, err := meta.(*clientset.ClientSet).Alerts().DeleteAlert(ctx, deleteAlertRequest) - if err != nil { - log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, deleteAlertURL, protojson.Format(deleteAlertRequest))) + webhooksSettings, diags := flattenAdvancedTargetSettings(ctx, notificationGroup.GetWebhooks()) + if diags.HasError() { + return types.ObjectNull(notificationGroupAttr()), diags } - log.Printf("[INFO] alert %s deleted", id) - d.SetId("") - return nil + notificationGroupModel := NotificationGroupModel{ + GroupByKeys: wrappedStringSliceToTypeStringSet(notificationGroup.GetGroupByKeys()), + WebhooksSettings: webhooksSettings, + } + + return types.ObjectValueFrom(ctx, notificationGroupAttr(), notificationGroupModel) } -func extractCreateAlertRequest(d *schema.ResourceData) (*alerts.CreateAlertRequest, diag.Diagnostics) { - var diags diag.Diagnostics - enabled := wrapperspb.Bool(d.Get("enabled").(bool)) - name := wrapperspb.String(d.Get("name").(string)) - description := wrapperspb.String(d.Get("description").(string)) - severity := expandAlertSeverity(d.Get("severity").(string)) - metaLabels := extractMetaLabels(d.Get("meta_labels")) - expirationDate := expandExpirationDate(d.Get("expiration_date")) - incidentSettings := expandIncidentSettings(d.Get("incident_settings")) - notificationGroups, dgs := expandNotificationGroups(d.Get("notifications_group")) - diags = append(diags, dgs...) - if len(diags) != 0 { - return nil, diags - } - payloadFilters := expandPayloadFilters(d.Get("payload_filters")) - scheduling := expandActiveWhen(d.Get("scheduling")) - alertTypeParams, tracingAlert, dgs := expandAlertType(d) - diags = append(diags, dgs...) - if len(diags) != 0 { - return nil, diags - } - - return &alerts.CreateAlertRequest{ - Name: name, - Description: description, - IsActive: enabled, - Severity: severity, - MetaLabels: metaLabels, - Expiration: expirationDate, - NotificationGroups: notificationGroups, - IncidentSettings: incidentSettings, - NotificationPayloadFilters: payloadFilters, - ActiveWhen: scheduling, - Filters: alertTypeParams.Filters, - Condition: alertTypeParams.Condition, - TracingAlert: tracingAlert, - }, diags -} - -func extractAlert(d *schema.ResourceData) (*alerts.Alert, diag.Diagnostics) { +func flattenAdvancedTargetSettings(ctx context.Context, webhooksSettings []*cxsdk.AlertDefWebhooksSettings) (types.Set, diag.Diagnostics) { + if webhooksSettings == nil { + return types.SetNull(types.ObjectType{AttrTypes: webhooksSettingsAttr()}), nil + } + + var notificationsModel []*WebhooksSettingsModel var diags diag.Diagnostics - id := wrapperspb.String(d.Id()) - enabled := wrapperspb.Bool(d.Get("enabled").(bool)) - name := wrapperspb.String(d.Get("name").(string)) - description := wrapperspb.String(d.Get("description").(string)) - severity := expandAlertSeverity(d.Get("severity").(string)) - metaLabels := extractMetaLabels(d.Get("meta_labels")) - expirationDate := expandExpirationDate(d.Get("expiration_date")) - incidentSettings := expandIncidentSettings(d.Get("incident_settings")) - notificationGroups, dgs := expandNotificationGroups(d.Get("notifications_group")) - diags = append(diags, dgs...) - payloadFilters := expandPayloadFilters(d.Get("payload_filters")) - scheduling := expandActiveWhen(d.Get("scheduling")) - alertTypeParams, tracingAlert, dgs := expandAlertType(d) - diags = append(diags, dgs...) - if len(diags) != 0 { - return nil, diags + for _, notification := range webhooksSettings { + retriggeringPeriod, dgs := flattenRetriggeringPeriod(ctx, notification) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + notificationModel := WebhooksSettingsModel{ + NotifyOn: types.StringValue(notifyOnProtoToSchemaMap[notification.GetNotifyOn()]), + RetriggeringPeriod: retriggeringPeriod, + IntegrationID: types.StringNull(), + Recipients: types.SetNull(types.StringType), + } + switch integrationType := notification.GetIntegration(); integrationType.GetIntegrationType().(type) { + case *cxsdk.AlertDefIntegrationTypeIntegrationID: + notificationModel.IntegrationID = types.StringValue(strconv.Itoa(int(integrationType.GetIntegrationId().GetValue()))) + case *cxsdk.AlertDefIntegrationTypeRecipients: + notificationModel.Recipients = wrappedStringSliceToTypeStringSet(integrationType.GetRecipients().GetEmails()) + } + notificationsModel = append(notificationsModel, ¬ificationModel) } - return &alerts.Alert{ - UniqueIdentifier: id, - Name: name, - Description: description, - IsActive: enabled, - Severity: severity, - MetaLabels: metaLabels, - Expiration: expirationDate, - IncidentSettings: incidentSettings, - NotificationGroups: notificationGroups, - NotificationPayloadFilters: payloadFilters, - ActiveWhen: scheduling, - Filters: alertTypeParams.Filters, - Condition: alertTypeParams.Condition, - TracingAlert: tracingAlert, - }, diags -} + if diags.HasError() { + return types.SetNull(types.ObjectType{AttrTypes: webhooksSettingsAttr()}), diags + } -func expandPayloadFilters(v interface{}) []*wrapperspb.StringValue { - return interfaceSliceToWrappedStringSlice(v.(*schema.Set).List()) + return types.SetValueFrom(ctx, types.ObjectType{AttrTypes: webhooksSettingsAttr()}, notificationsModel) } -func setAlert(d *schema.ResourceData, alert *alerts.Alert) diag.Diagnostics { - if err := d.Set("name", alert.GetName().GetValue()); err != nil { - return diag.FromErr(err) +func flattenRetriggeringPeriod(ctx context.Context, notifications *cxsdk.AlertDefWebhooksSettings) (types.Object, diag.Diagnostics) { + switch notificationPeriodType := notifications.RetriggeringPeriod.(type) { + case *cxsdk.AlertDefWebhooksSettingsMinutes: + return types.ObjectValueFrom(ctx, retriggeringPeriodAttr(), RetriggeringPeriodModel{ + Minutes: wrapperspbUint32ToTypeInt64(notificationPeriodType.Minutes), + }) + case nil: + return types.ObjectNull(retriggeringPeriodAttr()), nil + default: + return types.ObjectNull(retriggeringPeriodAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Retriggering Period", fmt.Sprintf("Retriggering Period %v is not supported", notificationPeriodType))} } +} - if err := d.Set("description", alert.GetDescription().GetValue()); err != nil { - return diag.FromErr(err) +func flattenIncidentsSettings(ctx context.Context, incidentsSettings *cxsdk.AlertDefIncidentSettings) (types.Object, diag.Diagnostics) { + if incidentsSettings == nil { + return types.ObjectNull(incidentsSettingsAttr()), nil } - if err := d.Set("enabled", alert.GetIsActive().GetValue()); err != nil { - return diag.FromErr(err) + retriggeringPeriod, diags := flattenIncidentsSettingsByRetriggeringPeriod(ctx, incidentsSettings) + if diags.HasError() { + return types.ObjectNull(incidentsSettingsAttr()), diags } - if err := d.Set("severity", flattenAlertSeverity(alert.GetSeverity().String())); err != nil { - return diag.FromErr(err) + incidentsSettingsModel := IncidentsSettingsModel{ + NotifyOn: types.StringValue(notifyOnProtoToSchemaMap[incidentsSettings.GetNotifyOn()]), + RetriggeringPeriod: retriggeringPeriod, } + return types.ObjectValueFrom(ctx, incidentsSettingsAttr(), incidentsSettingsModel) +} - if err := d.Set("meta_labels", flattenMetaLabels(alert.GetMetaLabels())); err != nil { - return diag.FromErr(err) +func flattenIncidentsSettingsByRetriggeringPeriod(ctx context.Context, settings *cxsdk.AlertDefIncidentSettings) (types.Object, diag.Diagnostics) { + if settings.RetriggeringPeriod == nil { + return types.ObjectNull(retriggeringPeriodAttr()), nil } - if err := d.Set("expiration_date", flattenExpirationDate(alert.GetExpiration())); err != nil { - return diag.FromErr(err) + var periodModel RetriggeringPeriodModel + switch period := settings.RetriggeringPeriod.(type) { + case *cxsdk.AlertDefIncidentSettingsMinutes: + periodModel.Minutes = wrapperspbUint32ToTypeInt64(period.Minutes) + default: + return types.ObjectNull(retriggeringPeriodAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Retriggering Period", fmt.Sprintf("Retriggering Period %v is not supported", period))} } - incidentSettings := flattenIncidentSettings(alert.GetIncidentSettings()) - if err := d.Set("incident_settings", incidentSettings); err != nil { - return diag.FromErr(err) + return types.ObjectValueFrom(ctx, retriggeringPeriodAttr(), periodModel) +} + +func flattenAlertTypeDefinition(ctx context.Context, properties *cxsdk.AlertDefProperties) (types.Object, diag.Diagnostics) { + if properties.TypeDefinition == nil { + return types.ObjectNull(alertTypeDefinitionAttr()), nil } - if err := d.Set("notifications_group", flattenNotificationGroups(alert.GetNotificationGroups(), incidentSettings != nil)); err != nil { - return diag.FromErr(err) + alertTypeDefinitionModel := AlertTypeDefinitionModel{ + LogsImmediate: types.ObjectNull(logsImmediateAttr()), + LogsThreshold: types.ObjectNull(logsThresholdAttr()), + LogsAnomaly: types.ObjectNull(logsAnomalyAttr()), + LogsRatioThreshold: types.ObjectNull(logsRatioThresholdAttr()), + LogsNewValue: types.ObjectNull(logsNewValueAttr()), + LogsUniqueCount: types.ObjectNull(logsUniqueCountAttr()), + LogsTimeRelativeThreshold: types.ObjectNull(logsTimeRelativeAttr()), + MetricThreshold: types.ObjectNull(metricThresholdAttr()), + MetricAnomaly: types.ObjectNull(metricAnomalyAttr()), + TracingImmediate: types.ObjectNull(tracingImmediateAttr()), + TracingThreshold: types.ObjectNull(tracingThresholdAttr()), + Flow: types.ObjectNull(flowAttr()), + } + var diags diag.Diagnostics + switch alertTypeDefinition := properties.TypeDefinition.(type) { + case *cxsdk.AlertDefPropertiesLogsImmediate: + alertTypeDefinitionModel.LogsImmediate, diags = flattenLogsImmediate(ctx, alertTypeDefinition.LogsImmediate) + case *cxsdk.AlertDefPropertiesLogsThreshold: + alertTypeDefinitionModel.LogsThreshold, diags = flattenLogsThreshold(ctx, alertTypeDefinition.LogsThreshold) + case *cxsdk.AlertDefPropertiesLogsAnomaly: + alertTypeDefinitionModel.LogsAnomaly, diags = flattenLogsAnomaly(ctx, alertTypeDefinition.LogsAnomaly) + case *cxsdk.AlertDefPropertiesLogsRatioThreshold: + alertTypeDefinitionModel.LogsRatioThreshold, diags = flattenLogsRatioThreshold(ctx, alertTypeDefinition.LogsRatioThreshold) + case *cxsdk.AlertDefPropertiesLogsNewValue: + alertTypeDefinitionModel.LogsNewValue, diags = flattenLogsNewValue(ctx, alertTypeDefinition.LogsNewValue) + case *cxsdk.AlertDefPropertiesLogsUniqueCount: + alertTypeDefinitionModel.LogsUniqueCount, diags = flattenLogsUniqueCount(ctx, alertTypeDefinition.LogsUniqueCount) + case *cxsdk.AlertDefPropertiesLogsTimeRelativeThreshold: + alertTypeDefinitionModel.LogsTimeRelativeThreshold, diags = flattenLogsTimeRelativeThreshold(ctx, alertTypeDefinition.LogsTimeRelativeThreshold) + case *cxsdk.AlertDefPropertiesMetricThreshold: + alertTypeDefinitionModel.MetricThreshold, diags = flattenMetricThreshold(ctx, alertTypeDefinition.MetricThreshold) + case *cxsdk.AlertDefPropertiesMetricAnomaly: + alertTypeDefinitionModel.MetricAnomaly, diags = flattenMetricAnomaly(ctx, alertTypeDefinition.MetricAnomaly) + case *cxsdk.AlertDefPropertiesTracingImmediate: + alertTypeDefinitionModel.TracingImmediate, diags = flattenTracingImmediate(ctx, alertTypeDefinition.TracingImmediate) + case *cxsdk.AlertDefPropertiesTracingThreshold: + alertTypeDefinitionModel.TracingThreshold, diags = flattenTracingThreshold(ctx, alertTypeDefinition.TracingThreshold) + case *cxsdk.AlertDefPropertiesFlow: + alertTypeDefinitionModel.Flow, diags = flattenFlow(ctx, alertTypeDefinition.Flow) + default: + return types.ObjectNull(alertTypeDefinitionAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Alert Type Definition", fmt.Sprintf("Alert Type '%v' Definition is not valid", alertTypeDefinition))} } - if err := d.Set("payload_filters", wrappedStringSliceToStringSlice(alert.GetNotificationPayloadFilters())); err != nil { - return diag.FromErr(err) + if diags.HasError() { + return types.ObjectNull(alertTypeDefinitionAttr()), diags } - if err := d.Set("scheduling", flattenScheduling(d, alert.GetActiveWhen())); err != nil { - return diag.FromErr(err) + return types.ObjectValueFrom(ctx, alertTypeDefinitionAttr(), alertTypeDefinitionModel) +} + +func flattenLogsImmediate(ctx context.Context, immediate *cxsdk.LogsImmediateType) (types.Object, diag.Diagnostics) { + if immediate == nil { + return types.ObjectNull(logsImmediateAttr()), nil } - alertType, alertTypeParams := flattenAlertType(alert) - if err := d.Set(alertType, alertTypeParams); err != nil { - return diag.FromErr(err) + logsFilter, diags := flattenAlertsLogsFilter(ctx, immediate.GetLogsFilter()) + if diags.HasError() { + return types.ObjectNull(logsImmediateAttr()), diags } - return nil + logsImmediateModel := LogsImmediateModel{ + LogsFilter: logsFilter, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(immediate.GetNotificationPayloadFilter()), + } + return types.ObjectValueFrom(ctx, logsImmediateAttr(), logsImmediateModel) } -func flattenIncidentSettings(settings *alerts.AlertIncidentSettings) interface{} { - if settings == nil { - return nil +func flattenAlertsLogsFilter(ctx context.Context, filter *cxsdk.LogsFilter) (types.Object, diag.Diagnostics) { + if filter == nil { + return types.ObjectNull(logsFilterAttr()), nil } - if !settings.GetUseAsNotificationSettings().GetValue() { - return nil + + var diags diag.Diagnostics + var logsFilterModer AlertsLogsFilterModel + switch filterType := filter.FilterType.(type) { + case *cxsdk.LogsFilterSimpleFilter: + logsFilterModer.SimpleFilter, diags = flattenSimpleFilter(ctx, filterType.SimpleFilter) + default: + return types.ObjectNull(logsFilterAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Logs Filter", fmt.Sprintf("Logs Filter %v is not supported", filterType))} } - return []interface{}{ - map[string]interface{}{ - "retriggering_period_minutes": int(settings.GetRetriggeringPeriodSeconds().GetValue() / 60), - "notify_on": alertProtoNotifyOnToSchemaNotifyOn[settings.GetNotifyOn()], - }, + + if diags.HasError() { + return types.ObjectNull(logsFilterAttr()), diags } -} -func flattenAlertSeverity(str string) string { - return alertProtoSeverityToSchemaSeverity[str] + return types.ObjectValueFrom(ctx, logsFilterAttr(), logsFilterModer) } -func flattenMetaLabels(labels []*alerts.MetaLabel) interface{} { - result := make(map[string]interface{}) - for _, l := range labels { - key := l.GetKey().GetValue() - val := l.GetValue().GetValue() - result[key] = val +func flattenSimpleFilter(ctx context.Context, filter *cxsdk.SimpleFilter) (types.Object, diag.Diagnostics) { + if filter == nil { + return types.ObjectNull(luceneFilterAttr()), nil + } + + labelFilters, diags := flattenLabelFilters(ctx, filter.GetLabelFilters()) + if diags.HasError() { + return types.ObjectNull(luceneFilterAttr()), diags } - return result + + return types.ObjectValueFrom(ctx, luceneFilterAttr(), SimpleFilterModel{ + LuceneQuery: wrapperspbStringToTypeString(filter.GetLuceneQuery()), + LabelFilters: labelFilters, + }) } -func flattenNotificationGroups(notificationGroups []*alerts.AlertNotificationGroups, incidentSettingsConfigured bool) interface{} { - result := make([]interface{}, 0, len(notificationGroups)) - for _, group := range notificationGroups { - notificationGroup := flattenNotificationGroup(group, incidentSettingsConfigured) - result = append(result, notificationGroup) +func flattenLabelFilters(ctx context.Context, filters *cxsdk.LabelFilters) (types.Object, diag.Diagnostics) { + if filters == nil { + return types.ObjectNull(labelFiltersAttr()), nil + } + + applicationName, diags := flattenLabelFilterTypes(ctx, filters.GetApplicationName()) + if diags.HasError() { + return types.ObjectNull(labelFiltersAttr()), diags } - return result + + subsystemName, diags := flattenLabelFilterTypes(ctx, filters.GetSubsystemName()) + if diags.HasError() { + return types.ObjectNull(labelFiltersAttr()), diags + } + + severities, diags := flattenLogSeverities(ctx, filters.GetSeverities()) + if diags.HasError() { + return types.ObjectNull(labelFiltersAttr()), diags + } + + return types.ObjectValueFrom(ctx, labelFiltersAttr(), LabelFiltersModel{ + ApplicationName: applicationName, + SubsystemName: subsystemName, + Severities: severities, + }) } -func flattenNotificationGroup(notificationGroup *alerts.AlertNotificationGroups, incidentSettingsConfigured bool) interface{} { - groupByFields := wrappedStringSliceToStringSlice(notificationGroup.GetGroupByFields()) - notifications := flattenNotifications(notificationGroup.GetNotifications(), incidentSettingsConfigured) - return map[string]interface{}{ - "group_by_fields": groupByFields, - "notification": notifications, +func flattenLabelFilterTypes(ctx context.Context, name []*cxsdk.LabelFilterType) (types.Set, diag.Diagnostics) { + var labelFilterTypes []LabelFilterTypeModel + var diags diag.Diagnostics + for _, lft := range name { + labelFilterType := LabelFilterTypeModel{ + Value: wrapperspbStringToTypeString(lft.GetValue()), + Operation: types.StringValue(logFilterOperationTypeProtoToSchemaMap[lft.GetOperation()]), + } + labelFilterTypes = append(labelFilterTypes, labelFilterType) + } + if diags.HasError() { + return types.SetNull(types.ObjectType{AttrTypes: labelFilterTypesAttr()}), diags } + return types.SetValueFrom(ctx, types.ObjectType{AttrTypes: labelFilterTypesAttr()}, labelFilterTypes) + } -func flattenNotifications(notifications []*alerts.AlertNotification, incidentSettingsConfigured bool) interface{} { - result := make([]interface{}, 0, len(notifications)) - for _, n := range notifications { - notificationSubgroup := flattenNotificationSubgroup(n, incidentSettingsConfigured) - result = append(result, notificationSubgroup) +func flattenLogSeverities(ctx context.Context, severities []cxsdk.LogSeverity) (types.Set, diag.Diagnostics) { + var result []attr.Value + for _, severity := range severities { + result = append(result, types.StringValue(logSeverityProtoToSchemaMap[severity])) } - return result + return types.SetValueFrom(ctx, types.StringType, result) } -func flattenNotificationSubgroup(notification *alerts.AlertNotification, incidentSettingsConfigured bool) interface{} { - notificationSchema := map[string]interface{}{} - if !incidentSettingsConfigured { - notificationSchema["retriggering_period_minutes"] = int(notification.GetRetriggeringPeriodSeconds().GetValue() / 60) - notificationSchema["notify_on"] = alertProtoNotifyOnToSchemaNotifyOn[notification.GetNotifyOn()] +func flattenLogsThreshold(ctx context.Context, threshold *cxsdk.LogsThresholdType) (types.Object, diag.Diagnostics) { + if threshold == nil { + return types.ObjectNull(logsThresholdAttr()), nil } - switch integration := notification.GetIntegrationType().(type) { - case *alerts.AlertNotification_IntegrationId: - notificationSchema["integration_id"] = strconv.Itoa(int(integration.IntegrationId.GetValue())) - case *alerts.AlertNotification_Recipients: - notificationSchema["email_recipients"] = wrappedStringSliceToStringSlice(integration.Recipients.Emails) + + logsFilter, diags := flattenAlertsLogsFilter(ctx, threshold.GetLogsFilter()) + if diags.HasError() { + return types.ObjectNull(logsThresholdAttr()), diags } - return notificationSchema -} + rules, diags := flattenLogsThresholdRules(ctx, threshold.Rules) + if diags.HasError() { + return types.ObjectNull(logsThresholdAttr()), diags + } -func flattenScheduling(d *schema.ResourceData, activeWhen *alerts.AlertActiveWhen) interface{} { - scheduling, ok := d.GetOk("scheduling") - if !ok || activeWhen == nil { - return nil + undetected, diags := flattenUndetectedValuesManagement(ctx, threshold.GetUndetectedValuesManagement()) + if diags.HasError() { + return types.ObjectNull(logsThresholdAttr()), diags + } + + logsMoreThanModel := LogsThresholdModel{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(threshold.GetNotificationPayloadFilter()), + UndetectedValuesManagement: undetected, } + return types.ObjectValueFrom(ctx, logsThresholdAttr(), logsMoreThanModel) +} - timeZone := scheduling.([]interface{})[0].(map[string]interface{})["time_zone"].(string) +func flattenLogsThresholdRules(ctx context.Context, rules []*cxsdk.LogsThresholdRule) (types.List, diag.Diagnostics) { + if rules == nil { + return types.ListNull(types.ObjectType{AttrTypes: flowStageAttr()}), nil + } + convertedRules := make([]*LogsThresholdRuleModel, len(rules)) + var diags diag.Diagnostics + for i, rule := range rules { + condition, dgs := flattenLogsThresholdRuleCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } - timeFrames := flattenTimeFrames(activeWhen, timeZone) + override, dgs := flattenAlertOverride(ctx, rule.Override) + if dgs.HasError() { + diags.Append(dgs...) + continue + } - return []interface{}{ - map[string]interface{}{ - "time_zone": timeZone, - "time_frame": timeFrames, - }, + convertedRules[i] = &LogsThresholdRuleModel{ + Condition: condition, + Override: override, + } } + if diags.HasError() { + return types.ListNull(types.ObjectType{AttrTypes: logsThresholdRulesAttr()}), diags + } + return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: logsThresholdRulesAttr()}, convertedRules) } -func flattenTimeFrames(activeWhen *alerts.AlertActiveWhen, timeZone string) interface{} { - timeFrames := activeWhen.GetTimeframes() - utc := flattenUtc(timeZone) - result := schema.NewSet(hashTimeFrames(), []interface{}{}) - for _, tf := range timeFrames { - m := flattenTimeFrame(tf, utc) - result.Add(m) +func flattenLogsThresholdRuleCondition(ctx context.Context, condition *cxsdk.LogsThresholdCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(logsThresholdConditionAttr()), nil + } + + timeWindow, diags := flattenLogsTimeWindow(ctx, condition.TimeWindow) + if diags.HasError() { + return types.ObjectNull(logsThresholdConditionAttr()), diags } - return result + + return types.ObjectValueFrom(ctx, logsThresholdConditionAttr(), LogsThresholdConditionModel{ + Threshold: wrapperspbDoubleToTypeFloat64(condition.GetThreshold()), + TimeWindow: timeWindow, + ConditionType: types.StringValue(logsThresholdConditionMap[condition.GetConditionType()]), + }) } -func flattenUtc(timeZone string) int32 { - utcStr := strings.Split(timeZone, "UTC")[1] - utc, _ := strconv.Atoi(utcStr) - return int32(utc) +func flattenLogsTimeWindow(ctx context.Context, timeWindow *cxsdk.LogsTimeWindow) (types.Object, diag.Diagnostics) { + if timeWindow == nil { + return types.ObjectNull(logsTimeWindowAttr()), nil + } + return types.ObjectValueFrom(ctx, logsTimeWindowAttr(), LogsTimeWindowModel{ + SpecificValue: types.StringValue(logsTimeWindowValueProtoToSchemaMap[timeWindow.GetLogsTimeWindowSpecificValue()]), + }) } -func flattenTimeFrame(tf *alerts.AlertActiveTimeframe, utc int32) map[string]interface{} { - tr := tf.GetRange() - activityStartGMT, activityEndGMT := tr.GetStart(), tr.GetEnd() - daysOffset := getDaysOffsetFromGMT(activityStartGMT, utc) - activityStartUTC := flattenTimeInDay(activityStartGMT, utc) - activityEndUTC := flattenTimeInDay(activityEndGMT, utc) - daysOfWeek := flattenDaysOfWeek(tf.GetDaysOfWeek(), daysOffset) +func flattenLogsRatioTimeWindow(ctx context.Context, timeWindow *cxsdk.LogsRatioTimeWindow) (types.Object, diag.Diagnostics) { + if timeWindow == nil { + return types.ObjectNull(logsTimeWindowAttr()), nil + } - return map[string]interface{}{ - "days_enabled": daysOfWeek, - "start_time": activityStartUTC, - "end_time": activityEndUTC, + switch timeWindowType := timeWindow.Type.(type) { + case *cxsdk.LogsRatioTimeWindowSpecificValue: + return types.ObjectValueFrom(ctx, logsTimeWindowAttr(), LogsTimeWindowModel{ + SpecificValue: types.StringValue(logsRatioTimeWindowValueProtoToSchemaMap[timeWindowType.LogsRatioTimeWindowSpecificValue]), + }) + default: + return types.ObjectNull(logsTimeWindowAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Time Window", fmt.Sprintf("Time Window %v is not supported", timeWindowType))} } } -func getDaysOffsetFromGMT(activityStartGMT *alerts.Time, utc int32) int32 { - daysOffset := int32(activityStartGMT.GetHours()+utc) / 24 - if daysOffset < 0 { - daysOffset += 7 +func flattenLogsNewValueTimeWindow(ctx context.Context, timeWindow *cxsdk.LogsNewValueTimeWindow) (types.Object, diag.Diagnostics) { + if timeWindow == nil { + return types.ObjectNull(logsTimeWindowAttr()), nil + } + switch timeWindowType := timeWindow.Type.(type) { + case *cxsdk.LogsNewValueTimeWindowSpecificValue: + return types.ObjectValueFrom(ctx, logsTimeWindowAttr(), LogsTimeWindowModel{ + SpecificValue: types.StringValue(logsNewValueTimeWindowValueProtoToSchemaMap[timeWindowType.LogsNewValueTimeWindowSpecificValue]), + }) + default: + return types.ObjectNull(logsTimeWindowAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Time Window", fmt.Sprintf("Time Window %v is not supported", timeWindowType))} } - - return daysOffset } -func flattenTimeInDay(t *alerts.Time, utc int32) string { - hours := convertGmtToUtc(t.GetHours(), utc) - hoursStr := toTwoDigitsFormat(hours) - minStr := toTwoDigitsFormat(t.GetMinutes()) - return fmt.Sprintf("%s:%s", hoursStr, minStr) +func logsTimeWindowAttr() map[string]attr.Type { + return map[string]attr.Type{ + "specific_value": types.StringType, + } } -func flattenDaysOfWeek(daysOfWeek []alerts.DayOfWeek, daysOffset int32) interface{} { - result := schema.NewSet(schema.HashString, []interface{}{}) - for _, d := range daysOfWeek { - dayConvertedFromGmtToUtc := alerts.DayOfWeek((int32(d) + daysOffset) % 7) - day := alertProtoDayOfWeekToSchemaDayOfWeek[dayConvertedFromGmtToUtc.String()] - result.Add(day) +func flattenUndetectedValuesManagement(ctx context.Context, undetectedValuesManagement *cxsdk.UndetectedValuesManagement) (types.Object, diag.Diagnostics) { + var undetectedValuesManagementModel UndetectedValuesManagementModel + if undetectedValuesManagement == nil { + undetectedValuesManagementModel.TriggerUndetectedValues = types.BoolValue(false) + undetectedValuesManagementModel.AutoRetireTimeframe = types.StringValue("Never") + } else { + undetectedValuesManagementModel.TriggerUndetectedValues = wrapperspbBoolToTypeBool(undetectedValuesManagement.GetTriggerUndetectedValues()) + undetectedValuesManagementModel.AutoRetireTimeframe = types.StringValue(autoRetireTimeframeProtoToSchemaMap[undetectedValuesManagement.GetAutoRetireTimeframe()]) } - return result + return types.ObjectValueFrom(ctx, undetectedValuesManagementAttr(), undetectedValuesManagementModel) } -func flattenAlertType(a *alerts.Alert) (alertType string, alertSchema interface{}) { - filters := a.GetFilters() - condition := a.GetCondition().GetCondition() +func flattenLogsAnomaly(ctx context.Context, anomaly *cxsdk.LogsAnomalyType) (types.Object, diag.Diagnostics) { + if anomaly == nil { + return types.ObjectNull(logsAnomalyAttr()), nil + } - switch filters.GetFilterType() { - case alerts.AlertFilters_FILTER_TYPE_TEXT_OR_UNSPECIFIED: - if _, ok := condition.(*alerts.AlertCondition_NewValue); ok { - alertType = "new_value" - alertSchema = flattenNewValueAlert(filters, condition) - } else { - alertType = "standard" - alertSchema = flattenStandardAlert(filters, condition) - } - case alerts.AlertFilters_FILTER_TYPE_RATIO: - alertType = "ratio" - alertSchema = flattenRatioAlert(filters, condition) - case alerts.AlertFilters_FILTER_TYPE_UNIQUE_COUNT: - alertType = "unique_count" - alertSchema = flattenUniqueCountAlert(filters, condition) - case alerts.AlertFilters_FILTER_TYPE_TIME_RELATIVE: - alertType = "time_relative" - alertSchema = flattenTimeRelativeAlert(filters, condition) - case alerts.AlertFilters_FILTER_TYPE_METRIC: - alertType = "metric" - alertSchema = flattenMetricAlert(filters, condition) - case alerts.AlertFilters_FILTER_TYPE_TRACING: - alertType = "tracing" - alertSchema = flattenTracingAlert(condition, a.TracingAlert) - case alerts.AlertFilters_FILTER_TYPE_FLOW: - alertType = "flow" - alertSchema = flattenFlowAlert(condition) - } - - return -} - -func flattenNewValueAlert(filters *alerts.AlertFilters, condition interface{}) interface{} { - alertSchema := flattenCommonAlert(filters) - conditionMap := flattenNewValueCondition(condition) - alertSchema["condition"] = []interface{}{conditionMap} - return []interface{}{alertSchema} -} - -func flattenNewValueCondition(condition interface{}) interface{} { - conditionParams := condition.(*alerts.AlertCondition_NewValue).NewValue.GetParameters() - return map[string]interface{}{ - "time_window": alertProtoNewValueTimeFrameToSchemaTimeFrame[conditionParams.GetTimeframe().String()], - "key_to_track": conditionParams.GetGroupBy()[0].GetValue(), - } -} - -func flattenStandardAlert(filters *alerts.AlertFilters, condition interface{}) interface{} { - alertSchemaMap := flattenCommonAlert(filters) - conditionSchema := flattenStandardCondition(condition) - alertSchemaMap["condition"] = conditionSchema - return []interface{}{alertSchemaMap} -} - -func flattenStandardCondition(condition interface{}) (conditionSchema interface{}) { - var conditionParams *alerts.ConditionParameters - switch condition := condition.(type) { - case *alerts.AlertCondition_Immediate: - conditionSchema = []interface{}{ - map[string]interface{}{ - "immediately": true, - }, - } - case *alerts.AlertCondition_LessThan: - conditionParams = condition.LessThan.GetParameters() - groupBy := wrappedStringSliceToStringSlice(conditionParams.GroupBy) - m := map[string]interface{}{ - "less_than": true, - "threshold": int(conditionParams.GetThreshold().GetValue()), - "group_by": groupBy, - "time_window": alertProtoTimeFrameToSchemaTimeFrame[conditionParams.Timeframe.String()], - } - - if len(groupBy) > 0 { - m["manage_undetected_values"] = flattenManageUndetectedValues(conditionParams.GetRelatedExtendedData()) - } - - conditionSchema = []interface{}{m} - case *alerts.AlertCondition_MoreThan: - conditionParams = condition.MoreThan.GetParameters() - conditionSchema = []interface{}{ - map[string]interface{}{ - "more_than": true, - "threshold": int(conditionParams.GetThreshold().GetValue()), - "group_by": wrappedStringSliceToStringSlice(conditionParams.GroupBy), - "time_window": alertProtoTimeFrameToSchemaTimeFrame[conditionParams.Timeframe.String()], - "evaluation_window": alertProtoToSchemaEvaluationWindow[condition.MoreThan.GetEvaluationWindow()], - }, - } - case *alerts.AlertCondition_MoreThanUsual: - conditionParams = condition.MoreThanUsual.GetParameters() - conditionMap := map[string]interface{}{ - "more_than_usual": true, - "threshold": int(conditionParams.GetThreshold().GetValue()), - "time_window": alertProtoTimeFrameToSchemaTimeFrame[conditionParams.GetTimeframe().String()], - "group_by": wrappedStringSliceToStringSlice(conditionParams.GroupBy), + logsFilter, diags := flattenAlertsLogsFilter(ctx, anomaly.GetLogsFilter()) + if diags.HasError() { + return types.ObjectNull(logsAnomalyAttr()), diags + } + + rulesRaw := make([]LogsAnomalyRuleModel, len(anomaly.Rules)) + for i, rule := range anomaly.Rules { + condition, dgs := flattenLogsAnomalyRuleCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue } - conditionSchema = []interface{}{ - conditionMap, + rulesRaw[i] = LogsAnomalyRuleModel{ + Condition: condition, } } + if diags.HasError() { + return types.ObjectNull(logsAnomalyAttr()), diags + } + rules, diags := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: logsAnomalyRulesAttr()}, rulesRaw) + if diags.HasError() { + return types.ObjectNull(logsAnomalyAttr()), diags + } + logsMoreThanUsualModel := LogsAnomalyModel{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(anomaly.GetNotificationPayloadFilter()), + } + return types.ObjectValueFrom(ctx, logsAnomalyAttr(), logsMoreThanUsualModel) +} + +func flattenLogsAnomalyRuleCondition(ctx context.Context, condition *cxsdk.LogsAnomalyCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(logsAnomalyConditionAttr()), nil + } - return + timeWindow, diags := flattenLogsTimeWindow(ctx, condition.TimeWindow) + if diags.HasError() { + return types.ObjectNull(logsAnomalyConditionAttr()), diags + } + + return types.ObjectValueFrom(ctx, logsAnomalyConditionAttr(), LogsAnomalyConditionModel{ + MinimumThreshold: wrapperspbDoubleToTypeFloat64(condition.GetMinimumThreshold()), + TimeWindow: timeWindow, + ConditionType: types.StringValue(logsAnomalyConditionMap[condition.GetConditionType()]), + }) } -func flattenManageUndetectedValues(data *alerts.RelatedExtendedData) interface{} { - if data == nil { - return []map[string]interface{}{ - { - "enable_triggering_on_undetected_values": true, - "auto_retire_ratio": flattenDeadmanRatio(alerts.CleanupDeadmanDuration_CLEANUP_DEADMAN_DURATION_NEVER_OR_UNSPECIFIED), - }, +func flattenLogsRatioThreshold(ctx context.Context, ratioThreshold *cxsdk.LogsRatioThresholdType) (types.Object, diag.Diagnostics) { + if ratioThreshold == nil { + return types.ObjectNull(logsRatioThresholdAttr()), nil + } + + numeratorLogsFilter, diags := flattenAlertsLogsFilter(ctx, ratioThreshold.GetNumerator()) + if diags.HasError() { + return types.ObjectNull(logsRatioThresholdAttr()), diags + } + + denominatorLogsFilter, diags := flattenAlertsLogsFilter(ctx, ratioThreshold.GetDenominator()) + if diags.HasError() { + return types.ObjectNull(logsRatioThresholdAttr()), diags + } + + rules, diags := flattenRatioThresholdRules(ctx, ratioThreshold) + if diags.HasError() { + return types.ObjectNull(logsRatioThresholdAttr()), diags + } + + logsRatioMoreThanModel := LogsRatioThresholdModel{ + Numerator: numeratorLogsFilter, + NumeratorAlias: wrapperspbStringToTypeString(ratioThreshold.GetNumeratorAlias()), + Denominator: denominatorLogsFilter, + DenominatorAlias: wrapperspbStringToTypeString(ratioThreshold.GetDenominatorAlias()), + Rules: rules, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(ratioThreshold.GetNotificationPayloadFilter()), + GroupByFor: types.StringValue(logsRatioGroupByForProtoToSchemaMap[ratioThreshold.GetGroupByFor()]), + } + return types.ObjectValueFrom(ctx, logsRatioThresholdAttr(), logsRatioMoreThanModel) +} + +func flattenRatioThresholdRules(ctx context.Context, ratioThreshold *cxsdk.LogsRatioThresholdType) (types.List, diag.Diagnostics) { + var diags diag.Diagnostics + rulesRaw := make([]LogsRatioThresholdRuleModel, len(ratioThreshold.Rules)) + for i, rule := range ratioThreshold.Rules { + condition, dgs := flattenLogsRatioThresholdRuleCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue } - } else if data.GetShouldTriggerDeadman().GetValue() { - return []map[string]interface{}{ - { - "enable_triggering_on_undetected_values": true, - "auto_retire_ratio": flattenDeadmanRatio(data.GetCleanupDeadmanDuration()), - }, + + override, dgs := flattenAlertOverride(ctx, rule.Override) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + + rulesRaw[i] = LogsRatioThresholdRuleModel{ + Condition: condition, + Override: override, } } - return []map[string]interface{}{ - { - "enable_triggering_on_undetected_values": false, - }, + if diags.HasError() { + return types.ListNull(types.ObjectType{AttrTypes: logsRatioThresholdRulesAttr()}), diags } -} -func flattenDeadmanRatio(cleanupDeadmanDuration alerts.CleanupDeadmanDuration) string { - deadmanRatioStr := alerts.CleanupDeadmanDuration_name[int32(cleanupDeadmanDuration)] - deadmanRatio := alertProtoDeadmanRatiosToSchemaDeadmanRatios[deadmanRatioStr] - return deadmanRatio + return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: logsRatioThresholdRulesAttr()}, rulesRaw) } -func flattenRatioAlert(filters *alerts.AlertFilters, condition interface{}) interface{} { - query1Map := flattenCommonAlert(filters) - query1Map["alias"] = filters.GetAlias().GetValue() - query2 := filters.GetRatioAlerts()[0] - query2Map := flattenQuery2ParamsMap(query2) - conditionMap := flattenRatioCondition(condition, query2) +func flattenLogsRatioThresholdRuleCondition(ctx context.Context, condition *cxsdk.LogsRatioCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(logsRatioThresholdRuleConditionAttr()), nil + } - return []interface{}{ - map[string]interface{}{ - "query_1": []interface{}{query1Map}, - "query_2": []interface{}{query2Map}, - "condition": []interface{}{conditionMap}, - }, + timeWindow, diags := flattenLogsRatioTimeWindow(ctx, condition.TimeWindow) + if diags.HasError() { + return types.ObjectNull(logsRatioThresholdRuleConditionAttr()), diags } -} -func flattenRatioCondition(condition interface{}, query2 *alerts.AlertFilters_RatioAlert) interface{} { - var conditionParams *alerts.ConditionParameters - ratioParamsMap := make(map[string]interface{}) + return types.ObjectValueFrom(ctx, logsRatioThresholdRuleConditionAttr(), LogsRatioConditionModel{ + Threshold: wrapperspbDoubleToTypeFloat64(condition.GetThreshold()), + TimeWindow: timeWindow, + ConditionType: types.StringValue(logsRatioConditionMap[condition.GetConditionType()]), + }, + ) +} - lessThan := false - switch condition := condition.(type) { - case *alerts.AlertCondition_LessThan: - conditionParams = condition.LessThan.GetParameters() - ratioParamsMap["less_than"] = true - lessThan = true - case *alerts.AlertCondition_MoreThan: - conditionParams = condition.MoreThan.GetParameters() - ratioParamsMap["more_than"] = true - default: - return nil +func flattenAlertOverride(ctx context.Context, override *cxsdk.AlertDefPriorityOverride) (types.Object, diag.Diagnostics) { + if override == nil { + return types.ObjectNull(alertOverrideAttr()), nil } - ratioParamsMap["ratio_threshold"] = conditionParams.GetThreshold().GetValue() - ratioParamsMap["time_window"] = alertProtoTimeFrameToSchemaTimeFrame[conditionParams.GetTimeframe().String()] - ratioParamsMap["ignore_infinity"] = conditionParams.GetIgnoreInfinity().GetValue() + return types.ObjectValueFrom(ctx, alertOverrideAttr(), AlertOverrideModel{ + Priority: types.StringValue(alertPriorityProtoToSchemaMap[override.GetPriority()]), + }) +} - groupByQ1 := conditionParams.GetGroupBy() - groupByQ2 := query2.GetGroupBy() - var groupBy []string - if len(groupByQ1) > 0 { - groupBy = wrappedStringSliceToStringSlice(groupByQ1) - if len(groupByQ2) > 0 { - ratioParamsMap["group_by_both"] = true - } else { - ratioParamsMap["group_by_q1"] = true - } - } else if len(groupByQ2) > 0 { - groupBy = wrappedStringSliceToStringSlice(groupByQ2) - ratioParamsMap["group_by_q1"] = true +func flattenLogsUniqueCount(ctx context.Context, uniqueCount *cxsdk.LogsUniqueCountType) (types.Object, diag.Diagnostics) { + if uniqueCount == nil { + return types.ObjectNull(logsUniqueCountAttr()), nil } - ratioParamsMap["group_by"] = groupBy - if len(groupBy) > 0 && lessThan { - ratioParamsMap["manage_undetected_values"] = flattenManageUndetectedValues(conditionParams.GetRelatedExtendedData()) + logsFilter, diags := flattenAlertsLogsFilter(ctx, uniqueCount.GetLogsFilter()) + if diags.HasError() { + return types.ObjectNull(logsUniqueCountAttr()), diags } - return ratioParamsMap -} + rules, diags := flattenLogsUniqueCountRules(ctx, uniqueCount) + if diags.HasError() { + return types.ObjectNull(logsUniqueCountAttr()), diags + } -func flattenQuery2ParamsMap(query2 *alerts.AlertFilters_RatioAlert) interface{} { - return map[string]interface{}{ - "alias": query2.GetAlias().GetValue(), - "search_query": query2.GetText().GetValue(), - "severities": extractSeverities(query2.GetSeverities()), - "applications": wrappedStringSliceToStringSlice(query2.GetApplications()), - "subsystems": wrappedStringSliceToStringSlice(query2.GetSubsystems()), + logsUniqueCountModel := LogsUniqueCountModel{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(uniqueCount.GetNotificationPayloadFilter()), + MaxUniqueCountPerGroupByKey: wrapperspbInt64ToTypeInt64(uniqueCount.GetMaxUniqueCountPerGroupByKey()), + UniqueCountKeypath: wrapperspbStringToTypeString(uniqueCount.GetUniqueCountKeypath()), } + return types.ObjectValueFrom(ctx, logsUniqueCountAttr(), logsUniqueCountModel) } -func flattenUniqueCountAlert(filters *alerts.AlertFilters, condition interface{}) interface{} { - alertSchema := flattenCommonAlert(filters) - conditionMap := flattenUniqueCountCondition(condition) - alertSchema["condition"] = []interface{}{conditionMap} - return []interface{}{alertSchema} +func flattenLogsUniqueCountRules(ctx context.Context, uniqueCount *cxsdk.LogsUniqueCountType) (types.List, diag.Diagnostics) { + rulesRaw := make([]LogsUniqueCountRuleModel, len(uniqueCount.Rules)) + var diags diag.Diagnostics + for i, rule := range uniqueCount.Rules { + condition, dgs := flattenLogsUniqueCountRuleCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + rulesRaw[i] = LogsUniqueCountRuleModel{ + Condition: condition, + } + } + + return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: logsUniqueCountRulesAttr()}, rulesRaw) } -func flattenUniqueCountCondition(condition interface{}) interface{} { - conditionParams := condition.(*alerts.AlertCondition_UniqueCount).UniqueCount.GetParameters() - conditionMap := map[string]interface{}{ - "unique_count_key": conditionParams.GetCardinalityFields()[0].GetValue(), - "max_unique_values": conditionParams.GetThreshold().GetValue(), - "time_window": alertProtoUniqueCountTimeFrameToSchemaTimeFrame[conditionParams.GetTimeframe().String()], +func flattenLogsUniqueCountRuleCondition(ctx context.Context, condition *cxsdk.LogsUniqueCountCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(logsUniqueCountConditionAttr()), nil } - if groupBy := conditionParams.GetGroupBy(); len(groupBy) > 0 { - conditionMap["group_by_key"] = conditionParams.GetGroupBy()[0].GetValue() - conditionMap["max_unique_values_for_group_by"] = conditionParams.GetMaxUniqueCountValuesForGroupByKey().GetValue() + timeWindow, diags := flattenLogsUniqueTimeWindow(ctx, condition.TimeWindow) + if diags.HasError() { + return types.ObjectNull(logsUniqueCountConditionAttr()), diags } - return conditionMap + return types.ObjectValueFrom(ctx, logsUniqueCountConditionAttr(), LogsUniqueCountConditionModel{ + MaxUniqueCount: wrapperspbInt64ToTypeInt64(condition.GetMaxUniqueCount()), + TimeWindow: timeWindow, + }) } -func flattenTimeRelativeAlert(filters *alerts.AlertFilters, condition interface{}) interface{} { - alertSchema := flattenCommonAlert(filters) - conditionMap := flattenTimeRelativeCondition(condition) - alertSchema["condition"] = []interface{}{conditionMap} - return []interface{}{alertSchema} +func flattenLogsUniqueTimeWindow(ctx context.Context, timeWindow *cxsdk.LogsUniqueValueTimeWindow) (types.Object, diag.Diagnostics) { + if timeWindow == nil { + return types.ObjectNull(logsTimeWindowAttr()), nil + } + return types.ObjectValueFrom(ctx, logsTimeWindowAttr(), LogsTimeWindowModel{ + SpecificValue: types.StringValue(logsUniqueCountTimeWindowValueProtoToSchemaMap[timeWindow.GetLogsUniqueValueTimeWindowSpecificValue()]), + }) } -func flattenTimeRelativeCondition(condition interface{}) interface{} { - var conditionParams *alerts.ConditionParameters - timeRelativeCondition := make(map[string]interface{}) - switch condition := condition.(type) { - case *alerts.AlertCondition_LessThan: - conditionParams = condition.LessThan.GetParameters() - timeRelativeCondition["less_than"] = true - if len(conditionParams.GroupBy) > 0 { - timeRelativeCondition["manage_undetected_values"] = flattenManageUndetectedValues(conditionParams.GetRelatedExtendedData()) - } - case *alerts.AlertCondition_MoreThan: - conditionParams = condition.MoreThan.GetParameters() - timeRelativeCondition["more_than"] = true - default: - return nil +func flattenLogsNewValue(ctx context.Context, newValue *cxsdk.LogsNewValueType) (types.Object, diag.Diagnostics) { + if newValue == nil { + return types.ObjectNull(logsNewValueAttr()), nil } - timeRelativeCondition["ignore_infinity"] = conditionParams.GetIgnoreInfinity().GetValue() - timeRelativeCondition["ratio_threshold"] = conditionParams.GetThreshold().GetValue() - timeRelativeCondition["group_by"] = wrappedStringSliceToStringSlice(conditionParams.GroupBy) - timeFrame := conditionParams.GetTimeframe() - relativeTimeFrame := conditionParams.GetRelativeTimeframe() - timeRelativeCondition["relative_time_window"] = flattenRelativeTimeWindow(timeFrame, relativeTimeFrame) - - return timeRelativeCondition -} - -func flattenRelativeTimeWindow(timeFrame alerts.Timeframe, relativeTimeFrame alerts.RelativeTimeframe) string { - p := protoTimeFrameAndRelativeTimeFrame{timeFrame: timeFrame, relativeTimeFrame: relativeTimeFrame} - return alertProtoTimeFrameAndRelativeTimeFrameToSchemaRelativeTimeFrame[p] -} - -func flattenMetricAlert(filters *alerts.AlertFilters, condition interface{}) interface{} { - var conditionParams *alerts.ConditionParameters - var conditionStr string - switch condition := condition.(type) { - case *alerts.AlertCondition_LessThan: - conditionParams = condition.LessThan.GetParameters() - conditionStr = "less_than" - case *alerts.AlertCondition_MoreThan: - conditionParams = condition.MoreThan.GetParameters() - conditionStr = "more_than" - case *alerts.AlertCondition_MoreThanUsual: - conditionParams = condition.MoreThanUsual.GetParameters() - conditionStr = "more_than_usual" - case *alerts.AlertCondition_LessThanUsual: - conditionParams = condition.LessThanUsual.GetParameters() - conditionStr = "less_than_usual" - case *alerts.AlertCondition_MoreThanOrEqual: - conditionParams = condition.MoreThanOrEqual.GetParameters() - conditionStr = "more_than_or_equal" - case *alerts.AlertCondition_LessThanOrEqual: - conditionParams = condition.LessThanOrEqual.GetParameters() - conditionStr = "less_than_or_equal" - default: - return nil + logsFilter, diags := flattenAlertsLogsFilter(ctx, newValue.GetLogsFilter()) + if diags.HasError() { + return types.ObjectNull(logsNewValueAttr()), diags } - var metricTypeStr string - var searchQuery string - var conditionMap map[string]interface{} - promqlParams := conditionParams.GetMetricAlertPromqlParameters() - if promqlParams != nil { - metricTypeStr = "promql" - searchQuery = promqlParams.GetPromqlText().GetValue() - conditionMap = flattenPromQLCondition(conditionParams) - } else { - metricTypeStr = "lucene" - searchQuery = filters.GetText().GetValue() - conditionMap = flattenLuceneCondition(conditionParams) + rulesRaw := make([]NewValueRuleModel, len(newValue.Rules)) + for i, rule := range newValue.Rules { + condition, dgs := flattenLogsNewValueCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + rulesRaw[i] = NewValueRuleModel{ + Condition: condition, + } } - conditionMap[conditionStr] = true - if conditionStr == "less_than" || conditionStr == "less_than_or_equal" { - conditionMap["manage_undetected_values"] = flattenManageUndetectedValues(conditionParams.GetRelatedExtendedData()) + if diags.HasError() { + return types.ObjectNull(logsNewValueAttr()), diags } - metricMap := map[string]interface{}{ - "search_query": searchQuery, - "condition": []interface{}{conditionMap}, + rules, diags := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: logsNewValueRulesAttr()}, rulesRaw) + if diags.HasError() { + return types.ObjectNull(logsNewValueAttr()), diags } - return []interface{}{ - map[string]interface{}{ - metricTypeStr: []interface{}{metricMap}, - }, + logsNewValueModel := LogsNewValueModel{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(newValue.GetNotificationPayloadFilter()), } + return types.ObjectValueFrom(ctx, logsNewValueAttr(), logsNewValueModel) } -func flattenPromQLCondition(params *alerts.ConditionParameters) (promQLConditionMap map[string]interface{}) { - promqlParams := params.GetMetricAlertPromqlParameters() - promQLConditionMap = - map[string]interface{}{ - "threshold": params.GetThreshold().GetValue(), - "time_window": alertProtoMetricTimeFrameToMetricSchemaTimeFrame[params.GetTimeframe().String()], - "sample_threshold_percentage": promqlParams.GetSampleThresholdPercentage().GetValue(), - "replace_missing_value_with_zero": promqlParams.GetSwapNullValues().GetValue(), - "min_non_null_values_percentage": promqlParams.GetNonNullPercentage().GetValue(), - } - return +func flattenLogsNewValueCondition(ctx context.Context, condition *cxsdk.LogsNewValueCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(logsNewValueConditionAttr()), nil + } + + timeWindow, diags := flattenLogsNewValueTimeWindow(ctx, condition.TimeWindow) + if diags.HasError() { + return types.ObjectNull(logsNewValueConditionAttr()), diags + } + return types.ObjectValueFrom(ctx, logsNewValueConditionAttr(), NewValueConditionModel{ + TimeWindow: timeWindow, + KeypathToTrack: wrapperspbStringToTypeString(condition.GetKeypathToTrack()), + }) } -func flattenLuceneCondition(params *alerts.ConditionParameters) map[string]interface{} { - metricParams := params.GetMetricAlertParameters() - return map[string]interface{}{ - "metric_field": metricParams.GetMetricField().GetValue(), - "arithmetic_operator": alertProtoArithmeticOperatorToSchemaArithmetic[metricParams.GetArithmeticOperator().String()], - "threshold": params.GetThreshold().GetValue(), - "arithmetic_operator_modifier": metricParams.GetArithmeticOperatorModifier().GetValue(), - "sample_threshold_percentage": metricParams.GetSampleThresholdPercentage().GetValue(), - "time_window": alertProtoMetricTimeFrameToMetricSchemaTimeFrame[params.GetTimeframe().String()], - "group_by": wrappedStringSliceToStringSlice(params.GetGroupBy()), - "replace_missing_value_with_zero": metricParams.GetSwapNullValues().GetValue(), - "min_non_null_values_percentage": metricParams.GetNonNullPercentage().GetValue(), +func flattenAlertSchedule(ctx context.Context, alertProperties *cxsdk.AlertDefProperties) (types.Object, diag.Diagnostics) { + if alertProperties.Schedule == nil { + return types.ObjectNull(alertScheduleAttr()), nil + } + + var alertScheduleModel AlertScheduleModel + var diags diag.Diagnostics + switch alertScheduleType := alertProperties.Schedule.(type) { + case *cxsdk.AlertDefPropertiesActiveOn: + alertScheduleModel.ActiveOn, diags = flattenActiveOn(ctx, alertScheduleType.ActiveOn) + default: + return types.ObjectNull(alertScheduleAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Alert Schedule", fmt.Sprintf("Alert Schedule %v is not supported", alertScheduleType))} + } + + if diags.HasError() { + return types.ObjectNull(alertScheduleAttr()), diags } + + return types.ObjectValueFrom(ctx, alertScheduleAttr(), alertScheduleModel) } -func flattenTracingAlert(condition interface{}, tracingAlert *alerts.TracingAlert) interface{} { - latencyThresholdMS := float64(tracingAlert.GetConditionLatency()) / float64(time.Millisecond.Microseconds()) - applications, subsystems, services := flattenTracingFilters(tracingAlert.GetFieldFilters()) - tagFilters := flattenTagFiltersData(tracingAlert.GetTagFilters()) - conditionSchema := flattenTracingCondition(condition) +func flattenActiveOn(ctx context.Context, activeOn *cxsdk.AlertDefActivitySchedule) (types.Object, diag.Diagnostics) { + if activeOn == nil { + return types.ObjectNull(alertScheduleActiveOnAttr()), nil + } - return []interface{}{ - map[string]interface{}{ - "latency_threshold_milliseconds": latencyThresholdMS, - "applications": applications, - "subsystems": subsystems, - "services": services, - "tag_filter": tagFilters, - "condition": conditionSchema, - }, + daysOfWeek, diags := flattenDaysOfWeek(ctx, activeOn.GetDayOfWeek()) + if diags.HasError() { + return types.ObjectNull(alertScheduleActiveOnAttr()), diags + } + + startTime, diags := flattenTimeOfDay(ctx, activeOn.GetStartTime()) + if diags.HasError() { + return types.ObjectNull(alertScheduleActiveOnAttr()), diags + } + + endTime, diags := flattenTimeOfDay(ctx, activeOn.GetEndTime()) + if diags.HasError() { + return types.ObjectNull(alertScheduleActiveOnAttr()), diags } + + activeOnModel := ActiveOnModel{ + DaysOfWeek: daysOfWeek, + StartTime: startTime, + EndTime: endTime, + } + return types.ObjectValueFrom(ctx, alertScheduleActiveOnAttr(), activeOnModel) } -func flattenTracingFilters(tracingFilters []*alerts.FilterData) (applications, subsystems, services interface{}) { - filtersData := flattenFiltersData(tracingFilters) - applications = filtersData["applicationName"] - subsystems = filtersData["subsystemName"] - services = filtersData["serviceName"] - return +func flattenDaysOfWeek(ctx context.Context, daysOfWeek []cxsdk.AlertDayOfWeek) (types.List, diag.Diagnostics) { + var daysOfWeekStrings []types.String + for _, dow := range daysOfWeek { + daysOfWeekStrings = append(daysOfWeekStrings, types.StringValue(daysOfWeekProtoToSchemaMap[dow])) + } + return types.ListValueFrom(ctx, types.StringType, daysOfWeekStrings) } -func flattenFlowAlert(condition interface{}) interface{} { - return []interface{}{flattenFlowAlertsCondition(condition.(*alerts.AlertCondition_Flow))} +func flattenTimeOfDay(ctx context.Context, time *cxsdk.AlertTimeOfDay) (types.Object, diag.Diagnostics) { + if time == nil { + return types.ObjectNull(timeOfDayAttr()), nil + } + return types.ObjectValueFrom(ctx, timeOfDayAttr(), TimeOfDayModel{ + Hours: types.Int64Value(int64(time.GetHours())), + Minutes: types.Int64Value(int64(time.GetMinutes())), + }) } -func flattenFlowAlertsCondition(condition *alerts.AlertCondition_Flow) interface{} { - stages := flattenStages(condition.Flow.GetStages()) +func flattenLogsTimeRelativeThreshold(ctx context.Context, logsTimeRelativeThreshold *cxsdk.LogsTimeRelativeThresholdType) (types.Object, diag.Diagnostics) { + if logsTimeRelativeThreshold == nil { + return types.ObjectNull(logsTimeRelativeAttr()), nil + } - m := map[string]interface{}{ - "stage": stages, + logsFilter, diags := flattenAlertsLogsFilter(ctx, logsTimeRelativeThreshold.GetLogsFilter()) + if diags.HasError() { + return types.ObjectNull(logsTimeRelativeAttr()), diags } - if flowParams := condition.Flow.GetParameters(); flowParams != nil { - groupBy := wrappedStringSliceToStringSlice(flowParams.GetGroupBy()) - if len(groupBy) != 0 { - m["group_by"] = groupBy + rulesRaw := make([]LogsTimeRelativeRuleModel, len(logsTimeRelativeThreshold.Rules)) + for i, rule := range logsTimeRelativeThreshold.Rules { + condition, dgs := flattenLogsTimeRelativeRuleCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + + override, dgs := flattenAlertOverride(ctx, rule.Override) + if dgs.HasError() { + diags.Append(dgs...) + continue } + + rulesRaw[i] = LogsTimeRelativeRuleModel{ + Condition: condition, + Override: override, + } + } + + if diags.HasError() { + return types.ObjectNull(logsTimeRelativeAttr()), diags + } + + rules, diags := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: logsTimeRelativeRulesAttr()}, rulesRaw) + if diags.HasError() { + return types.ObjectNull(logsTimeRelativeAttr()), diags + } + + undetected, diags := flattenUndetectedValuesManagement(ctx, logsTimeRelativeThreshold.UndetectedValuesManagement) + if diags.HasError() { + return types.ObjectNull(logsTimeRelativeAttr()), diags } - return m + logsTimeRelativeThresholdModel := LogsTimeRelativeThresholdModel{ + LogsFilter: logsFilter, + Rules: rules, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(logsTimeRelativeThreshold.GetNotificationPayloadFilter()), + UndetectedValuesManagement: undetected, + } + + return types.ObjectValueFrom(ctx, logsTimeRelativeAttr(), logsTimeRelativeThresholdModel) } -func flattenStages(stages []*alerts.FlowStage) []interface{} { - result := make([]interface{}, 0, len(stages)) - for _, stage := range stages { - result = append(result, flattenStage(stage)) +func flattenLogsTimeRelativeRuleCondition(ctx context.Context, condition *cxsdk.LogsTimeRelativeCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(logsTimeRelativeConditionAttr()), nil } - return result + + return types.ObjectValueFrom(ctx, logsTimeRelativeConditionAttr(), LogsTimeRelativeConditionModel{ + Threshold: wrapperspbDoubleToTypeFloat64(condition.GetThreshold()), + ComparedTo: types.StringValue(logsTimeRelativeComparedToProtoToSchemaMap[condition.GetComparedTo()]), + ConditionType: types.StringValue(logsTimeRelativeConditionMap[condition.GetConditionType()]), + }) } -func flattenStage(stage *alerts.FlowStage) interface{} { - timeMS := int(stage.GetTimeframe().GetMs().GetValue()) - return map[string]interface{}{ - "group": flattenGroups(stage.GetGroups()), - "time_window": flattenTimeframe(timeMS), +func flattenMetricThreshold(ctx context.Context, metricThreshold *cxsdk.MetricThresholdType) (types.Object, diag.Diagnostics) { + if metricThreshold == nil { + return types.ObjectNull(metricThresholdAttr()), nil + } + + metricFilter, diags := flattenMetricFilter(ctx, metricThreshold.GetMetricFilter()) + if diags.HasError() { + return types.ObjectNull(metricThresholdAttr()), diags + } + + undetectedValuesManagement, diags := flattenUndetectedValuesManagement(ctx, metricThreshold.GetUndetectedValuesManagement()) + if diags.HasError() { + return types.ObjectNull(metricThresholdAttr()), diags + } + + rulesRaw := make([]MetricThresholdRuleModel, len(metricThreshold.Rules)) + for i, rule := range metricThreshold.Rules { + condition, dgs := flattenMetricThresholdRuleCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + + override, dgs := flattenAlertOverride(ctx, rule.Override) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + + rulesRaw[i] = MetricThresholdRuleModel{ + Condition: condition, + Override: override, + } + } + rules, diags := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: metricThresholdRulesAttr()}, rulesRaw) + if diags.HasError() { + return types.ObjectNull(metricThresholdAttr()), diags + } + + missingValues, diags := flattenMissingValuesManagement(ctx, metricThreshold.GetMissingValues()) + if diags.HasError() { + return types.ObjectNull(metricThresholdAttr()), diags + } + + metricThresholdModel := MetricThresholdModel{ + MetricFilter: metricFilter, + Rules: rules, + MissingValues: missingValues, + UndetectedValuesManagement: undetectedValuesManagement, } + return types.ObjectValueFrom(ctx, metricThresholdAttr(), metricThresholdModel) } -func flattenGroups(groups []*alerts.FlowGroup) []interface{} { - result := make([]interface{}, 0, len(groups)) - for _, g := range groups { - result = append(result, flattenGroup(g)) +func flattenMissingValuesManagement(ctx context.Context, missingValues *cxsdk.MetricMissingValues) (types.Object, diag.Diagnostics) { + if missingValues == nil { + return types.ObjectNull(missingValuesAttr()), nil + } + + switch missingValuesType := missingValues.MissingValues.(type) { + case *cxsdk.MetricMissingValuesReplaceWithZero: + return types.ObjectValueFrom(ctx, missingValuesAttr(), MissingValuesModel{ + ReplaceWithZero: wrapperspbBoolToTypeBool(missingValuesType.ReplaceWithZero), + }) + case *cxsdk.MetricMissingValuesMinNonNullValuesPct: + return types.ObjectValueFrom(ctx, missingValuesAttr(), MissingValuesModel{ + MinNonNullValuesPct: wrapperspbUint32ToTypeInt64(missingValuesType.MinNonNullValuesPct), + }) + default: + return types.ObjectNull(missingValuesAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Missing Values Management", fmt.Sprintf("Missing Values Management %v is not supported", missingValuesType))} } - return result } -func flattenGroup(fg *alerts.FlowGroup) interface{} { - subAlerts := flattenSubAlerts(fg.GetAlerts()) - operator := fg.GetNextOp().String() - return map[string]interface{}{ - "sub_alerts": subAlerts, - "next_operator": operator, +func flattenMetricThresholdRuleCondition(ctx context.Context, condition *cxsdk.MetricThresholdCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(metricThresholdConditionAttr()), nil + } + + ofTheLast, diags := flattenMetricTimeWindow(ctx, condition.GetOfTheLast()) + if diags.HasError() { + return types.ObjectNull(metricThresholdConditionAttr()), diags } + + return types.ObjectValueFrom(ctx, metricThresholdConditionAttr(), MetricThresholdConditionModel{ + Threshold: wrapperspbDoubleToTypeFloat64(condition.GetThreshold()), + ForOverPct: wrapperspbUint32ToTypeInt64(condition.GetForOverPct()), + OfTheLast: ofTheLast, + ConditionType: types.StringValue(metricsThresholdConditionMap[condition.GetConditionType()]), + }) } -func flattenSubAlerts(subAlerts *alerts.FlowAlerts) interface{} { - operator := subAlerts.GetOp().String() - flowAlerts := make([]interface{}, 0, len(subAlerts.GetValues())) - for _, sa := range subAlerts.GetValues() { - flowAlerts = append(flowAlerts, flattenInnerFlowAlert(sa)) +func flattenMetricTimeWindow(ctx context.Context, timeWindow *cxsdk.MetricTimeWindow) (types.Object, diag.Diagnostics) { + if timeWindow == nil { + return types.ObjectNull(metricTimeWindowAttr()), nil } - return []interface{}{ - map[string]interface{}{ - "operator": operator, - "flow_alert": flowAlerts, - }, + metricTimeWindow := MetricTimeWindowModel{} + switch timeWindowType := timeWindow.Type.(type) { + case *cxsdk.MetricTimeWindowSpecificValue: + metricTimeWindow.SpecificValue = types.StringValue(metricFilterOperationTypeProtoToSchemaMap[timeWindowType.MetricTimeWindowSpecificValue]) + default: + return types.ObjectNull(metricTimeWindowAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Metric Time Window", fmt.Sprintf("Metric Time Window %v is not supported", timeWindowType))} + } + + return types.ObjectValueFrom(ctx, metricTimeWindowAttr(), metricTimeWindow) +} + +func flattenMetricFilter(ctx context.Context, filter *cxsdk.MetricFilter) (types.Object, diag.Diagnostics) { + if filter == nil { + return types.ObjectNull(metricFilterAttr()), nil } -} -func flattenInnerFlowAlert(subAlert *alerts.FlowAlert) interface{} { - return map[string]interface{}{ - "not": subAlert.GetNot().GetValue(), - "user_alert_id": subAlert.GetId().GetValue(), + switch filterType := filter.Type.(type) { + case *cxsdk.MetricFilterPromql: + return types.ObjectValueFrom(ctx, metricFilterAttr(), MetricFilterModel{ + Promql: wrapperspbStringToTypeString(filterType.Promql), + }) + default: + return types.ObjectNull(metricFilterAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Metric Filter", fmt.Sprintf("Metric Filter %v is not supported", filterType))} } } -func flattenFiltersData(filtersData []*alerts.FilterData) map[string]interface{} { - result := make(map[string]interface{}, len(filtersData)) - for _, filter := range filtersData { - field := filter.GetField() - result[field] = flattenFilters(filter.GetFilters()) +func flattenTracingImmediate(ctx context.Context, tracingImmediate *cxsdk.TracingImmediateType) (types.Object, diag.Diagnostics) { + if tracingImmediate == nil { + return types.ObjectNull(tracingImmediateAttr()), nil } - return result -} -func flattenTagFiltersData(filtersData []*alerts.FilterData) interface{} { - fieldToFilters := flattenFiltersData(filtersData) - result := make([]interface{}, 0, len(fieldToFilters)) - for field, filters := range fieldToFilters { - filterSchema := map[string]interface{}{ - "field": field, - "values": filters, + var tracingQuery types.Object + + switch filtersType := tracingImmediate.TracingFilter.FilterType.(type) { + case *cxsdk.TracingFilterSimpleFilter: + filter, diag := flattenTracingSimpleFilter(ctx, filtersType.SimpleFilter) + if diag.HasError() { + return types.ObjectNull(tracingImmediateAttr()), diag } - result = append(result, filterSchema) + tracingQuery, diag = types.ObjectValueFrom(ctx, tracingQueryAttr(), filter) + if diag.HasError() { + return types.ObjectNull(tracingImmediateAttr()), diag + } + default: + return types.ObjectNull(tracingImmediateAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Tracing Query Filters", fmt.Sprintf("Tracing Query Filters %v is not supported", filtersType))} } - return result -} -func flattenFilters(filters []*alerts.Filters) []string { - result := make([]string, 0) - for _, f := range filters { - values := f.GetValues() - switch operator := f.GetOperator(); operator { - case "notEquals", "contains", "startsWith", "endsWith": - for i, val := range values { - values[i] = fmt.Sprintf("filter:%s:%s", operator, val) - } - } - result = append(result, values...) + tracingImmediateModel := TracingImmediateModel{ + TracingFilter: tracingQuery, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(tracingImmediate.GetNotificationPayloadFilter()), } - return result + + return types.ObjectValueFrom(ctx, tracingImmediateAttr(), tracingImmediateModel) } -func flattenTracingCondition(condition interface{}) interface{} { - switch condition := condition.(type) { - case *alerts.AlertCondition_Immediate: - return []interface{}{ - map[string]interface{}{ - "immediately": true, - }, +// Also called query filters +func flattenTracingFilter(ctx context.Context, tracingFilter *cxsdk.TracingFilter) (types.Object, diag.Diagnostics) { + switch filtersType := tracingFilter.FilterType.(type) { + case *cxsdk.TracingFilterSimpleFilter: + filter, diag := flattenTracingSimpleFilter(ctx, filtersType.SimpleFilter) + if diag.HasError() { + return types.ObjectNull(tracingQueryAttr()), diag } - case *alerts.AlertCondition_MoreThan: - conditionParams := condition.MoreThan.GetParameters() - return []interface{}{ - map[string]interface{}{ - "more_than": true, - "threshold": conditionParams.GetThreshold().GetValue(), - "time_window": alertProtoTimeFrameToSchemaTimeFrame[conditionParams.GetTimeframe().String()], - "group_by": wrappedStringSliceToStringSlice(conditionParams.GetGroupBy()), - }, + tracingQuery, diag := types.ObjectValueFrom(ctx, tracingQueryAttr(), filter) + if diag.HasError() { + return types.ObjectNull(tracingQueryAttr()), diag } + return tracingQuery, nil default: - return nil + return types.ObjectNull(tracingQueryAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Tracing Query Filters", fmt.Sprintf("Tracing Query Filters %v is not supported", filtersType))} } -} -func flattenCommonAlert(filters *alerts.AlertFilters) map[string]interface{} { - metadata := filters.GetMetadata() - return map[string]interface{}{ - "search_query": filters.GetText().GetValue(), - "severities": extractSeverities(filters.GetSeverities()), - "applications": wrappedStringSliceToStringSlice(metadata.GetApplications()), - "subsystems": wrappedStringSliceToStringSlice(metadata.GetSubsystems()), - "categories": wrappedStringSliceToStringSlice(metadata.GetCategories()), - "computers": wrappedStringSliceToStringSlice(metadata.GetComputers()), - "classes": wrappedStringSliceToStringSlice(metadata.GetClasses()), - "methods": wrappedStringSliceToStringSlice(metadata.GetMethods()), - "ip_addresses": wrappedStringSliceToStringSlice(metadata.GetIpAddresses()), - } } -func extractSeverities(severities []alerts.AlertFilters_LogSeverity) []string { - result := make([]string, 0, len(severities)) - for _, s := range severities { - result = append(result, alertProtoLogSeverityToSchemaLogSeverity[s.String()]) +func flattenTracingSimpleFilter(ctx context.Context, tracingQuery *cxsdk.TracingSimpleFilter) (types.Object, diag.Diagnostics) { + if tracingQuery == nil { + return types.ObjectNull(tracingQueryAttr()), nil } - return result -} -func flattenExpirationDate(expiration *alerts.Date) []map[string]int { - if expiration == nil { - return nil + labelFilters, diags := flattenTracingLabelFilters(ctx, tracingQuery.TracingLabelFilters) + if diags.HasError() { + return types.ObjectNull(tracingQueryAttr()), diags + } + tracingQueryModel := &TracingFilterModel{ + LatencyThresholdMs: wrapperspbUint32ToTypeInt64(tracingQuery.LatencyThresholdMs), + TracingLabelFilters: labelFilters, } - m := map[string]int{ - "year": int(expiration.GetYear()), - "month": int(expiration.GetMonth()), - "day": int(expiration.GetDay()), + if diags.HasError() { + return types.ObjectNull(tracingQueryAttr()), diags } - return []map[string]int{m} + return types.ObjectValueFrom(ctx, tracingQueryAttr(), tracingQueryModel) } -func expandAlertSeverity(severity string) alerts.AlertSeverity { - severityStr := alertSchemaSeverityToProtoSeverity[severity] - formatStandardVal := alerts.AlertSeverity_value[severityStr] - return alerts.AlertSeverity(formatStandardVal) -} +func flattenTracingLabelFilters(ctx context.Context, filters *cxsdk.TracingLabelFilters) (types.Object, diag.Diagnostics) { + if filters == nil { + return types.ObjectNull(tracingLabelFiltersAttr()), nil + } -func expandExpirationDate(v interface{}) *alerts.Date { - l := v.([]interface{}) - if len(l) == 0 || l[0] == nil { - return nil + applicationName, diags := flattenTracingFilterTypes(ctx, filters.GetApplicationName()) + if diags.HasError() { + return types.ObjectNull(tracingLabelFiltersAttr()), diags } - raw := l[0] - m := raw.(map[string]interface{}) - return &alerts.Date{ - Year: int32(m["year"].(int)), - Month: int32(m["month"].(int)), - Day: int32(m["day"].(int)), + + subsystemName, diags := flattenTracingFilterTypes(ctx, filters.GetSubsystemName()) + if diags.HasError() { + return types.ObjectNull(tracingLabelFiltersAttr()), diags + } -} -func expandIncidentSettings(v interface{}) *alerts.AlertIncidentSettings { - l, ok := v.([]interface{}) - if !ok || len(l) == 0 || l[0] == nil { - return nil + serviceName, diags := flattenTracingFilterTypes(ctx, filters.GetServiceName()) + if diags.HasError() { + return types.ObjectNull(tracingLabelFiltersAttr()), diags } - raw := l[0] - m := raw.(map[string]interface{}) - retriggeringPeriodSeconds := wrapperspb.UInt32(uint32(m["retriggering_period_minutes"].(int)) * 60) - notifyOn := alertSchemaNotifyOnToProtoNotifyOn[m["notify_on"].(string)] + operationName, diags := flattenTracingFilterTypes(ctx, filters.GetOperationName()) + if diags.HasError() { + return types.ObjectNull(tracingLabelFiltersAttr()), diags + } - return &alerts.AlertIncidentSettings{ - RetriggeringPeriodSeconds: retriggeringPeriodSeconds, - NotifyOn: notifyOn, - UseAsNotificationSettings: wrapperspb.Bool(true), + spanFields, diags := flattenTracingSpansFields(ctx, filters.GetSpanFields()) + if diags.HasError() { + return types.ObjectNull(tracingLabelFiltersAttr()), diags } + return types.ObjectValueFrom(ctx, tracingLabelFiltersAttr(), TracingLabelFiltersModel{ + ApplicationName: applicationName, + SubsystemName: subsystemName, + ServiceName: serviceName, + OperationName: operationName, + SpanFields: spanFields, + }) + } -func expandNotificationGroups(v interface{}) ([]*alerts.AlertNotificationGroups, diag.Diagnostics) { - v = v.(*schema.Set).List() - l := v.([]interface{}) - result := make([]*alerts.AlertNotificationGroups, 0, len(l)) - var diags diag.Diagnostics - for _, s := range l { - ml, dgs := expandNotificationGroup(s) - diags = append(diags, dgs...) - result = append(result, ml) +func flattenTracingFilterTypes(ctx context.Context, TracingFilterType []*cxsdk.TracingFilterType) (types.Set, diag.Diagnostics) { + var tracingFilterTypes []*TracingFilterTypeModel + for _, tft := range TracingFilterType { + tracingFilterTypes = append(tracingFilterTypes, flattenTracingFilterType(tft)) } - return result, diags + return types.SetValueFrom(ctx, types.ObjectType{AttrTypes: tracingFiltersTypeAttr()}, tracingFilterTypes) } -func expandNotificationGroup(v interface{}) (*alerts.AlertNotificationGroups, diag.Diagnostics) { - if v == nil { - return nil, nil +func flattenTracingFilterType(tracingFilterType *cxsdk.TracingFilterType) *TracingFilterTypeModel { + if tracingFilterType == nil { + return nil } - m := v.(map[string]interface{}) - groupByFields := interfaceSliceToWrappedStringSlice(m["group_by_fields"].([]interface{})) - notifications, diags := expandNotificationSubgroups(m["notification"]) - if len(diags) != 0 { - return nil, diags + return &TracingFilterTypeModel{ + Values: wrappedStringSliceToTypeStringSet(tracingFilterType.GetValues()), + Operation: types.StringValue(tracingFilterOperationProtoToSchemaMap[tracingFilterType.GetOperation()]), } - - return &alerts.AlertNotificationGroups{ - GroupByFields: groupByFields, - Notifications: notifications, - }, nil } -func expandNotificationSubgroups(v interface{}) ([]*alerts.AlertNotification, diag.Diagnostics) { - v = v.(*schema.Set).List() - notifications := v.([]interface{}) - result := make([]*alerts.AlertNotification, 0, len(notifications)) - var diags diag.Diagnostics - for _, n := range notifications { - notification, err := expandNotificationSubgroup(n) - if err != nil { - diags = append(diags, diag.FromErr(err)...) +func flattenTracingSpansFields(ctx context.Context, spanFields []*cxsdk.TracingSpanFieldsFilterType) (types.Set, diag.Diagnostics) { + var tracingSpanFields []*TracingSpanFieldsFilterModel + for _, field := range spanFields { + tracingSpanField, diags := flattenTracingSpanField(ctx, field) + if diags.HasError() { + return types.SetNull(types.ObjectType{AttrTypes: tracingSpanFieldsFilterAttr()}), diags } - result = append(result, notification) + tracingSpanFields = append(tracingSpanFields, tracingSpanField) } - return result, diags + return types.SetValueFrom(ctx, types.ObjectType{AttrTypes: tracingSpanFieldsFilterAttr()}, tracingSpanFields) } -func expandNotificationSubgroup(v interface{}) (*alerts.AlertNotification, error) { - if v == nil { +func flattenTracingSpanField(ctx context.Context, spanField *cxsdk.TracingSpanFieldsFilterType) (*TracingSpanFieldsFilterModel, diag.Diagnostics) { + if spanField == nil { return nil, nil } - m := v.(map[string]interface{}) - var notifyEverySec *wrapperspb.UInt32Value - if minutes, ok := m["retriggering_period_minutes"].(int); ok && minutes != 0 { - notifyEverySec = wrapperspb.UInt32(uint32(minutes) * 60) + filterType, diags := types.ObjectValueFrom(ctx, tracingFiltersTypeAttr(), flattenTracingFilterType(spanField.GetFilterType())) + if diags.HasError() { + return nil, diags } - var notifyOn *alerts.NotifyOn - if notifyOnStr, ok := m["notify_on"].(string); ok { - notifyOn = new(alerts.NotifyOn) - *notifyOn = alertSchemaNotifyOnToProtoNotifyOn[notifyOnStr] - } + return &TracingSpanFieldsFilterModel{ + Key: wrapperspbStringToTypeString(spanField.GetKey()), + FilterType: filterType, + }, nil +} - notification := &alerts.AlertNotification{ - RetriggeringPeriodSeconds: notifyEverySec, - NotifyOn: notifyOn, +func flattenTracingThreshold(ctx context.Context, tracingThreshold *cxsdk.TracingThresholdType) (types.Object, diag.Diagnostics) { + if tracingThreshold == nil { + return types.ObjectNull(tracingThresholdAttr()), nil } - var isWebhookIdDefined bool - if webhookID, ok := m["integration_id"].(string); ok && webhookID != "" { - isWebhookIdDefined = true - id := parseNumUint32(webhookID) - notification.IntegrationType = &alerts.AlertNotification_IntegrationId{ - IntegrationId: wrapperspb.UInt32(id), - } + tracingQuery, diags := flattenTracingFilter(ctx, tracingThreshold.GetTracingFilter()) + if diags.HasError() { + return types.ObjectNull(tracingThresholdAttr()), diags } - if emails := m["email_recipients"].(*schema.Set).List(); len(emails) != 0 { - if isWebhookIdDefined { - return nil, fmt.Errorf("required exactly on of 'integration_id' or 'email_recipients'") - } - - notification.IntegrationType = &alerts.AlertNotification_Recipients{ - Recipients: &alerts.Recipients{ - Emails: interfaceSliceToWrappedStringSlice(emails), - }, - } + rules, diags := flattenTracingThresholdRules(ctx, tracingThreshold, diags) + if diags.HasError() { + return types.ObjectNull(tracingThresholdAttr()), diags } - return notification, nil + tracingThresholdModel := TracingThresholdModel{ + TracingFilter: tracingQuery, + Rules: rules, + NotificationPayloadFilter: wrappedStringSliceToTypeStringSet(tracingThreshold.GetNotificationPayloadFilter()), + } + return types.ObjectValueFrom(ctx, tracingThresholdAttr(), tracingThresholdModel) } -func extractMetaLabels(v interface{}) []*alerts.MetaLabel { - m := v.(map[string]interface{}) - result := make([]*alerts.MetaLabel, 0, len(m)) - for key, val := range m { - ml := &alerts.MetaLabel{ - Key: wrapperspb.String(key), - Value: wrapperspb.String(val.(string)), +func flattenTracingThresholdRules(ctx context.Context, tracingThreshold *cxsdk.TracingThresholdType, diags diag.Diagnostics) (basetypes.ListValue, diag.Diagnostics) { + rulesRaw := make([]TracingThresholdRuleModel, len(tracingThreshold.Rules)) + for i, rule := range tracingThreshold.Rules { + condition, dgs := flattenTracingThresholdRuleCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + rulesRaw[i] = TracingThresholdRuleModel{ + Condition: condition, } - result = append(result, ml) } - return result + return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: tracingThresholdRulesAttr()}, rulesRaw) } -func expandActiveWhen(v interface{}) *alerts.AlertActiveWhen { - l := v.([]interface{}) - if len(l) == 0 { - return nil +func flattenTracingThresholdRuleCondition(ctx context.Context, condition *cxsdk.TracingThresholdCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(tracingThresholdConditionAttr()), nil } - schedulingMap := l[0].(map[string]interface{}) - utc := flattenUtc(schedulingMap["time_zone"].(string)) - timeFrames := schedulingMap["time_frame"].(*schema.Set).List() + timeWindow, diags := flattenTracingTimeWindow(ctx, condition.GetTimeWindow()) + if diags.HasError() { + return types.ObjectNull(tracingThresholdConditionAttr()), diags + } - expandedTimeframes := expandActiveTimeframes(timeFrames, utc) + return types.ObjectValueFrom(ctx, tracingThresholdConditionAttr(), TracingThresholdConditionModel{ + TimeWindow: timeWindow, + SpanAmount: wrapperspbDoubleToTypeFloat64(condition.GetSpanAmount()), + ConditionType: types.StringValue("MORE_THAN"), + }) +} - return &alerts.AlertActiveWhen{ - Timeframes: expandedTimeframes, +func flattenTracingTimeWindow(ctx context.Context, timeWindow *cxsdk.TracingTimeWindow) (types.Object, diag.Diagnostics) { + if timeWindow == nil { + return types.ObjectNull(tracingTimeWindowAttr()), nil } -} -func expandActiveTimeframes(timeFrames []interface{}, utc int32) []*alerts.AlertActiveTimeframe { - result := make([]*alerts.AlertActiveTimeframe, 0, len(timeFrames)) - for _, tf := range timeFrames { - alertActiveTimeframe := expandActiveTimeFrame(tf, utc) - result = append(result, alertActiveTimeframe) + switch timeWindowType := timeWindow.Type.(type) { + case *cxsdk.TracingTimeWindowSpecificValue: + return types.ObjectValueFrom(ctx, tracingTimeWindowAttr(), TracingTimeWindowModel{ + SpecificValue: types.StringValue(tracingTimeWindowProtoToSchemaMap[timeWindowType.TracingTimeWindowValue]), + }) + default: + return types.ObjectNull(tracingTimeWindowAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Invalid Tracing Time Window", fmt.Sprintf("Tracing Time Window %v is not supported", timeWindowType))} } - return result } -func expandActiveTimeFrame(timeFrame interface{}, utc int32) *alerts.AlertActiveTimeframe { - m := timeFrame.(map[string]interface{}) - daysOfWeek := expandDaysOfWeek(m["days_enabled"]) - frameRange := expandRange(m["start_time"], m["end_time"]) - frameRange, daysOfWeek = convertTimeFramesToGMT(frameRange, daysOfWeek, utc) +func flattenMetricAnomaly(ctx context.Context, metricMoreThanUsual *cxsdk.MetricAnomalyType) (types.Object, diag.Diagnostics) { + if metricMoreThanUsual == nil { + return types.ObjectNull(metricAnomalyAttr()), nil + } - alertActiveTimeframe := &alerts.AlertActiveTimeframe{ - DaysOfWeek: daysOfWeek, - Range: frameRange, + metricFilter, diags := flattenMetricFilter(ctx, metricMoreThanUsual.GetMetricFilter()) + if diags.HasError() { + return types.ObjectNull(metricAnomalyAttr()), diags } - return alertActiveTimeframe -} -func convertTimeFramesToGMT(frameRange *alerts.TimeRange, daysOfWeek []alerts.DayOfWeek, utc int32) (*alerts.TimeRange, []alerts.DayOfWeek) { - daysOfWeekOffset := daysOfWeekOffsetToGMT(frameRange, utc) - frameRange.Start.Hours = convertUtcToGmt(frameRange.GetStart().GetHours(), utc) - frameRange.End.Hours = convertUtcToGmt(frameRange.GetEnd().GetHours(), utc) - if daysOfWeekOffset != 0 { - for i, d := range daysOfWeek { - daysOfWeek[i] = alerts.DayOfWeek((int32(d) + daysOfWeekOffset) % 7) + rulesRaw := make([]MetricAnomalyRuleModel, len(metricMoreThanUsual.Rules)) + for i, rule := range metricMoreThanUsual.Rules { + condition, dgs := flattenMetricAnomalyCondition(ctx, rule.Condition) + if dgs.HasError() { + diags.Append(dgs...) + continue + } + rulesRaw[i] = MetricAnomalyRuleModel{ + Condition: condition, } } - - return frameRange, daysOfWeek -} - -func daysOfWeekOffsetToGMT(frameRange *alerts.TimeRange, utc int32) int32 { - daysOfWeekOffset := int32(frameRange.Start.Hours-utc) / 24 - if daysOfWeekOffset < 0 { - daysOfWeekOffset += 7 + if diags.HasError() { + return types.ObjectNull(metricAnomalyAttr()), diags } - return daysOfWeekOffset -} -func convertUtcToGmt(hours, utc int32) int32 { - hours -= utc - if hours < 0 { - hours += 24 - } else if hours >= 24 { - hours -= 24 + rules, diags := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: metricAnomalyRulesAttr()}, rulesRaw) + if diags.HasError() { + return types.ObjectNull(metricAnomalyAttr()), diags } - - return hours -} - -func convertGmtToUtc(hours, utc int32) int32 { - hours += utc - if hours < 0 { - hours += 24 - } else if hours >= 24 { - hours -= 24 + metricMoreThanUsualModel := MetricAnomalyModel{ + MetricFilter: metricFilter, + Rules: rules, } - - return hours + return types.ObjectValueFrom(ctx, metricAnomalyAttr(), metricMoreThanUsualModel) } -func expandDaysOfWeek(v interface{}) []alerts.DayOfWeek { - l := v.(*schema.Set).List() - result := make([]alerts.DayOfWeek, 0, len(l)) - for _, v := range l { - dayOfWeekStr := alertSchemaDayOfWeekToProtoDayOfWeek[v.(string)] - dayOfWeekVal := alerts.DayOfWeek_value[dayOfWeekStr] - result = append(result, alerts.DayOfWeek(dayOfWeekVal)) +func flattenMetricAnomalyCondition(ctx context.Context, condition *cxsdk.MetricAnomalyCondition) (types.Object, diag.Diagnostics) { + if condition == nil { + return types.ObjectNull(metricAnomalyConditionAttr()), nil } - return result -} -func expandRange(activityStarts, activityEnds interface{}) *alerts.TimeRange { - start := expandTimeInDay(activityStarts) - end := expandTimeInDay(activityEnds) - - return &alerts.TimeRange{ - Start: start, - End: end, + ofTheLast, diags := flattenMetricTimeWindow(ctx, condition.GetOfTheLast()) + if diags.HasError() { + return types.ObjectNull(metricAnomalyConditionAttr()), diags } -} -func expandAlertType(d *schema.ResourceData) (alertTypeParams *alertParams, tracingAlert *alerts.TracingAlert, diags diag.Diagnostics) { - alertTypeStr := From(validAlertTypes).FirstWith(func(key interface{}) bool { - return len(d.Get(key.(string)).([]interface{})) > 0 - }).(string) - - alertType := d.Get(alertTypeStr).([]interface{})[0].(map[string]interface{}) + return types.ObjectValueFrom(ctx, metricAnomalyConditionAttr(), MetricAnomalyConditionModel{ + MinNonNullValuesPct: wrapperspbUint32ToTypeInt64(condition.GetMinNonNullValuesPct()), + Threshold: wrapperspbDoubleToTypeFloat64(condition.GetThreshold()), + ForOverPct: wrapperspbUint32ToTypeInt64(condition.GetForOverPct()), + OfTheLast: ofTheLast, + ConditionType: types.StringValue(metricAnomalyConditionMap[condition.GetConditionType()]), + }, + ) +} - switch alertTypeStr { - case "standard": - alertTypeParams, diags = expandStandard(alertType) - case "ratio": - alertTypeParams, diags = expandRatio(alertType) - case "new_value": - alertTypeParams = expandNewValue(alertType) - case "unique_count": - alertTypeParams = expandUniqueCount(alertType) - case "time_relative": - alertTypeParams, diags = expandTimeRelative(alertType) - case "metric": - alertTypeParams, diags = expandMetric(alertType) - case "tracing": - alertTypeParams, tracingAlert = expandTracing(alertType) - case "flow": - alertTypeParams = expandFlow(alertType) +func flattenFlow(ctx context.Context, flow *cxsdk.FlowType) (types.Object, diag.Diagnostics) { + if flow == nil { + return types.ObjectNull(flowAttr()), nil } - return -} + stages, diags := flattenFlowStages(ctx, flow.GetStages()) + if diags.HasError() { + return types.ObjectNull(flowAttr()), diags + } -func expandStandard(m map[string]interface{}) (*alertParams, diag.Diagnostics) { - conditionMap := extractConditionMap(m) - condition, err := expandStandardCondition(conditionMap) - if err != nil { - return nil, diag.FromErr(err) + flowModel := FlowModel{ + Stages: stages, + EnforceSuppression: wrapperspbBoolToTypeBool(flow.GetEnforceSuppression()), } - filters := expandStandardFilter(m) - return &alertParams{ - Condition: condition, - Filters: filters, - }, nil + return types.ObjectValueFrom(ctx, flowAttr(), flowModel) } -func expandStandardCondition(m map[string]interface{}) (*alerts.AlertCondition, error) { - if immediately := m["immediately"]; immediately != nil && immediately.(bool) { - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_Immediate{}, - }, nil - } else if moreThenUsual := m["more_than_usual"]; moreThenUsual != nil && moreThenUsual.(bool) { - threshold := wrapperspb.Double(float64(m["threshold"].(int))) - groupBy := interfaceSliceToWrappedStringSlice(m["group_by"].([]interface{})) - parameters := &alerts.ConditionParameters{ - Threshold: threshold, - GroupBy: groupBy, - Timeframe: expandTimeFrame(m["time_window"].(string)), - } - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_MoreThanUsual{ - MoreThanUsual: &alerts.MoreThanUsualCondition{Parameters: parameters}, - }, - }, nil - } else { - parameters, err := expandStandardConditionParameters(m) - if err != nil { - return nil, err - } - if lessThan := m["less_than"]; lessThan != nil && lessThan.(bool) { - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_LessThan{ - LessThan: &alerts.LessThanCondition{Parameters: parameters}, - }, - }, nil - } else if moreThan := m["more_than"]; moreThan != nil && moreThan.(bool) { - evaluationWindow := expandEvaluationWindow(m) - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_MoreThan{ - MoreThan: &alerts.MoreThanCondition{ - Parameters: parameters, - EvaluationWindow: evaluationWindow, - }, - }, - }, nil +func flattenFlowStages(ctx context.Context, stages []*cxsdk.FlowStages) (types.List, diag.Diagnostics) { + var flowStages []*FlowStageModel + for _, stage := range stages { + flowStage, diags := flattenFlowStage(ctx, stage) + if diags.HasError() { + return types.ListNull(types.ObjectType{AttrTypes: flowStageAttr()}), diags } + flowStages = append(flowStages, flowStage) } + return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: flowStageAttr()}, flowStages) - return nil, fmt.Errorf("immediately, less_than, more_than or more_than_usual have to be true") } -func expandEvaluationWindow(m map[string]interface{}) *alerts.EvaluationWindow { - var evaluationWindow *alerts.EvaluationWindow - if evaluationWindowStr, ok := m["evaluation_window"].(string); ok && evaluationWindowStr != "" { - evaluationWindow = new(alerts.EvaluationWindow) - *evaluationWindow = alertSchemaToProtoEvaluationWindow[evaluationWindowStr] - } - return evaluationWindow -} - -func expandRelatedExtendedData(m map[string]interface{}) (*alerts.RelatedExtendedData, error) { - if v, ok := m["less_than"]; !(ok && v.(bool)) { +func flattenFlowStage(ctx context.Context, stage *cxsdk.FlowStages) (*FlowStageModel, diag.Diagnostics) { + if stage == nil { return nil, nil } - if v, ok := m["manage_undetected_values"]; ok { - if manageUndetectedValues, ok := v.([]interface{}); ok && len(manageUndetectedValues) != 0 { - raw := manageUndetectedValues[0].(map[string]interface{}) - if enable, autoRetireRatio := raw["enable_triggering_on_undetected_values"], raw["auto_retire_ratio"]; enable.(bool) { - if autoRetireRatio == nil || autoRetireRatio.(string) == "" { - return nil, fmt.Errorf("auto_retire_ratio is required when enable_triggering_on_undetected_values = true") - } - cleanupDeadmanDurationStr := alertSchemaDeadmanRatiosToProtoDeadmanRatios[autoRetireRatio.(string)] - cleanupDeadmanDuration := alerts.CleanupDeadmanDuration(alerts.CleanupDeadmanDuration_value[cleanupDeadmanDurationStr]) - return &alerts.RelatedExtendedData{ - CleanupDeadmanDuration: &cleanupDeadmanDuration, - ShouldTriggerDeadman: wrapperspb.Bool(true), - }, nil - } else { - if autoRetireRatio != nil && autoRetireRatio.(string) != "" { - return nil, fmt.Errorf("auto_retire_ratio is not allowed when enable_triggering_on_undetected_values = false") - } - return &alerts.RelatedExtendedData{ - ShouldTriggerDeadman: wrapperspb.Bool(false), - }, nil - } - } + flowStagesGroups, diags := flattenFlowStagesGroups(ctx, stage) + if diags.HasError() { + return nil, diags } - return nil, nil -} - -func expandStandardConditionParameters(m map[string]interface{}) (*alerts.ConditionParameters, error) { - timeFrame := expandTimeFrame(m["time_window"].(string)) - groupBy := interfaceSliceToWrappedStringSlice(m["group_by"].([]interface{})) - threshold := wrapperspb.Double(float64(m["threshold"].(int))) - relatedExtendedData, err := expandRelatedExtendedData(m) - if err != nil { - return nil, err + flowStageModel := &FlowStageModel{ + FlowStagesGroups: flowStagesGroups, + TimeframeMs: wrapperspbInt64ToTypeInt64(stage.GetTimeframeMs()), + TimeframeType: types.StringValue(flowStageTimeFrameTypeProtoToSchemaMap[stage.GetTimeframeType()]), } + return flowStageModel, nil - return &alerts.ConditionParameters{ - Threshold: threshold, - Timeframe: timeFrame, - GroupBy: groupBy, - RelatedExtendedData: relatedExtendedData, - }, nil } -func expandTracingConditionParameters(m map[string]interface{}) *alerts.ConditionParameters { - timeFrame := expandTimeFrame(m["time_window"].(string)) - groupBy := interfaceSliceToWrappedStringSlice(m["group_by"].([]interface{})) - threshold := wrapperspb.Double(float64(m["threshold"].(int))) - - return &alerts.ConditionParameters{ - Threshold: threshold, - Timeframe: timeFrame, - GroupBy: groupBy, +func flattenFlowStagesGroups(ctx context.Context, stage *cxsdk.FlowStages) (types.List, diag.Diagnostics) { + var flowStagesGroups []*FlowStagesGroupModel + for _, group := range stage.GetFlowStagesGroups().GetGroups() { + flowStageGroup, diags := flattenFlowStageGroup(ctx, group) + if diags.HasError() { + return types.ListNull(types.ObjectType{AttrTypes: flowStageGroupAttr()}), diags + } + flowStagesGroups = append(flowStagesGroups, flowStageGroup) } -} + return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: flowStageGroupAttr()}, flowStagesGroups) -func expandStandardFilter(m map[string]interface{}) *alerts.AlertFilters { - filters := expandCommonAlertFilter(m) - filters.FilterType = alerts.AlertFilters_FILTER_TYPE_TEXT_OR_UNSPECIFIED - return filters } -func expandRatio(m map[string]interface{}) (*alertParams, diag.Diagnostics) { - conditionMap := extractConditionMap(m) - groupBy := interfaceSliceToWrappedStringSlice(conditionMap["group_by"].([]interface{})) - var groupByQ1, groupByQ2 []*wrapperspb.StringValue - if len(groupBy) > 0 { - if conditionMap["group_by_q1"].(bool) { - groupByQ1 = groupBy - } else if conditionMap["group_by_q2"].(bool) { - groupByQ2 = groupBy - } else if conditionMap["group_by_both"].(bool) { - groupByQ1 = groupBy - groupByQ2 = groupBy - } else { - return nil, diag.Errorf("group_by is required with one of - group_by_q1/group_by_q1/group_by_both") - } +func flattenFlowStageGroup(ctx context.Context, group *cxsdk.FlowStagesGroup) (*FlowStagesGroupModel, diag.Diagnostics) { + if group == nil { + return nil, nil } - condition, err := expandRatioCondition(conditionMap, groupByQ1) - if err != nil { - return nil, diag.FromErr(err) + alertDefs, diags := flattenAlertDefs(ctx, group.GetAlertDefs()) + if diags.HasError() { + return nil, diags } - filters := expandRatioFilters(m, groupByQ2) - - return &alertParams{ - Condition: condition, - Filters: filters, - }, nil -} - -func expandRatioFilters(m map[string]interface{}, groupBy []*wrapperspb.StringValue) *alerts.AlertFilters { - query1 := m["query_1"].([]interface{})[0].(map[string]interface{}) - filters := expandCommonAlertFilter(query1) - filters.FilterType = alerts.AlertFilters_FILTER_TYPE_RATIO - filters.Alias = wrapperspb.String(query1["alias"].(string)) - query2 := expandQuery2(m["query_2"], groupBy) - filters.RatioAlerts = []*alerts.AlertFilters_RatioAlert{query2} - return filters -} -func expandRatioCondition(m map[string]interface{}, groupBy []*wrapperspb.StringValue) (*alerts.AlertCondition, error) { - parameters, err := expandRatioParams(m, groupBy) - if err != nil { - return nil, err + flowStageGroupModel := &FlowStagesGroupModel{ + AlertDefs: alertDefs, + NextOp: types.StringValue(flowStagesGroupNextOpProtoToSchemaMap[group.GetNextOp()]), + AlertsOp: types.StringValue(flowStagesGroupAlertsOpProtoToSchemaMap[group.GetAlertsOp()]), } - - return expandLessThanOrMoreThanAlertCondition(m, parameters) + return flowStageGroupModel, nil } -func expandRatioParams(m map[string]interface{}, groupBy []*wrapperspb.StringValue) (*alerts.ConditionParameters, error) { - threshold := wrapperspb.Double(m["ratio_threshold"].(float64)) - timeFrame := expandTimeFrame(m["time_window"].(string)) - ignoreInfinity := wrapperspb.Bool(m["ignore_infinity"].(bool)) - relatedExtendedData, err := expandRelatedExtendedData(m) - if err != nil { - return nil, err +func flattenAlertDefs(ctx context.Context, defs []*cxsdk.FlowStagesGroupsAlertDefs) (types.List, diag.Diagnostics) { + var alertDefs []*FlowStagesGroupsAlertDefsModel + for _, def := range defs { + alertDef := &FlowStagesGroupsAlertDefsModel{ + Id: wrapperspbStringToTypeString(def.GetId()), + Not: wrapperspbBoolToTypeBool(def.GetNot()), + } + alertDefs = append(alertDefs, alertDef) } - - return &alerts.ConditionParameters{ - Threshold: threshold, - Timeframe: timeFrame, - GroupBy: groupBy, - IgnoreInfinity: ignoreInfinity, - RelatedExtendedData: relatedExtendedData, - }, nil + return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: alertDefsAttr()}, alertDefs) } -func expandQuery2(v interface{}, groupBy []*wrapperspb.StringValue) *alerts.AlertFilters_RatioAlert { - m := v.([]interface{})[0].(map[string]interface{}) - alias := wrapperspb.String(m["alias"].(string)) - text := wrapperspb.String(m["search_query"].(string)) - severities := expandAlertFiltersSeverities(m["severities"].(*schema.Set).List()) - applications := interfaceSliceToWrappedStringSlice(m["applications"].(*schema.Set).List()) - subsystems := interfaceSliceToWrappedStringSlice(m["subsystems"].(*schema.Set).List()) - return &alerts.AlertFilters_RatioAlert{ - Alias: alias, - Text: text, - Severities: severities, - Applications: applications, - Subsystems: subsystems, - GroupBy: groupBy, +func retriggeringPeriodAttr() map[string]attr.Type { + return map[string]attr.Type{ + "minutes": types.Int64Type, } } -func expandNewValue(m map[string]interface{}) *alertParams { - conditionMap := extractConditionMap(m) - condition := expandNewValueCondition(conditionMap) - filters := expandNewValueFilters(m) - - return &alertParams{ - Condition: condition, - Filters: filters, +func incidentsSettingsAttr() map[string]attr.Type { + return map[string]attr.Type{ + "notify_on": types.StringType, + "retriggering_period": types.ObjectType{ + AttrTypes: retriggeringPeriodAttr(), + }, } } -func expandNewValueCondition(m map[string]interface{}) *alerts.AlertCondition { - parameters := expandNewValueConditionParameters(m) - condition := &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_NewValue{ - NewValue: &alerts.NewValueCondition{ - Parameters: parameters, +func notificationGroupAttr() map[string]attr.Type { + return map[string]attr.Type{ + "group_by_keys": types.SetType{ + ElemType: types.StringType, + }, + "webhooks_settings": types.SetType{ + ElemType: types.ObjectType{ + AttrTypes: webhooksSettingsAttr(), }, }, } - return condition } -func expandNewValueConditionParameters(m map[string]interface{}) *alerts.ConditionParameters { - timeFrame := expandNewValueTimeFrame(m["time_window"].(string)) - groupBy := []*wrapperspb.StringValue{wrapperspb.String(m["key_to_track"].(string))} - parameters := &alerts.ConditionParameters{ - Timeframe: timeFrame, - GroupBy: groupBy, +func webhooksSettingsAttr() map[string]attr.Type { + return map[string]attr.Type{ + "notify_on": types.StringType, + "retriggering_period": types.ObjectType{ + AttrTypes: retriggeringPeriodAttr(), + }, + "integration_id": types.StringType, + "recipients": types.SetType{ElemType: types.StringType}, } - return parameters -} - -func expandNewValueFilters(m map[string]interface{}) *alerts.AlertFilters { - filters := expandCommonAlertFilter(m) - filters.FilterType = alerts.AlertFilters_FILTER_TYPE_TEXT_OR_UNSPECIFIED - return filters } -func expandUniqueCount(m map[string]interface{}) *alertParams { - conditionMap := extractConditionMap(m) - condition := expandUniqueCountCondition(conditionMap) - filters := expandUniqueCountFilters(m) - - return &alertParams{ - Condition: condition, - Filters: filters, +func alertTypeDefinitionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "logs_immediate": types.ObjectType{ + AttrTypes: logsImmediateAttr(), + }, + "logs_threshold": types.ObjectType{ + AttrTypes: logsThresholdAttr(), + }, + "logs_anomaly": types.ObjectType{ + AttrTypes: logsAnomalyAttr(), + }, + "logs_ratio_threshold": types.ObjectType{ + AttrTypes: logsRatioThresholdAttr(), + }, + "logs_new_value": types.ObjectType{ + AttrTypes: logsNewValueAttr(), + }, + "logs_unique_count": types.ObjectType{ + AttrTypes: logsUniqueCountAttr(), + }, + "logs_time_relative_threshold": types.ObjectType{ + AttrTypes: logsTimeRelativeAttr(), + }, + "metric_threshold": types.ObjectType{ + AttrTypes: metricThresholdAttr(), + }, + "metric_anomaly": types.ObjectType{ + AttrTypes: metricAnomalyAttr(), + }, + "tracing_immediate": types.ObjectType{ + AttrTypes: tracingImmediateAttr(), + }, + "tracing_threshold": types.ObjectType{ + AttrTypes: tracingThresholdAttr(), + }, + "flow": types.ObjectType{ + AttrTypes: flowAttr(), + }, } } -func expandUniqueCountCondition(m map[string]interface{}) *alerts.AlertCondition { - parameters := expandUniqueCountConditionParameters(m) - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_UniqueCount{ - UniqueCount: &alerts.UniqueCountCondition{ - Parameters: parameters, - }, +func logsImmediateAttr() map[string]attr.Type { + return map[string]attr.Type{ + "logs_filter": types.ObjectType{ + AttrTypes: logsFilterAttr(), + }, + "notification_payload_filter": types.SetType{ + ElemType: types.StringType, }, } } -func expandUniqueCountConditionParameters(m map[string]interface{}) *alerts.ConditionParameters { - uniqueCountKey := []*wrapperspb.StringValue{wrapperspb.String(m["unique_count_key"].(string))} - threshold := wrapperspb.Double(float64(m["max_unique_values"].(int))) - timeFrame := expandUniqueValueTimeFrame(m["time_window"].(string)) - - var groupByThreshold *wrapperspb.UInt32Value - var groupBy []*wrapperspb.StringValue - if groupByKey := m["group_by_key"]; groupByKey != nil && groupByKey.(string) != "" { - groupBy = []*wrapperspb.StringValue{wrapperspb.String(groupByKey.(string))} - groupByThreshold = wrapperspb.UInt32(uint32(m["max_unique_values_for_group_by"].(int))) - } - - return &alerts.ConditionParameters{ - CardinalityFields: uniqueCountKey, - Threshold: threshold, - Timeframe: timeFrame, - GroupBy: groupBy, - MaxUniqueCountValuesForGroupByKey: groupByThreshold, +func logsFilterAttr() map[string]attr.Type { + return map[string]attr.Type{ + "simple_filter": types.ObjectType{ + AttrTypes: luceneFilterAttr(), + }, } } -func expandUniqueCountFilters(m map[string]interface{}) *alerts.AlertFilters { - filters := expandCommonAlertFilter(m) - filters.FilterType = alerts.AlertFilters_FILTER_TYPE_UNIQUE_COUNT - return filters +func luceneFilterAttr() map[string]attr.Type { + return map[string]attr.Type{ + "lucene_query": types.StringType, + "label_filters": types.ObjectType{ + AttrTypes: labelFiltersAttr(), + }, + } } -func expandCommonAlertFilter(m map[string]interface{}) *alerts.AlertFilters { - severities := expandAlertFiltersSeverities(m["severities"].(*schema.Set).List()) - metadata := expandMetadata(m) - text := wrapperspb.String(m["search_query"].(string)) - - return &alerts.AlertFilters{ - Severities: severities, - Metadata: metadata, - Text: text, +func labelFiltersAttr() map[string]attr.Type { + return map[string]attr.Type{ + "application_name": types.SetType{ + ElemType: types.ObjectType{ + AttrTypes: labelFilterTypesAttr(), + }, + }, + "subsystem_name": types.SetType{ + ElemType: types.ObjectType{ + AttrTypes: labelFilterTypesAttr(), + }, + }, + "severities": types.SetType{ + ElemType: types.StringType, + }, } } -func expandTimeRelative(m map[string]interface{}) (*alertParams, diag.Diagnostics) { - conditionMap := extractConditionMap(m) - condition, err := expandTimeRelativeCondition(conditionMap) - if err != nil { - return nil, diag.FromErr(err) +func logsThresholdAttr() map[string]attr.Type { + return map[string]attr.Type{ + "logs_filter": types.ObjectType{AttrTypes: logsFilterAttr()}, + "notification_payload_filter": types.SetType{ElemType: types.StringType}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: logsThresholdRulesAttr()}}, + "undetected_values_management": types.ObjectType{AttrTypes: undetectedValuesManagementAttr()}, } - filters := expandTimeRelativeFilters(m) - - return &alertParams{ - Condition: condition, - Filters: filters, - }, nil } -func expandTimeRelativeCondition(m map[string]interface{}) (*alerts.AlertCondition, error) { - parameters, err := expandTimeRelativeConditionParameters(m) - if err != nil { - return nil, err +func logsThresholdRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{AttrTypes: logsThresholdConditionAttr()}, + "override": types.ObjectType{AttrTypes: alertOverrideAttr()}, } - - return expandLessThanOrMoreThanAlertCondition(m, parameters) } -func expandLessThanOrMoreThanAlertCondition( - m map[string]interface{}, parameters *alerts.ConditionParameters) (*alerts.AlertCondition, error) { - lessThan, err := trueIfIsLessThanFalseIfMoreThanAndErrorOtherwise(m) - if err != nil { - return nil, err +func logsThresholdConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "threshold": types.Float64Type, + "time_window": types.ObjectType{AttrTypes: logsTimeWindowAttr()}, + "condition_type": types.StringType, } +} - if lessThan { - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_LessThan{ - LessThan: &alerts.LessThanCondition{Parameters: parameters}, - }, - }, nil +func logsAnomalyAttr() map[string]attr.Type { + return map[string]attr.Type{ + "logs_filter": types.ObjectType{AttrTypes: logsFilterAttr()}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: logsAnomalyRulesAttr()}}, + "notification_payload_filter": types.SetType{ElemType: types.StringType}, } - - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_MoreThan{ - MoreThan: &alerts.MoreThanCondition{Parameters: parameters}, - }, - }, nil } -func trueIfIsLessThanFalseIfMoreThanAndErrorOtherwise(m map[string]interface{}) (bool, error) { - if lessThan := m["less_than"]; lessThan != nil && lessThan.(bool) { - return true, nil - } else if moreThan := m["more_than"]; moreThan != nil && moreThan.(bool) { - return false, nil +func logsAnomalyRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{AttrTypes: logsAnomalyConditionAttr()}, } - return false, fmt.Errorf("less_than or more_than have to be true") } -func expandPromqlCondition(m map[string]interface{}, parameters *alerts.ConditionParameters) (*alerts.AlertCondition, error) { - conditionsStr, err := returnAlertConditionString(m) - if err != nil { - return nil, err +func logsAnomalyConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "minimum_threshold": types.Float64Type, + "time_window": types.ObjectType{AttrTypes: logsTimeWindowAttr()}, + "condition_type": types.StringType, } +} - switch conditionsStr { - case "less_than": - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_LessThan{ - LessThan: &alerts.LessThanCondition{Parameters: parameters}, - }, - }, nil - case "more_than": - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_MoreThan{ - MoreThan: &alerts.MoreThanCondition{Parameters: parameters}, - }, - }, nil - case "more_than_usual": - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_MoreThanUsual{ - MoreThanUsual: &alerts.MoreThanUsualCondition{Parameters: parameters}, - }, - }, nil - case "less_than_usual": - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_LessThanUsual{ - LessThanUsual: &alerts.LessThanUsualCondition{Parameters: parameters}, - }, - }, nil - case "less_than_or_equal": - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_LessThanOrEqual{ - LessThanOrEqual: &alerts.LessThanOrEqualCondition{Parameters: parameters}, - }, - }, nil - case "more_than_or_equal": - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_MoreThanOrEqual{ - MoreThanOrEqual: &alerts.MoreThanOrEqualCondition{Parameters: parameters}, - }, - }, nil +func logsRatioThresholdAttr() map[string]attr.Type { + return map[string]attr.Type{ + "numerator": types.ObjectType{AttrTypes: logsFilterAttr()}, + "numerator_alias": types.StringType, + "denominator": types.ObjectType{AttrTypes: logsFilterAttr()}, + "denominator_alias": types.StringType, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: logsRatioThresholdRulesAttr()}}, + "notification_payload_filter": types.SetType{ + ElemType: types.StringType, + }, + "group_by_for": types.StringType, } - - return nil, fmt.Errorf("less_than, more_than, more_than_usual, less_than_usual, less_than_or_equal, or more_than_or_equal must be set to true") } -func returnAlertConditionString(m map[string]interface{}) (string, error) { - if lessThan := m["less_than"]; lessThan != nil && lessThan.(bool) { - return "less_than", nil - } else if moreThan := m["more_than"]; moreThan != nil && moreThan.(bool) { - return "more_than", nil - } else if moreThanUsual := m["more_than_usual"]; moreThanUsual != nil && moreThanUsual.(bool) { - return "more_than_usual", nil - } else if lessThanUsual := m["less_than_usual"]; lessThanUsual != nil && lessThanUsual.(bool) { - return "less_than_usual", nil - } else if lessThanOrEqual := m["less_than_or_equal"]; lessThanOrEqual != nil && lessThanOrEqual.(bool) { - return "less_than_or_equal", nil - } else if moreThanOrEqual := m["more_than_or_equal"]; moreThanOrEqual != nil && moreThanOrEqual.(bool) { - return "more_than_or_equal", nil +func logsRatioThresholdRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{AttrTypes: logsRatioThresholdRuleConditionAttr()}, + "override": types.ObjectType{AttrTypes: alertOverrideAttr()}, } - - return "", fmt.Errorf("less_than, more_than, more_than_usual, less_than_usual, less_than_or_equal, or more_than_or_equal must be set to true") } -func expandTimeRelativeConditionParameters(m map[string]interface{}) (*alerts.ConditionParameters, error) { - timeFrame, relativeTimeframe := expandTimeFrameAndRelativeTimeframe(m["relative_time_window"].(string)) - ignoreInfinity := wrapperspb.Bool(m["ignore_infinity"].(bool)) - groupBy := interfaceSliceToWrappedStringSlice(m["group_by"].([]interface{})) - threshold := wrapperspb.Double(m["ratio_threshold"].(float64)) - relatedExtendedData, err := expandRelatedExtendedData(m) - if err != nil { - return nil, err +func logsRatioThresholdRuleConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "threshold": types.Float64Type, + "time_window": types.ObjectType{AttrTypes: logsTimeWindowAttr()}, + "condition_type": types.StringType, } - - return &alerts.ConditionParameters{ - Timeframe: timeFrame, - RelativeTimeframe: relativeTimeframe, - GroupBy: groupBy, - Threshold: threshold, - IgnoreInfinity: ignoreInfinity, - RelatedExtendedData: relatedExtendedData, - }, nil } -func expandTimeFrameAndRelativeTimeframe(relativeTimeframeStr string) (alerts.Timeframe, alerts.RelativeTimeframe) { - p := alertSchemaRelativeTimeFrameToProtoTimeFrameAndRelativeTimeFrame[relativeTimeframeStr] - return p.timeFrame, p.relativeTimeFrame +func alertOverrideAttr() map[string]attr.Type { + return map[string]attr.Type{ + "priority": types.StringType, + } } -func expandTimeRelativeFilters(m map[string]interface{}) *alerts.AlertFilters { - filters := expandCommonAlertFilter(m) - filters.FilterType = alerts.AlertFilters_FILTER_TYPE_TIME_RELATIVE - return filters +func logsNewValueAttr() map[string]attr.Type { + return map[string]attr.Type{ + "logs_filter": types.ObjectType{AttrTypes: logsFilterAttr()}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: logsNewValueRulesAttr()}}, + "notification_payload_filter": types.SetType{ElemType: types.StringType}, + } } -func expandMetric(m map[string]interface{}) (*alertParams, diag.Diagnostics) { - condition, err := expandMetricCondition(m) - if err != nil { - return nil, diag.FromErr(err) +func logsNewValueRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{AttrTypes: logsNewValueConditionAttr()}, } - filters := expandMetricFilters(m) - - return &alertParams{ - Condition: condition, - Filters: filters, - }, nil } -func expandMetricCondition(m map[string]interface{}) (*alerts.AlertCondition, error) { - isPromQL := len(m["promql"].([]interface{})) > 0 - var metricType string - if isPromQL { - metricType = "promql" - } else { - metricType = "lucene" - } - - metricMap := (m[metricType].([]interface{}))[0].(map[string]interface{}) - text := wrapperspb.String(metricMap["search_query"].(string)) - conditionMap := extractConditionMap(metricMap) - threshold := wrapperspb.Double(conditionMap["threshold"].(float64)) - sampleThresholdPercentage := wrapperspb.UInt32(uint32(conditionMap["sample_threshold_percentage"].(int))) - nonNullPercentage := wrapperspb.UInt32(uint32(conditionMap["min_non_null_values_percentage"].(int))) - swapNullValues := wrapperspb.Bool(conditionMap["replace_missing_value_with_zero"].(bool)) - timeFrame := expandMetricTimeFrame(conditionMap["time_window"].(string)) - relatedExtendedData, err := expandRelatedExtendedData(conditionMap) - if err != nil { - return nil, err +func logsNewValueConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "time_window": types.ObjectType{AttrTypes: logsTimeWindowAttr()}, + "keypath_to_track": types.StringType, } +} - parameters := &alerts.ConditionParameters{ - Threshold: threshold, - Timeframe: timeFrame, - RelatedExtendedData: relatedExtendedData, +func undetectedValuesManagementAttr() map[string]attr.Type { + return map[string]attr.Type{ + "trigger_undetected_values": types.BoolType, + "auto_retire_timeframe": types.StringType, } +} - if isPromQL { - parameters.MetricAlertPromqlParameters = &alerts.MetricAlertPromqlConditionParameters{ - PromqlText: text, - SampleThresholdPercentage: sampleThresholdPercentage, - NonNullPercentage: nonNullPercentage, - SwapNullValues: swapNullValues, - } - } else { - metricField := wrapperspb.String(conditionMap["metric_field"].(string)) - arithmeticOperator := expandArithmeticOperator(conditionMap["arithmetic_operator"].(string)) - arithmeticOperatorModifier := wrapperspb.UInt32(uint32(conditionMap["arithmetic_operator_modifier"].(int))) - groupBy := interfaceSliceToWrappedStringSlice(conditionMap["group_by"].([]interface{})) - parameters.GroupBy = groupBy - parameters.MetricAlertParameters = &alerts.MetricAlertConditionParameters{ - MetricSource: alerts.MetricAlertConditionParameters_METRIC_SOURCE_LOGS2METRICS_OR_UNSPECIFIED, - MetricField: metricField, - ArithmeticOperator: arithmeticOperator, - ArithmeticOperatorModifier: arithmeticOperatorModifier, - SampleThresholdPercentage: sampleThresholdPercentage, - NonNullPercentage: nonNullPercentage, - SwapNullValues: swapNullValues, - } +func logsUniqueCountAttr() map[string]attr.Type { + return map[string]attr.Type{ + "logs_filter": types.ObjectType{AttrTypes: logsFilterAttr()}, + "notification_payload_filter": types.SetType{ElemType: types.StringType}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: logsUniqueCountRulesAttr()}}, + "unique_count_keypath": types.StringType, + "max_unique_count_per_group_by_key": types.Int64Type, } - - return expandPromqlCondition(conditionMap, parameters) } -func expandArithmeticOperator(s string) alerts.MetricAlertConditionParameters_ArithmeticOperator { - arithmeticStr := alertSchemaArithmeticOperatorToProtoArithmetic[s] - arithmeticValue := alerts.MetricAlertConditionParameters_ArithmeticOperator_value[arithmeticStr] - return alerts.MetricAlertConditionParameters_ArithmeticOperator(arithmeticValue) +func logsUniqueCountRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{AttrTypes: logsUniqueCountConditionAttr()}, + } } -func expandMetricFilters(m map[string]interface{}) *alerts.AlertFilters { - var text *wrapperspb.StringValue - if len(m["promql"].([]interface{})) == 0 { - luceneArr := m["lucene"].([]interface{}) - lucene := luceneArr[0].(map[string]interface{}) - text = wrapperspb.String(lucene["search_query"].(string)) +func logsUniqueCountConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "max_unique_count": types.Int64Type, + "time_window": types.ObjectType{AttrTypes: logsTimeWindowAttr()}, } +} - return &alerts.AlertFilters{ - FilterType: alerts.AlertFilters_FILTER_TYPE_METRIC, - Text: text, +func alertScheduleAttr() map[string]attr.Type { + return map[string]attr.Type{ + "active_on": types.ObjectType{ + AttrTypes: alertScheduleActiveOnAttr(), + }, } } -func expandFlow(m map[string]interface{}) *alertParams { - stages := expandFlowStages(m["stage"]) - parameters := expandFlowParameters(m["group_by"]) - return &alertParams{ - Condition: &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_Flow{ - Flow: &alerts.FlowCondition{ - Stages: stages, - Parameters: parameters, - }, - }, +func alertScheduleActiveOnAttr() map[string]attr.Type { + return map[string]attr.Type{ + "days_of_week": types.ListType{ + ElemType: types.StringType, + }, + "start_time": types.ObjectType{ + AttrTypes: timeOfDayAttr(), }, - Filters: &alerts.AlertFilters{ - FilterType: alerts.AlertFilters_FILTER_TYPE_FLOW, + "end_time": types.ObjectType{ + AttrTypes: timeOfDayAttr(), }, } } -func expandFlowParameters(i interface{}) *alerts.ConditionParameters { - if i == nil { - return nil - } - groupBy := interfaceSliceToWrappedStringSlice(i.([]interface{})) - if len(groupBy) == 0 { - return nil +func timeOfDayAttr() map[string]attr.Type { + return map[string]attr.Type{ + "hours": types.Int64Type, + "minutes": types.Int64Type, } +} - return &alerts.ConditionParameters{ - GroupBy: groupBy, +func logsTimeRelativeAttr() map[string]attr.Type { + return map[string]attr.Type{ + "logs_filter": types.ObjectType{AttrTypes: logsFilterAttr()}, + "notification_payload_filter": types.SetType{ElemType: types.StringType}, + "undetected_values_management": types.ObjectType{AttrTypes: undetectedValuesManagementAttr()}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: logsTimeRelativeRulesAttr()}}, } } -func expandFlowStages(i interface{}) []*alerts.FlowStage { - l := i.([]interface{}) - result := make([]*alerts.FlowStage, 0, len(l)) - for _, v := range l { - stage := expandFlowStage(v) - result = append(result, stage) +func logsTimeRelativeRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{ + AttrTypes: logsTimeRelativeConditionAttr(), + }, + "override": types.ObjectType{ + AttrTypes: alertOverrideAttr(), + }, } - - return result } -func expandFlowStage(i interface{}) *alerts.FlowStage { - m := i.(map[string]interface{}) - groups := expandGroups(m["group"]) - timeFrame := expandFlowTimeFrame(m["time_window"]) - return &alerts.FlowStage{Groups: groups, Timeframe: timeFrame} +func logsTimeRelativeConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "threshold": types.Float64Type, + "compared_to": types.StringType, + "condition_type": types.StringType, + } } -func expandGroups(v interface{}) []*alerts.FlowGroup { - groups := v.([]interface{}) - result := make([]*alerts.FlowGroup, 0, len(groups)) - for _, g := range groups { - group := expandFlowGroup(g) - result = append(result, group) +func metricThresholdAttr() map[string]attr.Type { + return map[string]attr.Type{ + "metric_filter": types.ObjectType{AttrTypes: metricFilterAttr()}, + "undetected_values_management": types.ObjectType{AttrTypes: undetectedValuesManagementAttr()}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: metricThresholdRulesAttr()}}, + "missing_values": types.ObjectType{AttrTypes: missingValuesAttr()}, } - - return result } -func expandFlowGroup(v interface{}) *alerts.FlowGroup { - m := v.(map[string]interface{}) - subAlerts := expandSubAlerts(m["sub_alerts"]) - operator := expandOperator(m["next_operator"]) - return &alerts.FlowGroup{ - Alerts: subAlerts, - NextOp: operator, +func missingValuesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "replace_with_zero": types.BoolType, + "min_non_null_values_pct": types.Int64Type, } } -func expandSubAlerts(v interface{}) *alerts.FlowAlerts { - l := v.([]interface{}) - if len(l) == 0 || l[0] == nil { - return nil +func metricThresholdRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{ + AttrTypes: metricThresholdConditionAttr(), + }, + "override": types.ObjectType{ + AttrTypes: alertOverrideAttr(), + }, } - raw := l[0] - m := raw.(map[string]interface{}) - - operator := expandOperator(m["operator"]) - values := expandInnerFlowAlerts(m["flow_alert"]) +} - return &alerts.FlowAlerts{ - Op: operator, - Values: values, +func metricThresholdConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "threshold": types.Float64Type, + "for_over_pct": types.Int64Type, + "of_the_last": types.ObjectType{AttrTypes: metricTimeWindowAttr()}, + "condition_type": types.StringType, } } -func expandInnerFlowAlerts(v interface{}) []*alerts.FlowAlert { - flowAlerts := v.([]interface{}) - result := make([]*alerts.FlowAlert, 0, len(flowAlerts)) - for _, fa := range flowAlerts { - flowAlert := expandInnerFlowAlert(fa) - result = append(result, flowAlert) +func metricFilterAttr() map[string]attr.Type { + return map[string]attr.Type{ + "promql": types.StringType, } - return result } -func expandInnerFlowAlert(v interface{}) *alerts.FlowAlert { - m := v.(map[string]interface{}) - return &alerts.FlowAlert{ - Id: wrapperspb.String(m["user_alert_id"].(string)), - Not: wrapperspb.Bool(m["not"].(bool)), +func metricAnomalyAttr() map[string]attr.Type { + return map[string]attr.Type{ + "metric_filter": types.ObjectType{AttrTypes: metricFilterAttr()}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: metricAnomalyRulesAttr()}}, } } -func expandOperator(i interface{}) alerts.FlowOperator { - operatorStr := i.(string) - return alerts.FlowOperator(alerts.FlowOperator_value[operatorStr]) +func metricAnomalyRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{AttrTypes: metricAnomalyConditionAttr()}, + } } -func expandFlowTimeFrame(i interface{}) *alerts.FlowTimeframe { - return &alerts.FlowTimeframe{ - Ms: wrapperspb.UInt32(uint32(expandTimeToMS(i))), +func metricAnomalyConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "min_non_null_values_pct": types.Int64Type, + "threshold": types.Float64Type, + "for_over_pct": types.Int64Type, + "of_the_last": types.ObjectType{AttrTypes: metricTimeWindowAttr()}, + "condition_type": types.StringType, } } -func expandTracing(m map[string]interface{}) (*alertParams, *alerts.TracingAlert) { - tracingParams, _ := expandTracingParams(m) - tracingAlert := expandTracingAlert(m) - - return tracingParams, tracingAlert +func metricTimeWindowAttr() map[string]attr.Type { + return map[string]attr.Type{ + "specific_value": types.StringType, + } } -func expandTracingParams(m map[string]interface{}) (*alertParams, error) { - conditionMap := extractConditionMap(m) - condition, err := expandTracingCondition(conditionMap) - if err != nil { - return nil, err +func tracingImmediateAttr() map[string]attr.Type { + return map[string]attr.Type{ + "tracing_filter": types.ObjectType{AttrTypes: tracingQueryAttr()}, + "notification_payload_filter": types.SetType{ElemType: types.StringType}, } - filters := expandTracingFilter() - return &alertParams{ - Condition: condition, - Filters: filters, - }, nil } -func expandTracingCondition(m map[string]interface{}) (*alerts.AlertCondition, error) { - if immediately := m["immediately"]; immediately != nil && immediately.(bool) { - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_Immediate{}, - }, nil - } else if moreThan := m["more_than"]; moreThan != nil && moreThan.(bool) { - parameters := expandTracingConditionParameters(m) - return &alerts.AlertCondition{ - Condition: &alerts.AlertCondition_MoreThan{ - MoreThan: &alerts.MoreThanCondition{Parameters: parameters}, - }, - }, nil +func tracingThresholdAttr() map[string]attr.Type { + return map[string]attr.Type{ + "tracing_filter": types.ObjectType{AttrTypes: tracingQueryAttr()}, + "notification_payload_filter": types.SetType{ElemType: types.StringType}, + "rules": types.ListType{ElemType: types.ObjectType{AttrTypes: tracingThresholdRulesAttr()}}, } - - return nil, fmt.Errorf("immediately or more_than have to be true") } -func expandTracingFilter() *alerts.AlertFilters { - return &alerts.AlertFilters{ - FilterType: alerts.AlertFilters_FILTER_TYPE_TRACING, +func tracingThresholdRulesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "condition": types.ObjectType{AttrTypes: tracingThresholdConditionAttr()}, } } -func expandTracingAlert(m map[string]interface{}) *alerts.TracingAlert { - conditionLatency := uint32(m["latency_threshold_milliseconds"].(float64) * (float64)(time.Millisecond.Microseconds())) - applications := m["applications"].(*schema.Set).List() - subsystems := m["subsystems"].(*schema.Set).List() - services := m["services"].(*schema.Set).List() - fieldFilters := expandFiltersData(applications, subsystems, services) - tagFilters := expandTagFilters(m["tag_filter"]) - return &alerts.TracingAlert{ - ConditionLatency: conditionLatency, - FieldFilters: fieldFilters, - TagFilters: tagFilters, +func tracingThresholdConditionAttr() map[string]attr.Type { + return map[string]attr.Type{ + "span_amount": types.Float64Type, + "time_window": types.ObjectType{ + AttrTypes: tracingTimeWindowAttr(), + }, + "condition_type": types.StringType, } } -func expandFiltersData(applications, subsystems, services []interface{}) []*alerts.FilterData { - result := make([]*alerts.FilterData, 0) - if len(applications) != 0 { - result = append(result, expandSpecificFilter("applicationName", applications)) - } - if len(subsystems) != 0 { - result = append(result, expandSpecificFilter("subsystemName", subsystems)) - } - if len(services) != 0 { - result = append(result, expandSpecificFilter("serviceName", services)) +func tracingTimeWindowAttr() map[string]attr.Type { + return map[string]attr.Type{ + "specific_value": types.StringType, } - - return result } -func expandTagFilters(i interface{}) []*alerts.FilterData { - if i == nil { - return nil +func flowAttr() map[string]attr.Type { + return map[string]attr.Type{ + "stages": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: flowStageAttr(), + }, + }, + "enforce_suppression": types.BoolType, } - l := i.(*schema.Set).List() +} - result := make([]*alerts.FilterData, 0, len(l)) - for _, v := range l { - m := v.(map[string]interface{}) - field := m["field"].(string) - values := m["values"].(*schema.Set).List() - result = append(result, expandSpecificFilter(field, values)) +func flowStageAttr() map[string]attr.Type { + return map[string]attr.Type{ + "flow_stages_groups": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: flowStageGroupAttr(), + }, + }, + "timeframe_ms": types.Int64Type, + "timeframe_type": types.StringType, } - return result } -func expandSpecificFilter(filterName string, values []interface{}) *alerts.FilterData { - operatorToFilterValues := make(map[string]*alerts.Filters) - for _, val := range values { - operator, filterValue := expandFilter(val.(string)) - if _, ok := operatorToFilterValues[operator]; !ok { - operatorToFilterValues[operator] = new(alerts.Filters) - operatorToFilterValues[operator].Operator = operator - operatorToFilterValues[operator].Values = make([]string, 0) - } - operatorToFilterValues[operator].Values = append(operatorToFilterValues[operator].Values, filterValue) +func flowStageGroupAttr() map[string]attr.Type { + return map[string]attr.Type{ + "alert_defs": types.ListType{ + ElemType: types.ObjectType{ + AttrTypes: alertDefsAttr(), + }, + }, + "next_op": types.StringType, + "alerts_op": types.StringType, } +} - filterResult := make([]*alerts.Filters, 0, len(operatorToFilterValues)) - for _, filters := range operatorToFilterValues { - filterResult = append(filterResult, filters) +func alertDefsAttr() map[string]attr.Type { + return map[string]attr.Type{ + "id": types.StringType, + "not": types.BoolType, } +} - return &alerts.FilterData{ - Field: filterName, - Filters: filterResult, +func tracingQueryAttr() map[string]attr.Type { + return map[string]attr.Type{ + "latency_threshold_ms": types.Int64Type, + "tracing_label_filters": types.ObjectType{AttrTypes: tracingLabelFiltersAttr()}, } } -func expandFilter(filterString string) (operator, filterValue string) { - operator, filterValue = "equals", filterString - if strings.HasPrefix(filterValue, "filter:") { - arr := strings.SplitN(filterValue, ":", 3) - operator, filterValue = arr[1], arr[2] +func labelFilterTypesAttr() map[string]attr.Type { + return map[string]attr.Type{ + "value": types.StringType, + "operation": types.StringType, } - - return } -func extractConditionMap(m map[string]interface{}) map[string]interface{} { - return m["condition"].([]interface{})[0].(map[string]interface{}) +func tracingLabelFiltersAttr() map[string]attr.Type { + return map[string]attr.Type{ + "application_name": types.SetType{ElemType: types.ObjectType{AttrTypes: tracingFiltersTypeAttr()}}, + "subsystem_name": types.SetType{ElemType: types.ObjectType{AttrTypes: tracingFiltersTypeAttr()}}, + "service_name": types.SetType{ElemType: types.ObjectType{AttrTypes: tracingFiltersTypeAttr()}}, + "operation_name": types.SetType{ElemType: types.ObjectType{AttrTypes: tracingFiltersTypeAttr()}}, + "span_fields": types.SetType{ElemType: types.ObjectType{AttrTypes: tracingSpanFieldsFilterAttr()}}, + } } -func expandTimeFrame(s string) alerts.Timeframe { - protoTimeFrame := alertSchemaTimeFrameToProtoTimeFrame[s] - return alerts.Timeframe(alerts.Timeframe_value[protoTimeFrame]) +func tracingFiltersTypeAttr() map[string]attr.Type { + return map[string]attr.Type{ + "operation": types.StringType, + "values": types.SetType{ElemType: types.StringType}, + } } -func expandMetricTimeFrame(s string) alerts.Timeframe { - protoTimeFrame := alertSchemaMetricTimeFrameToMetricProtoTimeFrame[s] - return alerts.Timeframe(alerts.Timeframe_value[protoTimeFrame]) +func tracingSpanFieldsFilterAttr() map[string]attr.Type { + return map[string]attr.Type{ + "key": types.StringType, + "filter_type": types.ObjectType{AttrTypes: tracingFiltersTypeAttr()}, + } } -func expandMetadata(m map[string]interface{}) *alerts.AlertFilters_MetadataFilters { - categories := interfaceSliceToWrappedStringSlice(m["categories"].(*schema.Set).List()) - applications := interfaceSliceToWrappedStringSlice(m["applications"].(*schema.Set).List()) - subsystems := interfaceSliceToWrappedStringSlice(m["subsystems"].(*schema.Set).List()) - computers := interfaceSliceToWrappedStringSlice(m["computers"].(*schema.Set).List()) - classes := interfaceSliceToWrappedStringSlice(m["classes"].(*schema.Set).List()) - methods := interfaceSliceToWrappedStringSlice(m["methods"].(*schema.Set).List()) - ipAddresses := interfaceSliceToWrappedStringSlice(m["ip_addresses"].(*schema.Set).List()) - - return &alerts.AlertFilters_MetadataFilters{ - Categories: categories, - Applications: applications, - Subsystems: subsystems, - Computers: computers, - Classes: classes, - Methods: methods, - IpAddresses: ipAddresses, +func (r *AlertResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) { + // Retrieve values from plan + var plan *AlertResourceModel + diags := req.Plan.Get(ctx, &plan) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return } -} + alertProperties, diags := extractAlertProperties(ctx, plan) + if diags.HasError() { + resp.Diagnostics.Append(diags...) + return + } + updateAlertReq := &cxsdk.ReplaceAlertDefRequest{ + Id: typeStringToWrapperspbString(plan.ID), + AlertDefProperties: alertProperties, + } + log.Printf("[INFO] Updating Alert: %s", protojson.Format(updateAlertReq)) + alertUpdateResp, err := r.client.Replace(ctx, updateAlertReq) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + resp.Diagnostics.AddError( + "Error updating Alert", + formatRpcErrors(err, updateAlertURL, protojson.Format(updateAlertReq)), + ) + return + } + log.Printf("[INFO] Submitted updated Alert: %s", protojson.Format(alertUpdateResp)) -func expandAlertFiltersSeverities(v interface{}) []alerts.AlertFilters_LogSeverity { - s := interfaceSliceToStringSlice(v.([]interface{})) - result := make([]alerts.AlertFilters_LogSeverity, 0, len(s)) - for _, v := range s { - logSeverityStr := alertSchemaLogSeverityToProtoLogSeverity[v] - result = append(result, alerts.AlertFilters_LogSeverity( - alerts.AlertFilters_LogSeverity_value[logSeverityStr])) + // Get refreshed Alert value from Coralogix + getAlertReq := &cxsdk.GetAlertDefRequest{Id: typeStringToWrapperspbString(plan.ID)} + getAlertResp, err := r.client.Get(ctx, getAlertReq) + if err != nil { + log.Printf("[ERROR] Received error: %s", err.Error()) + if status.Code(err) == codes.NotFound { + resp.Diagnostics.AddWarning( + fmt.Sprintf("Alert %q is in state, but no longer exists in Coralogix backend", plan.ID.ValueString()), + fmt.Sprintf("%s will be recreated when you apply", plan.ID.ValueString()), + ) + resp.State.RemoveResource(ctx) + } else { + resp.Diagnostics.AddError( + "Error reading Alert", + formatRpcErrors(err, getAlertURL, protojson.Format(getAlertReq)), + ) + } + return } + log.Printf("[INFO] Received Alert: %s", protojson.Format(getAlertResp)) - return result -} + plan, diags = flattenAlert(ctx, getAlertResp.GetAlertDef()) + if diags.HasError() { + resp.Diagnostics.Append(diags...) + return + } -func expandNewValueTimeFrame(s string) alerts.Timeframe { - protoTimeFrame := alertSchemaNewValueTimeFrameToProtoTimeFrame[s] - return alerts.Timeframe(alerts.Timeframe_value[protoTimeFrame]) + // Set state to fully populated data + resp.Diagnostics.Append(resp.State.Set(ctx, plan)...) } -func expandUniqueValueTimeFrame(s string) alerts.Timeframe { - protoTimeFrame := alertSchemaUniqueCountTimeFrameToProtoTimeFrame[s] - return alerts.Timeframe(alerts.Timeframe_value[protoTimeFrame]) -} +func (r *AlertResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) { + var state AlertResourceModel + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } -func expandTimeInDay(v interface{}) *alerts.Time { - timeArr := strings.Split(v.(string), ":") - hours := parseNumInt32(timeArr[0]) - minutes := parseNumInt32(timeArr[1]) - return &alerts.Time{ - Hours: hours, - Minutes: minutes, + id := state.ID.ValueString() + log.Printf("[INFO] Delteting Alert %s", id) + deleteReq := &cxsdk.DeleteAlertDefRequest{Id: wrapperspb.String(id)} + log.Printf("[INFO] Deleting Alert: %s", protojson.Format(deleteReq)) + if _, err := r.client.Delete(ctx, deleteReq); err != nil { + resp.Diagnostics.AddError( + fmt.Sprintf("Error Deleting Alert %s", id), + formatRpcErrors(err, deleteAlertURL, protojson.Format(deleteReq)), + ) + return } + log.Printf("[INFO] Alert %s deleted", id) } diff --git a/coralogix/resource_coralogix_alert_test.go b/coralogix/resource_coralogix_alert_test.go index 84ae36f4..2c769482 100644 --- a/coralogix/resource_coralogix_alert_test.go +++ b/coralogix/resource_coralogix_alert_test.go @@ -17,14 +17,11 @@ package coralogix import ( "context" "fmt" - "math" - "strconv" "testing" "terraform-provider-coralogix/coralogix/clientset" - alertsv1 "terraform-provider-coralogix/coralogix/clientset/grpc/alerts/v2" - "github.com/hashicorp/terraform-plugin-testing/helper/acctest" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "google.golang.org/protobuf/types/known/wrapperspb" @@ -32,634 +29,1339 @@ import ( var alertResourceName = "coralogix_alert.test" -func TestAccCoralogixResourceAlert_standard(t *testing.T) { - alert := standardAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - groupBy: []string{"EventType"}, - occurrencesThreshold: acctest.RandIntRange(1, 1000), - timeWindow: selectRandomlyFromSlice(alertValidTimeFrames), - deadmanRatio: selectRandomlyFromSlice(alertValidDeadmanRatioValues), - } - checks := extractStandardAlertChecks(alert) - - updatedAlert := standardAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - groupBy: []string{"EventType"}, - occurrencesThreshold: acctest.RandIntRange(1, 1000), - timeWindow: selectRandomlyFromSlice(alertValidTimeFrames), - deadmanRatio: selectRandomlyFromSlice(alertValidDeadmanRatioValues), - } - updatedAlertChecks := extractStandardAlertChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_immediate(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertStandard(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsImmediate(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs immediate alert"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs immediate alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "labels.alert_type", "security"), + resource.TestCheckResourceAttr(alertResourceName, "labels.security_severity", "high"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered and Resolved"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "10"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Wednesday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "8"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_immediate.logs_filter.simple_filter.lucene_query", "message:\"error\""), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertStandard(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsImmediateUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs immediate alert updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs immediate alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notification_group.webhooks_settings.*", + map[string]string{ + "retriggering_period.minutes": "1", + "notify_on": "Triggered Only", + "recipients.#": "1", + "recipients.0": "example@coralogix.com", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered and Resolved"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "10"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Wednesday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "9"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "21"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_immediate.logs_filter.simple_filter.lucene_query", "message:\"error\""), + ), }, }, }) } -func TestAccCoralogixResourceAlert_ratio(t *testing.T) { - alert := ratioAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - q2Severities: selectManyRandomlyFromSlice(alertValidLogSeverities), - timeWindow: selectRandomlyFromSlice(alertValidTimeFrames), - ratio: randFloat(), - groupBy: []string{"EventType"}, - q2SearchQuery: "remote_addr_enriched:/.*/", - ignoreInfinity: randBool(), - } - checks := extractRatioAlertChecks(alert) - - updatedAlert := ratioAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - q2Severities: selectManyRandomlyFromSlice(alertValidLogSeverities), - timeWindow: selectRandomlyFromSlice(alertValidTimeFrames), - ratio: randFloat(), - groupBy: []string{"EventType"}, - q2SearchQuery: "remote_addr_enriched:/.*/", - ignoreInfinity: randBool(), - } - updatedAlertChecks := extractRatioAlertChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_more_than(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertRatio(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsMoreThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-more-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-more-than alert example from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "labels.alert_type", "security"), + resource.TestCheckResourceAttr(alertResourceName, "labels.security_severity", "high"), + resource.TestCheckResourceAttr(alertResourceName, "notification_group.webhooks_settings.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notification_group.webhooks_settings.*", + map[string]string{ + "recipients.#": "1", + "recipients.0": "example@coralogix.com", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered and Resolved"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "1"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Wednesday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "8"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.rules.0.condition", + map[string]string{ + "threshold": "2", + "time_window": "10_MINUTES", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.lucene_query", "message:\"error\""), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "value": "subsystem-name", + }, + ), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.severities.*", "Warning"), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertRatio(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsMoreThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-more_-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of standard alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "labels.alert_type", "security"), + resource.TestCheckResourceAttr(alertResourceName, "labels.security_severity", "low"), + resource.TestCheckResourceAttr(alertResourceName, "notification_group.webhooks_settings.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered Only"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "10"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Monday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "8"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.rules.0.condition", + map[string]string{ + "threshold": "20", + "time_window": "2_HOURS", + }, + ), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.lucene_query", "message:\"error\""), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "NOT", + "value": "application_name", + }, + ), + ), }, }, }) } -func TestAccCoralogixResourceAlert_newValue(t *testing.T) { - alert := newValueAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - keyToTrack: "EventType", - timeWindow: selectRandomlyFromSlice(alertValidNewValueTimeFrames), - } - alert.notifyOn = "Triggered_only" - checks := extractNewValueChecks(alert) - - updatedAlert := newValueAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - keyToTrack: "EventType", - timeWindow: selectRandomlyFromSlice(alertValidNewValueTimeFrames), - } - updatedAlert.notifyOn = "Triggered_only" - updatedAlertChecks := extractNewValueChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_less_than(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertNewValue(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsLessThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "less-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-threshold less-than alert example from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "labels.alert_type", "security"), + resource.TestCheckResourceAttr(alertResourceName, "labels.security_severity", "high"), + resource.TestCheckResourceAttr(alertResourceName, "notification_group.webhooks_settings.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notification_group.webhooks_settings.*", + map[string]string{ + "recipients.#": "1", + "recipients.0": "example@coralogix.com", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered and Resolved"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "1"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Wednesday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "8"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.rules.0.condition", + map[string]string{ + "time_window": "10_MINUTES", + "threshold": "2", + "condition_type": "LESS_THAN", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.lucene_query", "message:\"error\""), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "value": "subsystem-name", + }, + ), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.severities.*", "Warning"), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertNewValue(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsLessThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-less-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-less-than alert example from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "labels.alert_type", "security"), + resource.TestCheckResourceAttr(alertResourceName, "labels.security_severity", "low"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered Only"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "10"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Monday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "8"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.rules.0.condition", + map[string]string{ + "time_window": "2_HOURS", + "threshold": "20", + "condition_type": "LESS_THAN", + }, + ), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.lucene_query", "message:\"error\""), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "NOT", + "value": "application_name", + }, + ), + ), }, }, - }) + }, + ) } -func TestAccCoralogixResourceAlert_uniqueCount(t *testing.T) { - alert := uniqueCountAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - uniqueCountKey: "EventType", - timeWindow: selectRandomlyFromSlice(alertValidUniqueCountTimeFrames), - groupByKey: "metadata.name", - maxUniqueValues: 2, - maxUniqueValuesForGroupBy: 20, - } - checks := extractUniqueCountAlertChecks(alert) - - updatedAlert := uniqueCountAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - uniqueCountKey: "EventType", - timeWindow: selectRandomlyFromSlice(alertValidUniqueCountTimeFrames), - groupByKey: "metadata.name", - maxUniqueValues: 2, - maxUniqueValuesForGroupBy: 20, - } - updatedAlertChecks := extractUniqueCountAlertChecks(updatedAlert) - updatedAlertChecks = updatedAlertChecks[:len(updatedAlertChecks)-1] // remove group_by check - +func TestAccCoralogixResourceAlert_logs_more_than_usual(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertUniqueCount(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsMoreThanUsual(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-more-than-usual alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-more-than-usual alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P4"), + resource.TestCheckResourceAttr(alertResourceName, "labels.alert_type", "security"), + resource.TestCheckResourceAttr(alertResourceName, "labels.security_severity", "high"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notification_group.webhooks_settings.*", + map[string]string{ + "retriggering_period.minutes": "1", + "notify_on": "Triggered and Resolved", + "recipients.#": "1", + "recipients.0": "example@coralogix.com", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered and Resolved"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "1"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Wednesday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "8"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "value": "subsystem-name", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.lucene_query", "message:\"error\""), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.severities.*", "Warning"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_anomaly.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_anomaly.rules.0.condition", + map[string]string{ + "minimum_threshold": "2", + "time_window": "10_MINUTES", + }, + ), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_anomaly.notification_payload_filter.*", "coralogix.metadata.sdkId"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_anomaly.notification_payload_filter.*", "coralogix.metadata.sdkName"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_anomaly.notification_payload_filter.*", "coralogix.metadata.sdkVersion"), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertUniqueCount(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsMoreThanUsualUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-more-than-usual alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-more-than-usual alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P1"), + resource.TestCheckResourceAttr(alertResourceName, "labels.#", "0"), + resource.TestCheckResourceAttr(alertResourceName, "notification_group.webhooks_settings.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered and Resolved"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.lucene_query", "message:\"updated_error\""), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "value": "subsystem-name", + }, + ), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.severities.*", "Warning"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.severities.*", "Error"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_anomaly.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_anomaly.rules.0.condition", + map[string]string{ + "minimum_threshold": "20", + "time_window": "1_HOUR", + }, + ), + ), }, }, - }) + }, + ) } -func TestAccCoralogixResourceAlert_timeRelative(t *testing.T) { - alert := timeRelativeAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - ratioThreshold: acctest.RandIntRange(0, 1000), - relativeTimeWindow: selectRandomlyFromSlice(alertValidRelativeTimeFrames), - groupBy: []string{"EventType"}, - ignoreInfinity: randBool(), - } - checks := extractTimeRelativeChecks(alert) - - updatedAlert := timeRelativeAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - ratioThreshold: acctest.RandIntRange(0, 1000), - relativeTimeWindow: selectRandomlyFromSlice(alertValidRelativeTimeFrames), - groupBy: []string{"EventType"}, - ignoreInfinity: randBool(), - } - updatedAlertChecks := extractTimeRelativeChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_less_than_usual(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertTimeRelative(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsLessThanUsual(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-less-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-less-than alert example from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "labels.alert_type", "security"), + resource.TestCheckResourceAttr(alertResourceName, "labels.security_severity", "high"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notification_group.webhooks_settings.*", + map[string]string{ + "recipients.#": "2", + "recipients.0": "example2@coralogix.com", + "recipients.1": "example@coralogix.com", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered and Resolved"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "1"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Wednesday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "10"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.rules.0.condition", + map[string]string{ + "threshold": "2", + "time_window": "10_MINUTES", + "condition_type": "LESS_THAN", + }, + ), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.lucene_query", "message:\"error\""), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "NOT", + "value": "application_name", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "STARTS_WITH", + "value": "subsystem-name", + }, + ), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.severities.*", "Warning"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.severities.*", "Error"), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertTimeRelative(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsLessThanUsualUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-less-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-less-than alert example from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "notification_group.webhooks_settings.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.notify_on", "Triggered Only"), + resource.TestCheckResourceAttr(alertResourceName, "incidents_settings.retriggering_period.minutes", "10"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.days_of_week.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Monday"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "schedule.active_on.days_of_week.*", "Thursday"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.hours", "8"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.start_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.hours", "20"), + resource.TestCheckResourceAttr(alertResourceName, "schedule.active_on.end_time.minutes", "30"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.rules.0.condition", + map[string]string{ + "threshold": "20", + "time_window": "2_HOURS", + "condition_type": "LESS_THAN", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.lucene_query", "message:\"error\""), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "NOT", + "value": "application_name", + }, + ), + ), }, }, - }) + }, + ) } -func TestAccCoralogixResourceAlert_metricLucene(t *testing.T) { - alert := metricLuceneAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - groupBy: []string{"EventType"}, - metricField: "subsystem", - timeWindow: selectRandomlyFromSlice(alertValidMetricTimeFrames), - threshold: acctest.RandIntRange(0, 1000), - arithmeticOperator: selectRandomlyFromSlice(alertValidArithmeticOperators), - } - if alert.arithmeticOperator == "Percentile" { - alert.arithmeticOperatorModifier = acctest.RandIntRange(0, 100) - } - checks := extractLuceneMetricChecks(alert) - - updatedAlert := metricLuceneAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - groupBy: []string{"EventType"}, - metricField: "subsystem", - timeWindow: selectRandomlyFromSlice(alertValidMetricTimeFrames), - threshold: acctest.RandIntRange(0, 1000), - arithmeticOperator: selectRandomlyFromSlice(alertValidArithmeticOperators), - } - if updatedAlert.arithmeticOperator == "Percentile" { - updatedAlert.arithmeticOperatorModifier = acctest.RandIntRange(0, 100) - } - updatedAlertChecks := extractLuceneMetricChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_ratio_threshold(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertMetricLucene(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsRatioMoreThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-ratio-more-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-ratio-more-than alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P1"), + resource.TestCheckResourceAttr(alertResourceName, "group_by.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "coralogix.metadata.alert_id"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "coralogix.metadata.alert_name"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notification_group.webhooks_settings.*", + map[string]string{ + "recipients.#": "1", + "recipients.0": "example@coralogix.com", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.denominator_alias", "denominator"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator_alias", "numerator"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition", + map[string]string{ + "threshold": "2", + "condition_type": "MORE_THAN", + "time_window": "10_MINUTES", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.denominator.simple_filter.lucene_query", "mod_date:[20020101 TO 20030101]"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "value": "subsystem-name", + }, + ), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.severities.*", "Warning"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.lucene_query", "mod_date:[20030101 TO 20040101]"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "value": "subsystem-name", + }, + ), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.severities.*", "Error"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.group_by_for", "Both"), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertMetricLucene(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsRatioMoreThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-ratio-more-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-ratio-more-than alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "group_by.#", "3"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "coralogix.metadata.alert_id"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "coralogix.metadata.alert_name"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "coralogix.metadata.alert_description"), + resource.TestCheckResourceAttr(alertResourceName, "notification_group.webhooks_settings.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notification_group.webhooks_settings.*", + map[string]string{ + "recipients.#": "1", + "recipients.0": "example@coralogix.com", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.denominator_alias", "updated-denominator"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator_alias", "updated-numerator"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.time_window", "1_HOUR"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.threshold", "120"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.condition_type", "MORE_THAN"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.group_by_for", "Numerator Only"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.denominator.simple_filter.lucene_query", "mod_date:[20030101 TO 20040101]"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "value": "nginx", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "value": "subsystem-name", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.lucene_query", "mod_date:[20040101 TO 20050101]"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.application_name.#", "0"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.severities.#", "0"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.subsystem_name.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "ENDS_WITH", + "value": "updated-subsystem-name", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.subsystem_name.*", + map[string]string{ + "operation": "NOT", + "value": "subsystem-name", + }, + ), + ), }, }, - }) + }, + ) } -func TestAccCoralogixResourceAlert_metricPromql(t *testing.T) { - alert := metricPromqlAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - threshold: acctest.RandIntRange(0, 1000), - nonNullPercentage: 10 * acctest.RandIntRange(0, 10), - timeWindow: selectRandomlyFromSlice(alertValidMetricTimeFrames), - condition: "less_than", - } - checks := extractMetricPromqlAlertChecks(alert) - - updatedAlert := metricPromqlAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - threshold: acctest.RandIntRange(0, 1000), - nonNullPercentage: 10 * acctest.RandIntRange(0, 10), - timeWindow: selectRandomlyFromSlice(alertValidMetricTimeFrames), - condition: "more_than", - } - updatedAlertChecks := extractMetricPromqlAlertChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_ratio_less_than(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertMetricPromql(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsRatioLessThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-ratio-less-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-ratio-less-than alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "group_by.#", "2"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "coralogix.metadata.alert_id"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "coralogix.metadata.alert_name"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.denominator_alias", "denominator"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator_alias", "numerator"), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.time_window", "10_MINUTES"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.threshold", "2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.condition_type", "LESS_THAN"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.group_by_for", "Denominator Only"), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertMetricPromql(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsRatioLessThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-ratio-less-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-ratio-less-than alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "group_by.#", "0"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.denominator_alias", "updated-denominator"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.numerator_alias", "updated-numerator"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.time_window", "2_HOUR"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.threshold", "20"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_ratio_threshold.rules.0.condition.condition_type", "LESS_THAN"), + ), }, }, }) } -func TestAccCoralogixResourceAlert_tracing(t *testing.T) { - alert := tracingAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - conditionLatencyMs: math.Round(randFloat()*1000) / 1000, - occurrencesThreshold: acctest.RandIntRange(1, 10000), - timeWindow: selectRandomlyFromSlice(alertValidTimeFrames), - groupBy: []string{"EventType"}, - } - checks := extractTracingAlertChecks(alert) - - updatedAlert := tracingAlertTestParams{ - alertCommonTestParams: *getRandomAlert(), - conditionLatencyMs: math.Round(randFloat()*1000) / 1000, - occurrencesThreshold: acctest.RandIntRange(1, 10000), - timeWindow: selectRandomlyFromSlice(alertValidTimeFrames), - groupBy: []string{"EventType"}, - } - updatedAlertChecks := extractTracingAlertChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_new_value(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertTracing(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsNewValue(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-new-value alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-new-value alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.notification_payload_filter.#", "3"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_new_value.notification_payload_filter.*", "coralogix.metadata.sdkId"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_new_value.notification_payload_filter.*", "coralogix.metadata.sdkName"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "type_definition.logs_new_value.notification_payload_filter.*", "coralogix.metadata.sdkVersion"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.rules.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.rules.0.condition.time_window", "24_HOURS"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.rules.0.condition.keypath_to_track", "remote_addr_geoip.country_name"), + ), }, { ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertTracing(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsNewValueUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-new-value alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-new-value alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.notification_payload_filter.#", "0"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.rules.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.rules.0.condition.time_window", "12_HOURS"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_new_value.rules.0.condition.keypath_to_track", "remote_addr_geoip.city_name"), + ), }, }, - }) + }, + ) } -func TestAccCoralogixResourceAlert_flow(t *testing.T) { - resourceName := "coralogix_alert.test" - - alert := flowAlertTestParams{ - name: acctest.RandomWithPrefix("tf-acc-test"), - description: acctest.RandomWithPrefix("tf-acc-test"), - emailRecipients: []string{"user@example.com"}, - webhookID: "691ea5c4-79e1-4ef4-aecc-67a764551a16", - severity: selectRandomlyFromSlice(alertValidSeverities), - activeWhen: randActiveWhen(), - notifyEveryMin: acctest.RandIntRange(1500 /*to avoid notify_every < condition.0.time_window*/, 3600), - notifyOn: "Triggered_only", - } - checks := extractFlowAlertChecks(alert) - - updatedAlert := flowAlertTestParams{ - name: acctest.RandomWithPrefix("tf-acc-test"), - description: acctest.RandomWithPrefix("tf-acc-test"), - emailRecipients: []string{"user@example.com"}, - webhookID: "691ea5c4-79e1-4ef4-aecc-67a764551a16", - severity: selectRandomlyFromSlice(alertValidSeverities), - activeWhen: randActiveWhen(), - notifyEveryMin: acctest.RandIntRange(1500 /*to avoid notify_every < condition.0.time_window*/, 3600), - notifyOn: "Triggered_only", - } - updatedAlertChecks := extractFlowAlertChecks(updatedAlert) - +func TestAccCoralogixResourceAlert_logs_unique_count(t *testing.T) { resource.Test(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, - ProviderFactories: testAccProviderFactories, - CheckDestroy: testAccCheckAlertDestroy, + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, Steps: []resource.TestStep{ { - Config: testAccCoralogixResourceAlertFLow(&alert), - Check: resource.ComposeAggregateTestCheckFunc(checks...), + Config: testAccCoralogixResourceAlertLogsUniqueCount(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-unique-count alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-unique-count alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "group_by.#", "1"), + resource.TestCheckTypeSetElemAttr(alertResourceName, "group_by.*", "remote_addr_geoip.city_name"), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.0.condition.time_window", "5_MINUTES"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.0.condition.max_unique_count_per_group_by_key", "500"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.0.condition.max_unique_count", "2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.0.condition.unique_count_keypath", "remote_addr_geoip.country_name"), + ), }, { - ResourceName: resourceName, + ResourceName: alertResourceName, ImportState: true, }, { - Config: testAccCoralogixResourceAlertFLow(&updatedAlert), - Check: resource.ComposeAggregateTestCheckFunc(updatedAlertChecks...), + Config: testAccCoralogixResourceAlertLogsUniqueCountUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-unique-count alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-unique-count alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "group_by.#", "0"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.0.condition.time_window", "20_MINUTES"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.0.condition.max_unique_count", "5"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_unique_count.rules.0.condition.unique_count_keypath", "remote_addr_geoip.city_name"), + ), }, }, - }) + }, + ) } -func getRandomAlert() *alertCommonTestParams { - return &alertCommonTestParams{ - name: acctest.RandomWithPrefix("tf-acc-test"), - description: acctest.RandomWithPrefix("tf-acc-test"), - webhookID: "691ea5c4-79e1-4ef4-aecc-67a764551a16", - emailRecipients: []string{"user@example.com"}, - searchQuery: "remote_addr_enriched:/.*/", - severity: selectRandomlyFromSlice(alertValidSeverities), - activeWhen: randActiveWhen(), - notifyEveryMin: acctest.RandIntRange(2160 /*to avoid notify_every < condition.0.time_window*/, 3600), - notifyOn: selectRandomlyFromSlice(validNotifyOn), - alertFilters: alertFilters{ - severities: selectManyRandomlyFromSlice(alertValidLogSeverities), +func TestAccCoralogixResourceAlert_logs_time_relative_more_than(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertLogsTimeRelativeMoreThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-time-relative-more-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-time-relative-more-than alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P4"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_time_relative_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_time_relative_threshold.rules.0.condition", + map[string]string{ + "threshold": "10", + "compared_to": "Same Hour Yesterday", + "ignore_infinity": "true", + }, + ), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertLogsTimeRelativeMoreThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-time-relative-more-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-time-relative-more-than alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_time_relative_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_time_relative_threshold.rules.0.condition", + map[string]string{ + "threshold": "50", + "compared_to": "Same Day Last Week", + "ignore_infinity": "false", + }, + ), + ), + }, }, - } + }, + ) } -func extractStandardAlertChecks(alert standardAlertTestParams) []resource.TestCheckFunc { - checks := extractCommonChecks(&alert.alertCommonTestParams, "standard") - checks = append(checks, - resource.TestCheckResourceAttr(alertResourceName, "meta_labels.alert_type", "security"), - resource.TestCheckResourceAttr(alertResourceName, "meta_labels.security_severity", "high"), - resource.TestCheckResourceAttr(alertResourceName, "standard.0.condition.0.threshold", strconv.Itoa(alert.occurrencesThreshold)), - resource.TestCheckResourceAttr(alertResourceName, "standard.0.condition.0.time_window", alert.timeWindow), - resource.TestCheckResourceAttr(alertResourceName, "standard.0.condition.0.group_by.0", alert.groupBy[0]), - resource.TestCheckResourceAttr(alertResourceName, "standard.0.condition.0.less_than", "true"), - resource.TestCheckResourceAttr(alertResourceName, "standard.0.condition.0.manage_undetected_values.0.enable_triggering_on_undetected_values", "true"), - resource.TestCheckResourceAttr(alertResourceName, "standard.0.condition.0.manage_undetected_values.0.auto_retire_ratio", alert.deadmanRatio), - ) - return checks -} - -func extractRatioAlertChecks(alert ratioAlertTestParams) []resource.TestCheckFunc { - checks := extractCommonChecks(&alert.alertCommonTestParams, "ratio.0.query_1") - checks = append(checks, - resource.TestCheckResourceAttr(alertResourceName, "ratio.0.query_2.0.search_query", alert.q2SearchQuery), - resource.TestCheckResourceAttr(alertResourceName, "ratio.0.condition.0.more_than", "true"), - resource.TestCheckResourceAttr(alertResourceName, "ratio.0.condition.0.ratio_threshold", fmt.Sprintf("%f", alert.ratio)), - resource.TestCheckResourceAttr(alertResourceName, "ratio.0.condition.0.time_window", alert.timeWindow), - resource.TestCheckResourceAttr(alertResourceName, "ratio.0.condition.0.group_by.0", alert.groupBy[0]), - resource.TestCheckResourceAttr(alertResourceName, "ratio.0.condition.0.group_by_q1", "true"), - resource.TestCheckResourceAttr(alertResourceName, "ratio.0.condition.0.ignore_infinity", fmt.Sprintf("%t", alert.ignoreInfinity)), +func TestAccCoralogixResourceAlert_logs_time_relative_less_than(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertLogsTimeRelativeLessThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-time-relative-more-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-time-relative-more-than alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P4"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_time_relative_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_time_relative_threshold.rules.0.condition", + map[string]string{ + "threshold": "10", + "compared_to": "Same Hour Yesterday", + "ignore_infinity": "true", + }, + ), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertLogsTimeRelativeLessThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "logs-time-relative-more-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of logs-time-relative-more-than alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_time_relative_threshold.undetected_values_management.trigger_undetected_values", "true"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_time_relative_threshold.undetected_values_management.auto_retire_timeframe", "6_HOURS"), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.logs_time_relative_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.logs_time_relative_threshold.rules.0.condition", + map[string]string{ + "threshold": "50", + "compared_to": "Same Day Last Week", + "ignore_infinity": "false", + }, + ), + ), + }, + }, + }, ) - checks = appendSeveritiesCheck(checks, alert.alertFilters.severities, "ratio.0.query_2") - - return checks } -func extractNewValueChecks(alert newValueAlertTestParams) []resource.TestCheckFunc { - checks := extractCommonChecks(&alert.alertCommonTestParams, "new_value") - checks = append(checks, - resource.TestCheckResourceAttr(alertResourceName, "new_value.0.condition.0.key_to_track", alert.keyToTrack), - resource.TestCheckResourceAttr(alertResourceName, "new_value.0.condition.0.time_window", alert.timeWindow), +func TestAccCoralogixResourceAlert_metric_more_than(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertMetricMoreThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-more-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-more-than alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", + map[string]string{ + "threshold": "2", + "for_over_pct": "10", + "of_the_last": "10_MINUTES", + "missing_values.min_non_null_values_pct": "50", + }, + ), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertMetricMoreThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-more-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-more-than alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P4"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", + map[string]string{ + "threshold": "10", + "for_over_pct": "15", + "of_the_last": "1_HOUR", + "missing_values.replace_with_zero": "true", + }, + ), + ), + }, + }, + }, ) - return checks } -func extractUniqueCountAlertChecks(alert uniqueCountAlertTestParams) []resource.TestCheckFunc { - checks := extractCommonChecks(&alert.alertCommonTestParams, "unique_count") - checks = append(checks, - resource.TestCheckResourceAttr(alertResourceName, "unique_count.0.condition.0.unique_count_key", alert.uniqueCountKey), - resource.TestCheckResourceAttr(alertResourceName, "unique_count.0.condition.0.unique_count_key", alert.uniqueCountKey), - resource.TestCheckResourceAttr(alertResourceName, "unique_count.0.condition.0.time_window", alert.timeWindow), - resource.TestCheckResourceAttr(alertResourceName, "unique_count.0.condition.0.max_unique_values", strconv.Itoa(alert.maxUniqueValues)), - resource.TestCheckResourceAttr(alertResourceName, "unique_count.0.condition.0.max_unique_values_for_group_by", strconv.Itoa(alert.maxUniqueValuesForGroupBy)), +func TestAccCoralogixResourceAlert_metric_less_than(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertMetricLessThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-less-than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-less-than alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P4"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", + map[string]string{ + "threshold": "2", + "for_over_pct": "10", + "of_the_last": "10_MINUTES", + "missing_values.replace_with_zero": "true", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.trigger_undetected_values", "true"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.auto_retire_timeframe", "5_MINUTES"), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertMetricLessThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-less-than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-less-than alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.trigger_undetected_values", "true"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.auto_retire_timeframe", "5_MINUTES"), + + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", + map[string]string{ + "threshold": "5", + "for_over_pct": "15", + "of_the_last": "10_MINUTES", + "missing_values.min_non_null_values_pct": "50", + }, + ), + ), + }, + }, + }, ) - return checks } -func extractTimeRelativeChecks(alert timeRelativeAlertTestParams) []resource.TestCheckFunc { - checks := extractCommonChecks(&alert.alertCommonTestParams, "time_relative") - checks = append(checks, - resource.TestCheckResourceAttr(alertResourceName, "time_relative.0.condition.0.ratio_threshold", strconv.Itoa(alert.ratioThreshold)), - resource.TestCheckResourceAttr(alertResourceName, "time_relative.0.condition.0.relative_time_window", alert.relativeTimeWindow), - resource.TestCheckResourceAttr(alertResourceName, "time_relative.0.condition.0.group_by.0", alert.groupBy[0]), - resource.TestCheckResourceAttr(alertResourceName, "time_relative.0.condition.0.ignore_infinity", fmt.Sprintf("%t", alert.ignoreInfinity)), +func TestAccCoralogixResourceAlert_metric_less_than_usual(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertMetricsLessThanUsual(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-less-than-usual alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-less-than-usual alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_anomaly.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_anomaly.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_anomaly.rules.0.condition", + map[string]string{ + "threshold": "20", + "for_over_pct": "10", + "of_the_last": "12_HOURS", + "condition_type": "LESS_THAN", + "min_non_null_values_pct": "50", + }, + ), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertMetricsLessThanUsualUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-less-than-usual alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-less-than-usual alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_anomaly.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_anomaly.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_anomaly.rules.0.condition", + map[string]string{ + "threshold": "2", + "for_over_pct": "10", + "of_the_last": "10_MINUTES", + "condition_type": "LESS_THAN", + "min_non_null_values_pct": "50", + }, + ), + ), + }, + }, + }, ) +} - return checks -} - -func extractLuceneMetricChecks(alert metricLuceneAlertTestParams) []resource.TestCheckFunc { - checks := []resource.TestCheckFunc{ - resource.TestCheckResourceAttrSet(alertResourceName, "id"), - resource.TestCheckResourceAttr(alertResourceName, "enabled", "true"), - resource.TestCheckResourceAttr(alertResourceName, "name", alert.name), - resource.TestCheckResourceAttr(alertResourceName, "description", alert.description), - resource.TestCheckResourceAttr(alertResourceName, "severity", alert.severity), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "integration_id": alert.webhookID, - }), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "email_recipients.0": alert.emailRecipients[0], - }), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.search_query", alert.searchQuery), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.metric_field", alert.metricField), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.arithmetic_operator", alert.arithmeticOperator), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.less_than", "true"), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.threshold", strconv.Itoa(alert.threshold)), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.arithmetic_operator_modifier", strconv.Itoa(alert.arithmeticOperatorModifier)), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.sample_threshold_percentage", strconv.Itoa(alert.sampleThresholdPercentage)), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.time_window", alert.timeWindow), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.group_by.0", alert.groupBy[0]), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.lucene.0.condition.0.manage_undetected_values.0.enable_triggering_on_undetected_values", "false"), - } - checks = appendSchedulingChecks(checks, alert.daysOfWeek, alert.activityStarts, alert.activityEnds) - return checks -} - -func extractMetricPromqlAlertChecks(alert metricPromqlAlertTestParams) []resource.TestCheckFunc { - checks := []resource.TestCheckFunc{ - resource.TestCheckResourceAttrSet(alertResourceName, "id"), - resource.TestCheckResourceAttr(alertResourceName, "enabled", "true"), - resource.TestCheckResourceAttr(alertResourceName, "name", alert.name), - resource.TestCheckResourceAttr(alertResourceName, "description", alert.description), - resource.TestCheckResourceAttr(alertResourceName, "severity", alert.severity), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "integration_id": alert.webhookID, - }), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "email_recipients.0": alert.emailRecipients[0], - }), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.search_query", "http_requests_total{status!~\"4..\"}"), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.threshold", strconv.Itoa(alert.threshold)), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.sample_threshold_percentage", strconv.Itoa(alert.sampleThresholdPercentage)), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.min_non_null_values_percentage", strconv.Itoa(alert.nonNullPercentage)), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.time_window", alert.timeWindow), - } - if alert.condition == "less_than" { - checks = append(checks, - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.less_than", "true"), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.manage_undetected_values.0.enable_triggering_on_undetected_values", "true"), - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.manage_undetected_values.0.auto_retire_ratio", "Never"), - ) - } else { - checks = append(checks, - resource.TestCheckResourceAttr(alertResourceName, "metric.0.promql.0.condition.0.more_than", "true"), - ) - } - checks = appendSchedulingChecks(checks, alert.daysOfWeek, alert.activityStarts, alert.activityEnds) - return checks -} - -func extractTracingAlertChecks(alert tracingAlertTestParams) []resource.TestCheckFunc { - checks := []resource.TestCheckFunc{ - resource.TestCheckResourceAttrSet(alertResourceName, "id"), - resource.TestCheckResourceAttr(alertResourceName, "enabled", "true"), - resource.TestCheckResourceAttr(alertResourceName, "name", alert.name), - resource.TestCheckResourceAttr(alertResourceName, "description", alert.description), - resource.TestCheckResourceAttr(alertResourceName, "severity", alert.severity), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "integration_id": alert.webhookID, - }), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "email_recipients.0": alert.emailRecipients[0], - }), - resource.TestCheckResourceAttr(alertResourceName, "tracing.0.latency_threshold_milliseconds", fmt.Sprintf("%.3f", alert.conditionLatencyMs)), - resource.TestCheckResourceAttr(alertResourceName, "tracing.0.condition.0.more_than", "true"), - resource.TestCheckResourceAttr(alertResourceName, "tracing.0.condition.0.time_window", alert.timeWindow), - resource.TestCheckResourceAttr(alertResourceName, "tracing.0.condition.0.threshold", strconv.Itoa(alert.occurrencesThreshold)), - resource.TestCheckResourceAttr(alertResourceName, "tracing.0.applications.0", "nginx"), - resource.TestCheckResourceAttr(alertResourceName, "tracing.0.subsystems.0", "subsystem-name"), - resource.TestCheckResourceAttr(alertResourceName, "tracing.0.tag_filter.0.field", "Status"), - resource.TestCheckTypeSetElemAttr(alertResourceName, "tracing.0.tag_filter.0.values.*", "filter:contains:400"), - resource.TestCheckTypeSetElemAttr(alertResourceName, "tracing.0.tag_filter.0.values.*", "500"), - } - checks = appendSchedulingChecks(checks, alert.daysOfWeek, alert.activityStarts, alert.activityEnds) - return checks -} - -func extractFlowAlertChecks(alert flowAlertTestParams) []resource.TestCheckFunc { - checks := []resource.TestCheckFunc{ - resource.TestCheckResourceAttrSet(alertResourceName, "id"), - resource.TestCheckResourceAttr(alertResourceName, "enabled", "true"), - resource.TestCheckResourceAttr(alertResourceName, "name", alert.name), - resource.TestCheckResourceAttr(alertResourceName, "description", alert.description), - resource.TestCheckResourceAttr(alertResourceName, "severity", alert.severity), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "integration_id": alert.webhookID, - }), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "email_recipients.0": alert.emailRecipients[0], - }), - resource.TestCheckResourceAttr(alertResourceName, "incident_settings.0.notify_on", alert.notifyOn), - resource.TestCheckResourceAttr(alertResourceName, "incident_settings.0.retriggering_period_minutes", strconv.Itoa(alert.notifyEveryMin)), - resource.TestCheckResourceAttr(alertResourceName, "flow.0.stage.0.group.0.sub_alerts.0.operator", "OR"), - resource.TestCheckResourceAttr(alertResourceName, "flow.0.stage.0.group.0.next_operator", "OR"), - resource.TestCheckResourceAttr(alertResourceName, "flow.0.stage.0.group.1.sub_alerts.0.operator", "AND"), - resource.TestCheckResourceAttr(alertResourceName, "flow.0.stage.0.group.1.sub_alerts.0.flow_alert.0.not", "true"), - resource.TestCheckResourceAttr(alertResourceName, "flow.0.stage.0.group.1.next_operator", "AND"), - resource.TestCheckResourceAttr(alertResourceName, "flow.0.stage.0.time_window.0.minutes", "20"), - resource.TestCheckResourceAttr(alertResourceName, "flow.0.group_by.0", "coralogix.metadata.sdkId"), - } - checks = appendSchedulingChecks(checks, alert.daysOfWeek, alert.activityStarts, alert.activityEnds) - return checks -} - -func extractCommonChecks(alert *alertCommonTestParams, alertType string) []resource.TestCheckFunc { - checks := []resource.TestCheckFunc{ - resource.TestCheckResourceAttrSet(alertResourceName, "id"), - resource.TestCheckResourceAttr(alertResourceName, "enabled", "true"), - resource.TestCheckResourceAttr(alertResourceName, "name", alert.name), - resource.TestCheckResourceAttr(alertResourceName, "description", alert.description), - resource.TestCheckResourceAttr(alertResourceName, "severity", alert.severity), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "integration_id": alert.webhookID, - }), - resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "notifications_group.0.notification.*", - map[string]string{ - "email_recipients.0": alert.emailRecipients[0], - }), - resource.TestCheckResourceAttr(alertResourceName, "incident_settings.0.notify_on", alert.notifyOn), - resource.TestCheckResourceAttr(alertResourceName, "incident_settings.0.retriggering_period_minutes", strconv.Itoa(alert.notifyEveryMin)), - resource.TestCheckResourceAttr(alertResourceName, fmt.Sprintf("%s.0.search_query", alertType), alert.searchQuery), - } - - checks = appendSchedulingChecks(checks, alert.daysOfWeek, alert.activityStarts, alert.activityEnds) +func TestAccCoralogixResourceAlert_metric_less_than_or_equals(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertMetricLessThanOrEquals(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-less-than-or-equals alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-less-than-or-equals alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", map[string]string{ + "threshold": "2", + "for_over_pct": "10", + "of_the_last": "10_MINUTES", + "condition_type": "LESS_THAN_OR_EQUALS", + "missing_values.replace_with_zero": "true", + }), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.trigger_undetected_values", "true"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.auto_retire_timeframe", "5_MINUTES"), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertMetricLessThanOrEqualsUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-less-than-or-equals alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-less-than-or-equals alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", map[string]string{ + "threshold": "5", + "for_over_pct": "15", + "of_the_last": "10_MINUTES", + "condition_type": "LESS_THAN_OR_EQUALS", + "missing_values.min_non_null_values_pct": "50", + }), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.trigger_undetected_values", "true"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.undetected_values_management.auto_retire_timeframe", "5_MINUTES"), + ), + }, + }, + }, + ) +} - checks = appendSeveritiesCheck(checks, alert.alertFilters.severities, alertType) +func TestAccCoralogixResourceAlert_metric_more_than_or_equals(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertMetricMoreThanOrEquals(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-more-than-or-equals alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-more-than-or-equals alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", map[string]string{ + "threshold": "2", + "for_over_pct": "10", + "of_the_last": "10_MINUTES", + "condition_type": "MORE_THAN_OR_EQUALS", + "missing_values.replace_with_zero": "true", + }), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertMetricMoreThanOrEqualsUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "metric-more-than-or-equals alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of metric-more-than-or-equals alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P4"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.metric_filter.promql", "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.metric_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.metric_threshold.rules.0.condition", map[string]string{ + "threshold": "10", + "for_over_pct": "15", + "of_the_last": "1_HOUR", + "condition_type": "MORE_THAN_OR_EQUALS", + "missing_values.replace_with_zero": "true", + }), + ), + }, + }, + }, + ) +} - return checks +func TestAccCoralogixResourceAlert_tracing_immediate(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertTracingImmediate(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "tracing_immediate alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of tracing_immediate alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.latency_threshold_ms", "100"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "values.#": "2", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "STARTS_WITH", + "values.#": "1", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.subsystem_name.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "values.#": "1", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.operation_name.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.operation_name.*", + map[string]string{ + "operation": "IS", + "values.#": "1", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.*", + map[string]string{ + "key": "status", + "filter_type.operation": "IS", + "filter_type.values.#": "1", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.*", + map[string]string{ + "key": "status", + "filter_type.operation": "STARTS_WITH", + "filter_type.values.#": "2", + }, + ), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertTracingImmediateUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "tracing_immediate alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of tracing_immediate alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.latency_threshold_ms", "200"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "values.#": "2", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "STARTS_WITH", + "values.#": "1", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.subsystem_name.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.subsystem_name.*", + map[string]string{ + "operation": "IS", + "values.#": "1", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.operation_name.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.operation_name.*", + map[string]string{ + "operation": "IS", + "values.#": "1", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.#", "3"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.*", + map[string]string{ + "key": "status", + "filter_type.operation": "STARTS_WITH", + "filter_type.values.#": "2", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.*", + map[string]string{ + "key": "status", + "filter_type.operation": "ENDS_WITH", + "filter_type.values.#": "2", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.*", + map[string]string{ + "key": "status", + "filter_type.operation": "IS", + "filter_type.values.#": "1", + }, + ), + ), + }, + }, + }) } -func appendSeveritiesCheck(checks []resource.TestCheckFunc, severities []string, alertType string) []resource.TestCheckFunc { - for _, s := range severities { - checks = append(checks, - resource.TestCheckTypeSetElemAttr(alertResourceName, fmt.Sprintf("%s.0.severities.*", alertType), s)) - } - return checks +func TestAccCoralogixResourceAlert_tracing_more_than(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertTracingMoreThan(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "tracing_more_than alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of tracing_more_than alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_threshold.tracing_filter.latency_threshold_ms", "100"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_threshold.tracing_filter.tracing_label_filters.application_name.#", "2"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_threshold.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "values.#": "2", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_threshold.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "STARTS_WITH", + "values.#": "1", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_threshold.rules.0.condition", + map[string]string{ + "time_window": "10_MINUTES", + "span_amount": "5", + }, + ), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertTracingMoreThanUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "tracing_more_than alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of tracing_more_than alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_threshold.tracing_filter.latency_threshold_ms", "200"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_threshold.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "IS", + "values.#": "2", + }, + ), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_threshold.tracing_filter.tracing_label_filters.application_name.*", + map[string]string{ + "operation": "STARTS_WITH", + "values.#": "1", + }, + ), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.tracing_threshold.rules.#", "1"), + resource.TestCheckTypeSetElemNestedAttrs(alertResourceName, "type_definition.tracing_threshold.rules.0.condition", + map[string]string{ + "time_window": "1_HOUR", + "span_amount": "5", + }, + ), + ), + }, + }, + }) } -func appendSchedulingChecks(checks []resource.TestCheckFunc, daysOfWeek []string, startTime, endTime string) []resource.TestCheckFunc { - for _, d := range daysOfWeek { - checks = append(checks, resource.TestCheckTypeSetElemAttr(alertResourceName, "scheduling.0.time_frame.0.days_enabled.*", d)) - } - checks = append(checks, resource.TestCheckResourceAttr(alertResourceName, "scheduling.0.time_frame.0.start_time", startTime)) - checks = append(checks, resource.TestCheckResourceAttr(alertResourceName, "scheduling.0.time_frame.0.end_time", endTime)) - return checks +func TestAccCoralogixResourceAlert_flow(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + CheckDestroy: testAccCheckAlertDestroy, + Steps: []resource.TestStep{ + { + Config: testAccCoralogixResourceAlertFlow(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "flow alert example"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of flow alert from terraform"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.#", "2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alerts_op", "OR"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.next_op", "AND"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alert_defs.#", "2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_ms", "10"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_type", "Up To"), + ), + }, + { + ResourceName: alertResourceName, + ImportState: true, + }, + { + Config: testAccCoralogixResourceAlertFlowUpdated(), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr(alertResourceName, "name", "flow alert example updated"), + resource.TestCheckResourceAttr(alertResourceName, "description", "Example of flow alert from terraform updated"), + resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.#", "2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.#", "2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alerts_op", "AND"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.next_op", "OR"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alert_defs.#", "2"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_ms", "10"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_type", "Up To"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.alerts_op", "AND"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.next_op", "OR"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.alert_defs.#", "1"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.timeframe_ms", "20"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.timeframe_type", "Up To"), + ), + }, + }, + }) } func testAccCheckAlertDestroy(s *terraform.State) error { @@ -672,13 +1374,13 @@ func testAccCheckAlertDestroy(s *terraform.State) error { continue } - req := &alertsv1.GetAlertByUniqueIdRequest{ + req := &cxsdk.GetAlertDefRequest{ Id: wrapperspb.String(rs.Primary.ID), } - resp, err := client.GetAlert(ctx, req) + resp, err := client.Get(ctx, req) if err == nil { - if resp.Alert.Id.Value == rs.Primary.ID { + if resp.AlertDef.Id.Value == rs.Primary.ID { return fmt.Errorf("alert still exists: %s", rs.Primary.ID) } } @@ -687,600 +1389,1701 @@ func testAccCheckAlertDestroy(s *terraform.State) error { return nil } -func testAccCoralogixResourceAlertStandard(a *standardAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" +func testAccCoralogixResourceAlertLogsImmediateUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs immediate alert updated" + description = "Example of logs immediate alert from terraform updated" + priority = "P2" - notifications_group { - notification { - integration_id = "%s" - } - notification { - email_recipients = %s - } + labels = { + alert_type = "security" + security_severity = "high" } - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d - } + notification_group = { + webhooks_settings = [ + { + retriggering_period = { + minutes = 1 + } + notify_on = "Triggered Only" + recipients = ["example@coralogix.com"] + } + ] + } - scheduling { - time_zone = "%s" - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 10 + } } - meta_labels = { - alert_type = "security" - security_severity = "high" - } - - standard { - severities = %s - search_query = "%s" - condition { - group_by = %s - less_than = true - threshold = %d - time_window = "%s" - manage_undetected_values { - enable_triggering_on_undetected_values = true - auto_retire_ratio = "%s" - } + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 9 + minutes = 30 + } + end_time = { + hours = 21 + minutes = 30 + } + } + } + + type_definition = { + logs_immediate = { + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + } + } } } } -`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, - sliceToString(a.severities), a.searchQuery, sliceToString(a.groupBy), a.occurrencesThreshold, a.timeWindow, a.deadmanRatio) +` } -func testAccCoralogixResourceAlertRatio(a *ratioAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" +func testAccCoralogixResourceAlertLogsImmediate() string { + return `resource "coralogix_alert" "test" { + name = "logs immediate alert" + description = "Example of logs immediate alert from terraform" + priority = "P2" - notifications_group { - notification { - integration_id = "%s" - } - notification { - email_recipients = %s - } + labels = { + alert_type = "security" + security_severity = "high" } - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d - } - - scheduling { - time_zone = "%s" - - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 10 + } } - ratio { - query_1 { - severities = %s - search_query = "%s" - } - query_2 { - severities = %s - search_query = "%s" + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } } - condition { - more_than = true - ratio_threshold = %f - time_window = "%s" - group_by = %s - group_by_q1 = true - ignore_infinity = %t + } + type_definition = { + logs_immediate = { + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + } + } } } -}`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, - sliceToString(a.severities), a.searchQuery, sliceToString(a.q2Severities), a.q2SearchQuery, - a.ratio, a.timeWindow, sliceToString(a.groupBy), a.ignoreInfinity) -} - -func testAccCoralogixResourceAlertNewValue(a *newValueAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" - - notifications_group { - notification { - integration_id = "%s" - } - notification{ - email_recipients = %s - } - } - - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d - } +} +` +} - scheduling { - time_zone = "%s" - - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } - } +func testAccCoralogixResourceAlertLogsMoreThan() string { + return `resource "coralogix_alert" "test" { + name = "logs-more-than alert example" + description = "Example of logs-more-than alert example from terraform" + priority = "P2" - new_value { - severities = %s - search_query = "%s" - condition { - key_to_track = "%s" - time_window = "%s" - } + labels = { + alert_type = "security" + security_severity = "high" } -}`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, - sliceToString(a.severities), a.searchQuery, a.keyToTrack, a.timeWindow) -} - -func testAccCoralogixResourceAlertUniqueCount(a *uniqueCountAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" - - notifications_group { - group_by_fields = %s - notification { - integration_id = "%s" - } - notification{ - email_recipients = %s - } - } - - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d - } - scheduling { - time_zone = "%s" - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } + notification_group = { + webhooks_settings = [ + { + recipients = ["example@coralogix.com"] + } + ] } - unique_count { - severities = %s - search_query = "%s" - condition { - unique_count_key = "%s" - max_unique_values = %d - time_window = "%s" - group_by_key = "%s" - max_unique_values_for_group_by = %d + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 1 } } -}`, - a.name, a.description, a.severity, sliceToString([]string{a.groupByKey}), a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, sliceToString(a.severities), - a.searchQuery, a.uniqueCountKey, a.maxUniqueValues, a.timeWindow, a.groupByKey, a.maxUniqueValuesForGroupBy) -} - -func testAccCoralogixResourceAlertTimeRelative(a *timeRelativeAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" - - notifications_group { - notification { - integration_id = "%s" - } - notification{ - email_recipients = %s - } - } - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d - } - - scheduling { - time_zone = "%s" - - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } } - time_relative { - severities = %s - search_query = "%s" - condition { - more_than = true - group_by = %s - ratio_threshold = %d - relative_time_window = "%s" - ignore_infinity = %t + type_definition = { + logs_threshold = { + rules = [ + { + condition = { + threshold = 2 + time_window = { + specific_value = "10_MINUTES" + } + condition_type = "MORE_THAN" + } + override = { + priority = "P2" + } + } + ] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] + } + } + } } } -}`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, - sliceToString(a.severities), a.searchQuery, sliceToString(a.groupBy), a.ratioThreshold, a.relativeTimeWindow, a.ignoreInfinity) -} - -func testAccCoralogixResourceAlertMetricLucene(a *metricLuceneAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" - - notifications_group { - notification { - integration_id = "%s" - } - notification{ - email_recipients = %s - } - } +} +` +} - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d - } - - scheduling { - time_zone = "%s" - - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } +func testAccCoralogixResourceAlertLogsMoreThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-more_-than alert example updated" + description = "Example of standard alert from terraform updated" + priority = "P3" + + labels = { + alert_type = "security" + security_severity = "low" } - metric { - lucene { - search_query = "%s" - condition { - metric_field = "%s" - arithmetic_operator = "%s" - less_than = true - threshold = %d - arithmetic_operator_modifier = %d - sample_threshold_percentage = %d - time_window = "%s" - group_by = %s - manage_undetected_values{ - enable_triggering_on_undetected_values = false - } + notification_group = { + webhooks_settings = [ + { + recipients = ["example@coralogix.com"] } - } + ] } -}`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, a.searchQuery, a.metricField, a.arithmeticOperator, - a.threshold, a.arithmeticOperatorModifier, a.sampleThresholdPercentage, a.timeWindow, sliceToString(a.groupBy)) -} - -func testAccCoralogixResourceAlertMetricPromql(a *metricPromqlAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" - - notifications_group { - notification { - integration_id = "%s" - } - notification{ - email_recipients = %s - } - } - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d + incidents_settings = { + notify_on = "Triggered Only" + retriggering_period = { + minutes = 10 + } } - scheduling { - time_zone = "%s" - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } + schedule = { + active_on = { + days_of_week = ["Monday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } } - metric { - promql { - search_query = "http_requests_total{status!~\"4..\"}" - condition { - %s = true - threshold = %d - sample_threshold_percentage = %d - time_window = "%s" - min_non_null_values_percentage = %d + type_definition = { + logs_threshold = { + rules = [ + { + condition = { + threshold = 20 + time_window = "2_HOURS" + condition_type = "MORE_THAN" + } + override = { + priority = "P2" + } + } + ] + + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + }, + { + operation = "NOT" + value = "application_name" + } + ] + } + } } } } -}`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, a.condition, a.threshold, a.sampleThresholdPercentage, - a.timeWindow, a.nonNullPercentage) -} - -func testAccCoralogixResourceAlertTracing(a *tracingAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" - - notifications_group { - notification { - integration_id = "%s" - } - notification{ - email_recipients = %s - } - } +} +` +} - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d - } - - scheduling { - time_zone = "%s" - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } +func testAccCoralogixResourceAlertLogsLessThan() string { + return `resource "coralogix_alert" "test" { + name = "less-than alert example" + description = "Example of logs-threshold less-than alert example from terraform" + priority = "P2" + + labels = { + alert_type = "security" + security_severity = "high" } - tracing { - latency_threshold_milliseconds = %f - applications = ["nginx"] - subsystems = ["subsystem-name"] - tag_filter { - field = "Status" - values = ["filter:contains:400", "500"] - } + notification_group = { + webhooks_settings = [ + { + recipients = ["example@coralogix.com"] + } + ] + } - condition { - more_than = true - time_window = "%s" - threshold = %d + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 1 } } -}`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds, - a.conditionLatencyMs, a.timeWindow, a.occurrencesThreshold) -} - -func testAccCoralogixResourceAlertFLow(a *flowAlertTestParams) string { - return fmt.Sprintf(`resource "coralogix_alert" "standard_alert" { - name = "standard" - severity = "Info" - notifications_group { - notification { - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 1 - notify_on = "Triggered_only" - } - } + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } + } - standard { - condition { - more_than = true - threshold = 5 - time_window = "30Min" - group_by = ["coralogix.metadata.sdkId"] - } - } + type_definition = { + logs_threshold = { + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] + } + } + } + rules = [ + { + condition = { + threshold = 2 + time_window = "10_MINUTES" + condition_type = "LESS_THAN" + } + } + ] + } + } +} +` } - resource "coralogix_alert" "test" { - name = "%s" - description = "%s" - severity = "%s" - - notifications_group { - notification { - integration_id = "%s" - } - notification{ - email_recipients = %s - } - } +func testAccCoralogixResourceAlertLogsLessThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-less-than alert example updated" + description = "Example of logs-less-than alert example from terraform updated" + priority = "P3" - incident_settings { - notify_on = "%s" - retriggering_period_minutes = %d + labels = { + alert_type = "security" + security_severity = "low" + } + + incidents_settings = { + notify_on = "Triggered Only" + retriggering_period = { + minutes = 10 } + } - scheduling { - time_zone = "%s" - time_frame { - days_enabled = %s - start_time = "%s" - end_time = "%s" - } - } + schedule = { + active_on = { + days_of_week = ["Monday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } + } - flow { - stage { - group { - sub_alerts { - operator = "OR" - flow_alert{ - user_alert_id = coralogix_alert.standard_alert.id - } - } - next_operator = "OR" + type_definition = { + logs_threshold = { + rules = [ + { + condition = { + threshold = 20 + time_window = "2_HOURS" + condition_type = "LESS_THAN" + } + } + ] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + }, + { + operation = "NOT" + value = "application_name" + } + ] + } + } } - group { - sub_alerts { - operator = "AND" - flow_alert{ - not = true - user_alert_id = coralogix_alert.standard_alert.id + } + } +} +` +} + +func testAccCoralogixResourceAlertLogsMoreThanUsual() string { + return `resource "coralogix_alert" "test" { + name = "logs-more-than-usual alert example" + description = "Example of logs-more-than-usual alert from terraform" + priority = "P4" + + labels = { + alert_type = "security" + security_severity = "high" + } + + notification_group = { + webhooks_settings = [ + { + retriggering_period = { + minutes = 1 + } + notify_on = "Triggered and Resolved" + recipients = ["example@coralogix.com"] + } + ] + } + + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 1 + } + } + + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } + } + + type_definition = { + logs_anomaly = { + rules = [{ + condition = { + minimum_threshold = 2 + time_window = "10_MINUTES" + } + override = { + } + }] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] + } + } + } + notification_payload_filter = [ + "coralogix.metadata.sdkId", "coralogix.metadata.sdkName", "coralogix.metadata.sdkVersion" + ] + } + } +} +` +} + +func testAccCoralogixResourceAlertLogsMoreThanUsualUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-more-than-usual alert example updated" + description = "Example of logs-more-than-usual alert from terraform updated" + priority = "P1" + + notification_group = { + webhooks_settings = [ + { + retriggering_period = { + minutes = 1 + } + notify_on = "Triggered and Resolved" + recipients = ["example@coralogix.com"] + } + ] + } + + type_definition = { + logs_anomaly = { + logs_filter = { + simple_filter = { + lucene_query = "message:\"updated_error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning", "Error"] } } - next_operator = "AND" } - time_window { - minutes = 20 + rules = [ + { + condition = { + time_window = "1_HOUR" + minimum_threshold = 20 + } + override = { + } + } + ] + } + } +} +` +} + +func testAccCoralogixResourceAlertLogsLessThanUsual() string { + return `resource "coralogix_alert" "test" { + name = "logs-less-than alert example" + description = "Example of logs-less-than alert example from terraform" + priority = "P2" + + labels = { + alert_type = "security" + security_severity = "high" + } + + notification_group = { + webhooks_settings = [ + { + recipients = ["example@coralogix.com", "example2@coralogix.com"] + }, + ] + } + + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 1 + } + } + + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 10 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } + } + + type_definition = { + logs_threshold = { + rules = [{ + condition = { + threshold = 2 + time_window = "10_MINUTES" + condition_type = "LESS_THAN" + } + override = { + } + }] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "NOT" + value = "application_name" + } + ] + subsystem_name = [ + { + operation = "STARTS_WITH" + value = "subsystem-name" + } + ] + severities = ["Warning", "Error"] + } + } + } + } + } + } + ` +} + +func testAccCoralogixResourceAlertLogsLessThanUsualUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-less-than alert example updated" + description = "Example of logs-less-than alert example from terraform updated" + priority = "P3" + + notification_group = { + webhooks_settings = [ + { recipients = ["example@coralogix.com"] } + ] + } + + incidents_settings = { + notify_on = "Triggered Only" + retriggering_period = { + minutes = 10 + } + } + + schedule = { + active_on = { + days_of_week = ["Monday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } + } + } + + type_definition = { + logs_threshold = { + rules = [{ + condition = { + threshold = 20 + time_window = "2_HOURS" + condition_type = "LESS_THAN" + } + override = { + } + }] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + }, + { + operation = "NOT" + value = "application_name" + } + ] + } + } + } + } + } + } + ` +} + +func testAccCoralogixResourceAlertLogsRatioMoreThan() string { + return `resource "coralogix_alert" "test" { + name = "logs-ratio-more-than alert example" + description = "Example of logs-ratio-more-than alert from terraform" + priority = "P1" + group_by = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name"] + + notification_group = { + webhooks_settings = [ + { + recipients = ["example@coralogix.com"] + } + ] + } + + type_definition = { + logs_ratio_threshold = { + denominator_alias = "denominator" + denominator = { + simple_filter = { + lucene_query = "mod_date:[20020101 TO 20030101]" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] + } + } } + numerator_alias = "numerator" + numerator = { + simple_filter = { + lucene_query = "mod_date:[20030101 TO 20040101]" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Error"] + } + } + } + rules = [{ + condition = { + threshold = 2 + time_window = "10_MINUTES" + condition_type = "MORE_THAN" + } + }] } - stage { - group { - sub_alerts { - operator = "AND" - flow_alert { - user_alert_id = coralogix_alert.standard_alert.id + } +} +` +} + +func testAccCoralogixResourceAlertLogsRatioMoreThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-ratio-more-than alert example updated" + description = "Example of logs-ratio-more-than alert from terraform updated" + priority = "P2" + group_by = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name", "coralogix.metadata.alert_description"] + + notification_group = { + webhooks_settings = [ + { + recipients = ["example@coralogix.com"] + } + ] + } + + type_definition = { + logs_ratio_threshold = { + denominator_alias = "updated-denominator" + denominator = { + simple_filter = { + lucene_query = "mod_date:[20030101 TO 20040101]" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] } - flow_alert { - not = true - user_alert_id = coralogix_alert.standard_alert.id + } + } + numerator_alias = "updated-numerator" + numerator = { + simple_filter = { + lucene_query = "mod_date:[20040101 TO 20050101]" + label_filters = { + subsystem_name = [ + { + operation = "ENDS_WITH" + value = "updated-subsystem-name" + }, + { + operation = "NOT" + value = "subsystem-name" + } + ] } } - next_operator = "OR" } + rules = [ { + condition = { + time_window = "1_HOUR" + threshold = 120 + condition_type = "MORE_THAN" + } + } + ] + group_by_for = "Numerator Only" } - group_by = ["coralogix.metadata.sdkId"] } -}`, - a.name, a.description, a.severity, a.webhookID, sliceToString(a.emailRecipients), a.notifyOn, a.notifyEveryMin, a.timeZone, - sliceToString(a.daysOfWeek), a.activityStarts, a.activityEnds) +} +` } -type standardAlertTestParams struct { - groupBy []string - occurrencesThreshold int - timeWindow string - deadmanRatio string - alertCommonTestParams +func testAccCoralogixResourceAlertLogsRatioLessThan() string { + return `resource "coralogix_alert" "test" { + name = "logs-ratio-less-than alert example" + description = "Example of logs-ratio-less-than alert from terraform" + priority = "P3" + + group_by = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name"] + type_definition = { + logs_ratio_threshold = { + numerator_alias = "numerator" + denominator_alias = "denominator" + rules = [ + { + condition = { + threshold = 2 + time_window = "10_MINUTES" + condition_type = "LESS_THAN" + } + } + ] + group_by_for = "Denominator Only" + } + } +} +` } -type ratioAlertTestParams struct { - q2Severities, groupBy []string - ratio float64 - timeWindow, q2SearchQuery string - ignoreInfinity bool - alertCommonTestParams +func testAccCoralogixResourceAlertLogsRatioLessThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-ratio-less-than alert example updated" + description = "Example of logs-ratio-less-than alert from terraform updated" + priority = "P2" + + type_definition = { + logs_ratio_threshold = { + numerator_alias = "updated-numerator" + denominator_alias = "updated-denominator" + rules = [ + { + condition = { + threshold = 20 + time_window = "2_HOURS" + condition_type = "LESS_THAN" + } + } + ] + } + } +} +` } -type newValueAlertTestParams struct { - keyToTrack, timeWindow string - alertCommonTestParams +func testAccCoralogixResourceAlertLogsNewValue() string { + return `resource "coralogix_alert" "test" { + name = "logs-new-value alert example" + description = "Example of logs-new-value alert from terraform" + priority = "P2" + + type_definition = { + logs_new_value = { + notification_payload_filter = ["coralogix.metadata.sdkId", "coralogix.metadata.sdkName", "coralogix.metadata.sdkVersion"] + rules = [ + { + condition = { + time_window = "24_HOURS" + keypath_to_track = "remote_addr_geoip.country_name" + } + } + ] + } + } +} +` } -type uniqueCountAlertTestParams struct { - uniqueCountKey, timeWindow, groupByKey string - maxUniqueValues, maxUniqueValuesForGroupBy int - alertCommonTestParams +func testAccCoralogixResourceAlertLogsNewValueUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-new-value alert example updated" + description = "Example of logs-new-value alert from terraform updated" + priority = "P3" + + type_definition = { + logs_new_value = { + rules = [ + { + condition = { + time_window = "12_HOURS" + keypath_to_track = "remote_addr_geoip.city_name" + } + } + ] + } + } +} +` } -type timeRelativeAlertTestParams struct { - alertCommonTestParams - ratioThreshold int - relativeTimeWindow string - groupBy []string - ignoreInfinity bool +func testAccCoralogixResourceAlertLogsUniqueCount() string { + return `resource "coralogix_alert" "test" { + name = "logs-unique-count alert example" + description = "Example of logs-unique-count alert from terraform" + priority = "P2" + + group_by = ["remote_addr_geoip.city_name"] + type_definition = { + logs_unique_count = { + rules = [ { + condition = { + unique_count_keypath = "remote_addr_geoip.country_name" + max_unique_count = 2 + time_window = "5_MINUTES" + max_unique_count_per_group_by_key = 500 + } + }] + } + } +} +` } -type metricLuceneAlertTestParams struct { - alertCommonTestParams - groupBy []string - metricField, timeWindow, arithmeticOperator string - threshold, arithmeticOperatorModifier, sampleThresholdPercentage int +func testAccCoralogixResourceAlertLogsUniqueCountUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-unique-count alert example updated" + description = "Example of logs-unique-count alert from terraform updated" + priority = "P2" + + type_definition = { + logs_unique_count = { + rules = [{ + condition ={ + unique_count_keypath = "remote_addr_geoip.city_name" + max_unique_count = 5 + time_window = "20_MINUTES" + } + }] + } + } +} +` } -type metricPromqlAlertTestParams struct { - alertCommonTestParams - threshold, nonNullPercentage, sampleThresholdPercentage int - timeWindow string - condition string +func testAccCoralogixResourceAlertLogsTimeRelativeMoreThan() string { + return `resource "coralogix_alert" "test" { + name = "logs-time-relative-more-than alert example" + description = "Example of logs-time-relative-more-than alert from terraform" + priority = "P4" + + type_definition = { + logs_time_relative_threshold = { + rules = [ { + condition = { + threshold = 10 + compared_to = "Same Hour Yesterday" + ignore_infinity = true + condition_type = "MORE_THAN" + } + }] + } + } +} +` } -type tracingAlertTestParams struct { - alertCommonTestParams - occurrencesThreshold int - conditionLatencyMs float64 - timeWindow string - groupBy []string +func testAccCoralogixResourceAlertLogsTimeRelativeMoreThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-time-relative-more-than alert example updated" + description = "Example of logs-time-relative-more-than alert from terraform updated" + priority = "P3" + + type_definition = { + logs_time_relative_threshold = { + rules = [ + { condition = { + threshold = 50 + compared_to = "Same Day Last Week" + condition_type = "MORE_THAN" + } + }] + } + } +} +` } -type flowAlertTestParams struct { - name, description, severity string - emailRecipients []string - webhookID string - notifyEveryMin int - notifyOn string - activeWhen +func testAccCoralogixResourceAlertLogsTimeRelativeLessThan() string { + return `resource "coralogix_alert" "test" { + name = "logs-time-relative-more-than alert example" + description = "Example of logs-time-relative-more-than alert from terraform" + priority = "P4" + + type_definition = { + logs_time_relative_threshold = { + rules = [ + { + condition = { + threshold = 10 + compared_to = "Same Hour Yesterday" + ignore_infinity = true + condition_type = "LESS_THAN" + } + }] + } + } +} +` } -type alertCommonTestParams struct { - name, description, severity string - webhookID string - emailRecipients []string - notifyEveryMin int - notifyOn string - searchQuery string - alertFilters - activeWhen +func testAccCoralogixResourceAlertLogsTimeRelativeLessThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "logs-time-relative-more-than alert example updated" + description = "Example of logs-time-relative-more-than alert from terraform updated" + priority = "P3" + + type_definition = { + logs_time_relative_threshold = { + rules = [{ + condition = { + threshold = 50 + compared_to = "Same Day Last Week" + ignore_infinity = false + condition_type = "LESS_THAN" + } + }] + undetected_values_management = { + trigger_undetected_values = true + auto_retire_timeframe = "6_HOURS" + } + } + } } +` +} + +func testAccCoralogixResourceAlertMetricMoreThan() string { + return `resource "coralogix_alert" "test" { + name = "metric-more-than alert example" + description = "Example of metric-more-than alert from terraform" + priority = "P3" -type alertFilters struct { - severities []string + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [{ + condition = { + threshold = 2 + for_over_pct = 10 + of_the_last = "10_MINUTES" + missing_values = { + min_non_null_values_pct = 50 + } + condition_type = "MORE_THAN" + } + }] + } + } +} +` } -type activeWhen struct { - daysOfWeek []string - activityStarts, activityEnds, timeZone string +func testAccCoralogixResourceAlertMetricMoreThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "metric-more-than alert example updated" + description = "Example of metric-more-than alert from terraform updated" + priority = "P4" + + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [{ + condition = { + threshold = 10 + for_over_pct = 15 + of_the_last = "1_HOUR" + missing_values = { + replace_with_zero = true + } + condition_type = "MORE_THAN" + } + }] + } + } } +` +} + +func testAccCoralogixResourceAlertMetricLessThan() string { + return `resource "coralogix_alert" "test" { + name = "metric-less-than alert example" + description = "Example of metric-less-than alert from terraform" + priority = "P4" -func randActiveWhen() activeWhen { - return activeWhen{ - timeZone: selectRandomlyFromSlice(validTimeZones), - daysOfWeek: selectManyRandomlyFromSlice(alertValidDaysOfWeek), - activityStarts: randHourStr(), - activityEnds: randHourStr(), + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" } + rules = [{ + condition = { + threshold = 2 + for_over_pct = 10 + of_the_last = "10_MINUTES" + missing_values = { + replace_with_zero = true + } + condition_type = "LESS_THAN" + } + }] + undetected_values_management = { + trigger_undetected_values = true + auto_retire_timeframe = "5_MINUTES" + } + } + } +} +` +} + +func testAccCoralogixResourceAlertMetricLessThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "metric-less-than alert example updated" + description = "Example of metric-less-than alert from terraform updated" + priority = "P3" + + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [{ + condition = { + threshold = 5 + for_over_pct = 15 + of_the_last = "10_MINUTES" + missing_values = { + min_non_null_values_pct = 50 + } + condition_type = "LESS_THAN" + } + }] + undetected_values_management = { + trigger_undetected_values = true + auto_retire_timeframe = "5_MINUTES" + } + } + } } +` +} + +func testAccCoralogixResourceAlertMetricsLessThanUsual() string { + return `resource "coralogix_alert" "test" { + name = "metric-less-than-usual alert example" + description = "Example of metric-less-than-usual alert from terraform" + priority = "P1" -func randHourStr() string { - return fmt.Sprintf("%s:%s", - toTwoDigitsFormat(int32(acctest.RandIntRange(0, 24))), - toTwoDigitsFormat(int32(acctest.RandIntRange(0, 60)))) + type_definition = { + metric_anomaly = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [ + { + condition = { + threshold = 20 + for_over_pct = 10 + of_the_last = "12_HOURS" + condition_type = "LESS_THAN" + min_non_null_values_pct = 50 + } + } + ] + } + } +} +` +} + +func testAccCoralogixResourceAlertMetricsLessThanUsualUpdated() string { + return `resource "coralogix_alert" "test" { + name = "metric-less-than-usual alert example updated" + description = "Example of metric-less-than-usual alert from terraform updated" + priority = "P1" + + type_definition = { + metric_anomaly = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [{ + condition = { + threshold = 2 + for_over_pct = 10 + of_the_last = "10_MINUTES" + condition_type = "LESS_THAN" + min_non_null_values_pct = 50 + } + }] + } + } +} +` +} + +func testAccCoralogixResourceAlertMetricLessThanOrEquals() string { + return `resource "coralogix_alert" "test" { + name = "metric-less-than-or-equals alert example" + description = "Example of metric-less-than-or-equals alert from terraform" + priority = "P1" + + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [{ + condition = { + threshold = 2 + for_over_pct = 10 + of_the_last = "10_MINUTES" + condition_type = "LESS_THAN_OR_EQUALS" + missing_values = { + replace_with_zero = true + } + }] + undetected_values_management = { + trigger_undetected_values = true + auto_retire_timeframe = "5_MINUTES" + } + } + } +} +` +} + +func testAccCoralogixResourceAlertMetricLessThanOrEqualsUpdated() string { + return `resource "coralogix_alert" "test" { + name = "metric-less-than-or-equals alert example updated" + description = "Example of metric-less-than-or-equals alert from terraform updated" + priority = "P2" + + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + + rules = [{ + condition = { + threshold = 5 + for_over_pct = 15 + of_the_last = "10_MINUTES" + condition_type = "LESS_THAN_OR_EQUALS" + missing_values = { + min_non_null_values_pct = 50 + } + } + }] + undetected_values_management = { + trigger_undetected_values = true + auto_retire_timeframe = "5_MINUTES" + } + } + } +} +` +} + +func testAccCoralogixResourceAlertMetricMoreThanOrEquals() string { + return `resource "coralogix_alert" "test" { + name = "metric-more-than-or-equals alert example" + description = "Example of metric-more-than-or-equals alert from terraform" + priority = "P3" + + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [{ + condition = { + threshold = 2 + for_over_pct = 10 + of_the_last = "10_MINUTES" + condition_type = "MORE_THAN_OR_EQUALS" + missing_values = { + replace_with_zero = true + } + } + }] + } + } +} +` +} + +func testAccCoralogixResourceAlertMetricMoreThanOrEqualsUpdated() string { + return `resource "coralogix_alert" "test" { + name = "metric-more-than-or-equals alert example updated" + description = "Example of metric-more-than-or-equals alert from terraform updated" + priority = "P4" + + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" + } + rules = [{ + condition = { + threshold = 10 + for_over_pct = 15 + of_the_last = "1_HOUR" + condition_type = "MORE_THAN_OR_EQUALS" + missing_values = { + replace_with_zero = true + } + } + }] + } + } +} +` +} + +func testAccCoralogixResourceAlertTracingImmediate() string { + return `resource "coralogix_alert" "test" { + name = "tracing_immediate alert example" + description = "Example of tracing_immediate alert from terraform" + priority = "P1" + + type_definition = { + tracing_immediate = { + tracing_filter = { + latency_threshold_ms = 100 + tracing_label_filters = { + application_name = [ + { + operation = "IS" + values = ["nginx", "apache"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + } + ] + subsystem_name = [ + { + values = ["subsystem-name"] + } + ] + operation_name = [ + { + values = ["operation-name"] + } + ] + span_fields = [ + { + key = "status" + filter_type = { + values = ["200"] + } + }, + { + key = "status" + filter_type = { + operation = "STARTS_WITH" + values = ["40", "50"] + } + }, + ] + } + } + } + } +} +` +} + +func testAccCoralogixResourceAlertTracingImmediateUpdated() string { + return `resource "coralogix_alert" "test" { + name = "tracing_immediate alert example updated" + description = "Example of tracing_immediate alert from terraform updated" + priority = "P2" + + type_definition = { + tracing_immediate = { + tracing_filter = { + latency_threshold_ms = 200 + tracing_label_filters = { + application_name = [ + { + operation = "IS" + values = ["nginx", "apache"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + } + ] + subsystem_name = [ + { + operation = "IS" + values = ["subsystem-name"] + } + ] + operation_name = [ + { + operation = "IS" + values = ["operation-name"] + } + ] + span_fields = [ + { + key = "status" + filter_type = { + values = ["200"] + } + }, + { + key = "status" + filter_type = { + operation = "STARTS_WITH" + values = ["40", "50"] + } + }, + { + key = "status" + filter_type = { + operation = "ENDS_WITH" + values = ["500", "404"] + } + }, + ] + } + } + } + } +} +` +} + +func testAccCoralogixResourceAlertTracingMoreThan() string { + return `resource "coralogix_alert" "test" { + name = "tracing_more_than alert example" + description = "Example of tracing_more_than alert from terraform" + priority = "P2" + + type_definition = { + tracing_threshold = { + tracing_filter = { + latency_threshold_ms = 100 + tracing_label_filters = { + application_name = [ + { + operation = "IS" + values = ["nginx", "apache"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + } + ] + } + } + rules = [{ + span_amount = 5 + time_window = "10_MINUTES" + }] + } + } +} +` +} + +func testAccCoralogixResourceAlertTracingMoreThanUpdated() string { + return `resource "coralogix_alert" "test" { + name = "tracing_more_than alert example updated" + description = "Example of tracing_more_than alert from terraform updated" + priority = "P3" + + type_definition = { + tracing_threshold = { + tracing_filter = { + latency_threshold_ms = 200 + tracing_label_filters = { + application_name = [ + { + values = ["nginx", "apache"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + } + ] + } + } + rules = [{ + span_amount = 5 + time_window = "1_HOUR" + }] + } + } +} +` +} + +func testAccCoralogixResourceAlertFlow() string { + return `resource "coralogix_alert" "test_1"{ + name = "logs immediate alert 1" + priority = "P1" + type_definition = { + logs_immediate = { + } + } +} + +resource "coralogix_alert" "test_2"{ + name = "logs immediate alert 2" + priority = "P2" + type_definition = { + logs_immediate = { + } + } +} + +resource "coralogix_alert" "test_3"{ + name = "logs immediate alert 3" + priority = "P3" + type_definition = { + logs_immediate = { + } + } +} + +resource "coralogix_alert" "test" { + name = "flow alert example" + description = "Example of flow alert from terraform" + priority = "P3" + type_definition = { + flow = { + enforce_suppression = false + stages = [ + { + flow_stages_groups = [ + { + alert_defs = [ + { + id = coralogix_alert.test_1.id + }, + { + id = coralogix_alert.test_2.id + }, + ] + next_op = "AND" + alerts_op = "OR" + }, + { + alert_defs = [ + { + id = coralogix_alert.test_3.id + }, + { + id = coralogix_alert.test_2.id + }, + ] + next_op = "OR" + alerts_op = "AND" + }, + ] + timeframe_ms = 10 + timeframe_type = "Up To" + } + ] + } + } +} +` +} + +func testAccCoralogixResourceAlertFlowUpdated() string { + return `resource "coralogix_alert" "test_1"{ + name = "logs immediate alert 1" + priority = "P1" + type_definition = { + logs_immediate = { + } + } +} + +resource "coralogix_alert" "test_2"{ + name = "logs immediate alert 2" + priority = "P2" + type_definition = { + logs_immediate = { + } + } +} + +resource "coralogix_alert" "test_3"{ + name = "logs immediate alert 3" + priority = "P3" + type_definition = { + logs_immediate = { + } + } +} + +resource "coralogix_alert" "test" { + name = "flow alert example updated" + description = "Example of flow alert from terraform updated" + priority = "P3" + type_definition = { + flow = { + stages = [ + { + flow_stages_groups = [ + { + alert_defs = [ + { + id = coralogix_alert.test_2.id + }, + { + id = coralogix_alert.test_1.id + }, + ] + next_op = "OR" + alerts_op = "AND" + }, + { + alert_defs = [ + { + id = coralogix_alert.test_2.id + }, + { + id = coralogix_alert.test_3.id + }, + ] + next_op = "AND" + alerts_op = "OR" + }, + ] + timeframe_ms = 10 + timeframe_type = "Up To" + }, + { + flow_stages_groups = [ + { + alert_defs = [ + { + id = coralogix_alert.test_2.id + }, + ] + next_op = "OR" + alerts_op = "AND" + }, + ] + timeframe_ms = 20 + timeframe_type = "Up To" + } + ] + } + } +} +` } diff --git a/coralogix/resource_coralogix_alerts_scheduler.go b/coralogix/resource_coralogix_alerts_scheduler.go index 62eeaa4e..999c00dd 100644 --- a/coralogix/resource_coralogix_alerts_scheduler.go +++ b/coralogix/resource_coralogix_alerts_scheduler.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,6 +19,10 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + "github.com/hashicorp/terraform-plugin-framework-validators/objectvalidator" "github.com/hashicorp/terraform-plugin-framework-validators/setvalidator" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" @@ -35,17 +39,15 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" - alertsSchedulers "terraform-provider-coralogix/coralogix/clientset/grpc/alerts-scheduler" ) var ( _ resource.ResourceWithConfigure = &AlertsSchedulerResource{} _ resource.ResourceWithImportState = &AlertsSchedulerResource{} - protoToSchemaDurationFrequency = map[alertsSchedulers.DurationFrequency]string{ - alertsSchedulers.DurationFrequency_DURATION_FREQUENCY_MINUTE: "minutes", - alertsSchedulers.DurationFrequency_DURATION_FREQUENCY_HOUR: "hours", - alertsSchedulers.DurationFrequency_DURATION_FREQUENCY_DAY: "days", + protoToSchemaDurationFrequency = map[cxsdk.DurationFrequency]string{ + cxsdk.DurationFrequencyMinute: "minutes", + cxsdk.DurationFrequencyHour: "hours", + cxsdk.DurationFrequencyDay: "days", } schemaToProtoDurationFrequency = ReverseMap(protoToSchemaDurationFrequency) validDurationFrequencies = GetKeys(schemaToProtoDurationFrequency) @@ -60,16 +62,16 @@ var ( } protoToDaysValue = ReverseMap(daysToProtoValue) validDays = GetKeys(daysToProtoValue) - protoToSchemaScheduleOperation = map[alertsSchedulers.ScheduleOperation]string{ - alertsSchedulers.ScheduleOperation_SCHEDULE_OPERATION_MUTE: "mute", - alertsSchedulers.ScheduleOperation_SCHEDULE_OPERATION_ACTIVATE: "active", + protoToSchemaScheduleOperation = map[cxsdk.ScheduleOperation]string{ + cxsdk.ScheduleOperationActivate: "active", + cxsdk.ScheduleOperationUnspecified: "unspecified", + cxsdk.ScheduleOperationMute: "mute", } schemaToProtoScheduleOperation = ReverseMap(protoToSchemaScheduleOperation) validScheduleOperations = GetKeys(schemaToProtoScheduleOperation) - createAlertsSchedulerURL = "com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/GetAlertSchedulerRule" - updateAlertsSchedulerURL = "com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/UpdateAlertSchedulerRule" - deleteAlertsSchedulerURL = "com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/DeleteAlertSchedulerRule" - getAlertsSchedulerURL = "com.coralogixapis.alerting.alert_scheduler_rule_protobuf.v1.AlertSchedulerRuleService/GetAlertSchedulerRule" + + validTimeZones = []string{"UTC-11", "UTC-10", "UTC-9", "UTC-8", "UTC-7", "UTC-6", "UTC-5", "UTC-4", "UTC-3", "UTC-2", "UTC-1", + "UTC+0", "UTC+1", "UTC+2", "UTC+3", "UTC+4", "UTC+5", "UTC+6", "UTC+7", "UTC+8", "UTC+9", "UTC+10", "UTC+11", "UTC+12", "UTC+13", "UTC+14"} ) func NewAlertsSchedulerResource() resource.Resource { @@ -77,7 +79,7 @@ func NewAlertsSchedulerResource() resource.Resource { } type AlertsSchedulerResource struct { - client *clientset.AlertsSchedulersClient + client *cxsdk.AlertSchedulerClient } type AlertsSchedulerResourceModel struct { @@ -382,16 +384,16 @@ func (r *AlertsSchedulerResource) Create(ctx context.Context, req resource.Creat resp.Diagnostics.Append(diags...) return } - createAlertSchedulerRequest := &alertsSchedulers.CreateAlertSchedulerRuleRequest{ + createAlertSchedulerRequest := &cxsdk.CreateAlertSchedulerRuleRequest{ AlertSchedulerRule: alertScheduler, } alertsSchedulerStr := protojson.Format(createAlertSchedulerRequest) log.Printf("[INFO] Creating new alerts-scheduler: %s", alertsSchedulerStr) - createResp, err := r.client.CreateAlertScheduler(ctx, createAlertSchedulerRequest) + createResp, err := r.client.Create(ctx, createAlertSchedulerRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError("Error creating alerts-scheduler", - formatRpcErrors(err, createAlertsSchedulerURL, alertsSchedulerStr)) + formatRpcErrors(err, cxsdk.CreateAlertSchedulerRuleRPC, alertsSchedulerStr)) return } alertScheduler = createResp.GetAlertSchedulerRule() @@ -407,7 +409,7 @@ func (r *AlertsSchedulerResource) Create(ctx context.Context, req resource.Creat resp.Diagnostics.Append(diags...) } -func flattenAlertScheduler(ctx context.Context, scheduler *alertsSchedulers.AlertSchedulerRule) (*AlertsSchedulerResourceModel, diag.Diagnostics) { +func flattenAlertScheduler(ctx context.Context, scheduler *cxsdk.AlertSchedulerRule) (*AlertsSchedulerResourceModel, diag.Diagnostics) { metaLabels, diags := flattenAlertsSchedulerMetaLabels(ctx, scheduler.GetMetaLabels()) if diags.HasError() { return nil, diags @@ -434,7 +436,7 @@ func flattenAlertScheduler(ctx context.Context, scheduler *alertsSchedulers.Aler }, nil } -func flattenAlertsSchedulerMetaLabels(ctx context.Context, labels []*alertsSchedulers.MetaLabel) (types.Set, diag.Diagnostics) { +func flattenAlertsSchedulerMetaLabels(ctx context.Context, labels []*cxsdk.MetaLabel) (types.Set, diag.Diagnostics) { if len(labels) == 0 { return types.SetNull(types.ObjectType{AttrTypes: labelModelAttr()}), nil } @@ -464,21 +466,21 @@ func labelModelAttr() map[string]attr.Type { } } -func flattenFilter(ctx context.Context, filter *alertsSchedulers.Filter) (types.Object, diag.Diagnostics) { +func flattenFilter(ctx context.Context, filter *cxsdk.AlertSchedulerFilter) (types.Object, diag.Diagnostics) { if filter == nil { return types.ObjectNull(filterModelAttr()), nil } var filterModel FilterModel switch filterType := filter.WhichAlerts.(type) { - case *alertsSchedulers.Filter_AlertMetaLabels: + case *cxsdk.AlertSchedulerFilterMetaLabels: metaLabels, diags := flattenAlertsSchedulerMetaLabels(ctx, filterType.AlertMetaLabels.GetValue()) if diags.HasError() { return types.ObjectNull(filterModelAttr()), diags } filterModel.MetaLabels = metaLabels filterModel.AlertsUniqueIDs = types.SetNull(types.StringType) - case *alertsSchedulers.Filter_AlertUniqueIds: + case *cxsdk.AlertSchedulerFilterUniqueIDs: filterModel.AlertsUniqueIDs = stringSliceToTypeStringSet(filterType.AlertUniqueIds.GetValue()) filterModel.MetaLabels = types.SetNull(types.ObjectType{AttrTypes: labelModelAttr()}) default: @@ -502,7 +504,7 @@ func filterModelAttr() map[string]attr.Type { } } -func flattenSchedule(ctx context.Context, schedule *alertsSchedulers.Schedule) (types.Object, diag.Diagnostics) { +func flattenSchedule(ctx context.Context, schedule *cxsdk.Schedule) (types.Object, diag.Diagnostics) { if schedule == nil { return types.ObjectNull(scheduleModelAttr()), nil } @@ -510,14 +512,14 @@ func flattenSchedule(ctx context.Context, schedule *alertsSchedulers.Schedule) ( var scheduleModel ScheduleModel scheduleModel.Operation = types.StringValue(protoToSchemaScheduleOperation[schedule.GetScheduleOperation()]) switch scheduleType := schedule.Scheduler.(type) { - case *alertsSchedulers.Schedule_OneTime: + case *cxsdk.ScheduleOneTime: oneTime, diags := flattenOneTime(ctx, scheduleType.OneTime) if diags.HasError() { return types.ObjectNull(scheduleModelAttr()), diags } scheduleModel.OneTime = oneTime scheduleModel.Recurring = types.ObjectNull(recurringModelAttr()) - case *alertsSchedulers.Schedule_Recurring: + case *cxsdk.ScheduleRecurring: recurring, diags := flattenRecurring(ctx, scheduleType.Recurring) if diags.HasError() { return types.ObjectNull(scheduleModelAttr()), diags @@ -531,7 +533,7 @@ func flattenSchedule(ctx context.Context, schedule *alertsSchedulers.Schedule) ( return types.ObjectValueFrom(ctx, scheduleModelAttr(), scheduleModel) } -func flattenRecurring(ctx context.Context, recurring *alertsSchedulers.Recurring) (types.Object, diag.Diagnostics) { +func flattenRecurring(ctx context.Context, recurring *cxsdk.Recurring) (types.Object, diag.Diagnostics) { if recurring == nil { return types.ObjectNull(recurringModelAttr()), nil } @@ -546,7 +548,7 @@ func flattenRecurring(ctx context.Context, recurring *alertsSchedulers.Recurring return types.ObjectValueFrom(ctx, recurringModelAttr(), recurringModel) } -func flattenDynamic(ctx context.Context, dynamic *alertsSchedulers.Recurring_Dynamic) (types.Object, diag.Diagnostics) { +func flattenDynamic(ctx context.Context, dynamic *cxsdk.RecurringDynamicInner) (types.Object, diag.Diagnostics) { if dynamic == nil { return types.ObjectNull(dynamicModelAttr()), nil } @@ -571,18 +573,18 @@ func flattenDynamic(ctx context.Context, dynamic *alertsSchedulers.Recurring_Dyn return types.ObjectValueFrom(ctx, dynamicModelAttr(), dynamicModel) } -func flattenFrequency(ctx context.Context, dynamic *alertsSchedulers.Recurring_Dynamic) (types.Object, diag.Diagnostics) { +func flattenFrequency(ctx context.Context, dynamic *cxsdk.RecurringDynamicInner) (types.Object, diag.Diagnostics) { if dynamic == nil { return types.ObjectNull(frequencyModelAttr()), nil } var frequencyModel FrequencyModel switch frequencyType := dynamic.GetFrequency().(type) { - case *alertsSchedulers.Recurring_Dynamic_Daily: + case *cxsdk.RecurringDynamicDaily: frequencyModel.Daily = types.ObjectNull(map[string]attr.Type{}) frequencyModel.Weekly = types.ObjectNull(weeklyModelAttr()) frequencyModel.Monthly = types.ObjectNull(monthlyModelAttr()) - case *alertsSchedulers.Recurring_Dynamic_Weekly: + case *cxsdk.RecurringDynamicWeekly: weekly, diags := flattenWeekly(ctx, frequencyType.Weekly) if diags.HasError() { return types.ObjectNull(frequencyModelAttr()), diags @@ -590,7 +592,7 @@ func flattenFrequency(ctx context.Context, dynamic *alertsSchedulers.Recurring_D frequencyModel.Weekly = weekly frequencyModel.Daily = types.ObjectNull(map[string]attr.Type{}) frequencyModel.Monthly = types.ObjectNull(monthlyModelAttr()) - case *alertsSchedulers.Recurring_Dynamic_Monthly: + case *cxsdk.RecurringDynamicMonthly: monthly, diags := flattenMonthly(ctx, frequencyType.Monthly) if diags.HasError() { return types.ObjectNull(frequencyModelAttr()), diags @@ -605,7 +607,7 @@ func flattenFrequency(ctx context.Context, dynamic *alertsSchedulers.Recurring_D return types.ObjectValueFrom(ctx, frequencyModelAttr(), frequencyModel) } -func flattenWeekly(ctx context.Context, weekly *alertsSchedulers.Weekly) (types.Object, diag.Diagnostics) { +func flattenWeekly(ctx context.Context, weekly *cxsdk.Weekly) (types.Object, diag.Diagnostics) { if weekly == nil { return types.ObjectNull(weeklyModelAttr()), nil } @@ -622,7 +624,7 @@ func flattenWeekly(ctx context.Context, weekly *alertsSchedulers.Weekly) (types. } -func flattenMonthly(ctx context.Context, monthly *alertsSchedulers.Monthly) (types.Object, diag.Diagnostics) { +func flattenMonthly(ctx context.Context, monthly *cxsdk.Monthly) (types.Object, diag.Diagnostics) { if monthly == nil { return types.ObjectNull(monthlyModelAttr()), nil } @@ -634,7 +636,7 @@ func flattenMonthly(ctx context.Context, monthly *alertsSchedulers.Monthly) (typ return types.ObjectValueFrom(ctx, monthlyModelAttr(), monthlyModel) } -func flattenOneTime(ctx context.Context, time *alertsSchedulers.OneTime) (types.Object, diag.Diagnostics) { +func flattenOneTime(ctx context.Context, time *cxsdk.OneTime) (types.Object, diag.Diagnostics) { if time == nil { return types.ObjectNull(oneTimeModelAttr()), nil } @@ -651,7 +653,7 @@ func flattenOneTime(ctx context.Context, time *alertsSchedulers.OneTime) (types. return types.ObjectValueFrom(ctx, oneTimeModelAttr(), oneTimeModel) } -func flattenAlertsSchedulerTimeFrame(ctx context.Context, timeFrame *alertsSchedulers.Timeframe) (types.Object, diag.Diagnostics) { +func flattenAlertsSchedulerTimeFrame(ctx context.Context, timeFrame *cxsdk.Timeframe) (types.Object, diag.Diagnostics) { if timeFrame == nil { return types.ObjectNull(timeFrameModelAttr()), nil } @@ -660,10 +662,10 @@ func flattenAlertsSchedulerTimeFrame(ctx context.Context, timeFrame *alertsSched timeFrameModel.StartTime = types.StringValue(timeFrame.GetStartTime()) timeFrameModel.TimeZone = types.StringValue(timeFrame.GetTimezone()) switch untilType := timeFrame.GetUntil().(type) { - case *alertsSchedulers.Timeframe_EndTime: + case *cxsdk.TimeframeEndTime: timeFrameModel.EndTime = types.StringValue(untilType.EndTime) timeFrameModel.Duration = types.ObjectNull(durationModelAttr()) - case *alertsSchedulers.Timeframe_Duration: + case *cxsdk.TimeframeDuration: var diags diag.Diagnostics timeFrameModel.Duration, diags = flattenAlertsSchedulerDuration(ctx, untilType.Duration) if diags.HasError() { @@ -677,7 +679,7 @@ func flattenAlertsSchedulerTimeFrame(ctx context.Context, timeFrame *alertsSched return types.ObjectValueFrom(ctx, timeFrameModelAttr(), timeFrameModel) } -func flattenAlertsSchedulerDuration(ctx context.Context, duration *alertsSchedulers.Duration) (types.Object, diag.Diagnostics) { +func flattenAlertsSchedulerDuration(ctx context.Context, duration *cxsdk.AlertSchedulerDuration) (types.Object, diag.Diagnostics) { if duration == nil { return types.ObjectNull(durationModelAttr()), nil } @@ -779,7 +781,7 @@ func timeFrameModelAttr() map[string]attr.Type { } } -func extractAlertsScheduler(ctx context.Context, plan *AlertsSchedulerResourceModel, id *string) (*alertsSchedulers.AlertSchedulerRule, diag.Diagnostics) { +func extractAlertsScheduler(ctx context.Context, plan *AlertsSchedulerResourceModel, id *string) (*cxsdk.AlertSchedulerRule, diag.Diagnostics) { metaLabels, diags := extractAlertsSchedulerMetaLabels(ctx, plan.MetaLabels) if diags.HasError() { return nil, diags @@ -795,7 +797,7 @@ func extractAlertsScheduler(ctx context.Context, plan *AlertsSchedulerResourceMo return nil, diags } - return &alertsSchedulers.AlertSchedulerRule{ + return &cxsdk.AlertSchedulerRule{ UniqueIdentifier: id, Name: plan.Name.ValueString(), Description: typeStringToStringPointer(plan.Description), @@ -806,10 +808,10 @@ func extractAlertsScheduler(ctx context.Context, plan *AlertsSchedulerResourceMo }, nil } -func extractAlertsSchedulerMetaLabels(ctx context.Context, labels types.Set) ([]*alertsSchedulers.MetaLabel, diag.Diagnostics) { +func extractAlertsSchedulerMetaLabels(ctx context.Context, labels types.Set) ([]*cxsdk.MetaLabel, diag.Diagnostics) { var diags diag.Diagnostics var labelsObjects []types.Object - var expandedLabels []*alertsSchedulers.MetaLabel + var expandedLabels []*cxsdk.MetaLabel labels.ElementsAs(ctx, &labelsObjects, true) for _, lo := range labelsObjects { @@ -818,7 +820,7 @@ func extractAlertsSchedulerMetaLabels(ctx context.Context, labels types.Set) ([] diags.Append(dg...) continue } - expandedLabel := &alertsSchedulers.MetaLabel{ + expandedLabel := &cxsdk.MetaLabel{ Key: label.Key.ValueString(), Value: typeStringToStringPointer(label.Value), } @@ -828,7 +830,7 @@ func extractAlertsSchedulerMetaLabels(ctx context.Context, labels types.Set) ([] return expandedLabels, diags } -func extractFilter(ctx context.Context, filter types.Object) (*alertsSchedulers.Filter, diag.Diagnostics) { +func extractFilter(ctx context.Context, filter types.Object) (*cxsdk.AlertSchedulerFilter, diag.Diagnostics) { if filter.IsNull() || filter.IsUnknown() { return nil, nil } @@ -845,10 +847,10 @@ func extractFilter(ctx context.Context, filter types.Object) (*alertsSchedulers. if diags.HasError() { return nil, diags } - return &alertsSchedulers.Filter{ + return &cxsdk.AlertSchedulerFilter{ WhatExpression: whatExpression, - WhichAlerts: &alertsSchedulers.Filter_AlertUniqueIds{ - AlertUniqueIds: &alertsSchedulers.AlertUniqueIds{ + WhichAlerts: &cxsdk.AlertSchedulerFilterUniqueIDs{ + AlertUniqueIds: &cxsdk.AlertUniqueIDs{ Value: ids, }, }, @@ -858,10 +860,10 @@ func extractFilter(ctx context.Context, filter types.Object) (*alertsSchedulers. if diags.HasError() { return nil, diags } - return &alertsSchedulers.Filter{ + return &cxsdk.AlertSchedulerFilter{ WhatExpression: whatExpression, - WhichAlerts: &alertsSchedulers.Filter_AlertMetaLabels{ - AlertMetaLabels: &alertsSchedulers.MetaLabels{ + WhichAlerts: &cxsdk.AlertSchedulerFilterMetaLabels{ + AlertMetaLabels: &cxsdk.MetaLabels{ Value: metaLabels, }, }, @@ -871,8 +873,8 @@ func extractFilter(ctx context.Context, filter types.Object) (*alertsSchedulers. return nil, nil } -func extractSchedule(ctx context.Context, schedule types.Object) (*alertsSchedulers.Schedule, diag.Diagnostics) { - if schedule.IsNull() || schedule.IsUnknown() { +func extractSchedule(ctx context.Context, schedule types.Object) (*cxsdk.Schedule, diag.Diagnostics) { + if objIsNullOrUnknown(schedule) { return nil, nil } @@ -881,7 +883,7 @@ func extractSchedule(ctx context.Context, schedule types.Object) (*alertsSchedul return nil, diags } - scheduler := &alertsSchedulers.Schedule{ + scheduler := &cxsdk.Schedule{ ScheduleOperation: schemaToProtoScheduleOperation[scheduleModel.Operation.ValueString()], } @@ -904,8 +906,8 @@ func extractSchedule(ctx context.Context, schedule types.Object) (*alertsSchedul return nil, nil } -func extractOneTime(ctx context.Context, oneTimeObject types.Object) (*alertsSchedulers.Schedule_OneTime, diag.Diagnostics) { - if oneTimeObject.IsNull() || oneTimeObject.IsUnknown() { +func extractOneTime(ctx context.Context, oneTimeObject types.Object) (*cxsdk.ScheduleOneTime, diag.Diagnostics) { + if objIsNullOrUnknown(oneTimeObject) { return nil, nil } @@ -919,15 +921,15 @@ func extractOneTime(ctx context.Context, oneTimeObject types.Object) (*alertsSch return nil, diags } - return &alertsSchedulers.Schedule_OneTime{ - OneTime: &alertsSchedulers.OneTime{ + return &cxsdk.ScheduleOneTime{ + OneTime: &cxsdk.OneTime{ Timeframe: timeFrame, }, }, nil } -func extractTimeFrame(ctx context.Context, timeFrame types.Object) (*alertsSchedulers.Timeframe, diag.Diagnostics) { - if timeFrame.IsNull() || timeFrame.IsUnknown() { +func extractTimeFrame(ctx context.Context, timeFrame types.Object) (*cxsdk.Timeframe, diag.Diagnostics) { + if objIsNullOrUnknown(timeFrame) { return nil, nil } @@ -936,7 +938,7 @@ func extractTimeFrame(ctx context.Context, timeFrame types.Object) (*alertsSched return nil, diags } - expandedTimeFrame := &alertsSchedulers.Timeframe{ + expandedTimeFrame := &cxsdk.Timeframe{ StartTime: timeFrameModel.StartTime.ValueString(), Timezone: timeFrameModel.TimeZone.ValueString(), } @@ -948,7 +950,7 @@ func extractTimeFrame(ctx context.Context, timeFrame types.Object) (*alertsSched return expandedTimeFrame, nil } -func expandTimeFrameUntil(ctx context.Context, timeFrameModel TimeFrameModel, expandedTimeFrame *alertsSchedulers.Timeframe) (*alertsSchedulers.Timeframe, diag.Diagnostics) { +func expandTimeFrameUntil(ctx context.Context, timeFrameModel TimeFrameModel, expandedTimeFrame *cxsdk.Timeframe) (*cxsdk.Timeframe, diag.Diagnostics) { if !(timeFrameModel.Duration.IsNull() || timeFrameModel.Duration.IsUnknown()) { duration, diags := extractDuration(ctx, timeFrameModel.Duration) if diags.HasError() { @@ -956,14 +958,14 @@ func expandTimeFrameUntil(ctx context.Context, timeFrameModel TimeFrameModel, ex } expandedTimeFrame.Until = duration } else if !(timeFrameModel.EndTime.IsNull() || timeFrameModel.EndTime.IsUnknown()) { - expandedTimeFrame.Until = &alertsSchedulers.Timeframe_EndTime{ + expandedTimeFrame.Until = &cxsdk.TimeframeEndTime{ EndTime: timeFrameModel.EndTime.ValueString(), } } return expandedTimeFrame, nil } -func extractDuration(ctx context.Context, duration types.Object) (*alertsSchedulers.Timeframe_Duration, diag.Diagnostics) { +func extractDuration(ctx context.Context, duration types.Object) (*cxsdk.TimeframeDuration, diag.Diagnostics) { if duration.IsNull() || duration.IsUnknown() { return nil, nil } @@ -971,15 +973,15 @@ func extractDuration(ctx context.Context, duration types.Object) (*alertsSchedul if diags := duration.As(ctx, &durationModel, basetypes.ObjectAsOptions{}); diags.HasError() { return nil, diags } - return &alertsSchedulers.Timeframe_Duration{ - Duration: &alertsSchedulers.Duration{ + return &cxsdk.TimeframeDuration{ + Duration: &cxsdk.AlertSchedulerDuration{ ForOver: int32(durationModel.ForOver.ValueInt64()), Frequency: schemaToProtoDurationFrequency[durationModel.Frequency.ValueString()], }, }, nil } -func extractRecurring(ctx context.Context, recurring types.Object) (*alertsSchedulers.Schedule_Recurring, diag.Diagnostics) { +func extractRecurring(ctx context.Context, recurring types.Object) (*cxsdk.ScheduleRecurring, diag.Diagnostics) { if recurring.IsNull() || recurring.IsUnknown() { return nil, nil } @@ -994,23 +996,23 @@ func extractRecurring(ctx context.Context, recurring types.Object) (*alertsSched if diags.HasError() { return nil, diags } - return &alertsSchedulers.Schedule_Recurring{ - Recurring: &alertsSchedulers.Recurring{ + return &cxsdk.ScheduleRecurring{ + Recurring: &cxsdk.Recurring{ Condition: dynamic, }, }, nil } - return &alertsSchedulers.Schedule_Recurring{ - Recurring: &alertsSchedulers.Recurring{ - Condition: &alertsSchedulers.Recurring_Always_{ - Always: &alertsSchedulers.Recurring_Always{}, + return &cxsdk.ScheduleRecurring{ + Recurring: &cxsdk.Recurring{ + Condition: &cxsdk.RecurringAlways{ + Always: &cxsdk.RecurringAlwaysInner{}, }, }, }, nil } -func extractDynamic(ctx context.Context, dynamic types.Object) (*alertsSchedulers.Recurring_Dynamic_, diag.Diagnostics) { +func extractDynamic(ctx context.Context, dynamic types.Object) (*cxsdk.RecurringDynamic, diag.Diagnostics) { if dynamic.IsNull() || dynamic.IsUnknown() { return nil, nil } @@ -1025,8 +1027,8 @@ func extractDynamic(ctx context.Context, dynamic types.Object) (*alertsScheduler return nil, diags } - expandedDynamic := &alertsSchedulers.Recurring_Dynamic_{ - Dynamic: &alertsSchedulers.Recurring_Dynamic{ + expandedDynamic := &cxsdk.RecurringDynamic{ + Dynamic: &cxsdk.RecurringDynamicInner{ RepeatEvery: int32(dynamicModel.RepeatEvery.ValueInt64()), Timeframe: timeFrame, TerminationDate: typeStringToStringPointer(dynamicModel.TerminationDay), @@ -1040,15 +1042,15 @@ func extractDynamic(ctx context.Context, dynamic types.Object) (*alertsScheduler return expandedDynamic, nil } -func expandFrequency(ctx context.Context, dynamic *alertsSchedulers.Recurring_Dynamic, frequency types.Object) (*alertsSchedulers.Recurring_Dynamic, diag.Diagnostics) { +func expandFrequency(ctx context.Context, dynamic *cxsdk.RecurringDynamicInner, frequency types.Object) (*cxsdk.RecurringDynamicInner, diag.Diagnostics) { var frequencyModel FrequencyModel if diags := frequency.As(ctx, &frequencyModel, basetypes.ObjectAsOptions{}); diags.HasError() { return nil, diags } if daily := frequencyModel.Daily; !(daily.IsNull() || daily.IsUnknown()) { - dynamic.Frequency = &alertsSchedulers.Recurring_Dynamic_Daily{ - Daily: &alertsSchedulers.Daily{}, + dynamic.Frequency = &cxsdk.RecurringDynamicDaily{ + Daily: &cxsdk.Daily{}, } } else if weekly := frequencyModel.Weekly; !(weekly.IsNull() || weekly.IsUnknown()) { var weeklyModel WeeklyModel @@ -1065,8 +1067,8 @@ func expandFrequency(ctx context.Context, dynamic *alertsSchedulers.Recurring_Dy daysValues[i] = daysToProtoValue[day] } - dynamic.Frequency = &alertsSchedulers.Recurring_Dynamic_Weekly{ - Weekly: &alertsSchedulers.Weekly{ + dynamic.Frequency = &cxsdk.RecurringDynamicWeekly{ + Weekly: &cxsdk.Weekly{ DaysOfWeek: daysValues, }, } @@ -1081,8 +1083,8 @@ func expandFrequency(ctx context.Context, dynamic *alertsSchedulers.Recurring_Dy return nil, diags } - dynamic.Frequency = &alertsSchedulers.Recurring_Dynamic_Monthly{ - Monthly: &alertsSchedulers.Monthly{ + dynamic.Frequency = &cxsdk.RecurringDynamicMonthly{ + Monthly: &cxsdk.Monthly{ DaysOfMonth: days, }, } @@ -1102,8 +1104,8 @@ func (r *AlertsSchedulerResource) Read(ctx context.Context, req resource.ReadReq //Get refreshed alerts-scheduler value from Coralogix id := state.ID.ValueString() log.Printf("[INFO] Reading alerts-scheduler: %s", id) - getAlertsSchedulerReq := &alertsSchedulers.GetAlertSchedulerRuleRequest{AlertSchedulerRuleId: id} - getAlertsSchedulerResp, err := r.client.GetAlertScheduler(ctx, getAlertsSchedulerReq) + getAlertsSchedulerReq := &cxsdk.GetAlertSchedulerRuleRequest{AlertSchedulerRuleId: id} + getAlertsSchedulerResp, err := r.client.Get(ctx, getAlertsSchedulerReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -1115,7 +1117,7 @@ func (r *AlertsSchedulerResource) Read(ctx context.Context, req resource.ReadReq } else { resp.Diagnostics.AddError( "Error reading alerts-scheduler", - formatRpcErrors(err, getAlertsSchedulerURL, protojson.Format(getAlertsSchedulerReq)), + formatRpcErrors(err, cxsdk.GetAlertSchedulerRuleRPC, protojson.Format(getAlertsSchedulerReq)), ) } return @@ -1151,24 +1153,24 @@ func (r *AlertsSchedulerResource) Update(ctx context.Context, req resource.Updat resp.Diagnostics.Append(diags...) return } - updateAlertsSchedulerReq := &alertsSchedulers.UpdateAlertSchedulerRuleRequest{ + updateAlertsSchedulerReq := &cxsdk.UpdateAlertSchedulerRuleRequest{ AlertSchedulerRule: alertsScheduler, } log.Printf("[INFO] Updating alerts-scheduler: %s", protojson.Format(updateAlertsSchedulerReq)) - updateAlertsSchedulerResp, err := r.client.UpdateAlertScheduler(ctx, updateAlertsSchedulerReq) + updateAlertsSchedulerResp, err := r.client.Update(ctx, updateAlertsSchedulerReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating alerts-scheduler", - formatRpcErrors(err, updateAlertsSchedulerURL, protojson.Format(updateAlertsSchedulerReq)), + formatRpcErrors(err, cxsdk.UpdateAlertSchedulerRuleRPC, protojson.Format(updateAlertsSchedulerReq)), ) return } log.Printf("[INFO] Submitted updated alerts-scheduler: %s", protojson.Format(updateAlertsSchedulerResp)) // Get refreshed alerts-scheduler value from Coralogix - getAlertsSchedulerReq := &alertsSchedulers.GetAlertSchedulerRuleRequest{AlertSchedulerRuleId: updateAlertsSchedulerResp.GetAlertSchedulerRule().GetId()} - getAlertsSchedulerResp, err := r.client.GetAlertScheduler(ctx, getAlertsSchedulerReq) + getAlertsSchedulerReq := &cxsdk.GetAlertSchedulerRuleRequest{AlertSchedulerRuleId: updateAlertsSchedulerResp.GetAlertSchedulerRule().GetId()} + getAlertsSchedulerResp, err := r.client.Get(ctx, getAlertsSchedulerReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -1180,7 +1182,7 @@ func (r *AlertsSchedulerResource) Update(ctx context.Context, req resource.Updat } else { resp.Diagnostics.AddError( "Error reading alerts-scheduler", - formatRpcErrors(err, getAlertsSchedulerURL, protojson.Format(getAlertsSchedulerReq)), + formatRpcErrors(err, cxsdk.GetAlertSchedulerRuleRPC, protojson.Format(getAlertsSchedulerReq)), ) } return @@ -1208,11 +1210,11 @@ func (r *AlertsSchedulerResource) Delete(ctx context.Context, req resource.Delet id := state.ID.ValueString() log.Printf("[INFO] Deleting alerts-scheduler %s", id) - deleteReq := &alertsSchedulers.DeleteAlertSchedulerRuleRequest{AlertSchedulerRuleId: id} - if _, err := r.client.DeleteAlertScheduler(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.DeleteAlertSchedulerRuleRequest{AlertSchedulerRuleId: id} + if _, err := r.client.Delete(ctx, deleteReq); err != nil { resp.Diagnostics.AddError( fmt.Sprintf("Error Deleting alerts-scheduler %s", id), - formatRpcErrors(err, deleteAlertsSchedulerURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.DeleteAlertSchedulerRuleRPC, protojson.Format(deleteReq)), ) return } diff --git a/coralogix/resource_coralogix_alerts_scheduler_test.go b/coralogix/resource_coralogix_alerts_scheduler_test.go index 3ef1f4ac..cb6916e7 100644 --- a/coralogix/resource_coralogix_alerts_scheduler_test.go +++ b/coralogix/resource_coralogix_alerts_scheduler_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,11 +19,12 @@ import ( "fmt" "testing" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" terraform2 "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "terraform-provider-coralogix/coralogix/clientset" - alertsSchedulers "terraform-provider-coralogix/coralogix/clientset/grpc/alerts-scheduler" ) var ( @@ -76,11 +77,11 @@ func testAccCheckAlertsSchedulerDestroy(s *terraform.State) error { continue } - req := &alertsSchedulers.GetAlertSchedulerRuleRequest{ + req := &cxsdk.GetAlertSchedulerRuleRequest{ AlertSchedulerRuleId: rs.Primary.ID, } - resp, err := client.GetAlertScheduler(ctx, req) + resp, err := client.Get(ctx, req) if err == nil { if resp.GetAlertSchedulerRule().GetId() == rs.Primary.ID { return fmt.Errorf("alerts-scheduler still exists: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_api_key.go b/coralogix/resource_coralogix_api_key.go index de749a2f..3f274301 100644 --- a/coralogix/resource_coralogix_api_key.go +++ b/coralogix/resource_coralogix_api_key.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,10 +21,9 @@ import ( "reflect" "strconv" "strings" - "terraform-provider-coralogix/coralogix/clientset" - apikeys "terraform-provider-coralogix/coralogix/clientset/grpc/apikeys" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework-validators/setvalidator" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -43,19 +42,12 @@ import ( "google.golang.org/protobuf/encoding/protojson" ) -var ( - getApiKeyPath = apikeys.ApiKeysService_GetApiKey_FullMethodName - createApiKeyPath = apikeys.ApiKeysService_CreateApiKey_FullMethodName - deleteApiKeyPath = apikeys.ApiKeysService_DeleteApiKey_FullMethodName - updateApiKeyPath = apikeys.ApiKeysService_UpdateApiKey_FullMethodName -) - func NewApiKeyResource() resource.Resource { return &ApiKeyResource{} } type ApiKeyResource struct { - client *clientset.ApikeysClient + client *cxsdk.ApikeysClient } func (r *ApiKeyResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -77,7 +69,7 @@ func (r *ApiKeyResource) Configure(_ context.Context, req resource.ConfigureRequ return } - r.client = clientSet.ApiKeys() + r.client = clientSet.APIKeys() } func (r *ApiKeyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { @@ -143,7 +135,7 @@ func resourceSchemaV1() schema.Schema { }, }, Required: true, - MarkdownDescription: "Api Key Owner.It can either be a team_id or a user_id ", + MarkdownDescription: "Api Key Owner. It can either be a team_id or a user_id ", }, "active": schema.BoolAttribute{ @@ -218,7 +210,7 @@ func resourceSchemaV0() schema.Schema { }, }, Required: true, - MarkdownDescription: "Api Key Owner.It can either be a team_id or a user_id ", + MarkdownDescription: "Api Key Owner. It can either be a team_id or a user_id ", }, "active": schema.BoolAttribute{ @@ -281,12 +273,12 @@ func (r *ApiKeyResource) Create(ctx context.Context, req resource.CreateRequest, return } log.Printf("[INFO] Creating new ApiKey: %s", protojson.Format(createApiKeyRequest)) - createApiKeyResp, err := r.client.CreateApiKey(ctx, createApiKeyRequest) + createApiKeyResp, err := r.client.Create(ctx, createApiKeyRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating Api Key", - formatRpcErrors(err, createApiKeyPath, protojson.Format(createApiKeyRequest)), + formatRpcErrors(err, cxsdk.CreateAPIKeyRPC, protojson.Format(createApiKeyRequest)), ) return } @@ -337,7 +329,7 @@ func (r *ApiKeyResource) Update(ctx context.Context, req resource.UpdateRequest, } id := currentState.ID.ValueString() - var updateApiKeyRequest = apikeys.UpdateApiKeyRequest{ + var updateApiKeyRequest = cxsdk.UpdateAPIKeyRequest{ KeyId: id, } if currentState.Name.ValueString() != desiredState.Name.ValueString() { @@ -350,7 +342,7 @@ func (r *ApiKeyResource) Update(ctx context.Context, req resource.UpdateRequest, resp.Diagnostics.Append(diags...) return } - updateApiKeyRequest.Permissions = &apikeys.UpdateApiKeyRequest_Permissions{ + updateApiKeyRequest.Permissions = &cxsdk.APIKeyPermissionsUpdate{ Permissions: permissions, } } @@ -361,7 +353,7 @@ func (r *ApiKeyResource) Update(ctx context.Context, req resource.UpdateRequest, resp.Diagnostics.Append(diags...) return } - updateApiKeyRequest.Presets = &apikeys.UpdateApiKeyRequest_Presets{ + updateApiKeyRequest.Presets = &cxsdk.APIKeyPresetsUpdate{ Presets: presets, } } @@ -379,12 +371,12 @@ func (r *ApiKeyResource) Update(ctx context.Context, req resource.UpdateRequest, } log.Printf("[INFO] Updating ApiKey %s to %s", id, protojson.Format(&updateApiKeyRequest)) - _, err := r.client.UpdateApiKey(ctx, &updateApiKeyRequest) + _, err := r.client.Update(ctx, &updateApiKeyRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating Api Key", - formatRpcErrors(err, updateApiKeyPath, protojson.Format(&updateApiKeyRequest)), + formatRpcErrors(err, cxsdk.UpdateAPIKeyRPC, protojson.Format(&updateApiKeyRequest)), ) return } @@ -411,13 +403,13 @@ func (r *ApiKeyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp.Diagnostics.Append(diags...) return } - _, err := r.client.DeleteApiKey(ctx, deleteApiKeyRequest) + _, err := r.client.Delete(ctx, deleteApiKeyRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error getting Api Key", - formatRpcErrors(err, deleteApiKeyPath, protojson.Format(deleteApiKeyRequest)), + formatRpcErrors(err, cxsdk.DeleteAPIKeyRPC, protojson.Format(deleteApiKeyRequest)), ) return } @@ -431,7 +423,7 @@ func (r *ApiKeyResource) getKeyInfo(ctx context.Context, id *string, keyValue *s return nil, diags } log.Printf("[INFO] Get api key with ID: %s", getApiKeyRequest) - getApiKeyResponse, err := r.client.GetApiKey(ctx, getApiKeyRequest) + getApiKeyResponse, err := r.client.Get(ctx, getApiKeyRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) @@ -443,7 +435,7 @@ func (r *ApiKeyResource) getKeyInfo(ctx context.Context, id *string, keyValue *s } else { diags.AddError( "Error getting Api Key", - formatRpcErrors(err, getApiKeyPath, protojson.Format(getApiKeyRequest)), + formatRpcErrors(err, cxsdk.GetAPIKeyRPC, protojson.Format(getApiKeyRequest)), ) } return nil, diags @@ -456,19 +448,19 @@ func (r *ApiKeyResource) getKeyInfo(ctx context.Context, id *string, keyValue *s return key, nil } -func makeGetApiKeyRequest(apiKeyId *string) (*apikeys.GetApiKeyRequest, diag.Diagnostics) { - return &apikeys.GetApiKeyRequest{ +func makeGetApiKeyRequest(apiKeyId *string) (*cxsdk.GetAPIKeyRequest, diag.Diagnostics) { + return &cxsdk.GetAPIKeyRequest{ KeyId: *apiKeyId, }, nil } -func makeDeleteApi(apiKeyId *string) (*apikeys.DeleteApiKeyRequest, diag.Diagnostics) { - return &apikeys.DeleteApiKeyRequest{ +func makeDeleteApi(apiKeyId *string) (*cxsdk.DeleteAPIKeyRequest, diag.Diagnostics) { + return &cxsdk.DeleteAPIKeyRequest{ KeyId: *apiKeyId, }, nil } -func flattenGetApiKeyResponse(ctx context.Context, apiKeyId *string, response *apikeys.GetApiKeyResponse, keyValue *string) (*ApiKeyModel, diag.Diagnostics) { +func flattenGetApiKeyResponse(ctx context.Context, apiKeyId *string, response *cxsdk.GetAPIKeyResponse, keyValue *string) (*ApiKeyModel, diag.Diagnostics) { var diags diag.Diagnostics permissions := stringSliceToTypeStringSet(response.KeyInfo.KeyPermissions.Permissions) @@ -508,7 +500,7 @@ func flattenGetApiKeyResponse(ctx context.Context, apiKeyId *string, response *a }, nil } -func makeCreateApiKeyRequest(ctx context.Context, apiKeyModel *ApiKeyModel) (*apikeys.CreateApiKeyRequest, diag.Diagnostics) { +func makeCreateApiKeyRequest(ctx context.Context, apiKeyModel *ApiKeyModel) (*cxsdk.CreateAPIKeyRequest, diag.Diagnostics) { permissions, diags := typeStringSliceToStringSlice(ctx, apiKeyModel.Permissions.Elements()) if diags.HasError() { return nil, diags @@ -524,10 +516,10 @@ func makeCreateApiKeyRequest(ctx context.Context, apiKeyModel *ApiKeyModel) (*ap return nil, diags } - return &apikeys.CreateApiKeyRequest{ + return &cxsdk.CreateAPIKeyRequest{ Name: apiKeyModel.Name.ValueString(), Owner: &owner, - KeyPermissions: &apikeys.CreateApiKeyRequest_KeyPermissions{ + KeyPermissions: &cxsdk.APIKeyPermissions{ Presets: presets, Permissions: permissions, }, @@ -535,18 +527,18 @@ func makeCreateApiKeyRequest(ctx context.Context, apiKeyModel *ApiKeyModel) (*ap }, nil } -func extractOwner(keyModel *ApiKeyModel) (apikeys.Owner, diag.Diagnostics) { +func extractOwner(keyModel *ApiKeyModel) (cxsdk.Owner, diag.Diagnostics) { var diags diag.Diagnostics if keyModel.Owner.UserId.ValueString() != "" { - return apikeys.Owner{ - Owner: &apikeys.Owner_UserId{ + return cxsdk.Owner{ + Owner: &cxsdk.OwnerUserID{ UserId: keyModel.Owner.UserId.ValueString(), }, }, diags } else { if keyModel.Owner.OrganisationId.ValueString() != "" { - return apikeys.Owner{ - Owner: &apikeys.Owner_OrganisationId{ + return cxsdk.Owner{ + Owner: &cxsdk.OwnerOrganisationID{ OrganisationId: keyModel.Owner.OrganisationId.ValueString(), }, }, diags @@ -555,8 +547,8 @@ func extractOwner(keyModel *ApiKeyModel) (apikeys.Owner, diag.Diagnostics) { if err != nil { diags.AddError("Invalid team id", "Team id must be a int") } - return apikeys.Owner{ - Owner: &apikeys.Owner_TeamId{ + return cxsdk.Owner{ + Owner: &cxsdk.OwnerTeamID{ TeamId: uint32(teamId), }, }, diags @@ -564,17 +556,17 @@ func extractOwner(keyModel *ApiKeyModel) (apikeys.Owner, diag.Diagnostics) { } } -func flattenOwner(owner *apikeys.Owner) Owner { +func flattenOwner(owner *cxsdk.Owner) Owner { switch owner.Owner.(type) { - case *apikeys.Owner_TeamId: + case *cxsdk.OwnerTeamID: return Owner{ TeamId: types.StringValue(strconv.Itoa(int(owner.GetTeamId()))), } - case *apikeys.Owner_UserId: + case *cxsdk.OwnerUserID: return Owner{ UserId: types.StringValue(owner.GetUserId()), } - case *apikeys.Owner_OrganisationId: + case *cxsdk.OwnerOrganisationID: return Owner{ OrganisationId: types.StringValue(owner.GetOrganisationId()), } diff --git a/coralogix/resource_coralogix_archive_logs.go b/coralogix/resource_coralogix_archive_logs.go index 3196fcee..ac90b67f 100644 --- a/coralogix/resource_coralogix_archive_logs.go +++ b/coralogix/resource_coralogix_archive_logs.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,6 +19,10 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" @@ -30,16 +34,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "google.golang.org/protobuf/types/known/wrapperspb" - "terraform-provider-coralogix/coralogix/clientset" - archiveLogs "terraform-provider-coralogix/coralogix/clientset/grpc/archive-logs" ) var ( - _ resource.ResourceWithConfigure = &ArchiveLogsResource{} - _ resource.ResourceWithImportState = &ArchiveLogsResource{} - updateArchiveLogsURL = "com.coralogix.archive.v1.TargetService/SetTarget" - getArchiveLogsURL = "com.coralogix.archive.v1.TargetService/GetTarget" + _ resource.ResourceWithConfigure = &ArchiveLogsResource{} + _ resource.ResourceWithImportState = &ArchiveLogsResource{} ) type ArchiveLogsResourceModel struct { @@ -56,7 +55,7 @@ func NewArchiveLogsResource() resource.Resource { } type ArchiveLogsResource struct { - client *clientset.ArchiveLogsClient + client *cxsdk.ArchiveLogsClient } func (r *ArchiveLogsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { @@ -141,12 +140,12 @@ func (r *ArchiveLogsResource) Create(ctx context.Context, req resource.CreateReq return } log.Printf("[INFO] Creating new archive-logs: %s", protojson.Format(createReq)) - createResp, err := r.client.UpdateArchiveLogs(ctx, createReq) + createResp, err := r.client.Update(ctx, createReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating archive-logs", - formatRpcErrors(err, updateArchiveLogsURL, protojson.Format(createReq)), + formatRpcErrors(err, cxsdk.ArchiveLogsSetTargetRPC, protojson.Format(createReq)), ) return } @@ -162,24 +161,34 @@ func (r *ArchiveLogsResource) Create(ctx context.Context, req resource.CreateReq resp.Diagnostics.Append(diags...) } -func flattenArchiveLogs(target *archiveLogs.Target) *ArchiveLogsResourceModel { +func flattenArchiveLogs(target *cxsdk.Target) *ArchiveLogsResourceModel { if target == nil { return nil } + s3Target, ok := target.GetTargetSpec().(*cxsdk.TargetS3) + if !ok { + return nil + } + return &ArchiveLogsResourceModel{ ID: types.StringValue(""), - Active: types.BoolValue(target.GetIsActive().GetValue()), - Bucket: types.StringValue(target.GetBucket().GetValue()), - Region: types.StringValue(target.GetRegion().GetValue()), - ArchivingFormatId: types.StringValue(target.GetArchivingFormatId().GetValue()), - EnableTags: types.BoolValue(target.GetEnableTags().GetValue()), + Active: types.BoolValue(target.ArchiveSpec.GetIsActive()), + Bucket: types.StringValue(s3Target.S3.GetBucket()), + Region: types.StringValue(s3Target.S3.GetRegion()), + ArchivingFormatId: types.StringValue(target.ArchiveSpec.GetArchivingFormatId()), + EnableTags: types.BoolValue(target.ArchiveSpec.GetEnableTags()), } } -func extractArchiveLogs(plan ArchiveLogsResourceModel) *archiveLogs.SetTargetRequest { - return &archiveLogs.SetTargetRequest{ - IsActive: wrapperspb.Bool(plan.Active.ValueBool()), - Bucket: wrapperspb.String(plan.Bucket.ValueString()), +func extractArchiveLogs(plan ArchiveLogsResourceModel) *cxsdk.SetTargetRequest { + return &cxsdk.SetTargetRequest{ + IsActive: plan.Active.ValueBool(), + TargetSpec: &cxsdk.SetTargetRequestS3{ + S3: &cxsdk.S3TargetSpec{ + Bucket: plan.Bucket.ValueString(), + Region: plan.Region.ValueStringPointer(), + }, + }, } } @@ -194,7 +203,7 @@ func (r *ArchiveLogsResource) Read(ctx context.Context, req resource.ReadRequest //Get refreshed ArchiveLogs value from Coralogix id := state.ID.ValueString() log.Printf("[INFO] Reading archive-logs: %s", id) - getResp, err := r.client.GetArchiveLogs(ctx) + getResp, err := r.client.Get(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -206,7 +215,7 @@ func (r *ArchiveLogsResource) Read(ctx context.Context, req resource.ReadRequest } else { resp.Diagnostics.AddError( "Error reading archive-logs", - formatRpcErrors(err, getArchiveLogsURL, ""), + formatRpcErrors(err, cxsdk.ArchiveLogsGetTargetRPC, ""), ) } return @@ -234,23 +243,23 @@ func (r *ArchiveLogsResource) Update(ctx context.Context, req resource.UpdateReq return } log.Printf("[INFO] Updating archive-logs: %s", protojson.Format(updateReq)) - updateResp, err := r.client.UpdateArchiveLogs(ctx, updateReq) + updateResp, err := r.client.Update(ctx, updateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating archive-logs", - formatRpcErrors(err, createEvents2MetricURL, protojson.Format(updateReq)), + formatRpcErrors(err, cxsdk.E2MCreateRPC, protojson.Format(updateReq)), ) return } log.Printf("[INFO] Submitted updated archive-logs %s", protojson.Format(updateResp)) - readResp, err := r.client.GetArchiveLogs(ctx) + readResp, err := r.client.Get(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading archive-logs", - formatRpcErrors(err, getArchiveLogsURL, ""), + formatRpcErrors(err, cxsdk.ArchiveLogsGetTargetRPC, ""), ) return } diff --git a/coralogix/resource_coralogix_archive_metrics.go b/coralogix/resource_coralogix_archive_metrics.go index fcfd4935..6388a234 100644 --- a/coralogix/resource_coralogix_archive_metrics.go +++ b/coralogix/resource_coralogix_archive_metrics.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,6 +19,10 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + "github.com/hashicorp/terraform-plugin-framework-validators/objectvalidator" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" @@ -35,15 +39,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" - archiveMetrics "terraform-provider-coralogix/coralogix/clientset/grpc/archive-metrics" ) var ( - _ resource.ResourceWithConfigure = &ArchiveMetricsResource{} - _ resource.ResourceWithImportState = &ArchiveMetricsResource{} - updateArchiveMetricsURL = "com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/ConfigureTenant" - getArchiveMetricsURL = "com.coralogix.metrics.metrics_configurator.MetricsConfiguratorPublicService/GetTenantConfig" + _ resource.ResourceWithConfigure = &ArchiveMetricsResource{} + _ resource.ResourceWithImportState = &ArchiveMetricsResource{} ) type ArchiveMetricsResourceModel struct { @@ -60,7 +60,7 @@ func NewArchiveMetricsResource() resource.Resource { } type ArchiveMetricsResource struct { - client *clientset.ArchiveMetricsClient + client *cxsdk.ArchiveMetricsClient } func (r *ArchiveMetricsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { @@ -198,23 +198,23 @@ func (r *ArchiveMetricsResource) Create(ctx context.Context, req resource.Create return } log.Printf("[INFO] Creating new archive-metrics: %s", protojson.Format(createReq)) - _, err := r.client.UpdateArchiveMetrics(ctx, createReq) + _, err := r.client.ConfigureTenant(ctx, createReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating archive-metrics", - formatRpcErrors(err, updateArchiveMetricsURL, protojson.Format(createReq)), + formatRpcErrors(err, cxsdk.ArchiveMetricsConfigureTenantRPC, protojson.Format(createReq)), ) return } log.Print("[INFO] Submitted new archive-metrics") - readResp, err := r.client.GetArchiveMetrics(ctx) + readResp, err := r.client.Get(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading archive-metrics", - formatRpcErrors(err, getArchiveMetricsURL, ""), + formatRpcErrors(err, cxsdk.ArchiveMetricsGetTenantConfigRPC, ""), ) return } @@ -229,7 +229,7 @@ func (r *ArchiveMetricsResource) Create(ctx context.Context, req resource.Create resp.Diagnostics.Append(diags...) } -func flattenArchiveMetrics(ctx context.Context, metricConfig *archiveMetrics.TenantConfigV2) (*ArchiveMetricsResourceModel, diag.Diagnostics) { +func flattenArchiveMetrics(ctx context.Context, metricConfig *cxsdk.TenantConfigV2) (*ArchiveMetricsResourceModel, diag.Diagnostics) { flattenedMetricsConfig := &ArchiveMetricsResourceModel{ ID: types.StringValue(""), TenantID: types.Int64Value(int64(metricConfig.GetTenantId())), @@ -250,7 +250,7 @@ func flattenArchiveMetrics(ctx context.Context, metricConfig *archiveMetrics.Ten return flattenedMetricsConfig, nil } -func flattenRetentionPolicy(ctx context.Context, policy *archiveMetrics.RetentionPolicyRequest) (types.Object, diag.Diagnostics) { +func flattenRetentionPolicy(ctx context.Context, policy *cxsdk.RetentionPolicyRequest) (types.Object, diag.Diagnostics) { if policy == nil { return types.ObjectNull(retentionPolicyModelAttr()), nil } @@ -264,9 +264,9 @@ func flattenRetentionPolicy(ctx context.Context, policy *archiveMetrics.Retentio return types.ObjectValueFrom(ctx, retentionPolicyModelAttr(), flattenedPolicy) } -func flattenStorageConfig(ctx context.Context, metricConfig *archiveMetrics.TenantConfigV2, flattenedMetricsConfig *ArchiveMetricsResourceModel) (*ArchiveMetricsResourceModel, diag.Diagnostics) { +func flattenStorageConfig(ctx context.Context, metricConfig *cxsdk.TenantConfigV2, flattenedMetricsConfig *ArchiveMetricsResourceModel) (*ArchiveMetricsResourceModel, diag.Diagnostics) { switch storageConfig := metricConfig.GetStorageConfig().(type) { - case *archiveMetrics.TenantConfigV2_Ibm: + case *cxsdk.TenantConfigV2Ibm: ibmConfig := &IBMConfigModel{ Endpoint: types.StringValue(storageConfig.Ibm.GetEndpoint()), Crn: types.StringValue(storageConfig.Ibm.GetCrn()), @@ -277,7 +277,7 @@ func flattenStorageConfig(ctx context.Context, metricConfig *archiveMetrics.Tena } flattenedMetricsConfig.IBM = ibmConfigObject flattenedMetricsConfig.S3 = types.ObjectNull(s3ConfigModelAttr()) - case *archiveMetrics.TenantConfigV2_S3: + case *cxsdk.TenantConfigV2S3: s3Config := &S3ConfigModel{ Bucket: types.StringValue(storageConfig.S3.GetBucket()), Region: types.StringValue(storageConfig.S3.GetRegion()), @@ -315,16 +315,16 @@ func s3ConfigModelAttr() map[string]attr.Type { } } -func extractArchiveMetrics(ctx context.Context, plan ArchiveMetricsResourceModel) (*archiveMetrics.ConfigureTenantRequest, diag.Diagnostics) { - tenantConfig := archiveMetrics.ConfigureTenantRequest{} +func extractArchiveMetrics(ctx context.Context, plan ArchiveMetricsResourceModel) (*cxsdk.ConfigureTenantRequest, diag.Diagnostics) { + tenantConfig := cxsdk.ConfigureTenantRequest{} if !plan.IBM.IsNull() { var ibmConfig IBMConfigModel diags := plan.IBM.As(ctx, &ibmConfig, basetypes.ObjectAsOptions{}) if diags.HasError() { return nil, diags } - tenantConfig.StorageConfig = &archiveMetrics.ConfigureTenantRequest_Ibm{ - Ibm: &archiveMetrics.IbmConfigV2{ + tenantConfig.StorageConfig = &cxsdk.ConfigureTenantRequestIbm{ + Ibm: &cxsdk.ArchiveIbmConfigV2{ Endpoint: ibmConfig.Endpoint.ValueString(), Crn: ibmConfig.Crn.ValueString(), }, @@ -335,8 +335,8 @@ func extractArchiveMetrics(ctx context.Context, plan ArchiveMetricsResourceModel if diags.HasError() { return nil, diags } - tenantConfig.StorageConfig = &archiveMetrics.ConfigureTenantRequest_S3{ - S3: &archiveMetrics.S3Config{ + tenantConfig.StorageConfig = &cxsdk.ConfigureTenantRequestS3{ + S3: &cxsdk.ArchiveS3Config{ Bucket: s3Config.Bucket.ValueString(), Region: s3Config.Region.ValueString(), }, @@ -351,7 +351,7 @@ func extractArchiveMetrics(ctx context.Context, plan ArchiveMetricsResourceModel return &tenantConfig, nil } -func extractRetentionPolicies(ctx context.Context, policy types.Object) (*archiveMetrics.RetentionPolicyRequest, diag.Diagnostics) { +func extractRetentionPolicies(ctx context.Context, policy types.Object) (*cxsdk.RetentionPolicyRequest, diag.Diagnostics) { if policy.IsNull() || policy.IsUnknown() { return nil, nil } @@ -361,7 +361,7 @@ func extractRetentionPolicies(ctx context.Context, policy types.Object) (*archiv return nil, diags } - return &archiveMetrics.RetentionPolicyRequest{ + return &cxsdk.RetentionPolicyRequest{ RawResolution: uint32(policyModel.RawResolution.ValueInt64()), FiveMinutesResolution: uint32(policyModel.FiveMinutesResolution.ValueInt64()), OneHourResolution: uint32(policyModel.OneHourResolution.ValueInt64()), @@ -379,7 +379,7 @@ func (r *ArchiveMetricsResource) Read(ctx context.Context, req resource.ReadRequ //Get refreshed archiveMetrics value from Coralogix id := state.ID.ValueString() log.Printf("[INFO] Reading archiveMetrics: %s", id) - getResp, err := r.client.GetArchiveMetrics(ctx) + getResp, err := r.client.Get(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -391,7 +391,7 @@ func (r *ArchiveMetricsResource) Read(ctx context.Context, req resource.ReadRequ } else { resp.Diagnostics.AddError( "Error reading archive-metrics", - formatRpcErrors(err, getArchiveMetricsURL, ""), + formatRpcErrors(err, cxsdk.ArchiveMetricsGetTenantConfigRPC, ""), ) } return @@ -417,29 +417,29 @@ func (r *ArchiveMetricsResource) Update(ctx context.Context, req resource.Update return } - createReq, diags := extractArchiveMetrics(ctx, *plan) + updateReq, diags := extractArchiveMetrics(ctx, *plan) if diags.HasError() { resp.Diagnostics.Append(diags...) return } - log.Printf("[INFO] Updating new archiveMetrics: %s", protojson.Format(createReq)) - _, err := r.client.UpdateArchiveMetrics(ctx, createReq) + log.Printf("[INFO] Updating new archiveMetrics: %s", protojson.Format(updateReq)) + _, err := r.client.ConfigureTenant(ctx, updateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating archive-metrics", - formatRpcErrors(err, createEvents2MetricURL, protojson.Format(createReq)), + formatRpcErrors(err, cxsdk.E2MCreateRPC, protojson.Format(updateReq)), ) return } log.Print("[INFO] Submitted updated archive-metrics") - readResp, err := r.client.GetArchiveMetrics(ctx) + readResp, err := r.client.Get(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading archive-metrics", - formatRpcErrors(err, getArchiveMetricsURL, ""), + formatRpcErrors(err, cxsdk.ArchiveMetricsGetTenantConfigRPC, ""), ) return } diff --git a/coralogix/resource_coralogix_archive_retentions.go b/coralogix/resource_coralogix_archive_retentions.go index 3212a1a8..2c8cfdac 100644 --- a/coralogix/resource_coralogix_archive_retentions.go +++ b/coralogix/resource_coralogix_archive_retentions.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,7 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - archiveRetention "terraform-provider-coralogix/coralogix/clientset/grpc/archive-retentions" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework-validators/listvalidator" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -38,10 +39,8 @@ import ( ) var ( - _ resource.ResourceWithConfigure = &ArchiveRetentionsResource{} - _ resource.ResourceWithImportState = &ArchiveRetentionsResource{} - getArchiveRetentionsURL = "com.coralogix.archive.v1.RetentionsService/GetRetentions" - updateArchiveRetentionsURL = "com.coralogix.archive.v1.RetentionsService/UpdateRetentions" + _ resource.ResourceWithConfigure = &ArchiveRetentionsResource{} + _ resource.ResourceWithImportState = &ArchiveRetentionsResource{} ) func NewArchiveRetentionsResource() resource.Resource { @@ -49,7 +48,7 @@ func NewArchiveRetentionsResource() resource.Resource { } type ArchiveRetentionsResource struct { - client *clientset.ArchiveRetentionsClient + client *cxsdk.ArchiveRetentionsClient } func (r *ArchiveRetentionsResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -131,7 +130,11 @@ func (r retentionsValidator) ValidateList(ctx context.Context, req validator.Lis } var archiveRetentionResourceModel ArchiveRetentionResourceModel - retentionsObjects[0].As(ctx, &archiveRetentionResourceModel, basetypes.ObjectAsOptions{}) + ok := retentionsObjects[0].As(ctx, archiveRetentionResourceModel, basetypes.ObjectAsOptions{}) + if ok.HasError() { + resp.Diagnostics.Append(ok...) + return + } if !archiveRetentionResourceModel.Name.IsNull() { resp.Diagnostics.AddError("error on validating retentions", "first retention's name can't be set") } @@ -158,11 +161,11 @@ func (r *ArchiveRetentionsResource) Create(ctx context.Context, req resource.Cre } log.Print("[INFO] Reading archive-retentions") - getArchiveRetentionsReq := &archiveRetention.GetRetentionsRequest{} - getArchiveRetentionsResp, err := r.client.GetRetentions(ctx, getArchiveRetentionsReq) + getArchiveRetentionsReq := &cxsdk.GetRetentionsRequest{} + getArchiveRetentionsResp, err := r.client.Get(ctx, getArchiveRetentionsReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - formatRpcErrors(err, getArchiveRetentionsURL, protojson.Format(getArchiveRetentionsReq)) + formatRpcErrors(err, cxsdk.ArchiveRetentionGetRetentionsRPC, protojson.Format(getArchiveRetentionsReq)) return } log.Printf("[INFO] Received archive-retentions: %s", protojson.Format(getArchiveRetentionsResp)) @@ -172,14 +175,14 @@ func (r *ArchiveRetentionsResource) Create(ctx context.Context, req resource.Cre resp.Diagnostics.Append(diags...) return } - archiveRetentionsStr := protojson.Format(createArchiveRetentions) - log.Printf("[INFO] Updating archive-retentions: %s", archiveRetentionsStr) - updateResp, err := r.client.UpdateRetentions(ctx, createArchiveRetentions) + archiveRetentionStr := protojson.Format(createArchiveRetentions) + log.Printf("[INFO] Updating archive-retentions: %s", archiveRetentionStr) + updateResp, err := r.client.Update(ctx, createArchiveRetentions) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) diags.AddError( "Error creating archive-retentions", - formatRpcErrors(err, updateArchiveRetentionsURL, archiveRetentionsStr), + formatRpcErrors(err, cxsdk.ArchiveRetentionUpdateRetentionsRPC, archiveRetentionStr), ) return } @@ -195,7 +198,7 @@ func (r *ArchiveRetentionsResource) Create(ctx context.Context, req resource.Cre resp.Diagnostics.Append(diags...) } -func flattenArchiveRetentions(ctx context.Context, retentions []*archiveRetention.Retention) (*ArchiveRetentionsResourceModel, diag.Diagnostics) { +func flattenArchiveRetentions(ctx context.Context, retentions []*cxsdk.Retention) (*ArchiveRetentionsResourceModel, diag.Diagnostics) { if len(retentions) == 0 { r, _ := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: archiveRetentionAttributes()}, []types.Object{}) return &ArchiveRetentionsResourceModel{ @@ -244,9 +247,9 @@ func archiveRetentionAttributes() map[string]attr.Type { } } -func extractCreateArchiveRetentions(ctx context.Context, plan *ArchiveRetentionsResourceModel, exitingRetentions []*archiveRetention.Retention) (*archiveRetention.UpdateRetentionsRequest, diag.Diagnostics) { +func extractCreateArchiveRetentions(ctx context.Context, plan *ArchiveRetentionsResourceModel, exitingRetentions []*cxsdk.Retention) (*cxsdk.UpdateRetentionsRequest, diag.Diagnostics) { var diags diag.Diagnostics - var retentions []*archiveRetention.RetentionUpdateElement + var retentions []*cxsdk.RetentionUpdateElement var retentionsObjects []types.Object plan.Retentions.ElementsAs(ctx, &retentionsObjects, true) for i, retentionObject := range retentionsObjects { @@ -255,25 +258,25 @@ func extractCreateArchiveRetentions(ctx context.Context, plan *ArchiveRetentions diags.Append(dg...) continue } - retentions = append(retentions, &archiveRetention.RetentionUpdateElement{ + retentions = append(retentions, &cxsdk.RetentionUpdateElement{ Id: wrapperspb.String(exitingRetentions[i].GetId().GetValue()), Name: typeStringToWrapperspbString(retentionModel.Name), }) } retentions[0].Name = wrapperspb.String("Default") - return &archiveRetention.UpdateRetentionsRequest{ + return &cxsdk.UpdateRetentionsRequest{ RetentionUpdateElements: retentions, }, diags } -func extractUpdateArchiveRetentions(ctx context.Context, plan, state *ArchiveRetentionsResourceModel) (*archiveRetention.UpdateRetentionsRequest, diag.Diagnostics) { +func extractUpdateArchiveRetentions(ctx context.Context, plan, state *ArchiveRetentionsResourceModel) (*cxsdk.UpdateRetentionsRequest, diag.Diagnostics) { var diags diag.Diagnostics var planRetentionsObjects, stateRetentionsObjects []types.Object plan.Retentions.ElementsAs(ctx, &planRetentionsObjects, true) state.Retentions.ElementsAs(ctx, &stateRetentionsObjects, true) - var retentions []*archiveRetention.RetentionUpdateElement + var retentions []*cxsdk.RetentionUpdateElement for i := range planRetentionsObjects { var planRetentionModel, stateRetentionModel ArchiveRetentionResourceModel if dg := planRetentionsObjects[i].As(ctx, &planRetentionModel, basetypes.ObjectAsOptions{}); dg.HasError() { @@ -284,13 +287,13 @@ func extractUpdateArchiveRetentions(ctx context.Context, plan, state *ArchiveRet diags.Append(dg...) continue } - retentions = append(retentions, &archiveRetention.RetentionUpdateElement{ + retentions = append(retentions, &cxsdk.RetentionUpdateElement{ Id: typeStringToWrapperspbString(stateRetentionModel.ID), Name: typeStringToWrapperspbString(planRetentionModel.Name), }) } retentions[0].Name = wrapperspb.String("Default") - return &archiveRetention.UpdateRetentionsRequest{ + return &cxsdk.UpdateRetentionsRequest{ RetentionUpdateElements: retentions, }, diags } @@ -304,11 +307,11 @@ func (r *ArchiveRetentionsResource) Read(ctx context.Context, req resource.ReadR } log.Print("[INFO] Reading archive-retentions") - getArchiveRetentionsReq := &archiveRetention.GetRetentionsRequest{} - getArchiveRetentionsResp, err := r.client.GetRetentions(ctx, getArchiveRetentionsReq) + getArchiveRetentionsReq := &cxsdk.GetRetentionsRequest{} + getArchiveRetentionsResp, err := r.client.Get(ctx, getArchiveRetentionsReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - formatRpcErrors(err, getArchiveRetentionsURL, protojson.Format(getArchiveRetentionsReq)) + formatRpcErrors(err, cxsdk.ArchiveRetentionGetRetentionsRPC, protojson.Format(getArchiveRetentionsReq)) return } log.Printf("[INFO] Received archive-retentions: %s", protojson.Format(getArchiveRetentionsResp)) @@ -344,25 +347,25 @@ func (r *ArchiveRetentionsResource) Update(ctx context.Context, req resource.Upd return } log.Printf("[INFO] Updating archive-retentions: %s", protojson.Format(archiveRetentionsUpdateReq)) - archiveRetentionsUpdateResp, err := r.client.UpdateRetentions(ctx, archiveRetentionsUpdateReq) + archiveRetentionsUpdateResp, err := r.client.Update(ctx, archiveRetentionsUpdateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating archive-retentions", - formatRpcErrors(err, updateArchiveRetentionsURL, protojson.Format(archiveRetentionsUpdateReq)), + formatRpcErrors(err, cxsdk.ArchiveRetentionUpdateRetentionsRPC, protojson.Format(archiveRetentionsUpdateResp)), ) return } log.Printf("[INFO] Submitted updated archive-retentions: %s", protojson.Format(archiveRetentionsUpdateResp)) // Get refreshed archive-retentions value from Coralogix - getArchiveRetentionsReq := &archiveRetention.GetRetentionsRequest{} - getArchiveRetentionsResp, err := r.client.GetRetentions(ctx, getArchiveRetentionsReq) + getArchiveRetentionsReq := &cxsdk.GetRetentionsRequest{} + getArchiveRetentionsResp, err := r.client.Get(ctx, getArchiveRetentionsReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading archive-retentions", - formatRpcErrors(err, getArchiveRetentionsURL, protojson.Format(getArchiveRetentionsReq)), + formatRpcErrors(err, cxsdk.ArchiveRetentionGetRetentionsRPC, protojson.Format(getArchiveRetentionsReq)), ) return } @@ -387,11 +390,11 @@ func (r *ArchiveRetentionsResource) Delete(ctx context.Context, req resource.Del } log.Print("[INFO] Deleting archive-retentions") - deleteReq := &archiveRetention.UpdateRetentionsRequest{} - if _, err := r.client.UpdateRetentions(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.UpdateRetentionsRequest{} + if _, err := r.client.Update(ctx, deleteReq); err != nil { resp.Diagnostics.AddError( "Error Deleting archive-retentions", - formatRpcErrors(err, updateArchiveRetentionsURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.ArchiveRetentionUpdateRetentionsRPC, protojson.Format(deleteReq)), ) return } diff --git a/coralogix/resource_coralogix_custom_role.go b/coralogix/resource_coralogix_custom_role.go index 426d86ce..d443009b 100644 --- a/coralogix/resource_coralogix_custom_role.go +++ b/coralogix/resource_coralogix_custom_role.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,6 +20,8 @@ import ( "log" "strconv" + "terraform-provider-coralogix/coralogix/clientset" + "github.com/hashicorp/terraform-plugin-framework-validators/setvalidator" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/path" @@ -32,15 +34,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "terraform-provider-coralogix/coralogix/clientset" - roles "terraform-provider-coralogix/coralogix/clientset/grpc/roles" -) -var ( - getRolePath = "com.coralogixapis.aaa.rbac.v2.RoleManagementService/GetCustomRole" - createRolePath = "com.coralogixapis.aaa.rbac.v2.RoleManagementService/CreateRole" - deleteRolePath = "com.coralogixapis.aaa.rbac.v2.RoleManagementService/DeleteRole" - updateRolePath = "com.coralogixapis.aaa.rbac.v2.RoleManagementService/UpdateRole" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" ) func NewCustomRoleSource() resource.Resource { @@ -48,7 +43,7 @@ func NewCustomRoleSource() resource.Resource { } type CustomRoleSource struct { - client *clientset.RolesClient + client *cxsdk.RolesClient } func (c *CustomRoleSource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -112,7 +107,7 @@ func (c *CustomRoleSource) Schema(_ context.Context, _ resource.SchemaRequest, r }, }, }, - MarkdownDescription: "Coralogix Custom roles.", + MarkdownDescription: "Coralogix Custom cxsdk.", } } @@ -131,12 +126,12 @@ func (c *CustomRoleSource) Create(ctx context.Context, req resource.CreateReques } log.Printf("[INFO] Creating Custom Role: %s", protojson.Format(createCustomRoleRequest)) - createCustomRoleResponse, err := c.client.CreateRole(ctx, createCustomRoleRequest) + createCustomRoleResponse, err := c.client.Create(ctx, createCustomRoleRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating Custom Role", - formatRpcErrors(err, createRolePath, protojson.Format(createCustomRoleRequest)), + formatRpcErrors(err, cxsdk.RolesCreateRoleRPC, protojson.Format(createCustomRoleRequest)), ) return } @@ -161,9 +156,9 @@ func (c *CustomRoleSource) Read(ctx context.Context, req resource.ReadRequest, r return } - readReq := &roles.GetCustomRoleRequest{RoleId: uint32(roleId)} + readReq := &cxsdk.GetCustomRoleRequest{RoleId: uint32(roleId)} log.Printf("[INFO] Reading Custom Role: %s", protojson.Format(readReq)) - role, err := c.client.GetRole(ctx, readReq) + role, err := c.client.Get(ctx, readReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -175,7 +170,7 @@ func (c *CustomRoleSource) Read(ctx context.Context, req resource.ReadRequest, r } else { resp.Diagnostics.AddError( "Error reading Custom Role", - formatRpcErrors(err, getRolePath, protojson.Format(readReq)), + formatRpcErrors(err, cxsdk.RolesGetCustomRoleRPC, protojson.Format(readReq)), ) } return @@ -205,7 +200,7 @@ func (c *CustomRoleSource) Update(ctx context.Context, req resource.UpdateReques resp.Diagnostics.AddError("Invalid Id", "Custom role id must be an int") return } - var updateRoleRequest = roles.UpdateRoleRequest{ + var updateRoleRequest = cxsdk.UpdateRoleRequest{ RoleId: uint32(roleId), } @@ -228,17 +223,17 @@ func (c *CustomRoleSource) Update(ctx context.Context, req resource.UpdateReques resp.Diagnostics.Append(diags...) return } - updateRoleRequest.NewPermissions = &roles.Permissions{ + updateRoleRequest.NewPermissions = &cxsdk.RolePermissions{ Permissions: permissions, } } - _, err = c.client.UpdateRole(ctx, &updateRoleRequest) + _, err = c.client.Update(ctx, &updateRoleRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating custom role", - formatRpcErrors(err, updateRolePath, protojson.Format(&updateRoleRequest)), + formatRpcErrors(err, cxsdk.RolesUpdateRoleRPC, protojson.Format(&updateRoleRequest)), ) return } @@ -266,16 +261,16 @@ func (c *CustomRoleSource) Delete(ctx context.Context, req resource.DeleteReques resp.Diagnostics.AddError("Invalid Id", "Custom role id must be an int") return } - deleteRoleRequest := roles.DeleteRoleRequest{ + deleteRoleRequest := cxsdk.DeleteRoleRequest{ RoleId: uint32(id), } - _, err = c.client.DeleteRole(ctx, &deleteRoleRequest) + _, err = c.client.Delete(ctx, &deleteRoleRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error deleting Custom Role", - formatRpcErrors(err, deleteRolePath, protojson.Format(&deleteRoleRequest)), + formatRpcErrors(err, cxsdk.RolesDeleteRoleRPC, protojson.Format(&deleteRoleRequest)), ) return } @@ -283,21 +278,21 @@ func (c *CustomRoleSource) Delete(ctx context.Context, req resource.DeleteReques log.Printf("[INFO] Custom Role %v deleted", id) } -func makeCreateCustomRoleRequest(ctx context.Context, roleModel *RolesModel) (*roles.CreateRoleRequest, diag.Diagnostics) { +func makeCreateCustomRoleRequest(ctx context.Context, roleModel *RolesModel) (*cxsdk.CreateRoleRequest, diag.Diagnostics) { permissions, diags := typeStringSliceToStringSlice(ctx, roleModel.Permissions.Elements()) if diags.HasError() { return nil, diags } - return &roles.CreateRoleRequest{ + return &cxsdk.CreateRoleRequest{ Name: roleModel.Name.ValueString(), Description: roleModel.Description.ValueString(), Permissions: permissions, - ParentRole: &roles.CreateRoleRequest_ParentRoleName{ParentRoleName: roleModel.ParentRole.ValueString()}, + ParentRole: &cxsdk.CreateRoleRequestParentRoleName{ParentRoleName: roleModel.ParentRole.ValueString()}, }, nil } -func flatterCustomRole(ctx context.Context, customRole *roles.CustomRole) (*RolesModel, diag.Diagnostics) { +func flatterCustomRole(ctx context.Context, customRole *cxsdk.CustomRole) (*RolesModel, diag.Diagnostics) { var diags diag.Diagnostics permissions, diags := types.SetValueFrom(ctx, types.StringType, customRole.Permissions) diff --git a/coralogix/resource_coralogix_dashboard.go b/coralogix/resource_coralogix_dashboard.go index 467190d1..7ed4ebf5 100644 --- a/coralogix/resource_coralogix_dashboard.go +++ b/coralogix/resource_coralogix_dashboard.go @@ -12,6 +12,20 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package coralogix import ( @@ -23,7 +37,8 @@ import ( "time" "terraform-provider-coralogix/coralogix/clientset" - dashboards "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/google/uuid" "github.com/hashicorp/terraform-plugin-framework-validators/float64validator" @@ -56,186 +71,197 @@ import ( ) var ( - dashboardLegendPlacementSchemaToProto = map[string]dashboards.Legend_LegendPlacement{ - "unspecified": dashboards.Legend_LEGEND_PLACEMENT_UNSPECIFIED, - "auto": dashboards.Legend_LEGEND_PLACEMENT_AUTO, - "bottom": dashboards.Legend_LEGEND_PLACEMENT_BOTTOM, - "side": dashboards.Legend_LEGEND_PLACEMENT_SIDE, - "hidden": dashboards.Legend_LEGEND_PLACEMENT_HIDDEN, + dashboardLegendPlacementSchemaToProto = map[string]cxsdk.LegendPlacement{ + "unspecified": cxsdk.LegendPlacementUnspecified, + "auto": cxsdk.LegendPlacementAuto, + "bottom": cxsdk.LegendPlacementBottom, + "side": cxsdk.LegendPlacementSide, + "hidden": cxsdk.LegendPlacementHidden, } dashboardLegendPlacementProtoToSchema = ReverseMap(dashboardLegendPlacementSchemaToProto) dashboardValidLegendPlacements = GetKeys(dashboardLegendPlacementSchemaToProto) - dashboardRowStyleSchemaToProto = map[string]dashboards.RowStyle{ - //"unspecified": dashboards.RowStyle_ROW_STYLE_UNSPECIFIED, - "one_line": dashboards.RowStyle_ROW_STYLE_ONE_LINE, - "two_line": dashboards.RowStyle_ROW_STYLE_TWO_LINE, - "condensed": dashboards.RowStyle_ROW_STYLE_CONDENSED, - "json": dashboards.RowStyle_ROW_STYLE_JSON, + + dashboardRowStyleSchemaToProto = map[string]cxsdk.RowStyle{ + "unspecified": cxsdk.RowStyleUnspecified, + "one_line": cxsdk.RowStyleOneLine, + "two_line": cxsdk.RowStyleTwoLine, + "condensed": cxsdk.RowStyleCondensed, + "json": cxsdk.RowStyleJSON, + "list": cxsdk.RowStyleList, } dashboardRowStyleProtoToSchema = ReverseMap(dashboardRowStyleSchemaToProto) dashboardValidRowStyles = GetKeys(dashboardRowStyleSchemaToProto) - dashboardLegendColumnSchemaToProto = map[string]dashboards.Legend_LegendColumn{ - "unspecified": dashboards.Legend_LEGEND_COLUMN_UNSPECIFIED, - "min": dashboards.Legend_LEGEND_COLUMN_MIN, - "max": dashboards.Legend_LEGEND_COLUMN_MAX, - "sum": dashboards.Legend_LEGEND_COLUMN_SUM, - "avg": dashboards.Legend_LEGEND_COLUMN_AVG, - "last": dashboards.Legend_LEGEND_COLUMN_LAST, + dashboardLegendColumnSchemaToProto = map[string]cxsdk.DashboardLegendColumn{ + "unspecified": cxsdk.LegendColumnUnspecified, + "min": cxsdk.LegendColumnMin, + "max": cxsdk.LegendColumnMax, + "sum": cxsdk.LegendColumnSum, + "avg": cxsdk.LegendColumnAvg, + "last": cxsdk.LegendColumnLast, + "name": cxsdk.LegendColumnName, } 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, + dashboardOrderDirectionSchemaToProto = map[string]cxsdk.OrderDirection{ + "unspecified": cxsdk.OrderDirectionUnspecified, + "asc": cxsdk.OrderDirectionAsc, + "desc": cxsdk.OrderDirectionDesc, } dashboardOrderDirectionProtoToSchema = ReverseMap(dashboardOrderDirectionSchemaToProto) dashboardValidOrderDirections = GetKeys(dashboardOrderDirectionSchemaToProto) - dashboardSchemaToProtoTooltipType = map[string]dashboards.LineChart_TooltipType{ - "unspecified": dashboards.LineChart_TOOLTIP_TYPE_UNSPECIFIED, - "all": dashboards.LineChart_TOOLTIP_TYPE_ALL, - "single": dashboards.LineChart_TOOLTIP_TYPE_SINGLE, + dashboardSchemaToProtoTooltipType = map[string]cxsdk.LineChartTooltipType{ + "unspecified": cxsdk.LineChartToolTipTypeUnspecified, + "all": cxsdk.LineChartToolTipTypeAll, + "single": cxsdk.LineChartToolTipTypeSingle, } dashboardProtoToSchemaTooltipType = ReverseMap(dashboardSchemaToProtoTooltipType) dashboardValidTooltipTypes = GetKeys(dashboardSchemaToProtoTooltipType) - dashboardSchemaToProtoScaleType = map[string]dashboards.ScaleType{ - "unspecified": dashboards.ScaleType_SCALE_TYPE_UNSPECIFIED, - "linear": dashboards.ScaleType_SCALE_TYPE_LINEAR, - "logarithmic": dashboards.ScaleType_SCALE_TYPE_LOGARITHMIC, + dashboardSchemaToProtoScaleType = map[string]cxsdk.ScaleType{ + "unspecified": cxsdk.ScaleTypeUnspecified, + "linear": cxsdk.ScaleTypeLinear, + "logarithmic": cxsdk.ScaleTypeLogarithmic, } dashboardProtoToSchemaScaleType = ReverseMap(dashboardSchemaToProtoScaleType) dashboardValidScaleTypes = GetKeys(dashboardSchemaToProtoScaleType) - dashboardSchemaToProtoUnit = map[string]dashboards.Unit{ - "unspecified": dashboards.Unit_UNIT_UNSPECIFIED, - "microseconds": dashboards.Unit_UNIT_MICROSECONDS, - "milliseconds": dashboards.Unit_UNIT_MILLISECONDS, - "seconds": dashboards.Unit_UNIT_SECONDS, - "bytes": dashboards.Unit_UNIT_BYTES, - "kbytes": dashboards.Unit_UNIT_KBYTES, - "mbytes": dashboards.Unit_UNIT_MBYTES, - "gbytes": dashboards.Unit_UNIT_GBYTES, - "bytes_iec": dashboards.Unit_UNIT_BYTES_IEC, - "kibytes": dashboards.Unit_UNIT_KIBYTES, - "mibytes": dashboards.Unit_UNIT_MIBYTES, - "gibytes": dashboards.Unit_UNIT_GIBYTES, - "euro_cents": dashboards.Unit_UNIT_EUR_CENTS, - "euro": dashboards.Unit_UNIT_EUR, - "usd_cents": dashboards.Unit_UNIT_USD_CENTS, - "usd": dashboards.Unit_UNIT_USD, + dashboardSchemaToProtoUnit = map[string]cxsdk.Unit{ + "unspecified": cxsdk.UnitUnspecified, + "microseconds": cxsdk.UnitMicroseconds, + "milliseconds": cxsdk.UnitMilliseconds, + "nanoseconds": cxsdk.UnitNanoseconds, + "seconds": cxsdk.UnitSeconds, + "bytes": cxsdk.UnitBytes, + "kbytes": cxsdk.UnitKbytes, + "mbytes": cxsdk.UnitMbytes, + "gbytes": cxsdk.UnitGbytes, + "bytes_iec": cxsdk.UnitBytesIec, + "kibytes": cxsdk.UnitKibytes, + "mibytes": cxsdk.UnitMibytes, + "gibytes": cxsdk.UnitGibytes, + "euro_cents": cxsdk.UnitEurCents, + "euro": cxsdk.UnitEur, + "usd_cents": cxsdk.UnitUsdCents, + "usd": cxsdk.UnitUsd, + "custom": cxsdk.UnitCustom, + "percent01": cxsdk.UnitPercent01, + "percent100": cxsdk.UnitPercent100, } dashboardProtoToSchemaUnit = ReverseMap(dashboardSchemaToProtoUnit) dashboardValidUnits = GetKeys(dashboardSchemaToProtoUnit) - dashboardSchemaToProtoGaugeUnit = map[string]dashboards.Gauge_Unit{ - //"unspecified": dashboards.Gauge_UNIT_UNSPECIFIED, - "none": dashboards.Gauge_UNIT_NUMBER, - "percent": dashboards.Gauge_UNIT_PERCENT, - "microseconds": dashboards.Gauge_UNIT_MICROSECONDS, - "milliseconds": dashboards.Gauge_UNIT_MILLISECONDS, - "seconds": dashboards.Gauge_UNIT_SECONDS, - "bytes": dashboards.Gauge_UNIT_BYTES, - "kbytes": dashboards.Gauge_UNIT_KBYTES, - "mbytes": dashboards.Gauge_UNIT_MBYTES, - "gbytes": dashboards.Gauge_UNIT_GBYTES, - "bytes_iec": dashboards.Gauge_UNIT_BYTES_IEC, - "kibytes": dashboards.Gauge_UNIT_KIBYTES, - "mibytes": dashboards.Gauge_UNIT_MIBYTES, - "gibytes": dashboards.Gauge_UNIT_GIBYTES, - "euro_cents": dashboards.Gauge_UNIT_EUR_CENTS, - "euro": dashboards.Gauge_UNIT_EUR, - "usd_cents": dashboards.Gauge_UNIT_USD_CENTS, - "usd": dashboards.Gauge_UNIT_USD, + dashboardSchemaToProtoGaugeUnit = map[string]cxsdk.GaugeUnit{ + "unspecified": cxsdk.GaugeUnitUnspecified, + "none": cxsdk.GaugeUnitMicroseconds, + "percent": cxsdk.GaugeUnitMilliseconds, + "microseconds": cxsdk.GaugeUnitNanoseconds, + "milliseconds": cxsdk.GaugeUnitNumber, + "nanoseconds": cxsdk.GaugeUnitPercent, + "seconds": cxsdk.GaugeUnitSeconds, + "bytes": cxsdk.GaugeUnitBytes, + "kbytes": cxsdk.GaugeUnitKbytes, + "mbytes": cxsdk.GaugeUnitMbytes, + "gbytes": cxsdk.GaugeUnitGbytes, + "bytes_iec": cxsdk.GaugeUnitBytesIec, + "kibytes": cxsdk.GaugeUnitKibytes, + "mibytes": cxsdk.GaugeUnitMibytes, + "gibytes": cxsdk.GaugeUnitGibytes, + "euro_cents": cxsdk.GaugeUnitEurCents, + "euro": cxsdk.GaugeUnitEur, + "usd_cents": cxsdk.GaugeUnitUsdCents, + "usd": cxsdk.GaugeUnitUsd, + "custom": cxsdk.GaugeUnitCustom, + "percent01": cxsdk.GaugeUnitPercent01, + "percent100": cxsdk.GaugeUnitPercent100, } dashboardProtoToSchemaGaugeUnit = ReverseMap(dashboardSchemaToProtoGaugeUnit) dashboardValidGaugeUnits = GetKeys(dashboardSchemaToProtoGaugeUnit) - dashboardSchemaToProtoPieChartLabelSource = map[string]dashboards.PieChart_LabelSource{ - "unspecified": dashboards.PieChart_LABEL_SOURCE_UNSPECIFIED, - "inner": dashboards.PieChart_LABEL_SOURCE_INNER, - "stack": dashboards.PieChart_LABEL_SOURCE_STACK, + dashboardSchemaToProtoPieChartLabelSource = map[string]cxsdk.PieChartLabelSource{ + "unspecified": cxsdk.PieChartLabelSourceUnspecified, + "inner": cxsdk.PieChartLabelSourceInner, + "stack": cxsdk.PieChartLabelSourceStack, } dashboardProtoToSchemaPieChartLabelSource = ReverseMap(dashboardSchemaToProtoPieChartLabelSource) dashboardValidPieChartLabelSources = GetKeys(dashboardSchemaToProtoPieChartLabelSource) - dashboardSchemaToProtoGaugeAggregation = map[string]dashboards.Gauge_Aggregation{ - "unspecified": dashboards.Gauge_AGGREGATION_UNSPECIFIED, - "last": dashboards.Gauge_AGGREGATION_LAST, - "min": dashboards.Gauge_AGGREGATION_MIN, - "max": dashboards.Gauge_AGGREGATION_MAX, - "avg": dashboards.Gauge_AGGREGATION_AVG, - "sum": dashboards.Gauge_AGGREGATION_SUM, + dashboardSchemaToProtoGaugeAggregation = map[string]cxsdk.GaugeAggregation{ + "unspecified": cxsdk.GaugeAggregationUnspecified, + "last": cxsdk.GaugeAggregationLast, + "min": cxsdk.GaugeAggregationMin, + "max": cxsdk.GaugeAggregationMax, + "avg": cxsdk.GaugeAggregationAvg, + "sum": cxsdk.GaugeAggregationSum, } dashboardProtoToSchemaGaugeAggregation = ReverseMap(dashboardSchemaToProtoGaugeAggregation) dashboardValidGaugeAggregations = GetKeys(dashboardSchemaToProtoGaugeAggregation) - dashboardSchemaToProtoSpansAggregationMetricField = map[string]dashboards.SpansAggregation_MetricAggregation_MetricField{ - "unspecified": dashboards.SpansAggregation_MetricAggregation_METRIC_FIELD_UNSPECIFIED, - "duration": dashboards.SpansAggregation_MetricAggregation_METRIC_FIELD_DURATION, + dashboardSchemaToProtoSpansAggregationMetricField = map[string]cxsdk.SpansAggregationMetricAggregationMetricField{ + "unspecified": cxsdk.SpansAggregationMetricAggregationMetricFieldUnspecified, + "duration": cxsdk.SpansAggregationMetricAggregationMetricFieldDuration, } dashboardProtoToSchemaSpansAggregationMetricField = ReverseMap(dashboardSchemaToProtoSpansAggregationMetricField) dashboardValidSpansAggregationMetricFields = GetKeys(dashboardSchemaToProtoSpansAggregationMetricField) - dashboardSchemaToProtoSpansAggregationMetricAggregationType = map[string]dashboards.SpansAggregation_MetricAggregation_MetricAggregationType{ - "unspecified": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_UNSPECIFIED, - "min": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_MIN, - "max": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_MAX, - "avg": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_AVERAGE, - "sum": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_SUM, - "percentile_99": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_PERCENTILE_99, - "percentile_95": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_PERCENTILE_95, - "percentile_50": dashboards.SpansAggregation_MetricAggregation_METRIC_AGGREGATION_TYPE_PERCENTILE_50, + dashboardSchemaToProtoSpansAggregationMetricAggregationType = map[string]cxsdk.SpansAggregationMetricAggregationMetricAggregationType{ + "unspecified": cxsdk.SpansAggregationMetricAggregationMetricTypeUnspecified, + "min": cxsdk.SpansAggregationMetricAggregationMetricTypeMin, + "max": cxsdk.SpansAggregationMetricAggregationMetricTypeMax, + "avg": cxsdk.SpansAggregationMetricAggregationMetricTypeAverage, + "sum": cxsdk.SpansAggregationMetricAggregationMetricTypeSum, + "percentile_99": cxsdk.SpansAggregationMetricAggregationMetricTypePercentile99, + "percentile_95": cxsdk.SpansAggregationMetricAggregationMetricTypePercentile95, + "percentile_50": cxsdk.SpansAggregationMetricAggregationMetricTypePercentile50, } dashboardProtoToSchemaSpansAggregationMetricAggregationType = ReverseMap(dashboardSchemaToProtoSpansAggregationMetricAggregationType) dashboardValidSpansAggregationMetricAggregationTypes = GetKeys(dashboardSchemaToProtoSpansAggregationMetricAggregationType) - dashboardProtoToSchemaSpansAggregationDimensionField = map[string]dashboards.SpansAggregation_DimensionAggregation_DimensionField{ - "unspecified": dashboards.SpansAggregation_DimensionAggregation_DIMENSION_FIELD_UNSPECIFIED, - "trace_id": dashboards.SpansAggregation_DimensionAggregation_DIMENSION_FIELD_TRACE_ID, + dashboardProtoToSchemaSpansAggregationDimensionField = map[string]cxsdk.SpansAggregationDimensionAggregationDimensionField{ + "unspecified": cxsdk.SpansAggregationDimensionAggregationDimensionFieldUnspecified, + "trace_id": cxsdk.SpansAggregationDimensionAggregationDimensionFieldTraceID, } dashboardSchemaToProtoSpansAggregationDimensionField = ReverseMap(dashboardProtoToSchemaSpansAggregationDimensionField) dashboardValidSpansAggregationDimensionFields = GetKeys(dashboardProtoToSchemaSpansAggregationDimensionField) - dashboardSchemaToProtoSpansAggregationDimensionAggregationType = map[string]dashboards.SpansAggregation_DimensionAggregation_DimensionAggregationType{ - "unspecified": dashboards.SpansAggregation_DimensionAggregation_DIMENSION_AGGREGATION_TYPE_UNSPECIFIED, - "unique_count": dashboards.SpansAggregation_DimensionAggregation_DIMENSION_AGGREGATION_TYPE_UNIQUE_COUNT, - "error_count": dashboards.SpansAggregation_DimensionAggregation_DIMENSION_AGGREGATION_TYPE_ERROR_COUNT, + dashboardSchemaToProtoSpansAggregationDimensionAggregationType = map[string]cxsdk.SpansAggregationDimensionAggregationType{ + "unspecified": cxsdk.SpansAggregationDimensionAggregationTypeUnspecified, + "unique_count": cxsdk.SpansAggregationDimensionAggregationTypeUniqueCount, + "error_count": cxsdk.SpansAggregationDimensionAggregationTypeErrorCount, } dashboardProtoToSchemaSpansAggregationDimensionAggregationType = ReverseMap(dashboardSchemaToProtoSpansAggregationDimensionAggregationType) dashboardValidSpansAggregationDimensionAggregationTypes = GetKeys(dashboardSchemaToProtoSpansAggregationDimensionAggregationType) - dashboardSchemaToProtoSpanFieldMetadataField = map[string]dashboards.SpanField_MetadataField{ - "unspecified": dashboards.SpanField_METADATA_FIELD_UNSPECIFIED, - "application_name": dashboards.SpanField_METADATA_FIELD_APPLICATION_NAME, - "subsystem_name": dashboards.SpanField_METADATA_FIELD_SUBSYSTEM_NAME, - "service_name": dashboards.SpanField_METADATA_FIELD_SERVICE_NAME, - "operation_name": dashboards.SpanField_METADATA_FIELD_OPERATION_NAME, + dashboardSchemaToProtoSpanFieldMetadataField = map[string]cxsdk.SpanFieldMetadataFieldInner{ + "unspecified": cxsdk.SpanFieldMetadataFieldUnspecified, + "application_name": cxsdk.SpanFieldMetadataFieldApplicationName, + "subsystem_name": cxsdk.SpanFieldMetadataFieldSubsystemName, + "service_name": cxsdk.SpanFieldMetadataFieldServiceName, + "operation_name": cxsdk.SpanFieldMetadataFieldOperationName, } dashboardProtoToSchemaSpanFieldMetadataField = ReverseMap(dashboardSchemaToProtoSpanFieldMetadataField) dashboardValidSpanFieldMetadataFields = GetKeys(dashboardSchemaToProtoSpanFieldMetadataField) - dashboardSchemaToProtoSortBy = map[string]dashboards.SortByType{ - "unspecified": dashboards.SortByType_SORT_BY_TYPE_UNSPECIFIED, - "value": dashboards.SortByType_SORT_BY_TYPE_VALUE, - "name": dashboards.SortByType_SORT_BY_TYPE_NAME, + dashboardSchemaToProtoSortBy = map[string]cxsdk.SortByType{ + "unspecified": cxsdk.SortByTypeUnspecified, + "value": cxsdk.SortByTypeValue, + "name": cxsdk.SortByTypeName, } dashboardProtoToSchemaSortBy = ReverseMap(dashboardSchemaToProtoSortBy) dashboardValidSortBy = GetKeys(dashboardSchemaToProtoSortBy) - dashboardSchemaToProtoObservationFieldScope = map[string]dashboards.DatasetScope{ - "unspecified": dashboards.DatasetScope_DATASET_SCOPE_UNSPECIFIED, - "user_data": dashboards.DatasetScope_DATASET_SCOPE_USER_DATA, - "label": dashboards.DatasetScope_DATASET_SCOPE_LABEL, - "metadata": dashboards.DatasetScope_DATASET_SCOPE_METADATA, + dashboardSchemaToProtoObservationFieldScope = map[string]cxsdk.DatasetScope{ + "unspecified": cxsdk.DatasetScopeUnspecified, + "user_data": cxsdk.DatasetScopeUserData, + "label": cxsdk.DatasetScopeLabel, + "metadata": cxsdk.DatasetScopeMetadata, } dashboardProtoToSchemaObservationFieldScope = ReverseMap(dashboardSchemaToProtoObservationFieldScope) dashboardValidObservationFieldScope = GetKeys(dashboardSchemaToProtoObservationFieldScope) - dashboardSchemaToProtoDataModeType = map[string]dashboards.DataModeType{ - "unspecified": dashboards.DataModeType_DATA_MODE_TYPE_HIGH_UNSPECIFIED, - "archive": dashboards.DataModeType_DATA_MODE_TYPE_ARCHIVE, + dashboardSchemaToProtoDataModeType = map[string]cxsdk.DataModeType{ + "unspecified": cxsdk.DataModeTypeHighUnspecified, + "archive": cxsdk.DataModeTypeArchive, } dashboardProtoToSchemaDataModeType = ReverseMap(dashboardSchemaToProtoDataModeType) dashboardValidDataModeTypes = GetKeys(dashboardSchemaToProtoDataModeType) - dashboardSchemaToProtoGaugeThresholdBy = map[string]dashboards.Gauge_ThresholdBy{ - "unspecified": dashboards.Gauge_THRESHOLD_BY_UNSPECIFIED, - "value": dashboards.Gauge_THRESHOLD_BY_VALUE, - "background": dashboards.Gauge_THRESHOLD_BY_BACKGROUND, + dashboardSchemaToProtoGaugeThresholdBy = map[string]cxsdk.GaugeThresholdBy{ + "unspecified": cxsdk.GaugeThresholdByUnspecified, + "value": cxsdk.GaugeThresholdByValue, + "background": cxsdk.GaugeThresholdByBackground, } dashboardProtoToSchemaGaugeThresholdBy = ReverseMap(dashboardSchemaToProtoGaugeThresholdBy) dashboardValidGaugeThresholdBy = GetKeys(dashboardSchemaToProtoGaugeThresholdBy) - dashboardSchemaToProtoRefreshStrategy = map[string]dashboards.MultiSelect_RefreshStrategy{ - "unspecified": dashboards.MultiSelect_REFRESH_STRATEGY_UNSPECIFIED, - "on_dashboard_load": dashboards.MultiSelect_REFRESH_STRATEGY_ON_DASHBOARD_LOAD, - "on_time_frame_change": dashboards.MultiSelect_REFRESH_STRATEGY_ON_TIME_FRAME_CHANGE, + dashboardSchemaToProtoRefreshStrategy = map[string]cxsdk.MultiSelectRefreshStrategy{ + "unspecified": cxsdk.MultiSelectRefreshStrategyUnspecified, + "on_dashboard_load": cxsdk.MultiSelectRefreshStrategyOnDashboardLoad, + "on_time_frame_change": cxsdk.MultiSelectRefreshStrategyOnTimeFrameChange, } dashboardProtoToSchemaRefreshStrategy = ReverseMap(dashboardSchemaToProtoRefreshStrategy) dashboardValidRefreshStrategies = GetKeys(dashboardSchemaToProtoRefreshStrategy) @@ -244,10 +270,6 @@ var ( dashboardValidSpanAggregationTypes = []string{"metric", "dimension"} dashboardValidColorSchemes = []string{"classic", "severity", "cold", "negative", "green", "red", "blue"} sectionValidColors = []string{"unspecified", "cyan", "green", "blue", "purple", "magenta", "pink", "orange"} - 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 ( @@ -914,7 +936,7 @@ func NewDashboardResource() resource.Resource { } type DashboardResource struct { - client *clientset.DashboardsClient + client *cxsdk.DashboardsClient } func (r DashboardResource) UpgradeState(_ context.Context) map[int64]resource.StateUpgrader { @@ -2951,7 +2973,7 @@ func (c ContentJsonValidator) ValidateString(_ context.Context, request validato return } - err := protojson.Unmarshal([]byte(request.ConfigValue.ValueString()), &dashboards.Dashboard{}) + err := protojson.Unmarshal([]byte(request.ConfigValue.ValueString()), &cxsdk.Dashboard{}) if err != nil { response.Diagnostics.Append(diag.NewErrorDiagnostic("content_json validation failed", fmt.Sprintf("json content is not matching layout schema. got an err while unmarshalling - %s", err))) } @@ -3310,31 +3332,31 @@ func (r DashboardResource) Create(ctx context.Context, req resource.CreateReques return } - createDashboardReq := &dashboards.CreateDashboardRequest{ + createDashboardReq := &cxsdk.CreateDashboardRequest{ Dashboard: dashboard, } dashboardStr := protojson.Format(createDashboardReq) log.Printf("[INFO] Creating new Dashboard: %s", dashboardStr) - _, err := r.client.CreateDashboard(ctx, createDashboardReq) + _, err := r.client.Create(ctx, createDashboardReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating Dashboard", - formatRpcErrors(err, createDashboardURL, dashboardStr), + formatRpcErrors(err, cxsdk.CreateDashboardRPC, dashboardStr), ) return } - getDashboardReq := &dashboards.GetDashboardRequest{ + getDashboardReq := &cxsdk.GetDashboardRequest{ DashboardId: createDashboardReq.Dashboard.Id, } - getDashboardResp, err := r.client.GetDashboard(ctx, getDashboardReq) + getDashboardResp, err := r.client.Get(ctx, getDashboardReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) reqStr := protojson.Format(getDashboardReq) resp.Diagnostics.AddError( "Error getting Dashboard", - formatRpcErrors(err, getDashboardURL, reqStr), + formatRpcErrors(err, cxsdk.GetDashboardRPC, reqStr), ) return } @@ -3354,9 +3376,9 @@ func (r DashboardResource) Create(ctx context.Context, req resource.CreateReques resp.Diagnostics.Append(diags...) } -func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*dashboards.Dashboard, diag.Diagnostics) { +func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*cxsdk.Dashboard, diag.Diagnostics) { if !plan.ContentJson.IsNull() { - dashboard := new(dashboards.Dashboard) + dashboard := new(cxsdk.Dashboard) if err := protojson.Unmarshal([]byte(plan.ContentJson.ValueString()), dashboard); err != nil { return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error unmarshalling dashboard content json", err.Error())} } @@ -3384,7 +3406,7 @@ func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*dashbo } id := wrapperspb.String(expand21LengthUUID(plan.ID).GetValue()) - dashboard := &dashboards.Dashboard{ + dashboard := &cxsdk.Dashboard{ Id: id, Name: typeStringToWrapperspbString(plan.Name), Description: typeStringToWrapperspbString(plan.Description), @@ -3412,8 +3434,8 @@ func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*dashbo return dashboard, nil } -func expandDashboardAutoRefresh(ctx context.Context, dashboard *dashboards.Dashboard, refresh types.Object) (*dashboards.Dashboard, diag.Diagnostics) { - if refresh.IsNull() || refresh.IsUnknown() { +func expandDashboardAutoRefresh(ctx context.Context, dashboard *cxsdk.Dashboard, refresh types.Object) (*cxsdk.Dashboard, diag.Diagnostics) { + if objIsNullOrUnknown(refresh) { return dashboard, nil } var refreshObject DashboardAutoRefreshModel @@ -3424,25 +3446,25 @@ func expandDashboardAutoRefresh(ctx context.Context, dashboard *dashboards.Dashb switch refreshObject.Type.ValueString() { case "two_minutes": - dashboard.AutoRefresh = &dashboards.Dashboard_TwoMinutes{ - TwoMinutes: &dashboards.Dashboard_AutoRefreshTwoMinutes{}, + dashboard.AutoRefresh = &cxsdk.DashboardTwoMinutes{ + TwoMinutes: &cxsdk.DashboardAutoRefreshTwoMinutes{}, } case "five_minutes": - dashboard.AutoRefresh = &dashboards.Dashboard_FiveMinutes{ - FiveMinutes: &dashboards.Dashboard_AutoRefreshFiveMinutes{}, + dashboard.AutoRefresh = &cxsdk.DashboardFiveMinutes{ + FiveMinutes: &cxsdk.DashboardAutoRefreshFiveMinutes{}, } default: - dashboard.AutoRefresh = &dashboards.Dashboard_Off{ - Off: &dashboards.Dashboard_AutoRefreshOff{}, + dashboard.AutoRefresh = &cxsdk.DashboardOff{ + Off: &cxsdk.DashboardAutoRefreshOff{}, } } return dashboard, nil } -func expandDashboardAnnotations(ctx context.Context, annotations types.List) ([]*dashboards.Annotation, diag.Diagnostics) { +func expandDashboardAnnotations(ctx context.Context, annotations types.List) ([]*cxsdk.Annotation, diag.Diagnostics) { var annotationsObjects []types.Object - var expandedAnnotations []*dashboards.Annotation + var expandedAnnotations []*cxsdk.Annotation diags := annotations.ElementsAs(ctx, &annotationsObjects, true) if diags.HasError() { return nil, diags @@ -3465,13 +3487,13 @@ func expandDashboardAnnotations(ctx context.Context, annotations types.List) ([] return expandedAnnotations, diags } -func expandAnnotation(ctx context.Context, annotation DashboardAnnotationModel) (*dashboards.Annotation, diag.Diagnostics) { +func expandAnnotation(ctx context.Context, annotation DashboardAnnotationModel) (*cxsdk.Annotation, diag.Diagnostics) { source, diags := expandAnnotationSource(ctx, annotation.Source) if diags.HasError() { return nil, diags } - return &dashboards.Annotation{ + return &cxsdk.Annotation{ Id: expandDashboardIDs(annotation.ID), Name: typeStringToWrapperspbString(annotation.Name), Enabled: typeBoolToWrapperspbBool(annotation.Enabled), @@ -3480,7 +3502,7 @@ func expandAnnotation(ctx context.Context, annotation DashboardAnnotationModel) } -func expandAnnotationSource(ctx context.Context, source types.Object) (*dashboards.Annotation_Source, diag.Diagnostics) { +func expandAnnotationSource(ctx context.Context, source types.Object) (*cxsdk.AnnotationSource, diag.Diagnostics) { if source.IsNull() || source.IsUnknown() { return nil, nil } @@ -3496,25 +3518,25 @@ func expandAnnotationSource(ctx context.Context, source types.Object) (*dashboar if diags.HasError() { return nil, diags } - return &dashboards.Annotation_Source{Value: logsSource}, nil + return &cxsdk.AnnotationSource{Value: logsSource}, nil case !(sourceObject.Metrics.IsNull() || sourceObject.Metrics.IsUnknown()): metricSource, diags := expandMetricSource(ctx, sourceObject.Metrics) if diags.HasError() { return nil, diags } - return &dashboards.Annotation_Source{Value: metricSource}, nil + return &cxsdk.AnnotationSource{Value: metricSource}, nil case !(sourceObject.Spans.IsNull() || sourceObject.Spans.IsUnknown()): spansSource, diags := expandSpansSource(ctx, sourceObject.Spans) if diags.HasError() { return nil, diags } - return &dashboards.Annotation_Source{Value: spansSource}, nil + return &cxsdk.AnnotationSource{Value: spansSource}, nil default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Annotation Source", "Annotation Source must be either Logs or Metric")} } } -func expandLogsSource(ctx context.Context, logs types.Object) (*dashboards.Annotation_Source_Logs, diag.Diagnostics) { +func expandLogsSource(ctx context.Context, logs types.Object) (*cxsdk.AnnotationSourceLogs, diag.Diagnostics) { if logs.IsNull() || logs.IsUnknown() { return nil, nil } @@ -3534,8 +3556,8 @@ func expandLogsSource(ctx context.Context, logs types.Object) (*dashboards.Annot return nil, diags } - return &dashboards.Annotation_Source_Logs{ - Logs: &dashboards.Annotation_LogsSource{ + return &cxsdk.AnnotationSourceLogs{ + Logs: &cxsdk.AnnotationLogsSource{ LuceneQuery: expandLuceneQuery(logsObject.LuceneQuery), Strategy: strategy, MessageTemplate: typeStringToWrapperspbString(logsObject.MessageTemplate), @@ -3544,7 +3566,7 @@ func expandLogsSource(ctx context.Context, logs types.Object) (*dashboards.Annot }, nil } -func expandLogsSourceStrategy(ctx context.Context, strategy types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { +func expandLogsSourceStrategy(ctx context.Context, strategy types.Object) (*cxsdk.AnnotationLogsSourceStrategy, diag.Diagnostics) { var strategyObject DashboardAnnotationSpanOrLogsStrategyModel diags := strategy.As(ctx, &strategyObject, basetypes.ObjectAsOptions{}) if diags.HasError() { @@ -3552,18 +3574,18 @@ func expandLogsSourceStrategy(ctx context.Context, strategy types.Object) (*dash } switch { - case !(strategyObject.Instant.IsNull() || strategyObject.Instant.IsUnknown()): + case !objIsNullOrUnknown(strategyObject.Instant): return expandLogsSourceInstantStrategy(ctx, strategyObject.Instant) - case !(strategyObject.Range.IsNull() || strategyObject.Range.IsUnknown()): + case !objIsNullOrUnknown(strategyObject.Range): return expandLogsSourceRangeStrategy(ctx, strategyObject.Range) - case !(strategyObject.Duration.IsNull() || strategyObject.Duration.IsUnknown()): + case !objIsNullOrUnknown(strategyObject.Duration): return expandLogsSourceDurationStrategy(ctx, strategyObject.Duration) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Logs Source Strategy", "Logs Source Strategy must be either Instant, Range or Duration")} } } -func expandLogsSourceDurationStrategy(ctx context.Context, duration types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { +func expandLogsSourceDurationStrategy(ctx context.Context, duration types.Object) (*cxsdk.AnnotationLogsSourceStrategy, diag.Diagnostics) { var durationObject DashboardAnnotationDurationStrategyModel diags := duration.As(ctx, &durationObject, basetypes.ObjectAsOptions{}) if diags.HasError() { @@ -3580,9 +3602,9 @@ func expandLogsSourceDurationStrategy(ctx context.Context, duration types.Object return nil, diags } - return &dashboards.Annotation_LogsSource_Strategy{ - Value: &dashboards.Annotation_LogsSource_Strategy_Duration_{ - Duration: &dashboards.Annotation_LogsSource_Strategy_Duration{ + return &cxsdk.AnnotationLogsSourceStrategy{ + Value: &cxsdk.AnnotationLogsSourceStrategyDuration{ + Duration: &cxsdk.AnnotationLogsSourceStrategyDurationInner{ StartTimestampField: startTimestampField, DurationField: durationField, }, @@ -3590,7 +3612,7 @@ func expandLogsSourceDurationStrategy(ctx context.Context, duration types.Object }, nil } -func expandLogsSourceRangeStrategy(ctx context.Context, object types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { +func expandLogsSourceRangeStrategy(ctx context.Context, object types.Object) (*cxsdk.AnnotationLogsSourceStrategy, diag.Diagnostics) { var rangeObject DashboardAnnotationRangeStrategyModel if diags := object.As(ctx, &rangeObject, basetypes.ObjectAsOptions{}); diags.HasError() { return nil, diags @@ -3606,9 +3628,9 @@ func expandLogsSourceRangeStrategy(ctx context.Context, object types.Object) (*d return nil, diags } - return &dashboards.Annotation_LogsSource_Strategy{ - Value: &dashboards.Annotation_LogsSource_Strategy_Range_{ - Range: &dashboards.Annotation_LogsSource_Strategy_Range{ + return &cxsdk.AnnotationLogsSourceStrategy{ + Value: &cxsdk.AnnotationLogsSourceStrategyRange{ + Range: &cxsdk.AnnotationLogsSourceStrategyRangeInner{ StartTimestampField: startTimestampField, EndTimestampField: endTimestampField, }, @@ -3616,7 +3638,7 @@ func expandLogsSourceRangeStrategy(ctx context.Context, object types.Object) (*d }, nil } -func expandLogsSourceInstantStrategy(ctx context.Context, instant types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { +func expandLogsSourceInstantStrategy(ctx context.Context, instant types.Object) (*cxsdk.AnnotationLogsSourceStrategy, diag.Diagnostics) { var instantObject DashboardAnnotationInstantStrategyModel if diags := instant.As(ctx, &instantObject, basetypes.ObjectAsOptions{}); diags.HasError() { return nil, diags @@ -3627,16 +3649,16 @@ func expandLogsSourceInstantStrategy(ctx context.Context, instant types.Object) return nil, diags } - return &dashboards.Annotation_LogsSource_Strategy{ - Value: &dashboards.Annotation_LogsSource_Strategy_Instant_{ - Instant: &dashboards.Annotation_LogsSource_Strategy_Instant{ + return &cxsdk.AnnotationLogsSourceStrategy{ + Value: &cxsdk.AnnotationLogsSourceStrategyInstant{ + Instant: &cxsdk.AnnotationLogsSourceStrategyInstantInner{ TimestampField: timestampField, }, }, }, nil } -func expandSpansSourceStrategy(ctx context.Context, strategy types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { +func expandSpansSourceStrategy(ctx context.Context, strategy types.Object) (*cxsdk.AnnotationSpansSourceStrategy, diag.Diagnostics) { var strategyObject DashboardAnnotationSpanOrLogsStrategyModel diags := strategy.As(ctx, &strategyObject, basetypes.ObjectAsOptions{}) if diags.HasError() { @@ -3655,7 +3677,7 @@ func expandSpansSourceStrategy(ctx context.Context, strategy types.Object) (*das } } -func expandSpansSourceDurationStrategy(ctx context.Context, duration types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { +func expandSpansSourceDurationStrategy(ctx context.Context, duration types.Object) (*cxsdk.AnnotationSpansSourceStrategy, diag.Diagnostics) { var durationObject DashboardAnnotationDurationStrategyModel diags := duration.As(ctx, &durationObject, basetypes.ObjectAsOptions{}) if diags.HasError() { @@ -3672,9 +3694,9 @@ func expandSpansSourceDurationStrategy(ctx context.Context, duration types.Objec return nil, diags } - return &dashboards.Annotation_SpansSource_Strategy{ - Value: &dashboards.Annotation_SpansSource_Strategy_Duration_{ - Duration: &dashboards.Annotation_SpansSource_Strategy_Duration{ + return &cxsdk.AnnotationSpansSourceStrategy{ + Value: &cxsdk.AnnotationSpansSourceStrategyDuration{ + Duration: &cxsdk.AnnotationSpansSourceStrategyDurationInner{ StartTimestampField: startTimestampField, DurationField: durationField, }, @@ -3682,7 +3704,7 @@ func expandSpansSourceDurationStrategy(ctx context.Context, duration types.Objec }, nil } -func expandSpansSourceRangeStrategy(ctx context.Context, object types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { +func expandSpansSourceRangeStrategy(ctx context.Context, object types.Object) (*cxsdk.AnnotationSpansSourceStrategy, diag.Diagnostics) { var rangeObject DashboardAnnotationRangeStrategyModel if diags := object.As(ctx, &rangeObject, basetypes.ObjectAsOptions{}); diags.HasError() { return nil, diags @@ -3698,9 +3720,9 @@ func expandSpansSourceRangeStrategy(ctx context.Context, object types.Object) (* return nil, diags } - return &dashboards.Annotation_SpansSource_Strategy{ - Value: &dashboards.Annotation_SpansSource_Strategy_Range_{ - Range: &dashboards.Annotation_SpansSource_Strategy_Range{ + return &cxsdk.AnnotationSpansSourceStrategy{ + Value: &cxsdk.AnnotationSpansSourceStrategyRange{ + Range: &cxsdk.AnnotationSpansSourceStrategyRangeInner{ StartTimestampField: startTimestampField, EndTimestampField: endTimestampField, }, @@ -3708,7 +3730,7 @@ func expandSpansSourceRangeStrategy(ctx context.Context, object types.Object) (* }, nil } -func expandSpansSourceInstantStrategy(ctx context.Context, instant types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { +func expandSpansSourceInstantStrategy(ctx context.Context, instant types.Object) (*cxsdk.AnnotationSpansSourceStrategy, diag.Diagnostics) { var instantObject DashboardAnnotationInstantStrategyModel if diags := instant.As(ctx, &instantObject, basetypes.ObjectAsOptions{}); diags.HasError() { return nil, diags @@ -3719,16 +3741,16 @@ func expandSpansSourceInstantStrategy(ctx context.Context, instant types.Object) return nil, diags } - return &dashboards.Annotation_SpansSource_Strategy{ - Value: &dashboards.Annotation_SpansSource_Strategy_Instant_{ - Instant: &dashboards.Annotation_SpansSource_Strategy_Instant{ + return &cxsdk.AnnotationSpansSourceStrategy{ + Value: &cxsdk.AnnotationSpansSourceStrategyInstant{ + Instant: &cxsdk.AnnotationSpansSourceStrategyInstantInner{ TimestampField: timestampField, }, }, }, nil } -func expandSpansSource(ctx context.Context, spans types.Object) (*dashboards.Annotation_Source_Spans, diag.Diagnostics) { +func expandSpansSource(ctx context.Context, spans types.Object) (*cxsdk.AnnotationSourceSpans, diag.Diagnostics) { if spans.IsNull() || spans.IsUnknown() { return nil, nil } @@ -3748,8 +3770,8 @@ func expandSpansSource(ctx context.Context, spans types.Object) (*dashboards.Ann return nil, diags } - return &dashboards.Annotation_Source_Spans{ - Spans: &dashboards.Annotation_SpansSource{ + return &cxsdk.AnnotationSourceSpans{ + Spans: &cxsdk.AnnotationSpansSource{ LuceneQuery: expandLuceneQuery(spansObject.LuceneQuery), Strategy: strategy, MessageTemplate: typeStringToWrapperspbString(spansObject.MessageTemplate), @@ -3758,7 +3780,7 @@ func expandSpansSource(ctx context.Context, spans types.Object) (*dashboards.Ann }, nil } -func expandMetricSource(ctx context.Context, metric types.Object) (*dashboards.Annotation_Source_Metrics, diag.Diagnostics) { +func expandMetricSource(ctx context.Context, metric types.Object) (*cxsdk.AnnotationSourceMetrics, diag.Diagnostics) { if metric.IsNull() || metric.IsUnknown() { return nil, nil } @@ -3778,8 +3800,8 @@ func expandMetricSource(ctx context.Context, metric types.Object) (*dashboards.A return nil, diags } - return &dashboards.Annotation_Source_Metrics{ - Metrics: &dashboards.Annotation_MetricsSource{ + return &cxsdk.AnnotationSourceMetrics{ + Metrics: &cxsdk.AnnotationMetricsSource{ PromqlQuery: expandPromqlQuery(metricObject.PromqlQuery), Strategy: strategy, MessageTemplate: typeStringToWrapperspbString(metricObject.MessageTemplate), @@ -3788,21 +3810,21 @@ func expandMetricSource(ctx context.Context, metric types.Object) (*dashboards.A }, nil } -func expandMetricSourceStrategy(ctx context.Context, strategy types.Object) (*dashboards.Annotation_MetricsSource_Strategy, diag.Diagnostics) { +func expandMetricSourceStrategy(ctx context.Context, strategy types.Object) (*cxsdk.AnnotationMetricsSourceStrategy, 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{}, + return &cxsdk.AnnotationMetricsSourceStrategy{ + Value: &cxsdk.AnnotationMetricsSourceStrategyStartTimeMetric{ + StartTimeMetric: &cxsdk.AnnotationMetricsSourceStartTimeMetric{}, }, }, nil } -func expandDashboardTimeFrame(ctx context.Context, dashboard *dashboards.Dashboard, timeFrame types.Object) (*dashboards.Dashboard, diag.Diagnostics) { +func expandDashboardTimeFrame(ctx context.Context, dashboard *cxsdk.Dashboard, timeFrame types.Object) (*cxsdk.Dashboard, diag.Diagnostics) { if timeFrame.IsNull() || timeFrame.IsUnknown() { return dashboard, nil } @@ -3812,9 +3834,9 @@ func expandDashboardTimeFrame(ctx context.Context, dashboard *dashboards.Dashboa return nil, diags } switch { - case !(timeFrameObject.Relative.IsNull() || timeFrameObject.Relative.IsUnknown()): + case !objIsNullOrUnknown(timeFrameObject.Relative): dashboard.TimeFrame, diags = expandRelativeDashboardTimeFrame(ctx, timeFrameObject.Relative) - case !(timeFrameObject.Absolute.IsNull() || timeFrameObject.Absolute.IsUnknown()): + case !objIsNullOrUnknown(timeFrameObject.Absolute): dashboard.TimeFrame, diags = expandAbsoluteDashboardTimeFrame(ctx, timeFrameObject.Absolute) default: diags = diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Time Frame", "Dashboard TimeFrame must be either Relative or Absolute")} @@ -3822,7 +3844,7 @@ func expandDashboardTimeFrame(ctx context.Context, dashboard *dashboards.Dashboa return dashboard, diags } -func expandDashboardLayout(ctx context.Context, layout types.Object) (*dashboards.Layout, diag.Diagnostics) { +func expandDashboardLayout(ctx context.Context, layout types.Object) (*cxsdk.DashboardLayout, diag.Diagnostics) { if layout.IsNull() || layout.IsUnknown() { return nil, nil } @@ -3834,14 +3856,14 @@ func expandDashboardLayout(ctx context.Context, layout types.Object) (*dashboard if diags.HasError() { return nil, diags } - return &dashboards.Layout{ + return &cxsdk.DashboardLayout{ Sections: sections, }, nil } -func expandDashboardSections(ctx context.Context, sections types.List) ([]*dashboards.Section, diag.Diagnostics) { +func expandDashboardSections(ctx context.Context, sections types.List) ([]*cxsdk.DashboardSection, diag.Diagnostics) { var sectionsObjects []types.Object - var expandedSections []*dashboards.Section + var expandedSections []*cxsdk.DashboardSection diags := sections.ElementsAs(ctx, §ionsObjects, true) if diags.HasError() { return nil, diags @@ -3863,7 +3885,7 @@ func expandDashboardSections(ctx context.Context, sections types.List) ([]*dashb return expandedSections, diags } -func expandSection(ctx context.Context, section SectionModel) (*dashboards.Section, diag.Diagnostics) { +func expandSection(ctx context.Context, section SectionModel) (*cxsdk.DashboardSection, diag.Diagnostics) { id := expandDashboardUUID(section.ID) rows, diags := expandDashboardRows(ctx, section.Rows) if diags.HasError() { @@ -3875,13 +3897,13 @@ func expandSection(ctx context.Context, section SectionModel) (*dashboards.Secti if diags.HasError() { return nil, diags } - return &dashboards.Section{ + return &cxsdk.DashboardSection{ Id: id, Rows: rows, Options: options, }, nil } else { - return &dashboards.Section{ + return &cxsdk.DashboardSection{ Id: id, Rows: rows, Options: nil, @@ -3889,11 +3911,11 @@ func expandSection(ctx context.Context, section SectionModel) (*dashboards.Secti } } -func expandSectionOptions(_ context.Context, option SectionOptionsModel) (*dashboards.SectionOptions, diag.Diagnostics) { +func expandSectionOptions(_ context.Context, option SectionOptionsModel) (*cxsdk.DashboardSectionOptions, diag.Diagnostics) { - var color *dashboards.SectionColor + var color *cxsdk.DashboardSectionColor if !option.Color.IsNull() { - mappedColor := dashboards.SectionPredefinedColor_value[fmt.Sprintf("SECTION_PREDEFINED_COLOR_%s", strings.ToUpper(option.Color.ValueString()))] + mappedColor := cxsdk.DashboardSectionPredefinedColorValueLookup[fmt.Sprintf("SECTION_PREDEFINED_COLOR_%s", strings.ToUpper(option.Color.ValueString()))] // this means the color field somehow wasn't validated if mappedColor == 0 && option.Color.String() != "unspecified" { return nil, diag.Diagnostics{ @@ -3903,9 +3925,9 @@ func expandSectionOptions(_ context.Context, option SectionOptionsModel) (*dashb ), } } - color = &dashboards.SectionColor{ - Value: &dashboards.SectionColor_Predefined{ - Predefined: dashboards.SectionPredefinedColor(mappedColor), + color = &cxsdk.DashboardSectionColor{ + Value: &cxsdk.DashboardSectionColorPredefined{ + Predefined: cxsdk.DashboardSectionColorPredefinedColor(mappedColor), }, } } @@ -3920,9 +3942,9 @@ func expandSectionOptions(_ context.Context, option SectionOptionsModel) (*dashb collapsed = wrapperspb.Bool(option.Collapsed.ValueBool()) } - return &dashboards.SectionOptions{ - Value: &dashboards.SectionOptions_Custom{ - Custom: &dashboards.CustomSectionOptions{ + return &cxsdk.DashboardSectionOptions{ + Value: &cxsdk.DashboardSectionOptionsCustom{ + Custom: &cxsdk.CustomSectionOptions{ Name: wrapperspb.String(option.Name.ValueString()), Description: description, Collapsed: collapsed, @@ -3932,9 +3954,9 @@ func expandSectionOptions(_ context.Context, option SectionOptionsModel) (*dashb }, nil } -func expandDashboardRows(ctx context.Context, rows types.List) ([]*dashboards.Row, diag.Diagnostics) { +func expandDashboardRows(ctx context.Context, rows types.List) ([]*cxsdk.DashboardRow, diag.Diagnostics) { var rowsObjects []types.Object - var expandedRows []*dashboards.Row + var expandedRows []*cxsdk.DashboardRow diags := rows.ElementsAs(ctx, &rowsObjects, true) if diags.HasError() { return nil, diags @@ -3956,9 +3978,9 @@ func expandDashboardRows(ctx context.Context, rows types.List) ([]*dashboards.Ro return expandedRows, diags } -func expandRow(ctx context.Context, row RowModel) (*dashboards.Row, diag.Diagnostics) { +func expandRow(ctx context.Context, row RowModel) (*cxsdk.DashboardRow, diag.Diagnostics) { id := expandDashboardUUID(row.ID) - appearance := &dashboards.Row_Appearance{ + appearance := &cxsdk.DashboardRowAppearance{ Height: wrapperspb.Int32(int32(row.Height.ValueInt64())), } widgets, diags := expandDashboardWidgets(ctx, row.Widgets) @@ -3966,16 +3988,16 @@ func expandRow(ctx context.Context, row RowModel) (*dashboards.Row, diag.Diagnos return nil, diags } - return &dashboards.Row{ + return &cxsdk.DashboardRow{ Id: id, Appearance: appearance, Widgets: widgets, }, nil } -func expandDashboardWidgets(ctx context.Context, widgets types.List) ([]*dashboards.Widget, diag.Diagnostics) { +func expandDashboardWidgets(ctx context.Context, widgets types.List) ([]*cxsdk.DashboardWidget, diag.Diagnostics) { var widgetsObjects []types.Object - var expandedWidgets []*dashboards.Widget + var expandedWidgets []*cxsdk.DashboardWidget diags := widgets.ElementsAs(ctx, &widgetsObjects, true) if diags.HasError() { return nil, diags @@ -3997,11 +4019,11 @@ func expandDashboardWidgets(ctx context.Context, widgets types.List) ([]*dashboa return expandedWidgets, diags } -func expandWidget(ctx context.Context, widget WidgetModel) (*dashboards.Widget, diag.Diagnostics) { +func expandWidget(ctx context.Context, widget WidgetModel) (*cxsdk.DashboardWidget, diag.Diagnostics) { id := expandDashboardUUID(widget.ID) title := typeStringToWrapperspbString(widget.Title) description := typeStringToWrapperspbString(widget.Description) - appearance := &dashboards.Widget_Appearance{ + appearance := &cxsdk.DashboardWidgetAppearance{ Width: wrapperspb.Int32(int32(widget.Width.ValueInt64())), } definition, diags := expandWidgetDefinition(ctx, widget.Definition) @@ -4009,7 +4031,7 @@ func expandWidget(ctx context.Context, widget WidgetModel) (*dashboards.Widget, return nil, diags } - return &dashboards.Widget{ + return &cxsdk.DashboardWidget{ Id: id, Title: title, Description: description, @@ -4018,7 +4040,7 @@ func expandWidget(ctx context.Context, widget WidgetModel) (*dashboards.Widget, }, nil } -func expandWidgetDefinition(ctx context.Context, definition *WidgetDefinitionModel) (*dashboards.Widget_Definition, diag.Diagnostics) { +func expandWidgetDefinition(ctx context.Context, definition *WidgetDefinitionModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { switch { case definition.PieChart != nil: return expandPieChart(ctx, definition.PieChart) @@ -4044,10 +4066,10 @@ func expandWidgetDefinition(ctx context.Context, definition *WidgetDefinitionMod } } -func expandMarkdown(markdown *MarkdownModel) (*dashboards.Widget_Definition, diag.Diagnostics) { - return &dashboards.Widget_Definition{ - Value: &dashboards.Widget_Definition_Markdown{ - Markdown: &dashboards.Markdown{ +func expandMarkdown(markdown *MarkdownModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { + return &cxsdk.WidgetDefinition{ + Value: &cxsdk.WidgetDefinitionMarkdown{ + Markdown: &cxsdk.Markdown{ MarkdownText: typeStringToWrapperspbString(markdown.MarkdownText), TooltipText: typeStringToWrapperspbString(markdown.TooltipText), }, @@ -4055,7 +4077,7 @@ func expandMarkdown(markdown *MarkdownModel) (*dashboards.Widget_Definition, dia }, nil } -func expandHorizontalBarChart(ctx context.Context, chart *HorizontalBarChartModel) (*dashboards.Widget_Definition, diag.Diagnostics) { +func expandHorizontalBarChart(ctx context.Context, chart *HorizontalBarChartModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { var diags diag.Diagnostics query, diags := expandHorizontalBarChartQuery(ctx, chart.Query) @@ -4063,9 +4085,9 @@ func expandHorizontalBarChart(ctx context.Context, chart *HorizontalBarChartMode return nil, diags } - return &dashboards.Widget_Definition{ - Value: &dashboards.Widget_Definition_HorizontalBarChart{ - HorizontalBarChart: &dashboards.HorizontalBarChart{ + return &cxsdk.WidgetDefinition{ + Value: &cxsdk.WidgetDefinitionHorizontalBarChart{ + HorizontalBarChart: &cxsdk.HorizontalBarChart{ Query: query, StackDefinition: expandHorizontalBarChartStackDefinition(chart.StackDefinition), MaxBarsPerChart: typeInt64ToWrappedInt32(chart.MaxBarsPerChart), @@ -4083,22 +4105,22 @@ func expandHorizontalBarChart(ctx context.Context, chart *HorizontalBarChartMode }, nil } -func expandYAxisViewBy(yAxisViewBy types.String) *dashboards.HorizontalBarChart_YAxisViewBy { +func expandYAxisViewBy(yAxisViewBy types.String) *cxsdk.HorizontalBarChartYAxisViewBy { switch yAxisViewBy.ValueString() { case "category": - return &dashboards.HorizontalBarChart_YAxisViewBy{ - YAxisView: &dashboards.HorizontalBarChart_YAxisViewBy_Category{}, + return &cxsdk.HorizontalBarChartYAxisViewBy{ + YAxisView: &cxsdk.HorizontalBarChartYAxisViewByCategory{}, } case "value": - return &dashboards.HorizontalBarChart_YAxisViewBy{ - YAxisView: &dashboards.HorizontalBarChart_YAxisViewBy_Value{}, + return &cxsdk.HorizontalBarChartYAxisViewBy{ + YAxisView: &cxsdk.HorizontalBarChartYAxisViewByValue{}, } default: return nil } } -func expandPieChart(ctx context.Context, pieChart *PieChartModel) (*dashboards.Widget_Definition, diag.Diagnostics) { +func expandPieChart(ctx context.Context, pieChart *PieChartModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { var diags diag.Diagnostics query, diags := expandPieChartQuery(ctx, pieChart.Query) @@ -4106,9 +4128,9 @@ func expandPieChart(ctx context.Context, pieChart *PieChartModel) (*dashboards.W return nil, diags } - return &dashboards.Widget_Definition{ - Value: &dashboards.Widget_Definition_PieChart{ - PieChart: &dashboards.PieChart{ + return &cxsdk.WidgetDefinition{ + Value: &cxsdk.WidgetDefinitionPieChart{ + PieChart: &cxsdk.PieChart{ Query: query, MaxSlicesPerChart: typeInt64ToWrappedInt32(pieChart.MaxSlicesPerChart), MinSlicePercentage: typeInt64ToWrappedInt32(pieChart.MinSlicePercentage), @@ -4124,45 +4146,45 @@ func expandPieChart(ctx context.Context, pieChart *PieChartModel) (*dashboards.W }, nil } -func expandPieChartStackDefinition(stackDefinition *PieChartStackDefinitionModel) *dashboards.PieChart_StackDefinition { +func expandPieChartStackDefinition(stackDefinition *PieChartStackDefinitionModel) *cxsdk.PieChartStackDefinition { if stackDefinition == nil { return nil } - return &dashboards.PieChart_StackDefinition{ + return &cxsdk.PieChartStackDefinition{ MaxSlicesPerStack: typeInt64ToWrappedInt32(stackDefinition.MaxSlicesPerStack), StackNameTemplate: typeStringToWrapperspbString(stackDefinition.StackNameTemplate), } } -func expandBarChartStackDefinition(stackDefinition *BarChartStackDefinitionModel) *dashboards.BarChart_StackDefinition { +func expandBarChartStackDefinition(stackDefinition *BarChartStackDefinitionModel) *cxsdk.BarChartStackDefinition { if stackDefinition == nil { return nil } - return &dashboards.BarChart_StackDefinition{ + return &cxsdk.BarChartStackDefinition{ MaxSlicesPerBar: typeInt64ToWrappedInt32(stackDefinition.MaxSlicesPerBar), StackNameTemplate: typeStringToWrapperspbString(stackDefinition.StackNameTemplate), } } -func expandHorizontalBarChartStackDefinition(stackDefinition *BarChartStackDefinitionModel) *dashboards.HorizontalBarChart_StackDefinition { +func expandHorizontalBarChartStackDefinition(stackDefinition *BarChartStackDefinitionModel) *cxsdk.HorizontalBarChartStackDefinition { if stackDefinition == nil { return nil } - return &dashboards.HorizontalBarChart_StackDefinition{ + return &cxsdk.HorizontalBarChartStackDefinition{ MaxSlicesPerBar: typeInt64ToWrappedInt32(stackDefinition.MaxSlicesPerBar), StackNameTemplate: typeStringToWrapperspbString(stackDefinition.StackNameTemplate), } } -func expandLabelDefinition(labelDefinition *LabelDefinitionModel) *dashboards.PieChart_LabelDefinition { +func expandLabelDefinition(labelDefinition *LabelDefinitionModel) *cxsdk.PieChartLabelDefinition { if labelDefinition == nil { return nil } - return &dashboards.PieChart_LabelDefinition{ + return &cxsdk.PieChartLabelDefinition{ LabelSource: dashboardSchemaToProtoPieChartLabelSource[labelDefinition.LabelSource.ValueString()], IsVisible: typeBoolToWrapperspbBool(labelDefinition.IsVisible), ShowName: typeBoolToWrapperspbBool(labelDefinition.ShowName), @@ -4171,7 +4193,7 @@ func expandLabelDefinition(labelDefinition *LabelDefinitionModel) *dashboards.Pi } } -func expandGauge(ctx context.Context, gauge *GaugeModel) (*dashboards.Widget_Definition, diag.Diagnostics) { +func expandGauge(ctx context.Context, gauge *GaugeModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { var diags diag.Diagnostics query, diags := expandGaugeQuery(ctx, gauge.Query) @@ -4184,9 +4206,9 @@ func expandGauge(ctx context.Context, gauge *GaugeModel) (*dashboards.Widget_Def return nil, diags } - return &dashboards.Widget_Definition{ - Value: &dashboards.Widget_Definition_Gauge{ - Gauge: &dashboards.Gauge{ + return &cxsdk.WidgetDefinition{ + Value: &cxsdk.WidgetDefinitionGauge{ + Gauge: &cxsdk.Gauge{ Query: query, Min: typeFloat64ToWrapperspbDouble(gauge.Min), Max: typeFloat64ToWrapperspbDouble(gauge.Max), @@ -4201,9 +4223,9 @@ func expandGauge(ctx context.Context, gauge *GaugeModel) (*dashboards.Widget_Def }, nil } -func expandGaugeThresholds(ctx context.Context, gaugeThresholds types.List) ([]*dashboards.Gauge_Threshold, diag.Diagnostics) { +func expandGaugeThresholds(ctx context.Context, gaugeThresholds types.List) ([]*cxsdk.GaugeThreshold, diag.Diagnostics) { var gaugeThresholdsObjects []types.Object - var expandedGaugeThresholds []*dashboards.Gauge_Threshold + var expandedGaugeThresholds []*cxsdk.GaugeThreshold diags := gaugeThresholds.ElementsAs(ctx, &gaugeThresholdsObjects, true) if diags.HasError() { return nil, diags @@ -4221,25 +4243,25 @@ func expandGaugeThresholds(ctx context.Context, gaugeThresholds types.List) ([]* return expandedGaugeThresholds, diags } -func expandGaugeThreshold(gaugeThresholds *GaugeThresholdModel) *dashboards.Gauge_Threshold { +func expandGaugeThreshold(gaugeThresholds *GaugeThresholdModel) *cxsdk.GaugeThreshold { if gaugeThresholds == nil { return nil } - return &dashboards.Gauge_Threshold{ + return &cxsdk.GaugeThreshold{ From: typeFloat64ToWrapperspbDouble(gaugeThresholds.From), Color: typeStringToWrapperspbString(gaugeThresholds.Color), } } -func expandGaugeQuery(ctx context.Context, gaugeQuery *GaugeQueryModel) (*dashboards.Gauge_Query, diag.Diagnostics) { +func expandGaugeQuery(ctx context.Context, gaugeQuery *GaugeQueryModel) (*cxsdk.GaugeQuery, diag.Diagnostics) { switch { case gaugeQuery.Metrics != nil: metricQuery, diags := expandGaugeQueryMetrics(ctx, gaugeQuery.Metrics) if diags.HasError() { return nil, diags } - return &dashboards.Gauge_Query{ - Value: &dashboards.Gauge_Query_Metrics{ + return &cxsdk.GaugeQuery{ + Value: &cxsdk.GaugeQueryMetrics{ Metrics: metricQuery, }, }, nil @@ -4248,8 +4270,8 @@ func expandGaugeQuery(ctx context.Context, gaugeQuery *GaugeQueryModel) (*dashbo if diags.HasError() { return nil, diags } - return &dashboards.Gauge_Query{ - Value: &dashboards.Gauge_Query_Logs{ + return &cxsdk.GaugeQuery{ + Value: &cxsdk.GaugeQueryLogs{ Logs: logQuery, }, }, nil @@ -4258,8 +4280,8 @@ func expandGaugeQuery(ctx context.Context, gaugeQuery *GaugeQueryModel) (*dashbo if diags.HasError() { return nil, diags } - return &dashboards.Gauge_Query{ - Value: &dashboards.Gauge_Query_Spans{ + return &cxsdk.GaugeQuery{ + Value: &cxsdk.GaugeQuerySpans{ Spans: spanQuery, }, }, nil @@ -4268,7 +4290,7 @@ func expandGaugeQuery(ctx context.Context, gaugeQuery *GaugeQueryModel) (*dashbo } } -func expandGaugeQuerySpans(ctx context.Context, gaugeQuerySpans *GaugeQuerySpansModel) (*dashboards.Gauge_SpansQuery, diag.Diagnostics) { +func expandGaugeQuerySpans(ctx context.Context, gaugeQuerySpans *GaugeQuerySpansModel) (*cxsdk.GaugeSpansQuery, diag.Diagnostics) { if gaugeQuerySpans == nil { return nil, nil } @@ -4282,16 +4304,16 @@ func expandGaugeQuerySpans(ctx context.Context, gaugeQuerySpans *GaugeQuerySpans return nil, diag.Diagnostics{dg} } - return &dashboards.Gauge_SpansQuery{ + return &cxsdk.GaugeSpansQuery{ LuceneQuery: expandLuceneQuery(gaugeQuerySpans.LuceneQuery), SpansAggregation: spansAggregation, Filters: filters, }, nil } -func expandSpansAggregations(ctx context.Context, aggregations types.List) ([]*dashboards.SpansAggregation, diag.Diagnostics) { +func expandSpansAggregations(ctx context.Context, aggregations types.List) ([]*cxsdk.SpansAggregation, diag.Diagnostics) { var aggregationsObjects []types.Object - var expandedAggregations []*dashboards.SpansAggregation + var expandedAggregations []*cxsdk.SpansAggregation diags := aggregations.ElementsAs(ctx, &aggregationsObjects, true) if diags.HasError() { return nil, diags @@ -4313,25 +4335,25 @@ func expandSpansAggregations(ctx context.Context, aggregations types.List) ([]*d return expandedAggregations, diags } -func expandSpansAggregation(spansAggregation *SpansAggregationModel) (*dashboards.SpansAggregation, diag.Diagnostic) { +func expandSpansAggregation(spansAggregation *SpansAggregationModel) (*cxsdk.SpansAggregation, diag.Diagnostic) { if spansAggregation == nil { return nil, nil } switch spansAggregation.Type.ValueString() { case "metric": - return &dashboards.SpansAggregation{ - Aggregation: &dashboards.SpansAggregation_MetricAggregation_{ - MetricAggregation: &dashboards.SpansAggregation_MetricAggregation{ + return &cxsdk.SpansAggregation{ + Aggregation: &cxsdk.SpansAggregationMetricAggregation{ + MetricAggregation: &cxsdk.SpansAggregationMetricAggregationInner{ MetricField: dashboardSchemaToProtoSpansAggregationMetricField[spansAggregation.Field.ValueString()], AggregationType: dashboardSchemaToProtoSpansAggregationMetricAggregationType[spansAggregation.AggregationType.ValueString()], }, }, }, nil case "dimension": - return &dashboards.SpansAggregation{ - Aggregation: &dashboards.SpansAggregation_DimensionAggregation_{ - DimensionAggregation: &dashboards.SpansAggregation_DimensionAggregation{ + return &cxsdk.SpansAggregation{ + Aggregation: &cxsdk.SpansAggregationDimensionAggregation{ + DimensionAggregation: &cxsdk.SpansAggregationDimensionAggregationInner{ DimensionField: dashboardProtoToSchemaSpansAggregationDimensionField[spansAggregation.Field.ValueString()], AggregationType: dashboardSchemaToProtoSpansAggregationDimensionAggregationType[spansAggregation.AggregationType.ValueString()], }, @@ -4342,9 +4364,9 @@ func expandSpansAggregation(spansAggregation *SpansAggregationModel) (*dashboard } } -func expandSpansFilters(ctx context.Context, spansFilters types.List) ([]*dashboards.Filter_SpansFilter, diag.Diagnostics) { +func expandSpansFilters(ctx context.Context, spansFilters types.List) ([]*cxsdk.DashboardFilterSpansFilter, diag.Diagnostics) { var spansFiltersObjects []types.Object - var expandedSpansFilters []*dashboards.Filter_SpansFilter + var expandedSpansFilters []*cxsdk.DashboardFilterSpansFilter diags := spansFilters.ElementsAs(ctx, &spansFiltersObjects, true) if diags.HasError() { return nil, diags @@ -4366,7 +4388,7 @@ func expandSpansFilters(ctx context.Context, spansFilters types.List) ([]*dashbo return expandedSpansFilters, diags } -func expandSpansFilter(ctx context.Context, spansFilter SpansFilterModel) (*dashboards.Filter_SpansFilter, diag.Diagnostics) { +func expandSpansFilter(ctx context.Context, spansFilter SpansFilterModel) (*cxsdk.DashboardFilterSpansFilter, diag.Diagnostics) { operator, diags := expandFilterOperator(ctx, spansFilter.Operator) if diags.HasError() { return nil, diags @@ -4377,33 +4399,33 @@ func expandSpansFilter(ctx context.Context, spansFilter SpansFilterModel) (*dash return nil, diag.Diagnostics{dg} } - return &dashboards.Filter_SpansFilter{ + return &cxsdk.DashboardFilterSpansFilter{ Field: field, Operator: operator, }, nil } -func expandSpansField(spansFilterField *SpansFieldModel) (*dashboards.SpanField, diag.Diagnostic) { +func expandSpansField(spansFilterField *SpansFieldModel) (*cxsdk.SpanField, diag.Diagnostic) { if spansFilterField == nil { return nil, nil } switch spansFilterField.Type.ValueString() { case "metadata": - return &dashboards.SpanField{ - Value: &dashboards.SpanField_MetadataField_{ + return &cxsdk.SpanField{ + Value: &cxsdk.SpanFieldMetadataField{ MetadataField: dashboardSchemaToProtoSpanFieldMetadataField[spansFilterField.Value.ValueString()], }, }, nil case "tag": - return &dashboards.SpanField{ - Value: &dashboards.SpanField_TagField{ + return &cxsdk.SpanField{ + Value: &cxsdk.SpanFieldTagField{ TagField: typeStringToWrapperspbString(spansFilterField.Value), }, }, nil case "process_tag": - return &dashboards.SpanField{ - Value: &dashboards.SpanField_ProcessTagField{ + return &cxsdk.SpanField{ + Value: &cxsdk.SpanFieldProcessTagField{ ProcessTagField: typeStringToWrapperspbString(spansFilterField.Value), }, }, nil @@ -4412,7 +4434,7 @@ func expandSpansField(spansFilterField *SpansFieldModel) (*dashboards.SpanField, } } -func expandMultiSelectSourceQuery(ctx context.Context, sourceQuery types.Object) (*dashboards.MultiSelect_Source, diag.Diagnostics) { +func expandMultiSelectSourceQuery(ctx context.Context, sourceQuery types.Object) (*cxsdk.MultiSelectSource, diag.Diagnostics) { if sourceQuery.IsNull() || sourceQuery.IsUnknown() { return nil, nil } @@ -4432,9 +4454,9 @@ func expandMultiSelectSourceQuery(ctx context.Context, sourceQuery types.Object) return nil, diags } - return &dashboards.MultiSelect_Source{ - Value: &dashboards.MultiSelect_Source_Query{ - Query: &dashboards.MultiSelect_QuerySource{ + return &cxsdk.MultiSelectSource{ + Value: &cxsdk.MultiSelectSourceQuery{ + Query: &cxsdk.MultiSelectQuerySource{ Query: query, RefreshStrategy: dashboardSchemaToProtoRefreshStrategy[queryObject.RefreshStrategy.ValueString()], ValueDisplayOptions: valueDisplayOptions, @@ -4443,7 +4465,7 @@ func expandMultiSelectSourceQuery(ctx context.Context, sourceQuery types.Object) }, nil } -func expandMultiSelectQuery(ctx context.Context, query types.Object) (*dashboards.MultiSelect_Query, diag.Diagnostics) { +func expandMultiSelectQuery(ctx context.Context, query types.Object) (*cxsdk.MultiSelectQuery, diag.Diagnostics) { if query.IsNull() || query.IsUnknown() { return nil, nil } @@ -4454,7 +4476,7 @@ func expandMultiSelectQuery(ctx context.Context, query types.Object) (*dashboard return nil, diags } - multiSelectQuery := &dashboards.MultiSelect_Query{} + multiSelectQuery := &cxsdk.MultiSelectQuery{} switch { case !(queryObject.Metrics.IsNull() || queryObject.Metrics.IsUnknown()): multiSelectQuery.Value, diags = expandMultiSelectMetricsQuery(ctx, queryObject.Metrics) @@ -4473,8 +4495,8 @@ func expandMultiSelectQuery(ctx context.Context, query types.Object) (*dashboard return multiSelectQuery, nil } -func expandMultiSelectValueDisplayOptions(ctx context.Context, options types.Object) (*dashboards.MultiSelect_ValueDisplayOptions, diag.Diagnostics) { - if options.IsNull() || options.IsUnknown() { +func expandMultiSelectValueDisplayOptions(ctx context.Context, options types.Object) (*cxsdk.MultiSelectValueDisplayOptions, diag.Diagnostics) { + if objIsNullOrUnknown(options) { return nil, nil } @@ -4484,13 +4506,13 @@ func expandMultiSelectValueDisplayOptions(ctx context.Context, options types.Obj return nil, diags } - return &dashboards.MultiSelect_ValueDisplayOptions{ + return &cxsdk.MultiSelectValueDisplayOptions{ ValueRegex: typeStringToWrapperspbString(optionsObject.ValueRegex), LabelRegex: typeStringToWrapperspbString(optionsObject.LabelRegex), }, nil } -func expandMultiSelectLogsQuery(ctx context.Context, logs types.Object) (*dashboards.MultiSelect_Query_LogsQuery_, diag.Diagnostics) { +func expandMultiSelectLogsQuery(ctx context.Context, logs types.Object) (*cxsdk.MultiSelectQueryLogsQuery, diag.Diagnostics) { if logs.IsNull() || logs.IsUnknown() { return nil, nil } @@ -4501,9 +4523,9 @@ func expandMultiSelectLogsQuery(ctx context.Context, logs types.Object) (*dashbo return nil, diags } - logsQuery := &dashboards.MultiSelect_Query_LogsQuery_{ - LogsQuery: &dashboards.MultiSelect_Query_LogsQuery{ - Type: &dashboards.MultiSelect_Query_LogsQuery_Type{}, + logsQuery := &cxsdk.MultiSelectQueryLogsQuery{ + LogsQuery: &cxsdk.MultiSelectQueryLogsQueryInner{ + Type: &cxsdk.MultiSelectQueryLogsQueryType{}, }, } @@ -4521,8 +4543,8 @@ func expandMultiSelectLogsQuery(ctx context.Context, logs types.Object) (*dashbo return logsQuery, nil } -func expandMultiSelectLogsQueryTypeFieldName(ctx context.Context, name types.Object) (*dashboards.MultiSelect_Query_LogsQuery_Type_FieldName_, diag.Diagnostics) { - if name.IsNull() || name.IsUnknown() { +func expandMultiSelectLogsQueryTypeFieldName(ctx context.Context, name types.Object) (*cxsdk.MultiSelectQueryLogsQueryTypeFieldName, diag.Diagnostics) { + if objIsNullOrUnknown(name) { return nil, nil } @@ -4532,15 +4554,15 @@ func expandMultiSelectLogsQueryTypeFieldName(ctx context.Context, name types.Obj return nil, diags } - return &dashboards.MultiSelect_Query_LogsQuery_Type_FieldName_{ - FieldName: &dashboards.MultiSelect_Query_LogsQuery_Type_FieldName{ + return &cxsdk.MultiSelectQueryLogsQueryTypeFieldName{ + FieldName: &cxsdk.MultiSelectQueryLogsQueryTypeFieldNameInner{ LogRegex: typeStringToWrapperspbString(nameObject.LogRegex), }, }, nil } -func expandMultiSelectLogsQueryTypFieldValue(ctx context.Context, value types.Object) (*dashboards.MultiSelect_Query_LogsQuery_Type_FieldValue_, diag.Diagnostics) { - if value.IsNull() || value.IsUnknown() { +func expandMultiSelectLogsQueryTypFieldValue(ctx context.Context, value types.Object) (*cxsdk.MultiSelectQueryLogsQueryTypeFieldValue, diag.Diagnostics) { + if objIsNullOrUnknown(value) { return nil, nil } @@ -4555,15 +4577,15 @@ func expandMultiSelectLogsQueryTypFieldValue(ctx context.Context, value types.Ob return nil, diags } - return &dashboards.MultiSelect_Query_LogsQuery_Type_FieldValue_{ - FieldValue: &dashboards.MultiSelect_Query_LogsQuery_Type_FieldValue{ + return &cxsdk.MultiSelectQueryLogsQueryTypeFieldValue{ + FieldValue: &cxsdk.MultiSelectQueryLogsQueryTypeFieldValueInner{ ObservationField: observationField, }, }, nil } -func expandMultiSelectMetricsQuery(ctx context.Context, metrics types.Object) (*dashboards.MultiSelect_Query_MetricsQuery_, diag.Diagnostics) { - if metrics.IsNull() || metrics.IsUnknown() { +func expandMultiSelectMetricsQuery(ctx context.Context, metrics types.Object) (*cxsdk.MultiSelectQueryMetricsQuery, diag.Diagnostics) { + if objIsNullOrUnknown(metrics) { return nil, nil } @@ -4573,9 +4595,9 @@ func expandMultiSelectMetricsQuery(ctx context.Context, metrics types.Object) (* return nil, diags } - metricsQuery := &dashboards.MultiSelect_Query_MetricsQuery_{ - MetricsQuery: &dashboards.MultiSelect_Query_MetricsQuery{ - Type: &dashboards.MultiSelect_Query_MetricsQuery_Type{}, + metricsQuery := &cxsdk.MultiSelectQueryMetricsQuery{ + MetricsQuery: &cxsdk.MultiSelectQueryMetricsQueryInner{ + Type: &cxsdk.MultiSelectQueryMetricsQueryType{}, }, } @@ -4595,7 +4617,7 @@ func expandMultiSelectMetricsQuery(ctx context.Context, metrics types.Object) (* return metricsQuery, nil } -func expandMultiSelectMetricsQueryTypeMetricName(ctx context.Context, name types.Object) (*dashboards.MultiSelect_Query_MetricsQuery_Type_MetricName_, diag.Diagnostics) { +func expandMultiSelectMetricsQueryTypeMetricName(ctx context.Context, name types.Object) (*cxsdk.MultiSelectQueryMetricsQueryTypeMetricName, diag.Diagnostics) { if name.IsNull() || name.IsUnknown() { return nil, nil } @@ -4606,14 +4628,14 @@ func expandMultiSelectMetricsQueryTypeMetricName(ctx context.Context, name types return nil, diags } - return &dashboards.MultiSelect_Query_MetricsQuery_Type_MetricName_{ - MetricName: &dashboards.MultiSelect_Query_MetricsQuery_Type_MetricName{ + return &cxsdk.MultiSelectQueryMetricsQueryTypeMetricName{ + MetricName: &cxsdk.MultiSelectQueryMetricsQueryTypeMetricNameInner{ MetricRegex: typeStringToWrapperspbString(nameObject.MetricRegex), }, }, nil } -func expandMultiSelectMetricsQueryTypeLabelName(ctx context.Context, name types.Object) (*dashboards.MultiSelect_Query_MetricsQuery_Type_LabelName_, diag.Diagnostics) { +func expandMultiSelectMetricsQueryTypeLabelName(ctx context.Context, name types.Object) (*cxsdk.MultiSelectQueryMetricsQueryTypeLabelName, diag.Diagnostics) { if name.IsNull() || name.IsUnknown() { return nil, nil } @@ -4624,14 +4646,14 @@ func expandMultiSelectMetricsQueryTypeLabelName(ctx context.Context, name types. return nil, diags } - return &dashboards.MultiSelect_Query_MetricsQuery_Type_LabelName_{ - LabelName: &dashboards.MultiSelect_Query_MetricsQuery_Type_LabelName{ + return &cxsdk.MultiSelectQueryMetricsQueryTypeLabelName{ + LabelName: &cxsdk.MultiSelectQueryMetricsQueryTypeLabelNameInner{ MetricRegex: typeStringToWrapperspbString(nameObject.MetricRegex), }, }, nil } -func expandMultiSelectMetricsQueryTypeLabelValue(ctx context.Context, value types.Object) (*dashboards.MultiSelect_Query_MetricsQuery_Type_LabelValue_, diag.Diagnostics) { +func expandMultiSelectMetricsQueryTypeLabelValue(ctx context.Context, value types.Object) (*cxsdk.MultiSelectQueryMetricsQueryTypeLabelValue, diag.Diagnostics) { if value.IsNull() || value.IsUnknown() { return nil, nil } @@ -4657,8 +4679,8 @@ func expandMultiSelectMetricsQueryTypeLabelValue(ctx context.Context, value type return nil, diags } - return &dashboards.MultiSelect_Query_MetricsQuery_Type_LabelValue_{ - LabelValue: &dashboards.MultiSelect_Query_MetricsQuery_Type_LabelValue{ + return &cxsdk.MultiSelectQueryMetricsQueryTypeLabelValue{ + LabelValue: &cxsdk.MultiSelectQueryMetricsQueryTypeLabelValueInner{ MetricName: metricName, LabelName: labelName, LabelFilters: labelFilters, @@ -4666,9 +4688,9 @@ func expandMultiSelectMetricsQueryTypeLabelValue(ctx context.Context, value type }, nil } -func expandStringOrVariables(ctx context.Context, name types.List) ([]*dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable, diag.Diagnostics) { +func expandStringOrVariables(ctx context.Context, name types.List) ([]*cxsdk.MultiSelectQueryMetricsQueryStringOrVariable, diag.Diagnostics) { var nameObjects []types.Object - var expandedNames []*dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable + var expandedNames []*cxsdk.MultiSelectQueryMetricsQueryStringOrVariable diags := name.ElementsAs(ctx, &nameObjects, true) if diags.HasError() { return nil, diags @@ -4690,8 +4712,8 @@ func expandStringOrVariables(ctx context.Context, name types.List) ([]*dashboard return expandedNames, nil } -func expandStringOrVariable(ctx context.Context, name types.Object) (*dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable, diag.Diagnostics) { - if name.IsNull() || name.IsUnknown() { +func expandStringOrVariable(ctx context.Context, name types.Object) (*cxsdk.MultiSelectQueryMetricsQueryStringOrVariable, diag.Diagnostics) { + if objIsNullOrUnknown(name) { return nil, nil } @@ -4703,14 +4725,14 @@ func expandStringOrVariable(ctx context.Context, name types.Object) (*dashboards switch { case !(nameObject.VariableName.IsNull() || nameObject.VariableName.IsUnknown()): - return &dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable{ - Value: &dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable_VariableName{ + return &cxsdk.MultiSelectQueryMetricsQueryStringOrVariable{ + Value: &cxsdk.MultiSelectQueryMetricsQueryStringOrVariableVariable{ VariableName: typeStringToWrapperspbString(nameObject.VariableName), }, }, nil case !(nameObject.StringValue.IsNull() || nameObject.StringValue.IsUnknown()): - return &dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable{ - Value: &dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable_StringValue{ + return &cxsdk.MultiSelectQueryMetricsQueryStringOrVariable{ + Value: &cxsdk.MultiSelectQueryMetricsQueryStringOrVariableString{ StringValue: typeStringToWrapperspbString(nameObject.StringValue), }, }, nil @@ -4719,9 +4741,9 @@ func expandStringOrVariable(ctx context.Context, name types.Object) (*dashboards } } -func expandMetricsLabelFilters(ctx context.Context, filters types.List) ([]*dashboards.MultiSelect_Query_MetricsQuery_MetricsLabelFilter, diag.Diagnostics) { +func expandMetricsLabelFilters(ctx context.Context, filters types.List) ([]*cxsdk.MultiSelectQueryMetricsQueryMetricsLabelFilter, diag.Diagnostics) { var filtersObjects []types.Object - var expandedFilters []*dashboards.MultiSelect_Query_MetricsQuery_MetricsLabelFilter + var expandedFilters []*cxsdk.MultiSelectQueryMetricsQueryMetricsLabelFilter diags := filters.ElementsAs(ctx, &filtersObjects, true) if diags.HasError() { return nil, diags @@ -4748,7 +4770,7 @@ func expandMetricsLabelFilters(ctx context.Context, filters types.List) ([]*dash return expandedFilters, nil } -func expandMetricLabelFilter(ctx context.Context, filter MetricLabelFilterModel) (*dashboards.MultiSelect_Query_MetricsQuery_MetricsLabelFilter, diag.Diagnostics) { +func expandMetricLabelFilter(ctx context.Context, filter MetricLabelFilterModel) (*cxsdk.MultiSelectQueryMetricsQueryMetricsLabelFilter, diag.Diagnostics) { metric, diags := expandStringOrVariable(ctx, filter.Metric) if diags.HasError() { return nil, diags @@ -4764,15 +4786,15 @@ func expandMetricLabelFilter(ctx context.Context, filter MetricLabelFilterModel) return nil, diags } - return &dashboards.MultiSelect_Query_MetricsQuery_MetricsLabelFilter{ + return &cxsdk.MultiSelectQueryMetricsQueryMetricsLabelFilter{ Metric: metric, Label: label, Operator: operator, }, nil } -func expandMetricLabelFilterOperator(ctx context.Context, operator types.Object) (*dashboards.MultiSelect_Query_MetricsQuery_Operator, diag.Diagnostics) { - if operator.IsNull() || operator.IsUnknown() { +func expandMetricLabelFilterOperator(ctx context.Context, operator types.Object) (*cxsdk.MultiSelectQueryMetricsQueryOperator, diag.Diagnostics) { + if objIsNullOrUnknown(operator) { return nil, nil } @@ -4787,26 +4809,26 @@ func expandMetricLabelFilterOperator(ctx context.Context, operator types.Object) return nil, diags } - selection := &dashboards.MultiSelect_Query_MetricsQuery_Selection{ - Value: &dashboards.MultiSelect_Query_MetricsQuery_Selection_List{ - List: &dashboards.MultiSelect_Query_MetricsQuery_Selection_ListSelection{ + selection := &cxsdk.MultiSelectQueryMetricsQuerySelection{ + Value: &cxsdk.MultiSelectQueryMetricsQuerySelectionList{ + List: &cxsdk.MultiSelectQueryMetricsQuerySelectionListSelection{ Values: values, }, }, } switch operatorObject.Type.ValueString() { case "equals": - return &dashboards.MultiSelect_Query_MetricsQuery_Operator{ - Value: &dashboards.MultiSelect_Query_MetricsQuery_Operator_Equals{ - Equals: &dashboards.MultiSelect_Query_MetricsQuery_Equals{ + return &cxsdk.MultiSelectQueryMetricsQueryOperator{ + Value: &cxsdk.MultiSelectQueryMetricsQueryOperatorEquals{ + Equals: &cxsdk.MultiSelectQueryMetricsQueryEquals{ Selection: selection, }, }, }, nil case "not_equals": - return &dashboards.MultiSelect_Query_MetricsQuery_Operator{ - Value: &dashboards.MultiSelect_Query_MetricsQuery_Operator_NotEquals{ - NotEquals: &dashboards.MultiSelect_Query_MetricsQuery_NotEquals{ + return &cxsdk.MultiSelectQueryMetricsQueryOperator{ + Value: &cxsdk.MultiSelectQueryMetricsQueryOperatorNotEquals{ + NotEquals: &cxsdk.MultiSelectQueryMetricsQueryNotEquals{ Selection: selection, }, }, @@ -4816,8 +4838,8 @@ func expandMetricLabelFilterOperator(ctx context.Context, operator types.Object) } } -func expandMultiSelectSpansQuery(ctx context.Context, spans types.Object) (*dashboards.MultiSelect_Query_SpansQuery_, diag.Diagnostics) { - if spans.IsNull() || spans.IsUnknown() { +func expandMultiSelectSpansQuery(ctx context.Context, spans types.Object) (*cxsdk.MultiSelectQuerySpansQuery, diag.Diagnostics) { + if objIsNullOrUnknown(spans) { return nil, nil } @@ -4827,16 +4849,16 @@ func expandMultiSelectSpansQuery(ctx context.Context, spans types.Object) (*dash return nil, diags } - spansQuery := &dashboards.MultiSelect_Query_SpansQuery_{ - SpansQuery: &dashboards.MultiSelect_Query_SpansQuery{ - Type: &dashboards.MultiSelect_Query_SpansQuery_Type{}, + spansQuery := &cxsdk.MultiSelectQuerySpansQuery{ + SpansQuery: &cxsdk.MultiSelectQuerySpansQueryInner{ + Type: &cxsdk.MultiSelectQuerySpansQueryType{}, }, } switch { - case !(spansObject.FieldName.IsNull() || spansObject.FieldName.IsUnknown()): + case !objIsNullOrUnknown(spansObject.FieldName): spansQuery.SpansQuery.Type.Value, diags = expandMultiSelectSpansQueryTypeFieldName(ctx, spansObject.FieldName) - case !(spansObject.FieldValue.IsNull() || spansObject.FieldValue.IsUnknown()): + case !objIsNullOrUnknown(spansObject.FieldValue): spansQuery.SpansQuery.Type.Value, diags = expandMultiSelectSpansQueryTypeFieldValue(ctx, spansObject.FieldValue) default: diags = diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand MultiSelect Spans Query", "MultiSelect Spans Query must be either FieldName or FieldValue")} @@ -4849,8 +4871,8 @@ func expandMultiSelectSpansQuery(ctx context.Context, spans types.Object) (*dash return spansQuery, nil } -func expandMultiSelectSpansQueryTypeFieldName(ctx context.Context, name types.Object) (*dashboards.MultiSelect_Query_SpansQuery_Type_FieldName_, diag.Diagnostics) { - if name.IsNull() || name.IsUnknown() { +func expandMultiSelectSpansQueryTypeFieldName(ctx context.Context, name types.Object) (*cxsdk.MultiSelectQuerySpansQueryTypeFieldName, diag.Diagnostics) { + if objIsNullOrUnknown(name) { return nil, nil } @@ -4860,15 +4882,15 @@ func expandMultiSelectSpansQueryTypeFieldName(ctx context.Context, name types.Ob return nil, diags } - return &dashboards.MultiSelect_Query_SpansQuery_Type_FieldName_{ - FieldName: &dashboards.MultiSelect_Query_SpansQuery_Type_FieldName{ + return &cxsdk.MultiSelectQuerySpansQueryTypeFieldName{ + FieldName: &cxsdk.MultiSelectQuerySpansQueryTypeFieldNameInner{ SpanRegex: typeStringToWrapperspbString(nameObject.SpanRegex), }, }, nil } -func expandMultiSelectSpansQueryTypeFieldValue(ctx context.Context, value types.Object) (*dashboards.MultiSelect_Query_SpansQuery_Type_FieldValue_, diag.Diagnostics) { - if value.IsNull() || value.IsUnknown() { +func expandMultiSelectSpansQueryTypeFieldValue(ctx context.Context, value types.Object) (*cxsdk.MultiSelectQuerySpansQueryTypeFieldValue, diag.Diagnostics) { + if objIsNullOrUnknown(value) { return nil, nil } @@ -4883,29 +4905,29 @@ func expandMultiSelectSpansQueryTypeFieldValue(ctx context.Context, value types. return nil, diag.Diagnostics{dgs} } - return &dashboards.MultiSelect_Query_SpansQuery_Type_FieldValue_{ - FieldValue: &dashboards.MultiSelect_Query_SpansQuery_Type_FieldValue{ + return &cxsdk.MultiSelectQuerySpansQueryTypeFieldValue{ + FieldValue: &cxsdk.MultiSelectQuerySpansQueryTypeFieldValueInner{ Value: spansField, }, }, nil } -func expandGaugeQueryMetrics(ctx context.Context, gaugeQueryMetrics *GaugeQueryMetricsModel) (*dashboards.Gauge_MetricsQuery, diag.Diagnostics) { +func expandGaugeQueryMetrics(ctx context.Context, gaugeQueryMetrics *GaugeQueryMetricsModel) (*cxsdk.GaugeMetricsQuery, diag.Diagnostics) { filters, diags := expandMetricsFilters(ctx, gaugeQueryMetrics.Filters) if diags.HasError() { return nil, diags } - return &dashboards.Gauge_MetricsQuery{ + return &cxsdk.GaugeMetricsQuery{ PromqlQuery: expandPromqlQuery(gaugeQueryMetrics.PromqlQuery), Aggregation: dashboardSchemaToProtoGaugeAggregation[gaugeQueryMetrics.Aggregation.ValueString()], Filters: filters, }, nil } -func expandMetricsFilters(ctx context.Context, metricFilters types.List) ([]*dashboards.Filter_MetricsFilter, diag.Diagnostics) { +func expandMetricsFilters(ctx context.Context, metricFilters types.List) ([]*cxsdk.DashboardMetricsFilter, diag.Diagnostics) { var metricFiltersObjects []types.Object - var expandedMetricFilters []*dashboards.Filter_MetricsFilter + var expandedMetricFilters []*cxsdk.DashboardMetricsFilter diags := metricFilters.ElementsAs(ctx, &metricFiltersObjects, true) if diags.HasError() { return nil, diags @@ -4927,20 +4949,20 @@ func expandMetricsFilters(ctx context.Context, metricFilters types.List) ([]*das return expandedMetricFilters, diags } -func expandMetricFilter(ctx context.Context, metricFilter MetricsFilterModel) (*dashboards.Filter_MetricsFilter, diag.Diagnostics) { +func expandMetricFilter(ctx context.Context, metricFilter MetricsFilterModel) (*cxsdk.DashboardMetricsFilter, diag.Diagnostics) { operator, diags := expandFilterOperator(ctx, metricFilter.Operator) if diags.HasError() { return nil, diags } - return &dashboards.Filter_MetricsFilter{ + return &cxsdk.DashboardMetricsFilter{ Metric: typeStringToWrapperspbString(metricFilter.Metric), Label: typeStringToWrapperspbString(metricFilter.Label), Operator: operator, }, nil } -func expandFilterOperator(ctx context.Context, operator *FilterOperatorModel) (*dashboards.Filter_Operator, diag.Diagnostics) { +func expandFilterOperator(ctx context.Context, operator *FilterOperatorModel) (*cxsdk.DashboardFilterOperator, diag.Diagnostics) { if operator == nil { return nil, nil } @@ -4952,32 +4974,32 @@ func expandFilterOperator(ctx context.Context, operator *FilterOperatorModel) (* switch operator.Type.ValueString() { case "equals": - filterOperator := &dashboards.Filter_Operator{ - Value: &dashboards.Filter_Operator_Equals{ - Equals: &dashboards.Filter_Equals{ - Selection: &dashboards.Filter_Equals_Selection{}, + filterOperator := &cxsdk.DashboardFilterOperator{ + Value: &cxsdk.DashboardFilterOperatorEquals{ + Equals: &cxsdk.DashboardFilterEquals{ + Selection: &cxsdk.DashboardFilterEqualsSelection{}, }, }, } if len(selectedValues) != 0 { - filterOperator.GetEquals().Selection.Value = &dashboards.Filter_Equals_Selection_List{ - List: &dashboards.Filter_Equals_Selection_ListSelection{ + filterOperator.GetEquals().Selection.Value = &cxsdk.DashboardFilterEqualsSelectionList{ + List: &cxsdk.DashboardFilterEqualsSelectionListSelection{ Values: selectedValues, }, } } else { - filterOperator.GetEquals().Selection.Value = &dashboards.Filter_Equals_Selection_All{ - All: &dashboards.Filter_Equals_Selection_AllSelection{}, + filterOperator.GetEquals().Selection.Value = &cxsdk.DashboardFilterEqualsSelectionAll{ + All: &cxsdk.DashboardFilterEqualsSelectionAllSelection{}, } } return filterOperator, nil case "not_equals": - return &dashboards.Filter_Operator{ - Value: &dashboards.Filter_Operator_NotEquals{ - NotEquals: &dashboards.Filter_NotEquals{ - Selection: &dashboards.Filter_NotEquals_Selection{ - Value: &dashboards.Filter_NotEquals_Selection_List{ - List: &dashboards.Filter_NotEquals_Selection_ListSelection{ + return &cxsdk.DashboardFilterOperator{ + Value: &cxsdk.DashboardFilterOperatorNotEquals{ + NotEquals: &cxsdk.DashboardFilterNotEquals{ + Selection: &cxsdk.DashboardFilterNotEqualsSelection{ + Value: &cxsdk.DashboardFilterNotEqualsSelectionList{ + List: &cxsdk.DashboardFilterNotEqualsSelectionListSelection{ Values: selectedValues, }, }, @@ -4993,17 +5015,17 @@ func expandFilterOperator(ctx context.Context, operator *FilterOperatorModel) (* } } -func expandPromqlQuery(promqlQuery types.String) *dashboards.PromQlQuery { +func expandPromqlQuery(promqlQuery types.String) *cxsdk.DashboardPromQlQuery { if promqlQuery.IsNull() || promqlQuery.IsUnknown() { return nil } - return &dashboards.PromQlQuery{ + return &cxsdk.DashboardPromQlQuery{ Value: wrapperspb.String(promqlQuery.ValueString()), } } -func expandGaugeQueryLogs(ctx context.Context, gaugeQueryLogs *GaugeQueryLogsModel) (*dashboards.Gauge_LogsQuery, diag.Diagnostics) { +func expandGaugeQueryLogs(ctx context.Context, gaugeQueryLogs *GaugeQueryLogsModel) (*cxsdk.GaugeLogsQuery, diag.Diagnostics) { logsAggregation, diags := expandLogsAggregation(ctx, gaugeQueryLogs.LogsAggregation) if diags.HasError() { return nil, diags @@ -5014,25 +5036,25 @@ func expandGaugeQueryLogs(ctx context.Context, gaugeQueryLogs *GaugeQueryLogsMod return nil, diags } - return &dashboards.Gauge_LogsQuery{ + return &cxsdk.GaugeLogsQuery{ LuceneQuery: expandLuceneQuery(gaugeQueryLogs.LuceneQuery), LogsAggregation: logsAggregation, Filters: filters, }, nil } -func expandLuceneQuery(luceneQuery types.String) *dashboards.LuceneQuery { +func expandLuceneQuery(luceneQuery types.String) *cxsdk.DashboardLuceneQuery { if luceneQuery.IsNull() || luceneQuery.IsUnknown() { return nil } - return &dashboards.LuceneQuery{ + return &cxsdk.DashboardLuceneQuery{ Value: wrapperspb.String(luceneQuery.ValueString()), } } -func expandLogsAggregations(ctx context.Context, logsAggregations types.List) ([]*dashboards.LogsAggregation, diag.Diagnostics) { +func expandLogsAggregations(ctx context.Context, logsAggregations types.List) ([]*cxsdk.LogsAggregation, diag.Diagnostics) { var logsAggregationsObjects []types.Object - var expandedLogsAggregations []*dashboards.LogsAggregation + var expandedLogsAggregations []*cxsdk.LogsAggregation diags := logsAggregations.ElementsAs(ctx, &logsAggregationsObjects, true) if diags.HasError() { return nil, diags @@ -5054,15 +5076,15 @@ func expandLogsAggregations(ctx context.Context, logsAggregations types.List) ([ return expandedLogsAggregations, diags } -func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregationModel) (*dashboards.LogsAggregation, diag.Diagnostics) { +func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregationModel) (*cxsdk.LogsAggregation, diag.Diagnostics) { if logsAggregation == nil { return nil, nil } switch logsAggregation.Type.ValueString() { case "count": - return &dashboards.LogsAggregation{ - Value: &dashboards.LogsAggregation_Count_{ - Count: &dashboards.LogsAggregation_Count{}, + return &cxsdk.LogsAggregation{ + Value: &cxsdk.LogsAggregationCount{ + Count: &cxsdk.LogsAggregationCountInner{}, }, }, nil case "count_distinct": @@ -5070,9 +5092,9 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation if diags.HasError() { return nil, diags } - return &dashboards.LogsAggregation{ - Value: &dashboards.LogsAggregation_CountDistinct_{ - CountDistinct: &dashboards.LogsAggregation_CountDistinct{ + return &cxsdk.LogsAggregation{ + Value: &cxsdk.LogsAggregationCountDistinct{ + CountDistinct: &cxsdk.LogsAggregationCountDistinctInner{ Field: typeStringToWrapperspbString(logsAggregation.Field), ObservationField: observationField, }, @@ -5083,9 +5105,9 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation if diags.HasError() { return nil, diags } - return &dashboards.LogsAggregation{ - Value: &dashboards.LogsAggregation_Sum_{ - Sum: &dashboards.LogsAggregation_Sum{ + return &cxsdk.LogsAggregation{ + Value: &cxsdk.LogsAggregationSum{ + Sum: &cxsdk.LogsAggregationSumInner{ Field: typeStringToWrapperspbString(logsAggregation.Field), ObservationField: observationField, }, @@ -5096,9 +5118,9 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation if diags.HasError() { return nil, diags } - return &dashboards.LogsAggregation{ - Value: &dashboards.LogsAggregation_Average_{ - Average: &dashboards.LogsAggregation_Average{ + return &cxsdk.LogsAggregation{ + Value: &cxsdk.LogsAggregationAverage{ + Average: &cxsdk.LogsAggregationAverageInner{ Field: typeStringToWrapperspbString(logsAggregation.Field), ObservationField: observationField, }, @@ -5109,9 +5131,9 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation if diags.HasError() { return nil, diags } - return &dashboards.LogsAggregation{ - Value: &dashboards.LogsAggregation_Min_{ - Min: &dashboards.LogsAggregation_Min{ + return &cxsdk.LogsAggregation{ + Value: &cxsdk.LogsAggregationMin{ + Min: &cxsdk.LogsAggregationMinInner{ Field: typeStringToWrapperspbString(logsAggregation.Field), ObservationField: observationField, }, @@ -5122,9 +5144,9 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation if diags.HasError() { return nil, diags } - return &dashboards.LogsAggregation{ - Value: &dashboards.LogsAggregation_Max_{ - Max: &dashboards.LogsAggregation_Max{ + return &cxsdk.LogsAggregation{ + Value: &cxsdk.LogsAggregationMax{ + Max: &cxsdk.LogsAggregationMaxInner{ Field: typeStringToWrapperspbString(logsAggregation.Field), ObservationField: observationField, }, @@ -5135,9 +5157,9 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation if diags.HasError() { return nil, diags } - return &dashboards.LogsAggregation{ - Value: &dashboards.LogsAggregation_Percentile_{ - Percentile: &dashboards.LogsAggregation_Percentile{ + return &cxsdk.LogsAggregation{ + Value: &cxsdk.LogsAggregationPercentile{ + Percentile: &cxsdk.LogsAggregationPercentileInner{ Field: typeStringToWrapperspbString(logsAggregation.Field), Percent: typeFloat64ToWrapperspbDouble(logsAggregation.Percent), ObservationField: observationField, @@ -5149,9 +5171,9 @@ func expandLogsAggregation(ctx context.Context, logsAggregation *LogsAggregation } } -func expandLogsFilters(ctx context.Context, logsFilters types.List) ([]*dashboards.Filter_LogsFilter, diag.Diagnostics) { +func expandLogsFilters(ctx context.Context, logsFilters types.List) ([]*cxsdk.DashboardFilterLogsFilter, diag.Diagnostics) { var filtersObjects []types.Object - var expandedFilters []*dashboards.Filter_LogsFilter + var expandedFilters []*cxsdk.DashboardFilterLogsFilter diags := logsFilters.ElementsAs(ctx, &filtersObjects, true) if diags.HasError() { return nil, diags @@ -5174,7 +5196,7 @@ func expandLogsFilters(ctx context.Context, logsFilters types.List) ([]*dashboar return expandedFilters, diags } -func expandLogsFilter(ctx context.Context, logsFilter LogsFilterModel) (*dashboards.Filter_LogsFilter, diag.Diagnostics) { +func expandLogsFilter(ctx context.Context, logsFilter LogsFilterModel) (*cxsdk.DashboardFilterLogsFilter, diag.Diagnostics) { operator, diags := expandFilterOperator(ctx, logsFilter.Operator) if diags.HasError() { return nil, diags @@ -5185,14 +5207,14 @@ func expandLogsFilter(ctx context.Context, logsFilter LogsFilterModel) (*dashboa return nil, diags } - return &dashboards.Filter_LogsFilter{ + return &cxsdk.DashboardFilterLogsFilter{ Field: typeStringToWrapperspbString(logsFilter.Field), Operator: operator, ObservationField: observationField, }, nil } -func expandBarChart(ctx context.Context, chart *BarChartModel) (*dashboards.Widget_Definition, diag.Diagnostics) { +func expandBarChart(ctx context.Context, chart *BarChartModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { var diags diag.Diagnostics query, diags := expandBarChartQuery(ctx, chart.Query) @@ -5205,9 +5227,9 @@ func expandBarChart(ctx context.Context, chart *BarChartModel) (*dashboards.Widg return nil, diag.Diagnostics{dg} } - return &dashboards.Widget_Definition{ - Value: &dashboards.Widget_Definition_BarChart{ - BarChart: &dashboards.BarChart{ + return &cxsdk.WidgetDefinition{ + Value: &cxsdk.WidgetDefinitionBarChart{ + BarChart: &cxsdk.BarChart{ Query: query, MaxBarsPerChart: typeInt64ToWrappedInt32(chart.MaxBarsPerChart), GroupNameTemplate: typeStringToWrapperspbString(chart.GroupNameTemplate), @@ -5224,24 +5246,24 @@ func expandBarChart(ctx context.Context, chart *BarChartModel) (*dashboards.Widg }, nil } -func expandColorsBy(colorsBy types.String) *dashboards.ColorsBy { +func expandColorsBy(colorsBy types.String) *cxsdk.DashboardsColorsBy { switch colorsBy.ValueString() { case "stack": - return &dashboards.ColorsBy{ - Value: &dashboards.ColorsBy_Stack{ - Stack: &dashboards.ColorsBy_ColorsByStack{}, + return &cxsdk.DashboardsColorsBy{ + Value: &cxsdk.DashboardsColorsByStack{ + Stack: &cxsdk.DashboardsColorsByStackInner{}, }, } case "group_by": - return &dashboards.ColorsBy{ - Value: &dashboards.ColorsBy_GroupBy{ - GroupBy: &dashboards.ColorsBy_ColorsByGroupBy{}, + return &cxsdk.DashboardsColorsBy{ + Value: &cxsdk.DashboardsColorsByGroupBy{ + GroupBy: &cxsdk.DashboardsColorsByGroupByInner{}, }, } case "aggregation": - return &dashboards.ColorsBy{ - Value: &dashboards.ColorsBy_Aggregation{ - Aggregation: &dashboards.ColorsBy_ColorsByAggregation{}, + return &cxsdk.DashboardsColorsBy{ + Value: &cxsdk.DashboardsColorsByAggregation{ + Aggregation: &cxsdk.DashboardsColorsByAggregationInner{}, }, } default: @@ -5249,7 +5271,7 @@ func expandColorsBy(colorsBy types.String) *dashboards.ColorsBy { } } -func expandXAis(xaxis *BarChartXAxisModel) (*dashboards.BarChart_XAxis, diag.Diagnostic) { +func expandXAis(xaxis *BarChartXAxisModel) (*cxsdk.BarChartXAxis, diag.Diagnostic) { if xaxis == nil { return nil, nil } @@ -5260,25 +5282,25 @@ func expandXAis(xaxis *BarChartXAxisModel) (*dashboards.BarChart_XAxis, diag.Dia if err != nil { return nil, diag.NewErrorDiagnostic("Error expand bar chart x axis", err.Error()) } - return &dashboards.BarChart_XAxis{ - Type: &dashboards.BarChart_XAxis_Time{ - Time: &dashboards.BarChart_XAxis_XAxisByTime{ + return &cxsdk.BarChartXAxis{ + Type: &cxsdk.BarChartXAxisTime{ + Time: &cxsdk.BarChartXAxisByTime{ Interval: durationpb.New(duration), BucketsPresented: typeInt64ToWrappedInt32(xaxis.Time.BucketsPresented), }, }, }, nil case xaxis.Value != nil: - return &dashboards.BarChart_XAxis{ - Type: &dashboards.BarChart_XAxis_Value{ - Value: &dashboards.BarChart_XAxis_XAxisByValue{}, + return &cxsdk.BarChartXAxis{ + Type: &cxsdk.BarChartXAxisValue{ + Value: &cxsdk.BarChartXAxisByValue{}, }, }, nil default: return nil, diag.NewErrorDiagnostic("Error expand bar chart x axis", "unknown x axis type") } } -func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashboards.BarChart_Query, diag.Diagnostics) { +func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*cxsdk.BarChartQuery, diag.Diagnostics) { if query == nil { return nil, nil } @@ -5288,8 +5310,8 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb if diags.HasError() { return nil, diags } - return &dashboards.BarChart_Query{ - Value: &dashboards.BarChart_Query_Logs{ + return &cxsdk.BarChartQuery{ + Value: &cxsdk.BarChartQueryLogs{ Logs: logsQuery, }, }, nil @@ -5298,8 +5320,8 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb if diags.HasError() { return nil, diags } - return &dashboards.BarChart_Query{ - Value: &dashboards.BarChart_Query_Metrics{ + return &cxsdk.BarChartQuery{ + Value: &cxsdk.BarChartQueryMetrics{ Metrics: metricsQuery, }, }, nil @@ -5308,8 +5330,8 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb if diags.HasError() { return nil, diags } - return &dashboards.BarChart_Query{ - Value: &dashboards.BarChart_Query_Spans{ + return &cxsdk.BarChartQuery{ + Value: &cxsdk.BarChartQuerySpans{ Spans: spansQuery, }, }, nil @@ -5318,8 +5340,8 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb if diags.HasError() { return nil, diags } - return &dashboards.BarChart_Query{ - Value: &dashboards.BarChart_Query_Dataprime{ + return &cxsdk.BarChartQuery{ + Value: &cxsdk.BarChartQueryDataprime{ Dataprime: dataPrimeQuery, }, }, nil @@ -5328,7 +5350,7 @@ func expandBarChartQuery(ctx context.Context, query *BarChartQueryModel) (*dashb } } -func expandHorizontalBarChartQuery(ctx context.Context, query *HorizontalBarChartQueryModel) (*dashboards.HorizontalBarChart_Query, diag.Diagnostics) { +func expandHorizontalBarChartQuery(ctx context.Context, query *HorizontalBarChartQueryModel) (*cxsdk.HorizontalBarChartQuery, diag.Diagnostics) { if query == nil { return nil, nil } @@ -5338,8 +5360,8 @@ func expandHorizontalBarChartQuery(ctx context.Context, query *HorizontalBarChar if diags.HasError() { return nil, diags } - return &dashboards.HorizontalBarChart_Query{ - Value: &dashboards.HorizontalBarChart_Query_Logs{ + return &cxsdk.HorizontalBarChartQuery{ + Value: &cxsdk.HorizontalBarChartQueryLogs{ Logs: logsQuery, }, }, nil @@ -5348,8 +5370,8 @@ func expandHorizontalBarChartQuery(ctx context.Context, query *HorizontalBarChar if diags.HasError() { return nil, diags } - return &dashboards.HorizontalBarChart_Query{ - Value: &dashboards.HorizontalBarChart_Query_Metrics{ + return &cxsdk.HorizontalBarChartQuery{ + Value: &cxsdk.HorizontalBarChartQueryMetrics{ Metrics: metricsQuery, }, }, nil @@ -5358,8 +5380,8 @@ func expandHorizontalBarChartQuery(ctx context.Context, query *HorizontalBarChar if diags.HasError() { return nil, diags } - return &dashboards.HorizontalBarChart_Query{ - Value: &dashboards.HorizontalBarChart_Query_Spans{ + return &cxsdk.HorizontalBarChartQuery{ + Value: &cxsdk.HorizontalBarChartQuerySpans{ Spans: spansQuery, }, }, nil @@ -5368,8 +5390,8 @@ func expandHorizontalBarChartQuery(ctx context.Context, query *HorizontalBarChar } } -func expandHorizontalBarChartLogsQuery(ctx context.Context, logs types.Object) (*dashboards.HorizontalBarChart_LogsQuery, diag.Diagnostics) { - if logs.IsNull() || logs.IsUnknown() { +func expandHorizontalBarChartLogsQuery(ctx context.Context, logs types.Object) (*cxsdk.HorizontalBarChartLogsQuery, diag.Diagnostics) { + if objIsNullOrUnknown(logs) { return nil, nil } @@ -5394,7 +5416,7 @@ func expandHorizontalBarChartLogsQuery(ctx context.Context, logs types.Object) ( return nil, diags } - return &dashboards.HorizontalBarChart_LogsQuery{ + return &cxsdk.HorizontalBarChartLogsQuery{ LuceneQuery: expandLuceneQuery(logsObject.LuceneQuery), Aggregation: aggregation, Filters: filters, @@ -5403,8 +5425,8 @@ func expandHorizontalBarChartLogsQuery(ctx context.Context, logs types.Object) ( }, nil } -func expandHorizontalBarChartMetricsQuery(ctx context.Context, metrics types.Object) (*dashboards.HorizontalBarChart_MetricsQuery, diag.Diagnostics) { - if metrics.IsNull() || metrics.IsUnknown() { +func expandHorizontalBarChartMetricsQuery(ctx context.Context, metrics types.Object) (*cxsdk.HorizontalBarChartMetricsQuery, diag.Diagnostics) { + if objIsNullOrUnknown(metrics) { return nil, nil } @@ -5424,7 +5446,7 @@ func expandHorizontalBarChartMetricsQuery(ctx context.Context, metrics types.Obj return nil, diags } - return &dashboards.HorizontalBarChart_MetricsQuery{ + return &cxsdk.HorizontalBarChartMetricsQuery{ PromqlQuery: expandPromqlQuery(metricsObject.PromqlQuery), Filters: filters, GroupNames: groupNames, @@ -5432,8 +5454,8 @@ func expandHorizontalBarChartMetricsQuery(ctx context.Context, metrics types.Obj }, nil } -func expandHorizontalBarChartSpansQuery(ctx context.Context, spans types.Object) (*dashboards.HorizontalBarChart_SpansQuery, diag.Diagnostics) { - if spans.IsNull() || spans.IsUnknown() { +func expandHorizontalBarChartSpansQuery(ctx context.Context, spans types.Object) (*cxsdk.HorizontalBarChartSpansQuery, diag.Diagnostics) { + if objIsNullOrUnknown(spans) { return nil, nil } @@ -5463,7 +5485,7 @@ func expandHorizontalBarChartSpansQuery(ctx context.Context, spans types.Object) return nil, diag.Diagnostics{dg} } - return &dashboards.HorizontalBarChart_SpansQuery{ + return &cxsdk.HorizontalBarChartSpansQuery{ LuceneQuery: expandLuceneQuery(spansObject.LuceneQuery), Aggregation: aggregation, Filters: filters, @@ -5472,7 +5494,7 @@ func expandHorizontalBarChartSpansQuery(ctx context.Context, spans types.Object) }, nil } -func expandBarChartLogsQuery(ctx context.Context, barChartQueryLogs types.Object) (*dashboards.BarChart_LogsQuery, diag.Diagnostics) { +func expandBarChartLogsQuery(ctx context.Context, barChartQueryLogs types.Object) (*cxsdk.BarChartLogsQuery, diag.Diagnostics) { if barChartQueryLogs.IsNull() || barChartQueryLogs.IsUnknown() { return nil, nil } @@ -5508,7 +5530,7 @@ func expandBarChartLogsQuery(ctx context.Context, barChartQueryLogs types.Object return nil, diags } - return &dashboards.BarChart_LogsQuery{ + return &cxsdk.BarChartLogsQuery{ LuceneQuery: expandLuceneQuery(barChartQueryLogsObject.LuceneQuery), Aggregation: aggregation, Filters: filters, @@ -5519,9 +5541,9 @@ func expandBarChartLogsQuery(ctx context.Context, barChartQueryLogs types.Object }, nil } -func expandObservationFields(ctx context.Context, namesFields types.List) ([]*dashboards.ObservationField, diag.Diagnostics) { +func expandObservationFields(ctx context.Context, namesFields types.List) ([]*cxsdk.ObservationField, diag.Diagnostics) { var namesFieldsObjects []types.Object - var expandedNamesFields []*dashboards.ObservationField + var expandedNamesFields []*cxsdk.ObservationField diags := namesFields.ElementsAs(ctx, &namesFieldsObjects, true) if diags.HasError() { return nil, diags @@ -5543,7 +5565,7 @@ func expandObservationFields(ctx context.Context, namesFields types.List) ([]*da return expandedNamesFields, diags } -func expandObservationFieldObject(ctx context.Context, field types.Object) (*dashboards.ObservationField, diag.Diagnostics) { +func expandObservationFieldObject(ctx context.Context, field types.Object) (*cxsdk.ObservationField, diag.Diagnostics) { if field.IsNull() || field.IsUnknown() { return nil, nil } @@ -5556,7 +5578,7 @@ func expandObservationFieldObject(ctx context.Context, field types.Object) (*das return expandObservationField(ctx, observationField) } -func expandObservationField(ctx context.Context, observationField ObservationFieldModel) (*dashboards.ObservationField, diag.Diagnostics) { +func expandObservationField(ctx context.Context, observationField ObservationFieldModel) (*cxsdk.ObservationField, diag.Diagnostics) { keypath, dg := typeStringSliceToWrappedStringSlice(ctx, observationField.Keypath.Elements()) if dg.HasError() { return nil, dg @@ -5564,13 +5586,13 @@ func expandObservationField(ctx context.Context, observationField ObservationFie scope := dashboardSchemaToProtoObservationFieldScope[observationField.Scope.ValueString()] - return &dashboards.ObservationField{ + return &cxsdk.ObservationField{ Keypath: keypath, Scope: scope, }, nil } -func expandBarChartMetricsQuery(ctx context.Context, barChartQueryMetrics types.Object) (*dashboards.BarChart_MetricsQuery, diag.Diagnostics) { +func expandBarChartMetricsQuery(ctx context.Context, barChartQueryMetrics types.Object) (*cxsdk.BarChartMetricsQuery, diag.Diagnostics) { if barChartQueryMetrics.IsNull() || barChartQueryMetrics.IsUnknown() { return nil, nil } @@ -5591,7 +5613,7 @@ func expandBarChartMetricsQuery(ctx context.Context, barChartQueryMetrics types. return nil, diags } - return &dashboards.BarChart_MetricsQuery{ + return &cxsdk.BarChartMetricsQuery{ PromqlQuery: expandPromqlQuery(barChartQueryMetricsObject.PromqlQuery), Filters: filters, GroupNames: groupNames, @@ -5599,7 +5621,7 @@ func expandBarChartMetricsQuery(ctx context.Context, barChartQueryMetrics types. }, nil } -func expandBarChartSpansQuery(ctx context.Context, barChartQuerySpans types.Object) (*dashboards.BarChart_SpansQuery, diag.Diagnostics) { +func expandBarChartSpansQuery(ctx context.Context, barChartQuerySpans types.Object) (*cxsdk.BarChartSpansQuery, diag.Diagnostics) { if barChartQuerySpans.IsNull() || barChartQuerySpans.IsUnknown() { return nil, nil } @@ -5630,7 +5652,7 @@ func expandBarChartSpansQuery(ctx context.Context, barChartQuerySpans types.Obje return nil, diag.Diagnostics{dg} } - return &dashboards.BarChart_SpansQuery{ + return &cxsdk.BarChartSpansQuery{ LuceneQuery: expandLuceneQuery(barChartQuerySpansObject.LuceneQuery), Aggregation: aggregation, Filters: filters, @@ -5639,9 +5661,9 @@ func expandBarChartSpansQuery(ctx context.Context, barChartQuerySpans types.Obje }, nil } -func expandSpansFields(ctx context.Context, spanFields types.List) ([]*dashboards.SpanField, diag.Diagnostics) { +func expandSpansFields(ctx context.Context, spanFields types.List) ([]*cxsdk.SpanField, diag.Diagnostics) { var spanFieldsObjects []types.Object - var expandedSpanFields []*dashboards.SpanField + var expandedSpanFields []*cxsdk.SpanField diags := spanFields.ElementsAs(ctx, &spanFieldsObjects, true) if diags.HasError() { return nil, diags @@ -5663,7 +5685,7 @@ 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) { +func expandBarChartDataPrimeQuery(ctx context.Context, dataPrime types.Object) (*cxsdk.BarChartDataprimeQuery, diag.Diagnostics) { if dataPrime.IsNull() || dataPrime.IsUnknown() { return nil, nil } @@ -5684,10 +5706,10 @@ func expandBarChartDataPrimeQuery(ctx context.Context, dataPrime types.Object) ( return nil, diags } - dataPrimeQuery := &dashboards.DataprimeQuery{ + dataPrimeQuery := &cxsdk.DashboardDataprimeQuery{ Text: dataPrimeObject.Query.ValueString(), } - return &dashboards.BarChart_DataprimeQuery{ + return &cxsdk.BarChartDataprimeQuery{ Filters: filters, DataprimeQuery: dataPrimeQuery, GroupNames: groupNames, @@ -5695,7 +5717,7 @@ func expandBarChartDataPrimeQuery(ctx context.Context, dataPrime types.Object) ( }, nil } -func expandDataTable(ctx context.Context, table *DataTableModel) (*dashboards.Widget_Definition, diag.Diagnostics) { +func expandDataTable(ctx context.Context, table *DataTableModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { query, diags := expandDataTableQuery(ctx, table.Query) if diags.HasError() { return nil, diags @@ -5706,9 +5728,9 @@ func expandDataTable(ctx context.Context, table *DataTableModel) (*dashboards.Wi return nil, diags } - return &dashboards.Widget_Definition{ - Value: &dashboards.Widget_Definition_DataTable{ - DataTable: &dashboards.DataTable{ + return &cxsdk.WidgetDefinition{ + Value: &cxsdk.WidgetDefinitionDataTable{ + DataTable: &cxsdk.DashboardDataTable{ Query: query, ResultsPerPage: typeInt64ToWrappedInt32(table.ResultsPerPage), RowStyle: dashboardRowStyleSchemaToProto[table.RowStyle.ValueString()], @@ -5720,7 +5742,7 @@ func expandDataTable(ctx context.Context, table *DataTableModel) (*dashboards.Wi }, nil } -func expandDataTableQuery(ctx context.Context, dataTableQuery *DataTableQueryModel) (*dashboards.DataTable_Query, diag.Diagnostics) { +func expandDataTableQuery(ctx context.Context, dataTableQuery *DataTableQueryModel) (*cxsdk.DashboardDataTableQuery, diag.Diagnostics) { if dataTableQuery == nil { return nil, nil } @@ -5730,7 +5752,7 @@ func expandDataTableQuery(ctx context.Context, dataTableQuery *DataTableQueryMod if diags.HasError() { return nil, diags } - return &dashboards.DataTable_Query{ + return &cxsdk.DashboardDataTableQuery{ Value: metrics, }, nil case dataTableQuery.Logs != nil: @@ -5738,7 +5760,7 @@ func expandDataTableQuery(ctx context.Context, dataTableQuery *DataTableQueryMod if diags.HasError() { return nil, diags } - return &dashboards.DataTable_Query{ + return &cxsdk.DashboardDataTableQuery{ Value: logs, }, nil case dataTableQuery.Spans != nil: @@ -5746,7 +5768,7 @@ func expandDataTableQuery(ctx context.Context, dataTableQuery *DataTableQueryMod if diags.HasError() { return nil, diags } - return &dashboards.DataTable_Query{ + return &cxsdk.DashboardDataTableQuery{ Value: spans, }, nil case dataTableQuery.DataPrime != nil: @@ -5754,7 +5776,7 @@ func expandDataTableQuery(ctx context.Context, dataTableQuery *DataTableQueryMod if diags.HasError() { return nil, diags } - return &dashboards.DataTable_Query{ + return &cxsdk.DashboardDataTableQuery{ Value: dataPrime, }, nil default: @@ -5762,7 +5784,7 @@ func expandDataTableQuery(ctx context.Context, dataTableQuery *DataTableQueryMod } } -func expandDataTableDataPrimeQuery(ctx context.Context, dataPrime *DataPrimeModel) (*dashboards.DataTable_Query_Dataprime, diag.Diagnostics) { +func expandDataTableDataPrimeQuery(ctx context.Context, dataPrime *DataPrimeModel) (*cxsdk.DashboardDataTableQueryDataprime, diag.Diagnostics) { if dataPrime == nil { return nil, nil } @@ -5772,24 +5794,24 @@ func expandDataTableDataPrimeQuery(ctx context.Context, dataPrime *DataPrimeMode return nil, diags } - var dataPrimeQuery *dashboards.DataprimeQuery + var dataPrimeQuery *cxsdk.DashboardDataprimeQuery if !dataPrime.Query.IsNull() { - dataPrimeQuery = &dashboards.DataprimeQuery{ + dataPrimeQuery = &cxsdk.DashboardDataprimeQuery{ Text: dataPrime.Query.ValueString(), } } - return &dashboards.DataTable_Query_Dataprime{ - Dataprime: &dashboards.DataTable_DataprimeQuery{ + return &cxsdk.DashboardDataTableQueryDataprime{ + Dataprime: &cxsdk.DashboardDataTableDataprimeQuery{ DataprimeQuery: dataPrimeQuery, Filters: filters, }, }, nil } -func expandDashboardFiltersSources(ctx context.Context, filters types.List) ([]*dashboards.Filter_Source, diag.Diagnostics) { +func expandDashboardFiltersSources(ctx context.Context, filters types.List) ([]*cxsdk.DashboardFilterSource, diag.Diagnostics) { var filtersObjects []types.Object - var expandedFiltersSources []*dashboards.Filter_Source + var expandedFiltersSources []*cxsdk.DashboardFilterSource diags := filters.ElementsAs(ctx, &filtersObjects, true) if diags.HasError() { return nil, diags @@ -5811,7 +5833,7 @@ func expandDashboardFiltersSources(ctx context.Context, filters types.List) ([]* return expandedFiltersSources, diags } -func expandDataTableMetricsQuery(ctx context.Context, dataTableQueryMetric *DataTableQueryMetricsModel) (*dashboards.DataTable_Query_Metrics, diag.Diagnostics) { +func expandDataTableMetricsQuery(ctx context.Context, dataTableQueryMetric *DataTableQueryMetricsModel) (*cxsdk.DashboardDataTableQueryMetrics, diag.Diagnostics) { if dataTableQueryMetric == nil { return nil, nil } @@ -5821,15 +5843,15 @@ func expandDataTableMetricsQuery(ctx context.Context, dataTableQueryMetric *Data return nil, diags } - return &dashboards.DataTable_Query_Metrics{ - Metrics: &dashboards.DataTable_MetricsQuery{ + return &cxsdk.DashboardDataTableQueryMetrics{ + Metrics: &cxsdk.DashboardDataTableMetricsQuery{ PromqlQuery: expandPromqlQuery(dataTableQueryMetric.PromqlQuery), Filters: filters, }, }, nil } -func expandDataTableLogsQuery(ctx context.Context, dataTableQueryLogs *DataTableQueryLogsModel) (*dashboards.DataTable_Query_Logs, diag.Diagnostics) { +func expandDataTableLogsQuery(ctx context.Context, dataTableQueryLogs *DataTableQueryLogsModel) (*cxsdk.DashboardDataTableQueryLogs, diag.Diagnostics) { if dataTableQueryLogs == nil { return nil, nil } @@ -5844,8 +5866,8 @@ func expandDataTableLogsQuery(ctx context.Context, dataTableQueryLogs *DataTable return nil, diags } - return &dashboards.DataTable_Query_Logs{ - Logs: &dashboards.DataTable_LogsQuery{ + return &cxsdk.DashboardDataTableQueryLogs{ + Logs: &cxsdk.DashboardDataTableLogsQuery{ LuceneQuery: expandLuceneQuery(dataTableQueryLogs.LuceneQuery), Filters: filters, Grouping: grouping, @@ -5853,7 +5875,7 @@ func expandDataTableLogsQuery(ctx context.Context, dataTableQueryLogs *DataTable }, nil } -func expandDataTableLogsGrouping(ctx context.Context, grouping *DataTableLogsQueryGroupingModel) (*dashboards.DataTable_LogsQuery_Grouping, diag.Diagnostics) { +func expandDataTableLogsGrouping(ctx context.Context, grouping *DataTableLogsQueryGroupingModel) (*cxsdk.DashboardDataTableLogsQueryGrouping, diag.Diagnostics) { if grouping == nil { return nil, nil } @@ -5873,7 +5895,7 @@ func expandDataTableLogsGrouping(ctx context.Context, grouping *DataTableLogsQue return nil, diags } - return &dashboards.DataTable_LogsQuery_Grouping{ + return &cxsdk.DashboardDataTableLogsQueryGrouping{ GroupBy: groupBy, Aggregations: aggregations, GroupBys: groupBys, @@ -5881,9 +5903,9 @@ func expandDataTableLogsGrouping(ctx context.Context, grouping *DataTableLogsQue } -func expandDataTableLogsAggregations(ctx context.Context, aggregations types.List) ([]*dashboards.DataTable_LogsQuery_Aggregation, diag.Diagnostics) { +func expandDataTableLogsAggregations(ctx context.Context, aggregations types.List) ([]*cxsdk.DashboardDataTableLogsQueryAggregation, diag.Diagnostics) { var aggregationsObjects []types.Object - var expandedAggregations []*dashboards.DataTable_LogsQuery_Aggregation + var expandedAggregations []*cxsdk.DashboardDataTableLogsQueryAggregation diags := aggregations.ElementsAs(ctx, &aggregationsObjects, true) if diags.HasError() { return nil, diags @@ -5905,7 +5927,7 @@ func expandDataTableLogsAggregations(ctx context.Context, aggregations types.Lis return expandedAggregations, diags } -func expandDataTableLogsAggregation(ctx context.Context, aggregation *DataTableLogsAggregationModel) (*dashboards.DataTable_LogsQuery_Aggregation, diag.Diagnostics) { +func expandDataTableLogsAggregation(ctx context.Context, aggregation *DataTableLogsAggregationModel) (*cxsdk.DashboardDataTableLogsQueryAggregation, diag.Diagnostics) { if aggregation == nil { return nil, nil } @@ -5915,7 +5937,7 @@ func expandDataTableLogsAggregation(ctx context.Context, aggregation *DataTableL return nil, diags } - return &dashboards.DataTable_LogsQuery_Aggregation{ + return &cxsdk.DashboardDataTableLogsQueryAggregation{ Id: typeStringToWrapperspbString(aggregation.ID), Name: typeStringToWrapperspbString(aggregation.Name), IsVisible: typeBoolToWrapperspbBool(aggregation.IsVisible), @@ -5923,7 +5945,7 @@ func expandDataTableLogsAggregation(ctx context.Context, aggregation *DataTableL }, nil } -func expandDataTableSpansQuery(ctx context.Context, dataTableQuerySpans *DataTableQuerySpansModel) (*dashboards.DataTable_Query_Spans, diag.Diagnostics) { +func expandDataTableSpansQuery(ctx context.Context, dataTableQuerySpans *DataTableQuerySpansModel) (*cxsdk.DashboardDataTableQuerySpans, diag.Diagnostics) { if dataTableQuerySpans == nil { return nil, nil } @@ -5938,8 +5960,8 @@ func expandDataTableSpansQuery(ctx context.Context, dataTableQuerySpans *DataTab return nil, diags } - return &dashboards.DataTable_Query_Spans{ - Spans: &dashboards.DataTable_SpansQuery{ + return &cxsdk.DashboardDataTableQuerySpans{ + Spans: &cxsdk.DashboardDataTableSpansQuery{ LuceneQuery: expandLuceneQuery(dataTableQuerySpans.LuceneQuery), Filters: filters, Grouping: grouping, @@ -5947,7 +5969,7 @@ func expandDataTableSpansQuery(ctx context.Context, dataTableQuerySpans *DataTab }, nil } -func expandDataTableSpansGrouping(ctx context.Context, grouping *DataTableSpansQueryGroupingModel) (*dashboards.DataTable_SpansQuery_Grouping, diag.Diagnostics) { +func expandDataTableSpansGrouping(ctx context.Context, grouping *DataTableSpansQueryGroupingModel) (*cxsdk.DashboardDataTableSpansQueryGrouping, diag.Diagnostics) { if grouping == nil { return nil, nil } @@ -5962,15 +5984,15 @@ func expandDataTableSpansGrouping(ctx context.Context, grouping *DataTableSpansQ return nil, diags } - return &dashboards.DataTable_SpansQuery_Grouping{ + return &cxsdk.DashboardDataTableSpansQueryGrouping{ GroupBy: groupBy, Aggregations: aggregations, }, nil } -func expandDataTableSpansAggregations(ctx context.Context, spansAggregations types.List) ([]*dashboards.DataTable_SpansQuery_Aggregation, diag.Diagnostics) { +func expandDataTableSpansAggregations(ctx context.Context, spansAggregations types.List) ([]*cxsdk.DashboardDataTableSpansQueryAggregation, diag.Diagnostics) { var spansAggregationsObjects []types.Object - var expandedSpansAggregations []*dashboards.DataTable_SpansQuery_Aggregation + var expandedSpansAggregations []*cxsdk.DashboardDataTableSpansQueryAggregation diags := spansAggregations.ElementsAs(ctx, &spansAggregationsObjects, true) if diags.HasError() { return nil, diags @@ -5992,7 +6014,7 @@ func expandDataTableSpansAggregations(ctx context.Context, spansAggregations typ return expandedSpansAggregations, diags } -func expandDataTableSpansAggregation(aggregation *DataTableSpansAggregationModel) (*dashboards.DataTable_SpansQuery_Aggregation, diag.Diagnostic) { +func expandDataTableSpansAggregation(aggregation *DataTableSpansAggregationModel) (*cxsdk.DashboardDataTableSpansQueryAggregation, diag.Diagnostic) { if aggregation == nil { return nil, nil } @@ -6002,7 +6024,7 @@ func expandDataTableSpansAggregation(aggregation *DataTableSpansAggregationModel return nil, dg } - return &dashboards.DataTable_SpansQuery_Aggregation{ + return &cxsdk.DashboardDataTableSpansQueryAggregation{ Id: typeStringToWrapperspbString(aggregation.ID), Name: typeStringToWrapperspbString(aggregation.Name), IsVisible: typeBoolToWrapperspbBool(aggregation.IsVisible), @@ -6010,9 +6032,9 @@ func expandDataTableSpansAggregation(aggregation *DataTableSpansAggregationModel }, nil } -func expandDataTableColumns(ctx context.Context, columns types.List) ([]*dashboards.DataTable_Column, diag.Diagnostics) { +func expandDataTableColumns(ctx context.Context, columns types.List) ([]*cxsdk.DashboardDataTableColumn, diag.Diagnostics) { var columnsObjects []types.Object - var expandedColumns []*dashboards.DataTable_Column + var expandedColumns []*cxsdk.DashboardDataTableColumn diags := columns.ElementsAs(ctx, &columnsObjects, true) if diags.HasError() { return nil, diags @@ -6030,23 +6052,23 @@ func expandDataTableColumns(ctx context.Context, columns types.List) ([]*dashboa return expandedColumns, diags } -func expandDataTableColumn(column DataTableColumnModel) *dashboards.DataTable_Column { - return &dashboards.DataTable_Column{ +func expandDataTableColumn(column DataTableColumnModel) *cxsdk.DashboardDataTableColumn { + return &cxsdk.DashboardDataTableColumn{ Field: typeStringToWrapperspbString(column.Field), Width: typeInt64ToWrappedInt32(column.Width), } } -func expandOrderBy(orderBy *OrderByModel) *dashboards.OrderingField { +func expandOrderBy(orderBy *OrderByModel) *cxsdk.DashboardOrderingField { if orderBy == nil { return nil } - return &dashboards.OrderingField{ + return &cxsdk.DashboardOrderingField{ Field: typeStringToWrapperspbString(orderBy.Field), OrderDirection: dashboardOrderDirectionSchemaToProto[orderBy.OrderDirection.ValueString()], } } -func expandLineChart(ctx context.Context, lineChart *LineChartModel) (*dashboards.Widget_Definition, diag.Diagnostics) { +func expandLineChart(ctx context.Context, lineChart *LineChartModel) (*cxsdk.WidgetDefinition, diag.Diagnostics) { if lineChart == nil { return nil, nil } @@ -6061,9 +6083,9 @@ func expandLineChart(ctx context.Context, lineChart *LineChartModel) (*dashboard return nil, diags } - return &dashboards.Widget_Definition{ - Value: &dashboards.Widget_Definition_LineChart{ - LineChart: &dashboards.LineChart{ + return &cxsdk.WidgetDefinition{ + Value: &cxsdk.WidgetDefinitionLineChart{ + LineChart: &cxsdk.LineChart{ Legend: legend, Tooltip: expandLineChartTooltip(lineChart.Tooltip), QueryDefinitions: queryDefinitions, @@ -6072,7 +6094,7 @@ func expandLineChart(ctx context.Context, lineChart *LineChartModel) (*dashboard }, nil } -func expandLineChartLegend(ctx context.Context, legend *LegendModel) (*dashboards.Legend, diag.Diagnostics) { +func expandLineChartLegend(ctx context.Context, legend *LegendModel) (*cxsdk.DashboardLegend, diag.Diagnostics) { if legend == nil { return nil, nil } @@ -6082,7 +6104,7 @@ func expandLineChartLegend(ctx context.Context, legend *LegendModel) (*dashboard return nil, diags } - return &dashboards.Legend{ + return &cxsdk.DashboardLegend{ IsVisible: typeBoolToWrapperspbBool(legend.IsVisible), Columns: columns, GroupByQuery: typeBoolToWrapperspbBool(legend.GroupByQuery), @@ -6090,9 +6112,9 @@ func expandLineChartLegend(ctx context.Context, legend *LegendModel) (*dashboard }, nil } -func expandLineChartLegendColumns(ctx context.Context, columns []attr.Value) ([]dashboards.Legend_LegendColumn, diag.Diagnostics) { +func expandLineChartLegendColumns(ctx context.Context, columns []attr.Value) ([]cxsdk.DashboardLegendColumn, diag.Diagnostics) { var diags diag.Diagnostics - expandedColumns := make([]dashboards.Legend_LegendColumn, 0, len(columns)) + expandedColumns := make([]cxsdk.DashboardLegendColumn, 0, len(columns)) for _, s := range columns { v, err := s.ToTerraformValue(ctx) if err != nil { @@ -6112,20 +6134,20 @@ func expandLineChartLegendColumns(ctx context.Context, columns []attr.Value) ([] return expandedColumns, diags } -func expandLineChartTooltip(tooltip *TooltipModel) *dashboards.LineChart_Tooltip { +func expandLineChartTooltip(tooltip *TooltipModel) *cxsdk.LineChartTooltip { if tooltip == nil { return nil } - return &dashboards.LineChart_Tooltip{ + return &cxsdk.LineChartTooltip{ ShowLabels: typeBoolToWrapperspbBool(tooltip.ShowLabels), Type: dashboardSchemaToProtoTooltipType[tooltip.Type.ValueString()], } } -func expandLineChartQueryDefinitions(ctx context.Context, queryDefinitions types.List) ([]*dashboards.LineChart_QueryDefinition, diag.Diagnostics) { +func expandLineChartQueryDefinitions(ctx context.Context, queryDefinitions types.List) ([]*cxsdk.LineChartQueryDefinition, diag.Diagnostics) { var queryDefinitionsObjects []types.Object - var expandedQueryDefinitions []*dashboards.LineChart_QueryDefinition + var expandedQueryDefinitions []*cxsdk.LineChartQueryDefinition diags := queryDefinitions.ElementsAs(ctx, &queryDefinitionsObjects, true) if diags.HasError() { return nil, diags @@ -6147,7 +6169,7 @@ func expandLineChartQueryDefinitions(ctx context.Context, queryDefinitions types return expandedQueryDefinitions, diags } -func expandLineChartQueryDefinition(ctx context.Context, queryDefinition *LineChartQueryDefinitionModel) (*dashboards.LineChart_QueryDefinition, diag.Diagnostics) { +func expandLineChartQueryDefinition(ctx context.Context, queryDefinition *LineChartQueryDefinitionModel) (*cxsdk.LineChartQueryDefinition, diag.Diagnostics) { if queryDefinition == nil { return nil, nil } @@ -6161,7 +6183,7 @@ func expandLineChartQueryDefinition(ctx context.Context, queryDefinition *LineCh return nil, diags } - return &dashboards.LineChart_QueryDefinition{ + return &cxsdk.LineChartQueryDefinition{ Id: expandDashboardIDs(queryDefinition.ID), Query: query, SeriesNameTemplate: typeStringToWrapperspbString(queryDefinition.SeriesNameTemplate), @@ -6176,7 +6198,7 @@ func expandLineChartQueryDefinition(ctx context.Context, queryDefinition *LineCh }, nil } -func expandResolution(ctx context.Context, resolution types.Object) (*dashboards.LineChart_Resolution, diag.Diagnostics) { +func expandResolution(ctx context.Context, resolution types.Object) (*cxsdk.LineChartResolution, diag.Diagnostics) { if resolution.IsNull() || resolution.IsUnknown() { return nil, nil } @@ -6192,17 +6214,17 @@ func expandResolution(ctx context.Context, resolution types.Object) (*dashboards return nil, diag.Diagnostics{dg} } - return &dashboards.LineChart_Resolution{ + return &cxsdk.LineChartResolution{ Interval: durationpb.New(*interval), }, nil } - return &dashboards.LineChart_Resolution{ + return &cxsdk.LineChartResolution{ BucketsPresented: typeInt64ToWrappedInt32(resolutionModel.BucketsPresented), }, nil } -func expandLineChartQuery(ctx context.Context, query *LineChartQueryModel) (*dashboards.LineChart_Query, diag.Diagnostics) { +func expandLineChartQuery(ctx context.Context, query *LineChartQueryModel) (*cxsdk.LineChartQuery, diag.Diagnostics) { if query == nil { return nil, nil } @@ -6213,7 +6235,7 @@ func expandLineChartQuery(ctx context.Context, query *LineChartQueryModel) (*das if diags.HasError() { return nil, diags } - return &dashboards.LineChart_Query{ + return &cxsdk.LineChartQuery{ Value: logs, }, nil case query.Metrics != nil: @@ -6221,7 +6243,7 @@ func expandLineChartQuery(ctx context.Context, query *LineChartQueryModel) (*das if diags.HasError() { return nil, diags } - return &dashboards.LineChart_Query{ + return &cxsdk.LineChartQuery{ Value: metrics, }, nil case query.Spans != nil: @@ -6229,7 +6251,7 @@ func expandLineChartQuery(ctx context.Context, query *LineChartQueryModel) (*das if diags.HasError() { return nil, diags } - return &dashboards.LineChart_Query{ + return &cxsdk.LineChartQuery{ Value: spans, }, nil default: @@ -6237,7 +6259,7 @@ func expandLineChartQuery(ctx context.Context, query *LineChartQueryModel) (*das } } -func expandLineChartLogsQuery(ctx context.Context, logs *LineChartQueryLogsModel) (*dashboards.LineChart_Query_Logs, diag.Diagnostics) { +func expandLineChartLogsQuery(ctx context.Context, logs *LineChartQueryLogsModel) (*cxsdk.LineChartQueryLogs, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -6257,8 +6279,8 @@ func expandLineChartLogsQuery(ctx context.Context, logs *LineChartQueryLogsModel return nil, diags } - return &dashboards.LineChart_Query_Logs{ - Logs: &dashboards.LineChart_LogsQuery{ + return &cxsdk.LineChartQueryLogs{ + Logs: &cxsdk.LineChartLogsQuery{ LuceneQuery: expandLuceneQuery(logs.LuceneQuery), GroupBy: groupBy, Aggregations: aggregations, @@ -6267,7 +6289,7 @@ func expandLineChartLogsQuery(ctx context.Context, logs *LineChartQueryLogsModel }, nil } -func expandLineChartMetricsQuery(ctx context.Context, metrics *LineChartQueryMetricsModel) (*dashboards.LineChart_Query_Metrics, diag.Diagnostics) { +func expandLineChartMetricsQuery(ctx context.Context, metrics *LineChartQueryMetricsModel) (*cxsdk.LineChartQueryMetrics, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -6277,15 +6299,15 @@ func expandLineChartMetricsQuery(ctx context.Context, metrics *LineChartQueryMet return nil, diags } - return &dashboards.LineChart_Query_Metrics{ - Metrics: &dashboards.LineChart_MetricsQuery{ + return &cxsdk.LineChartQueryMetrics{ + Metrics: &cxsdk.LineChartMetricsQuery{ PromqlQuery: expandPromqlQuery(metrics.PromqlQuery), Filters: filters, }, }, nil } -func expandLineChartSpansQuery(ctx context.Context, spans *LineChartQuerySpansModel) (*dashboards.LineChart_Query_Spans, diag.Diagnostics) { +func expandLineChartSpansQuery(ctx context.Context, spans *LineChartQuerySpansModel) (*cxsdk.LineChartQuerySpans, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -6305,8 +6327,8 @@ func expandLineChartSpansQuery(ctx context.Context, spans *LineChartQuerySpansMo return nil, diags } - return &dashboards.LineChart_Query_Spans{ - Spans: &dashboards.LineChart_SpansQuery{ + return &cxsdk.LineChartQuerySpans{ + Spans: &cxsdk.LineChartSpansQuery{ LuceneQuery: expandLuceneQuery(spans.LuceneQuery), GroupBy: groupBy, Aggregations: aggregations, @@ -6315,7 +6337,7 @@ func expandLineChartSpansQuery(ctx context.Context, spans *LineChartQuerySpansMo }, nil } -func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) (*dashboards.PieChart_Query, diag.Diagnostics) { +func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) (*cxsdk.PieChartQuery, diag.Diagnostics) { if pieChartQuery == nil { return nil, nil } @@ -6326,7 +6348,7 @@ func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) if diags.HasError() { return nil, diags } - return &dashboards.PieChart_Query{ + return &cxsdk.PieChartQuery{ Value: logs, }, nil case pieChartQuery.Metrics != nil: @@ -6334,7 +6356,7 @@ func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) if diags.HasError() { return nil, diags } - return &dashboards.PieChart_Query{ + return &cxsdk.PieChartQuery{ Value: metrics, }, nil case pieChartQuery.Spans != nil: @@ -6342,7 +6364,7 @@ func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) if diags.HasError() { return nil, diags } - return &dashboards.PieChart_Query{ + return &cxsdk.PieChartQuery{ Value: spans, }, nil case pieChartQuery.DataPrime != nil: @@ -6350,7 +6372,7 @@ func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) if diags.HasError() { return nil, diags } - return &dashboards.PieChart_Query{ + return &cxsdk.PieChartQuery{ Value: dataPrime, }, nil default: @@ -6358,7 +6380,7 @@ func expandPieChartQuery(ctx context.Context, pieChartQuery *PieChartQueryModel) } } -func expandPieChartLogsQuery(ctx context.Context, pieChartQueryLogs *PieChartQueryLogsModel) (*dashboards.PieChart_Query_Logs, diag.Diagnostics) { +func expandPieChartLogsQuery(ctx context.Context, pieChartQueryLogs *PieChartQueryLogsModel) (*cxsdk.PieChartQueryLogs, diag.Diagnostics) { if pieChartQueryLogs == nil { return nil, nil } @@ -6388,8 +6410,8 @@ func expandPieChartLogsQuery(ctx context.Context, pieChartQueryLogs *PieChartQue return nil, diags } - return &dashboards.PieChart_Query_Logs{ - Logs: &dashboards.PieChart_LogsQuery{ + return &cxsdk.PieChartQueryLogs{ + Logs: &cxsdk.PieChartLogsQuery{ LuceneQuery: expandLuceneQuery(pieChartQueryLogs.LuceneQuery), Aggregation: aggregation, Filters: filters, @@ -6401,7 +6423,7 @@ func expandPieChartLogsQuery(ctx context.Context, pieChartQueryLogs *PieChartQue }, nil } -func expandPieChartMetricsQuery(ctx context.Context, pieChartQueryMetrics *PieChartQueryMetricsModel) (*dashboards.PieChart_Query_Metrics, diag.Diagnostics) { +func expandPieChartMetricsQuery(ctx context.Context, pieChartQueryMetrics *PieChartQueryMetricsModel) (*cxsdk.PieChartQueryMetrics, diag.Diagnostics) { if pieChartQueryMetrics == nil { return nil, nil } @@ -6416,8 +6438,8 @@ func expandPieChartMetricsQuery(ctx context.Context, pieChartQueryMetrics *PieCh return nil, diags } - return &dashboards.PieChart_Query_Metrics{ - Metrics: &dashboards.PieChart_MetricsQuery{ + return &cxsdk.PieChartQueryMetrics{ + Metrics: &cxsdk.PieChartMetricsQuery{ PromqlQuery: expandPromqlQuery(pieChartQueryMetrics.PromqlQuery), GroupNames: groupNames, Filters: filters, @@ -6426,7 +6448,7 @@ func expandPieChartMetricsQuery(ctx context.Context, pieChartQueryMetrics *PieCh }, nil } -func expandPieChartSpansQuery(ctx context.Context, pieChartQuerySpans *PieChartQuerySpansModel) (*dashboards.PieChart_Query_Spans, diag.Diagnostics) { +func expandPieChartSpansQuery(ctx context.Context, pieChartQuerySpans *PieChartQuerySpansModel) (*cxsdk.PieChartQuerySpans, diag.Diagnostics) { if pieChartQuerySpans == nil { return nil, nil } @@ -6451,8 +6473,8 @@ func expandPieChartSpansQuery(ctx context.Context, pieChartQuerySpans *PieChartQ return nil, diag.Diagnostics{dg} } - return &dashboards.PieChart_Query_Spans{ - Spans: &dashboards.PieChart_SpansQuery{ + return &cxsdk.PieChartQuerySpans{ + Spans: &cxsdk.PieChartSpansQuery{ LuceneQuery: expandLuceneQuery(pieChartQuerySpans.LuceneQuery), Aggregation: aggregation, Filters: filters, @@ -6462,7 +6484,7 @@ func expandPieChartSpansQuery(ctx context.Context, pieChartQuerySpans *PieChartQ }, nil } -func expandPieChartDataPrimeQuery(ctx context.Context, dataPrime *PieChartQueryDataPrimeModel) (*dashboards.PieChart_Query_Dataprime, diag.Diagnostics) { +func expandPieChartDataPrimeQuery(ctx context.Context, dataPrime *PieChartQueryDataPrimeModel) (*cxsdk.PieChartQueryDataprime, diag.Diagnostics) { if dataPrime == nil { return nil, nil } @@ -6477,9 +6499,9 @@ func expandPieChartDataPrimeQuery(ctx context.Context, dataPrime *PieChartQueryD return nil, diags } - return &dashboards.PieChart_Query_Dataprime{ - Dataprime: &dashboards.PieChart_DataprimeQuery{ - DataprimeQuery: &dashboards.DataprimeQuery{ + return &cxsdk.PieChartQueryDataprime{ + Dataprime: &cxsdk.PieChartDataprimeQuery{ + DataprimeQuery: &cxsdk.DashboardDataprimeQuery{ Text: dataPrime.Query.ValueString(), }, Filters: filters, @@ -6489,9 +6511,9 @@ func expandPieChartDataPrimeQuery(ctx context.Context, dataPrime *PieChartQueryD }, nil } -func expandDashboardVariables(ctx context.Context, variables types.List) ([]*dashboards.Variable, diag.Diagnostics) { +func expandDashboardVariables(ctx context.Context, variables types.List) ([]*cxsdk.DashboardVariable, diag.Diagnostics) { var variablesObjects []types.Object - var expandedVariables []*dashboards.Variable + var expandedVariables []*cxsdk.DashboardVariable diags := variables.ElementsAs(ctx, &variablesObjects, true) if diags.HasError() { return nil, diags @@ -6513,19 +6535,19 @@ func expandDashboardVariables(ctx context.Context, variables types.List) ([]*das return expandedVariables, diags } -func expandDashboardVariable(ctx context.Context, variable DashboardVariableModel) (*dashboards.Variable, diag.Diagnostics) { +func expandDashboardVariable(ctx context.Context, variable DashboardVariableModel) (*cxsdk.DashboardVariable, diag.Diagnostics) { definition, diags := expandDashboardVariableDefinition(ctx, variable.Definition) if diags.HasError() { return nil, diags } - return &dashboards.Variable{ + return &cxsdk.DashboardVariable{ Name: typeStringToWrapperspbString(variable.Name), DisplayName: typeStringToWrapperspbString(variable.DisplayName), Definition: definition, }, nil } -func expandDashboardVariableDefinition(ctx context.Context, definition *DashboardVariableDefinitionModel) (*dashboards.Variable_Definition, diag.Diagnostics) { +func expandDashboardVariableDefinition(ctx context.Context, definition *DashboardVariableDefinitionModel) (*cxsdk.DashboardVariableDefinition, diag.Diagnostics) { if definition == nil { return nil, nil } @@ -6534,9 +6556,9 @@ func expandDashboardVariableDefinition(ctx context.Context, definition *Dashboar case definition.MultiSelect != nil: return expandMultiSelect(ctx, definition.MultiSelect) case !definition.ConstantValue.IsNull(): - return &dashboards.Variable_Definition{ - Value: &dashboards.Variable_Definition_Constant{ - Constant: &dashboards.Constant{ + return &cxsdk.DashboardVariableDefinition{ + Value: &cxsdk.DashboardVariableDefinitionConstant{ + Constant: &cxsdk.DashboardConstant{ Value: typeStringToWrapperspbString(definition.ConstantValue), }, }, @@ -6546,7 +6568,7 @@ func expandDashboardVariableDefinition(ctx context.Context, definition *Dashboar } } -func expandMultiSelect(ctx context.Context, multiSelect *VariableMultiSelectModel) (*dashboards.Variable_Definition, diag.Diagnostics) { +func expandMultiSelect(ctx context.Context, multiSelect *VariableMultiSelectModel) (*cxsdk.DashboardVariableDefinition, diag.Diagnostics) { if multiSelect == nil { return nil, nil } @@ -6561,9 +6583,9 @@ func expandMultiSelect(ctx context.Context, multiSelect *VariableMultiSelectMode return nil, diags } - return &dashboards.Variable_Definition{ - Value: &dashboards.Variable_Definition_MultiSelect{ - MultiSelect: &dashboards.MultiSelect{ + return &cxsdk.DashboardVariableDefinition{ + Value: &cxsdk.DashboardVariableDefinitionMultiSelect{ + MultiSelect: &cxsdk.DashboardMultiSelect{ Source: source, Selection: selection, ValuesOrderDirection: dashboardOrderDirectionSchemaToProto[multiSelect.ValuesOrderDirection.ValueString()], @@ -6572,11 +6594,11 @@ func expandMultiSelect(ctx context.Context, multiSelect *VariableMultiSelectMode }, nil } -func expandMultiSelectSelection(ctx context.Context, selectedValues []attr.Value) (*dashboards.MultiSelect_Selection, diag.Diagnostics) { +func expandMultiSelectSelection(ctx context.Context, selectedValues []attr.Value) (*cxsdk.DashboardMultiSelectSelection, diag.Diagnostics) { if len(selectedValues) == 0 { - return &dashboards.MultiSelect_Selection{ - Value: &dashboards.MultiSelect_Selection_All{ - All: &dashboards.MultiSelect_Selection_AllSelection{}, + return &cxsdk.DashboardMultiSelectSelection{ + Value: &cxsdk.DashboardMultiSelectSelectionAll{ + All: &cxsdk.DashboardMultiSelectAllSelection{}, }, }, nil } @@ -6585,25 +6607,25 @@ func expandMultiSelectSelection(ctx context.Context, selectedValues []attr.Value if diags.HasError() { return nil, diags } - return &dashboards.MultiSelect_Selection{ - Value: &dashboards.MultiSelect_Selection_List{ - List: &dashboards.MultiSelect_Selection_ListSelection{ + return &cxsdk.DashboardMultiSelectSelection{ + Value: &cxsdk.DashboardMultiSelectSelectionList{ + List: &cxsdk.DashboardMultiSelectListSelection{ Values: selections, }, }, }, nil } -func expandMultiSelectSource(ctx context.Context, source *VariableMultiSelectSourceModel) (*dashboards.MultiSelect_Source, diag.Diagnostics) { +func expandMultiSelectSource(ctx context.Context, source *VariableMultiSelectSourceModel) (*cxsdk.DashboardMultiSelectSource, diag.Diagnostics) { if source == nil { return nil, nil } switch { case !source.LogsPath.IsNull(): - return &dashboards.MultiSelect_Source{ - Value: &dashboards.MultiSelect_Source_LogsPath{ - LogsPath: &dashboards.MultiSelect_LogsPathSource{ + return &cxsdk.MultiSelectSource{ + Value: &cxsdk.MultiSelectSourceLogsPath{ + LogsPath: &cxsdk.MultiSelectLogsPathSource{ Value: typeStringToWrapperspbString(source.LogsPath), }, }, @@ -6613,17 +6635,17 @@ func expandMultiSelectSource(ctx context.Context, source *VariableMultiSelectSou if diags.HasError() { return nil, diags } - return &dashboards.MultiSelect_Source{ - Value: &dashboards.MultiSelect_Source_ConstantList{ - ConstantList: &dashboards.MultiSelect_ConstantListSource{ + return &cxsdk.MultiSelectSource{ + Value: &cxsdk.MultiSelectSourceConstantList{ + ConstantList: &cxsdk.MultiSelectConstantListSource{ Values: constantList, }, }, }, nil case source.MetricLabel != nil: - return &dashboards.MultiSelect_Source{ - Value: &dashboards.MultiSelect_Source_MetricLabel{ - MetricLabel: &dashboards.MultiSelect_MetricLabelSource{ + return &cxsdk.MultiSelectSource{ + Value: &cxsdk.MultiSelectSourceMetricLabel{ + MetricLabel: &cxsdk.MultiSelectMetricLabelSource{ MetricName: typeStringToWrapperspbString(source.MetricLabel.MetricName), Label: typeStringToWrapperspbString(source.MetricLabel.Label), }, @@ -6634,9 +6656,9 @@ func expandMultiSelectSource(ctx context.Context, source *VariableMultiSelectSou if dg != nil { return nil, diag.Diagnostics{dg} } - return &dashboards.MultiSelect_Source{ - Value: &dashboards.MultiSelect_Source_SpanField{ - SpanField: &dashboards.MultiSelect_SpanFieldSource{ + return &cxsdk.MultiSelectSource{ + Value: &cxsdk.MultiSelectSourceSpanField{ + SpanField: &cxsdk.MultiSelectSpanFieldSource{ Value: spanField, }, }, @@ -6648,9 +6670,9 @@ func expandMultiSelectSource(ctx context.Context, source *VariableMultiSelectSou } } -func expandDashboardFilters(ctx context.Context, filters types.List) ([]*dashboards.Filter, diag.Diagnostics) { +func expandDashboardFilters(ctx context.Context, filters types.List) ([]*cxsdk.DashboardFilter, diag.Diagnostics) { var filtersObjects []types.Object - var expandedFilters []*dashboards.Filter + var expandedFilters []*cxsdk.DashboardFilter diags := filters.ElementsAs(ctx, &filtersObjects, true) if diags.HasError() { return nil, diags @@ -6672,7 +6694,7 @@ func expandDashboardFilters(ctx context.Context, filters types.List) ([]*dashboa return expandedFilters, diags } -func expandDashboardFilter(ctx context.Context, filter *DashboardFilterModel) (*dashboards.Filter, diag.Diagnostics) { +func expandDashboardFilter(ctx context.Context, filter *DashboardFilterModel) (*cxsdk.DashboardFilter, diag.Diagnostics) { if filter == nil { return nil, nil } @@ -6682,14 +6704,14 @@ func expandDashboardFilter(ctx context.Context, filter *DashboardFilterModel) (* return nil, diags } - return &dashboards.Filter{ + return &cxsdk.DashboardFilter{ Source: source, Enabled: typeBoolToWrapperspbBool(filter.Enabled), Collapsed: typeBoolToWrapperspbBool(filter.Collapsed), }, nil } -func expandFilterSource(ctx context.Context, source *DashboardFilterSourceModel) (*dashboards.Filter_Source, diag.Diagnostics) { +func expandFilterSource(ctx context.Context, source *DashboardFilterSourceModel) (*cxsdk.DashboardFilterSource, diag.Diagnostics) { if source == nil { return nil, nil } @@ -6706,7 +6728,7 @@ func expandFilterSource(ctx context.Context, source *DashboardFilterSourceModel) } } -func expandFilterSourceLogs(ctx context.Context, logs *FilterSourceLogsModel) (*dashboards.Filter_Source, diag.Diagnostics) { +func expandFilterSourceLogs(ctx context.Context, logs *FilterSourceLogsModel) (*cxsdk.DashboardFilterSource, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -6721,9 +6743,9 @@ func expandFilterSourceLogs(ctx context.Context, logs *FilterSourceLogsModel) (* return nil, diags } - return &dashboards.Filter_Source{ - Value: &dashboards.Filter_Source_Logs{ - Logs: &dashboards.Filter_LogsFilter{ + return &cxsdk.DashboardFilterSource{ + Value: &cxsdk.DashboardFilterSourceLogs{ + Logs: &cxsdk.DashboardFilterLogsFilter{ Field: typeStringToWrapperspbString(logs.Field), Operator: operator, ObservationField: observationField, @@ -6732,7 +6754,7 @@ func expandFilterSourceLogs(ctx context.Context, logs *FilterSourceLogsModel) (* }, nil } -func expandFilterSourceMetrics(ctx context.Context, metrics *FilterSourceMetricsModel) (*dashboards.Filter_Source, diag.Diagnostics) { +func expandFilterSourceMetrics(ctx context.Context, metrics *FilterSourceMetricsModel) (*cxsdk.DashboardFilterSource, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -6742,9 +6764,9 @@ func expandFilterSourceMetrics(ctx context.Context, metrics *FilterSourceMetrics return nil, diags } - return &dashboards.Filter_Source{ - Value: &dashboards.Filter_Source_Metrics{ - Metrics: &dashboards.Filter_MetricsFilter{ + return &cxsdk.DashboardFilterSource{ + Value: &cxsdk.DashboardFilterSourceMetrics{ + Metrics: &cxsdk.DashboardFilterMetricsFilter{ Metric: typeStringToWrapperspbString(metrics.MetricName), Label: typeStringToWrapperspbString(metrics.MetricLabel), Operator: operator, @@ -6753,7 +6775,7 @@ func expandFilterSourceMetrics(ctx context.Context, metrics *FilterSourceMetrics }, nil } -func expandFilterSourceSpans(ctx context.Context, spans *FilterSourceSpansModel) (*dashboards.Filter_Source, diag.Diagnostics) { +func expandFilterSourceSpans(ctx context.Context, spans *FilterSourceSpansModel) (*cxsdk.DashboardFilterSource, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -6768,9 +6790,9 @@ func expandFilterSourceSpans(ctx context.Context, spans *FilterSourceSpansModel) return nil, diags } - return &dashboards.Filter_Source{ - Value: &dashboards.Filter_Source_Spans{ - Spans: &dashboards.Filter_SpansFilter{ + return &cxsdk.DashboardFilterSource{ + Value: &cxsdk.DashboardFilterSourceSpans{ + Spans: &cxsdk.DashboardFilterSpansFilter{ Field: field, Operator: operator, }, @@ -6778,8 +6800,8 @@ func expandFilterSourceSpans(ctx context.Context, spans *FilterSourceSpansModel) }, nil } -func expandDashboardFolder(ctx context.Context, dashboard *dashboards.Dashboard, folder types.Object) (*dashboards.Dashboard, diag.Diagnostics) { - if folder.IsNull() || folder.IsUnknown() { +func expandDashboardFolder(ctx context.Context, dashboard *cxsdk.Dashboard, folder types.Object) (*cxsdk.Dashboard, diag.Diagnostics) { + if objIsNullOrUnknown(folder) { return dashboard, nil } var folderModel DashboardFolderModel @@ -6790,13 +6812,13 @@ func expandDashboardFolder(ctx context.Context, dashboard *dashboards.Dashboard, if !(folderModel.Path.IsNull() || folderModel.Path.IsUnknown()) { segments := strings.Split(folderModel.Path.ValueString(), "/") - dashboard.Folder = &dashboards.Dashboard_FolderPath{ - FolderPath: &dashboards.FolderPath{ + dashboard.Folder = &cxsdk.DashboardFolderPath{ + FolderPath: &cxsdk.FolderPath{ Segments: segments, }, } } else if !(folderModel.ID.IsNull() || folderModel.ID.IsUnknown()) { - dashboard.Folder = &dashboards.Dashboard_FolderId{ + dashboard.Folder = &cxsdk.DashboardFolderID{ FolderId: expandDashboardUUID(folderModel.ID), } } @@ -6804,7 +6826,7 @@ func expandDashboardFolder(ctx context.Context, dashboard *dashboards.Dashboard, return dashboard, nil } -func expandAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame types.Object) (*dashboards.Dashboard_AbsoluteTimeFrame, diag.Diagnostics) { +func expandAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame types.Object) (*cxsdk.DashboardAbsoluteTimeFrame, diag.Diagnostics) { timeFrameModel := &DashboardTimeFrameAbsoluteModel{} dgs := timeFrame.As(ctx, timeFrameModel, basetypes.ObjectAsOptions{}) if dgs.HasError() { @@ -6822,8 +6844,8 @@ func expandAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame types.Objec from := timestamppb.New(fromTime) to := timestamppb.New(toTime) - return &dashboards.Dashboard_AbsoluteTimeFrame{ - AbsoluteTimeFrame: &dashboards.TimeFrame{ + return &cxsdk.DashboardAbsoluteTimeFrame{ + AbsoluteTimeFrame: &cxsdk.DashboardTimeFrame{ From: from, To: to, }, @@ -6853,7 +6875,7 @@ func parseDuration(ti, fieldsName string) (*time.Duration, diag.Diagnostic) { return &duration, nil } -func expandRelativeDashboardTimeFrame(ctx context.Context, timeFrame types.Object) (*dashboards.Dashboard_RelativeTimeFrame, diag.Diagnostics) { +func expandRelativeDashboardTimeFrame(ctx context.Context, timeFrame types.Object) (*cxsdk.DashboardRelativeTimeFrame, diag.Diagnostics) { timeFrameModel := &DashboardTimeFrameRelativeModel{} dgs := timeFrame.As(ctx, timeFrameModel, basetypes.ObjectAsOptions{}) if dgs.HasError() { @@ -6863,23 +6885,23 @@ func expandRelativeDashboardTimeFrame(ctx context.Context, timeFrame types.Objec if dg != nil { return nil, diag.Diagnostics{dg} } - return &dashboards.Dashboard_RelativeTimeFrame{ + return &cxsdk.DashboardRelativeTimeFrame{ RelativeTimeFrame: durationpb.New(*duration), }, nil } -func expand21LengthUUID(id types.String) *dashboards.UUID { +func expand21LengthUUID(id types.String) *cxsdk.UUID { if id.IsNull() || id.IsUnknown() { - return &dashboards.UUID{Value: RandStringBytes(21)} + return &cxsdk.UUID{Value: RandStringBytes(21)} } - return &dashboards.UUID{Value: id.ValueString()} + return &cxsdk.UUID{Value: id.ValueString()} } -func expandDashboardUUID(id types.String) *dashboards.UUID { +func expandDashboardUUID(id types.String) *cxsdk.UUID { if id.IsNull() || id.IsUnknown() { - return &dashboards.UUID{Value: uuid.NewString()} + return &cxsdk.UUID{Value: uuid.NewString()} } - return &dashboards.UUID{Value: id.ValueString()} + return &cxsdk.UUID{Value: id.ValueString()} } func expandDashboardIDs(id types.String) *wrapperspb.StringValue { @@ -6889,7 +6911,7 @@ func expandDashboardIDs(id types.String) *wrapperspb.StringValue { return &wrapperspb.StringValue{Value: id.ValueString()} } -func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboard *dashboards.Dashboard) (*DashboardResourceModel, diag.Diagnostics) { +func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboard *cxsdk.Dashboard) (*DashboardResourceModel, diag.Diagnostics) { if !(plan.ContentJson.IsNull() || plan.ContentJson.IsUnknown()) { _, err := protojson.Marshal(dashboard) if err != nil { @@ -6966,7 +6988,7 @@ func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboar }, nil } -func flattenDashboardLayout(ctx context.Context, layout *dashboards.Layout) (types.Object, diag.Diagnostics) { +func flattenDashboardLayout(ctx context.Context, layout *cxsdk.DashboardLayout) (types.Object, diag.Diagnostics) { sections, diags := flattenDashboardSections(ctx, layout.GetSections()) if diags.HasError() { return types.ObjectNull(layoutModelAttr()), diags @@ -6977,7 +6999,7 @@ func flattenDashboardLayout(ctx context.Context, layout *dashboards.Layout) (typ return types.ObjectValueFrom(ctx, layoutModelAttr(), flattenedLayout) } -func flattenDashboardSections(ctx context.Context, sections []*dashboards.Section) (types.List, diag.Diagnostics) { +func flattenDashboardSections(ctx context.Context, sections []*cxsdk.DashboardSection) (types.List, diag.Diagnostics) { if len(sections) == 0 { return types.ListNull(types.ObjectType{AttrTypes: sectionModelAttr()}), nil } @@ -7987,7 +8009,7 @@ func dashboardAutoRefreshModelAttr() map[string]attr.Type { } } -func flattenDashboardSection(ctx context.Context, section *dashboards.Section) (*SectionModel, diag.Diagnostics) { +func flattenDashboardSection(ctx context.Context, section *cxsdk.DashboardSection) (*SectionModel, diag.Diagnostics) { if section == nil { return nil, nil } @@ -8009,7 +8031,7 @@ func flattenDashboardSection(ctx context.Context, section *dashboards.Section) ( }, nil } -func flattenDashboardOptions(_ context.Context, opts *dashboards.SectionOptions) (*SectionOptionsModel, diag.Diagnostics) { +func flattenDashboardOptions(_ context.Context, opts *cxsdk.DashboardSectionOptions) (*SectionOptionsModel, diag.Diagnostics) { if opts == nil || opts.GetCustom() == nil { return nil, nil } @@ -8044,7 +8066,7 @@ func flattenDashboardOptions(_ context.Context, opts *dashboards.SectionOptions) }, nil } -func flattenDashboardRows(ctx context.Context, rows []*dashboards.Row) (types.List, diag.Diagnostics) { +func flattenDashboardRows(ctx context.Context, rows []*cxsdk.DashboardRow) (types.List, diag.Diagnostics) { if len(rows) == 0 { return types.ListNull(types.ObjectType{AttrTypes: rowModelAttr()}), nil } @@ -8068,7 +8090,7 @@ func flattenDashboardRows(ctx context.Context, rows []*dashboards.Row) (types.Li return types.ListValueMust(types.ObjectType{AttrTypes: rowModelAttr()}, rowsElements), diagnostics } -func flattenDashboardRow(ctx context.Context, row *dashboards.Row) (*RowModel, diag.Diagnostics) { +func flattenDashboardRow(ctx context.Context, row *cxsdk.DashboardRow) (*RowModel, diag.Diagnostics) { if row == nil { return nil, nil } @@ -8084,7 +8106,7 @@ func flattenDashboardRow(ctx context.Context, row *dashboards.Row) (*RowModel, d }, nil } -func flattenDashboardWidgets(ctx context.Context, widgets []*dashboards.Widget) (types.List, diag.Diagnostics) { +func flattenDashboardWidgets(ctx context.Context, widgets []*cxsdk.DashboardWidget) (types.List, diag.Diagnostics) { if len(widgets) == 0 { return types.ListNull(types.ObjectType{AttrTypes: widgetModelAttr()}), nil } @@ -8108,7 +8130,7 @@ func flattenDashboardWidgets(ctx context.Context, widgets []*dashboards.Widget) return types.ListValueMust(types.ObjectType{AttrTypes: widgetModelAttr()}, widgetsElements), diagnostics } -func flattenDashboardWidget(ctx context.Context, widget *dashboards.Widget) (*WidgetModel, diag.Diagnostics) { +func flattenDashboardWidget(ctx context.Context, widget *cxsdk.DashboardWidget) (*WidgetModel, diag.Diagnostics) { if widget == nil { return nil, nil } @@ -8127,32 +8149,32 @@ func flattenDashboardWidget(ctx context.Context, widget *dashboards.Widget) (*Wi }, nil } -func flattenDashboardWidgetDefinition(ctx context.Context, definition *dashboards.Widget_Definition) (*WidgetDefinitionModel, diag.Diagnostics) { +func flattenDashboardWidgetDefinition(ctx context.Context, definition *cxsdk.WidgetDefinition) (*WidgetDefinitionModel, diag.Diagnostics) { if definition == nil { return nil, nil } switch definition.GetValue().(type) { - case *dashboards.Widget_Definition_LineChart: + case *cxsdk.WidgetDefinitionLineChart: return flattenLineChart(ctx, definition.GetLineChart()) - case *dashboards.Widget_Definition_DataTable: + case *cxsdk.WidgetDefinitionDataTable: return flattenDataTable(ctx, definition.GetDataTable()) - case *dashboards.Widget_Definition_Gauge: + case *cxsdk.WidgetDefinitionGauge: return flattenGauge(ctx, definition.GetGauge()) - case *dashboards.Widget_Definition_PieChart: + case *cxsdk.WidgetDefinitionPieChart: return flattenPieChart(ctx, definition.GetPieChart()) - case *dashboards.Widget_Definition_BarChart: + case *cxsdk.WidgetDefinitionBarChart: return flattenBarChart(ctx, definition.GetBarChart()) - case *dashboards.Widget_Definition_HorizontalBarChart: + case *cxsdk.WidgetDefinitionHorizontalBarChart: return flattenHorizontalBarChart(ctx, definition.GetHorizontalBarChart()) - case *dashboards.Widget_Definition_Markdown: + case *cxsdk.WidgetDefinitionMarkdown: return flattenMarkdown(definition.GetMarkdown()), nil default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Widget Definition", "unknown widget definition type")} } } -func flattenMarkdown(markdown *dashboards.Markdown) *WidgetDefinitionModel { +func flattenMarkdown(markdown *cxsdk.Markdown) *WidgetDefinitionModel { return &WidgetDefinitionModel{ Markdown: &MarkdownModel{ MarkdownText: wrapperspbStringToTypeString(markdown.GetMarkdownText()), @@ -8161,7 +8183,7 @@ func flattenMarkdown(markdown *dashboards.Markdown) *WidgetDefinitionModel { } } -func flattenHorizontalBarChart(ctx context.Context, chart *dashboards.HorizontalBarChart) (*WidgetDefinitionModel, diag.Diagnostics) { +func flattenHorizontalBarChart(ctx context.Context, chart *cxsdk.HorizontalBarChart) (*WidgetDefinitionModel, diag.Diagnostics) { if chart == nil { return nil, nil } @@ -8194,35 +8216,35 @@ func flattenHorizontalBarChart(ctx context.Context, chart *dashboards.Horizontal }, nil } -func flattenYAxisViewBy(yAxisViewBy *dashboards.HorizontalBarChart_YAxisViewBy) types.String { +func flattenYAxisViewBy(yAxisViewBy *cxsdk.HorizontalBarChartYAxisViewBy) types.String { switch yAxisViewBy.GetYAxisView().(type) { - case *dashboards.HorizontalBarChart_YAxisViewBy_Category: + case *cxsdk.HorizontalBarChartYAxisViewByCategory: return types.StringValue("category") - case *dashboards.HorizontalBarChart_YAxisViewBy_Value: + case *cxsdk.HorizontalBarChartYAxisViewByValue: return types.StringValue("value") default: return types.StringNull() } } -func flattenHorizontalBarChartQueryDefinitions(ctx context.Context, query *dashboards.HorizontalBarChart_Query) (*HorizontalBarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQueryDefinitions(ctx context.Context, query *cxsdk.HorizontalBarChartQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if query == nil { return nil, nil } switch query.GetValue().(type) { - case *dashboards.HorizontalBarChart_Query_Logs: + case *cxsdk.HorizontalBarChartQueryLogs: return flattenHorizontalBarChartQueryLogs(ctx, query.GetLogs()) - case *dashboards.HorizontalBarChart_Query_Metrics: + case *cxsdk.HorizontalBarChartQueryMetrics: return flattenHorizontalBarChartQueryMetrics(ctx, query.GetMetrics()) - case *dashboards.HorizontalBarChart_Query_Spans: + case *cxsdk.HorizontalBarChartQuerySpans: return flattenHorizontalBarChartQuerySpans(ctx, query.GetSpans()) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Horizontal Bar Chart Query", "unknown horizontal bar chart query type")} } } -func flattenHorizontalBarChartQueryLogs(ctx context.Context, logs *dashboards.HorizontalBarChart_LogsQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQueryLogs(ctx context.Context, logs *cxsdk.HorizontalBarChartLogsQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -8269,7 +8291,7 @@ func flattenHorizontalBarChartQueryLogs(ctx context.Context, logs *dashboards.Ho }, nil } -func flattenHorizontalBarChartQueryMetrics(ctx context.Context, metrics *dashboards.HorizontalBarChart_MetricsQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQueryMetrics(ctx context.Context, metrics *cxsdk.HorizontalBarChartMetricsQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -8298,7 +8320,7 @@ func flattenHorizontalBarChartQueryMetrics(ctx context.Context, metrics *dashboa }, nil } -func flattenHorizontalBarChartQuerySpans(ctx context.Context, spans *dashboards.HorizontalBarChart_SpansQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { +func flattenHorizontalBarChartQuerySpans(ctx context.Context, spans *cxsdk.HorizontalBarChartSpansQuery) (*HorizontalBarChartQueryModel, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -8343,7 +8365,7 @@ func flattenHorizontalBarChartQuerySpans(ctx context.Context, spans *dashboards. }, nil } -func flattenLineChart(ctx context.Context, lineChart *dashboards.LineChart) (*WidgetDefinitionModel, diag.Diagnostics) { +func flattenLineChart(ctx context.Context, lineChart *cxsdk.LineChart) (*WidgetDefinitionModel, diag.Diagnostics) { if lineChart == nil { return nil, nil } @@ -8362,7 +8384,7 @@ func flattenLineChart(ctx context.Context, lineChart *dashboards.LineChart) (*Wi }, nil } -func flattenLegend(legend *dashboards.Legend) *LegendModel { +func flattenLegend(legend *cxsdk.DashboardLegend) *LegendModel { if legend == nil { return nil } @@ -8375,7 +8397,7 @@ func flattenLegend(legend *dashboards.Legend) *LegendModel { } } -func flattenLegendColumns(columns []dashboards.Legend_LegendColumn) types.List { +func flattenLegendColumns(columns []cxsdk.DashboardLegendColumn) types.List { if len(columns) == 0 { return types.ListNull(types.StringType) } @@ -8390,7 +8412,7 @@ func flattenLegendColumns(columns []dashboards.Legend_LegendColumn) types.List { return types.ListValueMust(types.StringType, columnsElements) } -func flattenTooltip(tooltip *dashboards.LineChart_Tooltip) *TooltipModel { +func flattenTooltip(tooltip *cxsdk.LineChartTooltip) *TooltipModel { if tooltip == nil { return nil } @@ -8400,7 +8422,7 @@ func flattenTooltip(tooltip *dashboards.LineChart_Tooltip) *TooltipModel { } } -func flattenLineChartQueryDefinitions(ctx context.Context, definitions []*dashboards.LineChart_QueryDefinition) (types.List, diag.Diagnostics) { +func flattenLineChartQueryDefinitions(ctx context.Context, definitions []*cxsdk.LineChartQueryDefinition) (types.List, diag.Diagnostics) { if len(definitions) == 0 { return types.ListNull(types.ObjectType{AttrTypes: lineChartQueryDefinitionModelAttr()}), nil } @@ -8424,7 +8446,7 @@ func flattenLineChartQueryDefinitions(ctx context.Context, definitions []*dashbo return types.ListValueMust(types.ObjectType{AttrTypes: lineChartQueryDefinitionModelAttr()}, definitionsElements), diagnostics } -func flattenLineChartQueryDefinition(ctx context.Context, definition *dashboards.LineChart_QueryDefinition) (*LineChartQueryDefinitionModel, diag.Diagnostics) { +func flattenLineChartQueryDefinition(ctx context.Context, definition *cxsdk.LineChartQueryDefinition) (*LineChartQueryDefinitionModel, diag.Diagnostics) { if definition == nil { return nil, nil } @@ -8454,7 +8476,7 @@ func flattenLineChartQueryDefinition(ctx context.Context, definition *dashboards }, nil } -func flattenLineChartQueryResolution(ctx context.Context, resolution *dashboards.LineChart_Resolution) (types.Object, diag.Diagnostics) { +func flattenLineChartQueryResolution(ctx context.Context, resolution *cxsdk.LineChartResolution) (types.Object, diag.Diagnostics) { if resolution == nil { return types.ObjectNull(lineChartQueryResolutionModelAttr()), nil } @@ -8479,24 +8501,24 @@ func lineChartQueryResolutionModelAttr() map[string]attr.Type { } } -func flattenLineChartQuery(ctx context.Context, query *dashboards.LineChart_Query) (*LineChartQueryModel, diag.Diagnostics) { +func flattenLineChartQuery(ctx context.Context, query *cxsdk.LineChartQuery) (*LineChartQueryModel, diag.Diagnostics) { if query == nil { return nil, nil } switch query.GetValue().(type) { - case *dashboards.LineChart_Query_Logs: + case *cxsdk.LineChartQueryLogs: return flattenLineChartQueryLogs(ctx, query.GetLogs()) - case *dashboards.LineChart_Query_Metrics: + case *cxsdk.LineChartQueryMetrics: return flattenLineChartQueryMetrics(ctx, query.GetMetrics()) - case *dashboards.LineChart_Query_Spans: + case *cxsdk.LineChartQuerySpans: return flattenLineChartQuerySpans(ctx, query.GetSpans()) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Line Chart Query", "unknown line chart query type")} } } -func flattenLineChartQueryLogs(ctx context.Context, logs *dashboards.LineChart_LogsQuery) (*LineChartQueryModel, diag.Diagnostics) { +func flattenLineChartQueryLogs(ctx context.Context, logs *cxsdk.LineChartLogsQuery) (*LineChartQueryModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -8521,7 +8543,7 @@ func flattenLineChartQueryLogs(ctx context.Context, logs *dashboards.LineChart_L }, nil } -func flattenAggregations(ctx context.Context, aggregations []*dashboards.LogsAggregation) (types.List, diag.Diagnostics) { +func flattenAggregations(ctx context.Context, aggregations []*cxsdk.LogsAggregation) (types.List, diag.Diagnostics) { if len(aggregations) == 0 { return types.ListNull(types.ObjectType{AttrTypes: aggregationModelAttr()}), nil } @@ -8545,18 +8567,18 @@ func flattenAggregations(ctx context.Context, aggregations []*dashboards.LogsAgg return types.ListValueMust(types.ObjectType{AttrTypes: aggregationModelAttr()}, aggregationsElements), diagnostics } -func flattenLogsAggregation(ctx context.Context, aggregation *dashboards.LogsAggregation) (*LogsAggregationModel, diag.Diagnostics) { +func flattenLogsAggregation(ctx context.Context, aggregation *cxsdk.LogsAggregation) (*LogsAggregationModel, diag.Diagnostics) { if aggregation == nil { return nil, nil } switch aggregationValue := aggregation.GetValue().(type) { - case *dashboards.LogsAggregation_Count_: + case *cxsdk.LogsAggregationCount: return &LogsAggregationModel{ Type: types.StringValue("count"), ObservationField: types.ObjectNull(observationFieldAttributes()), }, nil - case *dashboards.LogsAggregation_CountDistinct_: + case *cxsdk.LogsAggregationCountDistinct: observationField, diags := flattenObservationField(ctx, aggregationValue.CountDistinct.GetObservationField()) if diags.HasError() { return nil, diags @@ -8566,7 +8588,7 @@ func flattenLogsAggregation(ctx context.Context, aggregation *dashboards.LogsAgg Field: wrapperspbStringToTypeString(aggregationValue.CountDistinct.GetField()), ObservationField: observationField, }, nil - case *dashboards.LogsAggregation_Sum_: + case *cxsdk.LogsAggregationSum: observationField, diags := flattenObservationField(ctx, aggregationValue.Sum.GetObservationField()) if diags.HasError() { return nil, diags @@ -8576,7 +8598,7 @@ func flattenLogsAggregation(ctx context.Context, aggregation *dashboards.LogsAgg Field: wrapperspbStringToTypeString(aggregationValue.Sum.GetField()), ObservationField: observationField, }, nil - case *dashboards.LogsAggregation_Average_: + case *cxsdk.LogsAggregationAverage: observationField, diags := flattenObservationField(ctx, aggregationValue.Average.GetObservationField()) if diags.HasError() { return nil, diags @@ -8586,7 +8608,7 @@ func flattenLogsAggregation(ctx context.Context, aggregation *dashboards.LogsAgg Field: wrapperspbStringToTypeString(aggregationValue.Average.GetField()), ObservationField: observationField, }, nil - case *dashboards.LogsAggregation_Min_: + case *cxsdk.LogsAggregationMin: observationField, diags := flattenObservationField(ctx, aggregationValue.Min.GetObservationField()) if diags.HasError() { return nil, diags @@ -8596,7 +8618,7 @@ func flattenLogsAggregation(ctx context.Context, aggregation *dashboards.LogsAgg Field: wrapperspbStringToTypeString(aggregationValue.Min.GetField()), ObservationField: observationField, }, nil - case *dashboards.LogsAggregation_Max_: + case *cxsdk.LogsAggregationMax: observationField, diags := flattenObservationField(ctx, aggregationValue.Max.GetObservationField()) if diags.HasError() { return nil, diags @@ -8606,7 +8628,7 @@ func flattenLogsAggregation(ctx context.Context, aggregation *dashboards.LogsAgg Field: wrapperspbStringToTypeString(aggregationValue.Max.GetField()), ObservationField: observationField, }, nil - case *dashboards.LogsAggregation_Percentile_: + case *cxsdk.LogsAggregationPercentile: observationField, diags := flattenObservationField(ctx, aggregationValue.Percentile.GetObservationField()) if diags.HasError() { return nil, diags @@ -8622,7 +8644,7 @@ func flattenLogsAggregation(ctx context.Context, aggregation *dashboards.LogsAgg } } -func flattenLogsFilters(ctx context.Context, filters []*dashboards.Filter_LogsFilter) (types.List, diag.Diagnostics) { +func flattenLogsFilters(ctx context.Context, filters []*cxsdk.DashboardFilterLogsFilter) (types.List, diag.Diagnostics) { if len(filters) == 0 { return types.ListNull(types.ObjectType{AttrTypes: logsFilterModelAttr()}), nil } @@ -8646,7 +8668,7 @@ func flattenLogsFilters(ctx context.Context, filters []*dashboards.Filter_LogsFi return types.ListValueMust(types.ObjectType{AttrTypes: logsFilterModelAttr()}, filtersElements), diagnostics } -func flattenLogsFilter(ctx context.Context, filter *dashboards.Filter_LogsFilter) (*LogsFilterModel, diag.Diagnostics) { +func flattenLogsFilter(ctx context.Context, filter *cxsdk.DashboardFilterLogsFilter) (*LogsFilterModel, diag.Diagnostics) { if filter == nil { return nil, nil } @@ -8668,16 +8690,16 @@ func flattenLogsFilter(ctx context.Context, filter *dashboards.Filter_LogsFilter }, nil } -func flattenFilterOperator(operator *dashboards.Filter_Operator) (*FilterOperatorModel, diag.Diagnostic) { +func flattenFilterOperator(operator *cxsdk.DashboardFilterOperator) (*FilterOperatorModel, diag.Diagnostic) { switch operator.GetValue().(type) { - case *dashboards.Filter_Operator_Equals: + case *cxsdk.DashboardFilterOperatorEquals: switch operator.GetEquals().GetSelection().GetValue().(type) { - case *dashboards.Filter_Equals_Selection_All: + case *cxsdk.DashboardFilterEqualsSelectionAll: return &FilterOperatorModel{ Type: types.StringValue("equals"), SelectedValues: types.ListNull(types.StringType), }, nil - case *dashboards.Filter_Equals_Selection_List: + case *cxsdk.DashboardFilterEqualsSelectionList: return &FilterOperatorModel{ Type: types.StringValue("equals"), SelectedValues: wrappedStringSliceToTypeStringList(operator.GetEquals().GetSelection().GetList().GetValues()), @@ -8685,9 +8707,9 @@ func flattenFilterOperator(operator *dashboards.Filter_Operator) (*FilterOperato default: return nil, diag.NewErrorDiagnostic("Error Flatten Logs Filter Operator Equals", "unknown logs filter operator equals selection type") } - case *dashboards.Filter_Operator_NotEquals: + case *cxsdk.DashboardFilterOperatorNotEquals: switch operator.GetNotEquals().GetSelection().GetValue().(type) { - case *dashboards.Filter_NotEquals_Selection_List: + case *cxsdk.DashboardFilterNotEqualsSelectionList: return &FilterOperatorModel{ Type: types.StringValue("not_equals"), SelectedValues: wrappedStringSliceToTypeStringList(operator.GetNotEquals().GetSelection().GetList().GetValues()), @@ -8700,7 +8722,7 @@ func flattenFilterOperator(operator *dashboards.Filter_Operator) (*FilterOperato } } -func flattenLineChartQueryMetrics(ctx context.Context, metrics *dashboards.LineChart_MetricsQuery) (*LineChartQueryModel, diag.Diagnostics) { +func flattenLineChartQueryMetrics(ctx context.Context, metrics *cxsdk.LineChartMetricsQuery) (*LineChartQueryModel, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -8718,7 +8740,7 @@ func flattenLineChartQueryMetrics(ctx context.Context, metrics *dashboards.LineC }, nil } -func flattenMetricsFilters(ctx context.Context, filters []*dashboards.Filter_MetricsFilter) (types.List, diag.Diagnostics) { +func flattenMetricsFilters(ctx context.Context, filters []*cxsdk.DashboardFilterMetricsFilter) (types.List, diag.Diagnostics) { if len(filters) == 0 { return types.ListNull(types.ObjectType{AttrTypes: metricsFilterModelAttr()}), nil } @@ -8742,7 +8764,7 @@ func flattenMetricsFilters(ctx context.Context, filters []*dashboards.Filter_Met return types.ListValueMust(types.ObjectType{AttrTypes: metricsFilterModelAttr()}, filtersElements), diagnostics } -func flattenMetricsFilter(filter *dashboards.Filter_MetricsFilter) (*MetricsFilterModel, diag.Diagnostic) { +func flattenMetricsFilter(filter *cxsdk.DashboardFilterMetricsFilter) (*MetricsFilterModel, diag.Diagnostic) { if filter == nil { return nil, nil } @@ -8759,7 +8781,7 @@ func flattenMetricsFilter(filter *dashboards.Filter_MetricsFilter) (*MetricsFilt }, nil } -func flattenLineChartQuerySpans(ctx context.Context, spans *dashboards.LineChart_SpansQuery) (*LineChartQueryModel, diag.Diagnostics) { +func flattenLineChartQuerySpans(ctx context.Context, spans *cxsdk.LineChartSpansQuery) (*LineChartQueryModel, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -8783,7 +8805,7 @@ func flattenLineChartQuerySpans(ctx context.Context, spans *dashboards.LineChart }, nil } -func flattenSpansFilters(ctx context.Context, filters []*dashboards.Filter_SpansFilter) (types.List, diag.Diagnostics) { +func flattenSpansFilters(ctx context.Context, filters []*cxsdk.DashboardFilterSpansFilter) (types.List, diag.Diagnostics) { if len(filters) == 0 { return types.ListNull(types.ObjectType{AttrTypes: spansFilterModelAttr()}), nil } @@ -8819,7 +8841,7 @@ func spansFilterModelAttr() map[string]attr.Type { } } -func flattenSpansFilter(filter *dashboards.Filter_SpansFilter) (*SpansFilterModel, diag.Diagnostic) { +func flattenSpansFilter(filter *cxsdk.DashboardFilterSpansFilter) (*SpansFilterModel, diag.Diagnostic) { if filter == nil { return nil, nil } @@ -8840,7 +8862,7 @@ func flattenSpansFilter(filter *dashboards.Filter_SpansFilter) (*SpansFilterMode }, nil } -func flattenSpansFields(ctx context.Context, spanFields []*dashboards.SpanField) (types.List, diag.Diagnostics) { +func flattenSpansFields(ctx context.Context, spanFields []*cxsdk.SpanField) (types.List, diag.Diagnostics) { if len(spanFields) == 0 { return types.ListNull(types.ObjectType{AttrTypes: spansFieldModelAttr()}), nil } @@ -8864,23 +8886,23 @@ func flattenSpansFields(ctx context.Context, spanFields []*dashboards.SpanField) return types.ListValueMust(types.ObjectType{AttrTypes: spansFieldModelAttr()}, spanFieldElements), diagnostics } -func flattenSpansField(field *dashboards.SpanField) (*SpansFieldModel, diag.Diagnostic) { +func flattenSpansField(field *cxsdk.SpanField) (*SpansFieldModel, diag.Diagnostic) { if field == nil { return nil, nil } switch field.GetValue().(type) { - case *dashboards.SpanField_MetadataField_: + case *cxsdk.SpanFieldMetadataField: return &SpansFieldModel{ Type: types.StringValue("metadata"), Value: types.StringValue(dashboardProtoToSchemaSpanFieldMetadataField[field.GetMetadataField()]), }, nil - case *dashboards.SpanField_TagField: + case *cxsdk.SpanFieldTagField: return &SpansFieldModel{ Type: types.StringValue("tag"), Value: wrapperspbStringToTypeString(field.GetTagField()), }, nil - case *dashboards.SpanField_ProcessTagField: + case *cxsdk.SpanFieldProcessTagField: return &SpansFieldModel{ Type: types.StringValue("process_tag"), Value: wrapperspbStringToTypeString(field.GetProcessTagField()), @@ -8891,7 +8913,7 @@ func flattenSpansField(field *dashboards.SpanField) (*SpansFieldModel, diag.Diag } } -func flattenDataTable(ctx context.Context, table *dashboards.DataTable) (*WidgetDefinitionModel, diag.Diagnostics) { +func flattenDataTable(ctx context.Context, table *cxsdk.DashboardDataTable) (*WidgetDefinitionModel, diag.Diagnostics) { if table == nil { return nil, nil } @@ -8918,26 +8940,26 @@ func flattenDataTable(ctx context.Context, table *dashboards.DataTable) (*Widget }, nil } -func flattenDataTableQuery(ctx context.Context, query *dashboards.DataTable_Query) (*DataTableQueryModel, diag.Diagnostics) { +func flattenDataTableQuery(ctx context.Context, query *cxsdk.DashboardDataTableQuery) (*DataTableQueryModel, diag.Diagnostics) { if query == nil { return nil, nil } switch query.GetValue().(type) { - case *dashboards.DataTable_Query_Logs: + case *cxsdk.DashboardDataTableQueryLogs: return flattenDataTableLogsQuery(ctx, query.GetLogs()) - case *dashboards.DataTable_Query_Metrics: + case *cxsdk.DashboardDataTableQueryMetrics: return flattenDataTableMetricsQuery(ctx, query.GetMetrics()) - case *dashboards.DataTable_Query_Spans: + case *cxsdk.DashboardDataTableQuerySpans: return flattenDataTableSpansQuery(ctx, query.GetSpans()) - case *dashboards.DataTable_Query_Dataprime: + case *cxsdk.DashboardDataTableQueryDataprime: return flattenDataTableDataPrimeQuery(ctx, query.GetDataprime()) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Data Table Query", "unknown data table query type")} } } -func flattenDataTableDataPrimeQuery(ctx context.Context, dataPrime *dashboards.DataTable_DataprimeQuery) (*DataTableQueryModel, diag.Diagnostics) { +func flattenDataTableDataPrimeQuery(ctx context.Context, dataPrime *cxsdk.DashboardDataTableDataprimeQuery) (*DataTableQueryModel, diag.Diagnostics) { if dataPrime == nil { return nil, nil } @@ -8960,7 +8982,7 @@ func flattenDataTableDataPrimeQuery(ctx context.Context, dataPrime *dashboards.D }, nil } -func flattenDataTableLogsQuery(ctx context.Context, logs *dashboards.DataTable_LogsQuery) (*DataTableQueryModel, diag.Diagnostics) { +func flattenDataTableLogsQuery(ctx context.Context, logs *cxsdk.DashboardDataTableLogsQuery) (*DataTableQueryModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -8984,7 +9006,7 @@ func flattenDataTableLogsQuery(ctx context.Context, logs *dashboards.DataTable_L }, nil } -func flattenDataTableLogsQueryGrouping(ctx context.Context, grouping *dashboards.DataTable_LogsQuery_Grouping) (*DataTableLogsQueryGroupingModel, diag.Diagnostics) { +func flattenDataTableLogsQueryGrouping(ctx context.Context, grouping *cxsdk.DashboardDataTableLogsQueryGrouping) (*DataTableLogsQueryGroupingModel, diag.Diagnostics) { if grouping == nil { return nil, nil } @@ -9006,7 +9028,7 @@ func flattenDataTableLogsQueryGrouping(ctx context.Context, grouping *dashboards }, nil } -func flattenGroupingAggregations(ctx context.Context, aggregations []*dashboards.DataTable_LogsQuery_Aggregation) (types.List, diag.Diagnostics) { +func flattenGroupingAggregations(ctx context.Context, aggregations []*cxsdk.DashboardDataTableLogsQueryAggregation) (types.List, diag.Diagnostics) { if len(aggregations) == 0 { return types.ListNull(types.ObjectType{AttrTypes: groupingAggregationModelAttr()}), nil } @@ -9030,7 +9052,7 @@ func flattenGroupingAggregations(ctx context.Context, aggregations []*dashboards return types.ListValueMust(types.ObjectType{AttrTypes: groupingAggregationModelAttr()}, aggregationElements), diagnostics } -func flattenGroupingAggregation(ctx context.Context, dataTableAggregation *dashboards.DataTable_LogsQuery_Aggregation) (*DataTableLogsAggregationModel, diag.Diagnostics) { +func flattenGroupingAggregation(ctx context.Context, dataTableAggregation *cxsdk.DashboardDataTableLogsQueryAggregation) (*DataTableLogsAggregationModel, diag.Diagnostics) { aggregation, diags := flattenLogsAggregation(ctx, dataTableAggregation.GetAggregation()) if diags.HasError() { return nil, diags @@ -9044,7 +9066,7 @@ func flattenGroupingAggregation(ctx context.Context, dataTableAggregation *dashb }, nil } -func flattenDataTableMetricsQuery(ctx context.Context, metrics *dashboards.DataTable_MetricsQuery) (*DataTableQueryModel, diag.Diagnostics) { +func flattenDataTableMetricsQuery(ctx context.Context, metrics *cxsdk.DashboardDataTableMetricsQuery) (*DataTableQueryModel, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -9062,7 +9084,7 @@ func flattenDataTableMetricsQuery(ctx context.Context, metrics *dashboards.DataT }, nil } -func flattenDataTableSpansQuery(ctx context.Context, spans *dashboards.DataTable_SpansQuery) (*DataTableQueryModel, diag.Diagnostics) { +func flattenDataTableSpansQuery(ctx context.Context, spans *cxsdk.DashboardDataTableSpansQuery) (*DataTableQueryModel, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -9086,7 +9108,7 @@ func flattenDataTableSpansQuery(ctx context.Context, spans *dashboards.DataTable }, nil } -func flattenDataTableSpansQueryGrouping(ctx context.Context, grouping *dashboards.DataTable_SpansQuery_Grouping) (*DataTableSpansQueryGroupingModel, diag.Diagnostics) { +func flattenDataTableSpansQueryGrouping(ctx context.Context, grouping *cxsdk.DashboardDataTableSpansQueryGrouping) (*DataTableSpansQueryGroupingModel, diag.Diagnostics) { if grouping == nil { return nil, nil } @@ -9106,7 +9128,7 @@ func flattenDataTableSpansQueryGrouping(ctx context.Context, grouping *dashboard }, nil } -func flattenDataTableSpansQueryAggregations(ctx context.Context, aggregations []*dashboards.DataTable_SpansQuery_Aggregation) (types.List, diag.Diagnostics) { +func flattenDataTableSpansQueryAggregations(ctx context.Context, aggregations []*cxsdk.DashboardDataTableSpansQueryAggregation) (types.List, diag.Diagnostics) { if len(aggregations) == 0 { return types.ListNull(types.ObjectType{AttrTypes: spansAggregationModelAttr()}), nil } @@ -9128,7 +9150,7 @@ func flattenDataTableSpansQueryAggregations(ctx context.Context, aggregations [] return types.ListValueMust(types.ObjectType{AttrTypes: spansAggregationModelAttr()}, aggregationElements), diagnostics } -func flattenDataTableSpansQueryAggregation(spanAggregation *dashboards.DataTable_SpansQuery_Aggregation) (*DataTableSpansAggregationModel, diag.Diagnostic) { +func flattenDataTableSpansQueryAggregation(spanAggregation *cxsdk.DashboardDataTableSpansQueryAggregation) (*DataTableSpansAggregationModel, diag.Diagnostic) { if spanAggregation == nil { return nil, nil } @@ -9146,18 +9168,18 @@ func flattenDataTableSpansQueryAggregation(spanAggregation *dashboards.DataTable }, nil } -func flattenSpansAggregation(aggregation *dashboards.SpansAggregation) (*SpansAggregationModel, diag.Diagnostic) { +func flattenSpansAggregation(aggregation *cxsdk.SpansAggregation) (*SpansAggregationModel, diag.Diagnostic) { if aggregation == nil || aggregation.GetAggregation() == nil { return nil, nil } switch aggregation := aggregation.GetAggregation().(type) { - case *dashboards.SpansAggregation_MetricAggregation_: + case *cxsdk.SpansAggregationMetricAggregation: return &SpansAggregationModel{ Type: types.StringValue("metric"), AggregationType: types.StringValue(dashboardProtoToSchemaSpansAggregationMetricAggregationType[aggregation.MetricAggregation.GetAggregationType()]), Field: types.StringValue(dashboardProtoToSchemaSpansAggregationMetricField[aggregation.MetricAggregation.GetMetricField()]), }, nil - case *dashboards.SpansAggregation_DimensionAggregation_: + case *cxsdk.SpansAggregationDimensionAggregation: return &SpansAggregationModel{ Type: types.StringValue("dimension"), AggregationType: types.StringValue(dashboardProtoToSchemaSpansAggregationDimensionAggregationType[aggregation.DimensionAggregation.GetAggregationType()]), @@ -9168,7 +9190,7 @@ func flattenSpansAggregation(aggregation *dashboards.SpansAggregation) (*SpansAg } } -func flattenDataTableColumns(ctx context.Context, columns []*dashboards.DataTable_Column) (types.List, diag.Diagnostics) { +func flattenDataTableColumns(ctx context.Context, columns []*cxsdk.DashboardDataTableColumn) (types.List, diag.Diagnostics) { if len(columns) == 0 { return types.ListNull(types.ObjectType{AttrTypes: dataTableColumnModelAttr()}), nil } @@ -9188,7 +9210,7 @@ func flattenDataTableColumns(ctx context.Context, columns []*dashboards.DataTabl return types.ListValueMust(types.ObjectType{AttrTypes: dataTableColumnModelAttr()}, columnElements), diagnostics } -func flattenDataTableColumn(column *dashboards.DataTable_Column) *DataTableColumnModel { +func flattenDataTableColumn(column *cxsdk.DashboardDataTableColumn) *DataTableColumnModel { if column == nil { return nil } @@ -9198,7 +9220,7 @@ func flattenDataTableColumn(column *dashboards.DataTable_Column) *DataTableColum } } -func flattenOrderBy(orderBy *dashboards.OrderingField) *OrderByModel { +func flattenOrderBy(orderBy *cxsdk.DashboardOrderingField) *OrderByModel { if orderBy == nil { return nil } @@ -9208,7 +9230,7 @@ func flattenOrderBy(orderBy *dashboards.OrderingField) *OrderByModel { } } -func flattenGauge(ctx context.Context, gauge *dashboards.Gauge) (*WidgetDefinitionModel, diag.Diagnostics) { +func flattenGauge(ctx context.Context, gauge *cxsdk.Gauge) (*WidgetDefinitionModel, diag.Diagnostics) { if gauge == nil { return nil, nil } @@ -9238,7 +9260,7 @@ func flattenGauge(ctx context.Context, gauge *dashboards.Gauge) (*WidgetDefiniti }, nil } -func flattenGaugeThresholds(ctx context.Context, thresholds []*dashboards.Gauge_Threshold) (types.List, diag.Diagnostics) { +func flattenGaugeThresholds(ctx context.Context, thresholds []*cxsdk.GaugeThreshold) (types.List, diag.Diagnostics) { if len(thresholds) == 0 { return types.ListNull(types.ObjectType{AttrTypes: gaugeThresholdModelAttr()}), nil } @@ -9258,7 +9280,7 @@ func flattenGaugeThresholds(ctx context.Context, thresholds []*dashboards.Gauge_ return types.ListValueMust(types.ObjectType{AttrTypes: gaugeThresholdModelAttr()}, thresholdElements), diagnostics } -func flattenGaugeThreshold(threshold *dashboards.Gauge_Threshold) *GaugeThresholdModel { +func flattenGaugeThreshold(threshold *cxsdk.GaugeThreshold) *GaugeThresholdModel { if threshold == nil { return nil } @@ -9268,20 +9290,20 @@ func flattenGaugeThreshold(threshold *dashboards.Gauge_Threshold) *GaugeThreshol } } -func flattenGaugeQueries(ctx context.Context, query *dashboards.Gauge_Query) (*GaugeQueryModel, diag.Diagnostics) { +func flattenGaugeQueries(ctx context.Context, query *cxsdk.GaugeQuery) (*GaugeQueryModel, diag.Diagnostics) { switch query.GetValue().(type) { - case *dashboards.Gauge_Query_Metrics: + case *cxsdk.GaugeQueryMetrics: return flattenGaugeQueryMetrics(ctx, query.GetMetrics()) - case *dashboards.Gauge_Query_Logs: + case *cxsdk.GaugeQueryLogs: return flattenGaugeQueryLogs(ctx, query.GetLogs()) - case *dashboards.Gauge_Query_Spans: + case *cxsdk.GaugeQuerySpans: return flattenGaugeQuerySpans(ctx, query.GetSpans()) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Gauge Query", fmt.Sprintf("unknown query type %T", query))} } } -func flattenGaugeQueryMetrics(ctx context.Context, metrics *dashboards.Gauge_MetricsQuery) (*GaugeQueryModel, diag.Diagnostics) { +func flattenGaugeQueryMetrics(ctx context.Context, metrics *cxsdk.GaugeMetricsQuery) (*GaugeQueryModel, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -9300,7 +9322,7 @@ func flattenGaugeQueryMetrics(ctx context.Context, metrics *dashboards.Gauge_Met }, nil } -func flattenGaugeQueryLogs(ctx context.Context, logs *dashboards.Gauge_LogsQuery) (*GaugeQueryModel, diag.Diagnostics) { +func flattenGaugeQueryLogs(ctx context.Context, logs *cxsdk.GaugeLogsQuery) (*GaugeQueryModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -9324,7 +9346,7 @@ func flattenGaugeQueryLogs(ctx context.Context, logs *dashboards.Gauge_LogsQuery }, nil } -func flattenGaugeQuerySpans(ctx context.Context, spans *dashboards.Gauge_SpansQuery) (*GaugeQueryModel, diag.Diagnostics) { +func flattenGaugeQuerySpans(ctx context.Context, spans *cxsdk.GaugeSpansQuery) (*GaugeQueryModel, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -9348,7 +9370,7 @@ func flattenGaugeQuerySpans(ctx context.Context, spans *dashboards.Gauge_SpansQu }, nil } -func flattenPieChart(ctx context.Context, pieChart *dashboards.PieChart) (*WidgetDefinitionModel, diag.Diagnostics) { +func flattenPieChart(ctx context.Context, pieChart *cxsdk.PieChart) (*WidgetDefinitionModel, diag.Diagnostics) { if pieChart == nil { return nil, nil } @@ -9374,26 +9396,26 @@ func flattenPieChart(ctx context.Context, pieChart *dashboards.PieChart) (*Widge }, nil } -func flattenPieChartQueries(ctx context.Context, query *dashboards.PieChart_Query) (*PieChartQueryModel, diag.Diagnostics) { +func flattenPieChartQueries(ctx context.Context, query *cxsdk.PieChartQuery) (*PieChartQueryModel, diag.Diagnostics) { if query == nil { return nil, nil } switch query.GetValue().(type) { - case *dashboards.PieChart_Query_Metrics: + case *cxsdk.PieChartQueryMetrics: return flattenPieChartQueryMetrics(ctx, query.GetMetrics()) - case *dashboards.PieChart_Query_Logs: + case *cxsdk.PieChartQueryLogs: return flattenPieChartQueryLogs(ctx, query.GetLogs()) - case *dashboards.PieChart_Query_Spans: + case *cxsdk.PieChartQuerySpans: return flattenPieChartQuerySpans(ctx, query.GetSpans()) - case *dashboards.PieChart_Query_Dataprime: + case *cxsdk.PieChartQueryDataprime: return flattenPieChartDataPrimeQuery(ctx, query.GetDataprime()) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Pie Chart Query", fmt.Sprintf("unknown query type %T", query))} } } -func flattenPieChartStackDefinition(stackDefinition *dashboards.PieChart_StackDefinition) *PieChartStackDefinitionModel { +func flattenPieChartStackDefinition(stackDefinition *cxsdk.PieChartStackDefinition) *PieChartStackDefinitionModel { if stackDefinition == nil { return nil } @@ -9404,7 +9426,7 @@ func flattenPieChartStackDefinition(stackDefinition *dashboards.PieChart_StackDe } } -func flattenPieChartLabelDefinition(labelDefinition *dashboards.PieChart_LabelDefinition) *LabelDefinitionModel { +func flattenPieChartLabelDefinition(labelDefinition *cxsdk.PieChartLabelDefinition) *LabelDefinitionModel { if labelDefinition == nil { return nil } @@ -9417,7 +9439,7 @@ func flattenPieChartLabelDefinition(labelDefinition *dashboards.PieChart_LabelDe } } -func flattenPieChartQueryMetrics(ctx context.Context, metrics *dashboards.PieChart_MetricsQuery) (*PieChartQueryModel, diag.Diagnostics) { +func flattenPieChartQueryMetrics(ctx context.Context, metrics *cxsdk.PieChartMetricsQuery) (*PieChartQueryModel, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -9437,7 +9459,7 @@ func flattenPieChartQueryMetrics(ctx context.Context, metrics *dashboards.PieCha }, nil } -func flattenPieChartQueryLogs(ctx context.Context, logs *dashboards.PieChart_LogsQuery) (*PieChartQueryModel, diag.Diagnostics) { +func flattenPieChartQueryLogs(ctx context.Context, logs *cxsdk.PieChartLogsQuery) (*PieChartQueryModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -9475,7 +9497,7 @@ func flattenPieChartQueryLogs(ctx context.Context, logs *dashboards.PieChart_Log }, nil } -func flattenPieChartQuerySpans(ctx context.Context, spans *dashboards.PieChart_SpansQuery) (*PieChartQueryModel, diag.Diagnostics) { +func flattenPieChartQuerySpans(ctx context.Context, spans *cxsdk.PieChartSpansQuery) (*PieChartQueryModel, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -9511,7 +9533,7 @@ func flattenPieChartQuerySpans(ctx context.Context, spans *dashboards.PieChart_S }, nil } -func flattenPieChartDataPrimeQuery(ctx context.Context, dataPrime *dashboards.PieChart_DataprimeQuery) (*PieChartQueryModel, diag.Diagnostics) { +func flattenPieChartDataPrimeQuery(ctx context.Context, dataPrime *cxsdk.PieChartDataprimeQuery) (*PieChartQueryModel, diag.Diagnostics) { if dataPrime == nil { return nil, nil } @@ -9531,7 +9553,7 @@ func flattenPieChartDataPrimeQuery(ctx context.Context, dataPrime *dashboards.Pi }, nil } -func flattenBarChart(ctx context.Context, barChart *dashboards.BarChart) (*WidgetDefinitionModel, diag.Diagnostics) { +func flattenBarChart(ctx context.Context, barChart *cxsdk.BarChart) (*WidgetDefinitionModel, diag.Diagnostics) { if barChart == nil { return nil, nil } @@ -9568,20 +9590,20 @@ func flattenBarChart(ctx context.Context, barChart *dashboards.BarChart) (*Widge }, nil } -func flattenBarChartXAxis(axis *dashboards.BarChart_XAxis) (*BarChartXAxisModel, diag.Diagnostic) { +func flattenBarChartXAxis(axis *cxsdk.BarChartXAxis) (*BarChartXAxisModel, diag.Diagnostic) { if axis == nil { return nil, nil } switch axis.GetType().(type) { - case *dashboards.BarChart_XAxis_Time: + case *cxsdk.BarChartXAxisTime: return &BarChartXAxisModel{ Time: &BarChartXAxisTimeModel{ Interval: types.StringValue(axis.GetTime().GetInterval().AsDuration().String()), BucketsPresented: wrapperspbInt32ToTypeInt64(axis.GetTime().GetBucketsPresented()), }, }, nil - case *dashboards.BarChart_XAxis_Value: + case *cxsdk.BarChartXAxisValue: return &BarChartXAxisModel{ Value: &BarChartXAxisValueModel{}, }, nil @@ -9591,26 +9613,26 @@ func flattenBarChartXAxis(axis *dashboards.BarChart_XAxis) (*BarChartXAxisModel, } -func flattenBarChartQuery(ctx context.Context, query *dashboards.BarChart_Query) (*BarChartQueryModel, diag.Diagnostics) { +func flattenBarChartQuery(ctx context.Context, query *cxsdk.BarChartQuery) (*BarChartQueryModel, diag.Diagnostics) { if query == nil { return nil, nil } switch queryType := query.GetValue().(type) { - case *dashboards.BarChart_Query_Logs: + case *cxsdk.BarChartQueryLogs: return flattenBarChartQueryLogs(ctx, queryType.Logs) - case *dashboards.BarChart_Query_Spans: + case *cxsdk.BarChartQuerySpans: return flattenBarChartQuerySpans(ctx, queryType.Spans) - case *dashboards.BarChart_Query_Metrics: + case *cxsdk.BarChartQueryMetrics: return flattenBarChartQueryMetrics(ctx, queryType.Metrics) - case *dashboards.BarChart_Query_Dataprime: + case *cxsdk.BarChartQueryDataprime: 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()))} } } -func flattenBarChartQueryLogs(ctx context.Context, logs *dashboards.BarChart_LogsQuery) (*BarChartQueryModel, diag.Diagnostics) { +func flattenBarChartQueryLogs(ctx context.Context, logs *cxsdk.BarChartLogsQuery) (*BarChartQueryModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -9657,7 +9679,7 @@ func flattenBarChartQueryLogs(ctx context.Context, logs *dashboards.BarChart_Log }, nil } -func flattenObservationFields(ctx context.Context, namesFields []*dashboards.ObservationField) (types.List, diag.Diagnostics) { +func flattenObservationFields(ctx context.Context, namesFields []*cxsdk.ObservationField) (types.List, diag.Diagnostics) { if len(namesFields) == 0 { return types.ListNull(types.ObjectType{AttrTypes: observationFieldAttributes()}), nil } @@ -9685,7 +9707,7 @@ func flattenObservationFields(ctx context.Context, namesFields []*dashboards.Obs return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: observationFieldAttributes()}, fieldElements) } -func flattenObservationField(ctx context.Context, field *dashboards.ObservationField) (types.Object, diag.Diagnostics) { +func flattenObservationField(ctx context.Context, field *cxsdk.ObservationField) (types.Object, diag.Diagnostics) { if field == nil { return types.ObjectNull(observationFieldAttributes()), nil } @@ -9693,14 +9715,14 @@ func flattenObservationField(ctx context.Context, field *dashboards.ObservationF return types.ObjectValueFrom(ctx, observationFieldAttributes(), flattenLogsFieldModel(field)) } -func flattenLogsFieldModel(field *dashboards.ObservationField) *ObservationFieldModel { +func flattenLogsFieldModel(field *cxsdk.ObservationField) *ObservationFieldModel { return &ObservationFieldModel{ Keypath: wrappedStringSliceToTypeStringList(field.GetKeypath()), Scope: types.StringValue(dashboardProtoToSchemaObservationFieldScope[field.GetScope()]), } } -func flattenBarChartQuerySpans(ctx context.Context, spans *dashboards.BarChart_SpansQuery) (*BarChartQueryModel, diag.Diagnostics) { +func flattenBarChartQuerySpans(ctx context.Context, spans *cxsdk.BarChartSpansQuery) (*BarChartQueryModel, diag.Diagnostics) { if spans == nil { return nil, nil } @@ -9745,7 +9767,7 @@ func flattenBarChartQuerySpans(ctx context.Context, spans *dashboards.BarChart_S }, nil } -func flattenBarChartQueryMetrics(ctx context.Context, metrics *dashboards.BarChart_MetricsQuery) (*BarChartQueryModel, diag.Diagnostics) { +func flattenBarChartQueryMetrics(ctx context.Context, metrics *cxsdk.BarChartMetricsQuery) (*BarChartQueryModel, diag.Diagnostics) { if metrics == nil { return nil, nil } @@ -9774,7 +9796,7 @@ func flattenBarChartQueryMetrics(ctx context.Context, metrics *dashboards.BarCha }, nil } -func flattenBarChartQueryDataPrime(ctx context.Context, dataPrime *dashboards.BarChart_DataprimeQuery) (*BarChartQueryModel, diag.Diagnostics) { +func flattenBarChartQueryDataPrime(ctx context.Context, dataPrime *cxsdk.BarChartDataprimeQuery) (*BarChartQueryModel, diag.Diagnostics) { if dataPrime == nil { return nil, nil } @@ -9803,7 +9825,7 @@ func flattenBarChartQueryDataPrime(ctx context.Context, dataPrime *dashboards.Ba }, nil } -func flattenBarChartStackDefinition(stackDefinition *dashboards.BarChart_StackDefinition) *BarChartStackDefinitionModel { +func flattenBarChartStackDefinition(stackDefinition *cxsdk.BarChartStackDefinition) *BarChartStackDefinitionModel { if stackDefinition == nil { return nil } @@ -9814,7 +9836,7 @@ func flattenBarChartStackDefinition(stackDefinition *dashboards.BarChart_StackDe } } -func flattenHorizontalBarChartStackDefinition(stackDefinition *dashboards.HorizontalBarChart_StackDefinition) *BarChartStackDefinitionModel { +func flattenHorizontalBarChartStackDefinition(stackDefinition *cxsdk.HorizontalBarChartStackDefinition) *BarChartStackDefinitionModel { if stackDefinition == nil { return nil } @@ -9825,23 +9847,23 @@ func flattenHorizontalBarChartStackDefinition(stackDefinition *dashboards.Horizo } } -func flattenBarChartColorsBy(colorsBy *dashboards.ColorsBy) (types.String, diag.Diagnostic) { +func flattenBarChartColorsBy(colorsBy *cxsdk.DashboardsColorsBy) (types.String, diag.Diagnostic) { if colorsBy == nil { return types.StringNull(), nil } switch colorsBy.GetValue().(type) { - case *dashboards.ColorsBy_GroupBy: + case *cxsdk.DashboardsColorsByGroupBy: return types.StringValue("group_by"), nil - case *dashboards.ColorsBy_Stack: + case *cxsdk.DashboardsColorsByStack: return types.StringValue("stack"), nil - case *dashboards.ColorsBy_Aggregation: + case *cxsdk.DashboardsColorsByAggregation: return types.StringValue("aggregation"), nil default: return types.StringNull(), diag.NewErrorDiagnostic("", fmt.Sprintf("unknown colors by type %T", colorsBy)) } } -func flattenDashboardVariables(ctx context.Context, variables []*dashboards.Variable) (types.List, diag.Diagnostics) { +func flattenDashboardVariables(ctx context.Context, variables []*cxsdk.DashboardVariable) (types.List, diag.Diagnostics) { if len(variables) == 0 { return types.ListNull(types.ObjectType{AttrTypes: dashboardsVariablesModelAttr()}), nil } @@ -9866,7 +9888,7 @@ func flattenDashboardVariables(ctx context.Context, variables []*dashboards.Vari return types.ListValueMust(types.ObjectType{AttrTypes: dashboardsVariablesModelAttr()}, variablesElements), diagnostics } -func flattenDashboardVariable(ctx context.Context, variable *dashboards.Variable) (*DashboardVariableModel, diag.Diagnostics) { +func flattenDashboardVariable(ctx context.Context, variable *cxsdk.DashboardVariable) (*DashboardVariableModel, diag.Diagnostics) { if variable == nil { return nil, nil } @@ -9883,24 +9905,24 @@ func flattenDashboardVariable(ctx context.Context, variable *dashboards.Variable }, nil } -func flattenDashboardVariableDefinition(ctx context.Context, variableDefinition *dashboards.Variable_Definition) (*DashboardVariableDefinitionModel, diag.Diagnostics) { +func flattenDashboardVariableDefinition(ctx context.Context, variableDefinition *cxsdk.DashboardVariableDefinition) (*DashboardVariableDefinitionModel, diag.Diagnostics) { if variableDefinition == nil { return nil, nil } switch variableDefinition.GetValue().(type) { - case *dashboards.Variable_Definition_Constant: + case *cxsdk.DashboardVariableDefinitionConstant: return &DashboardVariableDefinitionModel{ ConstantValue: wrapperspbStringToTypeString(variableDefinition.GetConstant().GetValue()), }, nil - case *dashboards.Variable_Definition_MultiSelect: + case *cxsdk.DashboardVariableDefinitionMultiSelect: return flattenDashboardVariableDefinitionMultiSelect(ctx, variableDefinition.GetMultiSelect()) default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Dashboard Variable Definition", fmt.Sprintf("unknown variable definition type %T", variableDefinition))} } } -func flattenDashboardVariableDefinitionMultiSelect(ctx context.Context, multiSelect *dashboards.MultiSelect) (*DashboardVariableDefinitionModel, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelect(ctx context.Context, multiSelect *cxsdk.DashboardMultiSelect) (*DashboardVariableDefinitionModel, diag.Diagnostics) { if multiSelect == nil { return nil, nil } @@ -9925,7 +9947,7 @@ func flattenDashboardVariableDefinitionMultiSelect(ctx context.Context, multiSel }, nil } -func flattenDashboardVariableSource(ctx context.Context, source *dashboards.MultiSelect_Source) (*VariableMultiSelectSourceModel, diag.Diagnostics) { +func flattenDashboardVariableSource(ctx context.Context, source *cxsdk.MultiSelectSource) (*VariableMultiSelectSourceModel, diag.Diagnostics) { if source == nil { return nil, nil } @@ -9937,22 +9959,22 @@ func flattenDashboardVariableSource(ctx context.Context, source *dashboards.Mult } switch source.GetValue().(type) { - case *dashboards.MultiSelect_Source_LogsPath: + case *cxsdk.MultiSelectSourceLogsPath: result.LogsPath = wrapperspbStringToTypeString(source.GetLogsPath().GetValue()) - case *dashboards.MultiSelect_Source_MetricLabel: + case *cxsdk.MultiSelectSourceMetricLabel: result.MetricLabel = &MetricMultiSelectSourceModel{ MetricName: wrapperspbStringToTypeString(source.GetMetricLabel().GetMetricName()), Label: wrapperspbStringToTypeString(source.GetMetricLabel().GetLabel()), } - case *dashboards.MultiSelect_Source_ConstantList: + case *cxsdk.MultiSelectSourceConstantList: result.ConstantList = wrappedStringSliceToTypeStringList(source.GetConstantList().GetValues()) - case *dashboards.MultiSelect_Source_SpanField: + case *cxsdk.MultiSelectSourceSpanField: spansField, dg := flattenSpansField(source.GetSpanField().GetValue()) if dg != nil { return nil, diag.Diagnostics{dg} } result.SpanField = spansField - case *dashboards.MultiSelect_Source_Query: + case *cxsdk.MultiSelectSourceQuery: query, diags := flattenDashboardVariableDefinitionMultiSelectQuery(ctx, source.GetQuery()) if diags != nil { return nil, diags @@ -9965,7 +9987,7 @@ func flattenDashboardVariableSource(ctx context.Context, source *dashboards.Mult return result, nil } -func flattenDashboardVariableDefinitionMultiSelectQuery(ctx context.Context, querySource *dashboards.MultiSelect_QuerySource) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQuery(ctx context.Context, querySource *cxsdk.MultiSelectQuerySource) (types.Object, diag.Diagnostics) { if querySource == nil { return types.ObjectNull(multiSelectQueryAttr()), nil } @@ -9987,7 +10009,7 @@ func flattenDashboardVariableDefinitionMultiSelectQuery(ctx context.Context, que }) } -func flattenDashboardVariableDefinitionMultiSelectQueryModel(ctx context.Context, query *dashboards.MultiSelect_Query) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryModel(ctx context.Context, query *cxsdk.MultiSelectQuery) (types.Object, diag.Diagnostics) { if query == nil { return types.ObjectNull(multiSelectQueryModelAttr()), nil } @@ -9999,11 +10021,11 @@ func flattenDashboardVariableDefinitionMultiSelectQueryModel(ctx context.Context } var diags diag.Diagnostics switch queryType := query.GetValue().(type) { - case *dashboards.MultiSelect_Query_LogsQuery_: + case *cxsdk.MultiSelectQueryLogsQuery: multiSelectQueryModel.Logs, diags = flattenDashboardVariableDefinitionMultiSelectQueryLogsModel(ctx, queryType.LogsQuery) - case *dashboards.MultiSelect_Query_MetricsQuery_: + case *cxsdk.MultiSelectQueryMetricsQuery: multiSelectQueryModel.Metrics, diags = flattenDashboardVariableDefinitionMultiSelectQueryMetricsModel(ctx, queryType.MetricsQuery) - case *dashboards.MultiSelect_Query_SpansQuery_: + case *cxsdk.MultiSelectQuerySpansQuery: multiSelectQueryModel.Spans, diags = flattenDashboardVariableDefinitionMultiSelectQuerySpansModel(ctx, queryType.SpansQuery) } @@ -10014,7 +10036,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryModel(ctx context.Context return types.ObjectValueFrom(ctx, multiSelectQueryModelAttr(), multiSelectQueryModel) } -func flattenDashboardVariableDefinitionMultiSelectQueryLogsModel(ctx context.Context, query *dashboards.MultiSelect_Query_LogsQuery) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryLogsModel(ctx context.Context, query *cxsdk.MultiSelectQueryLogsQueryInner) (types.Object, diag.Diagnostics) { if query == nil { return types.ObjectNull(multiSelectQueryLogsQueryModelAttr()), nil } @@ -10026,9 +10048,9 @@ func flattenDashboardVariableDefinitionMultiSelectQueryLogsModel(ctx context.Con var diags diag.Diagnostics switch queryType := query.GetType().GetValue().(type) { - case *dashboards.MultiSelect_Query_LogsQuery_Type_FieldName_: + case *cxsdk.MultiSelectQueryLogsQueryTypeFieldName: logsQuery.FieldName, diags = flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldNameModel(ctx, queryType.FieldName) - case *dashboards.MultiSelect_Query_LogsQuery_Type_FieldValue_: + case *cxsdk.MultiSelectQueryLogsQueryTypeFieldValue: logsQuery.FieldValue, diags = flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldValueModel(ctx, queryType.FieldValue) } @@ -10039,7 +10061,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryLogsModel(ctx context.Con return types.ObjectValueFrom(ctx, multiSelectQueryLogsQueryModelAttr(), logsQuery) } -func flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldNameModel(ctx context.Context, name *dashboards.MultiSelect_Query_LogsQuery_Type_FieldName) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldNameModel(ctx context.Context, name *cxsdk.MultiSelectQueryLogsQueryTypeFieldNameInner) (types.Object, diag.Diagnostics) { if name == nil { return types.ObjectNull(multiSelectQueryLogsQueryFieldNameModelAttr()), nil } @@ -10049,7 +10071,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldNameModel(ctx co }) } -func flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldValueModel(ctx context.Context, value *dashboards.MultiSelect_Query_LogsQuery_Type_FieldValue) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldValueModel(ctx context.Context, value *cxsdk.MultiSelectQueryLogsQueryTypeFieldValueInner) (types.Object, diag.Diagnostics) { if value == nil { return types.ObjectNull(multiSelectQueryLogsQueryFieldValueModelAttr()), nil } @@ -10064,7 +10086,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryLogsFieldValueModel(ctx c }) } -func flattenDashboardVariableDefinitionMultiSelectQueryMetricsModel(ctx context.Context, query *dashboards.MultiSelect_Query_MetricsQuery) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryMetricsModel(ctx context.Context, query *cxsdk.MultiSelectQueryMetricsQueryInner) (types.Object, diag.Diagnostics) { if query == nil { return types.ObjectNull(multiSelectQueryMetricsQueryModelAttr()), nil } @@ -10077,11 +10099,11 @@ func flattenDashboardVariableDefinitionMultiSelectQueryMetricsModel(ctx context. } switch queryType := query.GetType().GetValue().(type) { - case *dashboards.MultiSelect_Query_MetricsQuery_Type_MetricName_: + case *cxsdk.MultiSelectQueryMetricsQueryTypeMetricName: metricQuery.MetricName, diags = flattenDashboardVariableDefinitionMultiSelectQueryMetricsMetricNameModel(ctx, queryType.MetricName) - case *dashboards.MultiSelect_Query_MetricsQuery_Type_LabelName_: + case *cxsdk.MultiSelectQueryMetricsQueryTypeLabelName: metricQuery.LabelName, diags = flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelNameModel(ctx, queryType.LabelName) - case *dashboards.MultiSelect_Query_MetricsQuery_Type_LabelValue_: + case *cxsdk.MultiSelectQueryMetricsQueryTypeLabelValue: metricQuery.LabelValue, diags = flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelValueModel(ctx, queryType.LabelValue) } @@ -10092,7 +10114,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryMetricsModel(ctx context. return types.ObjectValueFrom(ctx, multiSelectQueryMetricsQueryModelAttr(), metricQuery) } -func flattenDashboardVariableDefinitionMultiSelectQueryMetricsMetricNameModel(ctx context.Context, name *dashboards.MultiSelect_Query_MetricsQuery_Type_MetricName) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryMetricsMetricNameModel(ctx context.Context, name *cxsdk.MultiSelectQueryMetricsQueryTypeMetricNameInner) (types.Object, diag.Diagnostics) { if name == nil { return types.ObjectNull(multiSelectQueryMetricsNameAttr()), nil } @@ -10102,7 +10124,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryMetricsMetricNameModel(ct }) } -func flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelNameModel(ctx context.Context, name *dashboards.MultiSelect_Query_MetricsQuery_Type_LabelName) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelNameModel(ctx context.Context, name *cxsdk.MultiSelectQueryMetricsQueryTypeLabelNameInner) (types.Object, diag.Diagnostics) { if name == nil { return types.ObjectNull(multiSelectQueryMetricsNameAttr()), nil } @@ -10112,7 +10134,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelNameModel(ctx }) } -func flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelValueModel(ctx context.Context, value *dashboards.MultiSelect_Query_MetricsQuery_Type_LabelValue) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelValueModel(ctx context.Context, value *cxsdk.MultiSelectQueryMetricsQueryTypeLabelValueInner) (types.Object, diag.Diagnostics) { if value == nil { return types.ObjectNull(multiSelectQueryLabelValueModelAttr()), nil } @@ -10139,7 +10161,7 @@ func flattenDashboardVariableDefinitionMultiSelectQueryMetricsLabelValueModel(ct }) } -func flattenMultiSelectQueryMetricsQueryMetricsLabelFilters(ctx context.Context, filters []*dashboards.MultiSelect_Query_MetricsQuery_MetricsLabelFilter) (types.List, diag.Diagnostics) { +func flattenMultiSelectQueryMetricsQueryMetricsLabelFilters(ctx context.Context, filters []*cxsdk.MultiSelectQueryMetricsQueryMetricsLabelFilter) (types.List, diag.Diagnostics) { var diagnostics diag.Diagnostics flattenedFilters := make([]attr.Value, 0, len(filters)) for _, filter := range filters { @@ -10163,7 +10185,7 @@ func flattenMultiSelectQueryMetricsQueryMetricsLabelFilters(ctx context.Context, return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: multiSelectQueryLabelFilterAttr()}, flattenedFilters) } -func flattenMultiSelectQueryMetricsQueryMetricsLabelFilter(ctx context.Context, filter *dashboards.MultiSelect_Query_MetricsQuery_MetricsLabelFilter) (*MetricLabelFilterModel, diag.Diagnostics) { +func flattenMultiSelectQueryMetricsQueryMetricsLabelFilter(ctx context.Context, filter *cxsdk.MultiSelectQueryMetricsQueryMetricsLabelFilter) (*MetricLabelFilterModel, diag.Diagnostics) { if filter == nil { return nil, nil } @@ -10190,7 +10212,7 @@ func flattenMultiSelectQueryMetricsQueryMetricsLabelFilter(ctx context.Context, }, nil } -func flattenMultiSelectQueryMetricsQueryMetricsLabelFilterOperator(ctx context.Context, operator *dashboards.MultiSelect_Query_MetricsQuery_Operator) (types.Object, diag.Diagnostics) { +func flattenMultiSelectQueryMetricsQueryMetricsLabelFilterOperator(ctx context.Context, operator *cxsdk.MultiSelectQueryMetricsQueryOperator) (types.Object, diag.Diagnostics) { if operator == nil { return types.ObjectNull(multiSelectQueryMetricsQueryMetricsLabelFilterOperatorAttr()), nil } @@ -10198,10 +10220,10 @@ func flattenMultiSelectQueryMetricsQueryMetricsLabelFilterOperator(ctx context.C var diags diag.Diagnostics metricLabelFilterOperatorModel := &MetricLabelFilterOperatorModel{} switch operatorType := operator.GetValue().(type) { - case *dashboards.MultiSelect_Query_MetricsQuery_Operator_Equals: + case *cxsdk.MultiSelectQueryMetricsQueryOperatorEquals: metricLabelFilterOperatorModel.Type = types.StringValue("equals") metricLabelFilterOperatorModel.SelectedValues, diags = flattenMultiSelectQueryMetricsQueryOperatorSelectedValues(ctx, operatorType.Equals.GetSelection().GetList().GetValues()) - case *dashboards.MultiSelect_Query_MetricsQuery_Operator_NotEquals: + case *cxsdk.MultiSelectQueryMetricsQueryOperatorNotEquals: metricLabelFilterOperatorModel.Type = types.StringValue("not_equals") metricLabelFilterOperatorModel.SelectedValues, diags = flattenMultiSelectQueryMetricsQueryOperatorSelectedValues(ctx, operatorType.NotEquals.GetSelection().GetList().GetValues()) } @@ -10212,7 +10234,7 @@ func flattenMultiSelectQueryMetricsQueryMetricsLabelFilterOperator(ctx context.C return types.ObjectValueFrom(ctx, multiSelectQueryMetricsQueryMetricsLabelFilterOperatorAttr(), metricLabelFilterOperatorModel) } -func flattenMultiSelectQueryMetricsQueryOperatorSelectedValues(ctx context.Context, values []*dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable) (types.List, diag.Diagnostics) { +func flattenMultiSelectQueryMetricsQueryOperatorSelectedValues(ctx context.Context, values []*cxsdk.MultiSelectQueryMetricsQueryStringOrVariable) (types.List, diag.Diagnostics) { var diagnostics diag.Diagnostics flattenedValues := make([]types.Object, 0, len(values)) for _, value := range values { @@ -10236,7 +10258,7 @@ func flattenMultiSelectQueryMetricsQueryOperatorSelectedValues(ctx context.Conte return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: multiSelectQueryMetricsQueryMetricsLabelFilterOperatorAttr()}, flattenedValues) } -func flattenMultiSelectQueryMetricsQueryStringOrVariable(ctx context.Context, stringOrVariable *dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable) (types.Object, diag.Diagnostics) { +func flattenMultiSelectQueryMetricsQueryStringOrVariable(ctx context.Context, stringOrVariable *cxsdk.MultiSelectQueryMetricsQueryStringOrVariable) (types.Object, diag.Diagnostics) { if stringOrVariable == nil { return types.ObjectNull(multiSelectQueryStringOrValueAttr()), nil } @@ -10247,16 +10269,16 @@ func flattenMultiSelectQueryMetricsQueryStringOrVariable(ctx context.Context, st } switch stringOrVariableType := stringOrVariable.GetValue().(type) { - case *dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable_StringValue: + case *cxsdk.MultiSelectQueryMetricsQueryStringOrVariableString: metricLabelFilterOperatorSelectedValuesModel.StringValue = wrapperspbStringToTypeString(stringOrVariableType.StringValue) - case *dashboards.MultiSelect_Query_MetricsQuery_StringOrVariable_VariableName: + case *cxsdk.MultiSelectQueryMetricsQueryStringOrVariableVariable: metricLabelFilterOperatorSelectedValuesModel.VariableName = wrapperspbStringToTypeString(stringOrVariableType.VariableName) } return types.ObjectValueFrom(ctx, multiSelectQueryStringOrValueAttr(), metricLabelFilterOperatorSelectedValuesModel) } -func flattenDashboardVariableDefinitionMultiSelectQuerySpansModel(ctx context.Context, query *dashboards.MultiSelect_Query_SpansQuery) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectQuerySpansModel(ctx context.Context, query *cxsdk.MultiSelectQuerySpansQueryInner) (types.Object, diag.Diagnostics) { if query == nil { return types.ObjectNull(multiSelectQuerySpansQueryModelAttr()), nil } @@ -10267,9 +10289,9 @@ func flattenDashboardVariableDefinitionMultiSelectQuerySpansModel(ctx context.Co FieldValue: types.ObjectNull(spansFieldModelAttr()), } switch queryType := query.GetType().GetValue().(type) { - case *dashboards.MultiSelect_Query_SpansQuery_Type_FieldName_: + case *cxsdk.MultiSelectQuerySpansQueryTypeFieldName: multiSelectSpansQueryModel.FieldName, diags = flattenMultiSelectQuerySpansFieldName(ctx, queryType.FieldName) - case *dashboards.MultiSelect_Query_SpansQuery_Type_FieldValue_: + case *cxsdk.MultiSelectQuerySpansQueryTypeFieldValue: multiSelectSpansQueryModel.FieldValue, diags = flattenMultiSelectQuerySpansFieldValue(ctx, queryType.FieldValue) default: return types.ObjectNull(multiSelectQuerySpansQueryModelAttr()), diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Dashboard Variable Definition Multi Select Query Spans Model", fmt.Sprintf("unknown variable definition multi select query spans type %T", queryType))} @@ -10282,7 +10304,7 @@ func flattenDashboardVariableDefinitionMultiSelectQuerySpansModel(ctx context.Co return types.ObjectValueFrom(ctx, multiSelectQuerySpansQueryModelAttr(), multiSelectSpansQueryModel) } -func flattenMultiSelectQuerySpansFieldName(ctx context.Context, name *dashboards.MultiSelect_Query_SpansQuery_Type_FieldName) (types.Object, diag.Diagnostics) { +func flattenMultiSelectQuerySpansFieldName(ctx context.Context, name *cxsdk.MultiSelectQuerySpansQueryTypeFieldNameInner) (types.Object, diag.Diagnostics) { if name == nil { return types.ObjectNull(multiSelectQuerySpansQueryModelAttr()), nil } @@ -10292,7 +10314,7 @@ func flattenMultiSelectQuerySpansFieldName(ctx context.Context, name *dashboards }) } -func flattenMultiSelectQuerySpansFieldValue(ctx context.Context, value *dashboards.MultiSelect_Query_SpansQuery_Type_FieldValue) (types.Object, diag.Diagnostics) { +func flattenMultiSelectQuerySpansFieldValue(ctx context.Context, value *cxsdk.MultiSelectQuerySpansQueryTypeFieldValueInner) (types.Object, diag.Diagnostics) { if value == nil || value.GetValue() == nil { return types.ObjectNull(spansFieldModelAttr()), nil } @@ -10305,7 +10327,7 @@ func flattenMultiSelectQuerySpansFieldValue(ctx context.Context, value *dashboar return types.ObjectValueFrom(ctx, spansFieldModelAttr(), spanField) } -func flattenDashboardVariableDefinitionMultiSelectValueDisplayOptions(ctx context.Context, options *dashboards.MultiSelect_ValueDisplayOptions) (types.Object, diag.Diagnostics) { +func flattenDashboardVariableDefinitionMultiSelectValueDisplayOptions(ctx context.Context, options *cxsdk.MultiSelectValueDisplayOptions) (types.Object, diag.Diagnostics) { if options == nil { return types.ObjectNull(multiSelectValueDisplayOptionsModelAttr()), nil } @@ -10433,18 +10455,18 @@ func spansQueryFieldNameAttr() map[string]attr.Type { } } -func flattenDashboardVariableSelectedValues(selection *dashboards.MultiSelect_Selection) (types.List, diag.Diagnostics) { +func flattenDashboardVariableSelectedValues(selection *cxsdk.DashboardMultiSelectSelection) (types.List, diag.Diagnostics) { switch selection.GetValue().(type) { - case *dashboards.MultiSelect_Selection_List: + case *cxsdk.DashboardMultiSelectSelectionList: return wrappedStringSliceToTypeStringList(selection.GetList().GetValues()), nil - case *dashboards.MultiSelect_Selection_All: + case *cxsdk.DashboardMultiSelectSelectionAll: return types.ListNull(types.StringType), nil default: return types.ListNull(types.StringType), diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Dashboard Variable Definition Multi Select Selection", fmt.Sprintf("unknown variable definition multi select selection type %T", selection))} } } -func flattenDashboardFilters(ctx context.Context, filters []*dashboards.Filter) (types.List, diag.Diagnostics) { +func flattenDashboardFilters(ctx context.Context, filters []*cxsdk.DashboardFilter) (types.List, diag.Diagnostics) { if len(filters) == 0 { return types.ListNull(types.ObjectType{AttrTypes: dashboardsFiltersModelAttr()}), nil } @@ -10468,7 +10490,7 @@ func flattenDashboardFilters(ctx context.Context, filters []*dashboards.Filter) return types.ListValueMust(types.ObjectType{AttrTypes: dashboardsFiltersModelAttr()}, filtersElements), diagnostics } -func flattenDashboardFilter(ctx context.Context, filter *dashboards.Filter) (*DashboardFilterModel, diag.Diagnostics) { +func flattenDashboardFilter(ctx context.Context, filter *cxsdk.DashboardFilter) (*DashboardFilterModel, diag.Diagnostics) { if filter == nil { return nil, nil } @@ -10485,7 +10507,7 @@ func flattenDashboardFilter(ctx context.Context, filter *dashboards.Filter) (*Da }, nil } -func flattenDashboardFiltersSources(ctx context.Context, sources []*dashboards.Filter_Source) (types.List, diag.Diagnostics) { +func flattenDashboardFiltersSources(ctx context.Context, sources []*cxsdk.DashboardFilterSource) (types.List, diag.Diagnostics) { if len(sources) == 0 { return types.ListNull(types.ObjectType{AttrTypes: filterSourceModelAttr()}), nil } @@ -10509,25 +10531,25 @@ func flattenDashboardFiltersSources(ctx context.Context, sources []*dashboards.F return types.ListValueMust(types.ObjectType{AttrTypes: filterSourceModelAttr()}, filtersElements), diagnostics } -func flattenDashboardFilterSource(ctx context.Context, source *dashboards.Filter_Source) (*DashboardFilterSourceModel, diag.Diagnostics) { +func flattenDashboardFilterSource(ctx context.Context, source *cxsdk.DashboardFilterSource) (*DashboardFilterSourceModel, diag.Diagnostics) { if source == nil { return nil, nil } switch source.GetValue().(type) { - case *dashboards.Filter_Source_Logs: + case *cxsdk.DashboardFilterSourceLogs: logs, diags := flattenDashboardFilterSourceLogs(ctx, source.GetLogs()) if diags.HasError() { return nil, diags } return &DashboardFilterSourceModel{Logs: logs}, nil - case *dashboards.Filter_Source_Spans: + case *cxsdk.DashboardFilterSourceSpans: spans, dg := flattenDashboardFilterSourceSpans(source.GetSpans()) if dg != nil { return nil, diag.Diagnostics{dg} } return &DashboardFilterSourceModel{Spans: spans}, nil - case *dashboards.Filter_Source_Metrics: + case *cxsdk.DashboardFilterSourceMetrics: metrics, dg := flattenDashboardFilterSourceMetrics(source.GetMetrics()) if dg != nil { return nil, diag.Diagnostics{dg} @@ -10538,7 +10560,7 @@ func flattenDashboardFilterSource(ctx context.Context, source *dashboards.Filter } } -func flattenDashboardFilterSourceLogs(ctx context.Context, logs *dashboards.Filter_LogsFilter) (*FilterSourceLogsModel, diag.Diagnostics) { +func flattenDashboardFilterSourceLogs(ctx context.Context, logs *cxsdk.DashboardFilterLogsFilter) (*FilterSourceLogsModel, diag.Diagnostics) { if logs == nil { return nil, nil } @@ -10560,7 +10582,7 @@ func flattenDashboardFilterSourceLogs(ctx context.Context, logs *dashboards.Filt }, nil } -func flattenDashboardFilterSourceSpans(spans *dashboards.Filter_SpansFilter) (*FilterSourceSpansModel, diag.Diagnostic) { +func flattenDashboardFilterSourceSpans(spans *cxsdk.DashboardFilterSpansFilter) (*FilterSourceSpansModel, diag.Diagnostic) { if spans == nil { return nil, nil } @@ -10581,7 +10603,7 @@ func flattenDashboardFilterSourceSpans(spans *dashboards.Filter_SpansFilter) (*F }, nil } -func flattenDashboardFilterSourceMetrics(metrics *dashboards.Filter_MetricsFilter) (*FilterSourceMetricsModel, diag.Diagnostic) { +func flattenDashboardFilterSourceMetrics(metrics *cxsdk.DashboardFilterMetricsFilter) (*FilterSourceMetricsModel, diag.Diagnostic) { if metrics == nil { return nil, nil } @@ -10598,21 +10620,21 @@ func flattenDashboardFilterSourceMetrics(metrics *dashboards.Filter_MetricsFilte }, nil } -func flattenDashboardTimeFrame(ctx context.Context, d *dashboards.Dashboard) (types.Object, diag.Diagnostics) { +func flattenDashboardTimeFrame(ctx context.Context, d *cxsdk.Dashboard) (types.Object, diag.Diagnostics) { if d.GetTimeFrame() == nil { return types.ObjectNull(dashboardTimeFrameModelAttr()), nil } switch timeFrameType := d.GetTimeFrame().(type) { - case *dashboards.Dashboard_AbsoluteTimeFrame: + case *cxsdk.DashboardAbsoluteTimeFrame: return flattenAbsoluteDashboardTimeFrame(ctx, timeFrameType.AbsoluteTimeFrame) - case *dashboards.Dashboard_RelativeTimeFrame: + case *cxsdk.DashboardRelativeTimeFrame: return flattenRelativeDashboardTimeFrame(ctx, timeFrameType.RelativeTimeFrame) default: 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) (types.Object, diag.Diagnostics) { +func flattenAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame *cxsdk.DashboardTimeFrame) (types.Object, diag.Diagnostics) { absoluteTimeFrame := &DashboardTimeFrameAbsoluteModel{ Start: types.StringValue(timeFrame.GetFrom().String()), End: types.StringValue(timeFrame.GetTo().String()), @@ -10628,12 +10650,12 @@ func flattenAbsoluteDashboardTimeFrame(ctx context.Context, timeFrame *dashboard return types.ObjectValueFrom(ctx, dashboardTimeFrameModelAttr(), flattenedTimeFrame) } -func flattenDashboardFolder(ctx context.Context, planedDashboard types.Object, dashboard *dashboards.Dashboard) (types.Object, diag.Diagnostics) { +func flattenDashboardFolder(ctx context.Context, planedDashboard types.Object, dashboard *cxsdk.Dashboard) (types.Object, diag.Diagnostics) { if dashboard.GetFolder() == nil { return types.ObjectNull(dashboardFolderModelAttr()), nil } switch folderType := dashboard.GetFolder().(type) { - case *dashboards.Dashboard_FolderId: + case *cxsdk.DashboardFolderID: path := types.StringNull() if !(planedDashboard.IsNull() || planedDashboard.IsUnknown()) { var folderModel DashboardFolderModel @@ -10651,7 +10673,7 @@ func flattenDashboardFolder(ctx context.Context, planedDashboard types.Object, d Path: path, } return types.ObjectValueFrom(ctx, dashboardFolderModelAttr(), folderObject) - case *dashboards.Dashboard_FolderPath: + case *cxsdk.DashboardFolderPath: folderObject := &DashboardFolderModel{ ID: types.StringNull(), Path: types.StringValue(strings.Join(folderType.FolderPath.GetSegments(), "/")), @@ -10662,7 +10684,7 @@ func flattenDashboardFolder(ctx context.Context, planedDashboard types.Object, d } } -func flattenDashboardAnnotations(ctx context.Context, annotations []*dashboards.Annotation) (types.List, diag.Diagnostics) { +func flattenDashboardAnnotations(ctx context.Context, annotations []*cxsdk.Annotation) (types.List, diag.Diagnostics) { if len(annotations) == 0 { return types.ListNull(types.ObjectType{AttrTypes: dashboardsAnnotationsModelAttr()}), nil } @@ -10686,7 +10708,7 @@ func flattenDashboardAnnotations(ctx context.Context, annotations []*dashboards. return types.ListValueMust(types.ObjectType{AttrTypes: dashboardsAnnotationsModelAttr()}, annotationsElements), diagnostics } -func flattenDashboardAnnotation(ctx context.Context, annotation *dashboards.Annotation) (*DashboardAnnotationModel, diag.Diagnostics) { +func flattenDashboardAnnotation(ctx context.Context, annotation *cxsdk.Annotation) (*DashboardAnnotationModel, diag.Diagnostics) { if annotation == nil { return nil, nil } @@ -10704,7 +10726,7 @@ func flattenDashboardAnnotation(ctx context.Context, annotation *dashboards.Anno }, nil } -func flattenDashboardAnnotationSource(ctx context.Context, source *dashboards.Annotation_Source) (types.Object, diag.Diagnostics) { +func flattenDashboardAnnotationSource(ctx context.Context, source *cxsdk.AnnotationSource) (types.Object, diag.Diagnostics) { if source == nil { return types.ObjectNull(dashboardsAnnotationsModelAttr()), nil } @@ -10712,15 +10734,15 @@ func flattenDashboardAnnotationSource(ctx context.Context, source *dashboards.An var sourceObject DashboardAnnotationSourceModel var diags diag.Diagnostics switch source.Value.(type) { - case *dashboards.Annotation_Source_Metrics: + case *cxsdk.AnnotationSourceMetrics: sourceObject.Metrics, diags = flattenDashboardAnnotationMetricSourceModel(ctx, source.GetMetrics()) sourceObject.Logs = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) sourceObject.Spans = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) - case *dashboards.Annotation_Source_Logs: + case *cxsdk.AnnotationSourceLogs: sourceObject.Logs, diags = flattenDashboardAnnotationLogsSourceModel(ctx, source.GetLogs()) sourceObject.Metrics = types.ObjectNull(annotationsMetricsSourceModelAttr()) sourceObject.Spans = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) - case *dashboards.Annotation_Source_Spans: + case *cxsdk.AnnotationSourceSpans: sourceObject.Spans, diags = flattenDashboardAnnotationSpansSourceModel(ctx, source.GetSpans()) sourceObject.Metrics = types.ObjectNull(annotationsMetricsSourceModelAttr()) sourceObject.Logs = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) @@ -10735,7 +10757,7 @@ func flattenDashboardAnnotationSource(ctx context.Context, source *dashboards.An return types.ObjectValueFrom(ctx, annotationSourceModelAttr(), sourceObject) } -func flattenDashboardAnnotationSpansSourceModel(ctx context.Context, spans *dashboards.Annotation_SpansSource) (types.Object, diag.Diagnostics) { +func flattenDashboardAnnotationSpansSourceModel(ctx context.Context, spans *cxsdk.AnnotationSpansSource) (types.Object, diag.Diagnostics) { if spans == nil { return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), nil } @@ -10760,7 +10782,7 @@ func flattenDashboardAnnotationSpansSourceModel(ctx context.Context, spans *dash return types.ObjectValueFrom(ctx, annotationsLogsAndSpansSourceModelAttr(), spansObject) } -func flattenAnnotationSpansStrategy(ctx context.Context, strategy *dashboards.Annotation_SpansSource_Strategy) (types.Object, diag.Diagnostics) { +func flattenAnnotationSpansStrategy(ctx context.Context, strategy *cxsdk.AnnotationSpansSourceStrategy) (types.Object, diag.Diagnostics) { if strategy == nil { return types.ObjectNull(logsAndSpansStrategyModelAttr()), nil } @@ -10768,15 +10790,15 @@ func flattenAnnotationSpansStrategy(ctx context.Context, strategy *dashboards.An var strategyModel DashboardAnnotationSpanOrLogsStrategyModel var diags diag.Diagnostics switch strategy.Value.(type) { - case *dashboards.Annotation_SpansSource_Strategy_Instant_: + case *cxsdk.AnnotationSpansSourceStrategyInstant: strategyModel.Instant, diags = flattenSpansStrategyInstant(ctx, strategy.GetInstant()) strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) - case *dashboards.Annotation_SpansSource_Strategy_Range_: + case *cxsdk.AnnotationSpansSourceStrategyRange: strategyModel.Range, diags = flattenSpansStrategyRange(ctx, strategy.GetRange()) strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) - case *dashboards.Annotation_SpansSource_Strategy_Duration_: + case *cxsdk.AnnotationSpansSourceStrategyDuration: strategyModel.Duration, diags = flattenSpansStrategyDuration(ctx, strategy.GetDuration()) strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) @@ -10791,7 +10813,7 @@ func flattenAnnotationSpansStrategy(ctx context.Context, strategy *dashboards.An return types.ObjectValueFrom(ctx, logsAndSpansStrategyModelAttr(), strategyModel) } -func flattenSpansStrategyDuration(ctx context.Context, duration *dashboards.Annotation_SpansSource_Strategy_Duration) (types.Object, diag.Diagnostics) { +func flattenSpansStrategyDuration(ctx context.Context, duration *cxsdk.AnnotationSpansSourceStrategyDurationInner) (types.Object, diag.Diagnostics) { if duration == nil { return types.ObjectNull(durationStrategyModelAttr()), nil } @@ -10814,7 +10836,7 @@ func flattenSpansStrategyDuration(ctx context.Context, duration *dashboards.Anno return types.ObjectValueFrom(ctx, durationStrategyModelAttr(), durationStrategy) } -func flattenSpansStrategyRange(ctx context.Context, getRange *dashboards.Annotation_SpansSource_Strategy_Range) (types.Object, diag.Diagnostics) { +func flattenSpansStrategyRange(ctx context.Context, getRange *cxsdk.AnnotationSpansSourceStrategyRangeInner) (types.Object, diag.Diagnostics) { if getRange == nil { return types.ObjectNull(rangeStrategyModelAttr()), nil } @@ -10837,7 +10859,7 @@ func flattenSpansStrategyRange(ctx context.Context, getRange *dashboards.Annotat return types.ObjectValueFrom(ctx, rangeStrategyModelAttr(), rangeStrategy) } -func flattenSpansStrategyInstant(ctx context.Context, instant *dashboards.Annotation_SpansSource_Strategy_Instant) (types.Object, diag.Diagnostics) { +func flattenSpansStrategyInstant(ctx context.Context, instant *cxsdk.AnnotationSpansSourceStrategyInstantInner) (types.Object, diag.Diagnostics) { if instant == nil { return types.ObjectNull(instantStrategyModelAttr()), nil } @@ -10854,7 +10876,7 @@ func flattenSpansStrategyInstant(ctx context.Context, instant *dashboards.Annota return types.ObjectValueFrom(ctx, instantStrategyModelAttr(), instantStrategy) } -func flattenLogsStrategyDuration(ctx context.Context, duration *dashboards.Annotation_LogsSource_Strategy_Duration) (types.Object, diag.Diagnostics) { +func flattenLogsStrategyDuration(ctx context.Context, duration *cxsdk.AnnotationLogsSourceStrategyDurationInner) (types.Object, diag.Diagnostics) { if duration == nil { return types.ObjectNull(durationStrategyModelAttr()), nil } @@ -10877,7 +10899,7 @@ func flattenLogsStrategyDuration(ctx context.Context, duration *dashboards.Annot return types.ObjectValueFrom(ctx, durationStrategyModelAttr(), durationStrategy) } -func flattenLogsStrategyRange(ctx context.Context, getRange *dashboards.Annotation_LogsSource_Strategy_Range) (types.Object, diag.Diagnostics) { +func flattenLogsStrategyRange(ctx context.Context, getRange *cxsdk.AnnotationLogsSourceStrategyRangeInner) (types.Object, diag.Diagnostics) { if getRange == nil { return types.ObjectNull(rangeStrategyModelAttr()), nil } @@ -10900,7 +10922,7 @@ func flattenLogsStrategyRange(ctx context.Context, getRange *dashboards.Annotati return types.ObjectValueFrom(ctx, rangeStrategyModelAttr(), rangeStrategy) } -func flattenLogsStrategyInstant(ctx context.Context, instant *dashboards.Annotation_LogsSource_Strategy_Instant) (types.Object, diag.Diagnostics) { +func flattenLogsStrategyInstant(ctx context.Context, instant *cxsdk.AnnotationLogsSourceStrategyInstantInner) (types.Object, diag.Diagnostics) { if instant == nil { return types.ObjectNull(instantStrategyModelAttr()), nil } @@ -10917,7 +10939,7 @@ func flattenLogsStrategyInstant(ctx context.Context, instant *dashboards.Annotat return types.ObjectValueFrom(ctx, instantStrategyModelAttr(), instantStrategy) } -func flattenDashboardAnnotationLogsSourceModel(ctx context.Context, logs *dashboards.Annotation_LogsSource) (types.Object, diag.Diagnostics) { +func flattenDashboardAnnotationLogsSourceModel(ctx context.Context, logs *cxsdk.AnnotationLogsSource) (types.Object, diag.Diagnostics) { if logs == nil { return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), nil } @@ -10942,7 +10964,7 @@ func flattenDashboardAnnotationLogsSourceModel(ctx context.Context, logs *dashbo return types.ObjectValueFrom(ctx, annotationsLogsAndSpansSourceModelAttr(), logsObject) } -func flattenAnnotationLogsStrategy(ctx context.Context, strategy *dashboards.Annotation_LogsSource_Strategy) (types.Object, diag.Diagnostics) { +func flattenAnnotationLogsStrategy(ctx context.Context, strategy *cxsdk.AnnotationLogsSourceStrategy) (types.Object, diag.Diagnostics) { if strategy == nil { return types.ObjectNull(logsAndSpansStrategyModelAttr()), nil } @@ -10950,15 +10972,15 @@ func flattenAnnotationLogsStrategy(ctx context.Context, strategy *dashboards.Ann var strategyModel DashboardAnnotationSpanOrLogsStrategyModel var diags diag.Diagnostics switch strategy.Value.(type) { - case *dashboards.Annotation_LogsSource_Strategy_Instant_: + case *cxsdk.AnnotationLogsSourceStrategyInstant: strategyModel.Instant, diags = flattenLogsStrategyInstant(ctx, strategy.GetInstant()) strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) - case *dashboards.Annotation_LogsSource_Strategy_Range_: + case *cxsdk.AnnotationLogsSourceStrategyRange: strategyModel.Range, diags = flattenLogsStrategyRange(ctx, strategy.GetRange()) strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) - case *dashboards.Annotation_LogsSource_Strategy_Duration_: + case *cxsdk.AnnotationLogsSourceStrategyDuration: strategyModel.Duration, diags = flattenLogsStrategyDuration(ctx, strategy.GetDuration()) strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) @@ -10973,7 +10995,7 @@ func flattenAnnotationLogsStrategy(ctx context.Context, strategy *dashboards.Ann return types.ObjectValueFrom(ctx, logsAndSpansStrategyModelAttr(), strategyModel) } -func flattenDashboardAnnotationMetricSourceModel(ctx context.Context, metricSource *dashboards.Annotation_MetricsSource) (types.Object, diag.Diagnostics) { +func flattenDashboardAnnotationMetricSourceModel(ctx context.Context, metricSource *cxsdk.AnnotationMetricsSource) (types.Object, diag.Diagnostics) { if metricSource == nil { return types.ObjectNull(annotationsMetricsSourceModelAttr()), nil } @@ -10993,7 +11015,7 @@ func flattenDashboardAnnotationMetricSourceModel(ctx context.Context, metricSour return types.ObjectValueFrom(ctx, annotationsMetricsSourceModelAttr(), metricSourceObject) } -func flattenDashboardAnnotationStrategy(ctx context.Context, strategy *dashboards.Annotation_MetricsSource_Strategy) (types.Object, diag.Diagnostics) { +func flattenDashboardAnnotationStrategy(ctx context.Context, strategy *cxsdk.AnnotationMetricsSourceStrategy) (types.Object, diag.Diagnostics) { if strategy == nil { return types.ObjectNull(metricStrategyModelAttr()), nil } @@ -11047,7 +11069,7 @@ func flattenDuration(timeFrame *durationpb.Duration) basetypes.StringValue { return types.StringValue(timeFrame.String()) } -func flattenDashboardAutoRefresh(ctx context.Context, dashboard *dashboards.Dashboard) (types.Object, diag.Diagnostics) { +func flattenDashboardAutoRefresh(ctx context.Context, dashboard *cxsdk.Dashboard) (types.Object, diag.Diagnostics) { autoRefresh := dashboard.GetAutoRefresh() if autoRefresh == nil { return types.ObjectNull(dashboardAutoRefreshModelAttr()), nil @@ -11055,11 +11077,11 @@ func flattenDashboardAutoRefresh(ctx context.Context, dashboard *dashboards.Dash var refreshType DashboardAutoRefreshModel switch autoRefresh.(type) { - case *dashboards.Dashboard_Off: + case *cxsdk.DashboardOff: refreshType.Type = types.StringValue("off") - case *dashboards.Dashboard_FiveMinutes: + case *cxsdk.DashboardFiveMinutes: refreshType.Type = types.StringValue("five_minutes") - case *dashboards.Dashboard_TwoMinutes: + case *cxsdk.DashboardTwoMinutes: refreshType.Type = types.StringValue("two_minutes") } return types.ObjectValueFrom(ctx, dashboardAutoRefreshModelAttr(), &refreshType) @@ -11076,8 +11098,8 @@ func (r *DashboardResource) Read(ctx context.Context, req resource.ReadRequest, //Get refreshed Dashboard value from Coralogix id := state.ID.ValueString() log.Printf("[INFO] Reading Dashboard: %s", id) - getDashboardReq := &dashboards.GetDashboardRequest{DashboardId: wrapperspb.String(id)} - getDashboardResp, err := r.client.GetDashboard(ctx, getDashboardReq) + getDashboardReq := &cxsdk.GetDashboardRequest{DashboardId: wrapperspb.String(id)} + getDashboardResp, err := r.client.Get(ctx, getDashboardReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -11089,7 +11111,7 @@ func (r *DashboardResource) Read(ctx context.Context, req resource.ReadRequest, } else { resp.Diagnostics.AddError( "Error reading Dashboard", - formatRpcErrors(err, getDashboardURL, protojson.Format(getDashboardReq)), + formatRpcErrors(err, cxsdk.GetDashboardRPC, protojson.Format(getDashboardReq)), ) } return @@ -11122,28 +11144,28 @@ func (r *DashboardResource) Update(ctx context.Context, req resource.UpdateReque return } - updateReq := &dashboards.ReplaceDashboardRequest{Dashboard: dashboard} + updateReq := &cxsdk.ReplaceDashboardRequest{Dashboard: dashboard} reqStr := protojson.Format(updateReq) log.Printf("[INFO] Updating Dashboard: %s", reqStr) - _, err := r.client.UpdateDashboard(ctx, updateReq) + _, err := r.client.Replace(ctx, updateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating Dashboard", - formatRpcErrors(err, updateDashboardURL, reqStr), + formatRpcErrors(err, cxsdk.ReplaceDashboardRPC, reqStr), ) return } - getDashboardReq := &dashboards.GetDashboardRequest{ + getDashboardReq := &cxsdk.GetDashboardRequest{ DashboardId: dashboard.GetId(), } - getDashboardResp, err := r.client.GetDashboard(ctx, getDashboardReq) + getDashboardResp, err := r.client.Get(ctx, getDashboardReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error getting Dashboard", - formatRpcErrors(err, getDashboardURL, protojson.Format(getDashboardReq)), + formatRpcErrors(err, cxsdk.GetDashboardRPC, protojson.Format(getDashboardReq)), ) return } @@ -11173,11 +11195,11 @@ func (r *DashboardResource) Delete(ctx context.Context, req resource.DeleteReque id := state.ID.ValueString() log.Printf("[INFO] Deleting Dashboard %s", id) - deleteReq := &dashboards.DeleteDashboardRequest{DashboardId: wrapperspb.String(id)} - if _, err := r.client.DeleteDashboard(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.DeleteDashboardRequest{DashboardId: wrapperspb.String(id)} + if _, err := r.client.Delete(ctx, deleteReq); err != nil { resp.Diagnostics.AddError( fmt.Sprintf("Error Deleting Dashboard %s", id), - formatRpcErrors(err, deleteDashboardURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.DeleteDashboardRPC, protojson.Format(deleteReq)), ) return } diff --git a/coralogix/resource_coralogix_dashboard_test.go b/coralogix/resource_coralogix_dashboard_test.go index 1c688180..0203b4c6 100644 --- a/coralogix/resource_coralogix_dashboard_test.go +++ b/coralogix/resource_coralogix_dashboard_test.go @@ -22,10 +22,10 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - dashboard "terraform-provider-coralogix/coralogix/clientset/grpc/dashboards" "google.golang.org/protobuf/types/known/wrapperspb" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" ) @@ -140,7 +140,7 @@ func testAccCheckDashboardDestroy(s *terraform.State) error { } dashboardId := wrapperspb.String(rs.Primary.ID) - resp, err := client.GetDashboard(ctx, &dashboard.GetDashboardRequest{DashboardId: dashboardId}) + resp, err := client.Get(ctx, &cxsdk.GetDashboardRequest{DashboardId: dashboardId}) if err == nil { if resp.GetDashboard().GetId().GetValue() == rs.Primary.ID { return fmt.Errorf("dashboard still exists: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_dashboards_folder.go b/coralogix/resource_coralogix_dashboards_folder.go index 794a6a96..9f2fbaf2 100644 --- a/coralogix/resource_coralogix_dashboards_folder.go +++ b/coralogix/resource_coralogix_dashboards_folder.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,6 +19,9 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" @@ -27,17 +30,11 @@ import ( "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{} + _ resource.ResourceWithConfigure = &DashboardsFolderResource{} + _ resource.ResourceWithImportState = &DashboardsFolderResource{} ) func NewDashboardsFolderResource() resource.Resource { @@ -45,7 +42,7 @@ func NewDashboardsFolderResource() resource.Resource { } type DashboardsFolderResource struct { - client *clientset.DashboardsFoldersClient + client *cxsdk.DashboardsFoldersClient } func (r *DashboardsFolderResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { @@ -100,7 +97,6 @@ func (r *DashboardsFolderResource) Schema(ctx context.Context, req resource.Sche }, }, } - return } func (r *DashboardsFolderResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) { @@ -115,19 +111,19 @@ func (r *DashboardsFolderResource) Create(ctx context.Context, req resource.Crea 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}) + _, err := r.client.Create(ctx, &cxsdk.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), + formatRpcErrors(err, cxsdk.DashboardFoldersCreateDashboardFolderRPC, dashboardsFolderStr), ) return } - listResp, err := r.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + listResp, err := r.client.List(ctx) 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{})), + formatRpcErrors(err, cxsdk.DashboardFoldersListDashboardFoldersRPC, ""), ) return } @@ -155,7 +151,7 @@ func (r *DashboardsFolderResource) Create(ctx context.Context, req resource.Crea resp.Diagnostics.Append(diags...) } -func flattenDashboardsFolder(folder *dashboards.DashboardFolder) DashboardsFolderResourceModel { +func flattenDashboardsFolder(folder *cxsdk.DashboardFolder) DashboardsFolderResourceModel { return DashboardsFolderResourceModel{ ID: wrapperspbStringToTypeString(folder.GetId()), Name: wrapperspbStringToTypeString(folder.GetName()), @@ -163,8 +159,8 @@ func flattenDashboardsFolder(folder *dashboards.DashboardFolder) DashboardsFolde } } -func extractCreateDashboardsFolder(plan DashboardsFolderResourceModel) *dashboards.DashboardFolder { - return &dashboards.DashboardFolder{ +func extractCreateDashboardsFolder(plan DashboardsFolderResourceModel) *cxsdk.DashboardFolder { + return &cxsdk.DashboardFolder{ Id: expandUuid(plan.ID), Name: typeStringToWrapperspbString(plan.Name), ParentId: typeStringToWrapperspbString(plan.ParentId), @@ -179,13 +175,13 @@ func (r *DashboardsFolderResource) Read(ctx context.Context, req resource.ReadRe return } - listResp, err := r.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + listResp, err := r.client.List(ctx) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - formatRpcErrors(err, listDashboardsFoldersURL, protojson.Format(&dashboards.ListDashboardFoldersRequest{})) + formatRpcErrors(err, cxsdk.DashboardFoldersListDashboardFoldersRPC, "") return } - var dashboardsFolder *dashboards.DashboardFolder + var dashboardsFolder *cxsdk.DashboardFolder for _, folder := range listResp.GetFolder() { if folder.GetId().GetValue() == state.ID.ValueString() { dashboardsFolder = folder @@ -221,19 +217,19 @@ func (r *DashboardsFolderResource) Update(ctx context.Context, req resource.Upda 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}) + _, err := r.client.Replace(ctx, &cxsdk.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), + formatRpcErrors(err, cxsdk.DashboardFoldersReplaceDashboardFolderRPC, dashboardsFolderStr), ) return } - listResp, err := r.client.GetDashboardsFolders(ctx, &dashboards.ListDashboardFoldersRequest{}) + listResp, err := r.client.List(ctx) 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{})), + formatRpcErrors(err, cxsdk.DashboardFoldersListDashboardFoldersRPC, ""), ) return } @@ -271,11 +267,11 @@ func (r *DashboardsFolderResource) Delete(ctx context.Context, req resource.Dele 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 { + deleteReq := &cxsdk.DeleteDashboardFolderRequest{FolderId: wrapperspb.String(id)} + if _, err := r.client.Delete(ctx, deleteReq); err != nil { resp.Diagnostics.AddError( fmt.Sprintf("Error Deleting Dashboard %s", id), - formatRpcErrors(err, deleteDashboardsFolderURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.DashboardFoldersDeleteDashboardFolderRPC, protojson.Format(deleteReq)), ) return } diff --git a/coralogix/resource_coralogix_dashboards_folder_test.go b/coralogix/resource_coralogix_dashboards_folder_test.go index f0618006..c55e4f64 100644 --- a/coralogix/resource_coralogix_dashboards_folder_test.go +++ b/coralogix/resource_coralogix_dashboards_folder_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,10 +19,10 @@ import ( "fmt" "testing" + "terraform-provider-coralogix/coralogix/clientset" + "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" @@ -65,7 +65,7 @@ func testAccCheckDashboardsFolderDestroy(s *terraform.State) error { if rs.Type != "coralogix_dashboards_folder" { continue } - resp, err := client.GetDashboardsFolders(ctx, &dashboard.ListDashboardFoldersRequest{}) + resp, err := client.List(ctx) if err == nil { for _, folder := range resp.GetFolder() { if folder.GetId().GetValue() == rs.Primary.ID { diff --git a/coralogix/resource_coralogix_data_set.go b/coralogix/resource_coralogix_data_set.go index bb8a0585..5a36e8fe 100644 --- a/coralogix/resource_coralogix_data_set.go +++ b/coralogix/resource_coralogix_data_set.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -25,8 +25,8 @@ import ( "time" "terraform-provider-coralogix/coralogix/clientset" - enrichment "terraform-provider-coralogix/coralogix/clientset/grpc/enrichment/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/grpc/codes" @@ -38,13 +38,7 @@ import ( "google.golang.org/protobuf/types/known/wrapperspb" ) -var ( - fileContentLimit = int(1e6) - createDataSetURL = "com.coralogix.enrichment.v1.CustomEnrichmentService/CreateCustomEnrichment" - getDataSetURL = "com.coralogix.enrichment.v1.CustomEnrichmentService/GetCustomEnrichment" - updateDataSetURL = "com.coralogix.enrichment.v1.CustomEnrichmentService/UpdateCustomEnrichment" - deleteDataSetURL = "com.coralogix.enrichment.v1.CustomEnrichmentService/DeleteCustomEnrichment" -) +var fileContentLimit = int(1e6) func resourceCoralogixDataSet() *schema.Resource { return &schema.Resource{ @@ -139,10 +133,10 @@ func resourceCoralogixDataSetCreate(ctx context.Context, d *schema.ResourceData, } log.Printf("[INFO] Creating new enrichment-data: %s", protojson.Format(req)) - resp, err := meta.(*clientset.ClientSet).DataSet().CreatDataSet(ctx, req) + resp, err := meta.(*clientset.ClientSet).DataSet().Create(ctx, req) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, createDataSetURL, protojson.Format(req))) + return diag.Errorf(formatRpcErrors(err, cxsdk.CreateDataSetRPC, protojson.Format(req))) } if uploadedFile, ok := d.GetOk("uploaded_file"); ok { @@ -166,10 +160,10 @@ func setModificationTimeUploaded(d *schema.ResourceData, uploadedFile interface{ func resourceCoralogixDataSetRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { id := d.Id() - req := &enrichment.GetCustomEnrichmentRequest{Id: wrapperspb.UInt32(strToUint32(id))} + req := &cxsdk.GetDataSetRequest{Id: wrapperspb.UInt32(strToUint32(id))} log.Print("[INFO] Reading enrichment-data") - DataSetResp, err := meta.(*clientset.ClientSet).DataSet().GetDataSet(ctx, req) + DataSetResp, err := meta.(*clientset.ClientSet).DataSet().Get(ctx, req) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -180,7 +174,7 @@ func resourceCoralogixDataSetRead(ctx context.Context, d *schema.ResourceData, m Detail: fmt.Sprintf("%s will be recreated when you apply", id), }} } - return diag.Errorf(formatRpcErrors(err, getDataSetURL, protojson.Format(req))) + return diag.Errorf(formatRpcErrors(err, cxsdk.GetDataSetRPC, protojson.Format(req))) } log.Printf("[INFO] Received enrichment-data: %s", protojson.Format(DataSetResp)) @@ -194,10 +188,10 @@ func resourceCoralogixDataSetUpdate(ctx context.Context, d *schema.ResourceData, } log.Print("[INFO] Updating enrichment-data") - _, err = meta.(*clientset.ClientSet).DataSet().UpdateDataSet(ctx, req) + _, err = meta.(*clientset.ClientSet).DataSet().Update(ctx, req) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, updateDataSetURL, protojson.Format(req))) + return diag.Errorf(formatRpcErrors(err, cxsdk.UpdateDataSetRPC, protojson.Format(req))) } if uploadedFile, ok := d.GetOk("uploaded_file"); ok { @@ -211,13 +205,13 @@ func resourceCoralogixDataSetUpdate(ctx context.Context, d *schema.ResourceData, func resourceCoralogixDataSetDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { id := d.Id() - req := &enrichment.DeleteCustomEnrichmentRequest{CustomEnrichmentId: wrapperspb.UInt32(strToUint32(id))} + req := &cxsdk.DeleteDataSetRequest{CustomEnrichmentId: wrapperspb.UInt32(strToUint32(id))} log.Printf("[INFO] Deleting enrichment-data %s", id) - _, err := meta.(*clientset.ClientSet).DataSet().DeleteDataSet(ctx, req) + _, err := meta.(*clientset.ClientSet).DataSet().Delete(ctx, req) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, deleteDataSetURL, protojson.Format(req))) + return diag.Errorf(formatRpcErrors(err, cxsdk.DeleteDataSetRPC, protojson.Format(req))) } log.Printf("[INFO] enrichment-data %s deleted", id) @@ -226,7 +220,7 @@ func resourceCoralogixDataSetDelete(ctx context.Context, d *schema.ResourceData, return nil } -func setDataSet(d *schema.ResourceData, c *enrichment.CustomEnrichment) diag.Diagnostics { +func setDataSet(d *schema.ResourceData, c *cxsdk.DataSet) diag.Diagnostics { if err := d.Set("name", c.Name); err != nil { return diag.FromErr(err) } @@ -250,12 +244,12 @@ func setDataSet(d *schema.ResourceData, c *enrichment.CustomEnrichment) diag.Dia return nil } -func expandDataSetRequest(d *schema.ResourceData) (*enrichment.CreateCustomEnrichmentRequest, string, error) { +func expandDataSetRequest(d *schema.ResourceData) (*cxsdk.CreateDataSetRequest, string, error) { name, description, file, modificationTime, err := expandEnrichmentReq(d) if err != nil { return nil, "", err } - req := &enrichment.CreateCustomEnrichmentRequest{ + req := &cxsdk.CreateDataSetRequest{ Name: name, Description: description, File: file, @@ -263,13 +257,13 @@ func expandDataSetRequest(d *schema.ResourceData) (*enrichment.CreateCustomEnric return req, modificationTime, nil } -func expandUpdateDataSetRequest(d *schema.ResourceData) (*enrichment.UpdateCustomEnrichmentRequest, string, error) { +func expandUpdateDataSetRequest(d *schema.ResourceData) (*cxsdk.UpdateDataSetRequest, string, error) { customEnrichmentId := wrapperspb.UInt32(strToUint32(d.Id())) name, description, file, modificationTime, err := expandEnrichmentReq(d) if err != nil { return nil, "", err } - req := &enrichment.UpdateCustomEnrichmentRequest{ + req := &cxsdk.UpdateDataSetRequest{ CustomEnrichmentId: customEnrichmentId, Name: name, Description: description, @@ -278,23 +272,23 @@ func expandUpdateDataSetRequest(d *schema.ResourceData) (*enrichment.UpdateCusto return req, modificationTime, nil } -func expandEnrichmentReq(d *schema.ResourceData) (*wrapperspb.StringValue, *wrapperspb.StringValue, *enrichment.File, string, error) { +func expandEnrichmentReq(d *schema.ResourceData) (*wrapperspb.StringValue, *wrapperspb.StringValue, *cxsdk.File, string, error) { name := wrapperspb.String(d.Get("name").(string)) description := wrapperspb.String(d.Get("description").(string)) file, modificationTime, err := expandFileAndModificationTime(d) return name, description, file, modificationTime, err } -func expandFileAndModificationTime(d *schema.ResourceData) (*enrichment.File, string, error) { +func expandFileAndModificationTime(d *schema.ResourceData) (*cxsdk.File, string, error) { fileContent, modificationTime, err := expandFileContent(d) if err != nil { return nil, modificationTime, err } - return &enrichment.File{ + return &cxsdk.File{ Name: wrapperspb.String(" "), Extension: wrapperspb.String("csv"), - Content: &enrichment.File_Textual{Textual: wrapperspb.String(fileContent)}, + Content: &cxsdk.FileTextual{Textual: wrapperspb.String(fileContent)}, }, modificationTime, nil } diff --git a/coralogix/resource_coralogix_data_set_test.go b/coralogix/resource_coralogix_data_set_test.go index 6dc5f1ee..3912fc4b 100644 --- a/coralogix/resource_coralogix_data_set_test.go +++ b/coralogix/resource_coralogix_data_set_test.go @@ -23,8 +23,8 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - enrichmentv1 "terraform-provider-coralogix/coralogix/clientset/grpc/enrichment/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -170,7 +170,7 @@ func testAccCheckDataSetDestroy(s *terraform.State) error { continue } - resp, err := client.GetDataSet(ctx, &enrichmentv1.GetCustomEnrichmentRequest{Id: wrapperspb.UInt32(strToUint32(rs.Primary.ID))}) + resp, err := client.Get(ctx, &cxsdk.GetDataSetRequest{Id: wrapperspb.UInt32(strToUint32(rs.Primary.ID))}) if err == nil { if uint32ToStr(resp.GetCustomEnrichment().GetId()) == rs.Primary.ID { return fmt.Errorf("enrichment still exists: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_enrichment.go b/coralogix/resource_coralogix_enrichment.go index 39f9c241..b03cc4b9 100644 --- a/coralogix/resource_coralogix_enrichment.go +++ b/coralogix/resource_coralogix_enrichment.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,24 +21,54 @@ import ( "time" "terraform-provider-coralogix/coralogix/clientset" - enrichment "terraform-provider-coralogix/coralogix/clientset/grpc/enrichment/v1" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "google.golang.org/protobuf/types/known/wrapperspb" ) -var ( - validEnrichmentTypes = []string{"geo_ip", "suspicious_ip", "aws", "custom"} - createEnrichmentsURL = "com.coralogix.enrichment.v1.EnrichmentService/AddEnrichments" - getEnrichmentsURL = "com.coralogix.enrichment.v1.EnrichmentService/GetEnrichments" - deleteEnrichmentsURL = "com.coralogix.enrichment.v1.EnrichmentService/RemoveEnrichments" -) +func EnrichmentsByID(ctx context.Context, client *cxsdk.EnrichmentsClient, customEnrichmentID uint32) ([]*cxsdk.Enrichment, error) { + resp, err := client.List(ctx, &cxsdk.GetEnrichmentsRequest{}) + if err != nil { + return nil, err + } + + log.Printf("[INFO] Received custom enrichment: %s", protojson.Format(resp)) + result := make([]*cxsdk.Enrichment, 0) + for _, enrichment := range resp.GetEnrichments() { + if customEnrichment := enrichment.GetEnrichmentType().GetCustomEnrichment(); customEnrichment != nil && customEnrichment.GetId().GetValue() == customEnrichmentID { + result = append(result, enrichment) + } + } + log.Printf("[INFO] found %v enrichments for ID %v", len(result), customEnrichmentID) + return result, nil +} + +func EnrichmentsByType(ctx context.Context, client *cxsdk.EnrichmentsClient, enrichmentType string) ([]*cxsdk.Enrichment, error) { + resp, err := client.List(ctx, &cxsdk.GetEnrichmentsRequest{}) + if err != nil { + return nil, err + } + log.Printf("[INFO] Received custom enrichment: %s", protojson.Format(resp)) + + result := make([]*cxsdk.Enrichment, 0) + for _, enrichment := range resp.GetEnrichments() { + if enrichment.GetEnrichmentType().String() == enrichmentType+":{}" { + result = append(result, enrichment) + } + } + log.Printf("[INFO] found %v enrichments for type %v", len(result), enrichmentType) + + return result, nil +} + +var validEnrichmentTypes = []string{"geo_ip", "suspicious_ip", "aws", "custom"} func resourceCoralogixEnrichment() *schema.Resource { return &schema.Resource{ @@ -190,14 +220,14 @@ func resourceCoralogixEnrichmentCreate(ctx context.Context, d *schema.ResourceDa if err != nil { return diag.FromErr(err) } - createReq := &enrichment.AddEnrichmentsRequest{RequestEnrichments: enrichmentReq} + createReq := &cxsdk.AddEnrichmentsRequest{RequestEnrichments: enrichmentReq} log.Printf("[INFO] Creating new enrichment: %s", protojson.Format(createReq)) - enrichmentResp, err := meta.(*clientset.ClientSet).Enrichments().CreateEnrichments(ctx, createReq) + enrichmentResp, err := meta.(*clientset.ClientSet).Enrichments().Add(ctx, createReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, createEnrichmentsURL, protojson.Format(createReq))) + return diag.Errorf(formatRpcErrors(err, cxsdk.AddEnrichmentsRPC, protojson.Format(createReq))) } - log.Printf("[INFO] Submitted new enrichment: %s", protojson.Format(&enrichment.AddEnrichmentsResponse{Enrichments: enrichmentResp})) + log.Printf("[INFO] Submitted new enrichment: %s", enrichmentResp) d.SetId(enrichmentTypeOrCustomId) return resourceCoralogixEnrichmentRead(ctx, d, meta) } @@ -205,12 +235,12 @@ func resourceCoralogixEnrichmentCreate(ctx context.Context, d *schema.ResourceDa func resourceCoralogixEnrichmentRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { enrichmentType, customId := extractEnrichmentTypeAndCustomId(d) log.Printf("[INFO] Reading enrichment %s", customId) - var enrichmentResp []*enrichment.Enrichment + var enrichments []*cxsdk.Enrichment var err error if customId == "" { - enrichmentResp, err = meta.(*clientset.ClientSet).Enrichments().GetEnrichmentsByType(ctx, enrichmentType) + enrichments, err = EnrichmentsByType(ctx, meta.(*clientset.ClientSet).Enrichments(), enrichmentType) } else { - enrichmentResp, err = meta.(*clientset.ClientSet).Enrichments().GetCustomEnrichments(ctx, strToUint32(customId)) + enrichments, err = EnrichmentsByID(ctx, meta.(*clientset.ClientSet).Enrichments(), strToUint32(customId)) } if err != nil { @@ -219,15 +249,13 @@ func resourceCoralogixEnrichmentRead(ctx context.Context, d *schema.ResourceData d.SetId("") return diag.Diagnostics{diag.Diagnostic{ Severity: diag.Warning, - Summary: fmt.Sprintf("Events2Metric %q is in state, but no longer exists in Coralogix backend", customId), + Summary: fmt.Sprintf("Enrichment %q is in state, but no longer exists in Coralogix backend", customId), Detail: fmt.Sprintf("%s will be recreated when you apply", customId), }} } - return diag.Errorf(formatRpcErrors(err, getEnrichmentsURL, protojson.Format(&enrichment.GetEnrichmentsRequest{}))) - + return diag.Errorf(formatRpcErrors(err, cxsdk.GetEnrichmentsRPC, protojson.Format(&cxsdk.GetEnrichmentsRequest{}))) } - log.Printf("[INFO] Received enrichment: %s", enrichmentResp) - return setEnrichment(d, enrichmentType, enrichmentResp) + return setEnrichment(d, enrichmentType, enrichments) } func extractEnrichmentTypeAndCustomId(d *schema.ResourceData) (string, string) { @@ -269,18 +297,18 @@ func resourceCoralogixEnrichmentUpdate(ctx context.Context, d *schema.ResourceDa return diag.FromErr(err) } log.Print("[INFO] Updating enrichment") - deleteReq := &enrichment.RemoveEnrichmentsRequest{EnrichmentIds: uint32SliceToWrappedUint32Slice(ids)} - if err = meta.(*clientset.ClientSet).Enrichments().DeleteEnrichments(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.DeleteEnrichmentsRequest{EnrichmentIds: uint32SliceToWrappedUint32Slice(ids)} + if err = meta.(*clientset.ClientSet).Enrichments().Delete(ctx, deleteReq); err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, deleteEnrichmentsURL, protojson.Format(deleteReq))) + return diag.Errorf(formatRpcErrors(err, cxsdk.DeleteEnrichmentsRPC, protojson.Format(deleteReq))) } - createReq := &enrichment.AddEnrichmentsRequest{RequestEnrichments: enrichmentReq} - enrichmentResp, err := meta.(*clientset.ClientSet).Enrichments().CreateEnrichments(ctx, createReq) + createReq := &cxsdk.AddEnrichmentsRequest{RequestEnrichments: enrichmentReq} + enrichmentResp, err := meta.(*clientset.ClientSet).Enrichments().Add(ctx, createReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, createEnrichmentsURL, protojson.Format(createReq))) + return diag.Errorf(formatRpcErrors(err, cxsdk.AddEnrichmentsRPC, protojson.Format(createReq))) } - log.Printf("[INFO] Received enrichment: %s", protojson.Format(&enrichment.AddEnrichmentsResponse{Enrichments: enrichmentResp})) + log.Printf("[INFO] Received enrichment: %s", enrichmentResp) return resourceCoralogixEnrichmentRead(ctx, d, meta) } @@ -288,26 +316,26 @@ func resourceCoralogixEnrichmentDelete(ctx context.Context, d *schema.ResourceDa id := d.Id() log.Printf("[INFO] Deleting enrichment %s", id) if id == "geo_ip" || id == "suspicious_ip" || id == "aws" { - enrichments, err := meta.(*clientset.ClientSet).Enrichments().GetEnrichmentsByType(ctx, id) + enrichments, err := EnrichmentsByType(ctx, meta.(*clientset.ClientSet).Enrichments(), id) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, getEnrichmentsURL, protojson.Format(&enrichment.GetEnrichmentsRequest{}))) + return diag.Errorf(formatRpcErrors(err, cxsdk.GetEnrichmentsRPC, protojson.Format(&cxsdk.GetEnrichmentsRequest{}))) } enrichmentIds := make([]*wrapperspb.UInt32Value, 0, len(enrichments)) for _, enrichment := range enrichments { enrichmentIds = append(enrichmentIds, wrapperspb.UInt32(enrichment.GetId())) } - deleteReq := &enrichment.RemoveEnrichmentsRequest{EnrichmentIds: enrichmentIds} - if err = meta.(*clientset.ClientSet).Enrichments().DeleteEnrichments(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.DeleteEnrichmentsRequest{EnrichmentIds: enrichmentIds} + if err = meta.(*clientset.ClientSet).Enrichments().Delete(ctx, deleteReq); err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, deleteEnrichmentsURL, protojson.Format(deleteReq))) + return diag.Errorf(formatRpcErrors(err, cxsdk.DeleteEnrichmentsRPC, protojson.Format(deleteReq))) } } else { ids := extractIdsFromEnrichment(d) - deleteReq := &enrichment.RemoveEnrichmentsRequest{EnrichmentIds: uint32SliceToWrappedUint32Slice(ids)} - if err := meta.(*clientset.ClientSet).Enrichments().DeleteEnrichments(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.DeleteEnrichmentsRequest{EnrichmentIds: uint32SliceToWrappedUint32Slice(ids)} + if err := meta.(*clientset.ClientSet).Enrichments().Delete(ctx, deleteReq); err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, deleteEnrichmentsURL, protojson.Format(deleteReq))) + return diag.Errorf(formatRpcErrors(err, cxsdk.DeleteEnrichmentsRPC, protojson.Format(deleteReq))) } } @@ -317,7 +345,7 @@ func resourceCoralogixEnrichmentDelete(ctx context.Context, d *schema.ResourceDa return nil } -func extractEnrichmentRequest(d *schema.ResourceData) ([]*enrichment.EnrichmentRequestModel, string, error) { +func extractEnrichmentRequest(d *schema.ResourceData) ([]*cxsdk.EnrichmentRequestModel, string, error) { if geoIp := d.Get("geo_ip").([]interface{}); len(geoIp) != 0 { return expandGeoIp(geoIp[0]), "geo_ip", nil } @@ -335,7 +363,7 @@ func extractEnrichmentRequest(d *schema.ResourceData) ([]*enrichment.EnrichmentR return nil, "", fmt.Errorf("not valid enrichment") } -func setEnrichment(d *schema.ResourceData, enrichmentType string, enrichments []*enrichment.Enrichment) diag.Diagnostics { +func setEnrichment(d *schema.ResourceData, enrichmentType string, enrichments []*cxsdk.Enrichment) diag.Diagnostics { var flattenedEnrichment interface{} switch enrichmentType { case "aws": @@ -367,12 +395,12 @@ func setEnrichment(d *schema.ResourceData, enrichmentType string, enrichments [] return nil } -func flattenAwsEnrichment(enrichments []*enrichment.Enrichment) interface{} { +func flattenAwsEnrichment(enrichments []*cxsdk.Enrichment) interface{} { result := schema.NewSet(hashAwsFields(), []interface{}{}) for _, e := range enrichments { m := map[string]interface{}{ "name": e.GetFieldName(), - "resource": e.GetEnrichmentType().GetType().(*enrichment.EnrichmentType_Aws).Aws.GetResourceType().GetValue(), + "resource": e.GetEnrichmentType().GetType().(*cxsdk.EnrichmentTypeAws).Aws.GetResourceType().GetValue(), "id": int(e.GetId()), } result.Add(m) @@ -380,7 +408,7 @@ func flattenAwsEnrichment(enrichments []*enrichment.Enrichment) interface{} { return result } -func flattenEnrichment(enrichments []*enrichment.Enrichment) interface{} { +func flattenEnrichment(enrichments []*cxsdk.Enrichment) interface{} { result := schema.NewSet(hashFields(), []interface{}{}) for _, e := range enrichments { m := map[string]interface{}{ @@ -392,18 +420,18 @@ func flattenEnrichment(enrichments []*enrichment.Enrichment) interface{} { return result } -func expandGeoIp(v interface{}) []*enrichment.EnrichmentRequestModel { +func expandGeoIp(v interface{}) []*cxsdk.EnrichmentRequestModel { m := v.(map[string]interface{}) fields := m["fields"].(*schema.Set).List() - result := make([]*enrichment.EnrichmentRequestModel, 0, len(fields)) + result := make([]*cxsdk.EnrichmentRequestModel, 0, len(fields)) for _, field := range fields { fieldName := wrapperspb.String(field.(map[string]interface{})["name"].(string)) - e := &enrichment.EnrichmentRequestModel{ + e := &cxsdk.EnrichmentRequestModel{ FieldName: fieldName, - EnrichmentType: &enrichment.EnrichmentType{ - Type: &enrichment.EnrichmentType_GeoIp{ - GeoIp: &enrichment.GeoIpType{}, + EnrichmentType: &cxsdk.EnrichmentType{ + Type: &cxsdk.EnrichmentTypeGeoIP{ + GeoIp: &cxsdk.GeoIPType{}, }, }, } @@ -413,18 +441,18 @@ func expandGeoIp(v interface{}) []*enrichment.EnrichmentRequestModel { return result } -func expandSuspiciousIp(v interface{}) []*enrichment.EnrichmentRequestModel { +func expandSuspiciousIp(v interface{}) []*cxsdk.EnrichmentRequestModel { m := v.(map[string]interface{}) fields := m["fields"].(*schema.Set).List() - result := make([]*enrichment.EnrichmentRequestModel, 0, len(fields)) + result := make([]*cxsdk.EnrichmentRequestModel, 0, len(fields)) for _, field := range fields { fieldName := wrapperspb.String(field.(map[string]interface{})["name"].(string)) - e := &enrichment.EnrichmentRequestModel{ + e := &cxsdk.EnrichmentRequestModel{ FieldName: fieldName, - EnrichmentType: &enrichment.EnrichmentType{ - Type: &enrichment.EnrichmentType_SuspiciousIp{ - SuspiciousIp: &enrichment.SuspiciousIpType{}, + EnrichmentType: &cxsdk.EnrichmentType{ + Type: &cxsdk.EnrichmentTypeSuspiciousIP{ + SuspiciousIp: &cxsdk.SuspiciousIPType{}, }, }, } @@ -434,21 +462,21 @@ func expandSuspiciousIp(v interface{}) []*enrichment.EnrichmentRequestModel { return result } -func expandAws(v interface{}) []*enrichment.EnrichmentRequestModel { +func expandAws(v interface{}) []*cxsdk.EnrichmentRequestModel { m := v.(map[string]interface{}) fields := m["fields"].(*schema.Set).List() - result := make([]*enrichment.EnrichmentRequestModel, 0, len(fields)) + result := make([]*cxsdk.EnrichmentRequestModel, 0, len(fields)) for _, field := range fields { m := field.(map[string]interface{}) fieldName := wrapperspb.String(m["name"].(string)) resourceType := wrapperspb.String(m["resource_type"].(string)) - e := &enrichment.EnrichmentRequestModel{ + e := &cxsdk.EnrichmentRequestModel{ FieldName: fieldName, - EnrichmentType: &enrichment.EnrichmentType{ - Type: &enrichment.EnrichmentType_Aws{ - Aws: &enrichment.AwsType{ + EnrichmentType: &cxsdk.EnrichmentType{ + Type: &cxsdk.EnrichmentTypeAws{ + Aws: &cxsdk.AwsType{ ResourceType: resourceType, }, }, @@ -460,22 +488,22 @@ func expandAws(v interface{}) []*enrichment.EnrichmentRequestModel { return result } -func expandCustom(v interface{}) ([]*enrichment.EnrichmentRequestModel, string) { +func expandCustom(v interface{}) ([]*cxsdk.EnrichmentRequestModel, string) { m := v.(map[string]interface{}) fields := m["fields"].(*schema.Set).List() uintId := uint32(m["custom_enrichment_id"].(int)) id := wrapperspb.UInt32(uintId) - result := make([]*enrichment.EnrichmentRequestModel, 0, len(fields)) + result := make([]*cxsdk.EnrichmentRequestModel, 0, len(fields)) for _, field := range fields { m := field.(map[string]interface{}) fieldName := wrapperspb.String(m["name"].(string)) - e := &enrichment.EnrichmentRequestModel{ + e := &cxsdk.EnrichmentRequestModel{ FieldName: fieldName, - EnrichmentType: &enrichment.EnrichmentType{ - Type: &enrichment.EnrichmentType_CustomEnrichment{ - CustomEnrichment: &enrichment.CustomEnrichmentType{ + EnrichmentType: &cxsdk.EnrichmentType{ + Type: &cxsdk.EnrichmentTypeCustomEnrichment{ + CustomEnrichment: &cxsdk.CustomEnrichmentType{ Id: id, }, }, diff --git a/coralogix/resource_coralogix_enrichment_test.go b/coralogix/resource_coralogix_enrichment_test.go index 5b5ccce1..50d944be 100644 --- a/coralogix/resource_coralogix_enrichment_test.go +++ b/coralogix/resource_coralogix_enrichment_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,8 +21,10 @@ import ( "terraform-provider-coralogix/coralogix/clientset" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" + "google.golang.org/protobuf/types/known/wrapperspb" ) var enrichmentResourceName = "coralogix_enrichment.test" @@ -186,7 +188,7 @@ func testAccCheckEnrichmentDestroy(s *terraform.State) error { continue } - resp, err := client.GetEnrichmentsByType(ctx, rs.Primary.ID) + resp, err := EnrichmentsByType(ctx, client, rs.Primary.ID) if err == nil { if len(resp) != 0 { return fmt.Errorf("enrichment still exists: %s", rs.Primary.ID) @@ -198,7 +200,7 @@ func testAccCheckEnrichmentDestroy(s *terraform.State) error { } func testAccCheckCustomEnrichmentDestroy(s *terraform.State) error { - client := testAccProvider.Meta().(*clientset.ClientSet).Enrichments() + client := testAccProvider.Meta().(*clientset.ClientSet).DataSet() ctx := context.TODO() @@ -207,9 +209,9 @@ func testAccCheckCustomEnrichmentDestroy(s *terraform.State) error { continue } - resp, err := client.GetCustomEnrichments(ctx, strToUint32(rs.Primary.ID)) + resp, err := client.Get(ctx, &cxsdk.GetDataSetRequest{Id: wrapperspb.UInt32(strToUint32(rs.Primary.ID))}) if err == nil { - if len(resp) != 0 { + if resp.CustomEnrichment != nil { return fmt.Errorf("enrichment still exists: %s", rs.Primary.ID) } } diff --git a/coralogix/resource_coralogix_events2metric.go b/coralogix/resource_coralogix_events2metric.go index cfd2cdb6..d9084db8 100644 --- a/coralogix/resource_coralogix_events2metric.go +++ b/coralogix/resource_coralogix_events2metric.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,11 +19,11 @@ import ( "fmt" "log" "regexp" + "strings" "terraform-provider-coralogix/coralogix/clientset" - e2m "terraform-provider-coralogix/coralogix/clientset/grpc/events2metrics/v2" - l2m "terraform-provider-coralogix/coralogix/clientset/grpc/logs2metrics/v2" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" @@ -49,29 +49,35 @@ import ( ) var ( - validSeverities = getKeysInt32(l2m.Severity_value) - protoToSchemaAggregationType = map[e2m.Aggregation_AggType]string{ - e2m.Aggregation_AGG_TYPE_MIN: "min", - e2m.Aggregation_AGG_TYPE_MAX: "max", - e2m.Aggregation_AGG_TYPE_COUNT: "count", - e2m.Aggregation_AGG_TYPE_AVG: "avg", - e2m.Aggregation_AGG_TYPE_SUM: "sum", - e2m.Aggregation_AGG_TYPE_HISTOGRAM: "histogram", - e2m.Aggregation_AGG_TYPE_SAMPLES: "samples", - } - schemaToProtoAggregationSampleType = map[string]e2m.E2MAggSamples_SampleType{ - "Min": e2m.E2MAggSamples_SAMPLE_TYPE_MIN, - "Max": e2m.E2MAggSamples_SAMPLE_TYPE_MAX, - } - protoToSchemaAggregationSampleType = map[e2m.E2MAggSamples_SampleType]string{ - e2m.E2MAggSamples_SAMPLE_TYPE_MIN: "Min", - e2m.E2MAggSamples_SAMPLE_TYPE_MAX: "Max", - } - validSampleTypes = []string{"Min", "Max"} - createEvents2MetricURL = "com.coralogixapis.events2metrics.v2.Events2MetricService/CreateE2M" - getEvents2MetricURL = "com.coralogixapis.events2metrics.v2.Events2MetricService/GetE2M" - updateEvents2MetricURL = "com.coralogixapis.events2metrics.v2.Events2MetricService/ReplaceE2M" - deleteEvents2MetricURL = "com.coralogixapis.events2metrics.v2.Events2MetricService/DeleteE2M" + severitySchemaToProto = map[string]cxsdk.L2MSeverity{ + "unspecified": cxsdk.L2MSeverityUnspecified, + "debug": cxsdk.L2MSeverityDebug, + "verbose": cxsdk.L2MSeverityVerbose, + "info": cxsdk.L2MSeverityInfo, + "warning": cxsdk.L2MSeverityWarning, + "error": cxsdk.L2MSeverityError, + "critical": cxsdk.L2MSeverityCritical, + } + severityProtoToSchema = ReverseMap(severitySchemaToProto) + validSeverities = GetKeys(severitySchemaToProto) + + protoToSchemaAggregationType = map[cxsdk.E2MAggregationType]string{ + cxsdk.E2MAggregationTypeMin: "min", + cxsdk.E2MAggregationTypeMax: "max", + cxsdk.E2MAggregationTypeCount: "count", + cxsdk.E2MAggregationTypeAvg: "avg", + cxsdk.E2MAggregationTypeSum: "sum", + cxsdk.E2MAggregationTypeHistogram: "histogram", + cxsdk.E2MAggregationTypeSamples: "samples", + } + schemaToProtoAggregationSampleType = map[string]cxsdk.E2MAggSampleType{ + "Min": cxsdk.E2MAggSampleTypeMin, + "Max": cxsdk.E2MAggSampleTypeMax, + } + + protoToSchemaAggregationSampleType = ReverseMap(schemaToProtoAggregationSampleType) + + validSampleTypes = GetKeys(schemaToProtoAggregationSampleType) ) var ( @@ -86,7 +92,7 @@ func NewEvents2MetricResource() resource.Resource { } type Events2MetricResource struct { - client *clientset.Events2MetricsClient + client *cxsdk.Events2MetricsClient } type Events2MetricResourceModel struct { @@ -852,12 +858,12 @@ func (r *Events2MetricResource) Create(ctx context.Context, req resource.CreateR return } log.Printf("[INFO] Creating new Events2metric: %s", protojson.Format(e2mCreateReq)) - e2mCreateResp, err := r.client.CreateEvents2Metric(ctx, e2mCreateReq) + e2mCreateResp, err := r.client.Create(ctx, e2mCreateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating Events2Metric", - formatRpcErrors(err, createEvents2MetricURL, protojson.Format(e2mCreateReq)), + formatRpcErrors(err, cxsdk.E2MCreateRPC, protojson.Format(e2mCreateReq)), ) } log.Printf("[INFO] Submitted new Events2metric: %s", protojson.Format(e2mCreateResp)) @@ -880,8 +886,8 @@ func (r *Events2MetricResource) Read(ctx context.Context, req resource.ReadReque //Get refreshed Events2Metric value from Coralogix id := state.ID.ValueString() log.Printf("[INFO] Reading Events2metric: %s", id) - getE2MReq := &e2m.GetE2MRequest{Id: wrapperspb.String(id)} - getE2MResp, err := r.client.GetEvents2Metric(ctx, getE2MReq) + getE2MReq := &cxsdk.GetE2MRequest{Id: wrapperspb.String(id)} + getE2MResp, err := r.client.Get(ctx, getE2MReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -893,7 +899,7 @@ func (r *Events2MetricResource) Read(ctx context.Context, req resource.ReadReque } else { resp.Diagnostics.AddError( "Error reading Events2Metric", - formatRpcErrors(err, getEvents2MetricURL, protojson.Format(getE2MReq)), + formatRpcErrors(err, cxsdk.E2MGetRPC, protojson.Format(getE2MReq)), ) } return @@ -921,12 +927,12 @@ func (r *Events2MetricResource) Update(ctx context.Context, req resource.UpdateR return } log.Printf("[INFO] Updating Events2metric: %s", protojson.Format(e2mUpdateReq)) - e2mUpdateResp, err := r.client.UpdateEvents2Metric(ctx, e2mUpdateReq) + e2mUpdateResp, err := r.client.Replace(ctx, e2mUpdateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating Events2Metric", - formatRpcErrors(err, updateEvents2MetricURL, protojson.Format(e2mUpdateReq)), + formatRpcErrors(err, cxsdk.E2MReplaceRPC, protojson.Format(e2mUpdateReq)), ) return } @@ -934,7 +940,7 @@ func (r *Events2MetricResource) Update(ctx context.Context, req resource.UpdateR // Get refreshed Events2Metric value from Coralogix id := plan.ID.ValueString() - getE2MResp, err := r.client.GetEvents2Metric(ctx, &e2m.GetE2MRequest{Id: wrapperspb.String(id)}) + getE2MResp, err := r.client.Get(ctx, &cxsdk.GetE2MRequest{Id: wrapperspb.String(id)}) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -946,7 +952,7 @@ func (r *Events2MetricResource) Update(ctx context.Context, req resource.UpdateR } else { resp.Diagnostics.AddError( "Error reading Events2Metric", - formatRpcErrors(err, getEvents2MetricURL, protojson.Format(e2mUpdateReq)), + formatRpcErrors(err, cxsdk.E2MGetRPC, protojson.Format(e2mUpdateReq)), ) } return @@ -969,12 +975,12 @@ func (r *Events2MetricResource) Delete(ctx context.Context, req resource.DeleteR } id := state.ID.ValueString() - deleteReq := &e2m.DeleteE2MRequest{Id: wrapperspb.String(id)} + deleteReq := &cxsdk.DeleteE2MRequest{Id: wrapperspb.String(id)} log.Printf("[INFO] Deleting Events2metric %s\n", id) - if _, err := r.client.DeleteEvents2Metric(ctx, deleteReq); err != nil { + if _, err := r.client.Delete(ctx, deleteReq); err != nil { resp.Diagnostics.AddError( "Error Deleting Events2Metric", - formatRpcErrors(err, deleteEvents2MetricURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.E2MDeleteRPC, protojson.Format(deleteReq)), ) return } @@ -985,7 +991,7 @@ func (r *Events2MetricResource) ImportState(ctx context.Context, req resource.Im resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) } -func flattenE2M(ctx context.Context, e2m *e2m.E2M) Events2MetricResourceModel { +func flattenE2M(ctx context.Context, e2m *cxsdk.E2M) Events2MetricResourceModel { return Events2MetricResourceModel{ ID: types.StringValue(e2m.GetId().GetValue()), Name: types.StringValue(e2m.GetName().GetValue()), @@ -1005,7 +1011,7 @@ func flattenDescription(e2mDescription *wrapperspb.StringValue) types.String { return types.StringValue(e2mDescription.GetValue()) } -func extractCreateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2m.CreateE2MRequest, diag.Diagnostics) { +func extractCreateE2M(ctx context.Context, plan Events2MetricResourceModel) (*cxsdk.CreateE2MRequest, diag.Diagnostics) { name := typeStringToWrapperspbString(plan.Name) description := typeStringToWrapperspbString(plan.Description) permutations := expandPermutations(plan.Permutations) @@ -1019,7 +1025,7 @@ func extractCreateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2 return nil, diags } - e2mParams := &e2m.E2MCreateParams{ + e2mParams := &cxsdk.E2MCreateParams{ Name: name, Description: description, PermutationsLimit: permutationsLimit, @@ -1028,10 +1034,10 @@ func extractCreateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2 } if spansQuery := plan.SpansQuery; spansQuery != nil { - e2mParams.Type = e2m.E2MType_E2M_TYPE_SPANS2METRICS + e2mParams.Type = cxsdk.E2MTypeSpans2Metrics e2mParams.Query, diags = expandSpansQuery(ctx, spansQuery) } else if logsQuery := plan.LogsQuery; logsQuery != nil { - e2mParams.Type = e2m.E2MType_E2M_TYPE_LOGS2METRICS + e2mParams.Type = cxsdk.E2MTypeLogs2Metrics e2mParams.Query, diags = expandLogsQuery(ctx, logsQuery) } @@ -1039,22 +1045,22 @@ func extractCreateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2 return nil, diags } - return &e2m.CreateE2MRequest{ + return &cxsdk.CreateE2MRequest{ E2M: e2mParams, }, nil } -func expandPermutations(permutations *PermutationsModel) *e2m.E2MPermutations { +func expandPermutations(permutations *PermutationsModel) *cxsdk.E2MPermutations { if permutations == nil { return nil } - return &e2m.E2MPermutations{ + return &cxsdk.E2MPermutations{ Limit: int32(permutations.Limit.ValueInt64()), HasExceededLimit: permutations.HasExceedLimit.ValueBool(), } } -func extractUpdateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2m.ReplaceE2MRequest, diag.Diagnostics) { +func extractUpdateE2M(ctx context.Context, plan Events2MetricResourceModel) (*cxsdk.ReplaceE2MRequest, diag.Diagnostics) { id := wrapperspb.String(plan.ID.ValueString()) name := wrapperspb.String(plan.Name.ValueString()) description := wrapperspb.String(plan.Description.ValueString()) @@ -1068,7 +1074,7 @@ func extractUpdateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2 return nil, diags } - e2mParams := &e2m.E2M{ + e2mParams := &cxsdk.E2M{ Id: id, Name: name, Description: description, @@ -1078,10 +1084,10 @@ func extractUpdateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2 } if spansQuery := plan.SpansQuery; spansQuery != nil { - e2mParams.Type = e2m.E2MType_E2M_TYPE_SPANS2METRICS + e2mParams.Type = cxsdk.E2MTypeSpans2Metrics e2mParams.Query, diags = expandUpdateSpansQuery(ctx, spansQuery) } else if logsQuery := plan.LogsQuery; logsQuery != nil { - e2mParams.Type = e2m.E2MType_E2M_TYPE_LOGS2METRICS + e2mParams.Type = cxsdk.E2MTypeLogs2Metrics e2mParams.Query, diags = expandUpdateLogsQuery(ctx, logsQuery) } @@ -1089,14 +1095,14 @@ func extractUpdateE2M(ctx context.Context, plan Events2MetricResourceModel) (*e2 return nil, diags } - return &e2m.ReplaceE2MRequest{ + return &cxsdk.ReplaceE2MRequest{ E2M: e2mParams, }, nil } -func expandE2MLabels(ctx context.Context, labels types.Map) ([]*e2m.MetricLabel, diag.Diagnostics) { +func expandE2MLabels(ctx context.Context, labels types.Map) ([]*cxsdk.MetricLabel, diag.Diagnostics) { labelsMap := labels.Elements() - result := make([]*e2m.MetricLabel, 0, len(labelsMap)) + result := make([]*cxsdk.MetricLabel, 0, len(labelsMap)) var diags diag.Diagnostics for targetField, value := range labelsMap { v, _ := value.ToTerraformValue(ctx) @@ -1116,21 +1122,21 @@ func expandE2MLabels(ctx context.Context, labels types.Map) ([]*e2m.MetricLabel, return result, nil } -func expandE2MLabel(targetLabel, sourceField string) *e2m.MetricLabel { - return &e2m.MetricLabel{ +func expandE2MLabel(targetLabel, sourceField string) *cxsdk.MetricLabel { + return &cxsdk.MetricLabel{ TargetLabel: wrapperspb.String(targetLabel), SourceField: wrapperspb.String(sourceField), } } -func expandE2MFields(ctx context.Context, fields types.Map) ([]*e2m.MetricField, diag.Diagnostics) { +func expandE2MFields(ctx context.Context, fields types.Map) ([]*cxsdk.MetricField, diag.Diagnostics) { var fieldsMap map[string]MetricFieldModel var diags diag.Diagnostics d := fields.ElementsAs(ctx, &fieldsMap, true) if d != nil { panic(d) } - result := make([]*e2m.MetricField, 0, len(fieldsMap)) + result := make([]*cxsdk.MetricField, 0, len(fieldsMap)) for sourceFiled, metricFieldValue := range fieldsMap { field, dgs := expandE2MField(ctx, sourceFiled, metricFieldValue) if dgs.HasError() { @@ -1143,52 +1149,52 @@ func expandE2MFields(ctx context.Context, fields types.Map) ([]*e2m.MetricField, return result, diags } -func expandE2MField(ctx context.Context, targetField string, metricField MetricFieldModel) (*e2m.MetricField, diag.Diagnostics) { +func expandE2MField(ctx context.Context, targetField string, metricField MetricFieldModel) (*cxsdk.MetricField, diag.Diagnostics) { aggregations, diags := expandE2MAggregations(ctx, metricField.Aggregations) if diags.HasError() { return nil, diags } - return &e2m.MetricField{ + return &cxsdk.MetricField{ TargetBaseMetricName: wrapperspb.String(targetField), SourceField: wrapperspb.String(metricField.SourceField.ValueString()), Aggregations: aggregations, }, nil } -func expandE2MAggregations(ctx context.Context, aggregationsModel *AggregationsModel) ([]*e2m.Aggregation, diag.Diagnostics) { +func expandE2MAggregations(ctx context.Context, aggregationsModel *AggregationsModel) ([]*cxsdk.E2MAggregation, diag.Diagnostics) { if aggregationsModel == nil { return nil, nil } - aggregations := make([]*e2m.Aggregation, 0) + aggregations := make([]*cxsdk.E2MAggregation, 0) if min := aggregationsModel.Min; min != nil { - aggregation := &e2m.Aggregation{AggType: e2m.Aggregation_AGG_TYPE_MIN, Enabled: min.Enable.ValueBool(), TargetMetricName: "min"} + aggregation := &cxsdk.E2MAggregation{AggType: cxsdk.E2MAggregationTypeMin, Enabled: min.Enable.ValueBool(), TargetMetricName: "min"} aggregations = append(aggregations, aggregation) } if max := aggregationsModel.Max; max != nil { - aggregation := &e2m.Aggregation{AggType: e2m.Aggregation_AGG_TYPE_MAX, Enabled: max.Enable.ValueBool(), TargetMetricName: "max"} + aggregation := &cxsdk.E2MAggregation{AggType: cxsdk.E2MAggregationTypeMax, Enabled: max.Enable.ValueBool(), TargetMetricName: "max"} aggregations = append(aggregations, aggregation) } if count := aggregationsModel.Count; count != nil { - aggregation := &e2m.Aggregation{AggType: e2m.Aggregation_AGG_TYPE_COUNT, Enabled: count.Enable.ValueBool(), TargetMetricName: "count"} + aggregation := &cxsdk.E2MAggregation{AggType: cxsdk.E2MAggregationTypeCount, Enabled: count.Enable.ValueBool(), TargetMetricName: "count"} aggregations = append(aggregations, aggregation) } if avg := aggregationsModel.AVG; avg != nil { - aggregation := &e2m.Aggregation{AggType: e2m.Aggregation_AGG_TYPE_AVG, Enabled: avg.Enable.ValueBool(), TargetMetricName: "avg"} + aggregation := &cxsdk.E2MAggregation{AggType: cxsdk.E2MAggregationTypeAvg, Enabled: avg.Enable.ValueBool(), TargetMetricName: "avg"} aggregations = append(aggregations, aggregation) } if sum := aggregationsModel.Sum; sum != nil { - aggregation := &e2m.Aggregation{AggType: e2m.Aggregation_AGG_TYPE_SUM, Enabled: sum.Enable.ValueBool(), TargetMetricName: "sum"} + aggregation := &cxsdk.E2MAggregation{AggType: cxsdk.E2MAggregationTypeSum, Enabled: sum.Enable.ValueBool(), TargetMetricName: "sum"} aggregations = append(aggregations, aggregation) } if samples := aggregationsModel.Samples; samples != nil { samplesType := schemaToProtoAggregationSampleType[samples.Type.ValueString()] - aggregation := &e2m.Aggregation{AggType: e2m.Aggregation_AGG_TYPE_SAMPLES, Enabled: samples.Enable.ValueBool(), TargetMetricName: "samples", AggMetadata: &e2m.Aggregation_Samples{Samples: &e2m.E2MAggSamples{SampleType: samplesType}}} + aggregation := &cxsdk.E2MAggregation{AggType: cxsdk.E2MAggregationTypeSamples, Enabled: samples.Enable.ValueBool(), TargetMetricName: "samples", AggMetadata: &cxsdk.E2MAggregationSamples{Samples: &cxsdk.E2MAggSamples{SampleType: samplesType}}} aggregations = append(aggregations, aggregation) } if histogram := aggregationsModel.Histogram; histogram != nil { @@ -1196,7 +1202,7 @@ func expandE2MAggregations(ctx context.Context, aggregationsModel *AggregationsM if diags.HasError() { return nil, diags } - aggregation := &e2m.Aggregation{AggType: e2m.Aggregation_AGG_TYPE_HISTOGRAM, Enabled: histogram.Enable.ValueBool(), TargetMetricName: "histogram", AggMetadata: &e2m.Aggregation_Histogram{Histogram: &e2m.E2MAggHistogram{Buckets: buckets}}} + aggregation := &cxsdk.E2MAggregation{AggType: cxsdk.E2MAggregationTypeHistogram, Enabled: histogram.Enable.ValueBool(), TargetMetricName: "histogram", AggMetadata: &cxsdk.E2MAggregationHistogram{Histogram: &cxsdk.E2MAggHistogram{Buckets: buckets}}} aggregations = append(aggregations, aggregation) } @@ -1204,7 +1210,7 @@ func expandE2MAggregations(ctx context.Context, aggregationsModel *AggregationsM return aggregations, nil } -func expandSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (*e2m.E2MCreateParams_SpansQuery, diag.Diagnostics) { +func expandSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (*cxsdk.E2MCreateParamsSpansQuery, diag.Diagnostics) { lucene := typeStringToWrapperspbString(spansQuery.Lucene) applications, diags := typeStringSliceToWrappedStringSlice(ctx, spansQuery.Applications.Elements()) if diags.HasError() { @@ -1223,8 +1229,8 @@ func expandSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (*e2m.E2 return nil, diags } - return &e2m.E2MCreateParams_SpansQuery{ - SpansQuery: &e2m.SpansQuery{ + return &cxsdk.E2MCreateParamsSpansQuery{ + SpansQuery: &cxsdk.S2MSpansQuery{ Lucene: lucene, ApplicationnameFilters: applications, SubsystemnameFilters: subsystems, @@ -1234,7 +1240,7 @@ func expandSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (*e2m.E2 }, nil } -func expandLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*e2m.E2MCreateParams_LogsQuery, diag.Diagnostics) { +func expandLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*cxsdk.E2MCreateParamsLogsQuery, diag.Diagnostics) { searchQuery := typeStringToWrapperspbString(logsQuery.Lucene) applications, diags := typeStringSliceToWrappedStringSlice(ctx, logsQuery.Applications.Elements()) if diags.HasError() { @@ -1249,8 +1255,8 @@ func expandLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*e2m.E2MCr return nil, diags } - return &e2m.E2MCreateParams_LogsQuery{ - LogsQuery: &l2m.LogsQuery{ + return &cxsdk.E2MCreateParamsLogsQuery{ + LogsQuery: &cxsdk.L2MLogsQuery{ Lucene: searchQuery, ApplicationnameFilters: applications, SubsystemnameFilters: subsystems, @@ -1259,7 +1265,7 @@ func expandLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*e2m.E2MCr }, nil } -func expandUpdateSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (*e2m.E2M_SpansQuery, diag.Diagnostics) { +func expandUpdateSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (*cxsdk.E2MSpansQuery, diag.Diagnostics) { lucene := typeStringToWrapperspbString(spansQuery.Lucene) applications, diags := typeStringSliceToWrappedStringSlice(ctx, spansQuery.Applications.Elements()) if diags != nil { @@ -1278,8 +1284,8 @@ func expandUpdateSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (* return nil, diags } - return &e2m.E2M_SpansQuery{ - SpansQuery: &e2m.SpansQuery{ + return &cxsdk.E2MSpansQuery{ + SpansQuery: &cxsdk.S2MSpansQuery{ Lucene: lucene, ApplicationnameFilters: applications, SubsystemnameFilters: subsystems, @@ -1289,7 +1295,7 @@ func expandUpdateSpansQuery(ctx context.Context, spansQuery *SpansQueryModel) (* }, nil } -func expandUpdateLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*e2m.E2M_LogsQuery, diag.Diagnostics) { +func expandUpdateLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*cxsdk.E2MLogsQuery, diag.Diagnostics) { searchQuery := wrapperspb.String(logsQuery.Lucene.ValueString()) applications, diags := typeStringSliceToWrappedStringSlice(ctx, logsQuery.Applications.Elements()) if diags.HasError() { @@ -1304,8 +1310,8 @@ func expandUpdateLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*e2m return nil, diags } - return &e2m.E2M_LogsQuery{ - LogsQuery: &l2m.LogsQuery{ + return &cxsdk.E2MLogsQuery{ + LogsQuery: &cxsdk.L2MLogsQuery{ Lucene: searchQuery, ApplicationnameFilters: applications, SubsystemnameFilters: subsystems, @@ -1314,8 +1320,8 @@ func expandUpdateLogsQuery(ctx context.Context, logsQuery *LogsQueryModel) (*e2m }, nil } -func expandLogsQuerySeverities(ctx context.Context, severities []attr.Value) ([]l2m.Severity, diag.Diagnostics) { - result := make([]l2m.Severity, 0, len(severities)) +func expandLogsQuerySeverities(ctx context.Context, severities []attr.Value) ([]cxsdk.L2MSeverity, diag.Diagnostics) { + result := make([]cxsdk.L2MSeverity, 0, len(severities)) var diags diag.Diagnostics for _, s := range severities { v, err := s.ToTerraformValue(ctx) @@ -1330,7 +1336,7 @@ func expandLogsQuerySeverities(ctx context.Context, severities []attr.Value) ([] err.Error()) continue } - severity := l2m.Severity(l2m.Severity_value[str]) + severity := cxsdk.L2MSeverity(severitySchemaToProto[strings.ToLower(str)]) result = append(result, severity) } @@ -1341,7 +1347,7 @@ func expandLogsQuerySeverities(ctx context.Context, severities []attr.Value) ([] return result, nil } -func flattenE2MPermutations(permutations *e2m.E2MPermutations) *PermutationsModel { +func flattenE2MPermutations(permutations *cxsdk.E2MPermutations) *PermutationsModel { if permutations == nil { return nil } @@ -1351,7 +1357,7 @@ func flattenE2MPermutations(permutations *e2m.E2MPermutations) *PermutationsMode } } -func flattenE2MMetricFields(ctx context.Context, fields []*e2m.MetricField) types.Map { +func flattenE2MMetricFields(ctx context.Context, fields []*cxsdk.MetricField) types.Map { if len(fields) == 0 { return types.MapNull(types.ObjectType{AttrTypes: metricFieldModelAttr()}) } @@ -1365,7 +1371,7 @@ func flattenE2MMetricFields(ctx context.Context, fields []*e2m.MetricField) type return types.MapValueMust(types.ObjectType{AttrTypes: metricFieldModelAttr()}, elements) } -func flattenE2MMetricField(ctx context.Context, field *e2m.MetricField) (string, MetricFieldModel) { +func flattenE2MMetricField(ctx context.Context, field *cxsdk.MetricField) (string, MetricFieldModel) { aggregations := flattenE2MAggregations(ctx, field.GetAggregations()) return field.GetTargetBaseMetricName().GetValue(), MetricFieldModel{ SourceField: types.StringValue(field.GetSourceField().GetValue()), @@ -1373,7 +1379,7 @@ func flattenE2MMetricField(ctx context.Context, field *e2m.MetricField) (string, } } -func flattenE2MAggregations(ctx context.Context, aggregations []*e2m.Aggregation) *AggregationsModel { +func flattenE2MAggregations(ctx context.Context, aggregations []*cxsdk.E2MAggregation) *AggregationsModel { aggregationsSchema := AggregationsModel{} for _, aggregation := range aggregations { @@ -1399,7 +1405,7 @@ func flattenE2MAggregations(ctx context.Context, aggregations []*e2m.Aggregation return &aggregationsSchema } -func flattenE2MCommonAggregation(aggregation *e2m.Aggregation) *CommonAggregationModel { +func flattenE2MCommonAggregation(aggregation *cxsdk.E2MAggregation) *CommonAggregationModel { if aggregation == nil { return nil } @@ -1410,7 +1416,7 @@ func flattenE2MCommonAggregation(aggregation *e2m.Aggregation) *CommonAggregatio } } -func flattenE2MSamplesAggregation(aggregation *e2m.Aggregation) *SamplesAggregationModel { +func flattenE2MSamplesAggregation(aggregation *cxsdk.E2MAggregation) *SamplesAggregationModel { if aggregation == nil { return nil } @@ -1423,7 +1429,7 @@ func flattenE2MSamplesAggregation(aggregation *e2m.Aggregation) *SamplesAggregat } } -func flattenE2MHistogramAggregation(ctx context.Context, aggregation *e2m.Aggregation) *HistogramAggregationModel { +func flattenE2MHistogramAggregation(ctx context.Context, aggregation *cxsdk.E2MAggregation) *HistogramAggregationModel { if aggregation == nil { return nil } @@ -1439,7 +1445,7 @@ func flattenE2MHistogramAggregation(ctx context.Context, aggregation *e2m.Aggreg } } -func flattenE2MMetricLabels(labels []*e2m.MetricLabel) types.Map { +func flattenE2MMetricLabels(labels []*cxsdk.MetricLabel) types.Map { if len(labels) == 0 { return types.MapNull(types.StringType) } @@ -1453,7 +1459,7 @@ func flattenE2MMetricLabels(labels []*e2m.MetricLabel) types.Map { return types.MapValueMust(types.StringType, elements) } -func flattenSpansQuery(query *e2m.SpansQuery) *SpansQueryModel { +func flattenSpansQuery(query *cxsdk.S2MSpansQuery) *SpansQueryModel { if query == nil { return nil } @@ -1466,7 +1472,7 @@ func flattenSpansQuery(query *e2m.SpansQuery) *SpansQueryModel { } } -func flattenLogsQuery(query *l2m.LogsQuery) *LogsQueryModel { +func flattenLogsQuery(query *cxsdk.L2MLogsQuery) *LogsQueryModel { if query == nil { return nil } @@ -1478,13 +1484,13 @@ func flattenLogsQuery(query *l2m.LogsQuery) *LogsQueryModel { } } -func flattenLogQuerySeverities(severities []l2m.Severity) types.Set { +func flattenLogQuerySeverities(severities []cxsdk.L2MSeverity) types.Set { if len(severities) == 0 { return types.SetNull(types.StringType) } elements := make([]attr.Value, 0, len(severities)) for _, v := range severities { - severity := types.StringValue(l2m.Severity_name[int32(v)]) + severity := types.StringValue(severityProtoToSchema[cxsdk.L2MSeverity(v)]) elements = append(elements, severity) } return types.SetValueMust(types.StringType, elements) diff --git a/coralogix/resource_coralogix_events2metric_test.go b/coralogix/resource_coralogix_events2metric_test.go index 8de6c329..5e6bf92b 100644 --- a/coralogix/resource_coralogix_events2metric_test.go +++ b/coralogix/resource_coralogix_events2metric_test.go @@ -21,8 +21,8 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - e2m "terraform-provider-coralogix/coralogix/clientset/grpc/events2metrics/v2" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -162,11 +162,11 @@ func testAccCheckEvents2MetricDestroy(s *terraform.State) error { continue } - req := &e2m.GetE2MRequest{ + req := &cxsdk.GetE2MRequest{ Id: wrapperspb.String(rs.Primary.ID), } - resp, err := client.GetEvents2Metric(ctx, req) + resp, err := client.Get(ctx, req) if err == nil { if resp.GetE2M().GetId().GetValue() == rs.Primary.ID { return fmt.Errorf("events2metric still exists: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_group.go b/coralogix/resource_coralogix_group.go index 019461eb..7cbcebb9 100644 --- a/coralogix/resource_coralogix_group.go +++ b/coralogix/resource_coralogix_group.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/coralogix/resource_coralogix_integration.go b/coralogix/resource_coralogix_integration.go index 03409675..d29a0a96 100644 --- a/coralogix/resource_coralogix_integration.go +++ b/coralogix/resource_coralogix_integration.go @@ -21,7 +21,8 @@ import ( "math/big" "slices" "terraform-provider-coralogix/coralogix/clientset" - integrations "terraform-provider-coralogix/coralogix/clientset/grpc/integrations" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -40,10 +41,10 @@ import ( ) var ( - createIntegrationsUrl = integrations.IntegrationService_SaveIntegration_FullMethodName - deleteIntegrationsUrl = integrations.IntegrationService_DeleteIntegration_FullMethodName - getIntegrationsUrl = integrations.IntegrationService_GetDeployedIntegration_FullMethodName - updateIntegrationsUrl = integrations.IntegrationService_UpdateIntegration_FullMethodName + createIntegrationsUrl = cxsdk.SaveIntegrationRPC + deleteIntegrationsUrl = cxsdk.DeleteIntegrationRPC + getIntegrationsUrl = cxsdk.GetDeployedIntegrationRPC + updateIntegrationsUrl = cxsdk.UpdateIntegrationRPC ) func NewIntegrationResource() resource.Resource { @@ -51,7 +52,7 @@ func NewIntegrationResource() resource.Resource { } type IntegrationResource struct { - client *clientset.IntegrationsClient + client *cxsdk.IntegrationsClient } func (r *IntegrationResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -128,13 +129,13 @@ func (r *IntegrationResource) Create(ctx context.Context, req resource.CreateReq return } - createReq, diags := extractCreateIntegration(ctx, plan) + createReq, diags := extractCreateIntegration(plan) if diags.HasError() { resp.Diagnostics.Append(diags...) return } - result, testErr := r.client.TestIntegration(ctx, &integrations.TestIntegrationRequest{ + result, testErr := r.client.Test(ctx, &cxsdk.TestIntegrationRequest{ IntegrationData: createReq.Metadata, }) log.Printf("[INFO] Creating new Integration: %s", protojson.Format(createReq)) @@ -145,7 +146,7 @@ func (r *IntegrationResource) Create(ctx context.Context, req resource.CreateReq return } - fail, hasFailed := result.Result.Result.(*integrations.TestIntegrationResult_Failure_) + fail, hasFailed := result.Result.Result.(*cxsdk.IntegrationTestFail) if hasFailed { newDiags := diag.Diagnostics{diag.NewErrorDiagnostic("Invalid integration configuration", fmt.Sprintf("API responded with an error: %v", fail.Failure.ErrorMessage))} resp.Diagnostics.Append(newDiags...) @@ -163,7 +164,7 @@ func (r *IntegrationResource) Create(ctx context.Context, req resource.CreateReq } log.Printf("[INFO] Submitted new integration: %s", protojson.Format(createResp)) - getIntegrationReq := &integrations.GetDeployedIntegrationRequest{ + getIntegrationReq := &cxsdk.GetDeployedIntegrationRequest{ IntegrationId: createResp.IntegrationId, } log.Printf("[INFO] Getting new Integration: %s", protojson.Format(getIntegrationReq)) @@ -197,7 +198,7 @@ func (r *IntegrationResource) Create(ctx context.Context, req resource.CreateReq func KeysFromPlan(ctx context.Context, plan *IntegrationResourceModel) ([]string, diag.Diagnostics) { // extract keys first to filter the returned parameters later - parameters, diags := dynamicToParameters(ctx, plan.Parameters) + parameters, diags := dynamicToParameters(plan.Parameters) keys := make([]string, len(parameters)) for i, parameter := range parameters { keys[i] = parameter.Key @@ -205,17 +206,17 @@ func KeysFromPlan(ctx context.Context, plan *IntegrationResourceModel) ([]string return keys, diags } -func extractCreateIntegration(ctx context.Context, plan *IntegrationResourceModel) (*integrations.SaveIntegrationRequest, diag.Diagnostics) { - parameters, diags := dynamicToParameters(ctx, plan.Parameters) +func extractCreateIntegration(plan *IntegrationResourceModel) (*cxsdk.SaveIntegrationRequest, diag.Diagnostics) { + parameters, diags := dynamicToParameters(plan.Parameters) if diags.HasError() { return nil, diags } - return &integrations.SaveIntegrationRequest{ - Metadata: &integrations.IntegrationMetadata{ + return &cxsdk.SaveIntegrationRequest{ + Metadata: &cxsdk.IntegrationMetadata{ IntegrationKey: wrapperspb.String(plan.IntegrationKey.ValueString()), Version: wrapperspb.String(plan.Version.ValueString()), - SpecificData: &integrations.IntegrationMetadata_IntegrationParameters{ - IntegrationParameters: &integrations.GenericIntegrationParameters{ + SpecificData: &cxsdk.IntegrationMetadataIntegrationParameters{ + IntegrationParameters: &cxsdk.GenericIntegrationParameters{ Parameters: parameters, }, }, @@ -223,19 +224,19 @@ func extractCreateIntegration(ctx context.Context, plan *IntegrationResourceMode }, diag.Diagnostics{} } -func extractUpdateIntegration(ctx context.Context, plan *IntegrationResourceModel) (*integrations.UpdateIntegrationRequest, diag.Diagnostics) { +func extractUpdateIntegration(plan *IntegrationResourceModel) (*cxsdk.UpdateIntegrationRequest, diag.Diagnostics) { - parameters, diags := dynamicToParameters(ctx, plan.Parameters) + parameters, diags := dynamicToParameters(plan.Parameters) if diags.HasError() { return nil, diags } - return &integrations.UpdateIntegrationRequest{ + return &cxsdk.UpdateIntegrationRequest{ Id: wrapperspb.String(plan.ID.ValueString()), - Metadata: &integrations.IntegrationMetadata{ + Metadata: &cxsdk.IntegrationMetadata{ IntegrationKey: wrapperspb.String(plan.IntegrationKey.ValueString()), Version: wrapperspb.String(plan.Version.ValueString()), - SpecificData: &integrations.IntegrationMetadata_IntegrationParameters{ - IntegrationParameters: &integrations.GenericIntegrationParameters{ + SpecificData: &cxsdk.IntegrationMetadataIntegrationParameters{ + IntegrationParameters: &cxsdk.GenericIntegrationParameters{ Parameters: parameters, }, }, @@ -243,8 +244,8 @@ func extractUpdateIntegration(ctx context.Context, plan *IntegrationResourceMode }, diag.Diagnostics{} } -func dynamicToParameters(ctx context.Context, planParameters types.Dynamic) ([]*integrations.Parameter, diag.Diagnostics) { - parameters := make([]*integrations.Parameter, 0) +func dynamicToParameters(planParameters types.Dynamic) ([]*cxsdk.IntegrationParameter, diag.Diagnostics) { + parameters := make([]*cxsdk.IntegrationParameter, 0) switch p := planParameters.UnderlyingValue().(type) { case types.Object: @@ -253,21 +254,21 @@ func dynamicToParameters(ctx context.Context, planParameters types.Dynamic) ([]* for key, value := range obj.Attributes() { switch v := value.(type) { case types.String: - parameters = append(parameters, &integrations.Parameter{ + parameters = append(parameters, &cxsdk.IntegrationParameter{ Key: key, - Value: &integrations.Parameter_StringValue{StringValue: wrapperspb.String(v.ValueString())}, + Value: &cxsdk.IntegrationParameterStringValue{StringValue: wrapperspb.String(v.ValueString())}, }) case types.Number: f, _ := v.ValueBigFloat().Float64() - parameters = append(parameters, &integrations.Parameter{ + parameters = append(parameters, &cxsdk.IntegrationParameter{ Key: key, - Value: &integrations.Parameter_NumericValue{NumericValue: wrapperspb.Double(f)}, + Value: &cxsdk.IntegrationParameterNumericValue{NumericValue: wrapperspb.Double(f)}, }) case types.Bool: b := v.ValueBool() - parameters = append(parameters, &integrations.Parameter{ + parameters = append(parameters, &cxsdk.IntegrationParameter{ Key: key, - Value: &integrations.Parameter_BooleanValue{BooleanValue: wrapperspb.Bool(b)}, + Value: &cxsdk.IntegrationParameterBooleanValue{BooleanValue: wrapperspb.Bool(b)}, }) case types.Tuple: @@ -281,13 +282,12 @@ func dynamicToParameters(ctx context.Context, planParameters types.Dynamic) ([]* default: return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Invalid parameter type", fmt.Sprintf("Invalid parameter type %v: %v", v, p))} } - } - parameters = append(parameters, &integrations.Parameter{ + parameters = append(parameters, &cxsdk.IntegrationParameter{ Key: key, - Value: &integrations.Parameter_StringList_{ - StringList: &integrations.Parameter_StringList{ + Value: &cxsdk.IntegrationParameterStringList{ + StringList: &cxsdk.IntegrationParameterStringListInner{ Values: strings, }}, }) @@ -301,7 +301,7 @@ func dynamicToParameters(ctx context.Context, planParameters types.Dynamic) ([]* return parameters, diag.Diagnostics{} } -func integrationDetail(resp *integrations.GetDeployedIntegrationResponse, keys []string) (*IntegrationResourceModel, diag.Diagnostics) { +func integrationDetail(resp *cxsdk.GetDeployedIntegrationResponse, keys []string) (*IntegrationResourceModel, diag.Diagnostics) { integration := resp.Integration parameters, diags := parametersToDynamic(integration.GetParameters(), keys) @@ -317,28 +317,28 @@ func integrationDetail(resp *integrations.GetDeployedIntegrationResponse, keys [ }, diag.Diagnostics{} } -func parametersToDynamic(parameters []*integrations.Parameter, keys []string) (types.Dynamic, diag.Diagnostics) { +func parametersToDynamic(parameters []*cxsdk.IntegrationParameter, keys []string) (types.Dynamic, diag.Diagnostics) { obj := make(map[string]attr.Value, len(parameters)) t := make(map[string]attr.Type, len(parameters)) for _, parameter := range parameters { if slices.Contains(keys, parameter.Key) { switch v := parameter.Value.(type) { - case *integrations.Parameter_StringValue: + case *cxsdk.IntegrationParameterStringValue: obj[parameter.Key] = types.StringValue(v.StringValue.Value) t[parameter.Key] = types.StringType - case *integrations.Parameter_ApiKey: + case *cxsdk.IntegrationParameterAPIKey: obj[parameter.Key] = types.StringValue(v.ApiKey.Value.Value) t[parameter.Key] = types.StringType - case *integrations.Parameter_SensitiveData: + case *cxsdk.IntegrationParameterSensitiveData: obj[parameter.Key] = types.StringValue("") t[parameter.Key] = types.StringType - case *integrations.Parameter_NumericValue: + case *cxsdk.IntegrationParameterNumericValue: obj[parameter.Key] = types.NumberValue(big.NewFloat(v.NumericValue.Value)) t[parameter.Key] = types.NumberType - case *integrations.Parameter_BooleanValue: + case *cxsdk.IntegrationParameterBooleanValue: obj[parameter.Key] = types.BoolValue(v.BooleanValue.Value) t[parameter.Key] = types.BoolType - case *integrations.Parameter_StringList_: + case *cxsdk.IntegrationParameterStringList: values := make([]attr.Value, len(v.StringList.Values)) assignedTypes := make([]attr.Type, len(v.StringList.Values)) for i, value := range v.StringList.Values { @@ -370,7 +370,7 @@ func (r *IntegrationResource) Read(ctx context.Context, req resource.ReadRequest return } - getIntegrationReq := &integrations.GetDeployedIntegrationRequest{ + getIntegrationReq := &cxsdk.GetDeployedIntegrationRequest{ IntegrationId: wrapperspb.String(plan.ID.ValueString()), } log.Printf("[INFO] Reading Integration: %s", protojson.Format(getIntegrationReq)) @@ -416,14 +416,14 @@ func (r *IntegrationResource) Update(ctx context.Context, req resource.UpdateReq return } - updateReq, diags := extractUpdateIntegration(ctx, plan) + updateReq, diags := extractUpdateIntegration(plan) if diags.HasError() { resp.Diagnostics.Append(diags...) return } log.Printf("[INFO] Updating Integration: %s", protojson.Format(updateReq)) - _, testErr := r.client.TestIntegration(ctx, &integrations.TestIntegrationRequest{ + _, testErr := r.client.Test(ctx, &cxsdk.TestIntegrationRequest{ IntegrationData: updateReq.Metadata, }) if testErr != nil { @@ -443,7 +443,7 @@ func (r *IntegrationResource) Update(ctx context.Context, req resource.UpdateReq log.Printf("[INFO] Updated scope: %s", plan.ID.ValueString()) - getIntegrationReq := &integrations.GetDeployedIntegrationRequest{ + getIntegrationReq := &cxsdk.GetDeployedIntegrationRequest{ IntegrationId: wrapperspb.String(plan.ID.ValueString()), } getIntegrationResp, err := r.client.Get(ctx, getIntegrationReq) @@ -482,7 +482,7 @@ func (r *IntegrationResource) Delete(ctx context.Context, req resource.DeleteReq log.Printf("[INFO] Deleting Integration: %s", state.ID.ValueString()) - deleteReq := &integrations.DeleteIntegrationRequest{IntegrationId: wrapperspb.String(state.ID.ValueString())} + deleteReq := &cxsdk.DeleteIntegrationRequest{IntegrationId: wrapperspb.String(state.ID.ValueString())} log.Printf("[INFO] Deleting Integration: %s", protojson.Format(deleteReq)) _, err := r.client.Delete(ctx, deleteReq) if err != nil { diff --git a/coralogix/resource_coralogix_integration_test.go b/coralogix/resource_coralogix_integration_test.go index 9885ff65..3feea733 100644 --- a/coralogix/resource_coralogix_integration_test.go +++ b/coralogix/resource_coralogix_integration_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package coralogix import ( @@ -7,8 +21,8 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - integrations "terraform-provider-coralogix/coralogix/clientset/grpc/integrations" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "google.golang.org/protobuf/types/known/wrapperspb" @@ -75,7 +89,7 @@ func testAccCheckIntegrationDestroy(s *terraform.State) error { continue } - _, err := client.Get(ctx, &integrations.GetDeployedIntegrationRequest{ + _, err := client.Get(ctx, &cxsdk.GetDeployedIntegrationRequest{ IntegrationId: wrapperspb.String(rs.Primary.ID), }) if err == nil { diff --git a/coralogix/resource_coralogix_recording_rules_groups_set.go b/coralogix/resource_coralogix_recording_rules_groups_set.go index 9e091b4f..845577e4 100644 --- a/coralogix/resource_coralogix_recording_rules_groups_set.go +++ b/coralogix/resource_coralogix_recording_rules_groups_set.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,8 +20,8 @@ import ( "log" "terraform-provider-coralogix/coralogix/clientset" - rrgs "terraform-provider-coralogix/coralogix/clientset/grpc/recording-rules-groups-sets/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" @@ -59,7 +59,7 @@ func NewRecordingRuleGroupSetResource() resource.Resource { } type RecordingRuleGroupSetResource struct { - client *clientset.RecordingRulesGroupsSetsClient + client *cxsdk.RecordingRuleGroupSetsClient } func (r *RecordingRuleGroupSetResource) UpgradeState(_ context.Context) map[int64]resource.StateUpgrader { @@ -378,7 +378,7 @@ func (r *RecordingRuleGroupSetResource) Create(ctx context.Context, req resource } log.Printf("[INFO] Creating new recogring-rule-group-set: %s", protojson.Format(createRequest)) - createResp, err := r.client.CreateRecordingRuleGroupsSet(ctx, createRequest) + createResp, err := r.client.Create(ctx, createRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( @@ -392,7 +392,7 @@ func (r *RecordingRuleGroupSetResource) Create(ctx context.Context, req resource plan.ID = types.StringValue(id) log.Printf("[INFO] Reading recording-rule-group-set id: %s", id) - getResp, err := r.client.GetRecordingRuleGroupsSet(ctx, &rrgs.FetchRuleGroupSet{Id: id}) + getResp, err := r.client.Get(ctx, &cxsdk.GetRuleGroupSetRequest{Id: id}) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -422,7 +422,7 @@ func (r *RecordingRuleGroupSetResource) Create(ctx context.Context, req resource resp.Diagnostics.Append(diags...) } -func flattenRecordingRuleGroupSet(ctx context.Context, plan *RecordingRuleGroupSetResourceModel, resp *rrgs.OutRuleGroupSet) (*RecordingRuleGroupSetResourceModel, diag.Diagnostics) { +func flattenRecordingRuleGroupSet(ctx context.Context, plan *RecordingRuleGroupSetResourceModel, resp *cxsdk.GetRuleGroupSetResponse) (*RecordingRuleGroupSetResourceModel, diag.Diagnostics) { if yamlContent := plan.YamlContent.ValueString(); yamlContent != "" { groups, diags := flattenRecordingRuleGroups(ctx, resp.GetGroups()) if diags.HasError() { @@ -450,7 +450,7 @@ func flattenRecordingRuleGroupSet(ctx context.Context, plan *RecordingRuleGroupS }, nil } -func flattenRecordingRuleGroups(ctx context.Context, groups []*rrgs.OutRuleGroup) (types.Set, diag.Diagnostics) { +func flattenRecordingRuleGroups(ctx context.Context, groups []*cxsdk.OutRuleGroup) (types.Set, diag.Diagnostics) { var diags diag.Diagnostics var groupsObjects []types.Object for _, group := range groups { @@ -496,7 +496,7 @@ func recordingRuleAttributes() map[string]attr.Type { } } -func flattenRecordingRuleGroup(ctx context.Context, group *rrgs.OutRuleGroup) (*RecordingRuleGroupModel, diag.Diagnostics) { +func flattenRecordingRuleGroup(ctx context.Context, group *cxsdk.OutRuleGroup) (*RecordingRuleGroupModel, diag.Diagnostics) { rules, diags := flattenRecordingRules(ctx, group.GetRules()) if diags.HasError() { return nil, diags @@ -510,7 +510,7 @@ func flattenRecordingRuleGroup(ctx context.Context, group *rrgs.OutRuleGroup) (* }, nil } -func flattenRecordingRules(ctx context.Context, rules []*rrgs.OutRule) (types.List, diag.Diagnostics) { +func flattenRecordingRules(ctx context.Context, rules []*cxsdk.OutRule) (types.List, diag.Diagnostics) { var diags diag.Diagnostics var rulesObjects []types.Object for _, rule := range rules { @@ -533,7 +533,7 @@ func flattenRecordingRules(ctx context.Context, rules []*rrgs.OutRule) (types.Li return types.ListValueFrom(ctx, types.ObjectType{AttrTypes: recordingRuleAttributes()}, rulesObjects) } -func flattenRecordingRule(ctx context.Context, rule *rrgs.OutRule) (*RecordingRuleModel, diag.Diagnostics) { +func flattenRecordingRule(ctx context.Context, rule *cxsdk.OutRule) (*RecordingRuleModel, diag.Diagnostics) { labels, diags := types.MapValueFrom(ctx, types.StringType, rule.GetLabels()) if diags.HasError() { return nil, diags @@ -556,8 +556,8 @@ func (r *RecordingRuleGroupSetResource) Read(ctx context.Context, req resource.R id := state.ID.ValueString() log.Printf("[INFO] Reading recording-rule-group-set id: %s", id) - getReq := &rrgs.FetchRuleGroupSet{Id: id} - getResp, err := r.client.GetRecordingRuleGroupsSet(ctx, getReq) + getReq := &cxsdk.GetRuleGroupSetRequest{Id: id} + getResp, err := r.client.Get(ctx, getReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -600,7 +600,7 @@ func (r *RecordingRuleGroupSetResource) Update(ctx context.Context, req resource } log.Printf("[INFO] Updating recording-rule-group-set: %s", protojson.Format(updateRequest)) - _, err := r.client.UpdateRecordingRuleGroupsSet(ctx, updateRequest) + _, err := r.client.Update(ctx, updateRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( @@ -611,8 +611,8 @@ func (r *RecordingRuleGroupSetResource) Update(ctx context.Context, req resource } log.Printf("[INFO] Reading recording-rule-group-set id: %s", plan.ID.ValueString()) - getReq := &rrgs.FetchRuleGroupSet{Id: plan.ID.ValueString()} - getResp, err := r.client.GetRecordingRuleGroupsSet(ctx, getReq) + getReq := &cxsdk.GetRuleGroupSetRequest{Id: plan.ID.ValueString()} + getResp, err := r.client.Get(ctx, getReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -649,8 +649,8 @@ func (r *RecordingRuleGroupSetResource) Delete(ctx context.Context, req resource } id := state.ID.ValueString() log.Printf("[INFO] Deleting recording-rule-group-set id: %s", id) - deleteReq := &rrgs.DeleteRuleGroupSet{Id: id} - _, err := r.client.DeleteRecordingRuleGroupsSet(ctx, deleteReq) + deleteReq := &cxsdk.DeleteRuleGroupSetRequest{Id: id} + _, err := r.client.Delete(ctx, deleteReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -689,7 +689,7 @@ type RecordingRuleModel struct { Labels types.Map `tfsdk:"labels"` } -func expandRecordingRulesGroupsSet(ctx context.Context, plan *RecordingRuleGroupSetResourceModel) (*rrgs.CreateRuleGroupSet, diag.Diagnostics) { +func expandRecordingRulesGroupsSet(ctx context.Context, plan *RecordingRuleGroupSetResourceModel) (*cxsdk.CreateRuleGroupSetRequest, diag.Diagnostics) { if yamlContent := plan.YamlContent.ValueString(); yamlContent != "" { return expandRecordingRulesGroupsSetFromYaml(yamlContent) } @@ -697,17 +697,17 @@ func expandRecordingRulesGroupsSet(ctx context.Context, plan *RecordingRuleGroup return expandRecordingRulesGroupSetExplicitly(ctx, plan) } -func expandUpdateRecordingRulesGroupsSet(ctx context.Context, plan *RecordingRuleGroupSetResourceModel) (*rrgs.UpdateRuleGroupSet, diag.Diagnostics) { +func expandUpdateRecordingRulesGroupsSet(ctx context.Context, plan *RecordingRuleGroupSetResourceModel) (*cxsdk.UpdateRuleGroupSetRequest, diag.Diagnostics) { if yamlContent := plan.YamlContent.ValueString(); yamlContent != "" { rrg, diags := expandRecordingRulesGroupsSetFromYaml(yamlContent) if diags.HasError() { return nil, diags } - return &rrgs.UpdateRuleGroupSet{ + return &cxsdk.UpdateRuleGroupSetRequest{ Id: plan.ID.ValueString(), Groups: rrg.Groups, - Name: rrg.Name, + // Name: rrg.Name, }, nil } @@ -716,38 +716,38 @@ func expandUpdateRecordingRulesGroupsSet(ctx context.Context, plan *RecordingRul return nil, diags } - return &rrgs.UpdateRuleGroupSet{ + return &cxsdk.UpdateRuleGroupSetRequest{ Id: plan.ID.ValueString(), Groups: rrg.Groups, - Name: rrg.Name, + // Name: rrg.Name, }, nil } -func expandRecordingRulesGroupsSetFromYaml(yamlContent string) (*rrgs.CreateRuleGroupSet, diag.Diagnostics) { - var result rrgs.CreateRuleGroupSet +func expandRecordingRulesGroupsSetFromYaml(yamlContent string) (*cxsdk.CreateRuleGroupSetRequest, diag.Diagnostics) { + var result cxsdk.CreateRuleGroupSetRequest if err := yaml.Unmarshal([]byte(yamlContent), &result); err != nil { return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error on unmarshal yaml_content", err.Error())} } return &result, nil } -func expandRecordingRulesGroupSetExplicitly(ctx context.Context, plan *RecordingRuleGroupSetResourceModel) (*rrgs.CreateRuleGroupSet, diag.Diagnostics) { +func expandRecordingRulesGroupSetExplicitly(ctx context.Context, plan *RecordingRuleGroupSetResourceModel) (*cxsdk.CreateRuleGroupSetRequest, diag.Diagnostics) { name := plan.Name.ValueString() groups, diags := expandRecordingRulesGroups(ctx, plan.Groups) if diags.HasError() { return nil, diags } - return &rrgs.CreateRuleGroupSet{ + return &cxsdk.CreateRuleGroupSetRequest{ Name: &name, Groups: groups, }, nil } -func expandRecordingRulesGroups(ctx context.Context, groups types.Set) ([]*rrgs.InRuleGroup, diag.Diagnostics) { +func expandRecordingRulesGroups(ctx context.Context, groups types.Set) ([]*cxsdk.InRuleGroup, diag.Diagnostics) { var diags diag.Diagnostics var groupsObjects []types.Object - var expandedGroups []*rrgs.InRuleGroup + var expandedGroups []*cxsdk.InRuleGroup groups.ElementsAs(ctx, &groupsObjects, true) for _, groupObject := range groupsObjects { @@ -767,7 +767,7 @@ func expandRecordingRulesGroups(ctx context.Context, groups types.Set) ([]*rrgs. return expandedGroups, diags } -func expandRecordingRuleGroup(ctx context.Context, group RecordingRuleGroupModel) (*rrgs.InRuleGroup, diag.Diagnostics) { +func expandRecordingRuleGroup(ctx context.Context, group RecordingRuleGroupModel) (*cxsdk.InRuleGroup, diag.Diagnostics) { interval := uint32(group.Interval.ValueInt64()) limit := uint64(group.Limit.ValueInt64()) rules, diags := expandRecordingRules(ctx, group.Rules) @@ -775,7 +775,7 @@ func expandRecordingRuleGroup(ctx context.Context, group RecordingRuleGroupModel return nil, diags } - return &rrgs.InRuleGroup{ + return &cxsdk.InRuleGroup{ Name: group.Name.ValueString(), Interval: &interval, Limit: &limit, @@ -783,10 +783,10 @@ func expandRecordingRuleGroup(ctx context.Context, group RecordingRuleGroupModel }, nil } -func expandRecordingRules(ctx context.Context, rules types.List) ([]*rrgs.InRule, diag.Diagnostics) { +func expandRecordingRules(ctx context.Context, rules types.List) ([]*cxsdk.InRule, diag.Diagnostics) { var diags diag.Diagnostics var rulesObjects []types.Object - var expandedRules []*rrgs.InRule + var expandedRules []*cxsdk.InRule rules.ElementsAs(ctx, &rulesObjects, true) for _, ruleObject := range rulesObjects { @@ -806,13 +806,13 @@ func expandRecordingRules(ctx context.Context, rules types.List) ([]*rrgs.InRule return expandedRules, diags } -func expandRecordingRule(ctx context.Context, rule RecordingRuleModel) (*rrgs.InRule, diag.Diagnostics) { +func expandRecordingRule(ctx context.Context, rule RecordingRuleModel) (*cxsdk.InRule, diag.Diagnostics) { labels, diags := typeMapToStringMap(ctx, rule.Labels) if diags.HasError() { return nil, diags } - return &rrgs.InRule{ + return &cxsdk.InRule{ Record: rule.Record.ValueString(), Expr: rule.Expr.ValueString(), Labels: labels, @@ -834,7 +834,7 @@ func (v recordingRulesGroupYamlContentValidator) ValidateString(_ context.Contex return } - var set rrgs.CreateRuleGroupSet + var set cxsdk.CreateRuleGroupSetRequest if err := yaml.Unmarshal([]byte(req.ConfigValue.ValueString()), &set); err != nil { resp.Diagnostics.AddError("error on validating yaml_content", err.Error()) } diff --git a/coralogix/resource_coralogix_recording_rules_groups_set_test.go b/coralogix/resource_coralogix_recording_rules_groups_set_test.go index 2de11a9f..36550ed6 100644 --- a/coralogix/resource_coralogix_recording_rules_groups_set_test.go +++ b/coralogix/resource_coralogix_recording_rules_groups_set_test.go @@ -22,8 +22,8 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - recordingrules "terraform-provider-coralogix/coralogix/clientset/grpc/recording-rules-groups-sets/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" ) @@ -105,8 +105,8 @@ func testAccCheckRecordingRulesGroupDestroy(s *terraform.State) error { continue } - req := &recordingrules.FetchRuleGroupSet{Id: rs.Primary.ID} - resp, err := client.GetRecordingRuleGroupsSet(ctx, req) + req := &cxsdk.GetRuleGroupSetRequest{Id: rs.Primary.ID} + resp, err := client.Get(ctx, req) if err == nil { if resp != nil && resp.Id == rs.Primary.ID { return fmt.Errorf("coralogix_recording_rules_groups_set still exists: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_rules_group.go b/coralogix/resource_coralogix_rules_group.go index 500a3ce2..0a8a0f9e 100644 --- a/coralogix/resource_coralogix_rules_group.go +++ b/coralogix/resource_coralogix_rules_group.go @@ -18,11 +18,12 @@ import ( "context" "fmt" "log" + "strings" "time" "terraform-provider-coralogix/coralogix/clientset" - rulesv1 "terraform-provider-coralogix/coralogix/clientset/grpc/rules-groups/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/grpc/codes" @@ -35,41 +36,37 @@ import ( ) var ( - rulesSchemaSeverityToProtoSeverity = map[string]string{ - "Debug": "VALUE_DEBUG_OR_UNSPECIFIED", - "Verbose": "VALUE_VERBOSE", - "Info": "VALUE_INFO", - "Warning": "VALUE_WARNING", - "Error": "VALUE_ERROR", - "Critical": "VALUE_CRITICAL", - } - rulesProtoSeverityToSchemaSeverity = reverseMapStrings(rulesSchemaSeverityToProtoSeverity) - rulesValidSeverities = getKeysStrings(rulesSchemaSeverityToProtoSeverity) - rulesSchemaDestinationFieldToProtoDestinationField = map[string]rulesv1.JsonExtractParameters_DestinationField{ - "Category": rulesv1.JsonExtractParameters_DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED, - "Class": rulesv1.JsonExtractParameters_DESTINATION_FIELD_CLASSNAME, - "Method": rulesv1.JsonExtractParameters_DESTINATION_FIELD_METHODNAME, - "ThreadID": rulesv1.JsonExtractParameters_DESTINATION_FIELD_THREADID, - "Severity": rulesv1.JsonExtractParameters_DESTINATION_FIELD_SEVERITY, - "Text": rulesv1.JsonExtractParameters_DESTINATION_FIELD_TEXT, + rulesSchemaSeverityToProtoSeverity = map[string]cxsdk.SeverityConstraintValue{ + "debug": cxsdk.SeverityConstraintValueDebugOrUnspecified, + "verbose": cxsdk.SeverityConstraintValueVerbose, + "info": cxsdk.SeverityConstraintValueInfo, + "warning": cxsdk.SeverityConstraintValueWarning, + "error": cxsdk.SeverityConstraintValueError, + "critical": cxsdk.SeverityConstraintValueCritical, + } + rulesProtoSeverityToSchemaSeverity = ReverseMap(rulesSchemaSeverityToProtoSeverity) + rulesValidSeverities = GetKeys(rulesSchemaSeverityToProtoSeverity) + rulesSchemaDestinationFieldToProtoDestinationField = map[string]cxsdk.JSONExtractParametersDestinationField{ + "Category": cxsdk.JSONExtractParametersDestinationFieldCategoryOrUnspecified, + "Class": cxsdk.JSONExtractParametersDestinationFieldClassName, + "Method": cxsdk.JSONExtractParametersDestinationFieldMethodName, + "ThreadID": cxsdk.JSONExtractParametersDestinationFieldThreadID, + "Severity": cxsdk.JSONExtractParametersDestinationFieldSeverity, + "Text": cxsdk.JSONExtractParametersDestinationFieldText, } rulesProtoDestinationFieldToSchemaDestinationField = ReverseMap(rulesSchemaDestinationFieldToProtoDestinationField) rulesValidDestinationFields = GetKeys(rulesSchemaDestinationFieldToProtoDestinationField) - rulesSchemaFormatStandardToProtoFormatStandard = map[string]string{ - "Strftime": "FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED", - "JavaSDF": "FORMAT_STANDARD_JAVASDF", - "Golang": "FORMAT_STANDARD_GOLANG", - "SecondTS": "FORMAT_STANDARD_SECONDSTS", - "MilliTS": "FORMAT_STANDARD_MILLITS", - "MicroTS": "FORMAT_STANDARD_MICROTS", - "NanoTS": "FORMAT_STANDARD_NANOTS", - } - rulesProtoFormatStandardToSchemaFormatStandard = reverseMapStrings(rulesSchemaFormatStandardToProtoFormatStandard) - rulesValidFormatStandards = getKeysStrings(rulesSchemaFormatStandardToProtoFormatStandard) - createParsingRuleURL = "com.coralogix.rules.v1.RuleGroupsService/CreateRuleGroup" - getParsingRuleURL = "com.coralogix.rules.v1.RuleGroupsService/GetRuleGroup" - updateParsingRuleURL = "com.coralogix.rules.v1.RuleGroupsService/UpdateRuleGroup" - deleteParsingRuleURL = "com.coralogix.rules.v1.RuleGroupsService/DeleteRuleGroup" + rulesSchemaFormatStandardToProtoFormatStandard = map[string]cxsdk.ExtractTimestampParametersFormatStandard{ + "strftime": cxsdk.ExtractTimestampParametersFormatStandardStrftimeOrUnspecified, + "javaSDF": cxsdk.ExtractTimestampParametersFormatStandardJavasdf, + "golang": cxsdk.ExtractTimestampParametersFormatStandardGolang, + "secondTS": cxsdk.ExtractTimestampParametersFormatStandardSecondsTS, + "milliTS": cxsdk.ExtractTimestampParametersFormatStandardMilliTS, + "microTS": cxsdk.ExtractTimestampParametersFormatStandardMicroTS, + "nanoTS": cxsdk.ExtractTimestampParametersFormatStandardNanoTS, + } + rulesProtoFormatStandardToSchemaFormatStandard = ReverseMap(rulesSchemaFormatStandardToProtoFormatStandard) + rulesValidFormatStandards = GetKeys(rulesSchemaFormatStandardToProtoFormatStandard) ) func resourceCoralogixRulesGroup() *schema.Resource { @@ -483,10 +480,10 @@ func resourceCoralogixRulesGroupCreate(ctx context.Context, d *schema.ResourceDa } log.Printf("[INFO] Creating new rule-group: %s", protojson.Format(createRuleGroupRequest)) - ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().CreateRuleGroup(ctx, createRuleGroupRequest) + ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().Create(ctx, createRuleGroupRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, createParsingRuleURL, protojson.Format(createRuleGroupRequest))) + return diag.Errorf(formatRpcErrors(err, cxsdk.RuleGroupsCreateRuleGroupRPC, protojson.Format(createRuleGroupRequest))) } ruleGroup := ruleGroupResp.GetRuleGroup() log.Printf("[INFO] Submitted new rule-group: %s", protojson.Format(ruleGroup)) @@ -497,12 +494,12 @@ func resourceCoralogixRulesGroupCreate(ctx context.Context, d *schema.ResourceDa func resourceCoralogixRulesGroupRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { id := d.Id() - getRuleGroupRequest := &rulesv1.GetRuleGroupRequest{ + getRuleGroupRequest := &cxsdk.GetRuleGroupRequest{ GroupId: id, } log.Printf("[INFO] Reading rule-group %s", id) - ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().GetRuleGroup(ctx, getRuleGroupRequest) + ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().Get(ctx, getRuleGroupRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -513,7 +510,7 @@ func resourceCoralogixRulesGroupRead(ctx context.Context, d *schema.ResourceData Detail: fmt.Sprintf("%s will be recreated when you apply", id), }} } - return diag.Errorf(formatRpcErrors(err, getParsingRuleURL, protojson.Format(getRuleGroupRequest))) + return diag.Errorf(formatRpcErrors(err, cxsdk.RuleGroupsGetRuleGroupRPC, protojson.Format(getRuleGroupRequest))) } ruleGroup := ruleGroupResp.GetRuleGroup() log.Printf("[INFO] Received rule-group: %s", protojson.Format(ruleGroup)) @@ -528,16 +525,16 @@ func resourceCoralogixRulesGroupUpdate(ctx context.Context, d *schema.ResourceDa } id := d.Id() - updateRuleGroupRequest := &rulesv1.UpdateRuleGroupRequest{ + updateRuleGroupRequest := &cxsdk.UpdateRuleGroupRequest{ GroupId: wrapperspb.String(id), RuleGroup: req, } log.Printf("[INFO] Updating rule-group %s to %s", id, protojson.Format(updateRuleGroupRequest)) - ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().UpdateRuleGroup(ctx, updateRuleGroupRequest) + ruleGroupResp, err := meta.(*clientset.ClientSet).RuleGroups().Update(ctx, updateRuleGroupRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, updateParsingRuleURL, protojson.Format(updateRuleGroupRequest))) + return diag.Errorf(formatRpcErrors(err, cxsdk.RuleGroupsUpdateRuleGroupRPC, protojson.Format(updateRuleGroupRequest))) } log.Printf("[INFO] Submitted updated rule-group: %s", protojson.Format(ruleGroupResp)) @@ -546,15 +543,15 @@ func resourceCoralogixRulesGroupUpdate(ctx context.Context, d *schema.ResourceDa func resourceCoralogixRulesGroupDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { id := d.Id() - deleteRuleGroupRequest := &rulesv1.DeleteRuleGroupRequest{ + deleteRuleGroupRequest := &cxsdk.DeleteRuleGroupRequest{ GroupId: id, } log.Printf("[INFO] Deleting rule-group %s", id) - _, err := meta.(*clientset.ClientSet).RuleGroups().DeleteRuleGroup(ctx, deleteRuleGroupRequest) + _, err := meta.(*clientset.ClientSet).RuleGroups().Delete(ctx, deleteRuleGroupRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - return diag.Errorf(formatRpcErrors(err, deleteParsingRuleURL, protojson.Format(deleteRuleGroupRequest))) + return diag.Errorf(formatRpcErrors(err, cxsdk.RuleGroupsDeleteRuleGroupRPC, protojson.Format(deleteRuleGroupRequest))) } log.Printf("[INFO] rule-group %s deleted", id) @@ -562,7 +559,7 @@ func resourceCoralogixRulesGroupDelete(ctx context.Context, d *schema.ResourceDa return nil } -func extractCreateRuleGroupRequest(d *schema.ResourceData) (*rulesv1.CreateRuleGroupRequest, error) { +func extractCreateRuleGroupRequest(d *schema.ResourceData) (*cxsdk.CreateRuleGroupRequest, error) { name := wrapperspb.String(d.Get("name").(string)) description := wrapperspb.String(d.Get("description").(string)) creator := wrapperspb.String(d.Get("creator").(string)) @@ -574,7 +571,7 @@ func extractCreateRuleGroupRequest(d *schema.ResourceData) (*rulesv1.CreateRuleG return nil, err } order := wrapperspb.UInt32(uint32(d.Get("order").(int))) - createRuleGroupRequest := &rulesv1.CreateRuleGroupRequest{ + createRuleGroupRequest := &cxsdk.CreateRuleGroupRequest{ Name: name, Description: description, Creator: creator, @@ -587,7 +584,7 @@ func extractCreateRuleGroupRequest(d *schema.ResourceData) (*rulesv1.CreateRuleG return createRuleGroupRequest, nil } -func setRuleGroup(d *schema.ResourceData, ruleGroup *rulesv1.RuleGroup) diag.Diagnostics { +func setRuleGroup(d *schema.ResourceData, ruleGroup *cxsdk.RuleGroup) diag.Diagnostics { if err := d.Set("active", ruleGroup.GetEnabled().GetValue()); err != nil { return diag.FromErr(err) } @@ -635,44 +632,43 @@ func setRuleGroup(d *schema.ResourceData, ruleGroup *rulesv1.RuleGroup) diag.Dia return nil } -func expandRuleMatcher(d *schema.ResourceData) []*rulesv1.RuleMatcher { +func expandRuleMatcher(d *schema.ResourceData) []*cxsdk.RuleMatcher { applications := d.Get("applications").(*schema.Set).List() subsystems := d.Get("subsystems").(*schema.Set).List() severities := d.Get("severities").(*schema.Set).List() - ruleMatchers := make([]*rulesv1.RuleMatcher, 0, len(applications)+len(subsystems)+len(severities)) + ruleMatchers := make([]*cxsdk.RuleMatcher, 0, len(applications)+len(subsystems)+len(severities)) for _, app := range applications { constraintStr := wrapperspb.String(app.(string)) - applicationNameConstraint := rulesv1.ApplicationNameConstraint{Value: constraintStr} - ruleMatcherApplicationName := rulesv1.RuleMatcher_ApplicationName{ApplicationName: &applicationNameConstraint} - ruleMatchers = append(ruleMatchers, &rulesv1.RuleMatcher{Constraint: &ruleMatcherApplicationName}) + applicationNameConstraint := cxsdk.ApplicationNameConstraint{Value: constraintStr} + ruleMatcherApplicationName := cxsdk.RuleMatcherApplicationName{ApplicationName: &applicationNameConstraint} + ruleMatchers = append(ruleMatchers, &cxsdk.RuleMatcher{Constraint: &ruleMatcherApplicationName}) } for _, subSys := range subsystems { constraintStr := wrapperspb.String(subSys.(string)) - subsystemNameConstraint := rulesv1.SubsystemNameConstraint{Value: constraintStr} - ruleMatcherApplicationName := rulesv1.RuleMatcher_SubsystemName{SubsystemName: &subsystemNameConstraint} - ruleMatchers = append(ruleMatchers, &rulesv1.RuleMatcher{Constraint: &ruleMatcherApplicationName}) + subsystemNameConstraint := cxsdk.SubsystemNameConstraint{Value: constraintStr} + ruleMatcherApplicationName := cxsdk.RuleMatcherSubsystemName{SubsystemName: &subsystemNameConstraint} + ruleMatchers = append(ruleMatchers, &cxsdk.RuleMatcher{Constraint: &ruleMatcherApplicationName}) } for _, sev := range severities { constraintEnum := expandRuledSeverity(sev.(string)) - severityConstraint := rulesv1.SeverityConstraint{Value: constraintEnum} - ruleMatcherSeverity := rulesv1.RuleMatcher_Severity{Severity: &severityConstraint} - ruleMatchers = append(ruleMatchers, &rulesv1.RuleMatcher{Constraint: &ruleMatcherSeverity}) + severityConstraint := cxsdk.SeverityConstraint{Value: constraintEnum} + ruleMatcherSeverity := cxsdk.RuleMatcherSeverity{Severity: &severityConstraint} + ruleMatchers = append(ruleMatchers, &cxsdk.RuleMatcher{Constraint: &ruleMatcherSeverity}) } return ruleMatchers } -func expandRuledSeverity(severity string) rulesv1.SeverityConstraint_Value { - sevStr := rulesSchemaSeverityToProtoSeverity[severity] - return rulesv1.SeverityConstraint_Value(rulesv1.SeverityConstraint_Value_value[sevStr]) +func expandRuledSeverity(severity string) cxsdk.SeverityConstraintValue { + return cxsdk.SeverityConstraintValue(rulesSchemaSeverityToProtoSeverity[strings.ToLower(severity)]) } -func expandRuleSubgroups(v interface{}) ([]*rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup, error) { +func expandRuleSubgroups(v interface{}) ([]*cxsdk.CreateRuleGroupRequestCreateRuleSubgroup, error) { s := v.([]interface{}) - ruleSubgroups := make([]*rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup, 0, len(s)) + ruleSubgroups := make([]*cxsdk.CreateRuleGroupRequestCreateRuleSubgroup, 0, len(s)) for i, o := range s { m := o.(map[string]interface{}) rsg, err := expandRuleSubgroup(m) @@ -690,7 +686,7 @@ func expandRuleSubgroups(v interface{}) ([]*rulesv1.CreateRuleGroupRequest_Creat return ruleSubgroups, nil } -func expandRuleSubgroup(m map[string]interface{}) (*rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup, error) { +func expandRuleSubgroup(m map[string]interface{}) (*cxsdk.CreateRuleGroupRequestCreateRuleSubgroup, error) { rules, err := expandRules(m["rules"].([]interface{})) if err != nil { return nil, err @@ -703,15 +699,15 @@ func expandRuleSubgroup(m map[string]interface{}) (*rulesv1.CreateRuleGroupReque order = wrapperspb.UInt32(uint32(o)) } - return &rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup{ + return &cxsdk.CreateRuleGroupRequestCreateRuleSubgroup{ Rules: rules, Enabled: active, Order: order, }, nil } -func expandRules(s []interface{}) ([]*rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule, error) { - rules := make([]*rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule, 0) +func expandRules(s []interface{}) ([]*cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule, error) { + rules := make([]*cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule, 0) for i, v := range s { rule, err := expandRule(v) if err != nil { @@ -727,9 +723,9 @@ func expandRules(s []interface{}) ([]*rulesv1.CreateRuleGroupRequest_CreateRuleS return rules, nil } -func expandRule(i interface{}) (*rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule, error) { +func expandRule(i interface{}) (*cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule, error) { m := i.(map[string]interface{}) - var rule *rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule + var rule *cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule for k, v := range m { if r, ok := v.([]interface{}); ok && len(r) > 0 { if rule == nil { @@ -745,7 +741,7 @@ func expandRule(i interface{}) (*rulesv1.CreateRuleGroupRequest_CreateRuleSubgro return rule, nil } -func expandRuleForSpecificRuleType(rulesType string, i interface{}) *rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule { +func expandRuleForSpecificRuleType(rulesType string, i interface{}) *cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule { m := i.(map[string]interface{}) var order *wrapperspb.UInt32Value @@ -753,7 +749,7 @@ func expandRuleForSpecificRuleType(rulesType string, i interface{}) *rulesv1.Cre order = wrapperspb.UInt32(uint32(o)) } - return &rulesv1.CreateRuleGroupRequest_CreateRuleSubgroup_CreateRule{ + return &cxsdk.CreateRuleGroupRequestCreateRuleSubgroupCreateRule{ Name: wrapperspb.String(m["name"].(string)), Description: wrapperspb.String(m["description"].(string)), SourceField: func() *wrapperspb.StringValue { @@ -768,78 +764,78 @@ func expandRuleForSpecificRuleType(rulesType string, i interface{}) *rulesv1.Cre } } -func expandParameters(ruleType string, m map[string]interface{}) *rulesv1.RuleParameters { - var ruleParameters rulesv1.RuleParameters +func expandParameters(ruleType string, m map[string]interface{}) *cxsdk.RuleParameters { + var ruleParameters cxsdk.RuleParameters switch ruleType { case "parse": destinationField := wrapperspb.String(m["destination_field"].(string)) rule := wrapperspb.String(m["regular_expression"].(string)) - parseParameters := rulesv1.ParseParameters{DestinationField: destinationField, Rule: rule} - ruleParametersParseParameters := rulesv1.RuleParameters_ParseParameters{ParseParameters: &parseParameters} + parseParameters := cxsdk.ParseParameters{DestinationField: destinationField, Rule: rule} + ruleParametersParseParameters := cxsdk.RuleParametersParseParameters{ParseParameters: &parseParameters} ruleParameters.RuleParameters = &ruleParametersParseParameters case "extract": rule := wrapperspb.String(m["regular_expression"].(string)) - extractParameters := rulesv1.ExtractParameters{Rule: rule} - ruleParametersExtractParameters := rulesv1.RuleParameters_ExtractParameters{ExtractParameters: &extractParameters} + extractParameters := cxsdk.ExtractParameters{Rule: rule} + ruleParametersExtractParameters := cxsdk.RuleParametersExtractParameters{ExtractParameters: &extractParameters} ruleParameters.RuleParameters = &ruleParametersExtractParameters case "json_extract": destinationField := rulesSchemaDestinationFieldToProtoDestinationField[m["destination_field"].(string)] rule := wrapperspb.String(m["json_key"].(string)) - jsonExtractParameters := rulesv1.JsonExtractParameters{DestinationFieldType: destinationField, Rule: rule} - if destinationField == rulesv1.JsonExtractParameters_DESTINATION_FIELD_TEXT { + jsonExtractParameters := cxsdk.JSONExtractParameters{DestinationFieldType: destinationField, Rule: rule} + if destinationField == cxsdk.JSONExtractParametersDestinationFieldText { jsonExtractParameters.DestinationFieldText = wrapperspb.String(m["destination_field_text"].(string)) } - ruleParametersJsonExtractParameters := rulesv1.RuleParameters_JsonExtractParameters{JsonExtractParameters: &jsonExtractParameters} + ruleParametersJsonExtractParameters := cxsdk.RuleParametersJSONExtractParameters{JsonExtractParameters: &jsonExtractParameters} ruleParameters.RuleParameters = &ruleParametersJsonExtractParameters case "replace": destinationField := wrapperspb.String(m["destination_field"].(string)) replaceNewVal := wrapperspb.String(m["replacement_string"].(string)) rule := wrapperspb.String(m["regular_expression"].(string)) - replaceParameters := rulesv1.ReplaceParameters{DestinationField: destinationField, ReplaceNewVal: replaceNewVal, Rule: rule} - ruleParametersReplaceParameters := rulesv1.RuleParameters_ReplaceParameters{ReplaceParameters: &replaceParameters} + replaceParameters := cxsdk.ReplaceParameters{DestinationField: destinationField, ReplaceNewVal: replaceNewVal, Rule: rule} + ruleParametersReplaceParameters := cxsdk.RuleParametersReplaceParameters{ReplaceParameters: &replaceParameters} ruleParameters.RuleParameters = &ruleParametersReplaceParameters case "block": keepBlockedLogs := wrapperspb.Bool(m["keep_blocked_logs"].(bool)) rule := wrapperspb.String(m["regular_expression"].(string)) if m["blocking_all_matching_blocks"].(bool) { - blockParameters := rulesv1.BlockParameters{KeepBlockedLogs: keepBlockedLogs, Rule: rule} - ruleParametersBlockParameters := rulesv1.RuleParameters_BlockParameters{BlockParameters: &blockParameters} + blockParameters := cxsdk.BlockParameters{KeepBlockedLogs: keepBlockedLogs, Rule: rule} + ruleParametersBlockParameters := cxsdk.RuleParametersBlockParameters{BlockParameters: &blockParameters} ruleParameters.RuleParameters = &ruleParametersBlockParameters } else { - allowParameters := rulesv1.AllowParameters{KeepBlockedLogs: keepBlockedLogs, Rule: rule} - ruleParametersAllowParameters := rulesv1.RuleParameters_AllowParameters{AllowParameters: &allowParameters} + allowParameters := cxsdk.AllowParameters{KeepBlockedLogs: keepBlockedLogs, Rule: rule} + ruleParametersAllowParameters := cxsdk.RuleParametersAllowParameters{AllowParameters: &allowParameters} ruleParameters.RuleParameters = &ruleParametersAllowParameters } case "extract_timestamp": standard := expandFieldFormatStandard(m["field_format_standard"].(string)) format := wrapperspb.String(m["time_format"].(string)) - extractTimestampParameters := rulesv1.ExtractTimestampParameters{Format: format, Standard: standard} - ruleParametersExtractTimestampParameters := rulesv1.RuleParameters_ExtractTimestampParameters{ExtractTimestampParameters: &extractTimestampParameters} + extractTimestampParameters := cxsdk.ExtractTimestampParameters{Format: format, Standard: standard} + ruleParametersExtractTimestampParameters := cxsdk.RuleParametersExtractTimestampParameters{ExtractTimestampParameters: &extractTimestampParameters} ruleParameters.RuleParameters = &ruleParametersExtractTimestampParameters case "remove_fields": excludedFields := interfaceSliceToStringSlice(m["excluded_fields"].([]interface{})) - removeFieldsParameters := rulesv1.RemoveFieldsParameters{Fields: excludedFields} - ruleParametersRemoveFieldsParameters := rulesv1.RuleParameters_RemoveFieldsParameters{RemoveFieldsParameters: &removeFieldsParameters} + removeFieldsParameters := cxsdk.RemoveFieldsParameters{Fields: excludedFields} + ruleParametersRemoveFieldsParameters := cxsdk.RuleParametersRemoveFieldsParameters{RemoveFieldsParameters: &removeFieldsParameters} ruleParameters.RuleParameters = &ruleParametersRemoveFieldsParameters case "json_stringify": destinationField := wrapperspb.String(m["destination_field"].(string)) deleteSource := wrapperspb.Bool(!m["keep_source_field"].(bool)) - jsonStringifyParameters := rulesv1.JsonStringifyParameters{DestinationField: destinationField, DeleteSource: deleteSource} - ruleParametersJsonStringifyParameters := rulesv1.RuleParameters_JsonStringifyParameters{JsonStringifyParameters: &jsonStringifyParameters} + jsonStringifyParameters := cxsdk.JSONStringifyParameters{DestinationField: destinationField, DeleteSource: deleteSource} + ruleParametersJsonStringifyParameters := cxsdk.RuleParametersJSONStringifyParameters{JsonStringifyParameters: &jsonStringifyParameters} ruleParameters.RuleParameters = &ruleParametersJsonStringifyParameters case "parse_json_field": destinationField := wrapperspb.String(m["destination_field"].(string)) deleteSource := wrapperspb.Bool(!m["keep_source_field"].(bool)) overrideDest := wrapperspb.Bool(!m["keep_destination_field"].(bool)) escapedValue := wrapperspb.Bool(true) - jsonParseParameters := rulesv1.JsonParseParameters{ + jsonParseParameters := cxsdk.JSONParseParameters{ DestinationField: destinationField, DeleteSource: deleteSource, EscapedValue: escapedValue, OverrideDest: overrideDest, } - ruleParametersJsonStringifyParameters := rulesv1.RuleParameters_JsonParseParameters{JsonParseParameters: &jsonParseParameters} + ruleParametersJsonStringifyParameters := cxsdk.RuleParametersJSONParseParameters{JsonParseParameters: &jsonParseParameters} ruleParameters.RuleParameters = &ruleParametersJsonStringifyParameters default: panic(ruleType) @@ -848,24 +844,23 @@ func expandParameters(ruleType string, m map[string]interface{}) *rulesv1.RulePa return &ruleParameters } -func expandFieldFormatStandard(formatStandard string) rulesv1.ExtractTimestampParameters_FormatStandard { - formatStandardStr := rulesSchemaFormatStandardToProtoFormatStandard[formatStandard] - formatStandardVal := rulesv1.ExtractTimestampParameters_FormatStandard_value[formatStandardStr] - return rulesv1.ExtractTimestampParameters_FormatStandard(formatStandardVal) +func expandFieldFormatStandard(formatStandard string) cxsdk.ExtractTimestampParametersFormatStandard { + formatStandardVal := rulesSchemaFormatStandardToProtoFormatStandard[strings.ToLower(formatStandard)] + return cxsdk.ExtractTimestampParametersFormatStandard(formatStandardVal) } -func flattenRuleMatcher(ruleMatchers []*rulesv1.RuleMatcher) (map[string][]string, error) { +func flattenRuleMatcher(ruleMatchers []*cxsdk.RuleMatcher) (map[string][]string, error) { ruleMatcherMap := map[string][]string{"applications": {}, "subsystems": {}, "severities": {}} for _, ruleMatcher := range ruleMatchers { switch ruleMatcher.Constraint.(type) { - case *rulesv1.RuleMatcher_ApplicationName: + case *cxsdk.RuleMatcherApplicationName: ruleMatcherMap["applications"] = append(ruleMatcherMap["applications"], ruleMatcher.GetApplicationName(). GetValue().GetValue()) - case *rulesv1.RuleMatcher_SubsystemName: + case *cxsdk.RuleMatcherSubsystemName: ruleMatcherMap["subsystems"] = append(ruleMatcherMap["subsystems"], ruleMatcher.GetSubsystemName(). GetValue().GetValue()) - case *rulesv1.RuleMatcher_Severity: - severityStr := ruleMatcher.GetSeverity().GetValue().String() + case *cxsdk.RuleMatcherSeverity: + severityStr := ruleMatcher.GetSeverity().GetValue() ruleMatcherMap["severities"] = append(ruleMatcherMap["severities"], rulesProtoSeverityToSchemaSeverity[severityStr]) default: return nil, fmt.Errorf("unexpected type %T for rule matcher", ruleMatcher) @@ -874,7 +869,7 @@ func flattenRuleMatcher(ruleMatchers []*rulesv1.RuleMatcher) (map[string][]strin return ruleMatcherMap, nil } -func flattenRuleSubgroups(ruleSubgroups []*rulesv1.RuleSubgroup) ([]interface{}, error) { +func flattenRuleSubgroups(ruleSubgroups []*cxsdk.RuleSubgroup) ([]interface{}, error) { result := make([]interface{}, 0, len(ruleSubgroups)) for _, ruleSubgroup := range ruleSubgroups { if rsg, err := flattenRuleGroup(ruleSubgroup); err != nil { @@ -886,7 +881,7 @@ func flattenRuleSubgroups(ruleSubgroups []*rulesv1.RuleSubgroup) ([]interface{}, return result, nil } -func flattenRuleGroup(ruleSubgroup *rulesv1.RuleSubgroup) (map[string]interface{}, error) { +func flattenRuleGroup(ruleSubgroup *cxsdk.RuleSubgroup) (map[string]interface{}, error) { rules, err := flattenRules(ruleSubgroup) if err != nil { return nil, err @@ -902,7 +897,7 @@ func flattenRuleGroup(ruleSubgroup *rulesv1.RuleSubgroup) (map[string]interface{ return rsg, nil } -func flattenRules(ruleSubgroup *rulesv1.RuleSubgroup) ([]interface{}, error) { +func flattenRules(ruleSubgroup *cxsdk.RuleSubgroup) ([]interface{}, error) { rs := ruleSubgroup.GetRules() rules := make([]interface{}, 0, len(rs)) for _, r := range rs { @@ -916,68 +911,68 @@ func flattenRules(ruleSubgroup *rulesv1.RuleSubgroup) ([]interface{}, error) { return rules, nil } -func flattenRule(r *rulesv1.Rule) (map[string]interface{}, error) { +func flattenRule(r *cxsdk.Rule) (map[string]interface{}, error) { rule := flattenCommonRulesParams(r) var ruleType string ruleParams := r.GetParameters().GetRuleParameters() switch ruleParams := ruleParams.(type) { - case *rulesv1.RuleParameters_ExtractParameters: + case *cxsdk.RuleParametersExtractParameters: ruleType = "extract" extractParameters := ruleParams.ExtractParameters rule["regular_expression"] = extractParameters.GetRule().GetValue() rule["source_field"] = r.GetSourceField().GetValue() - case *rulesv1.RuleParameters_JsonExtractParameters: + case *cxsdk.RuleParametersJSONExtractParameters: ruleType = "json_extract" jsonExtractParameters := ruleParams.JsonExtractParameters rule["json_key"] = jsonExtractParameters.GetRule().GetValue() rule["destination_field"] = rulesProtoDestinationFieldToSchemaDestinationField[jsonExtractParameters.GetDestinationFieldType()] - if jsonExtractParameters.GetDestinationFieldType() == rulesv1.JsonExtractParameters_DESTINATION_FIELD_TEXT { + if jsonExtractParameters.GetDestinationFieldType() == cxsdk.JSONExtractParametersDestinationFieldText { rule["destination_field_text"] = jsonExtractParameters.GetDestinationFieldText().GetValue() } - case *rulesv1.RuleParameters_ReplaceParameters: + case *cxsdk.RuleParametersReplaceParameters: ruleType = "replace" replaceParameters := ruleParams.ReplaceParameters rule["source_field"] = r.GetSourceField().GetValue() rule["destination_field"] = replaceParameters.GetDestinationField().GetValue() rule["regular_expression"] = replaceParameters.GetRule().GetValue() rule["replacement_string"] = replaceParameters.GetReplaceNewVal().GetValue() - case *rulesv1.RuleParameters_ParseParameters: + case *cxsdk.RuleParametersParseParameters: ruleType = "parse" parseParameters := ruleParams.ParseParameters rule["source_field"] = r.GetSourceField().GetValue() rule["destination_field"] = parseParameters.GetDestinationField().GetValue() rule["regular_expression"] = parseParameters.GetRule().GetValue() - case *rulesv1.RuleParameters_AllowParameters: + case *cxsdk.RuleParametersAllowParameters: ruleType = "block" allowParameters := ruleParams.AllowParameters rule["source_field"] = r.GetSourceField().GetValue() rule["regular_expression"] = allowParameters.GetRule().GetValue() rule["keep_blocked_logs"] = allowParameters.GetKeepBlockedLogs().GetValue() rule["blocking_all_matching_blocks"] = false - case *rulesv1.RuleParameters_BlockParameters: + case *cxsdk.RuleParametersBlockParameters: ruleType = "block" blockParameters := ruleParams.BlockParameters rule["source_field"] = r.GetSourceField().GetValue() rule["regular_expression"] = blockParameters.GetRule().GetValue() rule["keep_blocked_logs"] = blockParameters.GetKeepBlockedLogs().GetValue() rule["blocking_all_matching_blocks"] = true - case *rulesv1.RuleParameters_ExtractTimestampParameters: + case *cxsdk.RuleParametersExtractTimestampParameters: ruleType = "extract_timestamp" extractTimestampParameters := ruleParams.ExtractTimestampParameters rule["source_field"] = r.GetSourceField().GetValue() rule["time_format"] = extractTimestampParameters.GetFormat().GetValue() - rule["field_format_standard"] = rulesProtoFormatStandardToSchemaFormatStandard[extractTimestampParameters.GetStandard().String()] - case *rulesv1.RuleParameters_RemoveFieldsParameters: + rule["field_format_standard"] = rulesProtoFormatStandardToSchemaFormatStandard[extractTimestampParameters.GetStandard()] + case *cxsdk.RuleParametersRemoveFieldsParameters: ruleType = "remove_fields" removeFieldsParameters := ruleParams.RemoveFieldsParameters rule["excluded_fields"] = removeFieldsParameters.GetFields() - case *rulesv1.RuleParameters_JsonStringifyParameters: + case *cxsdk.RuleParametersJSONStringifyParameters: ruleType = "json_stringify" jsonStringifyParameters := ruleParams.JsonStringifyParameters rule["source_field"] = r.GetSourceField().GetValue() rule["destination_field"] = jsonStringifyParameters.GetDestinationField().GetValue() rule["keep_source_field"] = !(jsonStringifyParameters.GetDeleteSource().GetValue()) - case *rulesv1.RuleParameters_JsonParseParameters: + case *cxsdk.RuleParametersJSONParseParameters: ruleType = "parse_json_field" jsonParseParameters := ruleParams.JsonParseParameters rule["source_field"] = r.GetSourceField().GetValue() @@ -991,7 +986,7 @@ func flattenRule(r *rulesv1.Rule) (map[string]interface{}, error) { return map[string]interface{}{ruleType: []interface{}{rule}}, nil } -func flattenCommonRulesParams(rule *rulesv1.Rule) map[string]interface{} { +func flattenCommonRulesParams(rule *cxsdk.Rule) map[string]interface{} { return map[string]interface{}{ "id": rule.GetId().GetValue(), "description": rule.GetDescription().GetValue(), diff --git a/coralogix/resource_coralogix_rules_group_test.go b/coralogix/resource_coralogix_rules_group_test.go index 3a955382..65d1e2cf 100644 --- a/coralogix/resource_coralogix_rules_group_test.go +++ b/coralogix/resource_coralogix_rules_group_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,8 +21,8 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - rulesgroups "terraform-provider-coralogix/coralogix/clientset/grpc/rules-groups/v1" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -675,11 +675,11 @@ func testAccCheckRuleGroupDestroy(s *terraform.State) error { continue } - req := &rulesgroups.GetRuleGroupRequest{ + req := &cxsdk.GetRuleGroupRequest{ GroupId: rs.Primary.ID, } - resp, err := client.GetRuleGroup(ctx, req) + resp, err := client.Get(ctx, req) if err == nil { if resp.RuleGroup.Id.Value == rs.Primary.ID { return fmt.Errorf("RuleGroup still exists: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_scope.go b/coralogix/resource_coralogix_scope.go index d9ce1fa1..67523d59 100644 --- a/coralogix/resource_coralogix_scope.go +++ b/coralogix/resource_coralogix_scope.go @@ -21,7 +21,8 @@ import ( "regexp" "strings" "terraform-provider-coralogix/coralogix/clientset" - scopes "terraform-provider-coralogix/coralogix/clientset/grpc/scopes" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -39,12 +40,6 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" ) -var ( - createScopeURL = scopes.ScopesService_CreateScope_FullMethodName - deleteScopeURL = scopes.ScopesService_DeleteScope_FullMethodName - updateScopeURL = scopes.ScopesService_UpdateScope_FullMethodName -) - var availableEntityTypes = []string{"logs", "spans", "unspecified"} func NewScopeResource() resource.Resource { @@ -52,7 +47,7 @@ func NewScopeResource() resource.Resource { } type ScopeResource struct { - client *clientset.ScopesClient + client *cxsdk.ScopesClient } func (r *ScopeResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -170,13 +165,13 @@ func (r *ScopeResource) Create(ctx context.Context, req resource.CreateRequest, log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating Scope", - formatRpcErrors(err, createScopeURL, protojson.Format(createScopeReq)), + formatRpcErrors(err, cxsdk.CreateScopeRPC, protojson.Format(createScopeReq)), ) return } log.Printf("[INFO] Submitted new scope: %s", protojson.Format(createScopeResp)) - getScopeReq := &scopes.GetTeamScopesByIdsRequest{ + getScopeReq := &cxsdk.GetTeamScopesByIDsRequest{ Ids: []string{createScopeResp.Scope.Id}, } log.Printf("[INFO] Getting new Scope: %s", protojson.Format(getScopeReq)) @@ -186,7 +181,7 @@ func (r *ScopeResource) Create(ctx context.Context, req resource.CreateRequest, log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading Scope", - formatRpcErrors(err, getScopeURL, protojson.Format(getScopeReq)), + formatRpcErrors(err, cxsdk.GetTeamScopesByIDsRPC, protojson.Format(getScopeReq)), ) return } @@ -198,22 +193,26 @@ func (r *ScopeResource) Create(ctx context.Context, req resource.CreateRequest, resp.Diagnostics.Append(diags...) } -func extractCreateScope(plan *ScopeResourceModel) (*scopes.CreateScopeRequest, diag.Diagnostics) { - var filters []*scopes.Filter +func EntityType(s string) string { + return strings.ToUpper(fmt.Sprintf("ENTITY_TYPE_%v", s)) +} + +func extractCreateScope(plan *ScopeResourceModel) (*cxsdk.CreateScopeRequest, diag.Diagnostics) { + var filters []*cxsdk.ScopeFilter for _, filter := range plan.Filters { - entityType := scopes.EntityType_value[strings.ToUpper(filter.EntityType.ValueString())] + entityType := cxsdk.EntityTypeValueLookup[EntityType(filter.EntityType.ValueString())] if entityType == 0 && filter.EntityType.ValueString() != "unspecified" { return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Invalid entity type", fmt.Sprintf("Invalid entity type: %s", filter.EntityType.ValueString()))} } - filters = append(filters, &scopes.Filter{ + filters = append(filters, &cxsdk.ScopeFilter{ Expression: filter.Expression.ValueString(), - EntityType: scopes.EntityType(entityType), + EntityType: cxsdk.EntityType(entityType), }) } - return &scopes.CreateScopeRequest{ + return &cxsdk.CreateScopeRequest{ DisplayName: plan.DisplayName.ValueString(), Description: plan.Description.ValueStringPointer(), Filters: filters, @@ -221,7 +220,7 @@ func extractCreateScope(plan *ScopeResourceModel) (*scopes.CreateScopeRequest, d }, nil } -func flattenScope(resp *scopes.GetScopesResponse) []ScopeResourceModel { +func flattenScope(resp *cxsdk.GetScopesResponse) []ScopeResourceModel { var scopes []ScopeResourceModel for _, scope := range resp.GetScopes() { description := types.StringNull() @@ -239,11 +238,11 @@ func flattenScope(resp *scopes.GetScopesResponse) []ScopeResourceModel { return scopes } -func flattenScopeFilters(filters []*scopes.Filter) []ScopeFilterModel { +func flattenScopeFilters(filters []*cxsdk.ScopeFilter) []ScopeFilterModel { var result []ScopeFilterModel for _, filter := range filters { result = append(result, ScopeFilterModel{ - EntityType: types.StringValue(strings.ToLower(scopes.EntityType_name[int32(filter.GetEntityType())])), + EntityType: types.StringValue(strings.ToLower(cxsdk.EntityTypeNameLookup[int32(filter.GetEntityType())])), Expression: types.StringValue(filter.GetExpression()), }) } @@ -258,7 +257,7 @@ func (r *ScopeResource) Read(ctx context.Context, req resource.ReadRequest, resp return } - getScopeReq := &scopes.GetTeamScopesByIdsRequest{ + getScopeReq := &cxsdk.GetTeamScopesByIDsRequest{ Ids: []string{plan.ID.ValueString()}, } log.Printf("[INFO] Reading Scope: %s", protojson.Format(getScopeReq)) @@ -274,7 +273,7 @@ func (r *ScopeResource) Read(ctx context.Context, req resource.ReadRequest, resp } else { resp.Diagnostics.AddError( "Error reading Scope", - formatRpcErrors(err, getScopeURL, protojson.Format(getScopeReq)), + formatRpcErrors(err, cxsdk.GetTeamScopesByIDsRPC, protojson.Format(getScopeReq)), ) } return @@ -307,14 +306,14 @@ func (r *ScopeResource) Update(ctx context.Context, req resource.UpdateRequest, log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating Scope", - formatRpcErrors(err, updateScopeURL, protojson.Format(updateReq)), + formatRpcErrors(err, cxsdk.UpdateScopeRPC, protojson.Format(updateReq)), ) return } log.Printf("[INFO] Updated scope: %s", plan.ID.ValueString()) - getScopeReq := &scopes.GetTeamScopesByIdsRequest{ + getScopeReq := &cxsdk.GetTeamScopesByIDsRequest{ Ids: []string{plan.ID.ValueString()}, } getScopeResp, err := r.client.Get(ctx, getScopeReq) @@ -322,7 +321,7 @@ func (r *ScopeResource) Update(ctx context.Context, req resource.UpdateRequest, log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading Scope", - formatRpcErrors(err, getScopeURL, protojson.Format(getScopeReq)), + formatRpcErrors(err, cxsdk.GetTeamScopesByIDsRPC, protojson.Format(getScopeReq)), ) return } @@ -334,23 +333,23 @@ func (r *ScopeResource) Update(ctx context.Context, req resource.UpdateRequest, resp.Diagnostics.Append(diags...) } -func extractUpdateScope(plan *ScopeResourceModel) (*scopes.UpdateScopeRequest, diag.Diagnostics) { +func extractUpdateScope(plan *ScopeResourceModel) (*cxsdk.UpdateScopeRequest, diag.Diagnostics) { - var filters []*scopes.Filter + var filters []*cxsdk.ScopeFilter for _, filter := range plan.Filters { - entityType := scopes.EntityType_value[strings.ToUpper(filter.EntityType.ValueString())] + entityType := cxsdk.EntityTypeValueLookup[EntityType(filter.EntityType.ValueString())] if entityType == 0 && filter.EntityType.ValueString() != "unspecified" { return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Invalid entity type", fmt.Sprintf("Invalid entity type: %s", filter.EntityType.ValueString()))} } - filters = append(filters, &scopes.Filter{ + filters = append(filters, &cxsdk.ScopeFilter{ Expression: filter.Expression.ValueString(), - EntityType: scopes.EntityType(entityType), + EntityType: cxsdk.EntityType(entityType), }) } - return &scopes.UpdateScopeRequest{ + return &cxsdk.UpdateScopeRequest{ Id: plan.ID.ValueString(), DisplayName: plan.DisplayName.ValueString(), Description: plan.Description.ValueStringPointer(), @@ -369,14 +368,14 @@ func (r *ScopeResource) Delete(ctx context.Context, req resource.DeleteRequest, log.Printf("[INFO] Deleting Scope: %s", state.ID.ValueString()) - deleteReq := &scopes.DeleteScopeRequest{Id: state.ID.ValueString()} + deleteReq := &cxsdk.DeleteScopeRequest{Id: state.ID.ValueString()} log.Printf("[INFO] Deleting Scope: %s", protojson.Format(deleteReq)) _, err := r.client.Delete(ctx, deleteReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error deleting Scope", - formatRpcErrors(err, deleteScopeURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.DeleteScopeRPC, protojson.Format(deleteReq)), ) return } diff --git a/coralogix/resource_coralogix_scope_test.go b/coralogix/resource_coralogix_scope_test.go index e5025d8a..7ef50d3a 100644 --- a/coralogix/resource_coralogix_scope_test.go +++ b/coralogix/resource_coralogix_scope_test.go @@ -1,12 +1,26 @@ +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package coralogix import ( "context" "fmt" + "terraform-provider-coralogix/coralogix/clientset" "testing" - "terraform-provider-coralogix/coralogix/clientset" - scopes "terraform-provider-coralogix/coralogix/clientset/grpc/scopes" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -56,7 +70,7 @@ func testAccCheckScopeDestroy(s *terraform.State) error { continue } - resp, err := client.Get(ctx, &scopes.GetTeamScopesByIdsRequest{ + resp, err := client.Get(ctx, &cxsdk.GetTeamScopesByIDsRequest{ Ids: []string{rs.Primary.ID}, }) if err == nil && resp != nil && resp.Scopes != nil && len(resp.Scopes) > 0 { diff --git a/coralogix/resource_coralogix_slo.go b/coralogix/resource_coralogix_slo.go index c3f5bd5d..f327e383 100644 --- a/coralogix/resource_coralogix_slo.go +++ b/coralogix/resource_coralogix_slo.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,11 +20,12 @@ import ( "log" "strconv" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "terraform-provider-coralogix/coralogix/clientset" - slos "terraform-provider-coralogix/coralogix/clientset/grpc/slo" "google.golang.org/protobuf/encoding/protojson" @@ -46,41 +47,37 @@ var ( _ resource.ResourceWithConfigure = &SLOResource{} _ resource.ResourceWithImportState = &SLOResource{} _ resource.ResourceWithConfigValidators = &SLOResource{} - protoToSchemaThresholdSymbolType = map[slos.ThresholdSymbol]string{ - slos.ThresholdSymbol_THRESHOLD_SYMBOL_GREATER: "greater", - slos.ThresholdSymbol_THRESHOLD_SYMBOL_GREATER_OR_EQUAL: "greater_or_equal", - slos.ThresholdSymbol_THRESHOLD_SYMBOL_LESS: "less", - slos.ThresholdSymbol_THRESHOLD_SYMBOL_LESS_OR_EQUAL: "less_or_equal", - slos.ThresholdSymbol_THRESHOLD_SYMBOL_EQUAL: "equal", + protoToSchemaThresholdSymbolType = map[cxsdk.ThresholdSymbol]string{ + cxsdk.SloThresholdSymbolGreater: "greater_or_equal", + cxsdk.SloThresholdSymbolGreaterOrEqual: "greater", + cxsdk.SloThresholdSymbolLess: "less", + cxsdk.SloThresholdSymbolLessOrEqual: "less_or_equal", + cxsdk.SloThresholdSymbolEqual: "equal", } schemaToProtoThresholdSymbolType = ReverseMap(protoToSchemaThresholdSymbolType) validThresholdSymbolTypes = GetKeys(schemaToProtoThresholdSymbolType) - protoToSchemaSLOCompareType = map[slos.CompareType]string{ - slos.CompareType_COMPARE_TYPE_UNSPECIFIED: "unspecified", - slos.CompareType_COMPARE_TYPE_IS: "is", - slos.CompareType_COMPARE_TYPE_START_WITH: "starts_with", - slos.CompareType_COMPARE_TYPE_ENDS_WITH: "ends_with", - slos.CompareType_COMPARE_TYPE_INCLUDES: "includes", + protoToSchemaSLOCompareType = map[cxsdk.CompareType]string{ + cxsdk.SloCompareTypeUnspecified: "unspecified", + cxsdk.SloCompareTypeIs: "is", + cxsdk.SloCompareTypeStartsWith: "starts_with", + cxsdk.SloCompareTypeEndsWith: "ends_with", + cxsdk.SloCompareTypeIncludes: "includes", } schemaToProtoSLOCompareType = ReverseMap(protoToSchemaSLOCompareType) validSLOCompareTypes = GetKeys(schemaToProtoSLOCompareType) - protoToSchemaSLOPeriod = map[slos.SloPeriod]string{ - slos.SloPeriod_SLO_PERIOD_UNSPECIFIED: "unspecified", - slos.SloPeriod_SLO_PERIOD_7_DAYS: "7_days", - slos.SloPeriod_SLO_PERIOD_14_DAYS: "14_days", - slos.SloPeriod_SLO_PERIOD_30_DAYS: "30_days", + protoToSchemaSLOPeriod = map[cxsdk.SloPeriod]string{ + cxsdk.SloPeriodUnspecified: "unspecified", + cxsdk.SloPeriod7Days: "7_days", + cxsdk.SloPeriod14Days: "14_days", + cxsdk.SloPeriod30Days: "30_days", } schemaToProtoSLOPeriod = ReverseMap(protoToSchemaSLOPeriod) validSLOPeriods = GetKeys(schemaToProtoSLOPeriod) - protoToSchemaSLOStatus = map[slos.SloStatus]string{ - slos.SloStatus_SLO_STATUS_UNSPECIFIED: "unspecified", - slos.SloStatus_SLO_STATUS_OK: "ok", - slos.SloStatus_SLO_STATUS_BREACHED: "breached", - } - createSloUrl = "com.coralogixapis.apm.services.v1.ServiceSloService/CreateServiceSlo" - getSloUrl = "com.coralogixapis.apm.services.v1.ServiceSloService/GetServiceSlo" - updateSloUrl = "com.coralogixapis.apm.services.v1.ServiceSloService/ReplaceServiceSlo" - deleteSloUrl = "com.coralogixapis.apm.services.v1.ServiceSloService/DeleteServiceSlo" + protoToSchemaSLOStatus = map[cxsdk.SloStatus]string{ + cxsdk.SloStatusUnspecified: "unspecified", + cxsdk.SloStatusOk: "ok", + cxsdk.SloStatusBreached: "breached", + } ) func NewSLOResource() resource.Resource { @@ -88,7 +85,7 @@ func NewSLOResource() resource.Resource { } type SLOResource struct { - client *clientset.SLOsClient + client *cxsdk.SLOsClient } func (r *SLOResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator { @@ -284,14 +281,14 @@ func (r *SLOResource) Create(ctx context.Context, req resource.CreateRequest, re resp.Diagnostics = diags return } - createSloReq := &slos.CreateServiceSloRequest{Slo: slo} + createSloReq := &cxsdk.CreateServiceSloRequest{Slo: slo} log.Printf("[INFO] Creating new SLO: %s", protojson.Format(createSloReq)) - createResp, err := r.client.CreateSLO(ctx, createSloReq) + createResp, err := r.client.Create(ctx, createSloReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating SLO", - formatRpcErrors(err, createSloUrl, protojson.Format(createSloReq)), + formatRpcErrors(err, cxsdk.SloCreateRPC, protojson.Format(createSloReq)), ) return } @@ -307,7 +304,7 @@ func (r *SLOResource) Create(ctx context.Context, req resource.CreateRequest, re resp.Diagnostics.Append(diags...) } -func flattenSLO(ctx context.Context, slo *slos.ServiceSlo) (*SLOResourceModel, diag.Diagnostics) { +func flattenSLO(ctx context.Context, slo *cxsdk.ServiceSlo) (*SLOResourceModel, diag.Diagnostics) { filters, diags := flattenSLOFilters(ctx, slo.GetFilters()) if diags != nil { return nil, diags @@ -330,7 +327,7 @@ func flattenSLO(ctx context.Context, slo *slos.ServiceSlo) (*SLOResourceModel, d return flattenedSlo, nil } -func flattenSLOFilters(ctx context.Context, filters []*slos.SliFilter) (types.Set, diag.Diagnostics) { +func flattenSLOFilters(ctx context.Context, filters []*cxsdk.SliFilter) (types.Set, diag.Diagnostics) { if len(filters) == 0 { return types.SetNull(types.ObjectType{AttrTypes: sloFilterModelAttr()}), nil } @@ -362,11 +359,11 @@ func sloFilterModelAttr() map[string]attr.Type { } } -func flattenSLOType(flattenedSlo *SLOResourceModel, slo *slos.ServiceSlo) (*SLOResourceModel, diag.Diagnostic) { +func flattenSLOType(flattenedSlo *SLOResourceModel, slo *cxsdk.ServiceSlo) (*SLOResourceModel, diag.Diagnostic) { switch sliType := slo.SliType.(type) { - case *slos.ServiceSlo_ErrorSli: + case *cxsdk.ServiceSloErrorSli: flattenedSlo.Type = types.StringValue("error") - case *slos.ServiceSlo_LatencySli: + case *cxsdk.ServiceSloLatencySli: flattenedSlo.Type = types.StringValue("latency") latency, err := strconv.Atoi(sliType.LatencySli.GetThresholdMicroseconds().GetValue()) if err != nil { @@ -378,12 +375,12 @@ func flattenSLOType(flattenedSlo *SLOResourceModel, slo *slos.ServiceSlo) (*SLOR return flattenedSlo, nil } -func extractSLO(ctx context.Context, plan *SLOResourceModel) (*slos.ServiceSlo, diag.Diagnostics) { +func extractSLO(ctx context.Context, plan *SLOResourceModel) (*cxsdk.ServiceSlo, diag.Diagnostics) { filters, diags := extractSLOFilters(ctx, plan.Filters) if diags.HasError() { return nil, diags } - slo := &slos.ServiceSlo{ + slo := &cxsdk.ServiceSlo{ Id: typeStringToWrapperspbString(plan.ID), Name: typeStringToWrapperspbString(plan.Name), ServiceName: typeStringToWrapperspbString(plan.ServiceName), @@ -397,14 +394,14 @@ func extractSLO(ctx context.Context, plan *SLOResourceModel) (*slos.ServiceSlo, return slo, nil } -func expandSLIType(slo *slos.ServiceSlo, plan *SLOResourceModel) *slos.ServiceSlo { +func expandSLIType(slo *cxsdk.ServiceSlo, plan *SLOResourceModel) *cxsdk.ServiceSlo { switch plan.Type.ValueString() { case "error": - slo.SliType = &slos.ServiceSlo_ErrorSli{ErrorSli: &slos.ErrorSli{}} + slo.SliType = &cxsdk.ServiceSloErrorSli{ErrorSli: &cxsdk.ErrorSli{}} case "latency": - slo.SliType = &slos.ServiceSlo_LatencySli{ - LatencySli: &slos.LatencySli{ + slo.SliType = &cxsdk.ServiceSloLatencySli{ + LatencySli: &cxsdk.LatencySli{ ThresholdMicroseconds: wrapperspb.String(strconv.Itoa(int(plan.ThresholdMicroseconds.ValueInt64()))), ThresholdSymbol: schemaToProtoThresholdSymbolType[plan.ThresholdSymbolType.ValueString()], }, @@ -414,10 +411,10 @@ func expandSLIType(slo *slos.ServiceSlo, plan *SLOResourceModel) *slos.ServiceSl return slo } -func extractSLOFilters(ctx context.Context, filters types.Set) ([]*slos.SliFilter, diag.Diagnostics) { +func extractSLOFilters(ctx context.Context, filters types.Set) ([]*cxsdk.SliFilter, diag.Diagnostics) { var diags diag.Diagnostics var filtersObjects []types.Object - var expandedLabels []*slos.SliFilter + var expandedLabels []*cxsdk.SliFilter filters.ElementsAs(ctx, &filtersObjects, true) for _, fo := range filtersObjects { @@ -431,7 +428,7 @@ func extractSLOFilters(ctx context.Context, filters types.Set) ([]*slos.SliFilte diags.Append(dgs...) continue } - expandedLabel := &slos.SliFilter{ + expandedLabel := &cxsdk.SliFilter{ Field: typeStringToWrapperspbString(label.Field), CompareType: schemaToProtoSLOCompareType[label.CompareType.ValueString()], FieldValues: fieldValues, @@ -452,8 +449,8 @@ func (r *SLOResource) Read(ctx context.Context, req resource.ReadRequest, resp * //Get refreshed SLO value from Coralogix id := state.ID.ValueString() - readSloReq := &slos.GetServiceSloRequest{Id: wrapperspb.String(id)} - readSloResp, err := r.client.GetSLO(ctx, readSloReq) + readSloReq := &cxsdk.GetServiceSloRequest{Id: wrapperspb.String(id)} + readSloResp, err := r.client.Get(ctx, readSloReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -465,7 +462,7 @@ func (r *SLOResource) Read(ctx context.Context, req resource.ReadRequest, resp * } else { resp.Diagnostics.AddError( "Error reading SLO", - formatRpcErrors(err, getSloUrl, protojson.Format(readSloReq)), + formatRpcErrors(err, cxsdk.SloGetRPC, protojson.Format(readSloReq)), ) } return @@ -498,14 +495,14 @@ func (r *SLOResource) Update(ctx context.Context, req resource.UpdateRequest, re resp.Diagnostics = diags return } - updateSloReq := &slos.ReplaceServiceSloRequest{Slo: slo} + updateSloReq := &cxsdk.ReplaceServiceSloRequest{Slo: slo} log.Printf("[INFO] Updating SLO: %s", protojson.Format(updateSloReq)) - updateSloResp, err := r.client.UpdateSLO(ctx, updateSloReq) + updateSloResp, err := r.client.Update(ctx, updateSloReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating SLO", - formatRpcErrors(err, updateSloUrl, protojson.Format(updateSloReq)), + formatRpcErrors(err, cxsdk.SloReplaceRPC, protojson.Format(updateSloReq)), ) return } @@ -513,8 +510,8 @@ func (r *SLOResource) Update(ctx context.Context, req resource.UpdateRequest, re // Get refreshed SLO value from Coralogix id := plan.ID.ValueString() - getSloReq := &slos.GetServiceSloRequest{Id: wrapperspb.String(id)} - getSloResp, err := r.client.GetSLO(ctx, getSloReq) + getSloReq := &cxsdk.GetServiceSloRequest{Id: wrapperspb.String(id)} + getSloResp, err := r.client.Get(ctx, getSloReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -526,7 +523,7 @@ func (r *SLOResource) Update(ctx context.Context, req resource.UpdateRequest, re } else { resp.Diagnostics.AddError( "Error reading SLO", - formatRpcErrors(err, getSloUrl, protojson.Format(getSloReq)), + formatRpcErrors(err, cxsdk.SloGetRPC, protojson.Format(getSloReq)), ) } return @@ -555,12 +552,12 @@ func (r *SLOResource) Delete(ctx context.Context, req resource.DeleteRequest, re id := state.ID.ValueString() log.Printf("[INFO] Deleting SLO %s\n", id) - deleteReq := &slos.DeleteServiceSloRequest{Id: wrapperspb.String(id)} - if _, err := r.client.DeleteSLO(ctx, deleteReq); err != nil { + deleteReq := &cxsdk.DeleteServiceSloRequest{Id: wrapperspb.String(id)} + if _, err := r.client.Delete(ctx, deleteReq); err != nil { reqStr := protojson.Format(deleteReq) resp.Diagnostics.AddError( fmt.Sprintf("Error Deleting SLO %s", state.ID.ValueString()), - formatRpcErrors(err, deleteSloUrl, reqStr), + formatRpcErrors(err, cxsdk.SloDeleteRPC, reqStr), ) return } diff --git a/coralogix/resource_coralogix_slo_test.go b/coralogix/resource_coralogix_slo_test.go index 8b5f8351..6d395772 100644 --- a/coralogix/resource_coralogix_slo_test.go +++ b/coralogix/resource_coralogix_slo_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,8 +20,8 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - slos "terraform-provider-coralogix/coralogix/clientset/grpc/slo" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "google.golang.org/protobuf/types/known/wrapperspb" @@ -66,7 +66,7 @@ func testAccSLOCheckDestroy(s *terraform.State) error { continue } - if resp, err := client.GetSLO(ctx, &slos.GetServiceSloRequest{Id: wrapperspb.String(rs.Primary.ID)}); err == nil { + if resp, err := client.Get(ctx, &cxsdk.GetServiceSloRequest{Id: wrapperspb.String(rs.Primary.ID)}); err == nil { if resp.GetSlo().GetId().GetValue() == rs.Primary.ID { return fmt.Errorf("slo still exists: %s", rs.Primary.ID) } diff --git a/coralogix/resource_coralogix_tco_policies_logs.go b/coralogix/resource_coralogix_tco_policies_logs.go index 8f9f69b1..69257906 100644 --- a/coralogix/resource_coralogix_tco_policies_logs.go +++ b/coralogix/resource_coralogix_tco_policies_logs.go @@ -12,6 +12,20 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package coralogix import ( @@ -22,7 +36,8 @@ import ( "time" "terraform-provider-coralogix/coralogix/clientset" - tcopolicies "terraform-provider-coralogix/coralogix/clientset/grpc/tco-policies" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "google.golang.org/protobuf/encoding/protojson" @@ -45,35 +60,36 @@ import ( var ( _ resource.ResourceWithConfigure = &TCOPoliciesLogsResource{} _ resource.ResourceWithImportState = &TCOPoliciesLogsResource{} - tcoPoliciesPrioritySchemaToProto = map[string]tcopolicies.Priority{ - "block": tcopolicies.Priority_PRIORITY_TYPE_BLOCK, - "high": tcopolicies.Priority_PRIORITY_TYPE_HIGH, - "low": tcopolicies.Priority_PRIORITY_TYPE_LOW, - "medium": tcopolicies.Priority_PRIORITY_TYPE_MEDIUM, + tcoPoliciesPrioritySchemaToProto = map[string]cxsdk.TCOPolicyPriority{ + "block": cxsdk.TCOPolicyPriorityBlock, + "high": cxsdk.TCOPolicyPriorityHigh, + "low": cxsdk.TCOPolicyPriorityLow, + "medium": cxsdk.TCOPolicyPriorityMedium, } tcoPoliciesPriorityProtoToSchema = ReverseMap(tcoPoliciesPrioritySchemaToProto) tcoPoliciesValidPriorities = GetKeys(tcoPoliciesPrioritySchemaToProto) - tcoPoliciesRuleTypeSchemaToProto = map[string]tcopolicies.RuleTypeId{ - "is": tcopolicies.RuleTypeId_RULE_TYPE_ID_IS, - "is_not": tcopolicies.RuleTypeId_RULE_TYPE_ID_IS_NOT, - "starts_with": tcopolicies.RuleTypeId_RULE_TYPE_ID_START_WITH, - "includes": tcopolicies.RuleTypeId_RULE_TYPE_ID_INCLUDES, + tcoPoliciesRuleTypeSchemaToProto = map[string]cxsdk.TCOPolicyRuleTypeID{ + "is": cxsdk.TCOPolicyRuleTypeIDUnspecified, + "is_not": cxsdk.TCOPolicyRuleTypeIDIs, + "starts_with": cxsdk.TCOPolicyRuleTypeIDIsNot, + "includes": cxsdk.TCOPolicyRuleTypeIDStartWith, + "unspecified": cxsdk.TCOPolicyRuleTypeIDIncludes, } tcoPoliciesRuleTypeProtoToSchema = ReverseMap(tcoPoliciesRuleTypeSchemaToProto) tcoPoliciesValidRuleTypes = GetKeys(tcoPoliciesRuleTypeSchemaToProto) - tcoPolicySeveritySchemaToProto = map[string]tcopolicies.Severity{ - "debug": tcopolicies.Severity_SEVERITY_DEBUG, - "verbose": tcopolicies.Severity_SEVERITY_VERBOSE, - "info": tcopolicies.Severity_SEVERITY_INFO, - "warning": tcopolicies.Severity_SEVERITY_WARNING, - "error": tcopolicies.Severity_SEVERITY_ERROR, - "critical": tcopolicies.Severity_SEVERITY_CRITICAL, + tcoPolicySeveritySchemaToProto = map[string]cxsdk.TCOPolicySeverity{ + "debug": cxsdk.TCOPolicySeverityDebug, + "verbose": cxsdk.TCOPolicySeverityVerbose, + "info": cxsdk.TCOPolicySeverityInfo, + "warning": cxsdk.TCOPolicySeverityWarning, + "error": cxsdk.TCOPolicySeverityError, + "critical": cxsdk.TCOPolicySeverityCritical, } tcoPolicySeverityProtoToSchema = ReverseMap(tcoPolicySeveritySchemaToProto) validPolicySeverities = GetKeys(tcoPolicySeveritySchemaToProto) overrideTCOPoliciesLogsURL = "com.coralogix.quota.v1.PoliciesService/AtomicOverwriteLogPolicies" getCompanyPoliciesURL = "com.coralogix.quota.v1.PoliciesService/GetCompanyPolicies" - logSource = tcopolicies.SourceType_SOURCE_TYPE_LOGS + logSource = cxsdk.TCOPolicySourceTypeLogs ) func NewTCOPoliciesLogsResource() resource.Resource { @@ -81,7 +97,7 @@ func NewTCOPoliciesLogsResource() resource.Resource { } type TCOPoliciesLogsResource struct { - client *clientset.TCOPoliciesClient + client *cxsdk.TCOPoliciesClient } func (r *TCOPoliciesLogsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { @@ -270,7 +286,7 @@ func (r *TCOPoliciesLogsResource) ValidateConfig(ctx context.Context, req resour } func validateTCOPoliciesLogs(rule types.Object, root string, resp *resource.ValidateConfigResponse) { - if rule.IsNull() || rule.IsUnknown() { + if objIsNullOrUnknown(rule) { return } @@ -345,14 +361,14 @@ func (r *TCOPoliciesLogsResource) Read(ctx context.Context, _ resource.ReadReque ctx, cancel := context.WithTimeout(ctx, 60*time.Second) defer cancel() - getPoliciesReq := &tcopolicies.GetCompanyPoliciesRequest{SourceType: &logSource} + getPoliciesReq := &cxsdk.GetCompanyPoliciesRequest{SourceType: &logSource} log.Printf("[INFO] Reading tco-policies-logs") - getPoliciesResp, err := r.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err := r.client.List(ctx, getPoliciesReq) for err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if retryableStatusCode(status.Code(err)) { log.Print("[INFO] Retrying to read tco-policies-logs") - getPoliciesResp, err = r.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err = r.client.List(ctx, getPoliciesReq) continue } resp.Diagnostics.AddError( @@ -418,7 +434,7 @@ func (r *TCOPoliciesLogsResource) Delete(ctx context.Context, req resource.Delet ctx, cancel := context.WithTimeout(ctx, 120*time.Second) defer cancel() - overwriteReq := &tcopolicies.AtomicOverwriteLogPoliciesRequest{} + overwriteReq := &cxsdk.AtomicOverwriteLogPoliciesRequest{} log.Printf("[INFO] Overwriting tco-policies-logs list: %s", protojson.Format(overwriteReq)) overwriteResp, err := r.client.OverwriteTCOLogsPolicies(ctx, overwriteReq) for err != nil { @@ -445,7 +461,7 @@ func (r *TCOPoliciesLogsResource) Delete(ctx context.Context, req resource.Delet resp.Diagnostics.Append(resp.State.Set(ctx, state)...) } -func flattenOverwriteTCOPoliciesLogsList(ctx context.Context, overwriteResp *tcopolicies.AtomicOverwriteLogPoliciesResponse) (*TCOPoliciesListModel, diag.Diagnostics) { +func flattenOverwriteTCOPoliciesLogsList(ctx context.Context, overwriteResp *cxsdk.AtomicOverwriteLogPoliciesResponse) (*TCOPoliciesListModel, diag.Diagnostics) { var policies []*TCOPolicyLogsModel var diags diag.Diagnostics for _, policy := range overwriteResp.GetCreateResponses() { @@ -468,7 +484,7 @@ func flattenOverwriteTCOPoliciesLogsList(ctx context.Context, overwriteResp *tco return &TCOPoliciesListModel{Policies: policiesList}, nil } -func flattenGetTCOPoliciesLogsList(ctx context.Context, getResp *tcopolicies.GetCompanyPoliciesResponse) (*TCOPoliciesListModel, diag.Diagnostics) { +func flattenGetTCOPoliciesLogsList(ctx context.Context, getResp *cxsdk.GetCompanyPoliciesResponse) (*TCOPoliciesListModel, diag.Diagnostics) { var policies []*TCOPolicyLogsModel var diags diag.Diagnostics for _, policy := range getResp.GetPolicies() { @@ -491,8 +507,8 @@ func flattenGetTCOPoliciesLogsList(ctx context.Context, getResp *tcopolicies.Get return &TCOPoliciesListModel{Policies: policiesList}, nil } -func flattenTCOLogsPolicy(ctx context.Context, policy *tcopolicies.Policy) (*TCOPolicyLogsModel, diag.Diagnostics) { - logRules := policy.GetSourceTypeRules().(*tcopolicies.Policy_LogRules).LogRules +func flattenTCOLogsPolicy(ctx context.Context, policy *cxsdk.TCOPolicy) (*TCOPolicyLogsModel, diag.Diagnostics) { + logRules := policy.GetSourceTypeRules().(*cxsdk.TCOPolicyLogRules).LogRules applications, diags := flattenTCOPolicyRule(ctx, policy.GetApplicationRule()) if diags.HasError() { return nil, diags @@ -531,7 +547,7 @@ func policiesLogsAttr() map[string]attr.Type { } } -func flattenTCOPolicyRule(ctx context.Context, rule *tcopolicies.Rule) (types.Object, diag.Diagnostics) { +func flattenTCOPolicyRule(ctx context.Context, rule *cxsdk.TCOPolicyRule) (types.Object, diag.Diagnostics) { if rule == nil { return types.ObjectNull(tcoPolicyRuleAttributes()), nil } @@ -547,8 +563,8 @@ func flattenTCOPolicyRule(ctx context.Context, rule *tcopolicies.Rule) (types.Ob return types.ObjectValueFrom(ctx, tcoPolicyRuleAttributes(), tcoModel) } -func extractOverwriteTcoPoliciesLogs(ctx context.Context, plan *TCOPoliciesListModel) (*tcopolicies.AtomicOverwriteLogPoliciesRequest, diag.Diagnostics) { - var policies []*tcopolicies.CreateLogPolicyRequest +func extractOverwriteTcoPoliciesLogs(ctx context.Context, plan *TCOPoliciesListModel) (*cxsdk.AtomicOverwriteLogPoliciesRequest, diag.Diagnostics) { + var policies []*cxsdk.CreateLogPolicyRequest var policiesObjects []types.Object diags := plan.Policies.ElementsAs(ctx, &policiesObjects, true) if diags.HasError() { @@ -572,10 +588,10 @@ func extractOverwriteTcoPoliciesLogs(ctx context.Context, plan *TCOPoliciesListM return nil, diags } - return &tcopolicies.AtomicOverwriteLogPoliciesRequest{Policies: policies}, nil + return &cxsdk.AtomicOverwriteLogPoliciesRequest{Policies: policies}, nil } -func extractTcoPolicyLog(ctx context.Context, plan TCOPolicyLogsModel) (*tcopolicies.CreateLogPolicyRequest, diag.Diagnostics) { +func extractTcoPolicyLog(ctx context.Context, plan TCOPolicyLogsModel) (*cxsdk.CreateLogPolicyRequest, diag.Diagnostics) { name := typeStringToWrapperspbString(plan.Name) description := typeStringToWrapperspbString(plan.Description) priority := tcoPoliciesPrioritySchemaToProto[plan.Priority.ValueString()] @@ -593,8 +609,8 @@ func extractTcoPolicyLog(ctx context.Context, plan TCOPolicyLogsModel) (*tcopoli return nil, diags } - return &tcopolicies.CreateLogPolicyRequest{ - Policy: &tcopolicies.CreateGenericPolicyRequest{ + return &cxsdk.CreateLogPolicyRequest{ + Policy: &cxsdk.CreateGenericPolicyRequest{ Name: name, Description: description, Priority: priority, @@ -602,13 +618,13 @@ func extractTcoPolicyLog(ctx context.Context, plan TCOPolicyLogsModel) (*tcopoli SubsystemRule: subsystemRule, ArchiveRetention: archiveRetention, }, - LogRules: &tcopolicies.LogRules{ + LogRules: &cxsdk.TCOLogRules{ Severities: severities, }, }, nil } -func expandTCOPolicyRule(ctx context.Context, rule types.Object) (*tcopolicies.Rule, diag.Diagnostics) { +func expandTCOPolicyRule(ctx context.Context, rule types.Object) (*cxsdk.TCOPolicyRule, diag.Diagnostics) { if rule.IsNull() || rule.IsUnknown() { return nil, nil } @@ -626,24 +642,24 @@ func expandTCOPolicyRule(ctx context.Context, rule types.Object) (*tcopolicies.R } nameStr := wrapperspb.String(strings.Join(names, ",")) - return &tcopolicies.Rule{ + return &cxsdk.TCOPolicyRule{ RuleTypeId: ruleType, Name: nameStr, }, nil } -func expandActiveRetention(archiveRetention types.String) *tcopolicies.ArchiveRetention { +func expandActiveRetention(archiveRetention types.String) *cxsdk.ArchiveRetention { if archiveRetention.IsNull() { return nil } - return &tcopolicies.ArchiveRetention{ + return &cxsdk.ArchiveRetention{ Id: wrapperspb.String(archiveRetention.ValueString()), } } -func expandTCOPolicySeverities(ctx context.Context, severities []attr.Value) ([]tcopolicies.Severity, diag.Diagnostics) { - result := make([]tcopolicies.Severity, 0, len(severities)) +func expandTCOPolicySeverities(ctx context.Context, severities []attr.Value) ([]cxsdk.TCOPolicySeverity, diag.Diagnostics) { + result := make([]cxsdk.TCOPolicySeverity, 0, len(severities)) var diags diag.Diagnostics for _, severity := range severities { val, err := severity.ToTerraformValue(ctx) @@ -662,7 +678,7 @@ func expandTCOPolicySeverities(ctx context.Context, severities []attr.Value) ([] return result, diags } -func flattenArchiveRetention(archiveRetention *tcopolicies.ArchiveRetention) types.String { +func flattenArchiveRetention(archiveRetention *cxsdk.ArchiveRetention) types.String { if archiveRetention == nil || archiveRetention.Id == nil { return types.StringNull() } @@ -670,7 +686,7 @@ func flattenArchiveRetention(archiveRetention *tcopolicies.ArchiveRetention) typ return types.StringValue(archiveRetention.GetId().GetValue()) } -func flattenTCOPolicySeverities(severities []tcopolicies.Severity) types.Set { +func flattenTCOPolicySeverities(severities []cxsdk.TCOPolicySeverity) types.Set { if len(severities) == 0 { return types.SetNull(types.StringType) } diff --git a/coralogix/resource_coralogix_tco_policies_logs_test.go b/coralogix/resource_coralogix_tco_policies_logs_test.go index 003f93e6..b8875c33 100644 --- a/coralogix/resource_coralogix_tco_policies_logs_test.go +++ b/coralogix/resource_coralogix_tco_policies_logs_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,10 +19,11 @@ import ( "fmt" "testing" - "google.golang.org/protobuf/encoding/protojson" "terraform-provider-coralogix/coralogix/clientset" - tcopolicies "terraform-provider-coralogix/coralogix/clientset/grpc/tco-policies" + "google.golang.org/protobuf/encoding/protojson" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" ) @@ -95,7 +96,7 @@ func testAccTCOPoliciesLogsCheckDestroy(s *terraform.State) error { continue } - if resp, err := client.GetTCOPolicies(ctx, &tcopolicies.GetCompanyPoliciesRequest{SourceType: &logSource}); err == nil { + if resp, err := client.List(ctx, &cxsdk.GetCompanyPoliciesRequest{SourceType: &logSource}); err == nil { if err == nil { if len(resp.GetPolicies()) != 0 { return fmt.Errorf("tco-policies still exist: %s", protojson.Format(resp)) diff --git a/coralogix/resource_coralogix_tco_policies_traces.go b/coralogix/resource_coralogix_tco_policies_traces.go index 07066248..d1e01dab 100644 --- a/coralogix/resource_coralogix_tco_policies_traces.go +++ b/coralogix/resource_coralogix_tco_policies_traces.go @@ -12,6 +12,20 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package coralogix import ( @@ -23,8 +37,8 @@ import ( "time" "terraform-provider-coralogix/coralogix/clientset" - tcopolicies "terraform-provider-coralogix/coralogix/clientset/grpc/tco-policies" + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework-validators/mapvalidator" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" @@ -46,11 +60,10 @@ import ( ) var ( - _ resource.ResourceWithConfigure = &TCOPoliciesTracesResource{} - _ resource.ResourceWithValidateConfig = &TCOPoliciesTracesResource{} - _ resource.ResourceWithImportState = &TCOPoliciesTracesResource{} - tracesSource = tcopolicies.SourceType_SOURCE_TYPE_SPANS - overrideTCOPoliciesTracesURL = "com.coralogix.quota.v1.PoliciesService/AtomicOverwriteSpanPolicies" + _ resource.ResourceWithConfigure = &TCOPoliciesTracesResource{} + _ resource.ResourceWithValidateConfig = &TCOPoliciesTracesResource{} + _ resource.ResourceWithImportState = &TCOPoliciesTracesResource{} + tracesSource = cxsdk.TCOPolicySourceTypeSpans ) func NewTCOPoliciesTracesResource() resource.Resource { @@ -58,7 +71,7 @@ func NewTCOPoliciesTracesResource() resource.Resource { } type TCOPoliciesTracesResource struct { - client *clientset.TCOPoliciesClient + client *cxsdk.TCOPoliciesClient } func (r *TCOPoliciesTracesResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse) { @@ -342,14 +355,14 @@ func (r *TCOPoliciesTracesResource) Read(ctx context.Context, _ resource.ReadReq ctx, cancel := context.WithTimeout(ctx, 60*time.Second) defer cancel() - getPoliciesReq := &tcopolicies.GetCompanyPoliciesRequest{SourceType: &tracesSource} + getPoliciesReq := &cxsdk.GetCompanyPoliciesRequest{SourceType: &tracesSource} log.Printf("[INFO] Reading tco-policies-traces") - getPoliciesResp, err := r.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err := r.client.List(ctx, getPoliciesReq) for err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if retryableStatusCode(status.Code(err)) { log.Print("[INFO] Retrying to read tco-policies-traces") - getPoliciesResp, err = r.client.GetTCOPolicies(ctx, getPoliciesReq) + getPoliciesResp, err = r.client.List(ctx, getPoliciesReq) continue } resp.Diagnostics.AddError( @@ -415,7 +428,7 @@ func (r *TCOPoliciesTracesResource) Delete(ctx context.Context, _ resource.Delet ctx, cancel := context.WithTimeout(ctx, 120*time.Second) defer cancel() - overwriteReq := &tcopolicies.AtomicOverwriteSpanPoliciesRequest{} + overwriteReq := &cxsdk.AtomicOverwriteSpanPoliciesRequest{} log.Printf("[INFO] Overwriting tco-policies-traces list: %s", protojson.Format(overwriteReq)) overwriteResp, err := r.client.OverwriteTCOTracesPolicies(ctx, overwriteReq) for err != nil { @@ -442,8 +455,8 @@ func (r *TCOPoliciesTracesResource) Delete(ctx context.Context, _ resource.Delet resp.Diagnostics.Append(resp.State.Set(ctx, state)...) } -func extractOverwriteTcoPoliciesTraces(ctx context.Context, plan *TCOPoliciesListModel) (*tcopolicies.AtomicOverwriteSpanPoliciesRequest, diag.Diagnostics) { - var policies []*tcopolicies.CreateSpanPolicyRequest +func extractOverwriteTcoPoliciesTraces(ctx context.Context, plan *TCOPoliciesListModel) (*cxsdk.AtomicOverwriteSpanPoliciesRequest, diag.Diagnostics) { + var policies []*cxsdk.CreateSpanPolicyRequest var policiesObjects []types.Object diags := plan.Policies.ElementsAs(ctx, &policiesObjects, true) if diags.HasError() { @@ -467,10 +480,10 @@ func extractOverwriteTcoPoliciesTraces(ctx context.Context, plan *TCOPoliciesLis return nil, diags } - return &tcopolicies.AtomicOverwriteSpanPoliciesRequest{Policies: policies}, nil + return &cxsdk.AtomicOverwriteSpanPoliciesRequest{Policies: policies}, nil } -func extractTcoPolicyTraces(ctx context.Context, plan TCOPolicyTracesModel) (*tcopolicies.CreateSpanPolicyRequest, diag.Diagnostics) { +func extractTcoPolicyTraces(ctx context.Context, plan TCOPolicyTracesModel) (*cxsdk.CreateSpanPolicyRequest, diag.Diagnostics) { name := typeStringToWrapperspbString(plan.Name) description := typeStringToWrapperspbString(plan.Description) priority := tcoPoliciesPrioritySchemaToProto[plan.Priority.ValueString()] @@ -496,8 +509,8 @@ func extractTcoPolicyTraces(ctx context.Context, plan TCOPolicyTracesModel) (*tc return nil, diags } - return &tcopolicies.CreateSpanPolicyRequest{ - Policy: &tcopolicies.CreateGenericPolicyRequest{ + return &cxsdk.CreateSpanPolicyRequest{ + Policy: &cxsdk.CreateGenericPolicyRequest{ Name: name, Description: description, Priority: priority, @@ -505,7 +518,7 @@ func extractTcoPolicyTraces(ctx context.Context, plan TCOPolicyTracesModel) (*tc SubsystemRule: subsystemRule, ArchiveRetention: archiveRetention, }, - SpanRules: &tcopolicies.SpanRules{ + SpanRules: &cxsdk.TCOSpanRules{ ServiceRule: services, ActionRule: actions, TagRules: tagRules, @@ -513,7 +526,7 @@ func extractTcoPolicyTraces(ctx context.Context, plan TCOPolicyTracesModel) (*tc }, nil } -func flattenOverwriteTCOPoliciesTracesList(ctx context.Context, overwriteResp *tcopolicies.AtomicOverwriteSpanPoliciesResponse) (*TCOPoliciesListModel, diag.Diagnostics) { +func flattenOverwriteTCOPoliciesTracesList(ctx context.Context, overwriteResp *cxsdk.AtomicOverwriteSpanPoliciesResponse) (*TCOPoliciesListModel, diag.Diagnostics) { var policies []*TCOPolicyTracesModel var diags diag.Diagnostics for _, policy := range overwriteResp.GetCreateResponses() { @@ -553,7 +566,7 @@ func policiesTracesAttr() map[string]attr.Type { } } -func flattenGetTCOTracesPoliciesList(ctx context.Context, resp *tcopolicies.GetCompanyPoliciesResponse) (TCOPoliciesListModel, diag.Diagnostics) { +func flattenGetTCOTracesPoliciesList(ctx context.Context, resp *cxsdk.GetCompanyPoliciesResponse) (TCOPoliciesListModel, diag.Diagnostics) { var policies []*TCOPolicyTracesModel var diags diag.Diagnostics for _, policy := range resp.GetPolicies() { @@ -577,8 +590,8 @@ func flattenGetTCOTracesPoliciesList(ctx context.Context, resp *tcopolicies.GetC } -func flattenTCOTracesPolicy(ctx context.Context, policy *tcopolicies.Policy) (*TCOPolicyTracesModel, diag.Diagnostics) { - traceRules := policy.GetSourceTypeRules().(*tcopolicies.Policy_SpanRules).SpanRules +func flattenTCOTracesPolicy(ctx context.Context, policy *cxsdk.TCOPolicy) (*TCOPolicyTracesModel, diag.Diagnostics) { + traceRules := policy.GetSourceTypeRules().(*cxsdk.TCOPolicySpanRules).SpanRules applications, diags := flattenTCOPolicyRule(ctx, policy.GetApplicationRule()) if diags.HasError() { return nil, diags @@ -635,7 +648,7 @@ func validateTCORuleModelModel(rule types.Object, root string, resp *resource.Va } } -func flattenTCOPolicyTags(ctx context.Context, tags []*tcopolicies.TagRule) types.Map { +func flattenTCOPolicyTags(ctx context.Context, tags []*cxsdk.TCOPolicyTagRule) types.Map { if len(tags) == 0 { return types.MapNull(types.ObjectType{AttrTypes: tcoRuleModelAttr()}) } @@ -658,7 +671,7 @@ func flattenTCOPolicyTags(ctx context.Context, tags []*tcopolicies.TagRule) type return types.MapValueMust(types.ObjectType{AttrTypes: tcoRuleModelAttr()}, elements) } -func expandTagsRules(ctx context.Context, tags types.Map) ([]*tcopolicies.TagRule, diag.Diagnostics) { +func expandTagsRules(ctx context.Context, tags types.Map) ([]*cxsdk.TCOPolicyTagRule, diag.Diagnostics) { var tagsMap map[string]types.Object d := tags.ElementsAs(ctx, &tagsMap, true) if d != nil { @@ -666,7 +679,7 @@ func expandTagsRules(ctx context.Context, tags types.Map) ([]*tcopolicies.TagRul } var diags diag.Diagnostics - result := make([]*tcopolicies.TagRule, 0, len(tagsMap)) + result := make([]*cxsdk.TCOPolicyTagRule, 0, len(tagsMap)) for tagName, tagElement := range tagsMap { tagRule, digs := expandTagRule(ctx, tagName, tagElement) if digs.HasError() { @@ -691,12 +704,12 @@ func tcoRuleModelAttr() map[string]attr.Type { } } -func expandTagRule(ctx context.Context, name string, tag types.Object) (*tcopolicies.TagRule, diag.Diagnostics) { +func expandTagRule(ctx context.Context, name string, tag types.Object) (*cxsdk.TCOPolicyTagRule, diag.Diagnostics) { rule, diags := expandTCOPolicyRule(ctx, tag) if diags.HasError() { return nil, diags } - return &tcopolicies.TagRule{ + return &cxsdk.TCOPolicyTagRule{ TagName: wrapperspb.String(name), RuleTypeId: rule.GetRuleTypeId(), TagValue: rule.GetName(), diff --git a/coralogix/resource_coralogix_tco_policies_traces_test.go b/coralogix/resource_coralogix_tco_policies_traces_test.go index dced0382..41bdfaeb 100644 --- a/coralogix/resource_coralogix_tco_policies_traces_test.go +++ b/coralogix/resource_coralogix_tco_policies_traces_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -19,10 +19,11 @@ import ( "fmt" "testing" - "google.golang.org/protobuf/encoding/protojson" "terraform-provider-coralogix/coralogix/clientset" - tcopolicies "terraform-provider-coralogix/coralogix/clientset/grpc/tco-policies" + "google.golang.org/protobuf/encoding/protojson" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" ) @@ -118,7 +119,7 @@ func testAccTCOPoliciesTracesCheckDestroy(s *terraform.State) error { continue } - if resp, err := client.GetTCOPolicies(ctx, &tcopolicies.GetCompanyPoliciesRequest{SourceType: &tracesSource}); err == nil { + if resp, err := client.List(ctx, &cxsdk.GetCompanyPoliciesRequest{SourceType: &tracesSource}); err == nil { if err == nil && len(resp.Policies) > 0 { return fmt.Errorf("tco-policies still exists: %s", protojson.Format(resp)) } diff --git a/coralogix/resource_coralogix_team.go b/coralogix/resource_coralogix_team.go index 00549259..2d3d52e6 100644 --- a/coralogix/resource_coralogix_team.go +++ b/coralogix/resource_coralogix_team.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -21,9 +21,10 @@ import ( "math" "strconv" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/int64planmodifier" "terraform-provider-coralogix/coralogix/clientset" - teams "terraform-provider-coralogix/coralogix/clientset/grpc/teams" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/int64planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/float64planmodifier" "google.golang.org/grpc/codes" @@ -40,18 +41,12 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" ) -var ( - createTeamURL = "com.coralogixapis.aaa.organisations.v2.TeamService/CreateTeamInOrg" - updateTeamURL = "com.coralogixapis.aaa.organisations.v2.TeamService/UpdateTeam" - deleteTeamURL = "com.coralogixapis.aaa.organisations.v2.TeamService/DeleteTeam" -) - func NewTeamResource() resource.Resource { return &TeamResource{} } type TeamResource struct { - client *clientset.TeamsClient + client *cxsdk.TeamsClient } func (r *TeamResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -136,67 +131,56 @@ func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, r return } log.Printf("[INFO] Creating new Team: %s", protojson.Format(createTeamReq)) - createTeamResp, err := r.client.CreateTeam(ctx, createTeamReq) + createTeamResp, err := r.client.Create(ctx, createTeamReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - if status.Code(err) == codes.PermissionDenied || status.Code(err) == codes.Unauthenticated { - resp.Diagnostics.AddError( - "Error creating Team", - fmt.Sprintf("permission denied for url - %s\ncheck your org-key and permissions", createTeamURL), - ) - } else { - resp.Diagnostics.AddError( - "Error creating Team", - formatRpcErrors(err, createTeamURL, protojson.Format(createTeamReq)), - ) - } + resp.Diagnostics.AddError( + "Error creating Team", + formatRpcErrors(err, cxsdk.CreateTeamInOrgRPC, protojson.Format(createTeamReq)), + ) return } log.Printf("[INFO] Submitted new team: %s", protojson.Format(createTeamResp.GetTeamId())) - getTeamReq := &teams.GetTeamRequest{ + getTeamReq := &cxsdk.GetTeamRequest{ TeamId: createTeamResp.GetTeamId(), } - getTeamResp, err := r.client.GetTeam(ctx, getTeamReq) + getTeamResp, err := r.client.Get(ctx, getTeamReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading Team", - formatRpcErrors(err, getTeamURL, protojson.Format(getTeamReq)), + formatRpcErrors(err, cxsdk.GetTeamRPC, protojson.Format(getTeamReq)), ) return } log.Printf("[INFO] Received Team: %s", protojson.Format(getTeamResp)) - state := flattenTeam(getTeamResp) + state := TeamResourceModel{ + ID: types.StringValue(strconv.Itoa(int(getTeamResp.GetTeamId().GetId()))), + Name: types.StringValue(getTeamResp.GetTeamName()), + Retention: types.Int64Value(int64(getTeamResp.GetRetention())), + DailyQuota: types.Float64Value(math.Round(getTeamResp.GetDailyQuota()*1000) / 1000), + } // Set state to fully populated data diags = resp.State.Set(ctx, state) resp.Diagnostics.Append(diags...) } -func extractCreateTeam(plan *TeamResourceModel) (*teams.CreateTeamInOrgRequest, diag.Diagnostics) { +func extractCreateTeam(plan *TeamResourceModel) (*cxsdk.CreateTeamInOrgRequest, diag.Diagnostics) { var dailyQuota *float64 if !(plan.DailyQuota.IsUnknown() || plan.DailyQuota.IsNull()) { dailyQuota = new(float64) *dailyQuota = plan.DailyQuota.ValueFloat64() } - return &teams.CreateTeamInOrgRequest{ + return &cxsdk.CreateTeamInOrgRequest{ TeamName: plan.Name.ValueString(), DailyQuota: dailyQuota, }, nil } -func flattenTeam(resp *teams.GetTeamResponse) *TeamResourceModel { - return &TeamResourceModel{ - ID: types.StringValue(strconv.Itoa(int(resp.GetTeamId().GetId()))), - Name: types.StringValue(resp.GetTeamName()), - Retention: types.Int64Value(int64(resp.GetRetention())), - DailyQuota: types.Float64Value(math.Round(resp.GetDailyQuota()*1000) / 1000), - } -} - func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) { var plan *TeamResourceModel diags := req.State.Get(ctx, &plan) @@ -213,13 +197,13 @@ func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp ) return } - getTeamReq := &teams.GetTeamRequest{ - TeamId: &teams.TeamId{ + getTeamReq := &cxsdk.GetTeamRequest{ + TeamId: &cxsdk.TeamID{ Id: uint32(intId), }, } log.Printf("[INFO] Reading Team: %s", protojson.Format(getTeamReq)) - getTeamResp, err := r.client.GetTeam(ctx, getTeamReq) + getTeamResp, err := r.client.Get(ctx, getTeamReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -231,14 +215,19 @@ func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp } else { resp.Diagnostics.AddError( "Error reading Team", - formatRpcErrors(err, getTeamURL, protojson.Format(getTeamReq)), + formatRpcErrors(err, cxsdk.GetTeamRPC, protojson.Format(getTeamReq)), ) } return } log.Printf("[INFO] Received Team: %s", protojson.Format(getTeamResp)) - state := flattenTeam(getTeamResp) + state := TeamResourceModel{ + ID: types.StringValue(strconv.Itoa(int(getTeamResp.GetTeamId().GetId()))), + Name: types.StringValue(getTeamResp.GetTeamName()), + Retention: types.Int64Value(int64(getTeamResp.GetRetention())), + DailyQuota: types.Float64Value(math.Round(getTeamResp.GetDailyQuota()*1000) / 1000), + } // Set state to fully populated data diags = resp.State.Set(ctx, state) resp.Diagnostics.Append(diags...) @@ -259,47 +248,45 @@ func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, r } log.Printf("[INFO] Updating Team: %s", protojson.Format(updateReq)) - _, err := r.client.UpdateTeam(ctx, updateReq) + _, err := r.client.Update(ctx, updateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - if status.Code(err) == codes.PermissionDenied || status.Code(err) == codes.Unauthenticated { - resp.Diagnostics.AddError( - "Error updating Team", - fmt.Sprintf("permission denied for url - %s\ncheck your org-key and permissions", updateTeamURL), - ) - } else { - resp.Diagnostics.AddError( - "Error updating Team", - formatRpcErrors(err, updateTeamURL, protojson.Format(updateReq)), - ) - } + resp.Diagnostics.AddError( + "Error updating Team", + formatRpcErrors(err, cxsdk.UpdateTeamRPC, protojson.Format(updateReq)), + ) return } log.Printf("[INFO] Updated team: %s", plan.ID.ValueString()) - getTeamReq := &teams.GetTeamRequest{ + getTeamReq := &cxsdk.GetTeamRequest{ TeamId: updateReq.GetTeamId(), } - getTeamResp, err := r.client.GetTeam(ctx, getTeamReq) + getTeamResp, err := r.client.Get(ctx, getTeamReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading Team", - formatRpcErrors(err, getTeamURL, protojson.Format(getTeamReq)), + formatRpcErrors(err, cxsdk.GetTeamRPC, protojson.Format(getTeamReq)), ) return } log.Printf("[INFO] Received Team: %s", protojson.Format(getTeamResp)) - state := flattenTeam(getTeamResp) + state := TeamResourceModel{ + ID: types.StringValue(strconv.Itoa(int(getTeamResp.GetTeamId().GetId()))), + Name: types.StringValue(getTeamResp.GetTeamName()), + Retention: types.Int64Value(int64(getTeamResp.GetRetention())), + DailyQuota: types.Float64Value(math.Round(getTeamResp.GetDailyQuota()*1000) / 1000), + } // Set state to fully populated data diags = resp.State.Set(ctx, state) resp.Diagnostics.Append(diags...) } -func extractUpdateTeam(plan *TeamResourceModel) (*teams.UpdateTeamRequest, diag.Diagnostics) { +func extractUpdateTeam(plan *TeamResourceModel) (*cxsdk.UpdateTeamRequest, diag.Diagnostics) { dailyQuota := new(float64) *dailyQuota = plan.DailyQuota.ValueFloat64() @@ -307,12 +294,12 @@ func extractUpdateTeam(plan *TeamResourceModel) (*teams.UpdateTeamRequest, diag. if err != nil { return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error converting team id to int", err.Error())} } - teamId := &teams.TeamId{Id: uint32(id)} + teamId := &cxsdk.TeamID{Id: uint32(id)} teamName := new(string) *teamName = plan.Name.ValueString() - return &teams.UpdateTeamRequest{ + return &cxsdk.UpdateTeamRequest{ TeamId: teamId, TeamName: teamName, DailyQuota: dailyQuota, @@ -337,22 +324,15 @@ func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, r return } - deleteReq := &teams.DeleteTeamRequest{TeamId: &teams.TeamId{Id: uint32(id)}} + deleteReq := &cxsdk.DeleteTeamRequest{TeamId: &cxsdk.TeamID{Id: uint32(id)}} log.Printf("[INFO] Deleting Team: %s", protojson.Format(deleteReq)) - _, err = r.client.DeleteTeam(ctx, deleteReq) + _, err = r.client.Delete(ctx, deleteReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) - if status.Code(err) == codes.PermissionDenied || status.Code(err) == codes.Unauthenticated { - resp.Diagnostics.AddError( - "Error deleting Team", - fmt.Sprintf("permission denied for url - %s\ncheck your org-key and permissions", deleteTeamURL), - ) - } else { - resp.Diagnostics.AddError( - "Error deleting Team", - formatRpcErrors(err, deleteTeamURL, protojson.Format(deleteReq)), - ) - } + resp.Diagnostics.AddError( + "Error deleting Team", + formatRpcErrors(err, cxsdk.DeleteTeamRPC, protojson.Format(deleteReq)), + ) return } log.Printf("[INFO] Deleted team: %s", state.ID.ValueString()) diff --git a/coralogix/resource_coralogix_team_test.go b/coralogix/resource_coralogix_team_test.go deleted file mode 100644 index 6979f098..00000000 --- a/coralogix/resource_coralogix_team_test.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2024 Coralogix Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package coralogix - -// -//import ( -// "context" -// "fmt" -// "testing" -// -// "terraform-provider-coralogix/coralogix/clientset" -// -// "github.com/hashicorp/terraform-plugin-testing/helper/resource" -// "github.com/hashicorp/terraform-plugin-testing/terraform" -//) -// -//var teamResourceName = "coralogix_team.test" -// -//func TestAccCoralogixResourceTeam(t *testing.T) { -// resource.Test(t, resource.TestCase{ -// PreCheck: func() { testAccPreCheck(t) }, -// ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, -// CheckDestroy: testAccCheckUserDestroy, -// Steps: []resource.TestStep{ -// { -// Config: testAccCoralogixResourceTeam(), -// Check: resource.ComposeAggregateTestCheckFunc( -// resource.TestCheckResourceAttrSet(userResourceName, "id"), -// resource.TestCheckResourceAttr(userResourceName, "name", "example"), -// resource.TestCheckResourceAttr(userResourceName, "retention", "1"), -// resource.TestCheckResourceAttr(userResourceName, "daily_quota", "0.025"), -// ), -// }, -// { -// ResourceName: userResourceName, -// ImportState: true, -// ImportStateVerify: true, -// }, -// { -// Config: testAccCoralogixResourceUpdatedTeam(), -// Check: resource.ComposeAggregateTestCheckFunc( -// resource.TestCheckResourceAttrSet(userResourceName, "id"), -// resource.TestCheckResourceAttr(userResourceName, "name", "updated_example"), -// resource.TestCheckTypeSetElemAttr(userResourceName, "team_admins_emails.*", "example@coralogix.com"), -// resource.TestCheckResourceAttr(userResourceName, "retention", "1"), -// resource.TestCheckResourceAttr(userResourceName, "daily_quota", "0.1"), -// ), -// }, -// }, -// }) -//} -// -//func testAccCheckTeamDestroy(s *terraform.State) error { -// client := testAccProvider.Meta().(*clientset.ClientSet).Teams() -// -// ctx := context.TODO() -// -// for _, rs := range s.RootModule().Resources { -// if rs.Type != "coralogix_team" { -// continue -// } -// -// resp, err := client.GetTeam(ctx, rs.Primary.ID) -// if err == nil && resp != nil { -// return fmt.Errorf("team still exists and active: %s", rs.Primary.ID) -// } -// } -// -// return nil -//} -// -//func testAccCoralogixResourceTeam() string { -// return `resource "coralogix_team" "example" { -// name = "example" -// retention = 1 -// daily_quota = 0.025 -// } -// ` -//} -// -//func testAccCoralogixResourceUpdatedTeam() string { -// return `resource "coralogix_team" "example" { -// name = "updated_example -// team_admins_emails = ["example@coralogix.com"] -// retention = 1 -// daily_quota = 0.1 -// } -// ` -//} diff --git a/coralogix/resource_coralogix_user.go b/coralogix/resource_coralogix_user.go index 617d431b..a1925d70 100644 --- a/coralogix/resource_coralogix_user.go +++ b/coralogix/resource_coralogix_user.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,6 +20,9 @@ import ( "fmt" "log" + "terraform-provider-coralogix/coralogix/clientset" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/path" @@ -35,7 +38,6 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "terraform-provider-coralogix/coralogix/clientset" ) func NewUserResource() resource.Resource { @@ -43,7 +45,7 @@ func NewUserResource() resource.Resource { } type UserResource struct { - client *clientset.UsersClient + client *cxsdk.UsersClient } func (r *UserResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -164,12 +166,12 @@ func (r *UserResource) Create(ctx context.Context, req resource.CreateRequest, r } userStr, _ := json.Marshal(createUserRequest) log.Printf("[INFO] Creating new User: %s", string(userStr)) - createResp, err := r.client.CreateUser(ctx, createUserRequest) + createResp, err := r.client.Create(ctx, createUserRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating User", - formatRpcErrors(err, r.client.TargetUrl, string(userStr)), + formatRpcErrors(err, r.client.BaseURL(), string(userStr)), ) return } @@ -187,7 +189,7 @@ func (r *UserResource) Create(ctx context.Context, req resource.CreateRequest, r resp.Diagnostics.Append(diags...) } -func flattenSCIMUser(ctx context.Context, user *clientset.SCIMUser) (*UserResourceModel, diag.Diagnostics) { +func flattenSCIMUser(ctx context.Context, user *cxsdk.SCIMUser) (*UserResourceModel, diag.Diagnostics) { name, diags := flattenSCIMUserName(ctx, user.Name) if diags.HasError() { return nil, diags @@ -213,7 +215,7 @@ func flattenSCIMUser(ctx context.Context, user *clientset.SCIMUser) (*UserResour }, nil } -func flattenSCIMUserEmails(ctx context.Context, emails []clientset.SCIMUserEmail) (types.Set, diag.Diagnostics) { +func flattenSCIMUserEmails(ctx context.Context, emails []cxsdk.SCIMUserEmail) (types.Set, diag.Diagnostics) { emailsIDs := make([]UserEmailModel, 0, len(emails)) for _, email := range emails { emailModel := UserEmailModel{ @@ -234,7 +236,7 @@ func SCIMUserEmailAttr() map[string]attr.Type { } } -func flattenSCIMUserName(ctx context.Context, name *clientset.SCIMUserName) (types.Object, diag.Diagnostics) { +func flattenSCIMUserName(ctx context.Context, name *cxsdk.SCIMUserName) (types.Object, diag.Diagnostics) { if name == nil { return types.ObjectNull(sCIMUserNameAttr()), nil } @@ -251,7 +253,7 @@ func sCIMUserNameAttr() map[string]attr.Type { } } -func flattenSCIMUserGroups(ctx context.Context, groups []clientset.SCIMUserGroup) (types.Set, diag.Diagnostics) { +func flattenSCIMUserGroups(ctx context.Context, groups []cxsdk.SCIMUserGroup) (types.Set, diag.Diagnostics) { groupsIDs := make([]string, 0, len(groups)) for _, group := range groups { groupsIDs = append(groupsIDs, group.Value) @@ -269,7 +271,7 @@ func (r *UserResource) Read(ctx context.Context, req resource.ReadRequest, resp //Get refreshed User value from Coralogix id := state.ID.ValueString() - getUserResp, err := r.client.GetUser(ctx, id) + getUserResp, err := r.client.Get(ctx, id) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -281,7 +283,7 @@ func (r *UserResource) Read(ctx context.Context, req resource.ReadRequest, resp } else { resp.Diagnostics.AddError( "Error reading User", - formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.TargetUrl, id), ""), + formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.BaseURL(), id), ""), ) } return @@ -331,12 +333,12 @@ func (r *UserResource) Update(ctx context.Context, req resource.UpdateRequest, r userStr, _ := json.Marshal(userUpdateReq) log.Printf("[INFO] Updating User: %s", string(userStr)) userID := plan.ID.ValueString() - userUpdateResp, err := r.client.UpdateUser(ctx, userID, userUpdateReq) + userUpdateResp, err := r.client.Update(ctx, userID, userUpdateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating User", - formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.TargetUrl, userID), string(userStr)), + formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.BaseURL(), userID), string(userStr)), ) return } @@ -345,7 +347,7 @@ func (r *UserResource) Update(ctx context.Context, req resource.UpdateRequest, r // Get refreshed User value from Coralogix id := plan.ID.ValueString() - getUserResp, err := r.client.GetUser(ctx, id) + getUserResp, err := r.client.Get(ctx, id) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -357,7 +359,7 @@ func (r *UserResource) Update(ctx context.Context, req resource.UpdateRequest, r } else { resp.Diagnostics.AddError( "Error reading User", - formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.TargetUrl, id), string(userStr)), + formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.BaseURL(), id), string(userStr)), ) } return @@ -386,10 +388,10 @@ func (r *UserResource) Delete(ctx context.Context, req resource.DeleteRequest, r id := state.ID.ValueString() log.Printf("[INFO] Deleting User %s", id) - if err := r.client.DeleteUser(ctx, id); err != nil { + if err := r.client.Delete(ctx, id); err != nil { resp.Diagnostics.AddError( fmt.Sprintf("Error Deleting User %s", id), - formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.TargetUrl, id), ""), + formatRpcErrors(err, fmt.Sprintf("%s/%s", r.client.BaseURL(), id), ""), ) return } @@ -416,7 +418,7 @@ type UserEmailModel struct { Type types.String `tfsdk:"type"` } -func extractCreateUser(ctx context.Context, plan *UserResourceModel) (*clientset.SCIMUser, diag.Diagnostics) { +func extractCreateUser(ctx context.Context, plan *UserResourceModel) (*cxsdk.SCIMUser, diag.Diagnostics) { name, diags := extractUserSCIMName(ctx, plan.Name) if diags.HasError() { return nil, diags @@ -430,7 +432,7 @@ func extractCreateUser(ctx context.Context, plan *UserResourceModel) (*clientset return nil, diags } - return &clientset.SCIMUser{ + return &cxsdk.SCIMUser{ Schemas: []string{}, UserName: plan.UserName.ValueString(), Name: name, @@ -440,9 +442,9 @@ func extractCreateUser(ctx context.Context, plan *UserResourceModel) (*clientset }, nil } -func extractUserGroups(ctx context.Context, groups types.Set) ([]clientset.SCIMUserGroup, diag.Diagnostics) { +func extractUserGroups(ctx context.Context, groups types.Set) ([]cxsdk.SCIMUserGroup, diag.Diagnostics) { groupsElements := groups.Elements() - userGroups := make([]clientset.SCIMUserGroup, 0, len(groupsElements)) + userGroups := make([]cxsdk.SCIMUserGroup, 0, len(groupsElements)) var diags diag.Diagnostics for _, group := range groupsElements { val, err := group.ToTerraformValue(ctx) @@ -456,7 +458,7 @@ func extractUserGroups(ctx context.Context, groups types.Set) ([]clientset.SCIMU diags.AddError("Failed to convert value to string", err.Error()) continue } - userGroups = append(userGroups, clientset.SCIMUserGroup{Value: str}) + userGroups = append(userGroups, cxsdk.SCIMUserGroup{Value: str}) } if diags.HasError() { return nil, diags @@ -464,7 +466,7 @@ func extractUserGroups(ctx context.Context, groups types.Set) ([]clientset.SCIMU return userGroups, nil } -func extractUserSCIMName(ctx context.Context, name types.Object) (*clientset.SCIMUserName, diag.Diagnostics) { +func extractUserSCIMName(ctx context.Context, name types.Object) (*cxsdk.SCIMUserName, diag.Diagnostics) { if name.IsNull() || name.IsUnknown() { return nil, nil } @@ -474,16 +476,16 @@ func extractUserSCIMName(ctx context.Context, name types.Object) (*clientset.SCI return nil, diags } - return &clientset.SCIMUserName{ + return &cxsdk.SCIMUserName{ GivenName: nameModel.GivenName.ValueString(), FamilyName: nameModel.FamilyName.ValueString(), }, nil } -func extractUserEmails(ctx context.Context, emails types.Set) ([]clientset.SCIMUserEmail, diag.Diagnostics) { +func extractUserEmails(ctx context.Context, emails types.Set) ([]cxsdk.SCIMUserEmail, diag.Diagnostics) { var diags diag.Diagnostics var emailsObjects []types.Object - var expandedEmails []clientset.SCIMUserEmail + var expandedEmails []cxsdk.SCIMUserEmail emails.ElementsAs(ctx, &emailsObjects, true) for _, eo := range emailsObjects { @@ -492,7 +494,7 @@ func extractUserEmails(ctx context.Context, emails types.Set) ([]clientset.SCIMU diags.Append(dg...) continue } - expandedEmail := clientset.SCIMUserEmail{ + expandedEmail := cxsdk.SCIMUserEmail{ Value: email.Value.ValueString(), Primary: email.Primary.ValueBool(), Type: email.Type.ValueString(), diff --git a/coralogix/resource_coralogix_user_test.go b/coralogix/resource_coralogix_user_test.go index 806a99c1..4f2760ad 100644 --- a/coralogix/resource_coralogix_user_test.go +++ b/coralogix/resource_coralogix_user_test.go @@ -1,11 +1,11 @@ // Copyright 2024 Coralogix Ltd. -// +// // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at -// +// // https://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -62,7 +62,7 @@ func testAccCheckUserDestroy(s *terraform.State) error { continue } - resp, err := client.GetUser(ctx, rs.Primary.ID) + resp, err := client.Get(ctx, rs.Primary.ID) if err == nil && resp != nil { if *resp.ID == rs.Primary.ID && resp.Active { return fmt.Errorf("user still exists and active: %s", rs.Primary.ID) diff --git a/coralogix/resource_coralogix_webhook.go b/coralogix/resource_coralogix_webhook.go index 851d55c0..09379130 100644 --- a/coralogix/resource_coralogix_webhook.go +++ b/coralogix/resource_coralogix_webhook.go @@ -22,7 +22,8 @@ import ( "strings" "terraform-provider-coralogix/coralogix/clientset" - webhooks "terraform-provider-coralogix/coralogix/clientset/grpc/webhooks" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" @@ -50,25 +51,25 @@ import ( var ( _ resource.ResourceWithConfigure = &WebhookResource{} _ resource.ResourceWithImportState = &WebhookResource{} - webhooksSchemaToProtoMethod = map[string]webhooks.GenericWebhookConfig_MethodType{ - "get": webhooks.GenericWebhookConfig_GET, - "post": webhooks.GenericWebhookConfig_POST, - "put": webhooks.GenericWebhookConfig_PUT, + webhooksSchemaToProtoMethod = map[string]cxsdk.GenericWebhookConfigMethodType{ + "get": cxsdk.GenericWebhookConfigGet, + "post": cxsdk.GenericWebhookConfigPost, + "put": cxsdk.GenericWebhookConfigPut, } webhooksProtoToSchemaMethod = ReverseMap(webhooksSchemaToProtoMethod) webhooksValidMethods = GetKeys(webhooksSchemaToProtoMethod) - webhooksSchemaToProtoSlackConfigDigestType = map[string]webhooks.SlackConfig_DigestType{ - "error_and_critical_logs": webhooks.SlackConfig_ERROR_AND_CRITICAL_LOGS, - "flow_anomalies": webhooks.SlackConfig_FLOW_ANOMALIES, - "spike_anomalies": webhooks.SlackConfig_SPIKE_ANOMALIES, - "data_usage": webhooks.SlackConfig_DATA_USAGE, + webhooksSchemaToProtoSlackConfigDigestType = map[string]cxsdk.SlackConfigDigestType{ + "error_and_critical_logs": cxsdk.SlackConfigErrorAndCriticalLogs, + "flow_anomalies": cxsdk.SlackConfigFlowAnomalies, + "spike_anomalies": cxsdk.SlackConfigSpikeAnomalies, + "data_usage": cxsdk.SlackConfigDataUsage, } webhooksProtoToSchemaSlackConfigDigestType = ReverseMap(webhooksSchemaToProtoSlackConfigDigestType) webhooksValidSlackConfigDigestTypes = GetKeys(webhooksSchemaToProtoSlackConfigDigestType) - webhooksProtoToSchemaSlackAttachmentType = map[string]webhooks.SlackConfig_AttachmentType{ - "empty": webhooks.SlackConfig_EMPTY, - "metric_snapshot": webhooks.SlackConfig_METRIC_SNAPSHOT, - "logs": webhooks.SlackConfig_LOGS, + webhooksProtoToSchemaSlackAttachmentType = map[string]cxsdk.SlackConfigAttachmentType{ + "empty": cxsdk.SlackConfigEmpty, + "metric_snapshot": cxsdk.SlackConfigMetricSnapshot, + "logs": cxsdk.SlackConfigLogs, } webhooksSchemaToProtoSlackAttachmentType = ReverseMap(webhooksProtoToSchemaSlackAttachmentType) webhooksValidSlackAttachmentTypes = GetKeys(webhooksProtoToSchemaSlackAttachmentType) @@ -240,10 +241,6 @@ var ( } ] }` - createWebhookURL = "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/CreateOutgoingWebhook" - getWebhookURL = "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/GetOutgoingWebhook" - updateWebhookURL = "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/UpdateOutgoingWebhook" - deleteWebhookURL = "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/DeleteOutgoingWebhook" ) func NewWebhookResource() resource.Resource { @@ -251,7 +248,7 @@ func NewWebhookResource() resource.Resource { } type WebhookResource struct { - client *clientset.WebhooksClient + client *cxsdk.WebhooksClient } type WebhookResourceModel struct { @@ -767,27 +764,27 @@ func (r *WebhookResource) Create(ctx context.Context, req resource.CreateRequest } webhookStr := protojson.Format(createWebhookRequest) log.Printf("[INFO] Creating new webhook: %s", webhookStr) - createResp, err := r.client.CreateWebhook(ctx, createWebhookRequest) + createResp, err := r.client.Create(ctx, createWebhookRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error creating Webhook", - formatRpcErrors(err, createWebhookURL, webhookStr), + formatRpcErrors(err, cxsdk.OutgoingWebhookCreateRPC, webhookStr), ) return } id := createResp.Id.GetValue() log.Printf("[INFO] Submitted new webhook, id - %s", id) - readWebhookRequest := &webhooks.GetOutgoingWebhookRequest{ + readWebhookRequest := &cxsdk.GetOutgoingWebhookRequest{ Id: wrapperspb.String(id), } - getWebhookResp, err := r.client.GetWebhook(ctx, readWebhookRequest) + getWebhookResp, err := r.client.Get(ctx, readWebhookRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error reading Webhook", - formatRpcErrors(err, getWebhookURL, protojson.Format(readWebhookRequest)), + formatRpcErrors(err, cxsdk.OutgoingWebhookGetRPC, protojson.Format(readWebhookRequest)), ) return } @@ -815,12 +812,12 @@ func (r *WebhookResource) Read(ctx context.Context, req resource.ReadRequest, re } id := state.ID.ValueString() - readWebhookRequest := &webhooks.GetOutgoingWebhookRequest{ + readWebhookRequest := &cxsdk.GetOutgoingWebhookRequest{ Id: wrapperspb.String(id), } log.Printf("[INFO] Reading Webhook: %s", id) - getWebhookResp, err := r.client.GetWebhook(ctx, readWebhookRequest) + getWebhookResp, err := r.client.Get(ctx, readWebhookRequest) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -832,7 +829,7 @@ func (r *WebhookResource) Read(ctx context.Context, req resource.ReadRequest, re } else { resp.Diagnostics.AddError( "Error reading Webhook", - formatRpcErrors(err, getWebhookURL, protojson.Format(readWebhookRequest)), + formatRpcErrors(err, cxsdk.OutgoingWebhookGetRPC, protojson.Format(readWebhookRequest)), ) } return @@ -866,12 +863,12 @@ func (r WebhookResource) Update(ctx context.Context, req resource.UpdateRequest, return } log.Printf("[INFO] Updating Webhook: %s", protojson.Format(webhookUpdateReq)) - webhookUpdateResp, err := r.client.UpdateWebhook(ctx, webhookUpdateReq) + webhookUpdateResp, err := r.client.Update(ctx, webhookUpdateReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error updating Webhook", - formatRpcErrors(err, updateWebhookURL, protojson.Format(webhookUpdateReq)), + formatRpcErrors(err, cxsdk.OutgoingWebhookUpdateRPC, protojson.Format(webhookUpdateReq)), ) return } @@ -879,8 +876,8 @@ func (r WebhookResource) Update(ctx context.Context, req resource.UpdateRequest, // Get refreshed Webhook value from Coralogix id := plan.ID.ValueString() - getWebhookReq := &webhooks.GetOutgoingWebhookRequest{Id: wrapperspb.String(id)} - getWebhookResp, err := r.client.GetWebhook(ctx, getWebhookReq) + getWebhookReq := &cxsdk.GetOutgoingWebhookRequest{Id: wrapperspb.String(id)} + getWebhookResp, err := r.client.Get(ctx, getWebhookReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) if status.Code(err) == codes.NotFound { @@ -892,7 +889,7 @@ func (r WebhookResource) Update(ctx context.Context, req resource.UpdateRequest, } else { resp.Diagnostics.AddError( "Error reading Webhook", - formatRpcErrors(err, getWebhookURL, protojson.Format(getWebhookReq)), + formatRpcErrors(err, cxsdk.OutgoingWebhookGetRPC, protojson.Format(getWebhookReq)), ) } return @@ -919,21 +916,21 @@ func (r WebhookResource) Delete(ctx context.Context, req resource.DeleteRequest, id := state.ID.ValueString() log.Printf("[INFO] Deleting Webhook: %s", id) - deleteReq := &webhooks.DeleteOutgoingWebhookRequest{Id: wrapperspb.String(id)} - _, err := r.client.DeleteWebhook(ctx, deleteReq) + deleteReq := &cxsdk.DeleteOutgoingWebhookRequest{Id: wrapperspb.String(id)} + _, err := r.client.Delete(ctx, deleteReq) if err != nil { log.Printf("[ERROR] Received error: %s", err.Error()) resp.Diagnostics.AddError( "Error deleting Webhook", - formatRpcErrors(err, deleteWebhookURL, protojson.Format(deleteReq)), + formatRpcErrors(err, cxsdk.OutgoingWebhookDeleteRPC, protojson.Format(deleteReq)), ) return } log.Printf("[INFO] Deleted Webhook: %s", id) } -func extractCreateWebhookRequest(ctx context.Context, plan *WebhookResourceModel) (*webhooks.CreateOutgoingWebhookRequest, diag.Diagnostics) { - data := &webhooks.OutgoingWebhookInputData{ +func extractCreateWebhookRequest(ctx context.Context, plan *WebhookResourceModel) (*cxsdk.CreateOutgoingWebhookRequest, diag.Diagnostics) { + data := &cxsdk.OutgoingWebhookInputData{ Name: typeStringToWrapperspbString(plan.Name), } @@ -942,13 +939,13 @@ func extractCreateWebhookRequest(ctx context.Context, plan *WebhookResourceModel return nil, diagnostics } - return &webhooks.CreateOutgoingWebhookRequest{ + return &cxsdk.CreateOutgoingWebhookRequest{ Data: data, }, nil } -func extractUpdateWebhookRequest(ctx context.Context, plan *WebhookResourceModel) (*webhooks.UpdateOutgoingWebhookRequest, diag.Diagnostics) { - data := &webhooks.OutgoingWebhookInputData{ +func extractUpdateWebhookRequest(ctx context.Context, plan *WebhookResourceModel) (*cxsdk.UpdateOutgoingWebhookRequest, diag.Diagnostics) { + data := &cxsdk.OutgoingWebhookInputData{ Name: typeStringToWrapperspbString(plan.Name), } @@ -957,47 +954,44 @@ func extractUpdateWebhookRequest(ctx context.Context, plan *WebhookResourceModel return nil, diagnostics } - return &webhooks.UpdateOutgoingWebhookRequest{ + return &cxsdk.UpdateOutgoingWebhookRequest{ Id: plan.ID.ValueString(), Data: data, }, nil } -func expandWebhookType(ctx context.Context, plan *WebhookResourceModel, data *webhooks.OutgoingWebhookInputData) (*webhooks.OutgoingWebhookInputData, diag.Diagnostics) { +func expandWebhookType(ctx context.Context, plan *WebhookResourceModel, data *cxsdk.OutgoingWebhookInputData) (*cxsdk.OutgoingWebhookInputData, diag.Diagnostics) { var diags diag.Diagnostics if plan.CustomWebhook != nil { data.Config, data.Url, diags = expandGenericWebhook(ctx, plan.CustomWebhook) - data.Type = webhooks.WebhookType_GENERIC + data.Type = cxsdk.WebhookTypeGeneric } else if plan.Slack != nil { data.Config, data.Url, diags = expandSlack(ctx, plan.Slack) - data.Type = webhooks.WebhookType_SLACK + data.Type = cxsdk.WebhookTypeSlack } else if plan.PagerDuty != nil { data.Config = expandPagerDuty(plan.PagerDuty) - data.Type = webhooks.WebhookType_PAGERDUTY + data.Type = cxsdk.WebhookTypePagerduty } else if plan.SendLog != nil { data.Config, data.Url = expandSendLog(plan.SendLog) - data.Type = webhooks.WebhookType_SEND_LOG + data.Type = cxsdk.WebhookTypeSendLog } else if plan.EmailGroup != nil { data.Config, diags = expandEmailGroup(ctx, plan.EmailGroup) - data.Type = webhooks.WebhookType_EMAIL_GROUP + data.Type = cxsdk.WebhookTypeEmailGroup } else if plan.MsTeamsWorkflow != nil { data.Config, data.Url = expandMicrosoftTeamsWorkflow(plan.MsTeamsWorkflow) - data.Type = webhooks.WebhookType_MS_TEAMS_WORKFLOW - } else if plan.MsTeams != nil { - data.Config, data.Url = expandMicrosoftTeams(plan.MsTeams) - data.Type = webhooks.WebhookType_MS_TEAMS_WORKFLOW + data.Type = cxsdk.WebhookTypeMicrosoftTeamsWorkflow } else if plan.Jira != nil { data.Config, data.Url = expandJira(plan.Jira) - data.Type = webhooks.WebhookType_JIRA + data.Type = cxsdk.WebhookTypeJira } else if plan.Opsgenie != nil { data.Config, data.Url = expandOpsgenie(plan.Opsgenie) - data.Type = webhooks.WebhookType_OPSGENIE + data.Type = cxsdk.WebhookTypeOpsgenie } else if plan.Demisto != nil { data.Config, data.Url = expandDemisto(plan.Demisto) - data.Type = webhooks.WebhookType_DEMISTO + data.Type = cxsdk.WebhookTypeDemisto } else if plan.EventBridge != nil { data.Config = expandEventBridge(plan.EventBridge) - data.Type = webhooks.WebhookType_AWS_EVENT_BRIDGE + data.Type = cxsdk.WebhookTypeAwsEventBridge } else { diags.AddError("Error expanding webhook type", "Unknown webhook type") @@ -1010,9 +1004,9 @@ func expandWebhookType(ctx context.Context, plan *WebhookResourceModel, data *we return data, nil } -func expandEventBridge(bridge *EventBridgeModel) *webhooks.OutgoingWebhookInputData_AwsEventBridge { - return &webhooks.OutgoingWebhookInputData_AwsEventBridge{ - AwsEventBridge: &webhooks.AwsEventBridgeConfig{ +func expandEventBridge(bridge *EventBridgeModel) *cxsdk.AwsEventBridgeWebhookInputData { + return &cxsdk.AwsEventBridgeWebhookInputData{ + AwsEventBridge: &cxsdk.AwsEventBridgeConfig{ EventBusArn: typeStringToWrapperspbString(bridge.EventBusARN), Detail: typeStringToWrapperspbString(bridge.Detail), DetailType: typeStringToWrapperspbString(bridge.DetailType), @@ -1022,29 +1016,29 @@ func expandEventBridge(bridge *EventBridgeModel) *webhooks.OutgoingWebhookInputD } } -func expandMicrosoftTeamsWorkflow(microsoftTeams *MsTeamsWorkflowModel) (*webhooks.OutgoingWebhookInputData_MsTeamsWorkflow, *wrapperspb.StringValue) { +func expandMicrosoftTeamsWorkflow(microsoftTeams *MsTeamsWorkflowModel) (*cxsdk.MsTeamsWorkflowInputData, *wrapperspb.StringValue) { var url *wrapperspb.StringValue if planUrl := microsoftTeams.URL; !(planUrl.IsNull() || planUrl.IsUnknown()) { url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_MsTeamsWorkflow{ - MsTeamsWorkflow: &webhooks.MSTeamsWorkflowConfig{}, + return &cxsdk.MsTeamsWorkflowInputData{ + MsTeamsWorkflow: &cxsdk.MSTeamsWorkflowConfig{}, }, url } -func expandMicrosoftTeams(microsoftTeams *MsTeamsWorkflowModel) (*webhooks.OutgoingWebhookInputData_MicrosoftTeams, *wrapperspb.StringValue) { +func expandMicrosoftTeams(microsoftTeams *MsTeamsWorkflowModel) (*cxsdk.MicrosoftTeamsWebhookInputData, *wrapperspb.StringValue) { var url *wrapperspb.StringValue if planUrl := microsoftTeams.URL; !(planUrl.IsNull() || planUrl.IsUnknown()) { url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_MicrosoftTeams{ - MicrosoftTeams: &webhooks.MicrosoftTeamsConfig{}, + return &cxsdk.MicrosoftTeamsWebhookInputData{ + MicrosoftTeams: &cxsdk.MicrosoftTeamsConfig{}, }, url } -func expandSlack(ctx context.Context, slack *SlackModel) (*webhooks.OutgoingWebhookInputData_Slack, *wrapperspb.StringValue, diag.Diagnostics) { +func expandSlack(ctx context.Context, slack *SlackModel) (*cxsdk.SlackWebhookInputData, *wrapperspb.StringValue, diag.Diagnostics) { digests, diags := expandDigests(ctx, slack.NotifyAbout) if diags.HasError() { return nil, nil, diags @@ -1060,17 +1054,17 @@ func expandSlack(ctx context.Context, slack *SlackModel) (*webhooks.OutgoingWebh url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_Slack{ - Slack: &webhooks.SlackConfig{ + return &cxsdk.SlackWebhookInputData{ + Slack: &cxsdk.SlackConfig{ Digests: digests, Attachments: attachments, }, }, url, nil } -func expandSlackAttachments(ctx context.Context, attachmentsList types.List) ([]*webhooks.SlackConfig_Attachment, diag.Diagnostics) { +func expandSlackAttachments(ctx context.Context, attachmentsList types.List) ([]*cxsdk.SlackConfigAttachment, diag.Diagnostics) { var attachmentsObjects []types.Object - var expandedAttachments []*webhooks.SlackConfig_Attachment + var expandedAttachments []*cxsdk.SlackConfigAttachment diags := attachmentsList.ElementsAs(ctx, &attachmentsObjects, true) if diags.HasError() { return nil, diags @@ -1082,7 +1076,7 @@ func expandSlackAttachments(ctx context.Context, attachmentsList types.List) ([] diags.Append(dg...) continue } - expandedAttachment := &webhooks.SlackConfig_Attachment{ + expandedAttachment := &cxsdk.SlackConfigAttachment{ Type: webhooksProtoToSchemaSlackAttachmentType[attachmentModel.Type.ValueString()], IsActive: typeBoolToWrapperspbBool(attachmentModel.Active), } @@ -1091,9 +1085,9 @@ func expandSlackAttachments(ctx context.Context, attachmentsList types.List) ([] return expandedAttachments, diags } -func expandDigests(ctx context.Context, digestsSet types.Set) ([]*webhooks.SlackConfig_Digest, diag.Diagnostics) { +func expandDigests(ctx context.Context, digestsSet types.Set) ([]*cxsdk.SlackConfigDigest, diag.Diagnostics) { digests := digestsSet.Elements() - expandedDigests := make([]*webhooks.SlackConfig_Digest, 0, len(digests)) + expandedDigests := make([]*cxsdk.SlackConfigDigest, 0, len(digests)) var diags diag.Diagnostics for _, digest := range digests { val, err := digest.ToTerraformValue(ctx) @@ -1112,14 +1106,14 @@ func expandDigests(ctx context.Context, digestsSet types.Set) ([]*webhooks.Slack return expandedDigests, diags } -func expandDigest(digest webhooks.SlackConfig_DigestType) *webhooks.SlackConfig_Digest { - return &webhooks.SlackConfig_Digest{ +func expandDigest(digest cxsdk.SlackConfigDigestType) *cxsdk.SlackConfigDigest { + return &cxsdk.SlackConfigDigest{ Type: digest, IsActive: wrapperspb.Bool(true), } } -func expandGenericWebhook(ctx context.Context, genericWebhook *CustomWebhookModel) (*webhooks.OutgoingWebhookInputData_GenericWebhook, *wrapperspb.StringValue, diag.Diagnostics) { +func expandGenericWebhook(ctx context.Context, genericWebhook *CustomWebhookModel) (*cxsdk.GenericWebhookInputData, *wrapperspb.StringValue, diag.Diagnostics) { headers, diags := typeMapToStringMap(ctx, genericWebhook.Headers) if diags.HasError() { return nil, nil, diags @@ -1130,8 +1124,8 @@ func expandGenericWebhook(ctx context.Context, genericWebhook *CustomWebhookMode url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_GenericWebhook{ - GenericWebhook: &webhooks.GenericWebhookConfig{ + return &cxsdk.GenericWebhookInputData{ + GenericWebhook: &cxsdk.GenericWebhookConfig{ Uuid: expandUuid(genericWebhook.UUID), Method: webhooksSchemaToProtoMethod[genericWebhook.Method.ValueString()], Headers: headers, @@ -1140,49 +1134,49 @@ func expandGenericWebhook(ctx context.Context, genericWebhook *CustomWebhookMode }, url, nil } -func expandPagerDuty(pagerDuty *PagerDutyModel) *webhooks.OutgoingWebhookInputData_PagerDuty { - return &webhooks.OutgoingWebhookInputData_PagerDuty{ - PagerDuty: &webhooks.PagerDutyConfig{ +func expandPagerDuty(pagerDuty *PagerDutyModel) *cxsdk.PagerDutyWebhookInputData { + return &cxsdk.PagerDutyWebhookInputData{ + PagerDuty: &cxsdk.PagerDutyConfig{ ServiceKey: typeStringToWrapperspbString(pagerDuty.ServiceKey), }, } } -func expandSendLog(sendLog *SendLogModel) (*webhooks.OutgoingWebhookInputData_SendLog, *wrapperspb.StringValue) { +func expandSendLog(sendLog *SendLogModel) (*cxsdk.SendLogWebhookInputData, *wrapperspb.StringValue) { var url *wrapperspb.StringValue if planUrl := sendLog.URL; !(planUrl.IsNull() || planUrl.IsUnknown()) { url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_SendLog{ - SendLog: &webhooks.SendLogConfig{ + return &cxsdk.SendLogWebhookInputData{ + SendLog: &cxsdk.SendLogConfig{ Uuid: expandUuid(sendLog.UUID), Payload: typeStringToWrapperspbString(sendLog.Payload), }, }, url } -func expandEmailGroup(ctx context.Context, emailGroup *EmailGroupModel) (*webhooks.OutgoingWebhookInputData_EmailGroup, diag.Diagnostics) { +func expandEmailGroup(ctx context.Context, emailGroup *EmailGroupModel) (*cxsdk.EmailGroupWebhookInputData, diag.Diagnostics) { emailAddresses, diags := typeStringSliceToWrappedStringSlice(ctx, emailGroup.Emails.Elements()) if diags.HasError() { return nil, diags } - return &webhooks.OutgoingWebhookInputData_EmailGroup{ - EmailGroup: &webhooks.EmailGroupConfig{ + return &cxsdk.EmailGroupWebhookInputData{ + EmailGroup: &cxsdk.EmailGroupConfig{ EmailAddresses: emailAddresses, }, }, nil } -func expandJira(jira *JiraModel) (*webhooks.OutgoingWebhookInputData_Jira, *wrapperspb.StringValue) { +func expandJira(jira *JiraModel) (*cxsdk.JiraWebhookInputData, *wrapperspb.StringValue) { var url *wrapperspb.StringValue if planUrl := jira.URL; !(planUrl.IsNull() || planUrl.IsUnknown()) { url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_Jira{ - Jira: &webhooks.JiraConfig{ + return &cxsdk.JiraWebhookInputData{ + Jira: &cxsdk.JiraConfig{ ApiToken: typeStringToWrapperspbString(jira.ApiKey), Email: typeStringToWrapperspbString(jira.Email), ProjectKey: typeStringToWrapperspbString(jira.ProjectID), @@ -1190,25 +1184,25 @@ func expandJira(jira *JiraModel) (*webhooks.OutgoingWebhookInputData_Jira, *wrap }, url } -func expandOpsgenie(opsgenie *OpsgenieModel) (*webhooks.OutgoingWebhookInputData_Opsgenie, *wrapperspb.StringValue) { +func expandOpsgenie(opsgenie *OpsgenieModel) (*cxsdk.OpsgenieWebhookInputData, *wrapperspb.StringValue) { var url *wrapperspb.StringValue if planUrl := opsgenie.URL; !(planUrl.IsNull() || planUrl.IsUnknown()) { url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_Opsgenie{ - Opsgenie: &webhooks.OpsgenieConfig{}, + return &cxsdk.OpsgenieWebhookInputData{ + Opsgenie: &cxsdk.OpsgenieConfig{}, }, url } -func expandDemisto(demisto *DemistoModel) (*webhooks.OutgoingWebhookInputData_Demisto, *wrapperspb.StringValue) { +func expandDemisto(demisto *DemistoModel) (*cxsdk.DemistoWebhookInputData, *wrapperspb.StringValue) { var url *wrapperspb.StringValue if planUrl := demisto.URL; !(planUrl.IsNull() || planUrl.IsUnknown()) { url = wrapperspb.String(planUrl.ValueString()) } - return &webhooks.OutgoingWebhookInputData_Demisto{ - Demisto: &webhooks.DemistoConfig{ + return &cxsdk.DemistoWebhookInputData{ + Demisto: &cxsdk.DemistoConfig{ Uuid: expandUuid(demisto.UUID), Payload: typeStringToWrapperspbString(demisto.Payload), }, @@ -1216,7 +1210,7 @@ func expandDemisto(demisto *DemistoModel) (*webhooks.OutgoingWebhookInputData_De } // Temporary function to prevent the creation of depreacted resources -func flattenWebhookWrite(ctx context.Context, webhook *webhooks.OutgoingWebhook) (*WebhookResourceModel, diag.Diagnostics) { +func flattenWebhookWrite(ctx context.Context, webhook *cxsdk.OutgoingWebhook) (*WebhookResourceModel, diag.Diagnostics) { result := &WebhookResourceModel{ ID: wrapperspbStringToTypeString(webhook.Id), ExternalID: types.StringValue(strconv.Itoa(int(webhook.GetExternalId().GetValue()))), @@ -1226,25 +1220,25 @@ func flattenWebhookWrite(ctx context.Context, webhook *webhooks.OutgoingWebhook) url := webhook.GetUrl() var diags diag.Diagnostics switch configType := webhook.Config.(type) { - case *webhooks.OutgoingWebhook_Slack: + case *cxsdk.SlackWebhook: result.Slack, diags = flattenSlack(ctx, configType.Slack, url) - case *webhooks.OutgoingWebhook_GenericWebhook: + case *cxsdk.GenericWebhook: result.CustomWebhook, diags = flattenGenericWebhook(ctx, configType.GenericWebhook, url) - case *webhooks.OutgoingWebhook_PagerDuty: + case *cxsdk.PagerDutyWebhook: result.PagerDuty = flattenPagerDuty(configType.PagerDuty) - case *webhooks.OutgoingWebhook_SendLog: + case *cxsdk.SendLogWebhook: result.SendLog = flattenSendLog(configType.SendLog, url) - case *webhooks.OutgoingWebhook_EmailGroup: + case *cxsdk.EmailGroupWebhook: result.EmailGroup = flattenEmailGroup(configType.EmailGroup) - case *webhooks.OutgoingWebhook_MsTeamsWorkflow: + case *cxsdk.MsTeamsWorkflowWebhook: result.MsTeamsWorkflow = flattenMsTeamsWorkflow(configType.MsTeamsWorkflow, url) - case *webhooks.OutgoingWebhook_Jira: + case *cxsdk.JiraWebhook: result.Jira = flattenJira(configType.Jira, url) - case *webhooks.OutgoingWebhook_Opsgenie: + case *cxsdk.OpsgenieWebhook: result.Opsgenie = flattenOpsgenie(configType.Opsgenie, url) - case *webhooks.OutgoingWebhook_Demisto: + case *cxsdk.DemistoWebhook: result.Demisto = flattenDemisto(configType.Demisto, url) - case *webhooks.OutgoingWebhook_AwsEventBridge: + case *cxsdk.AwsEventBridgeWebhook: result.EventBridge = flattenEventBridge(configType.AwsEventBridge) default: diags.AddError("Error flattening webhook", fmt.Sprintf("Unknown webhook type: %T", configType)) @@ -1253,7 +1247,7 @@ func flattenWebhookWrite(ctx context.Context, webhook *webhooks.OutgoingWebhook) return result, diags } -func flattenWebhook(ctx context.Context, webhook *webhooks.OutgoingWebhook) (*WebhookResourceModel, diag.Diagnostics) { +func flattenWebhook(ctx context.Context, webhook *cxsdk.OutgoingWebhook) (*WebhookResourceModel, diag.Diagnostics) { result := &WebhookResourceModel{ ID: wrapperspbStringToTypeString(webhook.Id), ExternalID: types.StringValue(strconv.Itoa(int(webhook.GetExternalId().GetValue()))), @@ -1263,27 +1257,27 @@ func flattenWebhook(ctx context.Context, webhook *webhooks.OutgoingWebhook) (*We url := webhook.GetUrl() var diags diag.Diagnostics switch configType := webhook.Config.(type) { - case *webhooks.OutgoingWebhook_Slack: + case *cxsdk.SlackWebhook: result.Slack, diags = flattenSlack(ctx, configType.Slack, url) - case *webhooks.OutgoingWebhook_GenericWebhook: + case *cxsdk.GenericWebhook: result.CustomWebhook, diags = flattenGenericWebhook(ctx, configType.GenericWebhook, url) - case *webhooks.OutgoingWebhook_PagerDuty: + case *cxsdk.PagerDutyWebhook: result.PagerDuty = flattenPagerDuty(configType.PagerDuty) - case *webhooks.OutgoingWebhook_SendLog: + case *cxsdk.SendLogWebhook: result.SendLog = flattenSendLog(configType.SendLog, url) - case *webhooks.OutgoingWebhook_EmailGroup: + case *cxsdk.EmailGroupWebhook: result.EmailGroup = flattenEmailGroup(configType.EmailGroup) - case *webhooks.OutgoingWebhook_MsTeamsWorkflow: + case *cxsdk.MsTeamsWorkflowWebhook: result.MsTeamsWorkflow = flattenMsTeamsWorkflow(configType.MsTeamsWorkflow, url) - case *webhooks.OutgoingWebhook_MicrosoftTeams: + case *cxsdk.MicrosoftTeamsWebhook: result.MsTeams = flattenMicrosoftTeams(configType.MicrosoftTeams, url) - case *webhooks.OutgoingWebhook_Jira: + case *cxsdk.JiraWebhook: result.Jira = flattenJira(configType.Jira, url) - case *webhooks.OutgoingWebhook_Opsgenie: + case *cxsdk.OpsgenieWebhook: result.Opsgenie = flattenOpsgenie(configType.Opsgenie, url) - case *webhooks.OutgoingWebhook_Demisto: + case *cxsdk.DemistoWebhook: result.Demisto = flattenDemisto(configType.Demisto, url) - case *webhooks.OutgoingWebhook_AwsEventBridge: + case *cxsdk.AwsEventBridgeWebhook: result.EventBridge = flattenEventBridge(configType.AwsEventBridge) default: diags.AddError("Error flattening webhook", fmt.Sprintf("Unknown webhook type: %T", configType)) @@ -1292,7 +1286,7 @@ func flattenWebhook(ctx context.Context, webhook *webhooks.OutgoingWebhook) (*We return result, diags } -func flattenGenericWebhook(ctx context.Context, genericWebhook *webhooks.GenericWebhookConfig, url *wrapperspb.StringValue) (*CustomWebhookModel, diag.Diagnostics) { +func flattenGenericWebhook(ctx context.Context, genericWebhook *cxsdk.GenericWebhookConfig, url *wrapperspb.StringValue) (*CustomWebhookModel, diag.Diagnostics) { headers, diags := types.MapValueFrom(ctx, types.StringType, genericWebhook.Headers) return &CustomWebhookModel{ UUID: wrapperspbStringToTypeString(genericWebhook.Uuid), @@ -1303,7 +1297,7 @@ func flattenGenericWebhook(ctx context.Context, genericWebhook *webhooks.Generic }, diags } -func flattenSlack(ctx context.Context, slack *webhooks.SlackConfig, url *wrapperspb.StringValue) (*SlackModel, diag.Diagnostics) { +func flattenSlack(ctx context.Context, slack *cxsdk.SlackConfig, url *wrapperspb.StringValue) (*SlackModel, diag.Diagnostics) { digests, diags := flattenDigests(ctx, slack.GetDigests()) if diags.HasError() { return nil, diags @@ -1321,7 +1315,7 @@ func flattenSlack(ctx context.Context, slack *webhooks.SlackConfig, url *wrapper }, nil } -func flattenSlackAttachments(ctx context.Context, attachments []*webhooks.SlackConfig_Attachment) (types.List, diag.Diagnostics) { +func flattenSlackAttachments(ctx context.Context, attachments []*cxsdk.SlackConfigAttachment) (types.List, diag.Diagnostics) { if len(attachments) == 0 { return types.ListNull(types.ObjectType{AttrTypes: slackAttachmentsAttr()}), nil } @@ -1345,7 +1339,7 @@ func slackAttachmentsAttr() map[string]attr.Type { } } -func flattenDigests(ctx context.Context, digests []*webhooks.SlackConfig_Digest) (types.Set, diag.Diagnostics) { +func flattenDigests(ctx context.Context, digests []*cxsdk.SlackConfigDigest) (types.Set, diag.Diagnostics) { if len(digests) == 0 { return types.SetNull(types.StringType), nil } @@ -1359,17 +1353,17 @@ func flattenDigests(ctx context.Context, digests []*webhooks.SlackConfig_Digest) return types.SetValueFrom(ctx, types.StringType, digestsElements) } -func flattenDigest(digest *webhooks.SlackConfig_Digest) types.String { +func flattenDigest(digest *cxsdk.SlackConfigDigest) types.String { return types.StringValue(webhooksProtoToSchemaSlackConfigDigestType[digest.GetType()]) } -func flattenPagerDuty(pagerDuty *webhooks.PagerDutyConfig) *PagerDutyModel { +func flattenPagerDuty(pagerDuty *cxsdk.PagerDutyConfig) *PagerDutyModel { return &PagerDutyModel{ ServiceKey: wrapperspbStringToTypeString(pagerDuty.ServiceKey), } } -func flattenSendLog(sendLog *webhooks.SendLogConfig, url *wrapperspb.StringValue) *SendLogModel { +func flattenSendLog(sendLog *cxsdk.SendLogConfig, url *wrapperspb.StringValue) *SendLogModel { return &SendLogModel{ UUID: wrapperspbStringToTypeString(sendLog.Uuid), Payload: wrapperspbStringToTypeString(sendLog.Payload), @@ -1377,25 +1371,25 @@ func flattenSendLog(sendLog *webhooks.SendLogConfig, url *wrapperspb.StringValue } } -func flattenEmailGroup(emailGroup *webhooks.EmailGroupConfig) *EmailGroupModel { +func flattenEmailGroup(emailGroup *cxsdk.EmailGroupConfig) *EmailGroupModel { return &EmailGroupModel{ Emails: wrappedStringSliceToTypeStringList(emailGroup.EmailAddresses), } } -func flattenMsTeamsWorkflow(_ *webhooks.MSTeamsWorkflowConfig, url *wrapperspb.StringValue) *MsTeamsWorkflowModel { +func flattenMsTeamsWorkflow(_ *cxsdk.MSTeamsWorkflowConfig, url *wrapperspb.StringValue) *MsTeamsWorkflowModel { return &MsTeamsWorkflowModel{ URL: wrapperspbStringToTypeString(url), } } -func flattenMicrosoftTeams(microsoftTeamsConfig *webhooks.MicrosoftTeamsConfig, url *wrapperspb.StringValue) *MsTeamsWorkflowModel { +func flattenMicrosoftTeams(microsoftTeamsConfig *cxsdk.MicrosoftTeamsConfig, url *wrapperspb.StringValue) *MsTeamsWorkflowModel { return &MsTeamsWorkflowModel{ URL: wrapperspbStringToTypeString(url), } } -func flattenJira(jira *webhooks.JiraConfig, url *wrapperspb.StringValue) *JiraModel { +func flattenJira(jira *cxsdk.JiraConfig, url *wrapperspb.StringValue) *JiraModel { return &JiraModel{ ApiKey: wrapperspbStringToTypeString(jira.ApiToken), Email: wrapperspbStringToTypeString(jira.Email), @@ -1404,13 +1398,13 @@ func flattenJira(jira *webhooks.JiraConfig, url *wrapperspb.StringValue) *JiraMo } } -func flattenOpsgenie(_ *webhooks.OpsgenieConfig, url *wrapperspb.StringValue) *OpsgenieModel { +func flattenOpsgenie(_ *cxsdk.OpsgenieConfig, url *wrapperspb.StringValue) *OpsgenieModel { return &OpsgenieModel{ URL: wrapperspbStringToTypeString(url), } } -func flattenDemisto(demisto *webhooks.DemistoConfig, url *wrapperspb.StringValue) *DemistoModel { +func flattenDemisto(demisto *cxsdk.DemistoConfig, url *wrapperspb.StringValue) *DemistoModel { return &DemistoModel{ UUID: wrapperspbStringToTypeString(demisto.Uuid), Payload: wrapperspbStringToTypeString(demisto.Payload), @@ -1418,7 +1412,7 @@ func flattenDemisto(demisto *webhooks.DemistoConfig, url *wrapperspb.StringValue } } -func flattenEventBridge(bridge *webhooks.AwsEventBridgeConfig) *EventBridgeModel { +func flattenEventBridge(bridge *cxsdk.AwsEventBridgeConfig) *EventBridgeModel { return &EventBridgeModel{ EventBusARN: wrapperspbStringToTypeString(bridge.EventBusArn), Detail: wrapperspbStringToTypeString(bridge.Detail), diff --git a/coralogix/resource_coralogix_webhook_test.go b/coralogix/resource_coralogix_webhook_test.go index 1be2e6e0..21e229dd 100644 --- a/coralogix/resource_coralogix_webhook_test.go +++ b/coralogix/resource_coralogix_webhook_test.go @@ -20,7 +20,8 @@ import ( "testing" "terraform-provider-coralogix/coralogix/clientset" - webhooks "terraform-provider-coralogix/coralogix/clientset/grpc/webhooks" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" @@ -377,7 +378,7 @@ func testAccCheckWebhookDestroy(s *terraform.State) error { continue } - resp, err := client.GetWebhook(ctx, &webhooks.GetOutgoingWebhookRequest{Id: wrapperspb.String(rs.Primary.ID)}) + resp, err := client.Get(ctx, &cxsdk.GetOutgoingWebhookRequest{Id: wrapperspb.String(rs.Primary.ID)}) if err == nil { if resp.GetWebhook().GetId().GetValue() == rs.Primary.ID { return fmt.Errorf("webhook still exists: %s", rs.Primary.ID) diff --git a/coralogix/utils.go b/coralogix/utils.go index 6d33c9e3..07ac257b 100644 --- a/coralogix/utils.go +++ b/coralogix/utils.go @@ -16,16 +16,18 @@ package coralogix import ( "bytes" + "cmp" "context" "encoding/json" "fmt" + "maps" "math/big" "math/rand" "net/url" "reflect" "regexp" + "slices" "strconv" - "time" gouuid "github.com/google/uuid" "github.com/hashicorp/terraform-plugin-framework/attr" @@ -42,12 +44,6 @@ import ( "google.golang.org/protobuf/types/known/wrapperspb" ) -var ( - msInHour = int(time.Hour.Milliseconds()) - msInMinute = int(time.Minute.Milliseconds()) - msInSecond = int(time.Second.Milliseconds()) -) - func formatRpcErrors(err error, url, requestStr string) string { switch status.Code(err) { case codes.Internal: @@ -245,22 +241,6 @@ func interfaceSliceToStringSlice(s []interface{}) []string { return result } -func interfaceSliceToWrappedStringSlice(s []interface{}) []*wrapperspb.StringValue { - result := make([]*wrapperspb.StringValue, 0, len(s)) - for _, v := range s { - result = append(result, wrapperspb.String(v.(string))) - } - return result -} - -func wrappedStringSliceToStringSlice(s []*wrapperspb.StringValue) []string { - result := make([]string, 0, len(s)) - for _, v := range s { - result = append(result, v.GetValue()) - } - return result -} - func attrSliceToFloat32Slice(ctx context.Context, arr []attr.Value) ([]float32, diag2.Diagnostics) { var diags diag2.Diagnostics result := make([]float32, 0, len(arr)) @@ -442,75 +422,8 @@ func timeInDaySchema(description string) *schema.Schema { } } -func toTwoDigitsFormat(digit int32) string { - digitStr := fmt.Sprintf("%d", digit) - if len(digitStr) == 1 { - digitStr = "0" + digitStr - } - return digitStr -} - -func timeSchema(description string) *schema.Schema { - return &schema.Schema{ - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "hours": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.IntAtLeast(0), - }, - "minutes": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.IntAtLeast(0), - }, - "seconds": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.IntAtLeast(0), - }, - }, - }, - Description: description, - } -} - -func expandTimeToMS(v interface{}) int { - l := v.([]interface{}) - if len(l) == 0 { - return 0 - } - - m := l[0].(map[string]interface{}) - - timeMS := msInHour * m["hours"].(int) - timeMS += msInMinute * m["minutes"].(int) - timeMS += msInSecond * m["seconds"].(int) - - return timeMS -} - -func flattenTimeframe(timeMS int) []interface{} { - if timeMS == 0 { - return nil - } - - hours := timeMS / msInHour - timeMS -= hours * msInHour - - minutes := timeMS / msInMinute - timeMS -= minutes * msInMinute - - seconds := timeMS / msInSecond - - return []interface{}{map[string]int{ - "hours": hours, - "minutes": minutes, - "seconds": seconds, - }} +func objIsNullOrUnknown(obj types.Object) bool { + return obj.IsNull() || obj.IsUnknown() } func sliceToString(data []string) string { @@ -554,38 +467,6 @@ func getKeysInterface(m map[string]interface{}) []string { return result } -func getKeysInt32(m map[string]int32) []string { - result := make([]string, 0) - for k := range m { - result = append(result, k) - } - return result -} - -func getKeysRelativeTimeFrame(m map[string]protoTimeFrameAndRelativeTimeFrame) []string { - result := make([]string, 0) - for k := range m { - result = append(result, k) - } - return result -} - -func reverseMapStrings(m map[string]string) map[string]string { - n := make(map[string]string) - for k, v := range m { - n[v] = k - } - return n -} - -func reverseMapRelativeTimeFrame(m map[string]protoTimeFrameAndRelativeTimeFrame) map[protoTimeFrameAndRelativeTimeFrame]string { - n := make(map[protoTimeFrameAndRelativeTimeFrame]string) - for k, v := range m { - n[v] = k - } - return n -} - func strToUint32(str string) uint32 { n, _ := strconv.ParseUint(str, 10, 32) return uint32(n) @@ -714,6 +595,23 @@ func wrapperspbInt64ToTypeInt64(num *wrapperspb.Int64Value) types.Int64 { return types.Int64Value(num.GetValue()) } +func wrapperspbUInt64ToNumberType(num *wrapperspb.UInt64Value) types.Number { + if num == nil { + return types.NumberNull() + } + + return types.NumberValue(big.NewFloat(float64(num.GetValue()))) +} + +func numberTypeToWrapperspbUInt64(num types.Number) *wrapperspb.UInt64Value { + if num.IsNull() { + return nil + } + // types.NumberValue(big.NewFloat(float64(num.GetValue()))) + val, _ := num.ValueBigFloat().Uint64() + return wrapperspb.UInt64(val) +} + func wrapperspbUint32ToTypeInt64(num *wrapperspb.UInt32Value) types.Int64 { if num == nil { return types.Int64Null() @@ -754,12 +652,12 @@ func ReverseMap[K, V comparable](m map[K]V) map[V]K { return n } -func GetKeys[K, V comparable](m map[K]V) []K { - result := make([]K, 0) - for k := range m { - result = append(result, k) - } - return result +func GetKeys[K cmp.Ordered, V comparable](m map[K]V) []K { + return slices.Sorted(maps.Keys(m)) +} + +func GetValues[K, V cmp.Ordered](m map[K]V) []V { + return slices.Sorted(maps.Values(m)) } func parseNumInt32(desired string) int32 { @@ -817,3 +715,19 @@ func convertSchemaWithoutID(rs resourceschema.Schema) datasourceschema.Schema { DeprecationMessage: rs.DeprecationMessage, } } + +func typeStringToWrapperspbUint32(str types.String) (*wrapperspb.UInt32Value, diag2.Diagnostics) { + parsed, err := strconv.ParseUint(str.ValueString(), 10, 32) + if err != nil { + return nil, diag2.Diagnostics{diag2.NewErrorDiagnostic("Failed to convert string to uint32", err.Error())} + } + return wrapperspb.UInt32(uint32(parsed)), nil +} + +func WrapperspbUint32ToString(num *wrapperspb.UInt32Value) types.String { + if num == nil { + return types.StringNull() + } + return types.StringValue(strconv.FormatUint(uint64(num.GetValue()), 10)) + +} diff --git a/docs/data-sources/alert.md b/docs/data-sources/alert.md index b5ff3849..3cebc498 100644 --- a/docs/data-sources/alert.md +++ b/docs/data-sources/alert.md @@ -3,467 +3,925 @@ page_title: "coralogix_alert Data Source - terraform-provider-coralogix" subcategory: "" description: |- - + Coralogix Alert. For more info please review - https://coralogix.com/docs/getting-started-with-coralogix-alerts/. --- # coralogix_alert (Data Source) - +Coralogix Alert. For more info please review - https://coralogix.com/docs/getting-started-with-coralogix-alerts/. ## Schema +### Required + +- `id` (String) Alert ID. + ### Read-Only +- `deleted` (Boolean) - `description` (String) Alert description. -- `enabled` (Boolean) Determines whether the alert will be active. True by default. -- `expiration_date` (List of Object) The expiration date of the alert (if declared). (see [below for nested schema](#nestedatt--expiration_date)) -- `flow` (List of Object) Alert based on a combination of alerts in a specific timeframe. (see [below for nested schema](#nestedatt--flow)) -- `id` (String) The ID of this resource. -- `incident_settings` (List of Object) (see [below for nested schema](#nestedatt--incident_settings)) -- `meta_labels` (Map of String) Labels allow you to easily filter by alert type and create views. Insert a new label or use an existing one. You can nest a label using key:value. -- `metric` (List of Object) Alert based on arithmetic operators for metrics. (see [below for nested schema](#nestedatt--metric)) +- `enabled` (Boolean) Alert enabled status. True by default. +- `group_by` (Set of String) Group by fields. +- `incidents_settings` (Attributes) (see [below for nested schema](#nestedatt--incidents_settings)) +- `labels` (Map of String) - `name` (String) Alert name. -- `new_value` (List of Object) Alert on never before seen log value. (see [below for nested schema](#nestedatt--new_value)) -- `notifications_group` (Set of Object) Defines notifications settings over list of group-by keys (or on empty list). (see [below for nested schema](#nestedatt--notifications_group)) -- `payload_filters` (Set of String) A list of log fields out of the log example which will be included with the alert notification. -- `ratio` (List of Object) Alert based on the ratio between queries. (see [below for nested schema](#nestedatt--ratio)) -- `scheduling` (List of Object) Limit the triggering of this alert to specific time frames. Active always by default. (see [below for nested schema](#nestedatt--scheduling)) -- `severity` (String) Determines the alert's severity. Can be one of ["Warning" "Critical" "Error" "Low" "Info"] -- `standard` (List of Object) Alert based on number of log occurrences. (see [below for nested schema](#nestedatt--standard)) -- `time_relative` (List of Object) Alert based on ratio between timeframes. (see [below for nested schema](#nestedatt--time_relative)) -- `tracing` (List of Object) Alert based on tracing latency. (see [below for nested schema](#nestedatt--tracing)) -- `unique_count` (List of Object) Alert based on unique value count per key. (see [below for nested schema](#nestedatt--unique_count)) +- `notification_group` (Attributes) (see [below for nested schema](#nestedatt--notification_group)) +- `phantom_mode` (Boolean) +- `priority` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. +- `schedule` (Attributes) Alert schedule. Will be activated all the time if not specified. (see [below for nested schema](#nestedatt--schedule)) +- `type_definition` (Attributes) Alert type definition. Exactly one of the following must be specified: logs_immediate, logs_threshold, logs_anomaly, logs_ratio_threshold, logs_new_value, logs_unique_count, logs_time_relative_threshold, metric_threshold, metric_anomaly, tracing_immediate, tracing_threshold flow. (see [below for nested schema](#nestedatt--type_definition)) + + +### Nested Schema for `incidents_settings` + +Read-Only: + +- `notify_on` (String) Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. +- `retriggering_period` (Attributes) (see [below for nested schema](#nestedatt--incidents_settings--retriggering_period)) - -### Nested Schema for `expiration_date` + +### Nested Schema for `incidents_settings.retriggering_period` Read-Only: -- `day` (Number) -- `month` (Number) -- `year` (Number) +- `minutes` (Number) - -### Nested Schema for `flow` + + +### Nested Schema for `notification_group` Read-Only: -- `group_by` (List of String) -- `stage` (List of Object) (see [below for nested schema](#nestedobjatt--flow--stage)) +- `group_by_keys` (List of String) +- `webhooks_settings` (Attributes Set) (see [below for nested schema](#nestedatt--notification_group--webhooks_settings)) - -### Nested Schema for `flow.stage` + +### Nested Schema for `notification_group.webhooks_settings` Read-Only: -- `group` (List of Object) (see [below for nested schema](#nestedobjatt--flow--stage--group)) -- `time_window` (List of Object) (see [below for nested schema](#nestedobjatt--flow--stage--time_window)) +- `integration_id` (String) +- `notify_on` (String) Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default. +- `recipients` (Set of String) +- `retriggering_period` (Attributes) Retriggering period in minutes. 10 minutes by default. (see [below for nested schema](#nestedatt--notification_group--webhooks_settings--retriggering_period)) - -### Nested Schema for `flow.stage.group` + +### Nested Schema for `notification_group.webhooks_settings.retriggering_period` Read-Only: -- `next_operator` (String) -- `sub_alerts` (List of Object) (see [below for nested schema](#nestedobjatt--flow--stage--group--sub_alerts)) +- `minutes` (Number) + + - -### Nested Schema for `flow.stage.group.sub_alerts` + + +### Nested Schema for `schedule` Read-Only: -- `flow_alert` (List of Object) (see [below for nested schema](#nestedobjatt--flow--stage--group--sub_alerts--flow_alert)) -- `operator` (String) +- `active_on` (Attributes) (see [below for nested schema](#nestedatt--schedule--active_on)) - -### Nested Schema for `flow.stage.group.sub_alerts.flow_alert` + +### Nested Schema for `schedule.active_on` Read-Only: -- `not` (Boolean) -- `user_alert_id` (String) +- `days_of_week` (List of String) Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"]. +- `end_time` (Attributes) (see [below for nested schema](#nestedatt--schedule--active_on--end_time)) +- `start_time` (Attributes) (see [below for nested schema](#nestedatt--schedule--active_on--start_time)) + +### Nested Schema for `schedule.active_on.end_time` +Read-Only: +- `hours` (Number) +- `minutes` (Number) - -### Nested Schema for `flow.stage.time_window` + + +### Nested Schema for `schedule.active_on.start_time` Read-Only: - `hours` (Number) - `minutes` (Number) -- `seconds` (Number) - -### Nested Schema for `incident_settings` + +### Nested Schema for `type_definition` + +Read-Only: + +- `flow` (Attributes) (see [below for nested schema](#nestedatt--type_definition--flow)) +- `logs_anomaly` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly)) +- `logs_immediate` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate)) +- `logs_new_value` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value)) +- `logs_ratio_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold)) +- `logs_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold)) +- `logs_time_relative_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold)) +- `logs_unique_count` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count)) +- `metric_anomaly` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_anomaly)) +- `metric_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_threshold)) +- `tracing_immediate` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate)) +- `tracing_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold)) + + +### Nested Schema for `type_definition.flow` + +Read-Only: + +- `enforce_suppression` (Boolean) +- `stages` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--flow--stages)) + + +### Nested Schema for `type_definition.flow.stages` + +Read-Only: + +- `flow_stages_groups` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--flow--stages--flow_stages_groups)) +- `timeframe_ms` (Number) +- `timeframe_type` (String) + + +### Nested Schema for `type_definition.flow.stages.flow_stages_groups` + +Read-Only: + +- `alert_defs` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--flow--stages--flow_stages_groups--alert_defs)) +- `alerts_op` (String) Alerts operation. Valid values: ["AND" "OR"]. +- `next_op` (String) Next operation. Valid values: ["AND" "OR"]. + + +### Nested Schema for `type_definition.flow.stages.flow_stages_groups.alert_defs` + +Read-Only: + +- `id` (String) +- `not` (Boolean) + + + + + + +### Nested Schema for `type_definition.logs_anomaly` + +Read-Only: + +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter)) +- `notification_payload_filter` (Set of String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--rules)) + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter` + +Read-Only: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter)) + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter` + +Read-Only: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter.label_filters` + +Read-Only: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.application_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.subsystem_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + + + + +### Nested Schema for `type_definition.logs_anomaly.rules` + +Read-Only: + +- `minimum_threshold` (Number) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. + + + + +### Nested Schema for `type_definition.logs_immediate` + +Read-Only: + +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter)) +- `notification_payload_filter` (Set of String) + + +### Nested Schema for `type_definition.logs_immediate.logs_filter` + +Read-Only: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter)) + + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter` + +Read-Only: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter.label_filters` + +Read-Only: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter.label_filters.application_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter.label_filters.subsystem_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + + + + + +### Nested Schema for `type_definition.logs_new_value` + +Read-Only: + +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter)) +- `notification_payload_filter` (Set of String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--rules)) + + +### Nested Schema for `type_definition.logs_new_value.logs_filter` + +Read-Only: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter)) + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter` + +Read-Only: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter.label_filters` + +Read-Only: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter.label_filters.application_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter.label_filters.subsystem_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + + + + +### Nested Schema for `type_definition.logs_new_value.rules` + +Read-Only: + +- `keypath_to_track` (String) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["12_HOURS" "1_MONTH" "1_WEEK" "24_HOURS" "2_MONTHS" "3_MONTHS" "48_HOURS" "72_HOURS"]. + + + + +### Nested Schema for `type_definition.logs_ratio_threshold` + +Read-Only: + +- `denominator` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator)) +- `denominator_alias` (String) +- `group_by_for` (String) Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default. +- `notification_payload_filter` (Set of String) +- `numerator` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator)) +- `numerator_alias` (String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--rules)) + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator` + +Read-Only: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter)) + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter` + +Read-Only: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters` + +Read-Only: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.application_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.subsystem_name` Read-Only: -- `notify_on` (String) -- `retriggering_period_minutes` (Number) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) - -### Nested Schema for `metric` + + + + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator` + +Read-Only: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter)) + + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter` Read-Only: -- `lucene` (List of Object) (see [below for nested schema](#nestedobjatt--metric--lucene)) -- `promql` (List of Object) (see [below for nested schema](#nestedobjatt--metric--promql)) +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter--label_filters)) +- `lucene_query` (String) - -### Nested Schema for `metric.lucene` + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters` Read-Only: -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--metric--lucene--condition)) -- `search_query` (String) +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter--label_filters--subsystem_name)) - -### Nested Schema for `metric.lucene.condition` + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.application_name` Read-Only: -- `arithmetic_operator` (String) -- `arithmetic_operator_modifier` (Number) -- `group_by` (List of String) -- `less_than` (Boolean) -- `manage_undetected_values` (List of Object) (see [below for nested schema](#nestedobjatt--metric--lucene--condition--manage_undetected_values)) -- `metric_field` (String) -- `min_non_null_values_percentage` (Number) -- `more_than` (Boolean) -- `replace_missing_value_with_zero` (Boolean) -- `sample_threshold_percentage` (Number) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.subsystem_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + + + + +### Nested Schema for `type_definition.logs_ratio_threshold.rules` + +Read-Only: + +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "MORE_THAN"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. - `threshold` (Number) -- `time_window` (String) +- `time_window` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. + + + + +### Nested Schema for `type_definition.logs_threshold` + +Read-Only: + +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter)) +- `notification_payload_filter` (Set of String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--rules)) +- `undetected_values_management` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--undetected_values_management)) + + +### Nested Schema for `type_definition.logs_threshold.logs_filter` + +Read-Only: - -### Nested Schema for `metric.lucene.condition.manage_undetected_values` +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter)) + + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter` + +Read-Only: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter.label_filters` Read-Only: -- `auto_retire_ratio` (String) -- `enable_triggering_on_undetected_values` (Boolean) +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter--label_filters--subsystem_name)) + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name` +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) - -### Nested Schema for `metric.promql` + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter.label_filters.subsystem_name` Read-Only: -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--metric--promql--condition)) -- `search_query` (String) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + - -### Nested Schema for `metric.promql.condition` + + +### Nested Schema for `type_definition.logs_threshold.rules` Read-Only: -- `less_than` (Boolean) -- `less_than_or_equal` (Boolean) -- `less_than_usual` (Boolean) -- `manage_undetected_values` (List of Object) (see [below for nested schema](#nestedobjatt--metric--promql--condition--manage_undetected_values)) -- `min_non_null_values_percentage` (Number) -- `more_than` (Boolean) -- `more_than_or_equal` (Boolean) -- `more_than_usual` (Boolean) -- `replace_missing_value_with_zero` (Boolean) -- `sample_threshold_percentage` (Number) +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "MORE_THAN"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. - `threshold` (Number) -- `time_window` (String) +- `time_window` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. + - -### Nested Schema for `metric.promql.condition.manage_undetected_values` + +### Nested Schema for `type_definition.logs_threshold.undetected_values_management` Read-Only: -- `auto_retire_ratio` (String) -- `enable_triggering_on_undetected_values` (Boolean) +- `auto_retire_timeframe` (String) Auto retire timeframe. Valid values: ["10_MINUTES" "12_HOURS" "1_HOUR" "24_HOURS" "2_HOURS" "5_MINUTES" "6_HOURS" "Never"]. +- `trigger_undetected_values` (Boolean) + +### Nested Schema for `type_definition.logs_time_relative_threshold` +Read-Only: - -### Nested Schema for `new_value` +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter)) +- `notification_payload_filter` (Set of String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--rules)) +- `undetected_values_management` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--undetected_values_management)) + + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter` Read-Only: -- `applications` (Set of String) -- `categories` (Set of String) -- `classes` (Set of String) -- `computers` (Set of String) -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--new_value--condition)) -- `ip_addresses` (Set of String) -- `methods` (Set of String) -- `search_query` (String) -- `severities` (Set of String) -- `subsystems` (Set of String) +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter)) - -### Nested Schema for `new_value.condition` + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter` Read-Only: -- `key_to_track` (String) -- `time_window` (String) +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter.label_filters` +Read-Only: +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter--label_filters--subsystem_name)) - -### Nested Schema for `notifications_group` + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter.label_filters.application_name` Read-Only: -- `group_by_fields` (List of String) -- `notification` (Set of Object) (see [below for nested schema](#nestedobjatt--notifications_group--notification)) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + - -### Nested Schema for `notifications_group.notification` + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter.label_filters.subsystem_name` Read-Only: -- `email_recipients` (Set of String) -- `integration_id` (String) -- `notify_on` (String) -- `retriggering_period_minutes` (Number) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + - -### Nested Schema for `ratio` + +### Nested Schema for `type_definition.logs_time_relative_threshold.rules` Read-Only: -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--ratio--condition)) -- `query_1` (List of Object) (see [below for nested schema](#nestedobjatt--ratio--query_1)) -- `query_2` (List of Object) (see [below for nested schema](#nestedobjatt--ratio--query_2)) +- `compared_to` (String) Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"]. +- `condition` (String) Condition . Valid values: ["LESS_THAN" "MORE_THAN"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. +- `threshold` (Number) + - -### Nested Schema for `ratio.condition` + +### Nested Schema for `type_definition.logs_time_relative_threshold.undetected_values_management` Read-Only: -- `group_by` (List of String) -- `group_by_both` (Boolean) -- `group_by_q1` (Boolean) -- `group_by_q2` (Boolean) -- `ignore_infinity` (Boolean) -- `less_than` (Boolean) -- `manage_undetected_values` (List of Object) (see [below for nested schema](#nestedobjatt--ratio--condition--manage_undetected_values)) -- `more_than` (Boolean) -- `ratio_threshold` (Number) -- `time_window` (String) +- `auto_retire_timeframe` (String) Auto retire timeframe. Valid values: ["10_MINUTES" "12_HOURS" "1_HOUR" "24_HOURS" "2_HOURS" "5_MINUTES" "6_HOURS" "Never"]. +- `trigger_undetected_values` (Boolean) + - -### Nested Schema for `ratio.condition.manage_undetected_values` + + +### Nested Schema for `type_definition.logs_unique_count` Read-Only: -- `auto_retire_ratio` (String) -- `enable_triggering_on_undetected_values` (Boolean) +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter)) +- `notification_payload_filter` (Set of String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--rules)) + + +### Nested Schema for `type_definition.logs_unique_count.logs_filter` +Read-Only: +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter)) - -### Nested Schema for `ratio.query_1` + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter` Read-Only: -- `alias` (String) -- `applications` (Set of String) -- `categories` (Set of String) -- `classes` (Set of String) -- `computers` (Set of String) -- `ip_addresses` (Set of String) -- `methods` (Set of String) -- `search_query` (String) -- `severities` (Set of String) -- `subsystems` (Set of String) +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter.label_filters` +Read-Only: - -### Nested Schema for `ratio.query_2` +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter.label_filters.application_name` Read-Only: -- `alias` (String) -- `applications` (Set of String) -- `search_query` (String) -- `severities` (Set of String) -- `subsystems` (Set of String) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter.label_filters.subsystem_name` - -### Nested Schema for `scheduling` +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. +- `value` (String) + + + + + + +### Nested Schema for `type_definition.logs_unique_count.rules` Read-Only: -- `time_frame` (Set of Object) (see [below for nested schema](#nestedobjatt--scheduling--time_frame)) -- `time_zone` (String) +- `max_unique_count` (Number) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["12_HOURS" "1_HOUR" "1_MINUTE" "20_MINUTES" "24_HOURS" "2_HOURS" "30_MINUTES" "4_HOURS" "5_MINUTES" "6_HOURS"]. + - -### Nested Schema for `scheduling.time_frame` + + +### Nested Schema for `type_definition.metric_anomaly` Read-Only: -- `days_enabled` (Set of String) -- `end_time` (String) -- `start_time` (String) +- `metric_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_anomaly--metric_filter)) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--metric_anomaly--rules)) + +### Nested Schema for `type_definition.metric_anomaly.metric_filter` +Read-Only: - -### Nested Schema for `standard` +- `promql` (String) + + + +### Nested Schema for `type_definition.metric_anomaly.rules` + +Read-Only: + +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "MORE_THAN"]. +- `for_over_pct` (Number) +- `min_non_null_values_pct` (Number) +- `of_the_last` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "1_MINUTE" "24_HOURS" "2_HOURS" "30_MINUTES" "4_HOURS" "5_MINUTES" "6_HOURS"]. +- `threshold` (Number) + + + + +### Nested Schema for `type_definition.metric_threshold` + +Read-Only: + +- `metric_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_threshold--metric_filter)) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--metric_threshold--rules)) +- `undetected_values_management` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_threshold--undetected_values_management)) + + +### Nested Schema for `type_definition.metric_threshold.metric_filter` Read-Only: -- `applications` (Set of String) -- `categories` (Set of String) -- `classes` (Set of String) -- `computers` (Set of String) -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--standard--condition)) -- `ip_addresses` (Set of String) -- `methods` (Set of String) -- `search_query` (String) -- `severities` (Set of String) -- `subsystems` (Set of String) +- `promql` (String) - -### Nested Schema for `standard.condition` + + +### Nested Schema for `type_definition.metric_threshold.rules` Read-Only: -- `evaluation_window` (String) -- `group_by` (List of String) -- `group_by_key` (String) -- `immediately` (Boolean) -- `less_than` (Boolean) -- `manage_undetected_values` (List of Object) (see [below for nested schema](#nestedobjatt--standard--condition--manage_undetected_values)) -- `more_than` (Boolean) -- `more_than_usual` (Boolean) +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "LESS_THAN_OR_EQUALS" "MORE_THAN" "MORE_THAN_OR_EQUALS"]. +- `for_over_pct` (Number) +- `of_the_last` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "1_MINUTE" "24_HOURS" "2_HOURS" "30_MINUTES" "4_HOURS" "5_MINUTES" "6_HOURS"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. - `threshold` (Number) -- `time_window` (String) - -### Nested Schema for `standard.condition.manage_undetected_values` + + +### Nested Schema for `type_definition.metric_threshold.undetected_values_management` Read-Only: -- `auto_retire_ratio` (String) -- `enable_triggering_on_undetected_values` (Boolean) +- `auto_retire_timeframe` (String) Auto retire timeframe. Valid values: ["10_MINUTES" "12_HOURS" "1_HOUR" "24_HOURS" "2_HOURS" "5_MINUTES" "6_HOURS" "Never"]. +- `trigger_undetected_values` (Boolean) + +### Nested Schema for `type_definition.tracing_immediate` - -### Nested Schema for `time_relative` +Read-Only: + +- `notification_payload_filter` (Set of String) +- `tracing_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter)) + + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter` Read-Only: -- `applications` (Set of String) -- `categories` (Set of String) -- `classes` (Set of String) -- `computers` (Set of String) -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--time_relative--condition)) -- `ip_addresses` (Set of String) -- `methods` (Set of String) -- `search_query` (String) -- `severities` (Set of String) -- `subsystems` (Set of String) +- `latency_threshold_ms` (Number) +- `tracing_label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters)) - -### Nested Schema for `time_relative.condition` + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters` Read-Only: -- `group_by` (List of String) -- `ignore_infinity` (Boolean) -- `less_than` (Boolean) -- `manage_undetected_values` (List of Object) (see [below for nested schema](#nestedobjatt--time_relative--condition--manage_undetected_values)) -- `more_than` (Boolean) -- `ratio_threshold` (Number) -- `relative_time_window` (String) +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--application_name)) +- `operation_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--operation_name)) +- `service_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--service_name)) +- `span_fields` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--span_fields)) +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--subsystem_name)) - -### Nested Schema for `time_relative.condition.manage_undetected_values` + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name` Read-Only: -- `auto_retire_ratio` (String) -- `enable_triggering_on_undetected_values` (Boolean) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.operation_name` +Read-Only: - -### Nested Schema for `tracing` +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) + + + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.service_name` Read-Only: -- `applications` (Set of String) -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--tracing--condition)) -- `latency_threshold_milliseconds` (Number) -- `services` (Set of String) -- `subsystems` (Set of String) -- `tag_filter` (Set of Object) (see [below for nested schema](#nestedobjatt--tracing--tag_filter)) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) + - -### Nested Schema for `tracing.condition` + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields` Read-Only: -- `group_by` (List of String) -- `immediately` (Boolean) -- `more_than` (Boolean) -- `threshold` (Number) -- `time_window` (String) +- `filter_type` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--span_fields--filter_type)) +- `key` (String) + + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.filter_type` +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) - -### Nested Schema for `tracing.tag_filter` + + + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.subsystem_name` Read-Only: -- `field` (String) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. - `values` (Set of String) - -### Nested Schema for `unique_count` + + + +### Nested Schema for `type_definition.tracing_threshold` Read-Only: -- `applications` (Set of String) -- `categories` (Set of String) -- `classes` (Set of String) -- `computers` (Set of String) -- `condition` (List of Object) (see [below for nested schema](#nestedobjatt--unique_count--condition)) -- `ip_addresses` (Set of String) -- `methods` (Set of String) -- `search_query` (String) -- `severities` (Set of String) -- `subsystems` (Set of String) +- `notification_payload_filter` (Set of String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--rules)) +- `tracing_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter)) + + +### Nested Schema for `type_definition.tracing_threshold.rules` + +Read-Only: + +- `span_amount` (Number) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. + - -### Nested Schema for `unique_count.condition` + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter` Read-Only: -- `group_by_key` (String) -- `max_unique_values` (Number) -- `max_unique_values_for_group_by` (Number) -- `time_window` (String) -- `unique_count_key` (String) +- `latency_threshold_ms` (Number) +- `tracing_label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters)) + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters` + +Read-Only: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--application_name)) +- `operation_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--operation_name)) +- `service_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--service_name)) +- `span_fields` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--span_fields)) +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.application_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.operation_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.service_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.span_fields` + +Read-Only: + +- `filter_type` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--span_fields--filter_type)) +- `key` (String) + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.span_fields.filter_type` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) + + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.subsystem_name` + +Read-Only: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. +- `values` (Set of String) diff --git a/docs/data-sources/api_key.md b/docs/data-sources/api_key.md index 6f339d13..ba45949f 100644 --- a/docs/data-sources/api_key.md +++ b/docs/data-sources/api_key.md @@ -30,7 +30,7 @@ data "coralogix_api_key" "same_key_by_id" { - `active` (Boolean) Api Key Is Active. - `hashed` (Boolean) Api Key Is Hashed. - `name` (String) Api Key name. -- `owner` (Attributes) Api Key Owner.It can either be a team_id or a user_id (see [below for nested schema](#nestedatt--owner)) +- `owner` (Attributes) Api Key Owner. It can either be a team_id or a user_id (see [below for nested schema](#nestedatt--owner)) - `permissions` (Set of String) Api Key Permissions - `presets` (Set of String) Api Key Presets - `value` (String) Api Key value. diff --git a/docs/data-sources/custom_role.md b/docs/data-sources/custom_role.md index f60af1ed..c1065d33 100644 --- a/docs/data-sources/custom_role.md +++ b/docs/data-sources/custom_role.md @@ -3,12 +3,12 @@ page_title: "coralogix_custom_role Data Source - terraform-provider-coralogix" subcategory: "" description: |- - Coralogix Custom roles. + Coralogix Custom cxsdk. --- # coralogix_custom_role (Data Source) -Coralogix Custom roles. +Coralogix Custom cxsdk. diff --git a/docs/data-sources/dashboard.md b/docs/data-sources/dashboard.md index ac2a5d76..0073fb9e 100644 --- a/docs/data-sources/dashboard.md +++ b/docs/data-sources/dashboard.md @@ -365,7 +365,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -461,9 +461,9 @@ Read-Only: - `max_bars_per_chart` (Number) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--query)) - `scale_type` (String) -- `sort_by` (String) The field to sort by. Can be one of unspecified, value, name. +- `sort_by` (String) The field to sort by. Can be one of name, unspecified, value. - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro. +- `unit` (String) The unit of the chart. Can be one of bytes, bytes_iec, custom, euro, euro_cents, gbytes, gibytes, kbytes, kibytes, mbytes, mibytes, microseconds, milliseconds, nanoseconds, percent01, percent100, seconds, unspecified, usd, usd_cents. - `xaxis` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--xaxis)) @@ -556,7 +556,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -697,8 +697,8 @@ Read-Only: Read-Only: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -716,7 +716,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -735,7 +735,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -744,7 +744,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -787,11 +787,11 @@ Read-Only: Read-Only: - `columns` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--columns)) -- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"]. +- `data_mode_type` (String) The data mode type. Can be one of ["archive" "unspecified"]. - `order_by` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--order_by)) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--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 ["condensed" "json" "list" "one_line" "two_line" "unspecified"]. ### Nested Schema for `layout.sections.rows.widgets.definition.data_table.columns` @@ -808,7 +808,7 @@ Read-Only: Read-Only: - `field` (String) -- `order_direction` (String) The order direction. Can be one of ["desc" "asc"]. +- `order_direction` (String) The order direction. Can be one of ["asc" "desc" "unspecified"]. @@ -899,7 +899,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1053,7 +1053,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1089,8 +1089,8 @@ Read-Only: Read-Only: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1101,7 +1101,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1113,15 +1113,15 @@ Read-Only: Read-Only: -- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"]. +- `data_mode_type` (String) The data mode type. Can be one of ["archive" "unspecified"]. - `max` (Number) - `min` (Number) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--query)) - `show_inner_arc` (Boolean) - `show_outer_arc` (Boolean) -- `threshold_by` (String) The threshold by. Can be one of ["value" "background" "unspecified"]. +- `threshold_by` (String) The threshold by. Can be one of ["background" "unspecified" "value"]. - `thresholds` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--thresholds)) -- `unit` (String) The unit of the gauge. Can be one of ["usd" "milliseconds" "mbytes" "bytes_iec" "mibytes" "none" "kbytes" "seconds" "gbytes" "kibytes" "euro" "euro_cents" "usd_cents" "percent" "microseconds" "bytes" "gibytes"]. +- `unit` (String) The unit of the gauge. Can be one of ["bytes" "bytes_iec" "custom" "euro" "euro_cents" "gbytes" "gibytes" "kbytes" "kibytes" "mbytes" "mibytes" "microseconds" "milliseconds" "nanoseconds" "none" "percent" "percent01" "percent100" "seconds" "unspecified" "usd" "usd_cents"]. ### Nested Schema for `layout.sections.rows.widgets.definition.gauge.query` @@ -1211,7 +1211,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1289,7 +1289,7 @@ Read-Only: Read-Only: -- `aggregation` (String) The type of aggregation. Can be one of ["unspecified" "last" "min" "max" "avg" "sum"]. +- `aggregation` (String) The type of aggregation. Can be one of ["avg" "last" "max" "min" "sum" "unspecified"]. - `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--query--metrics--filters)) - `promql_query` (String) @@ -1336,7 +1336,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1354,8 +1354,8 @@ Read-Only: Read-Only: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1386,7 +1386,7 @@ Read-Only: - `scale_type` (String) - `sort_by` (String) - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--horizontal_bar_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro. +- `unit` (String) The unit of the chart. Can be one of bytes, bytes_iec, custom, euro, euro_cents, gbytes, gibytes, kbytes, kibytes, mbytes, mibytes, microseconds, milliseconds, nanoseconds, percent01, percent100, seconds, unspecified, usd, usd_cents. - `y_axis_view_by` (String) @@ -1524,8 +1524,8 @@ Read-Only: Read-Only: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1543,7 +1543,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1562,7 +1562,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1571,7 +1571,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1600,10 +1600,10 @@ Read-Only: Read-Only: -- `columns` (List of String) The columns to display in the legend. Valid values are: avg, last, unspecified, min, max, sum. +- `columns` (List of String) The columns to display in the legend. Valid values are: avg, last, max, min, name, sum, unspecified. - `group_by_query` (Boolean) - `is_visible` (Boolean) Whether to display the legend. False by default. -- `placement` (String) The placement of the legend. Valid values are: auto, bottom, side, hidden, unspecified. +- `placement` (String) The placement of the legend. Valid values are: auto, bottom, hidden, side, unspecified. @@ -1618,10 +1618,10 @@ Read-Only: - `name` (String) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--line_chart--query_definitions--query)) - `resolution` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--line_chart--query_definitions--resolution)) -- `scale_type` (String) The scale type. Valid values are: unspecified, linear, logarithmic. +- `scale_type` (String) The scale type. Valid values are: linear, logarithmic, unspecified. - `series_count_limit` (Number) - `series_name_template` (String) -- `unit` (String) The unit. Valid values are: unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro. +- `unit` (String) The unit. Valid values are: bytes, bytes_iec, custom, euro, euro_cents, gbytes, gibytes, kbytes, kibytes, mbytes, mibytes, microseconds, milliseconds, nanoseconds, percent01, percent100, seconds, unspecified, usd, usd_cents. ### Nested Schema for `layout.sections.rows.widgets.definition.line_chart.query_definitions.query` @@ -1734,8 +1734,8 @@ Read-Only: Read-Only: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1753,7 +1753,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1772,7 +1772,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1793,7 +1793,7 @@ Read-Only: Read-Only: - `show_labels` (Boolean) -- `type` (String) The tooltip type. Valid values are: unspecified, all, single. +- `type` (String) The tooltip type. Valid values are: all, single, unspecified. @@ -1828,7 +1828,7 @@ Read-Only: Read-Only: - `is_visible` (Boolean) -- `label_source` (String) The source of the label. Valid values are: unspecified, inner, stack +- `label_source` (String) The source of the label. Valid values are: inner, stack, unspecified - `show_name` (Boolean) - `show_percentage` (Boolean) - `show_value` (Boolean) @@ -1924,7 +1924,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2065,8 +2065,8 @@ Read-Only: Read-Only: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2084,7 +2084,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2103,7 +2103,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2112,7 +2112,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2182,7 +2182,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 `desc`, `asc`. +- `values_order_direction` (String) The order direction of the values. Can be one of `asc`, `desc`, `unspecified`. ### Nested Schema for `variables.definition.multi_select.source` @@ -2378,7 +2378,7 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2399,4 +2399,4 @@ Read-Only: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] diff --git a/docs/data-sources/events2metric.md b/docs/data-sources/events2metric.md index 71b52aa7..d45dc0ab 100644 --- a/docs/data-sources/events2metric.md +++ b/docs/data-sources/events2metric.md @@ -39,7 +39,7 @@ Read-Only: - `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx - `lucene` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of severities that we interested in. Can be one of ["Critical" "Unspecified" "Debug" "Verbose" "Info" "Warning" "Error"] +- `severities` (Set of String) An array of severities that we interested in. Can be one of ["critical" "debug" "error" "info" "unspecified" "verbose" "warning"] - `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx @@ -117,7 +117,7 @@ Read-Only: - `enable` (Boolean) - `target_metric_name` (String) -- `type` (String) Can be one of ["Min" "Max"]. +- `type` (String) Can be one of ["Max" "Min"]. diff --git a/docs/data-sources/rules_group.md b/docs/data-sources/rules_group.md index 59b6929f..b70780f5 100644 --- a/docs/data-sources/rules_group.md +++ b/docs/data-sources/rules_group.md @@ -32,7 +32,7 @@ data "coralogix_rules_group" "imported_rules_group_example" { - `name` (String) Rule-group name - `order` (Number) Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing). - `rule_subgroups` (List of Object) List of rule-subgroups. Every rule-subgroup is list of rules with 'or' (||) operation between. (see [below for nested schema](#nestedatt--rule_subgroups)) -- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] +- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["critical" "debug" "error" "info" "verbose" "warning"] - `subsystems` (Set of String) Rules will execute on logs that match the following subsystems. diff --git a/docs/data-sources/slo.md b/docs/data-sources/slo.md index 82171f33..e7d131b6 100644 --- a/docs/data-sources/slo.md +++ b/docs/data-sources/slo.md @@ -24,13 +24,13 @@ Coralogix SLO. - `description` (String) Optional SLO description. - `filters` (Attributes Set) (see [below for nested schema](#nestedatt--filters)) - `name` (String) SLO name. -- `period` (String) Period. This is the period of the SLO. Valid values are: ["unspecified" "7_days" "14_days" "30_days"] +- `period` (String) Period. This is the period of the SLO. Valid values are: ["14_days" "30_days" "7_days" "unspecified"] - `remaining_error_budget_percentage` (Number) - `service_name` (String) Service name. This is the name of the service that the SLO is associated with. - `status` (String) - `target_percentage` (Number) Target percentage. This is the target percentage of the SLO. - `threshold_microseconds` (Number) Threshold in microseconds. Required when `type` is `latency`. -- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["greater" "greater_or_equal" "less" "less_or_equal" "equal"] +- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["equal" "greater" "greater_or_equal" "less" "less_or_equal"] - `type` (String) Type. This is the type of the SLO. Valid values are: "error", "latency". @@ -38,6 +38,6 @@ Coralogix SLO. Read-Only: -- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["starts_with" "ends_with" "includes" "unspecified" "is"] +- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["ends_with" "includes" "is" "starts_with" "unspecified"] - `field` (String) - `field_values` (Set of String) diff --git a/docs/data-sources/tco_policies_logs.md b/docs/data-sources/tco_policies_logs.md index f3023800..d991fad3 100644 --- a/docs/data-sources/tco_policies_logs.md +++ b/docs/data-sources/tco_policies_logs.md @@ -39,7 +39,7 @@ Read-Only: - `name` (String) tco-policy name. - `order` (Number) The policy's order between the other policies. - `priority` (String) The policy priority. Can be one of ["block" "high" "low" "medium"]. -- `severities` (Set of String) The severities to apply the policy on. Can be few of ["debug" "verbose" "info" "warning" "error" "critical"]. +- `severities` (Set of String) The severities to apply the policy on. Can be few of ["critical" "debug" "error" "info" "verbose" "warning"]. - `subsystems` (Attributes) The subsystems to apply the policy on. Applies the policy on all the subsystems by default. (see [below for nested schema](#nestedatt--policies--subsystems)) @@ -48,7 +48,7 @@ Read-Only: Read-Only: - `names` (Set of String) -- `rule_type` (String) The rule type. Can be one of ["is" "is_not" "starts_with" "includes"]. +- `rule_type` (String) The rule type. Can be one of ["includes" "is" "is_not" "starts_with" "unspecified"]. diff --git a/docs/data-sources/webhook.md b/docs/data-sources/webhook.md index d976c380..d9fd3cc1 100644 --- a/docs/data-sources/webhook.md +++ b/docs/data-sources/webhook.md @@ -146,7 +146,7 @@ Read-Only: Read-Only: - `attachments` (Attributes List) Slack attachments. (see [below for nested schema](#nestedatt--slack--attachments)) -- `notify_on` (Set of String) Slack notifications. can be one of: error_and_critical_logs, flow_anomalies, spike_anomalies, data_usage +- `notify_on` (Set of String) Slack notifications. can be one of: data_usage, error_and_critical_logs, flow_anomalies, spike_anomalies - `url` (String) Slack URL. @@ -155,4 +155,4 @@ Read-Only: Read-Only: - `active` (Boolean) Determines if the attachment is active. Default is true. -- `type` (String) Slack attachment type. can be one of: logs, empty, metric_snapshot +- `type` (String) Slack attachment type. can be one of: empty, logs, metric_snapshot diff --git a/docs/guides/Migration Script.md b/docs/guides/Migration Script.md new file mode 100644 index 00000000..cc194006 --- /dev/null +++ b/docs/guides/Migration Script.md @@ -0,0 +1,139 @@ +## Guide to Using the Migration Script + +This guide explains how to use the provided script for automating Terraform resource migrations. The script dynamically generates necessary Terraform configuration files, runs Terraform commands, and cleans up intermediate files. It uses color-coded logging for better visibility. + +--- + +### Prerequisites + +Before using the script, ensure the following tools are installed and accessible in your environment: + +1. **Go**: + - For running the Go scripts (`generate_imports.go` and `json_to_hcl.go`). + +2. **Terraform**: + - To manage infrastructure resources. + +3. **Python 3**: + - To execute the embedded script for cleaning JSON files. + +4. **hcl2json**: + - A tool for converting HCL to JSON. + +5. **tput**: + - For colorized terminal output. + +--- + +### Script Functionality + +1. **Input Handling**: + - Accepts either a Terraform directory or a resource type as input. + - Automatically detects whether the input is a directory or resource type. + +2. **Generates Necessary Files**: + - Creates a migration folder (`_migration`) to store all generated files. + - Runs `generate_imports.go` to create `imports.tf`. + - Creates a `provider.tf` with necessary provider configuration. + +3. **Terraform Operations**: + - Runs `terraform plan` and outputs a configuration file (`generated.tf`). + - Converts `generated.tf` to JSON format using `hcl2json`. + +4. **JSON Cleaning**: + - Removes null values from the JSON configuration. + +5. **Converts JSON Back to HCL**: + - Uses `json_to_hcl.go` to generate a cleaned Terraform file (`cleaned_config.tf`). + +6. **Applies Terraform Configuration**: + - Runs `terraform apply` to apply the migration. + +7. **Cleanup**: + - Removes temporary files (`imports.tf`, `config.json`, etc.) after completion. + +--- + +### How to Use the Script + +#### Step 1: Save the Script +Save the script as `migration_script.sh` and make it executable: + +```bash +chmod +x migration_script.sh +``` + +#### Step 2: Run the Script +Provide either a directory path or a resource type as an argument: + +```bash +# For a Terraform directory +./migration_script.sh /path/to/terraform_directory + +# For a resource type +./migration_script.sh resource-type +``` + +#### Step 3: Inspect Logs +The script uses color-coded logs for better readability: +- **Blue [INFO]**: General progress messages. +- **Green [DEBUG]**: Debug information. +- **Yellow [WARNING]**: Non-critical warnings. +- **Red [ERROR]**: Errors that cause the script to exit. + +Example log snippet: +```plaintext +2024-12-01 14:23:22 [INFO] Running terraform plan with configuration output... +2024-12-01 14:23:23 [INFO] Successfully generated imports.tf at /path/to/terraform_directory_migration. +2024-12-01 14:23:24 [WARNING] Terraform plan might fail; continuing. +2024-12-01 14:23:25 [ERROR] Failed to convert Terraform file to JSON. +``` + +#### Step 4: Review Outputs +The following files will be generated in the `_migration` folder: +- `imports.tf`: Generated by `generate_imports.go`. +- `provider.tf`: Provider configuration. +- `generated.tf`: Output of `terraform plan`. +- `cleaned_config.tf`: Cleaned and finalized Terraform configuration. + +#### Step 5: Cleanup +The script automatically cleans up intermediate files after successful execution: +- `imports.tf` +- `config.json` +- `cleaned_config.json` + +--- + +### Example Usage + +#### Input: Terraform Directory +```bash +./migration_script.sh /path/to/my_terraform_directory +``` + +**Output**: +- A new folder `/path/to/my_terraform_directory_migration` containing the migration files. + +--- + +### Troubleshooting + +1. **Error: Command Not Found** + - Ensure the required tools (`terraform`, `go`, `python3`, `hcl2json`) are installed and accessible in your `PATH`. + +2. **Colorless Logs**: + - Verify your terminal supports ANSI colors and `tput`. + +3. **Go Script Errors**: + - Ensure `generate_imports.go` and `json_to_hcl.go` are present and compilable. + +4. **Terraform Apply Errors**: + - Check your Terraform configuration for syntax or validation issues. + +--- + +### Additional Notes + +- The script is designed to fail fast (`set -e`), exiting on the first critical error. +- Logs are enriched with timestamps for better traceability. +- You can customize the color codes in the `log` function to suit your preferences. \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 72158b92..d7b8f40f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -35,4 +35,4 @@ provider "coralogix" { - `api_key` (String, Sensitive) A key for using coralogix APIs (Auto Generated), appropriate for the defined environment. environment variable 'CORALOGIX_API_KEY' can be defined instead. - `domain` (String) The Coralogix domain. Conflict With 'env'. environment variable 'CORALOGIX_DOMAIN' can be defined instead. -- `env` (String) The Coralogix API environment. can be one of ["USA2" "US2" "AP2" "APAC3" "EUROPE1" "EU1" "EU2" "US1" "APAC1" "AP1" "EUROPE2" "APAC2" "AP3" "USA1"]. environment variable 'CORALOGIX_ENV' can be defined instead. +- `env` (String) The Coralogix API environment. can be one of ["USA1" "APAC1" "AP1" "APAC2" "AP3" "EUROPE2" "AP2" "EUROPE1" "EU2" "US1" "US2" "APAC3" "EU1" "USA2"]. environment variable 'CORALOGIX_ENV' can be defined instead. diff --git a/docs/resources/alert.md b/docs/resources/alert.md index 5057ed29..6615b83f 100644 --- a/docs/resources/alert.md +++ b/docs/resources/alert.md @@ -3,16 +3,17 @@ page_title: "coralogix_alert Resource - terraform-provider-coralogix" subcategory: "" description: |- - Coralogix alert. More info: https://coralogix.com/docs/alerts-api/ . + Coralogix Alert. For more info please review - https://coralogix.com/docs/getting-started-with-coralogix-alerts/. --- # coralogix_alert (Resource) -Coralogix alert. More info: https://coralogix.com/docs/alerts-api/ . +Coralogix Alert. For more info please review - https://coralogix.com/docs/getting-started-with-coralogix-alerts/. ## Example Usage ```terraform +<<<<<<< HEAD terraform { required_providers { coralogix = { @@ -31,226 +32,239 @@ resource "coralogix_alert" "standard_alert" { name = "Standard alert example" description = "Example of standard alert from terraform" severity = "Critical" - - meta_labels = { +======= +resource "coralogix_alert" "immediate_alert" { + name = "logs immediate alert" + description = "Example of logs immediate alert from terraform" + priority = "P2" +>>>>>>> c425949 (feat: terraform to use coraglogix sdk) + + labels = { alert_type = "security" security_severity = "high" } - notifications_group { - group_by_fields = ["coralogix.metadata.sdkId", "EventType"] - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - } - notification { - email_recipients = ["example@coralogix.com"] - } - } - notifications_group { - notification { - email_recipients = ["example@coralogix.com"] - } + notification_group = { + simple_target_settings = [ + { + recipients = ["example@coralogix.com"] + } + ] } - incident_settings { - notify_on = "Triggered_and_resolved" - retriggering_period_minutes = 60 + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 10 + } } - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } } } - - standard { - applications = ["filter:contains:nginx"] //change here for existing applications from your account - subsystems = ["filter:startsWith:subsystem-name"] //change here for existing subsystems from your account - severities = ["Warning", "Info"] - search_query = "remote_addr_enriched:/.*/" - condition { - more_than = true - threshold = 5 - time_window = "30Min" - group_by = ["coralogix.metadata.sdkId", "EventType"] - evaluation_window = "Dynamic" + type_definition = { + logs_immediate = { + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + } + } } } } -data "coralogix_alert" "imported_standard_alert" { - id = coralogix_alert.standard_alert.id +data "coralogix_alert" "imported_immediate_alert" { + id = coralogix_alert.immediate_alert.id } resource "coralogix_alert" "ratio_alert" { - name = "Ratio alert example" - description = "Example of ratio alert from terraform" - severity = "Critical" - - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - notify_on = "Triggered_only" - } - notification { - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } + name = "logs-ratio-more-than alert example" + description = "Example of logs-ratio-more-than alert from terraform" + priority = "P1" + group_by = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name"] + + notification_group = { + simple_target_settings = [ + { + recipients = ["example@coralogix.com"] + } + ] } - ratio { - query_1 { - - } - query_2 { - applications = ["nginx"] //change here for existing applications from your account - subsystems = ["subsystem-name"] //change here for existing subsystems from your account - severities = ["Warning"] - } - condition { - less_than = true - ratio_threshold = 2 - time_window = "10Min" - group_by = ["coralogix.metadata.sdkId"] - group_by_q1 = true - manage_undetected_values { - enable_triggering_on_undetected_values = true - auto_retire_ratio = "5Min" + type_definition = { + logs_ratio_threshold = { + denominator_alias = "denominator" + denominator = { + simple_filter = { + lucene_query = "mod_date:[20020101 TO 20030101]" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] + } + } + } + numerator_alias = "numerator" + numerator = { + simple_filter = { + lucene_query = "mod_date:[20030101 TO 20040101]" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Error"] + } + } } + rules = [{ + threshold = 2 + time_window = "10_MINUTES" + condition = "MORE_THAN" + }] } } } resource "coralogix_alert" "new_value_alert" { - name = "New value alert example" - description = "Example of new value alert from terraform" - severity = "Info" - - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - notify_on = "Triggered_only" - } - notification { - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } + name = "logs-new-value alert example" + description = "Example of logs-new-value alert from terraform" + priority = "P2" + + notification_group = { + advanced_target_settings = [ + { + notify_on = "Triggered_and_resolved" + integration_id = coralogix_webhook.slack_webhook.external_id + retriggering_period = { + minutes = 1 + }, + } + ] } - new_value { - severities = ["Info"] - condition { - key_to_track = "remote_addr_geoip.country_name" - time_window = "12H" + type_definition = { + logs_new_value = { + notification_payload_filter = ["coralogix.metadata.sdkId", "coralogix.metadata.sdkName", "coralogix.metadata.sdkVersion"] + rules = [ + { + time_window = "24_HOURS" + keypath_to_track = "remote_addr_geoip.country_name" + } + ] } } } resource "coralogix_alert" "time_relative_alert" { - name = "Time relative alert example" - description = "Example of time relative alert from terraform" - severity = "Critical" - - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - } - notification { - email_recipients = ["example@coralogix.com"] + name = "logs-time-relative-more-than alert example" + description = "Example of logs-time-relative-more-than alert from terraform" + priority = "P4" + + type_definition = { + logs_time_relative_threshold = { + rules = [{ + threshold = 10 + compared_to = "Same Hour Yesterday" + ignore_infinity = true + condition = "MORE_THAN" + }] } } +} - incident_settings { - notify_on = "Triggered_and_resolved" - retriggering_period_minutes = 1 - } +resource "coralogix_alert" "metric_lucene_alert" { + name = "logs-less-than alert example" + description = "Example of logs-less-than alert example from terraform" + priority = "P2" - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } + labels = { + alert_type = "security" + security_severity = "high" } - time_relative { - severities = ["Error"] - condition { - more_than = true - ratio_threshold = 2 - relative_time_window = "Same_hour_last_week" - } + notification_group = { + simple_target_settings = [ + { + recipients = ["example@coralogix.com", "example2@coralogix.com"] + }, + ] } -} - -resource "coralogix_alert" "metric_lucene_alert" { - name = "Metric lucene alert example" - description = "Example of metric lucene alert from terraform" - severity = "Critical" - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - } - notification { - email_recipients = ["example@coralogix.com"] + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 1 } } - incident_settings { - notify_on = "Triggered_and_resolved" - retriggering_period_minutes = 60 - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 10 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } } } - metric { - lucene { - search_query = "name:\"Frontend transactions\"" - condition { - metric_field = "subsystem" - arithmetic_operator = "Percentile" - arithmetic_operator_modifier = 20 - less_than = true - group_by = ["coralogix.metadata.sdkId"] - threshold = 60 - sample_threshold_percentage = 50 - time_window = "30Min" - manage_undetected_values { - enable_triggering_on_undetected_values = false + type_definition = { + logs_threshold = { + rules = [{ + threshold = 2 + time_window = "10_MINUTES" + condition = "LESS_THAN" + }] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "NOT" + value = "application_name" + } + ] + subsystem_name = [ + { + operation = "STARTS_WITH" + value = "subsystem-name" + } + ] + severities = ["Warning", "Error"] + } } } } @@ -258,211 +272,144 @@ resource "coralogix_alert" "metric_lucene_alert" { } resource "coralogix_alert" "metric_promql_alert" { - name = "Metric promql alert example" - description = "Example of metric promql alert from terraform" - severity = "Critical" - - notifications_group { - notification { - notify_on = "Triggered_and_resolved" - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - } - notification { - notify_on = "Triggered_and_resolved" - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 24*60 - } - } - - scheduling { - time_zone = "UTC-8" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - metric { - promql { - search_query = "http_requests_total{status!~\"4..\"}" - condition { - less_than_usual = true - threshold = 3 - sample_threshold_percentage = 50 - time_window = "12H" - replace_missing_value_with_zero = true + name = "metric-more-than alert example" + description = "Example of metric-more-than alert from terraform" + priority = "P3" + + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status)" } + rules = [{ + threshold = 2 + for_over_pct = 10 + of_the_last = "10_MINUTES" + missing_values = { + min_non_null_values_pct = 50 + } + condition = "MORE_THAN" + }] } } } -resource "coralogix_alert" "unique_count_alert" { - name = "Unique count alert example" - description = "Example of unique count alert from terraform" - severity = "Info" - - notifications_group { - group_by_fields = ["coralogix.metadata.sdkId"] - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - notification { - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - } - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - unique_count { - severities = ["Info"] - condition { - unique_count_key = "remote_addr_geoip.country_name" - max_unique_values = 2 - time_window = "10Min" - group_by_key = "coralogix.metadata.sdkId" - max_unique_values_for_group_by = 500 +resource "coralogix_alert" "unique_count_alert" { + name = "logs-unique-count alert example" + description = "Example of logs-unique-count alert from terraform" + priority = "P2" + + group_by = ["remote_addr_geoip.city_name"] + type_definition = { + logs_unique_count = { + rules = [{ + unique_count_keypath = "remote_addr_geoip.country_name" + max_unique_count = 2 + time_window = "5_MINUTES" + max_unique_count_per_group_by_key = 500 + }] } } } resource "coralogix_alert" "tracing_alert" { - name = "Tracing alert example" - description = "Example of tracing alert from terraform" - severity = "Info" - - notifications_group { - notification { - notify_on = "Triggered_and_resolved" - email_recipients = ["user@example.com"] - retriggering_period_minutes = 1 - } - notification { - notify_on = "Triggered_and_resolved" - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 + name = "tracing_more_than alert example" + description = "Example of tracing_more_than alert from terraform" + priority = "P2" + + type_definition = { + tracing_threshold = { + tracing_filter = { + latency_threshold_ms = 100 + tracing_label_filters = { + application_name = [ + { + operation = "IS" + values = ["nginx", "apache"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + } + ] + } + } + rules = [{ + span_amount = 5 + time_window = "10_MINUTES" + }] } } +} - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - tracing { - latency_threshold_milliseconds = 20.5 - applications = [ - "application_name", "filter:contains:application-name2", "filter:endsWith:application-name3", - "filter:startsWith:application-name4" - ] - subsystems = [ - "subsystemName", "filter:notEquals:subsystemName2", "filter:contains:subsystemName", - "filter:endsWith:subsystemName", - "filter:startsWith:subsystemName" - ] - services = [ - "serviceName", "filter:contains:serviceName", "filter:endsWith:serviceName", "filter:startsWith:serviceName" - ] - tag_filter { - field = "status" - values = ["filter:contains:400", "500"] - } - tag_filter { - field = "key" - values = ["value"] - } - condition { - more_than = true - time_window = "5Min" - threshold = 2 +resource "coralogix_alert" "test_1" { + name = "logs immediate alert 1" + priority = "P1" + type_definition = { + logs_immediate = { } } } -resource "coralogix_alert" "flow_alert" { - name = "Flow alert example" - description = "Example of flow alert from terraform" - severity = "Info" - - notifications_group { - notification { - notify_on = "Triggered_and_resolved" - email_recipients = ["user@example.com"] - retriggering_period_minutes = 1 - } - notification { - notify_on = "Triggered_and_resolved" - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 +resource "coralogix_alert" "test_2" { + name = "logs immediate alert 2" + priority = "P2" + type_definition = { + logs_immediate = { } } +} - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" +resource "coralogix_alert" "test_3" { + name = "logs immediate alert 3" + priority = "P3" + type_definition = { + logs_immediate = { } } +} - flow { - stage { - group { - sub_alerts { - operator = "OR" - flow_alert { - user_alert_id = coralogix_alert.standard_alert.id - } - } - next_operator = "OR" - } - group { - sub_alerts { - operator = "AND" - flow_alert { - not = true - user_alert_id = coralogix_alert.unique_count_alert.id - } - } - next_operator = "AND" - } - time_window { - minutes = 20 - } - } - stage { - group { - sub_alerts { - operator = "AND" - flow_alert { - user_alert_id = coralogix_alert.standard_alert.id - } - flow_alert { - not = true - user_alert_id = coralogix_alert.unique_count_alert.id - } +resource "coralogix_alert" "test" { + name = "flow alert example" + description = "Example of flow alert from terraform" + priority = "P3" + type_definition = { + flow = { + enforce_suppression = false + stages = [ + { + flow_stages_groups = [ + { + alert_defs = [ + { + id = coralogix_alert.test_1.id + }, + { + id = coralogix_alert.test_2.id + }, + ] + next_op = "AND" + alerts_op = "OR" + }, + { + alert_defs = [ + { + id = coralogix_alert.test_3.id + }, + { + id = coralogix_alert.test_2.id + }, + ] + next_op = "OR" + alerts_op = "AND" + }, + ] + timeframe_ms = 10 + timeframe_type = "Up To" } - next_operator = "OR" - } + ] } - group_by = ["coralogix.metadata.sdkId"] } } @@ -470,7 +417,7 @@ resource "coralogix_webhook" "slack_webhook" { name = "slack-webhook" slack = { notify_on = ["flow_anomalies"] - url = "https://join.slack.com/example" + url = "https://join.slack.com/example" } } ``` @@ -481,530 +428,1035 @@ resource "coralogix_webhook" "slack_webhook" { ### Required - `name` (String) Alert name. -- `severity` (String) Determines the alert's severity. Can be one of ["Warning" "Critical" "Error" "Low" "Info"] +- `priority` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. +- `type_definition` (Attributes) Alert type definition. Exactly one of the following must be specified: logs_immediate, logs_threshold, logs_anomaly, logs_ratio_threshold, logs_new_value, logs_unique_count, logs_time_relative_threshold, metric_threshold, metric_anomaly, tracing_immediate, tracing_threshold flow. (see [below for nested schema](#nestedatt--type_definition)) ### Optional +- `deleted` (Boolean) - `description` (String) Alert description. -- `enabled` (Boolean) Determines whether the alert will be active. True by default. -- `expiration_date` (Block List, Max: 1) The expiration date of the alert (if declared). (see [below for nested schema](#nestedblock--expiration_date)) -- `flow` (Block List, Max: 1) Alert based on a combination of alerts in a specific timeframe. (see [below for nested schema](#nestedblock--flow)) -- `incident_settings` (Block List, Max: 1) (see [below for nested schema](#nestedblock--incident_settings)) -- `meta_labels` (Map of String) Labels allow you to easily filter by alert type and create views. Insert a new label or use an existing one. You can nest a label using key:value. -- `metric` (Block List, Max: 1) Alert based on arithmetic operators for metrics. (see [below for nested schema](#nestedblock--metric)) -- `new_value` (Block List, Max: 1) Alert on never before seen log value. (see [below for nested schema](#nestedblock--new_value)) -- `notifications_group` (Block Set) Defines notifications settings over list of group-by keys (or on empty list). (see [below for nested schema](#nestedblock--notifications_group)) -- `payload_filters` (Set of String) A list of log fields out of the log example which will be included with the alert notification. -- `ratio` (Block List, Max: 1) Alert based on the ratio between queries. (see [below for nested schema](#nestedblock--ratio)) -- `scheduling` (Block List, Max: 1) Limit the triggering of this alert to specific time frames. Active always by default. (see [below for nested schema](#nestedblock--scheduling)) -- `standard` (Block List, Max: 1) Alert based on number of log occurrences. (see [below for nested schema](#nestedblock--standard)) -- `time_relative` (Block List, Max: 1) Alert based on ratio between timeframes. (see [below for nested schema](#nestedblock--time_relative)) -- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -- `tracing` (Block List, Max: 1) Alert based on tracing latency. (see [below for nested schema](#nestedblock--tracing)) -- `unique_count` (Block List, Max: 1) Alert based on unique value count per key. (see [below for nested schema](#nestedblock--unique_count)) +- `enabled` (Boolean) Alert enabled status. True by default. +- `group_by` (Set of String) Group by fields. +- `incidents_settings` (Attributes) (see [below for nested schema](#nestedatt--incidents_settings)) +- `labels` (Map of String) +- `notification_group` (Attributes) (see [below for nested schema](#nestedatt--notification_group)) +- `phantom_mode` (Boolean) +- `schedule` (Attributes) Alert schedule. Will be activated all the time if not specified. (see [below for nested schema](#nestedatt--schedule)) ### Read-Only -- `id` (String) The ID of this resource. +- `id` (String) Alert ID. + + +### Nested Schema for `type_definition` + +Optional: + +- `flow` (Attributes) (see [below for nested schema](#nestedatt--type_definition--flow)) +- `logs_anomaly` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly)) +- `logs_immediate` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate)) +- `logs_new_value` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value)) +- `logs_ratio_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold)) +- `logs_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold)) +- `logs_time_relative_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold)) +- `logs_unique_count` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count)) +- `metric_anomaly` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_anomaly)) +- `metric_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_threshold)) +- `tracing_immediate` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate)) +- `tracing_threshold` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold)) + + +### Nested Schema for `type_definition.flow` + +Required: + +- `stages` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--flow--stages)) + +Optional: + +- `enforce_suppression` (Boolean) - -### Nested Schema for `expiration_date` + +### Nested Schema for `type_definition.flow.stages` Required: -- `day` (Number) Day of a month. Must be from 1 to 31 and valid for the year and month. -- `month` (Number) Month of a year. Must be from 1 to 12. -- `year` (Number) Year of the date. Must be from 1 to 9999. +- `flow_stages_groups` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--flow--stages--flow_stages_groups)) +- `timeframe_type` (String) + +Optional: + +- `timeframe_ms` (Number) + +### Nested Schema for `type_definition.flow.stages.flow_stages_groups` - -### Nested Schema for `flow` +Required: + +- `alert_defs` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--flow--stages--flow_stages_groups--alert_defs)) +- `alerts_op` (String) Alerts operation. Valid values: ["AND" "OR"]. +- `next_op` (String) Next operation. Valid values: ["AND" "OR"]. + + +### Nested Schema for `type_definition.flow.stages.flow_stages_groups.alert_defs` Required: -- `stage` (Block List, Min: 1) (see [below for nested schema](#nestedblock--flow--stage)) +- `id` (String) Optional: -- `group_by` (List of String) +- `not` (Boolean) - -### Nested Schema for `flow.stage` + + + + + +### Nested Schema for `type_definition.logs_anomaly` Required: -- `group` (Block List, Min: 1) (see [below for nested schema](#nestedblock--flow--stage--group)) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--rules)) Optional: -- `time_window` (Block List, Max: 1) Timeframe for flow stage. (see [below for nested schema](#nestedblock--flow--stage--time_window)) +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter)) +- `notification_payload_filter` (Set of String) - -### Nested Schema for `flow.stage.group` + +### Nested Schema for `type_definition.logs_anomaly.rules` Required: -- `next_operator` (String) The operator to use on the alert. can be one of ["AND" "OR"] -- `sub_alerts` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--flow--stage--group--sub_alerts)) +- `minimum_threshold` (Number) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. - -### Nested Schema for `flow.stage.group.sub_alerts` + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter` + +Optional: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter)) + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter` + +Optional: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter.label_filters` + +Optional: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_anomaly--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.application_name` Required: -- `flow_alert` (Block List, Min: 1) (see [below for nested schema](#nestedblock--flow--stage--group--sub_alerts--flow_alert)) -- `operator` (String) The operator to use on the alert. can be one of ["AND" "OR"] +- `value` (String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + - -### Nested Schema for `flow.stage.group.sub_alerts.flow_alert` + +### Nested Schema for `type_definition.logs_anomaly.logs_filter.simple_filter.label_filters.subsystem_name` Required: -- `user_alert_id` (String) +- `value` (String) Optional: -- `not` (Boolean) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + - -### Nested Schema for `flow.stage.time_window` + + +### Nested Schema for `type_definition.logs_immediate` Optional: -- `hours` (Number) -- `minutes` (Number) -- `seconds` (Number) +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter)) +- `notification_payload_filter` (Set of String) + + +### Nested Schema for `type_definition.logs_immediate.logs_filter` +Optional: +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter)) + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter` - -### Nested Schema for `incident_settings` +Optional: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter.label_filters` + +Optional: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_immediate--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter.label_filters.application_name` Required: -- `retriggering_period_minutes` (Number) +- `value` (String) Optional: -- `notify_on` (String) Defines the alert's triggering logic. Can be one of ["Triggered_only" "Triggered_and_resolved"]. Triggered_and_resolved conflicts with new_value, unique_count and flow alerts, and with immediately and more_than_usual conditions +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. - -### Nested Schema for `metric` + +### Nested Schema for `type_definition.logs_immediate.logs_filter.simple_filter.label_filters.subsystem_name` + +Required: + +- `value` (String) Optional: -- `lucene` (Block List, Max: 1) (see [below for nested schema](#nestedblock--metric--lucene)) -- `promql` (Block List, Max: 1) (see [below for nested schema](#nestedblock--metric--promql)) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + + + + - -### Nested Schema for `metric.lucene` + +### Nested Schema for `type_definition.logs_new_value` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--metric--lucene--condition)) -- `search_query` (String) Regular expiration. More info: https://coralogix.com/blog/regex-101/ +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--rules)) - -### Nested Schema for `metric.lucene.condition` +Optional: + +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter)) +- `notification_payload_filter` (Set of String) + + +### Nested Schema for `type_definition.logs_new_value.rules` Required: -- `arithmetic_operator` (String) The arithmetic operator to use on the alert. can be one of ["Avg" "Min" "Max" "Sum" "Count" "Percentile"] -- `metric_field` (String) The name of the metric field to alert on. -- `sample_threshold_percentage` (Number) The metric value must cross the threshold within this percentage of the timeframe (sum and count arithmetic operators do not use this parameter since they aggregate over the entire requested timeframe), increments of 10, 0 <= value <= 100. -- `threshold` (Number) The number of log threshold that is needed to trigger the alert. -- `time_window` (String) The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of ["12H" "5Min" "1H" "2H" "20Min" "30Min" "4H" "6H" "24H" "1Min" "10Min" "15Min"] +- `keypath_to_track` (String) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["12_HOURS" "1_MONTH" "1_WEEK" "24_HOURS" "2_MONTHS" "3_MONTHS" "48_HOURS" "72_HOURS"]. + + + +### Nested Schema for `type_definition.logs_new_value.logs_filter` Optional: -- `arithmetic_operator_modifier` (Number) When arithmetic_operator = "Percentile" you need to supply the value in this property, 0 < value < 100. -- `group_by` (List of String) The fields to 'group by' on. -- `less_than` (Boolean) Determines the condition operator. Must be one of - less_than or more_than. -- `manage_undetected_values` (Block List, Max: 1) Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER. (see [below for nested schema](#nestedblock--metric--lucene--condition--manage_undetected_values)) -- `min_non_null_values_percentage` (Number) The minimum percentage of the timeframe that should have values for this alert to trigger -- `more_than` (Boolean) Determines the condition operator. Must be one of - less_than or more_than. -- `replace_missing_value_with_zero` (Boolean) If set to true, missing data will be considered as 0, otherwise, it will not be considered at all. +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter)) + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter` - -### Nested Schema for `metric.lucene.condition.manage_undetected_values` +Optional: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter.label_filters` + +Optional: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_new_value--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter.label_filters.application_name` Required: -- `enable_triggering_on_undetected_values` (Boolean) Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted. +- `value` (String) Optional: -- `auto_retire_ratio` (String) Defines the triggering auto-retire ratio. Can be one of ["6H" "12H" "24H" "Never" "5Min" "10Min" "1H" "2H"] +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + + +### Nested Schema for `type_definition.logs_new_value.logs_filter.simple_filter.label_filters.subsystem_name` + +Required: + +- `value` (String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + - -### Nested Schema for `metric.promql` + + +### Nested Schema for `type_definition.logs_ratio_threshold` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--metric--promql--condition)) -- `search_query` (String) Regular expiration. More info: https://coralogix.com/blog/regex-101/ +- `denominator_alias` (String) +- `numerator_alias` (String) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--rules)) + +Optional: + +- `denominator` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator)) +- `group_by_for` (String) Group by for. Valid values: ["Both" "Denominator Only" "Numerator Only"]. 'Both' by default. +- `notification_payload_filter` (Set of String) +- `numerator` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator)) - -### Nested Schema for `metric.promql.condition` + +### Nested Schema for `type_definition.logs_ratio_threshold.rules` Required: -- `sample_threshold_percentage` (Number) -- `threshold` (Number) The threshold that is needed to trigger the alert. -- `time_window` (String) The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of ["12H" "5Min" "1H" "2H" "20Min" "30Min" "4H" "6H" "24H" "1Min" "10Min" "15Min"] +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "MORE_THAN"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. +- `threshold` (Number) +- `time_window` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. + + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator` + +Optional: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter)) + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter` + +Optional: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters` Optional: -- `less_than` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal. -- `less_than_or_equal` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal. -- `less_than_usual` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal. -- `manage_undetected_values` (Block List, Max: 1) Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER. (see [below for nested schema](#nestedblock--metric--promql--condition--manage_undetected_values)) -- `min_non_null_values_percentage` (Number) -- `more_than` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal. -- `more_than_or_equal` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal. -- `more_than_usual` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than, more_than_usual, less_than_usual, more_than_or_equal or less_than_or_equal. -- `replace_missing_value_with_zero` (Boolean) If set to true, missing data will be considered as 0, otherwise, it will not be considered at all. +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--denominator--simple_filter--label_filters--subsystem_name)) - -### Nested Schema for `metric.promql.condition.manage_undetected_values` + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.application_name` Required: -- `enable_triggering_on_undetected_values` (Boolean) Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted. +- `value` (String) Optional: -- `auto_retire_ratio` (String) Defines the triggering auto-retire ratio. Can be one of ["6H" "12H" "24H" "Never" "5Min" "10Min" "1H" "2H"] +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + +### Nested Schema for `type_definition.logs_ratio_threshold.denominator.simple_filter.label_filters.subsystem_name` +Required: + +- `value` (String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + + + + + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator` + +Optional: + +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter)) + + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter` +Optional: + +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter--label_filters)) +- `lucene_query` (String) - -### Nested Schema for `new_value` + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters` + +Optional: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_ratio_threshold--numerator--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.application_name` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--new_value--condition)) +- `value` (String) Optional: -- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `categories` (Set of String) An array that contains log’s categories that we want to be notified on. -- `classes` (Set of String) An array that contains log’s class names that we want to be notified on. -- `computers` (Set of String) An array that contains log’s computer names that we want to be notified on. -- `ip_addresses` (Set of String) An array that contains log’s IP addresses that we want to be notified on. -- `methods` (Set of String) An array that contains log’s method names that we want to be notified on. -- `search_query` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of log severities that we interested in. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] -- `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + - -### Nested Schema for `new_value.condition` + +### Nested Schema for `type_definition.logs_ratio_threshold.numerator.simple_filter.label_filters.subsystem_name` Required: -- `key_to_track` (String) Select a key to track. Note, this key needs to have less than 50K unique values in the defined timeframe. -- `time_window` (String) The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of ["24H" "48H" "72H" "1W" "1Month" "2Month" "3Month" "12H"] +- `value` (String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + - -### Nested Schema for `notifications_group` + + + +### Nested Schema for `type_definition.logs_threshold` + +Required: + +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--rules)) Optional: -- `group_by_fields` (List of String) List of group-by fields to apply the notification logic on (can be empty). Every notification should contain unique group_by_fields permutation (the order doesn't matter). -- `notification` (Block Set) Defines notification logic with optional recipients. Can contain single webhook or email recipients list. (see [below for nested schema](#nestedblock--notifications_group--notification)) +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter)) +- `notification_payload_filter` (Set of String) +- `undetected_values_management` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--undetected_values_management)) + + +### Nested Schema for `type_definition.logs_threshold.rules` + +Required: + +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "MORE_THAN"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. +- `threshold` (Number) +- `time_window` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. - -### Nested Schema for `notifications_group.notification` + + +### Nested Schema for `type_definition.logs_threshold.logs_filter` Optional: -- `email_recipients` (Set of String) Conflicts with integration_id. -- `integration_id` (String) Conflicts with emails. -- `notify_on` (String) Defines the alert's triggering logic. Can be one of ["Triggered_only" "Triggered_and_resolved"]. Triggered_and_resolved conflicts with new_value, unique_count and flow alerts, and with immediately and more_than_usual conditions -- `retriggering_period_minutes` (Number) By default, retriggering_period_minutes will be populated with min for immediate, more_than and more_than_usual alerts. For less_than alert it will be populated with the chosen time frame for the less_than condition (in minutes). You may choose to change the suppress window so the alert will be suppressed for a longer period. +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter)) + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter` +Optional: - -### Nested Schema for `ratio` +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter.label_filters` + +Optional: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_threshold--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter.label_filters.application_name` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--ratio--condition)) -- `query_1` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--ratio--query_1)) -- `query_2` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--ratio--query_2)) +- `value` (String) + +Optional: - -### Nested Schema for `ratio.condition` +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + + +### Nested Schema for `type_definition.logs_threshold.logs_filter.simple_filter.label_filters.subsystem_name` Required: -- `ratio_threshold` (Number) The ratio(between the queries) threshold that is needed to trigger the alert. -- `time_window` (String) The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of ["2H" "6H" "12H" "24H" "1H" "10Min" "15Min" "20Min" "30Min" "4H" "36H" "5Min"] +- `value` (String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + + + + + +### Nested Schema for `type_definition.logs_threshold.undetected_values_management` Optional: -- `group_by` (List of String) The fields to 'group by' on. -- `group_by_both` (Boolean) -- `group_by_q1` (Boolean) -- `group_by_q2` (Boolean) -- `ignore_infinity` (Boolean) Not triggered when threshold is infinity (divided by zero). -- `less_than` (Boolean) -- `manage_undetected_values` (Block List, Max: 1) Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER. (see [below for nested schema](#nestedblock--ratio--condition--manage_undetected_values)) -- `more_than` (Boolean) Determines the condition operator. Must be one of - less_than or more_than. +- `auto_retire_timeframe` (String) Auto retire timeframe. Valid values: ["10_MINUTES" "12_HOURS" "1_HOUR" "24_HOURS" "2_HOURS" "5_MINUTES" "6_HOURS" "Never"]. +- `trigger_undetected_values` (Boolean) + - -### Nested Schema for `ratio.condition.manage_undetected_values` + + +### Nested Schema for `type_definition.logs_time_relative_threshold` Required: -- `enable_triggering_on_undetected_values` (Boolean) Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted. +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--rules)) Optional: -- `auto_retire_ratio` (String) Defines the triggering auto-retire ratio. Can be one of ["6H" "12H" "24H" "Never" "5Min" "10Min" "1H" "2H"] +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter)) +- `notification_payload_filter` (Set of String) +- `undetected_values_management` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--undetected_values_management)) + + +### Nested Schema for `type_definition.logs_time_relative_threshold.rules` + +Required: +- `compared_to` (String) Compared to a different time frame. Valid values: ["Previous Hour" "Same Day Last Month" "Same Day Last Week" "Same Hour Last Week" "Same Hour Yesterday" "Yesterday"]. +- `condition` (String) Condition . Valid values: ["LESS_THAN" "MORE_THAN"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. +- `threshold` (Number) - -### Nested Schema for `ratio.query_1` + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter` Optional: -- `alias` (String) Query1 alias. -- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `categories` (Set of String) An array that contains log’s categories that we want to be notified on. -- `classes` (Set of String) An array that contains log’s class names that we want to be notified on. -- `computers` (Set of String) An array that contains log’s computer names that we want to be notified on. -- `ip_addresses` (Set of String) An array that contains log’s IP addresses that we want to be notified on. -- `methods` (Set of String) An array that contains log’s method names that we want to be notified on. -- `search_query` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of log severities that we interested in. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] -- `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter)) + + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter` + +Optional: +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) - -### Nested Schema for `ratio.query_2` + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter.label_filters` Optional: -- `alias` (String) Query2 alias. -- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `search_query` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of log severities that we interested in. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] -- `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_time_relative_threshold--logs_filter--simple_filter--label_filters--subsystem_name)) + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter.label_filters.application_name` +Required: + +- `value` (String) + +Optional: - -### Nested Schema for `scheduling` +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + + +### Nested Schema for `type_definition.logs_time_relative_threshold.logs_filter.simple_filter.label_filters.subsystem_name` Required: -- `time_frame` (Block Set, Min: 1, Max: 1) time_frame is a set of days and hours when the alert will be active. ***Currently, supported only for one time_frame*** (see [below for nested schema](#nestedblock--scheduling--time_frame)) +- `value` (String) Optional: -- `time_zone` (String) Specifies the time zone to be used in interpreting the schedule. Can be one of ["UTC-11" "UTC-10" "UTC-9" "UTC-8" "UTC-7" "UTC-6" "UTC-5" "UTC-4" "UTC-3" "UTC-2" "UTC-1" "UTC+0" "UTC+1" "UTC+2" "UTC+3" "UTC+4" "UTC+5" "UTC+6" "UTC+7" "UTC+8" "UTC+9" "UTC+10" "UTC+11" "UTC+12" "UTC+13" "UTC+14"] +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + - -### Nested Schema for `scheduling.time_frame` + + + +### Nested Schema for `type_definition.logs_time_relative_threshold.undetected_values_management` + +Optional: + +- `auto_retire_timeframe` (String) Auto retire timeframe. Valid values: ["10_MINUTES" "12_HOURS" "1_HOUR" "24_HOURS" "2_HOURS" "5_MINUTES" "6_HOURS" "Never"]. +- `trigger_undetected_values` (Boolean) + + + + +### Nested Schema for `type_definition.logs_unique_count` Required: -- `days_enabled` (Set of String) Days of week. Can be one of ["Wednesday" "Thursday" "Friday" "Saturday" "Sunday" "Monday" "Tuesday"] -- `end_time` (String) Limit the triggering of this alert to end at specific hour. -- `start_time` (String) Limit the triggering of this alert to start at specific hour. +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--rules)) +Optional: +- `logs_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter)) +- `notification_payload_filter` (Set of String) - -### Nested Schema for `standard` + +### Nested Schema for `type_definition.logs_unique_count.rules` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--standard--condition)) +- `max_unique_count` (Number) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["12_HOURS" "1_HOUR" "1_MINUTE" "20_MINUTES" "24_HOURS" "2_HOURS" "30_MINUTES" "4_HOURS" "5_MINUTES" "6_HOURS"]. + + + +### Nested Schema for `type_definition.logs_unique_count.logs_filter` Optional: -- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `categories` (Set of String) An array that contains log’s categories that we want to be notified on. -- `classes` (Set of String) An array that contains log’s class names that we want to be notified on. -- `computers` (Set of String) An array that contains log’s computer names that we want to be notified on. -- `ip_addresses` (Set of String) An array that contains log’s IP addresses that we want to be notified on. -- `methods` (Set of String) An array that contains log’s method names that we want to be notified on. -- `search_query` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of log severities that we interested in. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] -- `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx +- `simple_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter)) - -### Nested Schema for `standard.condition` + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter` Optional: -- `evaluation_window` (String) Defines the evaluation-window logic to determine if the threshold has been crossed. Relevant only for more_than condition. Can be one of ["Rolling" "Dynamic"]. -- `group_by` (List of String) The fields to 'group by' on. In case of immediately = true switch to group_by_key. -- `group_by_key` (String) The key to 'group by' on. When immediately = true, 'group_by_key' (single string) can be set instead of 'group_by'. -- `immediately` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than or more_than_usual. -- `less_than` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than or more_than_usual. -- `manage_undetected_values` (Block List, Max: 1) Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER. (see [below for nested schema](#nestedblock--standard--condition--manage_undetected_values)) -- `more_than` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than or more_than_usual. -- `more_than_usual` (Boolean) Determines the condition operator. Must be one of - immediately, less_than, more_than or more_than_usual. -- `threshold` (Number) The number of log occurrences that is needed to trigger the alert. -- `time_window` (String) The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of ["2H" "6H" "12H" "24H" "1H" "10Min" "15Min" "20Min" "30Min" "4H" "36H" "5Min"] +- `label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter--label_filters)) +- `lucene_query` (String) + + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter.label_filters` + +Optional: - -### Nested Schema for `standard.condition.manage_undetected_values` +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter--label_filters--application_name)) +- `severities` (Set of String) Severities. Valid values: ["Critical" "Debug" "Error" "Info" "Unspecified" "Warning"]. +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--logs_unique_count--logs_filter--simple_filter--label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter.label_filters.application_name` Required: -- `enable_triggering_on_undetected_values` (Boolean) Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted. +- `value` (String) Optional: -- `auto_retire_ratio` (String) Defines the triggering auto-retire ratio. Can be one of ["6H" "12H" "24H" "Never" "5Min" "10Min" "1H" "2H"] +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + +### Nested Schema for `type_definition.logs_unique_count.logs_filter.simple_filter.label_filters.subsystem_name` +Required: - -### Nested Schema for `time_relative` +- `value` (String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"].'IS' by default. + + + + + + + +### Nested Schema for `type_definition.metric_anomaly` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--time_relative--condition)) +- `metric_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_anomaly--metric_filter)) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--metric_anomaly--rules)) + + +### Nested Schema for `type_definition.metric_anomaly.metric_filter` + +Required: + +- `promql` (String) + + + +### Nested Schema for `type_definition.metric_anomaly.rules` + +Required: + +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "MORE_THAN"]. +- `for_over_pct` (Number) +- `min_non_null_values_pct` (Number) +- `of_the_last` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "1_MINUTE" "24_HOURS" "2_HOURS" "30_MINUTES" "4_HOURS" "5_MINUTES" "6_HOURS"]. +- `threshold` (Number) + + + + +### Nested Schema for `type_definition.metric_threshold` + +Required: + +- `metric_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_threshold--metric_filter)) +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--metric_threshold--rules)) Optional: -- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `categories` (Set of String) An array that contains log’s categories that we want to be notified on. -- `classes` (Set of String) An array that contains log’s class names that we want to be notified on. -- `computers` (Set of String) An array that contains log’s computer names that we want to be notified on. -- `ip_addresses` (Set of String) An array that contains log’s IP addresses that we want to be notified on. -- `methods` (Set of String) An array that contains log’s method names that we want to be notified on. -- `search_query` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of log severities that we interested in. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] -- `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx +- `undetected_values_management` (Attributes) (see [below for nested schema](#nestedatt--type_definition--metric_threshold--undetected_values_management)) - -### Nested Schema for `time_relative.condition` + +### Nested Schema for `type_definition.metric_threshold.metric_filter` Required: -- `ratio_threshold` (Number) The ratio threshold that is needed to trigger the alert. -- `relative_time_window` (String) Time-window to compare with. Can be one of ["Previous_hour" "Same_hour_yesterday" "Same_hour_last_week" "Yesterday" "Same_day_last_week" "Same_day_last_month"]. +- `promql` (String) + + + +### Nested Schema for `type_definition.metric_threshold.rules` + +Required: + +- `condition` (String) Condition to evaluate the threshold with. Valid values: ["LESS_THAN" "LESS_THAN_OR_EQUALS" "MORE_THAN" "MORE_THAN_OR_EQUALS"]. +- `for_over_pct` (Number) +- `of_the_last` (String) Condition to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "1_MINUTE" "24_HOURS" "2_HOURS" "30_MINUTES" "4_HOURS" "5_MINUTES" "6_HOURS"]. +- `override` (String) Alert priority. Valid values: ["P1" "P2" "P3" "P4" "P5"]. +- `threshold` (Number) + + + +### Nested Schema for `type_definition.metric_threshold.undetected_values_management` Optional: -- `group_by` (List of String) The fields to 'group by' on. -- `ignore_infinity` (Boolean) Not triggered when threshold is infinity (divided by zero). -- `less_than` (Boolean) Determines the condition operator. Must be one of - less_than or more_than. -- `manage_undetected_values` (Block List, Max: 1) Manage your logs undetected values - when relevant, enable/disable triggering on undetected values and change the auto retire interval. By default (when relevant), triggering is enabled with retire-ratio=NEVER. (see [below for nested schema](#nestedblock--time_relative--condition--manage_undetected_values)) -- `more_than` (Boolean) Determines the condition operator. Must be one of - less_than or more_than. +- `auto_retire_timeframe` (String) Auto retire timeframe. Valid values: ["10_MINUTES" "12_HOURS" "1_HOUR" "24_HOURS" "2_HOURS" "5_MINUTES" "6_HOURS" "Never"]. +- `trigger_undetected_values` (Boolean) + - -### Nested Schema for `time_relative.condition.manage_undetected_values` + + +### Nested Schema for `type_definition.tracing_immediate` Required: -- `enable_triggering_on_undetected_values` (Boolean) Determines whether the deadman-option is enabled. When set to true, auto_retire_ratio is required otherwise auto_retire_ratio should be omitted. +- `tracing_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter)) Optional: -- `auto_retire_ratio` (String) Defines the triggering auto-retire ratio. Can be one of ["6H" "12H" "24H" "Never" "5Min" "10Min" "1H" "2H"] +- `notification_payload_filter` (Set of String) + + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter` + +Required: + +- `latency_threshold_ms` (Number) +- `tracing_label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters)) + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters` +Optional: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--application_name)) +- `operation_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--operation_name)) +- `service_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--service_name)) +- `span_fields` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--span_fields)) +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--subsystem_name)) + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.application_name` + +Required: - -### Nested Schema for `timeouts` +- `values` (Set of String) Optional: -- `create` (String) -- `delete` (String) -- `read` (String) -- `update` (String) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. - -### Nested Schema for `tracing` + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.operation_name` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--tracing--condition)) +- `values` (Set of String) Optional: -- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `latency_threshold_milliseconds` (Number) -- `services` (Set of String) An array that contains log’s services names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `subsystems` (Set of String) An array that contains log’s subsystems names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `tag_filter` (Block Set) (see [below for nested schema](#nestedblock--tracing--tag_filter)) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.service_name` + +Required: - -### Nested Schema for `tracing.condition` +- `values` (Set of String) Optional: -- `group_by` (List of String) The fields to 'group by' on. -- `immediately` (Boolean) Determines the condition operator. Must be one of - immediately or more_than. -- `more_than` (Boolean) Determines the condition operator. Must be one of - immediately or more_than. -- `threshold` (Number) The number of log occurrences that is needed to trigger the alert. -- `time_window` (String) The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of ["2H" "6H" "12H" "24H" "1H" "10Min" "15Min" "20Min" "30Min" "4H" "36H" "5Min"] +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. - -### Nested Schema for `tracing.tag_filter` + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields` Required: -- `field` (String) -- `values` (Set of String) Tag filter values can be filtered by prefix, suffix, and contains using the next patterns - filter:notEquals:xxx, filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx +- `key` (String) +Optional: +- `filter_type` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_immediate--tracing_filter--tracing_label_filters--span_fields--filter_type)) - -### Nested Schema for `unique_count` + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.span_fields.filter_type` Required: -- `condition` (Block List, Min: 1, Max: 1) Defines the conditions for triggering and notify by the alert (see [below for nested schema](#nestedblock--unique_count--condition)) +- `values` (Set of String) Optional: -- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx -- `categories` (Set of String) An array that contains log’s categories that we want to be notified on. -- `classes` (Set of String) An array that contains log’s class names that we want to be notified on. -- `computers` (Set of String) An array that contains log’s computer names that we want to be notified on. -- `ip_addresses` (Set of String) An array that contains log’s IP addresses that we want to be notified on. -- `methods` (Set of String) An array that contains log’s method names that we want to be notified on. -- `search_query` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of log severities that we interested in. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] -- `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + - -### Nested Schema for `unique_count.condition` + +### Nested Schema for `type_definition.tracing_immediate.tracing_filter.tracing_label_filters.subsystem_name` Required: -- `max_unique_values` (Number) -- `time_window` (String) The bounded time frame for the threshold to be occurred within, to trigger the alert. Can be one of ["6H" "12H" "24H" "10Min" "1H" "15Min" "20Min" "30Min" "2H" "4H" "1Min" "5Min"] -- `unique_count_key` (String) Defines the key to match to track its unique count. +- `values` (Set of String) Optional: -- `group_by_key` (String) The key to 'group by' on. -- `max_unique_values_for_group_by` (Number) +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + + + + + +### Nested Schema for `type_definition.tracing_threshold` + +Required: + +- `rules` (Attributes List) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--rules)) +- `tracing_filter` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter)) + +Optional: + +- `notification_payload_filter` (Set of String) + + +### Nested Schema for `type_definition.tracing_threshold.rules` + +Required: + +- `span_amount` (Number) +- `time_window` (String) Time window to evaluate the threshold with. Valid values: ["10_MINUTES" "12_HOURS" "15_MINUTES" "1_HOUR" "24_HOURS" "2_HOURS" "30_MINUTES" "36_HOURS" "4_HOURS" "5_MINUTES" "6_HOURS"]. + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter` + +Required: + +- `latency_threshold_ms` (Number) +- `tracing_label_filters` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters)) + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters` + +Optional: + +- `application_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--application_name)) +- `operation_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--operation_name)) +- `service_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--service_name)) +- `span_fields` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--span_fields)) +- `subsystem_name` (Attributes Set) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--subsystem_name)) + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.application_name` + +Required: + +- `values` (Set of String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.operation_name` + +Required: + +- `values` (Set of String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.service_name` + +Required: + +- `values` (Set of String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.span_fields` + +Required: + +- `key` (String) + +Optional: + +- `filter_type` (Attributes) (see [below for nested schema](#nestedatt--type_definition--tracing_threshold--tracing_filter--tracing_label_filters--span_fields--filter_type)) + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.span_fields.filter_type` + +Required: + +- `values` (Set of String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + + + +### Nested Schema for `type_definition.tracing_threshold.tracing_filter.tracing_label_filters.subsystem_name` + +Required: + +- `values` (Set of String) + +Optional: + +- `operation` (String) Operation. Valid values: ["ENDS_WITH" "IS" "NOT" "STARTS_WITH"]. 'IS' by default. + + + + + + + +### Nested Schema for `incidents_settings` + +Required: + +- `notify_on` (String) Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. +- `retriggering_period` (Attributes) (see [below for nested schema](#nestedatt--incidents_settings--retriggering_period)) + + +### Nested Schema for `incidents_settings.retriggering_period` + +Required: + +- `minutes` (Number) + + + + +### Nested Schema for `notification_group` + +Optional: + +- `group_by_keys` (List of String) +- `webhooks_settings` (Attributes Set) (see [below for nested schema](#nestedatt--notification_group--webhooks_settings)) + + +### Nested Schema for `notification_group.webhooks_settings` + +Optional: + +- `integration_id` (String) +- `notify_on` (String) Notify on. Valid values: ["Triggered Only" "Triggered and Resolved"]. Triggered Only by default. +- `recipients` (Set of String) +- `retriggering_period` (Attributes) Retriggering period in minutes. 10 minutes by default. (see [below for nested schema](#nestedatt--notification_group--webhooks_settings--retriggering_period)) + + +### Nested Schema for `notification_group.webhooks_settings.retriggering_period` + +Required: + +- `minutes` (Number) + + + + + +### Nested Schema for `schedule` + +Required: + +- `active_on` (Attributes) (see [below for nested schema](#nestedatt--schedule--active_on)) + + +### Nested Schema for `schedule.active_on` + +Required: + +- `days_of_week` (List of String) Days of the week. Valid values: ["Friday" "Monday" "Saturday" "Sunday" "Thursday" "Tuesday" "Wednesday"]. +- `end_time` (Attributes) (see [below for nested schema](#nestedatt--schedule--active_on--end_time)) +- `start_time` (Attributes) (see [below for nested schema](#nestedatt--schedule--active_on--start_time)) + + +### Nested Schema for `schedule.active_on.end_time` + +Required: + +- `hours` (Number) +- `minutes` (Number) + + + +### Nested Schema for `schedule.active_on.start_time` + +Required: + +- `hours` (Number) +- `minutes` (Number) diff --git a/docs/resources/api_key.md b/docs/resources/api_key.md index e88b6659..b16afcd5 100644 --- a/docs/resources/api_key.md +++ b/docs/resources/api_key.md @@ -44,7 +44,7 @@ resource "coralogix_api_key" "example" { ### Required - `name` (String) Api Key name. -- `owner` (Attributes) Api Key Owner.It can either be a team_id or a user_id (see [below for nested schema](#nestedatt--owner)) +- `owner` (Attributes) Api Key Owner. It can either be a team_id or a user_id (see [below for nested schema](#nestedatt--owner)) - `permissions` (Set of String) Api Key Permissions - `presets` (Set of String) Api Key Presets diff --git a/docs/resources/custom_role.md b/docs/resources/custom_role.md index 7233a4df..3b7d6f23 100644 --- a/docs/resources/custom_role.md +++ b/docs/resources/custom_role.md @@ -3,12 +3,12 @@ page_title: "coralogix_custom_role Resource - terraform-provider-coralogix" subcategory: "" description: |- - Coralogix Custom roles. + Coralogix Custom cxsdk. --- # coralogix_custom_role (Resource) -Coralogix Custom roles. +Coralogix Custom cxsdk. ## Example Usage diff --git a/docs/resources/dashboard.md b/docs/resources/dashboard.md index 522cae3a..6fe29aa8 100644 --- a/docs/resources/dashboard.md +++ b/docs/resources/dashboard.md @@ -1020,7 +1020,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1137,9 +1137,9 @@ Optional: - `max_bars_per_chart` (Number) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--query)) - `scale_type` (String) -- `sort_by` (String) The field to sort by. Can be one of unspecified, value, name. +- `sort_by` (String) The field to sort by. Can be one of name, unspecified, value. - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro. +- `unit` (String) The unit of the chart. Can be one of bytes, bytes_iec, custom, euro, euro_cents, gbytes, gibytes, kbytes, kibytes, mbytes, mibytes, microseconds, milliseconds, nanoseconds, percent01, percent100, seconds, unspecified, usd, usd_cents. - `xaxis` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--bar_chart--xaxis)) @@ -1244,7 +1244,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1409,8 +1409,8 @@ Optional: Required: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1428,7 +1428,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1450,7 +1450,7 @@ Optional: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1459,7 +1459,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1506,12 +1506,12 @@ Required: - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--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 ["condensed" "json" "list" "one_line" "two_line" "unspecified"]. Optional: - `columns` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--columns)) -- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"]. +- `data_mode_type` (String) The data mode type. Can be one of ["archive" "unspecified"]. - `order_by` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--data_table--order_by)) @@ -1611,7 +1611,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1789,7 +1789,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1831,8 +1831,8 @@ Read-Only: Required: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1843,7 +1843,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -1867,7 +1867,7 @@ Optional: Optional: - `field` (String) -- `order_direction` (String) The order direction. Can be one of ["desc" "asc"]. +- `order_direction` (String) The order direction. Can be one of ["asc" "desc" "unspecified"]. @@ -1877,16 +1877,16 @@ Optional: Required: - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--query)) -- `unit` (String) The unit of the gauge. Can be one of ["usd" "milliseconds" "mbytes" "bytes_iec" "mibytes" "none" "kbytes" "seconds" "gbytes" "kibytes" "euro" "euro_cents" "usd_cents" "percent" "microseconds" "bytes" "gibytes"]. +- `unit` (String) The unit of the gauge. Can be one of ["bytes" "bytes_iec" "custom" "euro" "euro_cents" "gbytes" "gibytes" "kbytes" "kibytes" "mbytes" "mibytes" "microseconds" "milliseconds" "nanoseconds" "none" "percent" "percent01" "percent100" "seconds" "unspecified" "usd" "usd_cents"]. Optional: -- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"]. +- `data_mode_type` (String) The data mode type. Can be one of ["archive" "unspecified"]. - `max` (Number) - `min` (Number) - `show_inner_arc` (Boolean) - `show_outer_arc` (Boolean) -- `threshold_by` (String) The threshold by. Can be one of ["value" "background" "unspecified"]. +- `threshold_by` (String) The threshold by. Can be one of ["background" "unspecified" "value"]. - `thresholds` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--thresholds)) @@ -1986,7 +1986,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2083,7 +2083,7 @@ Required: Optional: -- `aggregation` (String) The type of aggregation. Can be one of ["unspecified" "last" "min" "max" "avg" "sum"]. +- `aggregation` (String) The type of aggregation. Can be one of ["avg" "last" "max" "min" "sum" "unspecified"]. - `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--gauge--query--metrics--filters)) @@ -2135,7 +2135,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2156,8 +2156,8 @@ Optional: Required: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2188,7 +2188,7 @@ Optional: - `scale_type` (String) - `sort_by` (String) - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--horizontal_bar_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro. +- `unit` (String) The unit of the chart. Can be one of bytes, bytes_iec, custom, euro, euro_cents, gbytes, gibytes, kbytes, kibytes, mbytes, mibytes, microseconds, milliseconds, nanoseconds, percent01, percent100, seconds, unspecified, usd, usd_cents. - `y_axis_view_by` (String) @@ -2347,8 +2347,8 @@ Optional: Required: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2366,7 +2366,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2388,7 +2388,7 @@ Optional: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2397,7 +2397,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2438,10 +2438,10 @@ Optional: - `is_visible` (Boolean) - `name` (String) - `resolution` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--line_chart--query_definitions--resolution)) -- `scale_type` (String) The scale type. Valid values are: unspecified, linear, logarithmic. +- `scale_type` (String) The scale type. Valid values are: linear, logarithmic, unspecified. - `series_count_limit` (Number) - `series_name_template` (String) -- `unit` (String) The unit. Valid values are: unspecified, mbytes, gibytes, usd_cents, gbytes, bytes_iec, kibytes, usd, microseconds, milliseconds, seconds, euro_cents, bytes, kbytes, mibytes, euro. +- `unit` (String) The unit. Valid values are: bytes, bytes_iec, custom, euro, euro_cents, gbytes, gibytes, kbytes, kibytes, mbytes, mibytes, microseconds, milliseconds, nanoseconds, percent01, percent100, seconds, unspecified, usd, usd_cents. Read-Only: @@ -2579,8 +2579,8 @@ Optional: Required: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2598,7 +2598,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2620,7 +2620,7 @@ Optional: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2640,10 +2640,10 @@ Optional: Optional: -- `columns` (List of String) The columns to display in the legend. Valid values are: avg, last, unspecified, min, max, sum. +- `columns` (List of String) The columns to display in the legend. Valid values are: avg, last, max, min, name, sum, unspecified. - `group_by_query` (Boolean) - `is_visible` (Boolean) Whether to display the legend. False by default. -- `placement` (String) The placement of the legend. Valid values are: auto, bottom, side, hidden, unspecified. +- `placement` (String) The placement of the legend. Valid values are: auto, bottom, hidden, side, unspecified. @@ -2652,7 +2652,7 @@ Optional: Optional: - `show_labels` (Boolean) -- `type` (String) The tooltip type. Valid values are: unspecified, all, single. +- `type` (String) The tooltip type. Valid values are: all, single, unspecified. @@ -2690,7 +2690,7 @@ Optional: Optional: - `is_visible` (Boolean) -- `label_source` (String) The source of the label. Valid values are: unspecified, inner, stack +- `label_source` (String) The source of the label. Valid values are: inner, stack, unspecified - `show_name` (Boolean) - `show_percentage` (Boolean) - `show_value` (Boolean) @@ -2798,7 +2798,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -2963,8 +2963,8 @@ Optional: Required: -- `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 ["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"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["avg" "max" "min" "percentile_50" "percentile_95" "percentile_99" "sum" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unique_count" "unspecified"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["trace_id" "unspecified"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2982,7 +2982,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -3004,7 +3004,7 @@ Optional: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -3013,7 +3013,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -3084,7 +3084,7 @@ Optional: Required: -- `values_order_direction` (String) The order direction of the values. Can be one of `desc`, `asc`. +- `values_order_direction` (String) The order direction of the values. Can be one of `asc`, `desc`, `unspecified`. Optional: @@ -3291,7 +3291,7 @@ Required: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] @@ -3312,4 +3312,4 @@ Optional: 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"] +- `value` (String) The value of the field. When the field type is `metadata`, can be one of ["application_name" "operation_name" "service_name" "subsystem_name" "unspecified"] diff --git a/docs/resources/events2metric.md b/docs/resources/events2metric.md index d3608f17..7a15d916 100644 --- a/docs/resources/events2metric.md +++ b/docs/resources/events2metric.md @@ -135,7 +135,7 @@ Optional: - `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx - `lucene` (String) The search_query that we wanted to be notified on. -- `severities` (Set of String) An array of severities that we interested in. Can be one of ["Critical" "Unspecified" "Debug" "Verbose" "Info" "Warning" "Error"] +- `severities` (Set of String) An array of severities that we interested in. Can be one of ["critical" "debug" "error" "info" "unspecified" "verbose" "warning"] - `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx @@ -232,7 +232,7 @@ Read-Only: Required: -- `type` (String) Can be one of ["Min" "Max"]. +- `type` (String) Can be one of ["Max" "Min"]. Optional: diff --git a/docs/resources/rules_group.md b/docs/resources/rules_group.md index e3d028ad..8b89c977 100644 --- a/docs/resources/rules_group.md +++ b/docs/resources/rules_group.md @@ -187,7 +187,7 @@ resource "coralogix_rules_group" "parse_json_field_example" { - `hidden` (Boolean) - `order` (Number) Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing). - `rule_subgroups` (Block List) List of rule-subgroups. Every rule-subgroup is list of rules with 'or' (||) operation between. (see [below for nested schema](#nestedblock--rule_subgroups)) -- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"] +- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["critical" "debug" "error" "info" "verbose" "warning"] - `subsystems` (Set of String) Rules will execute on logs that match the following subsystems. - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) @@ -273,7 +273,7 @@ Read-Only: Required: -- `field_format_standard` (String) The format standard you want to use. Can be one of ["JavaSDF" "Golang" "SecondTS" "MilliTS" "MicroTS" "NanoTS" "Strftime"] +- `field_format_standard` (String) The format standard you want to use. Can be one of ["golang" "javaSDF" "microTS" "milliTS" "nanoTS" "secondTS" "strftime"] - `name` (String) The rule name. - `source_field` (String) The field on which the Regex will operate on. Accepts lowercase only. - `time_format` (String) A time format that matches the field format standard @@ -294,7 +294,7 @@ Read-Only: Required: -- `destination_field` (String) The field that will be populated by the results of RegEx operation.Can be one of [Severity Text Category Class Method ThreadID]. +- `destination_field` (String) The field that will be populated by the results of RegEx operation.Can be one of [Category Class Method Severity Text ThreadID]. - `json_key` (String) JSON key to extract its value directly into a Coralogix metadata field. - `name` (String) The rule name. diff --git a/docs/resources/slo.md b/docs/resources/slo.md index d69de990..c3badcfb 100644 --- a/docs/resources/slo.md +++ b/docs/resources/slo.md @@ -61,7 +61,7 @@ resource "coralogix_slo" "example_2" { ### Required - `name` (String) SLO name. -- `period` (String) Period. This is the period of the SLO. Valid values are: ["unspecified" "7_days" "14_days" "30_days"] +- `period` (String) Period. This is the period of the SLO. Valid values are: ["14_days" "30_days" "7_days" "unspecified"] - `service_name` (String) Service name. This is the name of the service that the SLO is associated with. - `target_percentage` (Number) Target percentage. This is the target percentage of the SLO. - `type` (String) Type. This is the type of the SLO. Valid values are: "error", "latency". @@ -71,7 +71,7 @@ resource "coralogix_slo" "example_2" { - `description` (String) Optional SLO description. - `filters` (Attributes Set) (see [below for nested schema](#nestedatt--filters)) - `threshold_microseconds` (Number) Threshold in microseconds. Required when `type` is `latency`. -- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["greater" "greater_or_equal" "less" "less_or_equal" "equal"] +- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["equal" "greater" "greater_or_equal" "less" "less_or_equal"] ### Read-Only @@ -84,7 +84,7 @@ resource "coralogix_slo" "example_2" { Required: -- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["starts_with" "ends_with" "includes" "unspecified" "is"] +- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["ends_with" "includes" "is" "starts_with" "unspecified"] - `field` (String) Optional: diff --git a/docs/resources/tco_policies_logs.md b/docs/resources/tco_policies_logs.md index fb92e40e..8ed2a7fb 100644 --- a/docs/resources/tco_policies_logs.md +++ b/docs/resources/tco_policies_logs.md @@ -113,7 +113,7 @@ Optional: - `archive_retention_id` (String) Allowing logs with a specific retention to be tagged. - `description` (String) The policy description - `enabled` (Boolean) Determines weather the policy will be enabled. True by default. -- `severities` (Set of String) The severities to apply the policy on. Can be few of ["debug" "verbose" "info" "warning" "error" "critical"]. +- `severities` (Set of String) The severities to apply the policy on. Can be few of ["critical" "debug" "error" "info" "verbose" "warning"]. - `subsystems` (Attributes) The subsystems to apply the policy on. Applies the policy on all the subsystems by default. (see [below for nested schema](#nestedatt--policies--subsystems)) Read-Only: @@ -130,7 +130,7 @@ Required: Optional: -- `rule_type` (String) The rule type. Can be one of ["is" "is_not" "starts_with" "includes"]. +- `rule_type` (String) The rule type. Can be one of ["includes" "is" "is_not" "starts_with" "unspecified"]. diff --git a/docs/resources/webhook.md b/docs/resources/webhook.md index b9847309..0979e960 100644 --- a/docs/resources/webhook.md +++ b/docs/resources/webhook.md @@ -271,7 +271,7 @@ Optional: Optional: - `attachments` (Attributes List) Slack attachments. (see [below for nested schema](#nestedatt--slack--attachments)) -- `notify_on` (Set of String) Slack notifications. can be one of: error_and_critical_logs, flow_anomalies, spike_anomalies, data_usage +- `notify_on` (Set of String) Slack notifications. can be one of: data_usage, error_and_critical_logs, flow_anomalies, spike_anomalies - `url` (String) Slack URL. @@ -279,7 +279,7 @@ Optional: Required: -- `type` (String) Slack attachment type. can be one of: logs, empty, metric_snapshot +- `type` (String) Slack attachment type. can be one of: empty, logs, metric_snapshot Optional: diff --git a/examples/resources/coralogix_alert/resource.tf b/examples/resources/coralogix_alert/resource.tf index dc2d235a..2fd03cbc 100644 --- a/examples/resources/coralogix_alert/resource.tf +++ b/examples/resources/coralogix_alert/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { coralogix = { - version = "~> 1.8" + version = "1.18.13" source = "coralogix/coralogix" } } @@ -12,443 +12,470 @@ provider "coralogix" { #env = "" } -resource "coralogix_alert" "standard_alert" { - name = "Standard alert example" - description = "Example of standard alert from terraform" - severity = "Critical" - - meta_labels = { - alert_type = "security" - security_severity = "high" - } - - notifications_group { - group_by_fields = ["coralogix.metadata.sdkId", "EventType"] - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - } - notification { - email_recipients = ["example@coralogix.com"] - } - } - notifications_group { - notification { - email_recipients = ["example@coralogix.com"] - } - } - - incident_settings { - notify_on = "Triggered_and_resolved" - retriggering_period_minutes = 60 +resource "coralogix_alert" "logs_immediate" { + name = "logs immediate alert" + description = "Example of logs immediate alert from terraform" + priority = "P1" + + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 10 + } + } + notification_group = { + webhooks_settings = [ + { + recipients = ["example@coralogix.com"] + }, + { + integration_id = coralogix_webhook.slack_webhook.external_id + retriggering_period = { + minutes = 15 + } + notify_on = "Triggered Only" + } + ] } - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + start_time = { + hours = 8 + minutes = 30 + } + end_time = { + hours = 20 + minutes = 30 + } } } - standard { - applications = ["filter:contains:nginx"] //change here for existing applications from your account - subsystems = ["filter:startsWith:subsystem-name"] //change here for existing subsystems from your account - severities = ["Warning", "Info"] - search_query = "remote_addr_enriched:/.*/" - condition { - more_than = true - threshold = 5 - time_window = "30Min" - group_by = ["coralogix.metadata.sdkId", "EventType"] - evaluation_window = "Dynamic" + type_definition = { + logs_immediate = { + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + } + } } } } -data "coralogix_alert" "imported_standard_alert" { - id = coralogix_alert.standard_alert.id -} - -resource "coralogix_alert" "ratio_alert" { - name = "Ratio alert example" - description = "Example of ratio alert from terraform" - severity = "Critical" - - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - notify_on = "Triggered_only" - } - notification { - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - ratio { - query_1 { - - } - query_2 { - applications = ["nginx"] //change here for existing applications from your account - subsystems = ["subsystem-name"] //change here for existing subsystems from your account - severities = ["Warning"] - } - condition { - less_than = true - ratio_threshold = 2 - time_window = "10Min" - group_by = ["coralogix.metadata.sdkId"] - group_by_q1 = true - manage_undetected_values { - enable_triggering_on_undetected_values = true - auto_retire_ratio = "5Min" +resource "coralogix_alert" "logs_threshold" { + name = "logs-threshold alert example" + description = "Example of logs-threshold alert from terraform" + priority = "P2" + type_definition = { + logs_threshold = { + rules = [ + { + condition = { + threshold = 2 + time_window = { + specific_value = "10_MINUTES" + } + condition_type = "LESS_THAN" + } + override = { + } + } + ] + logs_filter = { + simple_filter = { + lucene_query = "message:\"error\"" + label_filters = { + application_name = [ + { + operation = "NOT" + value = "application_name" + } + ] + subsystem_name = [ + { + operation = "STARTS_WITH" + value = "subsystem-name" + } + ] + severities = ["Warning", "Error"] + } + } } } } } -resource "coralogix_alert" "new_value_alert" { - name = "New value alert example" - description = "Example of new value alert from terraform" - severity = "Info" - - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - notify_on = "Triggered_only" - } - notification { - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" +resource "coralogix_alert" "logs_anomaly" { + name = "logs-anomaly alert example" + description = "Example of logs-anomaly alert from terraform" + priority = "P3" + type_definition = { + logs_anomaly = { + simple_filter = { + label_filters = { + application_name = [ + { + value = "nginx" + operation = "IS" + } + ] + } + } + rules = [ + { + condition = { + time_window = { + specific_value = "10_MINUTES" + } + minimum_threshold = 2 + } + } + ] } } +} - new_value { - severities = ["Info"] - condition { - key_to_track = "remote_addr_geoip.country_name" - time_window = "12H" +resource "coralogix_alert" "logs_ratio_threshold" { + name = "logs-ratio-more-than alert example" + description = "Example of logs-ratio-more-than alert from terraform" + priority = "P4" + group_by = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name", "coralogix.metadata.alert_description"] + + notification_group = { + group_by_keys = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name"] + } + + type_definition = { + logs_ratio_threshold = { + denominator_alias = "denominator" + denominator = { + simple_filter = { + lucene_query = "mod_date:[20020101 TO 20030101]" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Warning"] + } + } + } + numerator_alias = "numerator" + numerator = { + simple_filter = { + lucene_query = "mod_date:[20030101 TO 20040101]" + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + } + ] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + } + ] + severities = ["Error"] + } + } + } + rules = [ + { + condition = { + threshold = 2 + time_window = { + specific_value = "10_MINUTES" + } + condition_type = "MORE_THAN" + } + override = { + priority = "P2" + } + } + ] } } } -resource "coralogix_alert" "time_relative_alert" { - name = "Time relative alert example" - description = "Example of time relative alert from terraform" - severity = "Critical" - - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - } - notification { - email_recipients = ["example@coralogix.com"] - } - } +resource "coralogix_alert" "logs_new_value" { + name = "logs-new-value alert example" + description = "Example of logs-new-value alert from terraform" + priority = "P5" - incident_settings { - notify_on = "Triggered_and_resolved" - retriggering_period_minutes = 1 + notification_group = { + webhooks_settings = [ + { + retriggering_period = { + minutes = 10 + } + notify_on = "Triggered and Resolved" + recipients = ["example@coralogix.com", "example2@coralogix.com"] + }, + { + retriggering_period = { + minutes = 10 + } + notify_on = "Triggered and Resolved" + integration_id = coralogix_webhook.slack_webhook.external_id + } + ] } - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" + type_definition = { + logs_new_value = { + notification_payload_filter = [ + "coralogix.metadata.sdkId", "coralogix.metadata.sdkName", "coralogix.metadata.sdkVersion" + ] + rules = [ + { + condition = { + time_window = { + specific_value = "12_HOURS" + } + keypath_to_track = "remote_addr_geoip.country_name" + } + } + ] } } +} - time_relative { - severities = ["Error"] - condition { - more_than = true - ratio_threshold = 2 - relative_time_window = "Same_hour_last_week" +resource "coralogix_alert" "logs_unique_count" { + name = "logs-unique-count alert example" + description = "Example of logs-unique-count alert from terraform" + priority = "P4" + + group_by = ["remote_addr_geoip.city_name"] + type_definition = { + logs_unique_count = { + rules = [ + { + condition = { + unique_count_keypath = "remote_addr_geoip.country_name" + max_unique_count = 2 + time_window = { + specific_value = "20_MINUTES" + } + max_unique_count_per_group_by_key = 500 + } + } + ] + unique_count_keypath = "remote_addr_geoip.country_name" + max_unique_count_per_group_by_key = 500 } } } -resource "coralogix_alert" "metric_lucene_alert" { - name = "Metric lucene alert example" - description = "Example of metric lucene alert from terraform" - severity = "Critical" - - notifications_group { - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - } - notification { - email_recipients = ["example@coralogix.com"] +resource "coralogix_alert" "logs_time_relative_threshold" { + name = "logs-time-relative-more-than alert example" + description = "Example of logs-time-relative-more-than alert from terraform" + priority = "P1" + + type_definition = { + logs_time_relative_threshold = { + rules = [ + { + condition = { + time_window = { + specific_value = "10_MINUTES" + } + compared_to = "Same Hour Yesterday" + threshold = 10 + condition_type = "MORE_THAN" + } + override = { + priority = "P4" + } + } + ] } } +} - incident_settings { - notify_on = "Triggered_and_resolved" - retriggering_period_minutes = 60 - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } +resource "coralogix_alert" "metric_threshold" { + name = "metric-more-than alert example" + description = "Example of metric-more-than alert from terraform" + priority = "P2" + group_by = ["status", "method"] - metric { - lucene { - search_query = "name:\"Frontend transactions\"" - condition { - metric_field = "subsystem" - arithmetic_operator = "Percentile" - arithmetic_operator_modifier = 20 - less_than = true - group_by = ["coralogix.metadata.sdkId"] - threshold = 60 - sample_threshold_percentage = 50 - time_window = "30Min" - manage_undetected_values { - enable_triggering_on_undetected_values = false + type_definition = { + metric_threshold = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"api-server\"}[5m])) by (status, method)" + } + rules = [ + { + condition = { + threshold = 2 + for_over_pct = 10 + of_the_last = { + specific_value = "10_MINUTES" + } + missing_values = { + min_non_null_values_pct = 50 + } + condition_type = "MORE_THAN" + } + override = { + priority = "P3" + } } + ] + missing_values = { + min_non_null_values_pct = 50 } } } } -resource "coralogix_alert" "metric_promql_alert" { - name = "Metric promql alert example" - description = "Example of metric promql alert from terraform" - severity = "Critical" - - notifications_group { - notification { - notify_on = "Triggered_and_resolved" - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - } - notification { - notify_on = "Triggered_and_resolved" - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 24*60 - } - } +resource "coralogix_alert" "metric_anomaly" { + name = "metric-anomaly alert example" + description = "Example of metric-anomaly alert from terraform" + priority = "P3" - scheduling { - time_zone = "UTC-8" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - metric { - promql { - search_query = "http_requests_total{status!~\"4..\"}" - condition { - less_than_usual = true - threshold = 3 - sample_threshold_percentage = 50 - time_window = "12H" - replace_missing_value_with_zero = true + type_definition = { + metric_anomaly = { + metric_filter = { + promql = "sum(rate(http_requests_total{job=\"apwi-server\"}[5m])) by (status, method)" } + rules = [ + { + condition = { + for_over_pct = 10 + min_non_null_values_pct = 50 + of_the_last = { + specific_value = "10_MINUTES" + } + threshold = 2.4 + condition_type = "LESS_THAN" + } + } + ] } } } -resource "coralogix_alert" "unique_count_alert" { - name = "Unique count alert example" - description = "Example of unique count alert from terraform" - severity = "Info" - - notifications_group { - group_by_fields = ["coralogix.metadata.sdkId"] - notification { - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - notification { - email_recipients = ["example@coralogix.com"] - retriggering_period_minutes = 1 - notify_on = "Triggered_and_resolved" - } - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - unique_count { - severities = ["Info"] - condition { - unique_count_key = "remote_addr_geoip.country_name" - max_unique_values = 2 - time_window = "10Min" - group_by_key = "coralogix.metadata.sdkId" - max_unique_values_for_group_by = 500 +resource "coralogix_alert" "tracing_threshold" { + name = "tracing_more_than alert example" + description = "Example of tracing_more_than alert from terraform" + priority = "P5" + + type_definition = { + tracing_threshold = { + tracing_filter = { + latency_threshold_ms = 100 + tracing_label_filters = { + application_name = [ + { + operation = "IS" + values = ["nginx", "apache"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + } + ] + } + } + rules = [ + { + condition = { + span_amount = 5 + time_window = { + specific_value = "10_MINUTES" + } + } + } + ] } } } -resource "coralogix_alert" "tracing_alert" { - name = "Tracing alert example" - description = "Example of tracing alert from terraform" - severity = "Info" +resource "coralogix_alert" "tracing_immediate" { + name = "tracing_immediate alert example" + description = "Example of tracing_immediate alert from terraform" + priority = "P1" + + type_definition = { + tracing_immediate = { + tracing_filter = { + latency_threshold_ms = 100 + tracing_label_filters = { + application_name = [ + { + operation = "IS" + values = ["nginx", "apache"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + } + ] - notifications_group { - notification { - notify_on = "Triggered_and_resolved" - email_recipients = ["user@example.com"] - retriggering_period_minutes = 1 - } - notification { - notify_on = "Triggered_and_resolved" - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - } - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - tracing { - latency_threshold_milliseconds = 20.5 - applications = [ - "application_name", "filter:contains:application-name2", "filter:endsWith:application-name3", - "filter:startsWith:application-name4" - ] - subsystems = [ - "subsystemName", "filter:notEquals:subsystemName2", "filter:contains:subsystemName", - "filter:endsWith:subsystemName", - "filter:startsWith:subsystemName" - ] - services = [ - "serviceName", "filter:contains:serviceName", "filter:endsWith:serviceName", "filter:startsWith:serviceName" - ] - tag_filter { - field = "status" - values = ["filter:contains:400", "500"] - } - tag_filter { - field = "key" - values = ["value"] - } - condition { - more_than = true - time_window = "5Min" - threshold = 2 + } + } } } } -resource "coralogix_alert" "flow_alert" { - name = "Flow alert example" - description = "Example of flow alert from terraform" - severity = "Info" - - notifications_group { - notification { - notify_on = "Triggered_and_resolved" - email_recipients = ["user@example.com"] - retriggering_period_minutes = 1 - } - notification { - notify_on = "Triggered_and_resolved" - integration_id = coralogix_webhook.slack_webhook.external_id - retriggering_period_minutes = 1 - } - } - - scheduling { - time_zone = "UTC+2" - time_frame { - days_enabled = ["Wednesday", "Thursday"] - start_time = "08:30" - end_time = "20:30" - } - } - - flow { - stage { - group { - sub_alerts { - operator = "OR" - flow_alert { - user_alert_id = coralogix_alert.standard_alert.id - } - } - next_operator = "OR" - } - group { - sub_alerts { - operator = "AND" - flow_alert { - not = true - user_alert_id = coralogix_alert.unique_count_alert.id +resource "coralogix_alert" "flow" { + name = "flow alert example" + description = "Example of flow alert from terraform" + priority = "P2" + + type_definition = { + flow = { + stages = [ + { + flow_stages_groups = [ + { + alert_defs = [ + { + id = resource.coralogix_alert.logs_immediate.id + }, + { + id = resource.coralogix_alert.logs_threshold.id + } + ] + alerts_op = "AND" + next_op = "OR" + } + ] + timeframe_type = "Up To" + timeframe_ms = 60000 + }, + { + flow_stages_groups = [ + { + alert_defs = [ + { + id = resource.coralogix_alert.logs_anomaly.id + }, + { + id = resource.coralogix_alert.logs_ratio_threshold.id + } + ] + alerts_op = "OR" + next_op = "AND" + } + ] + timeframe_type = "Up To" + timeframe_ms = 60000 } - } - next_operator = "AND" - } - time_window { - minutes = 20 - } - } - stage { - group { - sub_alerts { - operator = "AND" - flow_alert { - user_alert_id = coralogix_alert.standard_alert.id - } - flow_alert { - not = true - user_alert_id = coralogix_alert.unique_count_alert.id - } - } - next_operator = "OR" + ] } } - group_by = ["coralogix.metadata.sdkId"] - } } resource "coralogix_webhook" "slack_webhook" { diff --git a/examples/resources/example/generated.tf b/examples/resources/example/generated.tf new file mode 100644 index 00000000..824242e1 --- /dev/null +++ b/examples/resources/example/generated.tf @@ -0,0 +1,364 @@ +# __generated__ by Terraform +# Please review these resources and move them into your main configuration files. + +# __generated__ by Terraform from "4c760ad4-2eb4-444b-9285-8a86f3eda7cb" +resource "coralogix_alert" "logs_new_value" { + deleted = false + description = "Example of logs-new-value alert from terraform" + enabled = true + group_by = null + incidents_settings = { + notify_on = "Triggered Only" + retriggering_period = { + minutes = 10 + } + } + labels = null + name = "logs-new-value alert example" + notification_group = { + group_by_keys = null + webhooks_settings = null + } + phantom_mode = false + priority = "P2" + schedule = null + type_definition = { + flow = null + logs_anomaly = null + logs_immediate = null + logs_new_value = { + logs_filter = { + simple_filter = { + label_filters = { + application_name = null + severities = null + subsystem_name = null + } + lucene_query = null + } + } + notification_payload_filter = ["coralogix.metadata.sdkId", "coralogix.metadata.sdkName", "coralogix.metadata.sdkVersion"] + rules = [ + { + condition = { + keypath_to_track = "remote_addr_geoip.country_name" + time_window = { + specific_value = "12_HOURS" + } + } + }, + ] + } + logs_ratio_threshold = null + logs_threshold = null + logs_time_relative_threshold = null + logs_unique_count = null + metric_anomaly = null + metric_threshold = null + tracing_immediate = null + tracing_threshold = null + } +} + +# __generated__ by Terraform from "41544404-db3c-4d6e-b039-b8cc3efd51f8" +resource "coralogix_alert" "flow_alert_example" { + deleted = false + description = "Example of flow alert from terraform" + enabled = true + group_by = null + incidents_settings = { + notify_on = "Triggered Only" + retriggering_period = { + minutes = 10 + } + } + labels = null + name = "flow alert example" + notification_group = { + group_by_keys = null + webhooks_settings = null + } + phantom_mode = false + priority = "P3" + schedule = null + type_definition = { + flow = { + enforce_suppression = false + stages = [ + { + flow_stages_groups = [ + { + alert_defs = [ + { + id = "5c197c44-a51d-4c70-a90a-77a4a21ae3d8" + not = false + }, + { + id = "f8a782a1-a503-4987-884f-7dac4b834b03" + not = false + }, + ] + alerts_op = "OR" + next_op = "AND" + }, + { + alert_defs = [ + { + id = "81bba4f8-332c-4bc4-b5d2-bd074a4f969e" + not = false + }, + { + id = "f8a782a1-a503-4987-884f-7dac4b834b03" + not = false + }, + ] + alerts_op = "AND" + next_op = "OR" + }, + ] + timeframe_ms = 10 + timeframe_type = "Up To" + }, + ] + } + logs_anomaly = null + logs_immediate = null + logs_new_value = null + logs_ratio_threshold = null + logs_threshold = null + logs_time_relative_threshold = null + logs_unique_count = null + metric_anomaly = null + metric_threshold = null + tracing_immediate = null + tracing_threshold = null + } +} + +# __generated__ by Terraform from "19e27a6d-470d-47e9-9447-d1a1bb512eb6" +resource "coralogix_alert" "logs_immediate_alert" { + deleted = false + description = "Example of logs immediate alert from terraform" + enabled = true + group_by = null + incidents_settings = { + notify_on = "Triggered and Resolved" + retriggering_period = { + minutes = 10 + } + } + labels = { + alert_type = "security" + security_severity = "high" + } + name = "logs immediate alert" + notification_group = { + group_by_keys = null + webhooks_settings = null + } + phantom_mode = false + priority = "P2" + schedule = { + active_on = { + days_of_week = ["Wednesday", "Thursday"] + end_time = { + hours = 20 + minutes = 30 + } + start_time = { + hours = 8 + minutes = 30 + } + } + } + type_definition = { + flow = null + logs_anomaly = null + logs_immediate = { + logs_filter = { + simple_filter = { + label_filters = { + application_name = null + severities = null + subsystem_name = null + } + lucene_query = "message:\"error\"" + } + } + notification_payload_filter = null + } + logs_new_value = null + logs_ratio_threshold = null + logs_threshold = null + logs_time_relative_threshold = null + logs_unique_count = null + metric_anomaly = null + metric_threshold = null + tracing_immediate = null + tracing_threshold = null + } +} + +# __generated__ by Terraform from "187f3ea4-caa7-46e1-82c0-2dfd1e67a680" +resource "coralogix_alert" "logs-ratio-more-than" { + deleted = false + description = "Example of logs-ratio-more-than alert from terraform" + enabled = true + group_by = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name"] + incidents_settings = { + notify_on = "Triggered Only" + retriggering_period = { + minutes = 10 + } + } + labels = null + name = "logs-ratio-more-than alert example" + notification_group = { + group_by_keys = ["coralogix.metadata.alert_id", "coralogix.metadata.alert_name"] + webhooks_settings = null + } + phantom_mode = false + priority = "P1" + schedule = null + type_definition = { + flow = null + logs_anomaly = null + logs_immediate = null + logs_new_value = null + logs_ratio_threshold = { + denominator = { + simple_filter = { + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + }, + ] + severities = ["Warning"] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + }, + ] + } + lucene_query = "mod_date:[20020101 TO 20030101]" + } + } + denominator_alias = "denominator" + group_by_for = "Both" + notification_payload_filter = null + numerator = { + simple_filter = { + label_filters = { + application_name = [ + { + operation = "IS" + value = "nginx" + }, + ] + severities = ["Error"] + subsystem_name = [ + { + operation = "IS" + value = "subsystem-name" + }, + ] + } + lucene_query = "mod_date:[20030101 TO 20040101]" + } + } + numerator_alias = "numerator" + rules = [ + { + condition = { + condition_type = "MORE_THAN" + threshold = 2 + time_window = { + specific_value = "10_MINUTES" + } + } + override = { + priority = "P2" + } + }, + ] + } + logs_threshold = null + logs_time_relative_threshold = null + logs_unique_count = null + metric_anomaly = null + metric_threshold = null + tracing_immediate = null + tracing_threshold = null + } +} + +# __generated__ by Terraform +resource "coralogix_alert" "tracing_more_than" { + deleted = false + description = "Example of tracing_more_than alert from terraform" + enabled = true + group_by = null + incidents_settings = { + notify_on = "Triggered Only" + retriggering_period = { + minutes = 10 + } + } + labels = null + name = "tracing_more_than alert example" + notification_group = { + group_by_keys = null + webhooks_settings = null + } + phantom_mode = false + priority = "P2" + schedule = null + type_definition = { + flow = null + logs_anomaly = null + logs_immediate = null + logs_new_value = null + logs_ratio_threshold = null + logs_threshold = null + logs_time_relative_threshold = null + logs_unique_count = null + metric_anomaly = null + metric_threshold = null + tracing_immediate = null + tracing_threshold = { + notification_payload_filter = null + rules = [ + { + condition = { + span_amount = 5 + time_window = { + specific_value = "10_MINUTES" + } + } + }, + ] + tracing_filter = { + latency_threshold_ms = 100 + tracing_label_filters = { + application_name = [ + { + operation = "IS" + values = ["apache", "nginx"] + }, + { + operation = "STARTS_WITH" + values = ["application-name:"] + }, + ] + operation_name = null + service_name = null + span_fields = null + subsystem_name = null + } + } + } + } +} diff --git a/examples/resources/example/resource.tf b/examples/resources/example/resource.tf new file mode 100644 index 00000000..2853df93 --- /dev/null +++ b/examples/resources/example/resource.tf @@ -0,0 +1,38 @@ +terraform { + required_providers { + coralogix = { + version = "~> 1.8" + source = "coralogix/coralogix" + } + } +} + +provider "coralogix" { + #api_key = "" + #env = "" +} +# +#import { +# to = coralogix_alert.logs_immediate_alert +# id = "19e27a6d-470d-47e9-9447-d1a1bb512eb6" +#} +# +#import { +# to = coralogix_alert.flow_alert_example +# id = "41544404-db3c-4d6e-b039-b8cc3efd51f8" +#} +# +#import { +# to = coralogix_alert.logs_new_value +# id = "4c760ad4-2eb4-444b-9285-8a86f3eda7cb" +#} +# +#import { +# to = coralogix_alert.tracing_more_than +# id = "b8529327-87e2-4140-89df-3541d3171f1a" +#} +# +#import { +# to = coralogix_alert.logs-ratio-more-than +# id = "187f3ea4-caa7-46e1-82c0-2dfd1e67a680" +#} \ No newline at end of file diff --git a/go.mod b/go.mod index 29b3a86e..c96f755b 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,24 @@ +// Copyright 2024 Coralogix Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + module terraform-provider-coralogix -go 1.23 +go 1.23.0 require ( github.com/ahmetalpbalkan/go-linq v3.0.0+incompatible + github.com/coralogix/coralogix-management-sdk v0.2.2-0.20241104160342-cca866beb232 github.com/google/uuid v1.6.0 github.com/grafana/grafana-api-golang-client v0.27.0 github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 @@ -16,7 +31,6 @@ require ( github.com/hashicorp/terraform-plugin-testing v1.9.0 github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1 golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 - google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 google.golang.org/grpc v1.65.0 google.golang.org/protobuf v1.34.2 gopkg.in/yaml.v3 v3.0.1 @@ -78,15 +92,16 @@ require ( github.com/yuin/goldmark-meta v1.1.0 // indirect github.com/zclconf/go-cty v1.14.4 // indirect go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect - golang.org/x/crypto v0.25.0 // indirect + golang.org/x/crypto v0.26.0 // indirect golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.25.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.22.0 // indirect - golang.org/x/text v0.16.0 // indirect + golang.org/x/net v0.28.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.24.0 // indirect + golang.org/x/text v0.17.0 // indirect golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240823204242-4ba0660f739c // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240823204242-4ba0660f739c // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v2 v2.3.0 // indirect ) diff --git a/go.sum b/go.sum index 98797dcc..e4823634 100644 --- a/go.sum +++ b/go.sum @@ -38,6 +38,8 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/coralogix/coralogix-management-sdk v0.2.2-0.20241104160342-cca866beb232 h1:ZEXBbz2PJKA+jp2/eF0ho8BkNONfdkrZj0z1awYjiMI= +github.com/coralogix/coralogix-management-sdk v0.2.2-0.20241104160342-cca866beb232/go.mod h1:Pplei2OOYpuRpTNDiWgBFAtdUP7wgLVKRGDbJrW+ob0= github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -227,8 +229,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= @@ -260,8 +262,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= -golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= +golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= +golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 h1:+iq7lrkxmFNBM7xx+Rae2W6uyPfhPeDWD+n+JgppptE= golang.org/x/exp v0.0.0-20231219180239-dc181d75b848/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI= @@ -285,8 +287,8 @@ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= +golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -294,8 +296,8 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -314,21 +316,21 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= +golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= -golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= +golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= +golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= @@ -352,10 +354,10 @@ google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJ google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 h1:7whR9kGa5LUwFtpLm2ArCEejtnxlGeLbAyjFY8sGNFw= -google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157/go.mod h1:99sLkeliLXfdj2J75X3Ho+rrVCaJze0uwN7zDDkjPVU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 h1:Zy9XzmMEflZ/MAaA7vNcoebnRAld7FsPW1EeBB7V0m8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= +google.golang.org/genproto/googleapis/api v0.0.0-20240823204242-4ba0660f739c h1:e0zB268kOca6FbuJkYUGxfwG4DKFZG/8DLyv9Zv66cE= +google.golang.org/genproto/googleapis/api v0.0.0-20240823204242-4ba0660f739c/go.mod h1:fO8wJzT2zbQbAjbIoos1285VfEIYKDDY+Dt+WpTkh6g= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240823204242-4ba0660f739c h1:Kqjm4WpoWvwhMPcrAczoTyMySQmYa9Wy2iL6Con4zn8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240823204242-4ba0660f739c/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= diff --git a/scripts/generate_and_migrate.sh b/scripts/generate_and_migrate.sh new file mode 100755 index 00000000..e3e2fe61 --- /dev/null +++ b/scripts/generate_and_migrate.sh @@ -0,0 +1,168 @@ +#!/bin/bash + +# Exit immediately if any command fails +set -e + +# Define colors using tput +INFO="$(tput setaf 4)[INFO]$(tput sgr0)" # Blue +WARNING="$(tput setaf 3)[WARNING]$(tput sgr0)" # Yellow +WARN="$WARNING" # Alias for WARNING +ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)" # Red +DEBUG="$(tput setaf 2)[DEBUG]$(tput sgr0)" # Green +RESET="$(tput sgr0)" # Reset color + +# Logging function +log() { + local level=$1 + shift + echo "$(date +'%Y-%m-%d %H:%M:%S') ${level} $@" +} + +# Colorize provider logs dynamically +colorize_logs() { + while IFS= read -r line; do + case "$line" in + *INFO*) echo -e "$(date +'%Y-%m-%d %H:%M:%S') ${INFO} ${line}" ;; + *WARNING*) echo -e "$(date +'%Y-%m-%d %H:%M:%S') ${WARNING} ${line}" ;; + *ERROR*) echo -e "$(date +'%Y-%m-%d %H:%M:%S') ${ERROR} ${line}" ;; + *DEBUG*) echo -e "$(date +'%Y-%m-%d %H:%M:%S') ${DEBUG} ${line}" ;; + *) echo -e "$(date +'%Y-%m-%d %H:%M:%S') ${RESET} ${line}" ;; + esac + done +} + +# Store the script's directory +SCRIPT_DIR=$(pwd) + +# Ensure the input argument is provided +if [ -z "$1" ]; then + log "$ERROR" "Usage: $0 " + log "$INFO" "Example: $0 /path/to/terraform_directory" + log "$INFO" " $0 resource-type" + exit 1 +fi + +INPUT="$1" +MIGRATION_FOLDER="" + +# Determine if the input is a directory or a resource type +if [ -d "$INPUT" ]; then + log "$INFO" "Detected input as a directory." + MIGRATION_FOLDER="${INPUT}_migration" + GENERATE_FLAG="-folder" +elif [[ "$INPUT" =~ ^[a-zA-Z_-]+$ ]]; then + log "$INFO" "Detected input as a resource type." + MIGRATION_FOLDER="./${INPUT}_migration" + GENERATE_FLAG="-type" +else + log "$ERROR" "Input must be a valid directory or a resource type (alphanumeric)." + exit 1 +fi + +CLEANED_JSON_FILE="cleaned_config.json" + +# Step 1: Create the migration folder +log "$INFO" "Creating migration folder: $MIGRATION_FOLDER" +mkdir -p "$MIGRATION_FOLDER" + +# Step 2: Run the Go script to generate imports.tf +log "$INFO" "Running generate_imports.go with $GENERATE_FLAG..." +go run -ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn" generate_imports.go "$GENERATE_FLAG=$INPUT" -output="$MIGRATION_FOLDER/imports.tf" +if [ $? -ne 0 ]; then + log "$ERROR" "Failed to run generate_imports.go." + exit 1 +fi +log "$INFO" "Successfully generated imports.tf at $MIGRATION_FOLDER." + +# Step 3: Generate provider.tf +log "$INFO" "Generating provider configuration in $MIGRATION_FOLDER/provider.tf..." +cat < "$MIGRATION_FOLDER"/provider.tf +terraform { + required_providers { + coralogix = { + version = "~>1.19.0" + source = "coralogix/coralogix" + } + } +} + +provider "coralogix" { + #api_key = "" + #env = "" +} +EOL +log "$INFO" "Provider configuration generated in $MIGRATION_FOLDER/provider.tf." + +# Navigate to the migration folder +cd "$MIGRATION_FOLDER" || exit 1 + +# Step 4: Run Terraform plan +log "$INFO" "Running terraform plan in $MIGRATION_FOLDER..." +terraform plan -generate-config-out=generated.tf 2>&1 | colorize_logs +if [ $? -ne 0 ]; then + log "$ERROR" "Failed to run terraform plan." + exit 1 +fi + +# Step 5: Convert the Terraform file to JSON +log "$INFO" "Converting generated.tf to JSON..." +hcl2json < generated.tf > config.json +if [ $? -ne 0 ]; then + log "$ERROR" "Failed to convert Terraform file to JSON." + exit 1 +fi + +# Step 6: Remove null values from the JSON file +log "$INFO" "Removing null values from JSON..." +python3 <&1 | colorize_logs +log "$INFO" "Terraform apply completed." + +# Step 10: Cleanup +log "$INFO" "Cleaning up temporary files..." +rm -f imports.tf config.json "$CLEANED_JSON_FILE" +log "$INFO" "Cleanup completed." + +log "$INFO" "Script completed successfully." diff --git a/scripts/generate_imports.go b/scripts/generate_imports.go new file mode 100644 index 00000000..19d16677 --- /dev/null +++ b/scripts/generate_imports.go @@ -0,0 +1,190 @@ +package main + +import ( + "context" + "encoding/json" + "errors" + "flag" + "fmt" + "io/ioutil" + "os" + "path/filepath" + "strings" + + cxsdk "github.com/coralogix/coralogix-management-sdk/go" +) + +var envToGrpcUrl = map[string]string{ + "APAC1": "ng-api-grpc.app.coralogix.in:443", + "AP1": "ng-api-grpc.app.coralogix.in:443", + "APAC2": "ng-api-grpc.coralogixsg.com:443", + "AP2": "ng-api-grpc.coralogixsg.com:443", + "APAC3": "ng-api-grpc.ap3.coralogix.com:443", + "AP3": "ng-api-grpc.ap3.coralogix.com:443", + "EUROPE1": "ng-api-grpc.coralogix.com:443", + "EU1": "ng-api-grpc.coralogix.com:443", + "EUROPE2": "ng-api-grpc.eu2.coralogix.com:443", + "EU2": "ng-api-grpc.eu2.coralogix.com:443", + "USA1": "ng-api-grpc.coralogix.us:443", + "US1": "ng-api-grpc.coralogix.us:443", + "USA2": "ng-api-grpc.cx498.coralogix.com:443", + "US2": "ng-api-grpc.cx498.coralogix.com:443", +} + +// Resource represents a resource in the Terraform state file +type Resource struct { + Type string `json:"type"` + Name string `json:"name"` + Instances []struct { + Attributes struct { + ID string `json:"id"` + } `json:"attributes"` + } `json:"instances"` +} + +// TFState represents the structure of the Terraform state file +type TFState struct { + Resources []Resource `json:"resources"` +} + +// findStateFile searches for a .tfstate file in the specified folder +func findStateFile(folderPath string) (string, error) { + files, err := ioutil.ReadDir(folderPath) + if err != nil { + return "", fmt.Errorf("error reading folder: %v", err) + } + + for _, file := range files { + if filepath.Ext(file.Name()) == ".tfstate" { + return filepath.Join(folderPath, file.Name()), nil + } + } + + return "", errors.New("no .tfstate file found in the specified folder") +} + +// generateImports reads a Terraform state file and generates an imports.tf file +func generateImportsFromState(tfstatePath string, outputPath string) error { + // Read the tfstate file + tfstateData, err := ioutil.ReadFile(tfstatePath) + if err != nil { + return fmt.Errorf("error reading tfstate file: %v", err) + } + + // Parse the JSON data + var tfstate TFState + err = json.Unmarshal(tfstateData, &tfstate) + if err != nil { + return fmt.Errorf("error parsing tfstate JSON: %v", err) + } + + // Prepare the imports content + importsContent := "" + + for _, resource := range tfstate.Resources { + // Process only coralogix resources + if strings.HasPrefix(resource.Type, "coralogix_") { + for _, instance := range resource.Instances { + // Add the import block to the content + importsContent += fmt.Sprintf(`import { + to = %s.%s + id = "%s" +} + +`, resource.Type, resource.Name, instance.Attributes.ID) + } + } + } + + // Write the imports.tf file + err = ioutil.WriteFile(outputPath, []byte(importsContent), 0644) + if err != nil { + return fmt.Errorf("error writing imports.tf file: %v", err) + } + + return nil +} + +type IdAndName struct { + Id string + Name string +} + +func main() { + // Parse the folder path from the command-line arguments + resourceType := flag.String("type", "", "Type of the resource to import") + folderPath := flag.String("folder", "", "Path to the folder containing the .tfstate file") + outputPath := flag.String("output", "imports.tf", "Path to the output file") + flag.Parse() + + if *resourceType != "" { + var idsAndNames []IdAndName + switch *resourceType { + case "alert": + apiKey := os.Getenv("CORALOGIX_API_KEY") + region := os.Getenv("CORALOGIX_ENV") + url := envToGrpcUrl[region] + alertClient := cxsdk.NewAlertsClient(cxsdk.NewCallPropertiesCreator(url, cxsdk.NewAuthContext(apiKey, apiKey))) + alerts, err := alertClient.List(context.Background(), &cxsdk.ListAlertDefsRequest{}) + if err != nil { + fmt.Printf("Error: %v\n", err) + os.Exit(1) + } + for _, alert := range alerts.GetAlertDefs() { + alertName := toValidResourceName(alert.GetAlertDefProperties().GetName().GetValue()) + idsAndNames = append(idsAndNames, IdAndName{Id: alert.GetId().GetValue(), Name: alertName}) + } + } + err := generateImportsFromIds(*resourceType, *outputPath, idsAndNames) + if err != nil { + fmt.Printf("Error generating imports.tf: %v\n", err) + os.Exit(1) + } + } else { + if *folderPath == "" { + fmt.Println("Error: Please provide a folder path using the -folder flag") + os.Exit(1) + } + + // Find the .tfstate file in the folder + tfstatePath, err := findStateFile(*folderPath) + if err != nil { + fmt.Printf("Error: %v\n", err) + os.Exit(1) + } + + // Generate the imports.tf file + err = generateImportsFromState(tfstatePath, *outputPath) + if err != nil { + fmt.Printf("Error generating imports.tf: %v\n", err) + os.Exit(1) + } + } + + fmt.Printf("`imports.tf` file has been generated at: %s\n", outputPath) +} + +func toValidResourceName(value string) string { + return strings.ReplaceAll(strings.ToLower(value), " ", "_") +} + +func generateImportsFromIds(resourceType, outputFilePath string, idsAndNames []IdAndName) error { + importsContent := "" + + for _, idAndName := range idsAndNames { + importsContent += fmt.Sprintf(`import { + to = coralogix_%s.%s + id = "%s" +} + +`, resourceType, idAndName.Name, idAndName.Id) + } + + err := ioutil.WriteFile(outputFilePath, []byte(importsContent), 0644) + if err != nil { + return fmt.Errorf("error writing imports.tf file: %v", err) + } + + return nil + +} diff --git a/scripts/json_to_hcl.go b/scripts/json_to_hcl.go new file mode 100644 index 00000000..a0cf9341 --- /dev/null +++ b/scripts/json_to_hcl.go @@ -0,0 +1,126 @@ +package main + +import ( + "encoding/json" + "fmt" + "io/ioutil" + "os" + "strings" +) + +func formatValue(value interface{}) string { + switch v := value.(type) { + case bool: + if v { + return "true" + } + return "false" + case float64, int: + return fmt.Sprintf("%v", v) + case string: + // Escape special characters for HCL + escaped := strings.ReplaceAll(v, `\`, `\\`) + escaped = strings.ReplaceAll(escaped, `"`, `\"`) + return fmt.Sprintf(`"%s"`, escaped) + case []interface{}: + var items []string + for _, item := range v { + items = append(items, formatValue(item)) + } + return fmt.Sprintf("[%s]", strings.Join(items, ", ")) + case map[string]interface{}: + var lines []string + for key, val := range v { + lines = append(lines, fmt.Sprintf(` %s = %s`, key, formatValue(val))) + } + return fmt.Sprintf("{\n%s\n}", strings.Join(lines, "\n")) + default: + return `""` + } +} + +func processBlock(key string, value interface{}) string { + switch v := value.(type) { + case map[string]interface{}: + // Map: Output as an attribute (`key = { ... }`) + return fmt.Sprintf(" %s = %s", key, formatValue(v)) + case []interface{}: + if len(v) > 0 { + if _, isSimple := v[0].(string); isSimple { + // List of simple values + return fmt.Sprintf(" %s = %s", key, formatValue(v)) + } + // List of maps: Process each map as a nested block + var items []string + for _, item := range v { + if itemMap, ok := item.(map[string]interface{}); ok { + items = append(items, fmt.Sprintf(" %s %s", key, formatValue(itemMap))) + } + } + return strings.Join(items, "\n") + } + return fmt.Sprintf(" %s = []", key) // Empty list + default: + // Scalar value: Output as an attribute + return fmt.Sprintf(" %s = %s", key, formatValue(v)) + } +} + +func generateTerraform(jsonData map[string]interface{}) string { + var terraformLines []string + + if resources, ok := jsonData["resource"].(map[string]interface{}); ok { + for resourceType, resourceData := range resources { + if resourceMap, ok := resourceData.(map[string]interface{}); ok { + for resourceName, resourceList := range resourceMap { + if resourceArray, ok := resourceList.([]interface{}); ok { + for _, resource := range resourceArray { + if resourceMap, ok := resource.(map[string]interface{}); ok { + terraformLines = append(terraformLines, fmt.Sprintf(`resource "%s" "%s" {`, resourceType, resourceName)) + for key, val := range resourceMap { + terraformLines = append(terraformLines, processBlock(key, val)) + } + terraformLines = append(terraformLines, "}\n") + } + } + } + } + } + } + } + + return strings.Join(terraformLines, "\n") +} + +func main() { + if len(os.Args) < 3 { + fmt.Println("Usage: go run json_to_hcl.go ") + return + } + + jsonFilePath := os.Args[1] + tfFilaePath := os.Args[2] + + jsonData, err := ioutil.ReadFile(jsonFilePath) + if err != nil { + fmt.Printf("Failed to read JSON file: %v\n", err) + return + } + + var parsed map[string]interface{} + err = json.Unmarshal(jsonData, &parsed) + if err != nil { + fmt.Printf("Failed to parse JSON: %v\n", err) + return + } + + terraformOutput := generateTerraform(parsed) + + err = os.WriteFile(tfFilaePath, []byte(terraformOutput), 0644) + if err != nil { + fmt.Printf("Failed to write Terraform file: %v\n", err) + return + } + + fmt.Printf("Terraform configuration written to %s\n", tfFilaePath) +}